diff --git a/CHANGELOG.long.md b/CHANGELOG.long.md index 1ab3fba2..73d2e0e3 100644 --- a/CHANGELOG.long.md +++ b/CHANGELOG.long.md @@ -2,7 +2,7 @@ All notable changes to this project will be documented in this file. -1055 merges; 167 releases +1056 merges; 167 releases @@ -18,6 +18,22 @@ Published tags: +  + +  + +## [Untagged] - 9/12/2022 8:18:05 PM + +Commit [013999a77ce43ceed5eb982754ffe480fdddf159](https://github.com/StoneCypher/jssm/commit/013999a77ce43ceed5eb982754ffe480fdddf159) + +Author: `John Haugeland ` + + * Pull arrows out into modules + * Fixes StoneCypher/fsl#1206 + + + +     diff --git a/CHANGELOG.md b/CHANGELOG.md index 6287dc92..0fd9be17 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ All notable changes to this project will be documented in this file. -1055 merges; 167 releases; Changlogging the last 10 commits; Full changelog at [CHANGELOG.long.md](CHANGELOG.long.md) +1056 merges; 167 releases; Changlogging the last 10 commits; Full changelog at [CHANGELOG.long.md](CHANGELOG.long.md) @@ -18,6 +18,22 @@ Published tags: +  + +  + +## [Untagged] - 9/12/2022 8:18:05 PM + +Commit [013999a77ce43ceed5eb982754ffe480fdddf159](https://github.com/StoneCypher/jssm/commit/013999a77ce43ceed5eb982754ffe480fdddf159) + +Author: `John Haugeland ` + + * Pull arrows out into modules + * Fixes StoneCypher/fsl#1206 + + + +     @@ -159,24 +175,4 @@ Commit [6475296d979dab3d227828b80319d60c4f6ab2f5](https://github.com/StoneCypher Author: `John Haugeland ` - * Reintroduce display text, lost in a bad merge - - - - -  - -  - - - -## [5.85.2] - 9/12/2022 10:03:27 AM - -Commit [98b7b14217ea7e83550e4ed15b6b6be80799e246](https://github.com/StoneCypher/jssm/commit/98b7b14217ea7e83550e4ed15b6b6be80799e246) - -Author: `John Haugeland ` - -Merges [461a287, 0f3025a] - - * Merge pull request #539 from StoneCypher/TrimTweet - * Shorten the tweet notice \ No newline at end of file + * Reintroduce display text, lost in a bad merge \ No newline at end of file diff --git a/README.md b/README.md index e8d37888..85348178 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ Please edit the file it's derived from, instead: `./src/md/readme_base.md` -* Generated for version 5.85.8 at 9/12/2022, 8:16:52 PM +* Generated for version 5.85.9 at 9/12/2022, 9:03:57 PM --> # jssm @@ -29,7 +29,7 @@ share online. Easy to embed. Readable, useful state machines as one-liner strings. -***4,864 tests*** run 5,755 times. 4,855 specs with 100.0% coverage, 9 fuzz tests with 13.2% coverage. With 2,725 lines, that's about 1.8 tests per line, or 2.1 generated tests per line. +***4,866 tests*** run 5,757 times. 4,857 specs with 100.0% coverage, 9 fuzz tests with 13.6% coverage. With 2,754 lines, that's about 1.8 tests per line, or 2.1 generated tests per line. ***Meet your new state machine library.*** diff --git a/dist/es6/jssm.d.ts b/dist/es6/jssm.d.ts index 012f61de..d21fde21 100644 --- a/dist/es6/jssm.d.ts +++ b/dist/es6/jssm.d.ts @@ -1,133 +1,12 @@ declare type StateType = string; import { JssmGenericState, JssmGenericConfig, JssmStateConfig, JssmTransition, JssmTransitionList, // JssmTransitionRule, -JssmMachineInternalState, JssmParseTree, JssmStateDeclaration, JssmStateStyleKeyList, JssmLayout, JssmHistory, JssmSerialization, FslDirection, FslDirections, FslTheme, HookDescription, HookHandler, HookContext, HookResult, HookComplexResult } from './jssm_types'; +JssmMachineInternalState, JssmStateDeclaration, JssmStateStyleKeyList, JssmLayout, JssmHistory, JssmSerialization, FslDirection, FslDirections, FslTheme, HookDescription, HookHandler, HookContext, HookResult, HookComplexResult } from './jssm_types'; import { arrow_direction, arrow_left_kind, arrow_right_kind } from './jssm_arrow'; +import { compile, make, wrap_parse } from './jssm_compiler'; import { seq, unique, find_repeated, weighted_rand_select, weighted_sample_select, histograph, weighted_histo_key } from './jssm_util'; import * as constants from './jssm_constants'; declare const shapes: string[], gviz_shapes: string[], named_colors: string[]; import { version, build_time } from './version'; -/********* - * - * This method wraps the parser call that comes from the peg grammar, - * {@link parse}. Generally neither this nor that should be used directly - * unless you mean to develop plugins or extensions for the machine. - * - * Parses the intermediate representation of a compiled string down to a - * machine configuration object. If you're using this (probably don't,) you're - * probably also using {@link compile} and {@link Machine.constructor}. - * - * ```typescript - * import { parse, compile, Machine } from 'jssm'; - * - * const intermediate = wrap_parse('a -> b;', {}); - * // [ {key:'transition', from:'a', se:{kind:'->',to:'b'}} ] - * - * const cfg = compile(intermediate); - * // { start_states:['a'], transitions: [{ from:'a', to:'b', kind:'legal', forced_only:false, main_path:false }] } - * - * const machine = new Machine(cfg); - * // Machine { _instance_name: undefined, _state: 'a', ... - * ``` - * - * This method is mostly for plugin and intermediate tool authors, or people - * who need to work with the machine's intermediate representation. - * - * # Hey! - * - * Most people looking at this want either the `sm` operator or method `from`, - * which perform all the steps in the chain. The library's author mostly uses - * operator `sm`, and mostly falls back to `.from` when needing to parse - * strings dynamically instead of from template literals. - * - * Operator {@link sm}: - * - * ```typescript - * import { sm } from 'jssm'; - * - * const lswitch = sm`on <=> off;`; - * ``` - * - * Method {@link from}: - * - * ```typescript - * import * as jssm from 'jssm'; - * - * const toggle = jssm.from('up <=> down;'); - * ``` - * - * `wrap_parse` itself is an internal convenience method for alting out an - * object as the options call. Not generally meant for external use. - * - * @param input The FSL code to be evaluated - * - * @param options Things to control about the instance - * - */ -declare function wrap_parse(input: string, options?: Object): any; -/********* - * - * Compile a machine's JSON intermediate representation to a config object. If - * you're using this (probably don't,) you're probably also using - * {@link parse} to get the IR, and the object constructor - * {@link Machine.construct} to turn the config object into a workable machine. - * - * ```typescript - * import { parse, compile, Machine } from 'jssm'; - * - * const intermediate = parse('a -> b;'); - * // [ {key:'transition', from:'a', se:{kind:'->',to:'b'}} ] - * - * const cfg = compile(intermediate); - * // { start_states:['a'], transitions: [{ from:'a', to:'b', kind:'legal', forced_only:false, main_path:false }] } - * - * const machine = new Machine(cfg); - * // Machine { _instance_name: undefined, _state: 'a', ... - * ``` - * - * This method is mostly for plugin and intermediate tool authors, or people - * who need to work with the machine's intermediate representation. - * - * # Hey! - * - * Most people looking at this want either the `sm` operator or method `from`, - * which perform all the steps in the chain. The library's author mostly uses - * operator `sm`, and mostly falls back to `.from` when needing to parse - * strings dynamically instead of from template literals. - * - * Operator {@link sm}: - * - * ```typescript - * import { sm } from 'jssm'; - * - * const lswitch = sm`on <=> off;`; - * ``` - * - * Method {@link from}: - * - * ```typescript - * import * as jssm from 'jssm'; - * - * const toggle = jssm.from('up <=> down;'); - * ``` - * - * @typeparam mDT The type of the machine data member; usually omitted - * - * @param tree The parse tree to be boiled down into a machine config - * - */ -declare function compile(tree: JssmParseTree): JssmGenericConfig; -/********* - * - * An internal convenience wrapper for parsing then compiling a machine string. - * Not generally meant for external use. Please see {@link compile} or - * {@link sm}. - * - * @typeparam mDT The type of the machine data member; usually omitted - * - * @param plan The FSL code to be evaluated and built into a machine config - * - */ -declare function make(plan: string): JssmGenericConfig; /********* * * An internal method meant to take a series of declarations and fold them into @@ -142,7 +21,7 @@ declare function state_style_condense(jssk: JssmStateStyleKeyList): JssmStateCon declare class Machine { _state: StateType; _states: Map; - _edges: Array>; + _edges: Array>; _edge_map: Map>; _named_transitions: Map; _actions: Map>; @@ -217,7 +96,7 @@ declare class Machine { _start_state_style: JssmStateConfig; _end_state_style: JssmStateConfig; _state_labels: Map; - constructor({ start_states, end_states, complete, transitions, machine_author, machine_comment, machine_contributor, machine_definition, machine_language, machine_license, machine_name, machine_version, state_declaration, property_definition, state_property, fsl_version, dot_preamble, arrange_declaration, arrange_start_declaration, arrange_end_declaration, theme, flow, graph_layout, instance_name, history, data, default_state_config, default_active_state_config, default_hooked_state_config, default_terminal_state_config, default_start_state_config, default_end_state_config }: JssmGenericConfig); + constructor({ start_states, end_states, complete, transitions, machine_author, machine_comment, machine_contributor, machine_definition, machine_language, machine_license, machine_name, machine_version, state_declaration, property_definition, state_property, fsl_version, dot_preamble, arrange_declaration, arrange_start_declaration, arrange_end_declaration, theme, flow, graph_layout, instance_name, history, data, default_state_config, default_active_state_config, default_hooked_state_config, default_terminal_state_config, default_start_state_config, default_end_state_config }: JssmGenericConfig); /******** * * Internal method for fabricating states. Not meant for external use. @@ -598,7 +477,7 @@ declare class Machine { * @typeparam mDT The type of the machine data member; usually omitted * */ - list_edges(): Array>; + list_edges(): Array>; list_named_transitions(): Map; list_actions(): Array; get uses_actions(): boolean; @@ -607,7 +486,7 @@ declare class Machine { set themes(to: FslTheme | FslTheme[]); flow(): FslDirection; get_transition_by_state_names(from: StateType, to: StateType): number; - lookup_transition_for(from: StateType, to: StateType): JssmTransition; + lookup_transition_for(from: StateType, to: StateType): JssmTransition; /******** * * List all transitions attached to the current state, sorted by entrance and @@ -669,7 +548,7 @@ declare class Machine { * */ list_exits(whichState?: StateType): Array; - probable_exits_for(whichState: StateType): Array>; + probable_exits_for(whichState: StateType): Array>; probabilistic_transition(): boolean; probabilistic_walk(n: number): Array; probabilistic_histo_walk(n: number): Map; @@ -762,7 +641,7 @@ declare class Machine { post_hook_any_transition(handler: HookHandler): Machine; post_hook_entry(to: string, handler: HookHandler): Machine; post_hook_exit(from: string, handler: HookHandler): Machine; - edges_between(from: string, to: string): JssmTransition[]; + edges_between(from: string, to: string): JssmTransition[]; transition_impl(newStateOrAction: StateType, newData: mDT | undefined, wasForced: boolean, wasAction: boolean): boolean; /********* * @@ -1130,7 +1009,7 @@ declare class Machine { */ force_transition(newState: StateType, newData?: mDT): boolean; current_action_for(action: StateType): number; - current_action_edge_for(action: StateType): JssmTransition; + current_action_edge_for(action: StateType): JssmTransition; valid_action(action: StateType, _newData?: mDT): boolean; valid_transition(newState: StateType, _newData?: mDT): boolean; valid_force_transition(newState: StateType, _newData?: mDT): boolean; @@ -1183,7 +1062,7 @@ declare function sm(template_strings: TemplateStringsArray, ...remainder: a * @param ExtraConstructorFields Extra non-code configuration to pass at creation time * */ -declare function from(MachineAsString: string, ExtraConstructorFields?: Partial> | undefined): Machine; +declare function from(MachineAsString: string, ExtraConstructorFields?: Partial> | undefined): Machine; declare function is_hook_complex_result(hr: unknown): hr is HookComplexResult; declare function is_hook_rejection(hr: HookResult): boolean; declare function abstract_hook_step(maybe_hook: HookHandler | undefined, hook_args: HookContext): HookComplexResult; diff --git a/dist/es6/jssm.js b/dist/es6/jssm.js index 3e41a0a3..389a1a3e 100644 --- a/dist/es6/jssm.js +++ b/dist/es6/jssm.js @@ -1,8 +1,11 @@ // whargarbl lots of these return arrays could/should be sets -import { reduce as reduce_to_639 } from 'reduce-to-639-1'; import { circular_buffer } from 'circular_buffer_js'; import { FslDirections } from './jssm_types'; import { arrow_direction, arrow_left_kind, arrow_right_kind } from './jssm_arrow'; +import { compile, make, wrap_parse } from './jssm_compiler'; +// compile_rule_handler, +// compile_rule_transition_step, +// compile_rule_handle_transition, import { base_theme } from './themes/jssm_base_stylesheet'; import { default_theme } from './themes/jssm_theme_default'; import { modern_theme } from './themes/jssm_theme_modern'; @@ -18,362 +21,8 @@ theme_mapping.set('bold', bold_theme); import { seq, unique, find_repeated, weighted_rand_select, weighted_sample_select, histograph, weighted_histo_key, array_box_if_string, name_bind_prop_and_state, hook_name, named_hook_name } from './jssm_util'; import * as constants from './jssm_constants'; const { shapes, gviz_shapes, named_colors } = constants; -import { parse } from './fsl_parser'; import { version, build_time } from './version'; // replaced from package.js in build import { JssmError } from './jssm_error'; -/********* - * - * Internal method meant to perform factory assembly of an edge. Not meant for - * external use. - * - * @internal - * - * @typeparam mDT The type of the machine data member; usually omitted - * - */ -// TODO add at-param to docblock -function makeTransition(this_se, from, to, isRight, _wasList, _wasIndex) { - const kind = isRight - ? arrow_right_kind(this_se.kind) - : arrow_left_kind(this_se.kind), edge = { - from, - to, - kind, - forced_only: kind === 'forced', - main_path: kind === 'main' - }; - // if ((wasList !== undefined) && (wasIndex === undefined)) { throw new JssmError(undefined, `Must have an index if transition was in a list"); } - // if ((wasIndex !== undefined) && (wasList === undefined)) { throw new JssmError(undefined, `Must be in a list if transition has an index"); } - /* - if (typeof edge.to === 'object') { - - if (edge.to.key === 'cycle') { - if (wasList === undefined) { throw new JssmError(undefined, "Must have a waslist if a to is type cycle"); } - const nextIndex = wrapBy(wasIndex, edge.to.value, wasList.length); - edge.to = wasList[nextIndex]; - } - - } - */ - const action = isRight ? 'r_action' : 'l_action', probability = isRight ? 'r_probability' : 'l_probability'; - if (this_se[action]) { - edge.action = this_se[action]; - } - if (this_se[probability]) { - edge.probability = this_se[probability]; - } - return edge; -} -/********* - * - * This method wraps the parser call that comes from the peg grammar, - * {@link parse}. Generally neither this nor that should be used directly - * unless you mean to develop plugins or extensions for the machine. - * - * Parses the intermediate representation of a compiled string down to a - * machine configuration object. If you're using this (probably don't,) you're - * probably also using {@link compile} and {@link Machine.constructor}. - * - * ```typescript - * import { parse, compile, Machine } from 'jssm'; - * - * const intermediate = wrap_parse('a -> b;', {}); - * // [ {key:'transition', from:'a', se:{kind:'->',to:'b'}} ] - * - * const cfg = compile(intermediate); - * // { start_states:['a'], transitions: [{ from:'a', to:'b', kind:'legal', forced_only:false, main_path:false }] } - * - * const machine = new Machine(cfg); - * // Machine { _instance_name: undefined, _state: 'a', ... - * ``` - * - * This method is mostly for plugin and intermediate tool authors, or people - * who need to work with the machine's intermediate representation. - * - * # Hey! - * - * Most people looking at this want either the `sm` operator or method `from`, - * which perform all the steps in the chain. The library's author mostly uses - * operator `sm`, and mostly falls back to `.from` when needing to parse - * strings dynamically instead of from template literals. - * - * Operator {@link sm}: - * - * ```typescript - * import { sm } from 'jssm'; - * - * const lswitch = sm`on <=> off;`; - * ``` - * - * Method {@link from}: - * - * ```typescript - * import * as jssm from 'jssm'; - * - * const toggle = jssm.from('up <=> down;'); - * ``` - * - * `wrap_parse` itself is an internal convenience method for alting out an - * object as the options call. Not generally meant for external use. - * - * @param input The FSL code to be evaluated - * - * @param options Things to control about the instance - * - */ -function wrap_parse(input, options) { - return parse(input, options || {}); -} -/********* - * - * Internal method performing one step in compiling rules for transitions. Not - * generally meant for external use. - * - * @internal - * - * @typeparam mDT The type of the machine data member; usually omitted - * - */ -function compile_rule_transition_step(acc, from, to, this_se, next_se) { - const edges = []; - const uFrom = (Array.isArray(from) ? from : [from]), uTo = (Array.isArray(to) ? to : [to]); - uFrom.map((f) => { - uTo.map((t) => { - const right = makeTransition(this_se, f, t, true); - if (right.kind !== 'none') { - edges.push(right); - } - const left = makeTransition(this_se, t, f, false); - if (left.kind !== 'none') { - edges.push(left); - } - }); - }); - const new_acc = acc.concat(edges); - if (next_se) { - return compile_rule_transition_step(new_acc, to, next_se.to, next_se, next_se.se); - } - else { - return new_acc; - } -} -/********* - * - * Internal method performing one step in compiling rules for transitions. Not - * generally meant for external use. - * - * @internal - * - */ -function compile_rule_handle_transition(rule) { - return compile_rule_transition_step([], rule.from, rule.se.to, rule.se, rule.se.se); -} -/********* - * - * Internal method performing one step in compiling rules for transitions. Not - * generally meant for external use. - * - * @internal - * - */ -function compile_rule_handler(rule) { - if (rule.key === 'transition') { - return { agg_as: 'transition', val: compile_rule_handle_transition(rule) }; - } - if (rule.key === 'machine_language') { - return { agg_as: 'machine_language', val: reduce_to_639(rule.value) }; - } - // manually rehandled to make `undefined` as a property safe - if (rule.key === 'property_definition') { - const ret = { agg_as: 'property_definition', val: { name: rule.name } }; - if (rule.hasOwnProperty('default_value')) { - ret.val.default_value = rule.default_value; - } - if (rule.hasOwnProperty('required')) { - ret.val.required = rule.required; - } - return ret; - } - // state properties are in here - if (rule.key === 'state_declaration') { - if (!rule.name) { - throw new JssmError(undefined, 'State declarations must have a name'); - } - return { agg_as: 'state_declaration', val: { state: rule.name, declarations: rule.value } }; - } - if (['arrange_declaration', 'arrange_start_declaration', - 'arrange_end_declaration'].includes(rule.key)) { - return { agg_as: rule.key, val: [rule.value] }; - } - // things that can only exist once and are just a value under their own name - const tautologies = [ - 'graph_layout', 'start_states', 'end_states', 'machine_name', 'machine_version', - 'machine_comment', 'machine_author', 'machine_contributor', 'machine_definition', - 'machine_reference', 'machine_license', 'fsl_version', 'state_config', 'theme', - 'flow', 'dot_preamble', 'default_state_config', 'default_start_state_config', - 'default_end_state_config', 'default_hooked_state_config', - 'default_active_state_config', 'default_terminal_state_config' - ]; - if (tautologies.includes(rule.key)) { - return { agg_as: rule.key, val: rule.value }; - } - throw new JssmError(undefined, `compile_rule_handler: Unknown rule: ${JSON.stringify(rule)}`); -} -/********* - * - * Compile a machine's JSON intermediate representation to a config object. If - * you're using this (probably don't,) you're probably also using - * {@link parse} to get the IR, and the object constructor - * {@link Machine.construct} to turn the config object into a workable machine. - * - * ```typescript - * import { parse, compile, Machine } from 'jssm'; - * - * const intermediate = parse('a -> b;'); - * // [ {key:'transition', from:'a', se:{kind:'->',to:'b'}} ] - * - * const cfg = compile(intermediate); - * // { start_states:['a'], transitions: [{ from:'a', to:'b', kind:'legal', forced_only:false, main_path:false }] } - * - * const machine = new Machine(cfg); - * // Machine { _instance_name: undefined, _state: 'a', ... - * ``` - * - * This method is mostly for plugin and intermediate tool authors, or people - * who need to work with the machine's intermediate representation. - * - * # Hey! - * - * Most people looking at this want either the `sm` operator or method `from`, - * which perform all the steps in the chain. The library's author mostly uses - * operator `sm`, and mostly falls back to `.from` when needing to parse - * strings dynamically instead of from template literals. - * - * Operator {@link sm}: - * - * ```typescript - * import { sm } from 'jssm'; - * - * const lswitch = sm`on <=> off;`; - * ``` - * - * Method {@link from}: - * - * ```typescript - * import * as jssm from 'jssm'; - * - * const toggle = jssm.from('up <=> down;'); - * ``` - * - * @typeparam mDT The type of the machine data member; usually omitted - * - * @param tree The parse tree to be boiled down into a machine config - * - */ -function compile(tree) { - const results = { - graph_layout: [], - transition: [], - start_states: [], - end_states: [], - state_config: [], - state_declaration: [], - fsl_version: [], - machine_author: [], - machine_comment: [], - machine_contributor: [], - machine_definition: [], - machine_language: [], - machine_license: [], - machine_name: [], - machine_reference: [], - property_definition: [], - state_property: {}, - theme: [], - flow: [], - dot_preamble: [], - arrange_declaration: [], - arrange_start_declaration: [], - arrange_end_declaration: [], - machine_version: [], - default_state_config: [], - default_active_state_config: [], - default_hooked_state_config: [], - default_terminal_state_config: [], - default_start_state_config: [], - default_end_state_config: [], - }; - tree.map((tr) => { - const rule = compile_rule_handler(tr), agg_as = rule.agg_as, val = rule.val; // TODO FIXME no any - results[agg_as] = results[agg_as].concat(val); - }); - const property_keys = results['property_definition'].map(pd => pd.name), repeat_props = find_repeated(property_keys); - if (repeat_props.length) { - throw new JssmError(undefined, `Cannot repeat property definitions. Saw ${JSON.stringify(repeat_props)}`); - } - const assembled_transitions = [].concat(...results['transition']); - const result_cfg = { - start_states: results.start_states.length ? results.start_states : [assembled_transitions[0].from], - end_states: results.end_states, - transitions: assembled_transitions, - state_property: [], - }; - const oneOnlyKeys = [ - 'graph_layout', 'machine_name', 'machine_version', 'machine_comment', - 'fsl_version', 'machine_license', 'machine_definition', 'machine_language', - 'flow', 'dot_preamble' - ]; - oneOnlyKeys.map((oneOnlyKey) => { - if (results[oneOnlyKey].length > 1) { - throw new JssmError(undefined, `May only have one ${oneOnlyKey} statement maximum: ${JSON.stringify(results[oneOnlyKey])}`); - } - else { - if (results[oneOnlyKey].length) { - result_cfg[oneOnlyKey] = results[oneOnlyKey][0]; - } - } - }); - ['arrange_declaration', 'arrange_start_declaration', 'arrange_end_declaration', - 'machine_author', 'machine_contributor', 'machine_reference', 'theme', - 'state_declaration', 'property_definition', 'default_state_config', - 'default_start_state_config', 'default_end_state_config', - 'default_hooked_state_config', 'default_terminal_state_config', - 'default_active_state_config'].map((multiKey) => { - if (results[multiKey].length) { - result_cfg[multiKey] = results[multiKey]; - } - }); - // re-walk state declarations, already wrapped up, to get state properties, - // which go out in a different datastructure - results.state_declaration.forEach(sd => { - sd.declarations.forEach(decl => { - if (decl.key === 'state_property') { - const label = name_bind_prop_and_state(decl.name, sd.state); - if (result_cfg.state_property.findIndex(c => c.name === label) !== -1) { - throw new JssmError(undefined, `A state may only bind a property once (${sd.state} re-binds ${decl.name})`); - } - else { - result_cfg.state_property.push({ name: label, default_value: decl.value }); - } - } - }); - }); - return result_cfg; -} -/********* - * - * An internal convenience wrapper for parsing then compiling a machine string. - * Not generally meant for external use. Please see {@link compile} or - * {@link sm}. - * - * @typeparam mDT The type of the machine data member; usually omitted - * - * @param plan The FSL code to be evaluated and built into a machine config - * - */ -function make(plan) { - return compile(wrap_parse(plan)); -} /********* * * An internal method meant to take a series of declarations and fold them into diff --git a/dist/es6/jssm_compiler.d.ts b/dist/es6/jssm_compiler.d.ts new file mode 100644 index 00000000..2bf6c259 --- /dev/null +++ b/dist/es6/jssm_compiler.d.ts @@ -0,0 +1,135 @@ +import { JssmTransition, JssmCompileSe, JssmParseTree, JssmGenericConfig } from './jssm_types'; +/********* + * + * Internal method meant to perform factory assembly of an edge. Not meant for + * external use. + * + * @internal + * + * @typeparam mDT The type of the machine data member; usually omitted + * + */ +declare function makeTransition(this_se: JssmCompileSe, from: StateType, to: StateType, isRight: boolean, _wasList?: Array, _wasIndex?: number): JssmTransition; +/********* + * + * This method wraps the parser call that comes from the peg grammar, + * {@link parse}. Generally neither this nor that should be used directly + * unless you mean to develop plugins or extensions for the machine. + * + * Parses the intermediate representation of a compiled string down to a + * machine configuration object. If you're using this (probably don't,) you're + * probably also using {@link compile} and {@link Machine.constructor}. + * + * ```typescript + * import { parse, compile, Machine } from 'jssm'; + * + * const intermediate = wrap_parse('a -> b;', {}); + * // [ {key:'transition', from:'a', se:{kind:'->',to:'b'}} ] + * + * const cfg = compile(intermediate); + * // { start_states:['a'], transitions: [{ from:'a', to:'b', kind:'legal', forced_only:false, main_path:false }] } + * + * const machine = new Machine(cfg); + * // Machine { _instance_name: undefined, _state: 'a', ... + * ``` + * + * This method is mostly for plugin and intermediate tool authors, or people + * who need to work with the machine's intermediate representation. + * + * # Hey! + * + * Most people looking at this want either the `sm` operator or method `from`, + * which perform all the steps in the chain. The library's author mostly uses + * operator `sm`, and mostly falls back to `.from` when needing to parse + * strings dynamically instead of from template literals. + * + * Operator {@link sm}: + * + * ```typescript + * import { sm } from 'jssm'; + * + * const lswitch = sm`on <=> off;`; + * ``` + * + * Method {@link from}: + * + * ```typescript + * import * as jssm from 'jssm'; + * + * const toggle = jssm.from('up <=> down;'); + * ``` + * + * `wrap_parse` itself is an internal convenience method for alting out an + * object as the options call. Not generally meant for external use. + * + * @param input The FSL code to be evaluated + * + * @param options Things to control about the instance + * + */ +declare function wrap_parse(input: string, options?: Object): any; +/********* + * + * Compile a machine's JSON intermediate representation to a config object. If + * you're using this (probably don't,) you're probably also using + * {@link parse} to get the IR, and the object constructor + * {@link Machine.construct} to turn the config object into a workable machine. + * + * ```typescript + * import { parse, compile, Machine } from 'jssm'; + * + * const intermediate = parse('a -> b;'); + * // [ {key:'transition', from:'a', se:{kind:'->',to:'b'}} ] + * + * const cfg = compile(intermediate); + * // { start_states:['a'], transitions: [{ from:'a', to:'b', kind:'legal', forced_only:false, main_path:false }] } + * + * const machine = new Machine(cfg); + * // Machine { _instance_name: undefined, _state: 'a', ... + * ``` + * + * This method is mostly for plugin and intermediate tool authors, or people + * who need to work with the machine's intermediate representation. + * + * # Hey! + * + * Most people looking at this want either the `sm` operator or method `from`, + * which perform all the steps in the chain. The library's author mostly uses + * operator `sm`, and mostly falls back to `.from` when needing to parse + * strings dynamically instead of from template literals. + * + * Operator {@link sm}: + * + * ```typescript + * import { sm } from 'jssm'; + * + * const lswitch = sm`on <=> off;`; + * ``` + * + * Method {@link from}: + * + * ```typescript + * import * as jssm from 'jssm'; + * + * const toggle = jssm.from('up <=> down;'); + * ``` + * + * @typeparam mDT The type of the machine data member; usually omitted + * + * @param tree The parse tree to be boiled down into a machine config + * + */ +declare function compile(tree: JssmParseTree): JssmGenericConfig; +/********* + * + * An internal convenience wrapper for parsing then compiling a machine string. + * Not generally meant for external use. Please see {@link compile} or + * {@link sm}. + * + * @typeparam mDT The type of the machine data member; usually omitted + * + * @param plan The FSL code to be evaluated and built into a machine config + * + */ +declare function make(plan: string): JssmGenericConfig; +export { compile, make, makeTransition, wrap_parse }; diff --git a/dist/es6/jssm_compiler.js b/dist/es6/jssm_compiler.js new file mode 100644 index 00000000..cff393a7 --- /dev/null +++ b/dist/es6/jssm_compiler.js @@ -0,0 +1,363 @@ +import { JssmError } from './jssm_error'; +import { parse } from './fsl_parser'; +import { arrow_left_kind, arrow_right_kind } from './jssm_arrow'; +import { find_repeated, name_bind_prop_and_state } from './jssm_util'; +import { reduce as reduce_to_639 } from 'reduce-to-639-1'; +/********* + * + * Internal method meant to perform factory assembly of an edge. Not meant for + * external use. + * + * @internal + * + * @typeparam mDT The type of the machine data member; usually omitted + * + */ +// TODO add at-param to docblock +function makeTransition(this_se, from, to, isRight, _wasList, _wasIndex) { + const kind = isRight + ? arrow_right_kind(this_se.kind) + : arrow_left_kind(this_se.kind), edge = { + from, + to, + kind, + forced_only: kind === 'forced', + main_path: kind === 'main' + }; + // if ((wasList !== undefined) && (wasIndex === undefined)) { throw new JssmError(undefined, `Must have an index if transition was in a list"); } + // if ((wasIndex !== undefined) && (wasList === undefined)) { throw new JssmError(undefined, `Must be in a list if transition has an index"); } + /* + if (typeof edge.to === 'object') { + + if (edge.to.key === 'cycle') { + if (wasList === undefined) { throw new JssmError(undefined, "Must have a waslist if a to is type cycle"); } + const nextIndex = wrapBy(wasIndex, edge.to.value, wasList.length); + edge.to = wasList[nextIndex]; + } + + } + */ + const action = isRight ? 'r_action' : 'l_action', probability = isRight ? 'r_probability' : 'l_probability'; + if (this_se[action]) { + edge.action = this_se[action]; + } + if (this_se[probability]) { + edge.probability = this_se[probability]; + } + return edge; +} +/********* + * + * This method wraps the parser call that comes from the peg grammar, + * {@link parse}. Generally neither this nor that should be used directly + * unless you mean to develop plugins or extensions for the machine. + * + * Parses the intermediate representation of a compiled string down to a + * machine configuration object. If you're using this (probably don't,) you're + * probably also using {@link compile} and {@link Machine.constructor}. + * + * ```typescript + * import { parse, compile, Machine } from 'jssm'; + * + * const intermediate = wrap_parse('a -> b;', {}); + * // [ {key:'transition', from:'a', se:{kind:'->',to:'b'}} ] + * + * const cfg = compile(intermediate); + * // { start_states:['a'], transitions: [{ from:'a', to:'b', kind:'legal', forced_only:false, main_path:false }] } + * + * const machine = new Machine(cfg); + * // Machine { _instance_name: undefined, _state: 'a', ... + * ``` + * + * This method is mostly for plugin and intermediate tool authors, or people + * who need to work with the machine's intermediate representation. + * + * # Hey! + * + * Most people looking at this want either the `sm` operator or method `from`, + * which perform all the steps in the chain. The library's author mostly uses + * operator `sm`, and mostly falls back to `.from` when needing to parse + * strings dynamically instead of from template literals. + * + * Operator {@link sm}: + * + * ```typescript + * import { sm } from 'jssm'; + * + * const lswitch = sm`on <=> off;`; + * ``` + * + * Method {@link from}: + * + * ```typescript + * import * as jssm from 'jssm'; + * + * const toggle = jssm.from('up <=> down;'); + * ``` + * + * `wrap_parse` itself is an internal convenience method for alting out an + * object as the options call. Not generally meant for external use. + * + * @param input The FSL code to be evaluated + * + * @param options Things to control about the instance + * + */ +function wrap_parse(input, options) { + return parse(input, options || {}); +} +/********* + * + * Internal method performing one step in compiling rules for transitions. Not + * generally meant for external use. + * + * @internal + * + * @typeparam mDT The type of the machine data member; usually omitted + * + */ +function compile_rule_transition_step(acc, from, to, this_se, next_se) { + const edges = []; + const uFrom = (Array.isArray(from) ? from : [from]), uTo = (Array.isArray(to) ? to : [to]); + uFrom.map((f) => { + uTo.map((t) => { + const right = makeTransition(this_se, f, t, true); + if (right.kind !== 'none') { + edges.push(right); + } + const left = makeTransition(this_se, t, f, false); + if (left.kind !== 'none') { + edges.push(left); + } + }); + }); + const new_acc = acc.concat(edges); + if (next_se) { + return compile_rule_transition_step(new_acc, to, next_se.to, next_se, next_se.se); + } + else { + return new_acc; + } +} +/********* + * + * Internal method performing one step in compiling rules for transitions. Not + * generally meant for external use. + * + * @internal + * + */ +function compile_rule_handle_transition(rule) { + return compile_rule_transition_step([], rule.from, rule.se.to, rule.se, rule.se.se); +} +/********* + * + * Internal method performing one step in compiling rules for transitions. Not + * generally meant for external use. + * + * @internal + * + */ +function compile_rule_handler(rule) { + if (rule.key === 'transition') { + return { agg_as: 'transition', val: compile_rule_handle_transition(rule) }; + } + if (rule.key === 'machine_language') { + return { agg_as: 'machine_language', val: reduce_to_639(rule.value) }; + } + // manually rehandled to make `undefined` as a property safe + if (rule.key === 'property_definition') { + const ret = { agg_as: 'property_definition', val: { name: rule.name } }; + if (rule.hasOwnProperty('default_value')) { + ret.val.default_value = rule.default_value; + } + if (rule.hasOwnProperty('required')) { + ret.val.required = rule.required; + } + return ret; + } + // state properties are in here + if (rule.key === 'state_declaration') { + if (!rule.name) { + throw new JssmError(undefined, 'State declarations must have a name'); + } + return { agg_as: 'state_declaration', val: { state: rule.name, declarations: rule.value } }; + } + if (['arrange_declaration', 'arrange_start_declaration', + 'arrange_end_declaration'].includes(rule.key)) { + return { agg_as: rule.key, val: [rule.value] }; + } + // things that can only exist once and are just a value under their own name + const tautologies = [ + 'graph_layout', 'start_states', 'end_states', 'machine_name', 'machine_version', + 'machine_comment', 'machine_author', 'machine_contributor', 'machine_definition', + 'machine_reference', 'machine_license', 'fsl_version', 'state_config', 'theme', + 'flow', 'dot_preamble', 'default_state_config', 'default_start_state_config', + 'default_end_state_config', 'default_hooked_state_config', + 'default_active_state_config', 'default_terminal_state_config' + ]; + if (tautologies.includes(rule.key)) { + return { agg_as: rule.key, val: rule.value }; + } + throw new JssmError(undefined, `compile_rule_handler: Unknown rule: ${JSON.stringify(rule)}`); +} +/********* + * + * Compile a machine's JSON intermediate representation to a config object. If + * you're using this (probably don't,) you're probably also using + * {@link parse} to get the IR, and the object constructor + * {@link Machine.construct} to turn the config object into a workable machine. + * + * ```typescript + * import { parse, compile, Machine } from 'jssm'; + * + * const intermediate = parse('a -> b;'); + * // [ {key:'transition', from:'a', se:{kind:'->',to:'b'}} ] + * + * const cfg = compile(intermediate); + * // { start_states:['a'], transitions: [{ from:'a', to:'b', kind:'legal', forced_only:false, main_path:false }] } + * + * const machine = new Machine(cfg); + * // Machine { _instance_name: undefined, _state: 'a', ... + * ``` + * + * This method is mostly for plugin and intermediate tool authors, or people + * who need to work with the machine's intermediate representation. + * + * # Hey! + * + * Most people looking at this want either the `sm` operator or method `from`, + * which perform all the steps in the chain. The library's author mostly uses + * operator `sm`, and mostly falls back to `.from` when needing to parse + * strings dynamically instead of from template literals. + * + * Operator {@link sm}: + * + * ```typescript + * import { sm } from 'jssm'; + * + * const lswitch = sm`on <=> off;`; + * ``` + * + * Method {@link from}: + * + * ```typescript + * import * as jssm from 'jssm'; + * + * const toggle = jssm.from('up <=> down;'); + * ``` + * + * @typeparam mDT The type of the machine data member; usually omitted + * + * @param tree The parse tree to be boiled down into a machine config + * + */ +function compile(tree) { + const results = { + graph_layout: [], + transition: [], + start_states: [], + end_states: [], + state_config: [], + state_declaration: [], + fsl_version: [], + machine_author: [], + machine_comment: [], + machine_contributor: [], + machine_definition: [], + machine_language: [], + machine_license: [], + machine_name: [], + machine_reference: [], + property_definition: [], + state_property: {}, + theme: [], + flow: [], + dot_preamble: [], + arrange_declaration: [], + arrange_start_declaration: [], + arrange_end_declaration: [], + machine_version: [], + default_state_config: [], + default_active_state_config: [], + default_hooked_state_config: [], + default_terminal_state_config: [], + default_start_state_config: [], + default_end_state_config: [], + }; + tree.map((tr) => { + const rule = compile_rule_handler(tr), agg_as = rule.agg_as, val = rule.val; // TODO FIXME no any + results[agg_as] = results[agg_as].concat(val); + }); + const property_keys = results['property_definition'].map(pd => pd.name), repeat_props = find_repeated(property_keys); + if (repeat_props.length) { + throw new JssmError(undefined, `Cannot repeat property definitions. Saw ${JSON.stringify(repeat_props)}`); + } + const assembled_transitions = [].concat(...results['transition']); + const result_cfg = { + start_states: results.start_states.length ? results.start_states : [assembled_transitions[0].from], + end_states: results.end_states, + transitions: assembled_transitions, + state_property: [], + }; + const oneOnlyKeys = [ + 'graph_layout', 'machine_name', 'machine_version', 'machine_comment', + 'fsl_version', 'machine_license', 'machine_definition', 'machine_language', + 'flow', 'dot_preamble' + ]; + oneOnlyKeys.map((oneOnlyKey) => { + if (results[oneOnlyKey].length > 1) { + throw new JssmError(undefined, `May only have one ${oneOnlyKey} statement maximum: ${JSON.stringify(results[oneOnlyKey])}`); + } + else { + if (results[oneOnlyKey].length) { + result_cfg[oneOnlyKey] = results[oneOnlyKey][0]; + } + } + }); + ['arrange_declaration', 'arrange_start_declaration', 'arrange_end_declaration', + 'machine_author', 'machine_contributor', 'machine_reference', 'theme', + 'state_declaration', 'property_definition', 'default_state_config', + 'default_start_state_config', 'default_end_state_config', + 'default_hooked_state_config', 'default_terminal_state_config', + 'default_active_state_config'].map((multiKey) => { + if (results[multiKey].length) { + result_cfg[multiKey] = results[multiKey]; + } + }); + // re-walk state declarations, already wrapped up, to get state properties, + // which go out in a different datastructure + results.state_declaration.forEach(sd => { + sd.declarations.forEach(decl => { + if (decl.key === 'state_property') { + const label = name_bind_prop_and_state(decl.name, sd.state); + if (result_cfg.state_property.findIndex(c => c.name === label) !== -1) { + throw new JssmError(undefined, `A state may only bind a property once (${sd.state} re-binds ${decl.name})`); + } + else { + result_cfg.state_property.push({ name: label, default_value: decl.value }); + } + } + }); + }); + return result_cfg; +} +/********* + * + * An internal convenience wrapper for parsing then compiling a machine string. + * Not generally meant for external use. Please see {@link compile} or + * {@link sm}. + * + * @typeparam mDT The type of the machine data member; usually omitted + * + * @param plan The FSL code to be evaluated and built into a machine config + * + */ +function make(plan) { + return compile(wrap_parse(plan)); +} +export { compile, +// compile_rule_handler, +// compile_rule_transition_step, +// compile_rule_handle_transition, +make, makeTransition, wrap_parse }; diff --git a/dist/es6/jssm_types.d.ts b/dist/es6/jssm_types.d.ts index 3f458b9f..e9cae87f 100644 --- a/dist/es6/jssm_types.d.ts +++ b/dist/es6/jssm_types.d.ts @@ -44,10 +44,10 @@ declare type JssmPropertyDefinition = { }; declare type JssmTransitionPermitter = (OldState: StateType, NewState: StateType, OldData: DataType, NewData: DataType) => boolean; declare type JssmTransitionPermitterMaybeArray = JssmTransitionPermitter | Array>; -declare type JssmTransition = { +declare type JssmTransition = { from: StateType; to: StateType; - name?: string; + name?: StateType; action?: StateType; check?: JssmTransitionPermitterMaybeArray; probability?: number; @@ -55,7 +55,7 @@ declare type JssmTransition = { forced_only: boolean; main_path: boolean; }; -declare type JssmTransitions = JssmTransition[]; +declare type JssmTransitions = JssmTransition[]; declare type JssmTransitionList = { entrances: Array; exits: Array; @@ -79,7 +79,7 @@ declare type JssmMachineInternalState = { edge_map: Map>; actions: Map>; reverse_actions: Map>; - edges: Array>; + edges: Array>; }; declare type JssmStatePermitter = (OldState: StateType, NewState: StateType, OldData: DataType, NewData: DataType) => boolean; declare type JssmStatePermitterMaybeArray = JssmStatePermitter | Array>; @@ -88,7 +88,7 @@ declare type JssmGenericMachine = { state: StateType; data?: DataType; nodes?: Array; - transitions: JssmTransitions; + transitions: JssmTransitions; check?: JssmStatePermitterMaybeArray; min_transitions?: number; max_transitions?: number; @@ -173,10 +173,10 @@ declare type JssmBaseTheme = { title: undefined; }; declare type JssmTheme = Partial; -declare type JssmGenericConfig = { +declare type JssmGenericConfig = { graph_layout?: JssmLayout; complete?: Array; - transitions: JssmTransitions; + transitions: JssmTransitions; theme?: FslTheme[]; flow?: FslDirection; name?: string; @@ -217,22 +217,22 @@ declare type JssmGenericConfig = { default_terminal_state_config?: JssmStateStyleKeyList; default_active_state_config?: JssmStateStyleKeyList; }; -declare type JssmCompileRule = { +declare type JssmCompileRule = { agg_as: string; val: any; }; -declare type JssmCompileSe = { +declare type JssmCompileSe = { to: StateType; - se: JssmCompileSe; + se: JssmCompileSe; kind: JssmArrow; l_action?: StateType; r_action?: StateType; l_probability: number; r_probability: number; }; -declare type JssmCompileSeStart = { - from: DataType; - se: JssmCompileSe; +declare type JssmCompileSeStart = { + from: StateType; + se: JssmCompileSe; key: string; value?: string | number; name?: string; @@ -240,8 +240,8 @@ declare type JssmCompileSeStart = { default_value?: any; required?: boolean; }; -declare type JssmParseTree = Array>; -declare type JssmParseFunctionType = (string: any) => JssmParseTree; +declare type JssmParseTree = Array>; +declare type JssmParseFunctionType = (string: any) => JssmParseTree; declare type BasicHookDescription = { kind: 'hook'; from: string; diff --git a/dist/es6/version.js b/dist/es6/version.js index 56e596f7..c2e7a525 100644 --- a/dist/es6/version.js +++ b/dist/es6/version.js @@ -1,2 +1,2 @@ -const version = "5.85.8", build_time = 1663038933181; +const version = "5.85.9", build_time = 1663041756792; export { version, build_time }; diff --git a/dist/jssm.es5.cjs.js b/dist/jssm.es5.cjs.js index 6ffd6c2f..adc55ada 100644 --- a/dist/jssm.es5.cjs.js +++ b/dist/jssm.es5.cjs.js @@ -1 +1 @@ -"use strict";Object.defineProperty(exports,"__esModule",{value:true});var reductions={abkhazian:"ab","аҧсуа бызшәа, аҧсшәа":"ab",ab:"ab",abk:"ab","аҧсуа бызшәа":"ab","аҧсшәа":"ab",afar:"aa",afaraf:"aa",aa:"aa",aar:"aa",afrikaans:"af",af:"af",afr:"af",akan:"ak",ak:"ak",aka:"ak","aka + 2":"ak",albanian:"sq",shqip:"sq",sq:"sq",sqi:"sq",alb:"sq","sqi + 4":"sq",amharic:"am","አማርኛ":"am",am:"am",amh:"am",arabic:"ar","العربية":"ar",ar:"ar",ara:"ar","ara + 30":"ar",aragonese:"an","aragonés":"an",an:"an",arg:"an",armenian:"hy","հայերեն":"hy",hy:"hy",hye:"hy",arm:"hy",assamese:"as","অসমীয়া":"as",as:"as",asm:"as",avaric:"av","авар мацӏ, магӏарул мацӏ":"av",av:"av",ava:"av","авар мацӏ":"av","магӏарул мацӏ":"av",avestan:"ae",avesta:"ae",ae:"ae",ave:"ae",aymara:"ay","aymar aru":"ay",ay:"ay",aym:"ay","aym + 2":"ay",azerbaijani:"az","azərbaycan dili":"az",az:"az",aze:"az","aze + 2":"az",bambara:"bm",bamanankan:"bm",bm:"bm",bam:"bm",bashkir:"ba","башҡорт теле":"ba",ba:"ba",bak:"ba",basque:"eu","euskara, euskera":"eu",eu:"eu",eus:"eu",baq:"eu",euskara:"eu",euskera:"eu",belarusian:"be","беларуская мова":"be",be:"be",bel:"be",bengali:"bn","বাংলা":"bn",bn:"bn",ben:"bn","bihari languages":"bh","भोजपुरी":"bh",bh:"bh",bih:"bh",bislama:"bi",bi:"bi",bis:"bi",bosnian:"bs","bosanski jezik":"bs",bs:"bs",bos:"bs",breton:"br",brezhoneg:"br",br:"br",bre:"br",bulgarian:"bg","български език":"bg",bg:"bg",bul:"bg",burmese:"my","ဗမာစာ":"my",my:"my",mya:"my",bur:"my","catalan, valencian":"ca","català, valencià":"ca",ca:"ca",cat:"ca","català":"ca","valencià":"ca",chamorro:"ch",chamoru:"ch",ch:"ch",cha:"ch",chechen:"ce","нохчийн мотт":"ce",ce:"ce",che:"ce","chichewa, chewa, nyanja":"ny","chicheŵa, chinyanja":"ny",ny:"ny",nya:"ny","chicheŵa":"ny",chinyanja:"ny",chinese:"zh","中文 (zhōngwén), 汉语, 漢語":"zh",zh:"zh",zho:"zh",chi:"zh","zho + 13":"zh","中文 (zhōngwén)":"zh","汉语":"zh","漢語":"zh",chuvash:"cv","чӑваш чӗлхи":"cv",cv:"cv",chv:"cv",cornish:"kw",kernewek:"kw",kw:"kw",cor:"kw",corsican:"co","corsu, lingua corsa":"co",co:"co",cos:"co",corsu:"co","lingua corsa":"co",cree:"cr","ᓀᐦᐃᔭᐍᐏᐣ":"cr",cr:"cr",cre:"cr","cre + 6":"cr",croatian:"hr","hrvatski jezik":"hr",hr:"hr",hrv:"hr",czech:"cs","čeština, český jazyk":"cs",cs:"cs",ces:"cs",cze:"cs","čeština":"cs","český jazyk":"cs",danish:"da",dansk:"da",da:"da",dan:"da","divehi, dhivehi, maldivian":"dv","ދިވެހި":"dv",dv:"dv",div:"dv","dutch, flemish":"nl","nederlands, vlaams":"nl",nl:"nl",nld:"nl",dut:"nl",nederlands:"nl",vlaams:"nl",dzongkha:"dz","རྫོང་ཁ":"dz",dz:"dz",dzo:"dz",english:"en",en:"en",eng:"en",esperanto:"eo",eo:"eo",epo:"eo",estonian:"et","eesti, eesti keel":"et",et:"et",est:"et","est + 2":"et",eesti:"et","eesti keel":"et",ewe:"ee","eʋegbe":"ee",ee:"ee",faroese:"fo","føroyskt":"fo",fo:"fo",fao:"fo",fijian:"fj","vosa vakaviti":"fj",fj:"fj",fij:"fj",finnish:"fi","suomi, suomen kieli":"fi",fi:"fi",fin:"fi",suomi:"fi","suomen kieli":"fi",french:"fr","français, langue française":"fr",fr:"fr",fra:"fr",fre:"fr","français":"fr","langue française":"fr",fulah:"ff","fulfulde, pulaar, pular":"ff",ff:"ff",ful:"ff","ful + 9":"ff",fulfulde:"ff",pulaar:"ff",pular:"ff",galician:"gl",galego:"gl",gl:"gl",glg:"gl",georgian:"ka","ქართული":"ka",ka:"ka",kat:"ka",geo:"ka",german:"de",deutsch:"de",de:"de",deu:"de",ger:"de","greek (modern)":"el","ελληνικά":"el",el:"el",ell:"el",gre:"el","guaraní":"gn","avañe'ẽ":"gn",gn:"gn",grn:"gn","grn + 5":"gn",gujarati:"gu","ગુજરાતી":"gu",gu:"gu",guj:"gu","haitian, haitian creole":"ht","kreyòl ayisyen":"ht",ht:"ht",hat:"ht",hausa:"ha","(hausa) هَوُسَ":"ha",ha:"ha",hau:"ha","hebrew (modern)":"he","עברית":"he",he:"he",heb:"he",herero:"hz",otjiherero:"hz",hz:"hz",her:"hz",hindi:"hi","हिन्दी, हिंदी":"hi",hi:"hi",hin:"hi","हिन्दी":"hi","हिंदी":"hi","hiri motu":"ho",ho:"ho",hmo:"ho",hungarian:"hu",magyar:"hu",hu:"hu",hun:"hu",interlingua:"ia",ia:"ia",ina:"ia",indonesian:"id","bahasa indonesia":"id",id:"id",ind:"id",interlingue:"ie","originally called occidental; then interlingue after wwii":"ie",ie:"ie",ile:"ie",irish:"ga",gaeilge:"ga",ga:"ga",gle:"ga",igbo:"ig","asụsụ igbo":"ig",ig:"ig",ibo:"ig",inupiaq:"ik","iñupiaq, iñupiatun":"ik",ik:"ik",ipk:"ik","ipk + 2":"ik","iñupiaq":"ik","iñupiatun":"ik",ido:"io",io:"io",icelandic:"is","íslenska":"is",is:"is",isl:"is",ice:"is",italian:"it",italiano:"it",it:"it",ita:"it",inuktitut:"iu","ᐃᓄᒃᑎᑐᑦ":"iu",iu:"iu",iku:"iu","iku + 2":"iu",japanese:"ja","日本語 (にほんご)":"ja",ja:"ja",jpn:"ja",javanese:"jv","ꦧꦱꦗꦮ, basa jawa":"jv",jv:"jv",jav:"jv","ꦧꦱꦗꦮ":"jv","basa jawa":"jv","kalaallisut, greenlandic":"kl","kalaallisut, kalaallit oqaasii":"kl",kl:"kl",kal:"kl",kalaallisut:"kl","kalaallit oqaasii":"kl",kannada:"kn","ಕನ್ನಡ":"kn",kn:"kn",kan:"kn",kanuri:"kr",kr:"kr",kau:"kr","kau + 3":"kr",kashmiri:"ks","कश्मीरी, كشميري‎":"ks",ks:"ks",kas:"ks","कश्मीरी":"ks","كشميري‎":"ks",kazakh:"kk","қазақ тілі":"kk",kk:"kk",kaz:"kk","central khmer":"km","ខ្មែរ, ខេមរភាសា, ភាសាខ្មែរ":"km",km:"km",khm:"km","ខ្មែរ":"km","ខេមរភាសា":"km","ភាសាខ្មែរ":"km","kikuyu, gikuyu":"ki","gĩkũyũ":"ki",ki:"ki",kik:"ki",kinyarwanda:"rw",ikinyarwanda:"rw",rw:"rw",kin:"rw","kirghiz, kyrgyz":"ky","кыргызча, кыргыз тили":"ky",ky:"ky",kir:"ky","кыргызча":"ky","кыргыз тили":"ky",komi:"kv","коми кыв":"kv",kv:"kv",kom:"kv","kom + 2":"kv",kongo:"kg",kikongo:"kg",kg:"kg",kon:"kg","kon + 3":"kg",korean:"ko","한국어":"ko",ko:"ko",kor:"ko",kurdish:"ku","kurdî, كوردی‎":"ku",ku:"ku",kur:"ku","kur + 3":"ku","kurdî":"ku","كوردی‎":"ku","kuanyama, kwanyama":"kj",kuanyama:"kj",kj:"kj",kua:"kj",latin:"la","latine, lingua latina":"la",la:"la",lat:"la",latine:"la","lingua latina":"la","luxembourgish, letzeburgesch":"lb","lëtzebuergesch":"lb",lb:"lb",ltz:"lb",ganda:"lg",luganda:"lg",lg:"lg",lug:"lg","limburgan, limburger, limburgish":"li",limburgs:"li",li:"li",lim:"li",lingala:"ln","lingála":"ln",ln:"ln",lin:"ln",lao:"lo","ພາສາລາວ":"lo",lo:"lo",lithuanian:"lt","lietuvių kalba":"lt",lt:"lt",lit:"lt","luba-katanga":"lu",kiluba:"lu",lu:"lu",lub:"lu",latvian:"lv","latviešu valoda":"lv",lv:"lv",lav:"lv","lav + 2":"lv",manx:"gv","gaelg, gailck":"gv",gv:"gv",glv:"gv",gaelg:"gv",gailck:"gv",macedonian:"mk","македонски јазик":"mk",mk:"mk",mkd:"mk",mac:"mk",malagasy:"mg","fiteny malagasy":"mg",mg:"mg",mlg:"mg","mlg + 10":"mg",malay:"ms","bahasa melayu, بهاس ملايو‎":"ms",ms:"ms",msa:"ms",may:"ms","msa + 13":"ms","bahasa melayu":"ms","بهاس ملايو‎":"ms",malayalam:"ml","മലയാളം":"ml",ml:"ml",mal:"ml",maltese:"mt",malti:"mt",mt:"mt",mlt:"mt",maori:"mi","te reo māori":"mi",mi:"mi",mri:"mi",mao:"mi",marathi:"mr","मराठी":"mr",mr:"mr",mar:"mr",marshallese:"mh","kajin m̧ajeļ":"mh",mh:"mh",mah:"mh",mongolian:"mn","монгол хэл":"mn",mn:"mn",mon:"mn","mon + 2":"mn",nauru:"na","dorerin naoero":"na",na:"na",nau:"na","navajo, navaho":"nv","diné bizaad":"nv",nv:"nv",nav:"nv","north ndebele":"nd",isindebele:"nr",nd:"nd",nde:"nd",nepali:"ne","नेपाली":"ne",ne:"ne",nep:"ne",ndonga:"ng",owambo:"ng",ng:"ng",ndo:"ng","norwegian bokmål":"nb","norsk bokmål":"nb",nb:"nb",nob:"nb","norwegian nynorsk":"nn","norsk nynorsk":"nn",nn:"nn",nno:"nn",norwegian:"no",norsk:"no",no:"no",nor:"no","nor + 2":"no","sichuan yi, nuosu":"ii","ꆈꌠ꒿ nuosuhxop":"ii",ii:"ii",iii:"ii","south ndebele":"nr",nr:"nr",nbl:"nr",occitan:"oc","occitan, lenga d'òc":"oc",oc:"oc",oci:"oc","lenga d'òc":"oc",ojibwa:"oj","ᐊᓂᔑᓈᐯᒧᐎᓐ":"oj",oj:"oj",oji:"oj","oji + 7":"oj","church slavic, church slavonic, old church slavonic, old slavonic, old bulgarian":"cu","ѩзыкъ словѣньскъ":"cu",cu:"cu",chu:"cu",oromo:"om","afaan oromoo":"om",om:"om",orm:"om","orm + 4":"om",oriya:"or","ଓଡ଼ିଆ":"or",or:"or",ori:"or","ossetian, ossetic":"os","ирон æвзаг":"os",os:"os",oss:"os","panjabi, punjabi":"pa","ਪੰਜਾਬੀ":"pa",pa:"pa",pan:"pa",pali:"pi","पाऴि":"pi",pi:"pi",pli:"pi",persian:"fa","فارسی":"fa",fa:"fa",fas:"fa",per:"fa","fas + 2":"fa",polish:"pl","język polski, polszczyzna":"pl",pl:"pl",pol:"pl","język polski":"pl",polszczyzna:"pl","pashto, pushto":"ps","پښتو":"ps",ps:"ps",pus:"ps","pus + 3":"ps",portuguese:"pt","português":"pt",pt:"pt",por:"pt",quechua:"qu","runa simi, kichwa":"qu",qu:"qu",que:"qu","que + 44":"qu","runa simi":"qu",kichwa:"qu",romansh:"rm","rumantsch grischun":"rm",rm:"rm",roh:"rm",rundi:"rn",ikirundi:"rn",rn:"rn",run:"rn","romanian, moldavian, moldovan":"ro","română":"ro",ro:"ro",ron:"ro",rum:"ro",russian:"ru","русский":"ru",ru:"ru",rus:"ru",sanskrit:"sa","संस्कृतम्":"sa",sa:"sa",san:"sa",sardinian:"sc",sardu:"sc",sc:"sc",srd:"sc","srd + 4":"sc",sindhi:"sd","सिन्धी, سنڌي، سندھی‎":"sd",sd:"sd",snd:"sd","सिन्धी":"sd","سنڌي، سندھی‎":"sd","northern sami":"se","davvisámegiella":"se",se:"se",sme:"se",samoan:"sm","gagana fa'a samoa":"sm",sm:"sm",smo:"sm",sango:"sg","yângâ tî sängö":"sg",sg:"sg",sag:"sg",serbian:"sr","српски језик":"sr",sr:"sr",srp:"sr","gaelic, scottish gaelic":"gd","gàidhlig":"gd",gd:"gd",gla:"gd",shona:"sn",chishona:"sn",sn:"sn",sna:"sn","sinhala, sinhalese":"si","සිංහල":"si",si:"si",sin:"si",slovak:"sk","slovenčina, slovenský jazyk":"sk",sk:"sk",slk:"sk",slo:"sk","slovenčina":"sk","slovenský jazyk":"sk",slovenian:"sl","slovenski jezik, slovenščina":"sl",sl:"sl",slv:"sl","slovenski jezik":"sl","slovenščina":"sl",somali:"so","soomaaliga, af soomaali":"so",so:"so",som:"so",soomaaliga:"so","af soomaali":"so","southern sotho":"st",sesotho:"st",st:"st",sot:"st","spanish, castilian":"es","español":"es",es:"es",spa:"es",sundanese:"su","basa sunda":"su",su:"su",sun:"su",swahili:"sw",kiswahili:"sw",sw:"sw",swa:"sw","swa + 2":"sw",swati:"ss",siswati:"ss",ss:"ss",ssw:"ss",swedish:"sv",svenska:"sv",sv:"sv",swe:"sv",tamil:"ta","தமிழ்":"ta",ta:"ta",tam:"ta",telugu:"te","తెలుగు":"te",te:"te",tel:"te",tajik:"tg","тоҷикӣ, toçikī, تاجیکی‎":"tg",tg:"tg",tgk:"tg","тоҷикӣ":"tg","toçikī":"tg","تاجیکی‎":"tg",thai:"th","ไทย":"th",th:"th",tha:"th",tigrinya:"ti","ትግርኛ":"ti",ti:"ti",tir:"ti",tibetan:"bo","བོད་ཡིག":"bo",bo:"bo",bod:"bo",tib:"bo",turkmen:"tk","türkmen, түркмен":"tk",tk:"tk",tuk:"tk","türkmen":"tk","түркмен":"tk",tagalog:"tl","wikang tagalog":"tl",tl:"tl",tgl:"tl",tswana:"tn",setswana:"tn",tn:"tn",tsn:"tn","tonga (tonga islands)":"to","faka tonga":"to",to:"to",ton:"to",turkish:"tr","türkçe":"tr",tr:"tr",tur:"tr",tsonga:"ts",xitsonga:"ts",ts:"ts",tso:"ts",tatar:"tt","татар теле, tatar tele":"tt",tt:"tt",tat:"tt","татар теле":"tt","tatar tele":"tt",twi:"tw",tw:"tw",tahitian:"ty","reo tahiti":"ty",ty:"ty",tah:"ty","uighur, uyghur":"ug","ئۇيغۇرچە‎, uyghurche":"ug",ug:"ug",uig:"ug","ئۇيغۇرچە‎":"ug",uyghurche:"ug",ukrainian:"uk","українська":"uk",uk:"uk",ukr:"uk",urdu:"ur","اردو":"ur",ur:"ur",urd:"ur",uzbek:"uz","oʻzbek, ўзбек, أۇزبېك‎":"uz",uz:"uz",uzb:"uz","uzb + 2":"uz","oʻzbek":"uz","ўзбек":"uz","أۇزبېك‎":"uz",venda:"ve","tshivenḓa":"ve",ve:"ve",ven:"ve",vietnamese:"vi","tiếng việt":"vi",vi:"vi",vie:"vi","volapük":"vo",vo:"vo",vol:"vo",walloon:"wa",walon:"wa",wa:"wa",wln:"wa",welsh:"cy",cymraeg:"cy",cy:"cy",cym:"cy",wel:"cy",wolof:"wo",wollof:"wo",wo:"wo",wol:"wo","western frisian":"fy",frysk:"fy",fy:"fy",fry:"fy",xhosa:"xh",isixhosa:"xh",xh:"xh",xho:"xh",yiddish:"yi","ייִדיש":"yi",yi:"yi",yid:"yi","yid + 2":"yi",yoruba:"yo","yorùbá":"yo",yo:"yo",yor:"yo","zhuang, chuang":"za","saɯ cueŋƅ, saw cuengh":"za",za:"za",zha:"za","zha + 16":"za","saɯ cueŋƅ":"za","saw cuengh":"za",zulu:"zu",isizulu:"zu",zu:"zu",zul:"zu"};function reduce(from){return reductions[from.toLowerCase()]}class circular_buffer{constructor(uCapacity){if(!Number.isInteger(uCapacity)){throw new RangeError(`Capacity must be an integer, received ${uCapacity}`)}if(uCapacity<0){throw new RangeError(`Capacity must be a non-negative integer, received ${uCapacity}`)}this._values=new Array(uCapacity);this._capacity=uCapacity;this._cursor=0;this._offset=0;this._length=0}get capacity(){return this._capacity}set capacity(newSize){this.resize(newSize)}get length(){return this._length}set length(newLength){if(newLength>this._capacity){throw new RangeError(`Requested new length [${newLength}] exceeds container capacity [${this._capacity}]`)}if(newLength<0){throw new RangeError(`Requested new length [${newLength}] cannot be negative`)}if(!Number.isInteger(newLength)){throw new RangeError(`Requested new length [${newLength}] must be an integer`)}if(this._length<=newLength){return}this._length=newLength}get available(){return this._capacity-this._length}get isEmpty(){return this._length===0}get isFull(){return this._length===this._capacity}get first(){if(this.isEmpty){throw new RangeError("Cannot return first element of an empty container")}return this.at(0)}get last(){if(this.isEmpty){throw new RangeError("Cannot return last element of an empty container")}return this.at(this.length-1)}static from(i,map_fn,t){const new_array=map_fn?Array.from(i,map_fn,t):Array.from(i);const target_length=new_array.length;const ncb=new circular_buffer(target_length);ncb._values=new_array;ncb._length=target_length;return ncb}push(v){if(this.isFull){throw new RangeError(`Cannot push, structure is full to capacity`)}this._values[(this._cursor+this._length++)%this._capacity]=v;return v}shove(v){let shoved;if(this._capacity===0){throw new RangeError(`Cannot shove, structure is zero-capacity`)}if(this.isFull){shoved=this.pop()}this.push(v);return shoved}fill(x){for(let i=0;i=this._capacity){this._cursor-=this._capacity}return cache}at(i){if(i<0){throw new RangeError(`circular_buffer does not support negative traversals; called at(${i})`)}if(!Number.isInteger(i)){throw new RangeError(`Accessors must be non-negative integers; called at(${i})`)}if(i>=this._capacity){throw new RangeError(`Requested cell ${i} exceeds container permanent capacity`)}if(i>=this._length){throw new RangeError(`Requested cell ${i} exceeds container current length`)}return this._values[(this._cursor+i)%this._capacity]}pos(i){return this.at(i-this.offset())}offset(){return this._offset}resize(newSize,preferEnd=false){this._values=this.toArray();this._cursor=0;const oldSize=this._length;this._length=Math.min(this._length,newSize);this._capacity=newSize;if(newSize>=oldSize){this._values.length=newSize}else{if(preferEnd){const tmp=this._values.slice(oldSize-newSize);this._values=tmp}else{this._values.length=newSize}}}toArray(){const startPoint=this._cursor%this._capacity;if(this._capacity>startPoint+this._length){return this._values.slice(startPoint,startPoint+this._length)}else{const base=this._values.slice(startPoint,this._capacity);base.push(...this._values.slice(0,this.length-(this._capacity-startPoint)));return base}}}const FslDirections=["up","right","down","left"];class JssmError extends Error{constructor(machine,message,JEEI){const{requested_state:requested_state}=JEEI===undefined?{requested_state:undefined}:JEEI;const follow_ups=[];if(machine){if(machine.state()!==undefined){follow_ups.push(`at "${machine.state()}"`)}}if(requested_state!==undefined){follow_ups.push(`requested "${requested_state}"`)}const complex_msg=`${(machine===null||machine===void 0?void 0:machine.instance_name())!==undefined?`[[${machine.instance_name()}]]: `:""}${message}${follow_ups.length?` (${follow_ups.join(", ")})`:""}`;super(complex_msg);this.name="JssmError";this.message=complex_msg;this.base_message=message;this.requested_state=requested_state}}function arrow_direction(arrow){switch(String(arrow)){case"->":case"→":case"=>":case"⇒":case"~>":case"↛":return"right";case"<-":case"←":case"<=":case"⇐":case"<~":case"↚":return"left";case"<->":case"↔":case"<-=>":case"←⇒":case"←=>":case"<-⇒":case"<-~>":case"←↛":case"←~>":case"<-↛":case"<=>":case"⇔":case"<=->":case"⇐→":case"⇐->":case"<=→":case"<=~>":case"⇐↛":case"⇐~>":case"<=↛":case"<~>":case"↮":case"<~->":case"↚→":case"↚->":case"<~→":case"<~=>":case"↚⇒":case"↚=>":case"<~⇒":return"both";default:throw new JssmError(undefined,`arrow_direction: unknown arrow type ${arrow}`)}}function arrow_left_kind(arrow){switch(String(arrow)){case"->":case"→":case"=>":case"⇒":case"~>":case"↛":return"none";case"<-":case"←":case"<->":case"↔":case"<-=>":case"←⇒":case"<-~>":case"←↛":return"legal";case"<=":case"⇐":case"<=>":case"⇔":case"<=->":case"⇐→":case"<=~>":case"⇐↛":return"main";case"<~":case"↚":case"<~>":case"↮":case"<~->":case"↚→":case"<~=>":case"↚⇒":return"forced";default:throw new JssmError(undefined,`arrow_direction: unknown arrow type ${arrow}`)}}function arrow_right_kind(arrow){switch(String(arrow)){case"<-":case"←":case"<=":case"⇐":case"<~":case"↚":return"none";case"->":case"→":case"<->":case"↔":case"<=->":case"⇐→":case"<~->":case"↚→":return"legal";case"=>":case"⇒":case"<=>":case"⇔":case"<-=>":case"←⇒":case"<~=>":case"↚⇒":return"main";case"~>":case"↛":case"<~>":case"↮":case"<-~>":case"←↛":case"<=~>":case"⇐↛":return"forced";default:throw new JssmError(undefined,`arrow_direction: unknown arrow type ${arrow}`)}}const base_state_style$5={shape:"rectangle",backgroundColor:"white",textColor:"black",borderColor:"black"};const base_active_state_style$5={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style$5={shape:"component"};const base_terminal_state_style$5={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style$5={textColor:"white",backgroundColor:"indigo"};const base_start_state_style$5={backgroundColor:"yellow"};const base_active_start_state_style$5={backgroundColor:"yellowgreen"};const base_active_hooked_state_style$5={backgroundColor:"yellowgreen"};const base_end_state_style$5={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style$5={textColor:"white",backgroundColor:"darkgreen"};const base_theme={name:"base",state:base_state_style$5,start:base_start_state_style$5,end:base_end_state_style$5,terminal:base_terminal_state_style$5,hooked:base_hooked_state_style$5,active:base_active_state_style$5,active_start:base_active_start_state_style$5,active_end:base_active_end_state_style$5,active_terminal:base_active_terminal_state_style$5,active_hooked:base_active_hooked_state_style$5,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$4={shape:"rectangle",backgroundColor:"white",textColor:"black",borderColor:"black"};const base_active_state_style$4={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style$4={shape:"component"};const base_terminal_state_style$4={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style$4={textColor:"white",backgroundColor:"indigo"};const base_start_state_style$4={backgroundColor:"yellow"};const base_active_start_state_style$4={backgroundColor:"yellowgreen"};const base_active_hooked_state_style$4={backgroundColor:"yellowgreen"};const base_end_state_style$4={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style$4={textColor:"white",backgroundColor:"darkgreen"};const default_theme={name:"default",state:base_state_style$4,start:base_start_state_style$4,end:base_end_state_style$4,terminal:base_terminal_state_style$4,hooked:base_hooked_state_style$4,active:base_active_state_style$4,active_start:base_active_start_state_style$4,active_end:base_active_end_state_style$4,active_terminal:base_active_terminal_state_style$4,active_hooked:base_active_hooked_state_style$4,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$3={shape:"rectangle",backgroundColor:"khaki",textColor:"black",borderColor:"black"};const base_active_state_style$3={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style$3={shape:"component"};const base_terminal_state_style$3={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style$3={textColor:"white",backgroundColor:"indigo"};const base_start_state_style$3={backgroundColor:"yellow"};const base_active_start_state_style$3={backgroundColor:"yellowgreen"};const base_active_hooked_state_style$3={backgroundColor:"yellowgreen"};const base_end_state_style$3={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style$3={textColor:"white",backgroundColor:"darkgreen"};const modern_theme={name:"modern",state:base_state_style$3,start:base_start_state_style$3,end:base_end_state_style$3,terminal:base_terminal_state_style$3,hooked:base_hooked_state_style$3,active:base_active_state_style$3,active_start:base_active_start_state_style$3,active_end:base_active_end_state_style$3,active_terminal:base_active_terminal_state_style$3,active_hooked:base_active_hooked_state_style$3,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$2={backgroundColor:"cadetblue1"};const base_active_state_style$2={textColor:"white",backgroundColor:"deepskyblue"};const base_hooked_state_style$2={shape:"component",backgroundColor:"mediumaquamarine"};const base_terminal_state_style$2={textColor:"white",backgroundColor:"darkviolet"};const base_active_terminal_state_style$2={textColor:"white",backgroundColor:"deeppink"};const base_start_state_style$2={backgroundColor:"darkseagreen1"};const base_active_start_state_style$2={backgroundColor:"aquamarine"};const base_active_hooked_state_style$2={backgroundColor:"aquamarine"};const base_end_state_style$2={textColor:"white",backgroundColor:"chartreuse1"};const base_active_end_state_style$2={textColor:"white",backgroundColor:"darkgreen"};const ocean_theme={name:"ocean",state:base_state_style$2,start:base_start_state_style$2,end:base_end_state_style$2,terminal:base_terminal_state_style$2,hooked:base_hooked_state_style$2,active:base_active_state_style$2,active_start:base_active_start_state_style$2,active_end:base_active_end_state_style$2,active_terminal:base_active_terminal_state_style$2,active_hooked:base_active_hooked_state_style$2,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_hooked_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_terminal_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_terminal_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_start_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_start_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_hooked_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_end_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_end_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const plain_theme={name:"plain",state:base_state_style$1,start:base_start_state_style$1,end:base_end_state_style$1,terminal:base_terminal_state_style$1,hooked:base_hooked_state_style$1,active:base_active_state_style$1,active_start:base_active_start_state_style$1,active_end:base_active_end_state_style$1,active_terminal:base_active_terminal_state_style$1,active_hooked:base_active_hooked_state_style$1,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style={shape:"rectangle",backgroundColor:"khaki",textColor:"black",borderColor:"black"};const base_active_state_style={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style={shape:"component"};const base_terminal_state_style={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style={textColor:"white",backgroundColor:"indigo"};const base_start_state_style={backgroundColor:"yellow"};const base_active_start_state_style={backgroundColor:"yellowgreen"};const base_active_hooked_state_style={backgroundColor:"yellowgreen"};const base_end_state_style={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style={textColor:"white",backgroundColor:"darkgreen"};const bold_theme={name:"bold",state:base_state_style,start:base_start_state_style,end:base_end_state_style,terminal:base_terminal_state_style,hooked:base_hooked_state_style,active:base_active_state_style,active_start:base_active_start_state_style,active_end:base_active_end_state_style,active_terminal:base_active_terminal_state_style,active_hooked:base_active_hooked_state_style,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const array_box_if_string=n=>typeof n==="string"?[n]:n;const weighted_rand_select=(options,probability_property="probability")=>{if(!Array.isArray(options)){throw new TypeError("options must be a non-empty array of objects")}if(!(typeof options[0]==="object")){throw new TypeError("options must be a non-empty array of objects")}const frand=cap=>Math.random()*cap,or_one=item=>item===undefined?1:item,prob_sum=options.reduce(((acc,val)=>acc+or_one(val[probability_property])),0),rnd=frand(prob_sum);let cursor=0,cursor_sum=0;while((cursor_sum+=or_one(options[cursor++][probability_property]))<=rnd){}return options[cursor-1]};function seq(n){if(!Number.isInteger(n)){throw new TypeError("seq/1 takes a non-negative integer n as an argument")}if(n<0){throw new TypeError("seq/1 takes a non-negative integer n as an argument")}return new Array(n).fill(true).map(((_,i)=>i))}const histograph=ar=>ar.sort().reduce(((m,v)=>(m.set(v,m.has(v)?m.get(v)+1:1),m)),new Map);const weighted_sample_select=(n,options,probability_property)=>seq(n).map((_i=>weighted_rand_select(options,probability_property)));const weighted_histo_key=(n,opts,prob_prop,extract)=>histograph(weighted_sample_select(n,opts,prob_prop).map((s=>s[extract])));function name_bind_prop_and_state(prop,state){if(typeof prop!=="string"){throw new JssmError(undefined,`Name of property must be a string; got ${prop}`)}if(typeof state!=="string"){throw new JssmError(undefined,`Name of state must be a string; got ${prop}`)}return JSON.stringify([prop,state])}const hook_name=(from,to)=>JSON.stringify([from,to]);const named_hook_name=(from,to,action)=>JSON.stringify([from,to,action]);const unique=arr=>arr.filter(((v,i,a)=>a.indexOf(v)===i));function find_repeated(arr){const uniqued=unique(arr);if(uniqued.length!==arr.length){const residue_keys=new Map;arr.forEach((k=>residue_keys.set(k,residue_keys.has(k)?residue_keys.get(k)+1:1)));uniqued.forEach((k=>residue_keys.set(k,residue_keys.get(k)-1)));return[...residue_keys.entries()].filter((e=>e[1]>0&&!Number.isNaN(e[0]))).map((e=>[e[0],e[1]+1]))}else{return[]}}const NegInfinity=Number.NEGATIVE_INFINITY,PosInfinity=Number.POSITIVE_INFINITY,Epsilon=Number.EPSILON,Pi=Math.PI,E=Math.E,Root2=Math.SQRT2,RootHalf=Math.SQRT1_2,Ln2=Math.LN2,Ln10=Math.LN10,Log2E=Math.LOG2E,Log10E=Math.LOG10E,MaxSafeInt=Number.MAX_SAFE_INTEGER,MinSafeInt=Number.MIN_SAFE_INTEGER,MaxPosNum=Number.MAX_VALUE,MinPosNum=Number.MIN_VALUE,Phi=1.618033988749895,EulerC=.5772156649015329;const gviz_shapes$1=["box3d","polygon","ellipse","oval","circle","point","egg","triangle","plaintext","plain","diamond","trapezium","parallelogram","house","pentagon","hexagon","septagon","octagon","doublecircle","doubleoctagon","tripleoctagon","invtriangle","invtrapezium","invhouse","Mdiamond","Msquare","Mcircle","rectangle","rect","square","star","none","underline","cylinder","note","tab","folder","box","component","promoter","cds","terminator","utr","primersite","restrictionsite","fivepoverhang","threepoverhang","noverhang","assembly","signature","insulator","ribosite","rnastab","proteasesite","proteinstab","rpromoter","rarrow","larrow","lpromoter","record"];const shapes$1=gviz_shapes$1;const named_colors$1=["AliceBlue","AntiqueWhite","Aqua","Aquamarine","Azure","Beige","Bisque","Black","BlanchedAlmond","Blue","BlueViolet","Brown","BurlyWood","CadetBlue","Chartreuse","Chocolate","Coral","CornflowerBlue","Cornsilk","Crimson","Cyan","DarkBlue","DarkCyan","DarkGoldenRod","DarkGray","DarkGrey","DarkGreen","DarkKhaki","DarkMagenta","DarkOliveGreen","Darkorange","DarkOrchid","DarkRed","DarkSalmon","DarkSeaGreen","DarkSlateBlue","DarkSlateGray","DarkSlateGrey","DarkTurquoise","DarkViolet","DeepPink","DeepSkyBlue","DimGray","DimGrey","DodgerBlue","FireBrick","FloralWhite","ForestGreen","Fuchsia","Gainsboro","GhostWhite","Gold","GoldenRod","Gray","Grey","Green","GreenYellow","HoneyDew","HotPink","IndianRed","Indigo","Ivory","Khaki","Lavender","LavenderBlush","LawnGreen","LemonChiffon","LightBlue","LightCoral","LightCyan","LightGoldenRodYellow","LightGray","LightGrey","LightGreen","LightPink","LightSalmon","LightSeaGreen","LightSkyBlue","LightSlateGray","LightSlateGrey","LightSteelBlue","LightYellow","Lime","LimeGreen","Linen","Magenta","Maroon","MediumAquaMarine","MediumBlue","MediumOrchid","MediumPurple","MediumSeaGreen","MediumSlateBlue","MediumSpringGreen","MediumTurquoise","MediumVioletRed","MidnightBlue","MintCream","MistyRose","Moccasin","NavajoWhite","Navy","OldLace","Olive","OliveDrab","Orange","OrangeRed","Orchid","PaleGoldenRod","PaleGreen","PaleTurquoise","PaleVioletRed","PapayaWhip","PeachPuff","Peru","Pink","Plum","PowderBlue","Purple","Red","RosyBrown","RoyalBlue","SaddleBrown","Salmon","SandyBrown","SeaGreen","SeaShell","Sienna","Silver","SkyBlue","SlateBlue","SlateGray","SlateGrey","Snow","SpringGreen","SteelBlue","Tan","Teal","Thistle","Tomato","Turquoise","Violet","Wheat","White","WhiteSmoke","Yellow","YellowGreen"];var constants=Object.freeze({__proto__:null,NegInfinity:NegInfinity,PosInfinity:PosInfinity,Epsilon:Epsilon,Pi:Pi,E:E,Root2:Root2,RootHalf:RootHalf,Ln2:Ln2,Ln10:Ln10,Log2E:Log2E,Log10E:Log10E,MaxSafeInt:MaxSafeInt,MinSafeInt:MinSafeInt,MaxPosNum:MaxPosNum,MinPosNum:MinPosNum,Phi:Phi,EulerC:EulerC,gviz_shapes:gviz_shapes$1,shapes:shapes$1,named_colors:named_colors$1});function peg$subclass(child,parent){function ctor(){this.constructor=child}ctor.prototype=parent.prototype;child.prototype=new ctor}function peg$SyntaxError(message,expected,found,location){this.message=message;this.expected=expected;this.found=found;this.location=location;this.name="SyntaxError";if(typeof Error.captureStackTrace==="function"){Error.captureStackTrace(this,peg$SyntaxError)}}peg$subclass(peg$SyntaxError,Error);peg$SyntaxError.buildMessage=function(expected,found){var DESCRIBE_EXPECTATION_FNS={literal:function(expectation){return'"'+literalEscape(expectation.text)+'"'},class:function(expectation){var escapedParts="",i;for(i=0;i0){for(i=1,j=1;it[0]));themes.push(th);return themes},peg$c16=function(th){return[th]},peg$c17="box3d",peg$c18=peg$literalExpectation("box3d",false),peg$c19="polygon",peg$c20=peg$literalExpectation("polygon",false),peg$c21="ellipse",peg$c22=peg$literalExpectation("ellipse",false),peg$c23="oval",peg$c24=peg$literalExpectation("oval",false),peg$c25="circle",peg$c26=peg$literalExpectation("circle",false),peg$c27="point",peg$c28=peg$literalExpectation("point",false),peg$c29="egg",peg$c30=peg$literalExpectation("egg",false),peg$c31="triangle",peg$c32=peg$literalExpectation("triangle",false),peg$c33="plaintext",peg$c34=peg$literalExpectation("plaintext",false),peg$c35="plain",peg$c36=peg$literalExpectation("plain",false),peg$c37="diamond",peg$c38=peg$literalExpectation("diamond",false),peg$c39="trapezium",peg$c40=peg$literalExpectation("trapezium",false),peg$c41="parallelogram",peg$c42=peg$literalExpectation("parallelogram",false),peg$c43="house",peg$c44=peg$literalExpectation("house",false),peg$c45="pentagon",peg$c46=peg$literalExpectation("pentagon",false),peg$c47="hexagon",peg$c48=peg$literalExpectation("hexagon",false),peg$c49="septagon",peg$c50=peg$literalExpectation("septagon",false),peg$c51="octagon",peg$c52=peg$literalExpectation("octagon",false),peg$c53="doublecircle",peg$c54=peg$literalExpectation("doublecircle",false),peg$c55="doubleoctagon",peg$c56=peg$literalExpectation("doubleoctagon",false),peg$c57="tripleoctagon",peg$c58=peg$literalExpectation("tripleoctagon",false),peg$c59="invtriangle",peg$c60=peg$literalExpectation("invtriangle",false),peg$c61="invtrapezium",peg$c62=peg$literalExpectation("invtrapezium",false),peg$c63="invhouse",peg$c64=peg$literalExpectation("invhouse",false),peg$c65="Mdiamond",peg$c66=peg$literalExpectation("Mdiamond",false),peg$c67="Msquare",peg$c68=peg$literalExpectation("Msquare",false),peg$c69="Mcircle",peg$c70=peg$literalExpectation("Mcircle",false),peg$c71="rectangle",peg$c72=peg$literalExpectation("rectangle",false),peg$c73="rect",peg$c74=peg$literalExpectation("rect",false),peg$c75="square",peg$c76=peg$literalExpectation("square",false),peg$c77="star",peg$c78=peg$literalExpectation("star",false),peg$c79="underline",peg$c80=peg$literalExpectation("underline",false),peg$c81="cylinder",peg$c82=peg$literalExpectation("cylinder",false),peg$c83="note",peg$c84=peg$literalExpectation("note",false),peg$c85="tab",peg$c86=peg$literalExpectation("tab",false),peg$c87="folder",peg$c88=peg$literalExpectation("folder",false),peg$c89="box",peg$c90=peg$literalExpectation("box",false),peg$c91="component",peg$c92=peg$literalExpectation("component",false),peg$c93="promoter",peg$c94=peg$literalExpectation("promoter",false),peg$c95="cds",peg$c96=peg$literalExpectation("cds",false),peg$c97="terminator",peg$c98=peg$literalExpectation("terminator",false),peg$c99="utr",peg$c100=peg$literalExpectation("utr",false),peg$c101="primersite",peg$c102=peg$literalExpectation("primersite",false),peg$c103="restrictionsite",peg$c104=peg$literalExpectation("restrictionsite",false),peg$c105="fivepoverhang",peg$c106=peg$literalExpectation("fivepoverhang",false),peg$c107="threepoverhang",peg$c108=peg$literalExpectation("threepoverhang",false),peg$c109="noverhang",peg$c110=peg$literalExpectation("noverhang",false),peg$c111="assembly",peg$c112=peg$literalExpectation("assembly",false),peg$c113="signature",peg$c114=peg$literalExpectation("signature",false),peg$c115="insulator",peg$c116=peg$literalExpectation("insulator",false),peg$c117="ribosite",peg$c118=peg$literalExpectation("ribosite",false),peg$c119="rnastab",peg$c120=peg$literalExpectation("rnastab",false),peg$c121="proteasesite",peg$c122=peg$literalExpectation("proteasesite",false),peg$c123="proteinstab",peg$c124=peg$literalExpectation("proteinstab",false),peg$c125="rpromoter",peg$c126=peg$literalExpectation("rpromoter",false),peg$c127="rarrow",peg$c128=peg$literalExpectation("rarrow",false),peg$c129="larrow",peg$c130=peg$literalExpectation("larrow",false),peg$c131="lpromoter",peg$c132=peg$literalExpectation("lpromoter",false),peg$c133="record",peg$c134=peg$literalExpectation("record",false),peg$c135=peg$otherExpectation("forward light arrow ->"),peg$c136="->",peg$c137=peg$literalExpectation("->",false),peg$c138="→",peg$c139=peg$literalExpectation("→",false),peg$c140=function(){return"->"},peg$c141=peg$otherExpectation("two way light arrow <->"),peg$c142="<->",peg$c143=peg$literalExpectation("<->",false),peg$c144="↔",peg$c145=peg$literalExpectation("↔",false),peg$c146=function(){return"<->"},peg$c147=peg$otherExpectation("back light arrow <-"),peg$c148="<-",peg$c149=peg$literalExpectation("<-",false),peg$c150="←",peg$c151=peg$literalExpectation("←",false),peg$c152=function(){return"<-"},peg$c153=peg$otherExpectation("forward fat arrow =>"),peg$c154="=>",peg$c155=peg$literalExpectation("=>",false),peg$c156="⇒",peg$c157=peg$literalExpectation("⇒",false),peg$c158=function(){return"=>"},peg$c159=peg$otherExpectation("two way fat arrow <=>"),peg$c160="<=>",peg$c161=peg$literalExpectation("<=>",false),peg$c162="⇔",peg$c163=peg$literalExpectation("⇔",false),peg$c164=function(){return"<=>"},peg$c165=peg$otherExpectation("back fat arrow <="),peg$c166="<=",peg$c167=peg$literalExpectation("<=",false),peg$c168="⇐",peg$c169=peg$literalExpectation("⇐",false),peg$c170=function(){return"<="},peg$c171=peg$otherExpectation("forward tilde arrow ~>"),peg$c172="~>",peg$c173=peg$literalExpectation("~>",false),peg$c174="↛",peg$c175=peg$literalExpectation("↛",false),peg$c176=function(){return"~>"},peg$c177=peg$otherExpectation("two way tilde arrow <~>"),peg$c178="<~>",peg$c179=peg$literalExpectation("<~>",false),peg$c180="↮",peg$c181=peg$literalExpectation("↮",false),peg$c182=function(){return"<~>"},peg$c183=peg$otherExpectation("back tilde arrow <~"),peg$c184="<~",peg$c185=peg$literalExpectation("<~",false),peg$c186="↚",peg$c187=peg$literalExpectation("↚",false),peg$c188=function(){return"<~"},peg$c189=peg$otherExpectation("light fat arrow <-=>"),peg$c190="<-=>",peg$c191=peg$literalExpectation("<-=>",false),peg$c192="←⇒",peg$c193=peg$literalExpectation("←⇒",false),peg$c194=function(){return"<-=>"},peg$c195=peg$otherExpectation("light tilde arrow <-~>"),peg$c196="<-~>",peg$c197=peg$literalExpectation("<-~>",false),peg$c198="←↛",peg$c199=peg$literalExpectation("←↛",false),peg$c200=function(){return"<-~>"},peg$c201=peg$otherExpectation("fat light arrow <=->"),peg$c202="<=->",peg$c203=peg$literalExpectation("<=->",false),peg$c204="⇐→",peg$c205=peg$literalExpectation("⇐→",false),peg$c206=function(){return"<=->"},peg$c207=peg$otherExpectation("fat tilde arrow <=~>"),peg$c208="<=~>",peg$c209=peg$literalExpectation("<=~>",false),peg$c210="⇐↛",peg$c211=peg$literalExpectation("⇐↛",false),peg$c212=function(){return"<=~>"},peg$c213=peg$otherExpectation("tilde light arrow <~->"),peg$c214="<~->",peg$c215=peg$literalExpectation("<~->",false),peg$c216="↚→",peg$c217=peg$literalExpectation("↚→",false),peg$c218=function(){return"<~->"},peg$c219=peg$otherExpectation("tilde fat arrow <~=>"),peg$c220="<~=>",peg$c221=peg$literalExpectation("<~=>",false),peg$c222="↚⇒",peg$c223=peg$literalExpectation("↚⇒",false),peg$c224=function(){return"<~=>"},peg$c225=peg$otherExpectation("light arrow"),peg$c226=peg$otherExpectation("fat arrow"),peg$c227=peg$otherExpectation("tilde arrow"),peg$c228=peg$otherExpectation("mixed arrow"),peg$c229=peg$otherExpectation("arrow"),peg$c230="true",peg$c231=peg$literalExpectation("true",false),peg$c232=function(){return true},peg$c233="false",peg$c234=peg$literalExpectation("false",false),peg$c235=function(){return false},peg$c236="regular",peg$c237=peg$literalExpectation("regular",false),peg$c238="rounded",peg$c239=peg$literalExpectation("rounded",false),peg$c240="lined",peg$c241=peg$literalExpectation("lined",false),peg$c242="solid",peg$c243=peg$literalExpectation("solid",false),peg$c244="dotted",peg$c245=peg$literalExpectation("dotted",false),peg$c246="dashed",peg$c247=peg$literalExpectation("dashed",false),peg$c248='"',peg$c249=peg$literalExpectation('"',false),peg$c250="\\",peg$c251=peg$literalExpectation("\\",false),peg$c252="/",peg$c253=peg$literalExpectation("/",false),peg$c254="b",peg$c255=peg$literalExpectation("b",false),peg$c256=function(){return"\b"},peg$c257="f",peg$c258=peg$literalExpectation("f",false),peg$c259=function(){return"\f"},peg$c260="n",peg$c261=peg$literalExpectation("n",false),peg$c262=function(){return"\n"},peg$c263="r",peg$c264=peg$literalExpectation("r",false),peg$c265=function(){return"\r"},peg$c266="t",peg$c267=peg$literalExpectation("t",false),peg$c268=function(){return"\t"},peg$c269="v",peg$c270=peg$literalExpectation("v",false),peg$c271=function(){return"\v"},peg$c272="u",peg$c273=peg$literalExpectation("u",false),peg$c274=function(digits){return String.fromCharCode(parseInt(digits,16))},peg$c275=function(Sequence){return Sequence},peg$c276="null",peg$c277=peg$literalExpectation("null",false),peg$c278=function(){return null},peg$c279="undefined",peg$c280=peg$literalExpectation("undefined",false),peg$c281=function(){return undefined},peg$c282=/^[\0-!#-[\]-\uFFFF]/,peg$c283=peg$classExpectation([["\0","!"],["#","["],["]","￿"]],false,false),peg$c284="'",peg$c285=peg$literalExpectation("'",false),peg$c286=/^[ -&(-[\]-\uFFFF]/,peg$c287=peg$classExpectation([[" ","&"],["(","["],["]","￿"]],false,false),peg$c288=peg$otherExpectation("action label"),peg$c289=function(chars){return chars.join("")},peg$c290=/^[\n\r\u2028\u2029]/,peg$c291=peg$classExpectation(["\n","\r","\u2028","\u2029"],false,false),peg$c294="*/",peg$c295=peg$literalExpectation("*/",false),peg$c296=peg$anyExpectation(),peg$c297=peg$otherExpectation("block comment"),peg$c298="/*",peg$c299=peg$literalExpectation("/*",false),peg$c300=peg$otherExpectation("line comment"),peg$c301="//",peg$c302=peg$literalExpectation("//",false),peg$c303=peg$otherExpectation("whitespace"),peg$c304=/^[ \t\r\n\x0B]/,peg$c305=peg$classExpectation([" ","\t","\r","\n","\v"],false,false),peg$c306=peg$otherExpectation("string"),peg$c307=/^[0-9a-zA-Z._!$\^*!?,\x80-\uFFFF]/,peg$c308=peg$classExpectation([["0","9"],["a","z"],["A","Z"],".","_","!","$","^","*","!","?",",",["€","￿"]],false,false),peg$c309=/^[0-9a-zA-Z.+_\^()*&$#@!?,\x80-\uFFFF]/,peg$c310=peg$classExpectation([["0","9"],["a","z"],["A","Z"],".","+","_","^","(",")","*","&","$","#","@","!","?",",",["€","￿"]],false,false),peg$c311=peg$otherExpectation("atom"),peg$c312=function(firstletter,text){return firstletter+(text||[]).join("")},peg$c313=peg$otherExpectation("label"),peg$c314="0",peg$c315=peg$literalExpectation("0",false),peg$c316=/^[0-9]/,peg$c317=peg$classExpectation([["0","9"]],false,false),peg$c318=/^[1-9]/,peg$c319=peg$classExpectation([["1","9"]],false,false),peg$c320=/^[0-9a-f]/i,peg$c321=peg$classExpectation([["0","9"],["a","f"]],false,true),peg$c322=/^[0-1]/,peg$c323=peg$classExpectation([["0","1"]],false,false),peg$c324=peg$otherExpectation("nonneg number"),peg$c325=".",peg$c326=peg$literalExpectation(".",false),peg$c327=function(){return parseFloat(text())},peg$c328=peg$otherExpectation("number"),peg$c329=function(literal){return literal},peg$c330="NaN",peg$c331=peg$literalExpectation("NaN",false),peg$c332=function(){return NaN},peg$c333="NegativeInfinity",peg$c334=peg$literalExpectation("NegativeInfinity",false),peg$c335=function(){return Number.NEGATIVE_INFINITY},peg$c336="NegativeInf",peg$c337=peg$literalExpectation("NegativeInf",false),peg$c338="NegInfinity",peg$c339=peg$literalExpectation("NegInfinity",false),peg$c340="NegInf",peg$c341=peg$literalExpectation("NegInf",false),peg$c342="NInfinity",peg$c343=peg$literalExpectation("NInfinity",false),peg$c344="NInf",peg$c345=peg$literalExpectation("NInf",false),peg$c346="-∞",peg$c347=peg$literalExpectation("-∞",false),peg$c348="PInfinity",peg$c349=peg$literalExpectation("PInfinity",false),peg$c350=function(){return Number.POSITIVE_INFINITY},peg$c351="Infinity",peg$c352=peg$literalExpectation("Infinity",false),peg$c353="PInf",peg$c354=peg$literalExpectation("PInf",false),peg$c355="Inf",peg$c356=peg$literalExpectation("Inf",false),peg$c357="∞",peg$c358=peg$literalExpectation("∞",false),peg$c359="Epsilon",peg$c360=peg$literalExpectation("Epsilon",false),peg$c361=function(){return Number.EPSILON},peg$c362="𝜀",peg$c363=peg$literalExpectation("𝜀",false),peg$c364="ε",peg$c365=peg$literalExpectation("ε",false),peg$c366="Pi",peg$c367=peg$literalExpectation("Pi",false),peg$c368=function(){return Math.PI},peg$c369="𝜋",peg$c370=peg$literalExpectation("𝜋",false),peg$c371="π",peg$c372=peg$literalExpectation("π",false),peg$c373="EulerNumber",peg$c374=peg$literalExpectation("EulerNumber",false),peg$c375=function(){return Math.E},peg$c376="E",peg$c377=peg$literalExpectation("E",false),peg$c378="e",peg$c379=peg$literalExpectation("e",false),peg$c380="Ɛ",peg$c381=peg$literalExpectation("Ɛ",false),peg$c382="ℇ",peg$c383=peg$literalExpectation("ℇ",false),peg$c384="Root2",peg$c385=peg$literalExpectation("Root2",false),peg$c386=function(){return Math.SQRT2},peg$c387="RootHalf",peg$c388=peg$literalExpectation("RootHalf",false),peg$c389=function(){return Math.SQRT1_2},peg$c390="Ln2",peg$c391=peg$literalExpectation("Ln2",false),peg$c392=function(){return Math.LN2},peg$c393="NatLog2",peg$c394=peg$literalExpectation("NatLog2",false),peg$c395="Ln10",peg$c396=peg$literalExpectation("Ln10",false),peg$c397=function(){return Math.LN10},peg$c398="NatLog10",peg$c399=peg$literalExpectation("NatLog10",false),peg$c400="Log2E",peg$c401=peg$literalExpectation("Log2E",false),peg$c402=function(){return Math.LOG2E},peg$c403="Log10E",peg$c404=peg$literalExpectation("Log10E",false),peg$c405=function(){return Math.LOG10E},peg$c406="MaxSafeInt",peg$c407=peg$literalExpectation("MaxSafeInt",false),peg$c408=function(){return Number.MAX_SAFE_INTEGER},peg$c409="MinSafeInt",peg$c410=peg$literalExpectation("MinSafeInt",false),peg$c411=function(){return Number.MIN_SAFE_INTEGER},peg$c412="MaxPosNum",peg$c413=peg$literalExpectation("MaxPosNum",false),peg$c414=function(){return Number.MAX_VALUE},peg$c415="MinPosNum",peg$c416=peg$literalExpectation("MinPosNum",false),peg$c417=function(){return Number.MIN_VALUE},peg$c418="Phi",peg$c419=peg$literalExpectation("Phi",false),peg$c420=function(){return 1.618033988749895},peg$c421="𝜑",peg$c422=peg$literalExpectation("𝜑",false),peg$c423="𝜙",peg$c424=peg$literalExpectation("𝜙",false),peg$c425="ϕ",peg$c426=peg$literalExpectation("ϕ",false),peg$c427="φ",peg$c428=peg$literalExpectation("φ",false),peg$c429="EulerConstant",peg$c430=peg$literalExpectation("EulerConstant",false),peg$c431=function(){return.5772156649015329},peg$c432="γ",peg$c433=peg$literalExpectation("γ",false),peg$c434="𝛾",peg$c435=peg$literalExpectation("𝛾",false),peg$c436=peg$literalExpectation("e",true),peg$c437=/^[+\-]/,peg$c438=peg$classExpectation(["+","-"],false,false),peg$c439="0x",peg$c440=peg$literalExpectation("0x",true),peg$c441=function(digits){return parseInt(digits,16)},peg$c442="0b",peg$c443=peg$literalExpectation("0b",true),peg$c444=function(digits){return parseInt(digits,2)},peg$c445="0o",peg$c446=peg$literalExpectation("0o",true),peg$c447=function(digits){return parseInt(digits,8)},peg$c448=function(major,minor,patch){return{major:parseInt(major,10),minor:parseInt(minor,10),patch:parseInt(patch,10),full:text()}},peg$c459="http://",peg$c460=peg$literalExpectation("http://",false),peg$c461="https://",peg$c462=peg$literalExpectation("https://",false),peg$c463=/^[a-zA-Z0-9!*'():;@&=+$,\/?#[\]_.~\-]/,peg$c464=peg$classExpectation([["a","z"],["A","Z"],["0","9"],"!","*","'","(",")",":",";","@","&","=","+","$",",","/","?","#","[","]","_",".","~","-"],false,false),peg$c465=function(protocol){return text()},peg$c466="aliceblue",peg$c467=peg$literalExpectation("aliceblue",false),peg$c468=function(){return"#f0f8ffff"},peg$c469="AliceBlue",peg$c470=peg$literalExpectation("AliceBlue",false),peg$c471="antiquewhite",peg$c472=peg$literalExpectation("antiquewhite",false),peg$c473=function(){return"#faebd7ff"},peg$c474="AntiqueWhite",peg$c475=peg$literalExpectation("AntiqueWhite",false),peg$c476="aquamarine",peg$c477=peg$literalExpectation("aquamarine",false),peg$c478=function(){return"#7fffd4ff"},peg$c479="Aquamarine",peg$c480=peg$literalExpectation("Aquamarine",false),peg$c481="aqua",peg$c482=peg$literalExpectation("aqua",false),peg$c483=function(){return"#00ffffff"},peg$c484="Aqua",peg$c485=peg$literalExpectation("Aqua",false),peg$c486="azure",peg$c487=peg$literalExpectation("azure",false),peg$c488=function(){return"#f0ffffff"},peg$c489="Azure",peg$c490=peg$literalExpectation("Azure",false),peg$c491="beige",peg$c492=peg$literalExpectation("beige",false),peg$c493=function(){return"#f5f5dcff"},peg$c494="Beige",peg$c495=peg$literalExpectation("Beige",false),peg$c496="bisque",peg$c497=peg$literalExpectation("bisque",false),peg$c498=function(){return"#ffe4c4ff"},peg$c499="Bisque",peg$c500=peg$literalExpectation("Bisque",false),peg$c501="black",peg$c502=peg$literalExpectation("black",false),peg$c503=function(){return"#000000ff"},peg$c504="Black",peg$c505=peg$literalExpectation("Black",false),peg$c506="blanchedalmond",peg$c507=peg$literalExpectation("blanchedalmond",false),peg$c508=function(){return"#ffebcdff"},peg$c509="BlanchedAlmond",peg$c510=peg$literalExpectation("BlanchedAlmond",false),peg$c511="blueviolet",peg$c512=peg$literalExpectation("blueviolet",false),peg$c513=function(){return"#8a2be2ff"},peg$c514="BlueViolet",peg$c515=peg$literalExpectation("BlueViolet",false),peg$c516="blue",peg$c517=peg$literalExpectation("blue",false),peg$c518=function(){return"#0000ffff"},peg$c519="Blue",peg$c520=peg$literalExpectation("Blue",false),peg$c521="brown",peg$c522=peg$literalExpectation("brown",false),peg$c523=function(){return"#a52a2aff"},peg$c524="Brown",peg$c525=peg$literalExpectation("Brown",false),peg$c526="burlywood",peg$c527=peg$literalExpectation("burlywood",false),peg$c528=function(){return"#deb887ff"},peg$c529="BurlyWood",peg$c530=peg$literalExpectation("BurlyWood",false),peg$c531="cadetblue",peg$c532=peg$literalExpectation("cadetblue",false),peg$c533=function(){return"#5f9ea0ff"},peg$c534="CadetBlue",peg$c535=peg$literalExpectation("CadetBlue",false),peg$c536="chartreuse",peg$c537=peg$literalExpectation("chartreuse",false),peg$c538=function(){return"#7fff00ff"},peg$c539="Chartreuse",peg$c540=peg$literalExpectation("Chartreuse",false),peg$c541="chocolate",peg$c542=peg$literalExpectation("chocolate",false),peg$c543=function(){return"#d2691eff"},peg$c544="Chocolate",peg$c545=peg$literalExpectation("Chocolate",false),peg$c546="coral",peg$c547=peg$literalExpectation("coral",false),peg$c548=function(){return"#ff7f50ff"},peg$c549="Coral",peg$c550=peg$literalExpectation("Coral",false),peg$c551="cornflowerblue",peg$c552=peg$literalExpectation("cornflowerblue",false),peg$c553=function(){return"#6495edff"},peg$c554="CornflowerBlue",peg$c555=peg$literalExpectation("CornflowerBlue",false),peg$c556="cornsilk",peg$c557=peg$literalExpectation("cornsilk",false),peg$c558=function(){return"#fff8dcff"},peg$c559="Cornsilk",peg$c560=peg$literalExpectation("Cornsilk",false),peg$c561="crimson",peg$c562=peg$literalExpectation("crimson",false),peg$c563=function(){return"#dc143cff"},peg$c564="Crimson",peg$c565=peg$literalExpectation("Crimson",false),peg$c566="cyan",peg$c567=peg$literalExpectation("cyan",false),peg$c568="Cyan",peg$c569=peg$literalExpectation("Cyan",false),peg$c570="darkblue",peg$c571=peg$literalExpectation("darkblue",false),peg$c572=function(){return"#00008bff"},peg$c573="DarkBlue",peg$c574=peg$literalExpectation("DarkBlue",false),peg$c575="darkcyan",peg$c576=peg$literalExpectation("darkcyan",false),peg$c577=function(){return"#008b8bff"},peg$c578="DarkCyan",peg$c579=peg$literalExpectation("DarkCyan",false),peg$c580="darkgoldenrod",peg$c581=peg$literalExpectation("darkgoldenrod",false),peg$c582=function(){return"#b8860bff"},peg$c583="DarkGoldenRod",peg$c584=peg$literalExpectation("DarkGoldenRod",false),peg$c585="darkgray",peg$c586=peg$literalExpectation("darkgray",false),peg$c587=function(){return"#a9a9a9ff"},peg$c588="DarkGray",peg$c589=peg$literalExpectation("DarkGray",false),peg$c590="darkgrey",peg$c591=peg$literalExpectation("darkgrey",false),peg$c592="DarkGrey",peg$c593=peg$literalExpectation("DarkGrey",false),peg$c594="darkgreen",peg$c595=peg$literalExpectation("darkgreen",false),peg$c596=function(){return"#006400ff"},peg$c597="DarkGreen",peg$c598=peg$literalExpectation("DarkGreen",false),peg$c599="darkkhaki",peg$c600=peg$literalExpectation("darkkhaki",false),peg$c601=function(){return"#bdb76bff"},peg$c602="DarkKhaki",peg$c603=peg$literalExpectation("DarkKhaki",false),peg$c604="darkmagenta",peg$c605=peg$literalExpectation("darkmagenta",false),peg$c606=function(){return"#8b008bff"},peg$c607="DarkMagenta",peg$c608=peg$literalExpectation("DarkMagenta",false),peg$c609="darkolivegreen",peg$c610=peg$literalExpectation("darkolivegreen",false),peg$c611=function(){return"#556b2fff"},peg$c612="DarkOliveGreen",peg$c613=peg$literalExpectation("DarkOliveGreen",false),peg$c614="darkorange",peg$c615=peg$literalExpectation("darkorange",false),peg$c616=function(){return"#ff8c00ff"},peg$c617="Darkorange",peg$c618=peg$literalExpectation("Darkorange",false),peg$c619="darkorchid",peg$c620=peg$literalExpectation("darkorchid",false),peg$c621=function(){return"#9932ccff"},peg$c622="DarkOrchid",peg$c623=peg$literalExpectation("DarkOrchid",false),peg$c624="darkred",peg$c625=peg$literalExpectation("darkred",false),peg$c626=function(){return"#8b0000ff"},peg$c627="DarkRed",peg$c628=peg$literalExpectation("DarkRed",false),peg$c629="darksalmon",peg$c630=peg$literalExpectation("darksalmon",false),peg$c631=function(){return"#e9967aff"},peg$c632="DarkSalmon",peg$c633=peg$literalExpectation("DarkSalmon",false),peg$c634="darkseagreen",peg$c635=peg$literalExpectation("darkseagreen",false),peg$c636=function(){return"#8fbc8fff"},peg$c637="DarkSeaGreen",peg$c638=peg$literalExpectation("DarkSeaGreen",false),peg$c639="darkslateblue",peg$c640=peg$literalExpectation("darkslateblue",false),peg$c641=function(){return"#483d8bff"},peg$c642="DarkSlateBlue",peg$c643=peg$literalExpectation("DarkSlateBlue",false),peg$c644="darkslategray",peg$c645=peg$literalExpectation("darkslategray",false),peg$c646=function(){return"#2f4f4fff"},peg$c647="DarkSlateGray",peg$c648=peg$literalExpectation("DarkSlateGray",false),peg$c649="darkslategrey",peg$c650=peg$literalExpectation("darkslategrey",false),peg$c651="DarkSlateGrey",peg$c652=peg$literalExpectation("DarkSlateGrey",false),peg$c653="darkturquoise",peg$c654=peg$literalExpectation("darkturquoise",false),peg$c655=function(){return"#00ced1ff"},peg$c656="DarkTurquoise",peg$c657=peg$literalExpectation("DarkTurquoise",false),peg$c658="darkviolet",peg$c659=peg$literalExpectation("darkviolet",false),peg$c660=function(){return"#9400d3ff"},peg$c661="DarkViolet",peg$c662=peg$literalExpectation("DarkViolet",false),peg$c663="deeppink",peg$c664=peg$literalExpectation("deeppink",false),peg$c665=function(){return"#ff1493ff"},peg$c666="DeepPink",peg$c667=peg$literalExpectation("DeepPink",false),peg$c668="deepskyblue",peg$c669=peg$literalExpectation("deepskyblue",false),peg$c670=function(){return"#00bfffff"},peg$c671="DeepSkyBlue",peg$c672=peg$literalExpectation("DeepSkyBlue",false),peg$c673="dimgray",peg$c674=peg$literalExpectation("dimgray",false),peg$c675=function(){return"#696969ff"},peg$c676="DimGray",peg$c677=peg$literalExpectation("DimGray",false),peg$c678="dimgrey",peg$c679=peg$literalExpectation("dimgrey",false),peg$c680="DimGrey",peg$c681=peg$literalExpectation("DimGrey",false),peg$c682="dodgerblue",peg$c683=peg$literalExpectation("dodgerblue",false),peg$c684=function(){return"#1e90ffff"},peg$c685="DodgerBlue",peg$c686=peg$literalExpectation("DodgerBlue",false),peg$c687="firebrick",peg$c688=peg$literalExpectation("firebrick",false),peg$c689=function(){return"#b22222ff"},peg$c690="FireBrick",peg$c691=peg$literalExpectation("FireBrick",false),peg$c692="floralwhite",peg$c693=peg$literalExpectation("floralwhite",false),peg$c694=function(){return"#fffaf0ff"},peg$c695="FloralWhite",peg$c696=peg$literalExpectation("FloralWhite",false),peg$c697="forestgreen",peg$c698=peg$literalExpectation("forestgreen",false),peg$c699=function(){return"#228b22ff"},peg$c700="ForestGreen",peg$c701=peg$literalExpectation("ForestGreen",false),peg$c702="fuchsia",peg$c703=peg$literalExpectation("fuchsia",false),peg$c704=function(){return"#ff00ffff"},peg$c705="Fuchsia",peg$c706=peg$literalExpectation("Fuchsia",false),peg$c707="gainsboro",peg$c708=peg$literalExpectation("gainsboro",false),peg$c709=function(){return"#dcdcdcff"},peg$c710="Gainsboro",peg$c711=peg$literalExpectation("Gainsboro",false),peg$c712="ghostwhite",peg$c713=peg$literalExpectation("ghostwhite",false),peg$c714=function(){return"#f8f8ffff"},peg$c715="GhostWhite",peg$c716=peg$literalExpectation("GhostWhite",false),peg$c717="goldenrod",peg$c718=peg$literalExpectation("goldenrod",false),peg$c719=function(){return"#daa520ff"},peg$c720="GoldenRod",peg$c721=peg$literalExpectation("GoldenRod",false),peg$c722="gold",peg$c723=peg$literalExpectation("gold",false),peg$c724=function(){return"#ffd700ff"},peg$c725="Gold",peg$c726=peg$literalExpectation("Gold",false),peg$c727="gray",peg$c728=peg$literalExpectation("gray",false),peg$c729=function(){return"#808080ff"},peg$c730="Gray",peg$c731=peg$literalExpectation("Gray",false),peg$c732="grey",peg$c733=peg$literalExpectation("grey",false),peg$c734="Grey",peg$c735=peg$literalExpectation("Grey",false),peg$c736="greenyellow",peg$c737=peg$literalExpectation("greenyellow",false),peg$c738=function(){return"#adff2fff"},peg$c739="GreenYellow",peg$c740=peg$literalExpectation("GreenYellow",false),peg$c741="green",peg$c742=peg$literalExpectation("green",false),peg$c743=function(){return"#008000ff"},peg$c744="Green",peg$c745=peg$literalExpectation("Green",false),peg$c746="honeydew",peg$c747=peg$literalExpectation("honeydew",false),peg$c748=function(){return"#f0fff0ff"},peg$c749="HoneyDew",peg$c750=peg$literalExpectation("HoneyDew",false),peg$c751="hotpink",peg$c752=peg$literalExpectation("hotpink",false),peg$c753=function(){return"#ff69b4ff"},peg$c754="HotPink",peg$c755=peg$literalExpectation("HotPink",false),peg$c756="indianred",peg$c757=peg$literalExpectation("indianred",false),peg$c758=function(){return"#cd5c5cff"},peg$c759="IndianRed",peg$c760=peg$literalExpectation("IndianRed",false),peg$c761="indigo",peg$c762=peg$literalExpectation("indigo",false),peg$c763=function(){return"#4b0082ff"},peg$c764="Indigo",peg$c765=peg$literalExpectation("Indigo",false),peg$c766="ivory",peg$c767=peg$literalExpectation("ivory",false),peg$c768=function(){return"#fffff0ff"},peg$c769="Ivory",peg$c770=peg$literalExpectation("Ivory",false),peg$c771="khaki",peg$c772=peg$literalExpectation("khaki",false),peg$c773=function(){return"#f0e68cff"},peg$c774="Khaki",peg$c775=peg$literalExpectation("Khaki",false),peg$c776="lavenderblush",peg$c777=peg$literalExpectation("lavenderblush",false),peg$c778=function(){return"#fff0f5ff"},peg$c779="LavenderBlush",peg$c780=peg$literalExpectation("LavenderBlush",false),peg$c781="lavender",peg$c782=peg$literalExpectation("lavender",false),peg$c783=function(){return"#e6e6faff"},peg$c784="Lavender",peg$c785=peg$literalExpectation("Lavender",false),peg$c786="lawngreen",peg$c787=peg$literalExpectation("lawngreen",false),peg$c788=function(){return"#7cfc00ff"},peg$c789="LawnGreen",peg$c790=peg$literalExpectation("LawnGreen",false),peg$c791="lemonchiffon",peg$c792=peg$literalExpectation("lemonchiffon",false),peg$c793=function(){return"#fffacdff"},peg$c794="LemonChiffon",peg$c795=peg$literalExpectation("LemonChiffon",false),peg$c796="lightblue",peg$c797=peg$literalExpectation("lightblue",false),peg$c798=function(){return"#add8e6ff"},peg$c799="LightBlue",peg$c800=peg$literalExpectation("LightBlue",false),peg$c801="lightcoral",peg$c802=peg$literalExpectation("lightcoral",false),peg$c803=function(){return"#f08080ff"},peg$c804="LightCoral",peg$c805=peg$literalExpectation("LightCoral",false),peg$c806="lightcyan",peg$c807=peg$literalExpectation("lightcyan",false),peg$c808=function(){return"#e0ffffff"},peg$c809="LightCyan",peg$c810=peg$literalExpectation("LightCyan",false),peg$c811="lightgoldenrodyellow",peg$c812=peg$literalExpectation("lightgoldenrodyellow",false),peg$c813=function(){return"#fafad2ff"},peg$c814="LightGoldenRodYellow",peg$c815=peg$literalExpectation("LightGoldenRodYellow",false),peg$c816="lightgray",peg$c817=peg$literalExpectation("lightgray",false),peg$c818=function(){return"#d3d3d3ff"},peg$c819="LightGray",peg$c820=peg$literalExpectation("LightGray",false),peg$c821="lightgrey",peg$c822=peg$literalExpectation("lightgrey",false),peg$c823="LightGrey",peg$c824=peg$literalExpectation("LightGrey",false),peg$c825="lightgreen",peg$c826=peg$literalExpectation("lightgreen",false),peg$c827=function(){return"#90ee90ff"},peg$c828="LightGreen",peg$c829=peg$literalExpectation("LightGreen",false),peg$c830="lightpink",peg$c831=peg$literalExpectation("lightpink",false),peg$c832=function(){return"#ffb6c1ff"},peg$c833="LightPink",peg$c834=peg$literalExpectation("LightPink",false),peg$c835="lightsalmon",peg$c836=peg$literalExpectation("lightsalmon",false),peg$c837=function(){return"#ffa07aff"},peg$c838="LightSalmon",peg$c839=peg$literalExpectation("LightSalmon",false),peg$c840="lightseagreen",peg$c841=peg$literalExpectation("lightseagreen",false),peg$c842=function(){return"#20b2aaff"},peg$c843="LightSeaGreen",peg$c844=peg$literalExpectation("LightSeaGreen",false),peg$c845="lightskyblue",peg$c846=peg$literalExpectation("lightskyblue",false),peg$c847=function(){return"#87cefaff"},peg$c848="LightSkyBlue",peg$c849=peg$literalExpectation("LightSkyBlue",false),peg$c850="lightslategray",peg$c851=peg$literalExpectation("lightslategray",false),peg$c852=function(){return"#778899ff"},peg$c853="LightSlateGray",peg$c854=peg$literalExpectation("LightSlateGray",false),peg$c855="lightslategrey",peg$c856=peg$literalExpectation("lightslategrey",false),peg$c857="LightSlateGrey",peg$c858=peg$literalExpectation("LightSlateGrey",false),peg$c859="lightsteelblue",peg$c860=peg$literalExpectation("lightsteelblue",false),peg$c861=function(){return"#b0c4deff"},peg$c862="LightSteelBlue",peg$c863=peg$literalExpectation("LightSteelBlue",false),peg$c864="lightyellow",peg$c865=peg$literalExpectation("lightyellow",false),peg$c866=function(){return"#ffffe0ff"},peg$c867="LightYellow",peg$c868=peg$literalExpectation("LightYellow",false),peg$c869="limegreen",peg$c870=peg$literalExpectation("limegreen",false),peg$c871=function(){return"#32cd32ff"},peg$c872="LimeGreen",peg$c873=peg$literalExpectation("LimeGreen",false),peg$c874="lime",peg$c875=peg$literalExpectation("lime",false),peg$c876=function(){return"#00ff00ff"},peg$c877="Lime",peg$c878=peg$literalExpectation("Lime",false),peg$c879="linen",peg$c880=peg$literalExpectation("linen",false),peg$c881=function(){return"#faf0e6ff"},peg$c882="Linen",peg$c883=peg$literalExpectation("Linen",false),peg$c884="magenta",peg$c885=peg$literalExpectation("magenta",false),peg$c886="Magenta",peg$c887=peg$literalExpectation("Magenta",false),peg$c888="maroon",peg$c889=peg$literalExpectation("maroon",false),peg$c890=function(){return"#800000ff"},peg$c891="Maroon",peg$c892=peg$literalExpectation("Maroon",false),peg$c893="mediumaquamarine",peg$c894=peg$literalExpectation("mediumaquamarine",false),peg$c895=function(){return"#66cdaaff"},peg$c896="MediumAquaMarine",peg$c897=peg$literalExpectation("MediumAquaMarine",false),peg$c898="mediumblue",peg$c899=peg$literalExpectation("mediumblue",false),peg$c900=function(){return"#0000cdff"},peg$c901="MediumBlue",peg$c902=peg$literalExpectation("MediumBlue",false),peg$c903="mediumorchid",peg$c904=peg$literalExpectation("mediumorchid",false),peg$c905=function(){return"#ba55d3ff"},peg$c906="MediumOrchid",peg$c907=peg$literalExpectation("MediumOrchid",false),peg$c908="mediumpurple",peg$c909=peg$literalExpectation("mediumpurple",false),peg$c910=function(){return"#9370d8ff"},peg$c911="MediumPurple",peg$c912=peg$literalExpectation("MediumPurple",false),peg$c913="mediumseagreen",peg$c914=peg$literalExpectation("mediumseagreen",false),peg$c915=function(){return"#3cb371ff"},peg$c916="MediumSeaGreen",peg$c917=peg$literalExpectation("MediumSeaGreen",false),peg$c918="mediumslateblue",peg$c919=peg$literalExpectation("mediumslateblue",false),peg$c920=function(){return"#7b68eeff"},peg$c921="MediumSlateBlue",peg$c922=peg$literalExpectation("MediumSlateBlue",false),peg$c923="mediumspringgreen",peg$c924=peg$literalExpectation("mediumspringgreen",false),peg$c925=function(){return"#00fa9aff"},peg$c926="MediumSpringGreen",peg$c927=peg$literalExpectation("MediumSpringGreen",false),peg$c928="mediumturquoise",peg$c929=peg$literalExpectation("mediumturquoise",false),peg$c930=function(){return"#48d1ccff"},peg$c931="MediumTurquoise",peg$c932=peg$literalExpectation("MediumTurquoise",false),peg$c933="mediumvioletred",peg$c934=peg$literalExpectation("mediumvioletred",false),peg$c935=function(){return"#c71585ff"},peg$c936="MediumVioletRed",peg$c937=peg$literalExpectation("MediumVioletRed",false),peg$c938="midnightblue",peg$c939=peg$literalExpectation("midnightblue",false),peg$c940=function(){return"#191970ff"},peg$c941="MidnightBlue",peg$c942=peg$literalExpectation("MidnightBlue",false),peg$c943="mintcream",peg$c944=peg$literalExpectation("mintcream",false),peg$c945=function(){return"#f5fffaff"},peg$c946="MintCream",peg$c947=peg$literalExpectation("MintCream",false),peg$c948="mistyrose",peg$c949=peg$literalExpectation("mistyrose",false),peg$c950=function(){return"#ffe4e1ff"},peg$c951="MistyRose",peg$c952=peg$literalExpectation("MistyRose",false),peg$c953="moccasin",peg$c954=peg$literalExpectation("moccasin",false),peg$c955=function(){return"#ffe4b5ff"},peg$c956="Moccasin",peg$c957=peg$literalExpectation("Moccasin",false),peg$c958="navajowhite",peg$c959=peg$literalExpectation("navajowhite",false),peg$c960=function(){return"#ffdeadff"},peg$c961="NavajoWhite",peg$c962=peg$literalExpectation("NavajoWhite",false),peg$c963="navy",peg$c964=peg$literalExpectation("navy",false),peg$c965=function(){return"#000080ff"},peg$c966="Navy",peg$c967=peg$literalExpectation("Navy",false),peg$c968="oldlace",peg$c969=peg$literalExpectation("oldlace",false),peg$c970=function(){return"#fdf5e6ff"},peg$c971="OldLace",peg$c972=peg$literalExpectation("OldLace",false),peg$c973="olivedrab",peg$c974=peg$literalExpectation("olivedrab",false),peg$c975=function(){return"#6b8e23ff"},peg$c976="OliveDrab",peg$c977=peg$literalExpectation("OliveDrab",false),peg$c978="olive",peg$c979=peg$literalExpectation("olive",false),peg$c980=function(){return"#808000ff"},peg$c981="Olive",peg$c982=peg$literalExpectation("Olive",false),peg$c983="orangered",peg$c984=peg$literalExpectation("orangered",false),peg$c985=function(){return"#ff4500ff"},peg$c986="OrangeRed",peg$c987=peg$literalExpectation("OrangeRed",false),peg$c988="orange",peg$c989=peg$literalExpectation("orange",false),peg$c990=function(){return"#ffa500ff"},peg$c991="Orange",peg$c992=peg$literalExpectation("Orange",false),peg$c993="orchid",peg$c994=peg$literalExpectation("orchid",false),peg$c995=function(){return"#da70d6ff"},peg$c996="Orchid",peg$c997=peg$literalExpectation("Orchid",false),peg$c998="palegoldenrod",peg$c999=peg$literalExpectation("palegoldenrod",false),peg$c1000=function(){return"#eee8aaff"},peg$c1001="PaleGoldenRod",peg$c1002=peg$literalExpectation("PaleGoldenRod",false),peg$c1003="palegreen",peg$c1004=peg$literalExpectation("palegreen",false),peg$c1005=function(){return"#98fb98ff"},peg$c1006="PaleGreen",peg$c1007=peg$literalExpectation("PaleGreen",false),peg$c1008="paleturquoise",peg$c1009=peg$literalExpectation("paleturquoise",false),peg$c1010=function(){return"#afeeeeff"},peg$c1011="PaleTurquoise",peg$c1012=peg$literalExpectation("PaleTurquoise",false),peg$c1013="palevioletred",peg$c1014=peg$literalExpectation("palevioletred",false),peg$c1015=function(){return"#d87093ff"},peg$c1016="PaleVioletRed",peg$c1017=peg$literalExpectation("PaleVioletRed",false),peg$c1018="papayawhip",peg$c1019=peg$literalExpectation("papayawhip",false),peg$c1020=function(){return"#ffefd5ff"},peg$c1021="PapayaWhip",peg$c1022=peg$literalExpectation("PapayaWhip",false),peg$c1023="peachpuff",peg$c1024=peg$literalExpectation("peachpuff",false),peg$c1025=function(){return"#ffdab9ff"},peg$c1026="PeachPuff",peg$c1027=peg$literalExpectation("PeachPuff",false),peg$c1028="peru",peg$c1029=peg$literalExpectation("peru",false),peg$c1030=function(){return"#cd853fff"},peg$c1031="Peru",peg$c1032=peg$literalExpectation("Peru",false),peg$c1033="pink",peg$c1034=peg$literalExpectation("pink",false),peg$c1035=function(){return"#ffc0cbff"},peg$c1036="Pink",peg$c1037=peg$literalExpectation("Pink",false),peg$c1038="plum",peg$c1039=peg$literalExpectation("plum",false),peg$c1040=function(){return"#dda0ddff"},peg$c1041="Plum",peg$c1042=peg$literalExpectation("Plum",false),peg$c1043="powderblue",peg$c1044=peg$literalExpectation("powderblue",false),peg$c1045=function(){return"#b0e0e6ff"},peg$c1046="PowderBlue",peg$c1047=peg$literalExpectation("PowderBlue",false),peg$c1048="purple",peg$c1049=peg$literalExpectation("purple",false),peg$c1050=function(){return"#800080ff"},peg$c1051="Purple",peg$c1052=peg$literalExpectation("Purple",false),peg$c1053="red",peg$c1054=peg$literalExpectation("red",false),peg$c1055=function(){return"#ff0000ff"},peg$c1056="Red",peg$c1057=peg$literalExpectation("Red",false),peg$c1058="rosybrown",peg$c1059=peg$literalExpectation("rosybrown",false),peg$c1060=function(){return"#bc8f8fff"},peg$c1061="RosyBrown",peg$c1062=peg$literalExpectation("RosyBrown",false),peg$c1063="royalblue",peg$c1064=peg$literalExpectation("royalblue",false),peg$c1065=function(){return"#4169e1ff"},peg$c1066="RoyalBlue",peg$c1067=peg$literalExpectation("RoyalBlue",false),peg$c1068="saddlebrown",peg$c1069=peg$literalExpectation("saddlebrown",false),peg$c1070=function(){return"#8b4513ff"},peg$c1071="SaddleBrown",peg$c1072=peg$literalExpectation("SaddleBrown",false),peg$c1073="salmon",peg$c1074=peg$literalExpectation("salmon",false),peg$c1075=function(){return"#fa8072ff"},peg$c1076="Salmon",peg$c1077=peg$literalExpectation("Salmon",false),peg$c1078="sandybrown",peg$c1079=peg$literalExpectation("sandybrown",false),peg$c1080=function(){return"#f4a460ff"},peg$c1081="SandyBrown",peg$c1082=peg$literalExpectation("SandyBrown",false),peg$c1083="seagreen",peg$c1084=peg$literalExpectation("seagreen",false),peg$c1085=function(){return"#2e8b57ff"},peg$c1086="SeaGreen",peg$c1087=peg$literalExpectation("SeaGreen",false),peg$c1088="seashell",peg$c1089=peg$literalExpectation("seashell",false),peg$c1090=function(){return"#fff5eeff"},peg$c1091="SeaShell",peg$c1092=peg$literalExpectation("SeaShell",false),peg$c1093="sienna",peg$c1094=peg$literalExpectation("sienna",false),peg$c1095=function(){return"#a0522dff"},peg$c1096="Sienna",peg$c1097=peg$literalExpectation("Sienna",false),peg$c1098="silver",peg$c1099=peg$literalExpectation("silver",false),peg$c1100=function(){return"#c0c0c0ff"},peg$c1101="Silver",peg$c1102=peg$literalExpectation("Silver",false),peg$c1103="skyblue",peg$c1104=peg$literalExpectation("skyblue",false),peg$c1105=function(){return"#87ceebff"},peg$c1106="SkyBlue",peg$c1107=peg$literalExpectation("SkyBlue",false),peg$c1108="slateblue",peg$c1109=peg$literalExpectation("slateblue",false),peg$c1110=function(){return"#6a5acdff"},peg$c1111="SlateBlue",peg$c1112=peg$literalExpectation("SlateBlue",false),peg$c1113="slategray",peg$c1114=peg$literalExpectation("slategray",false),peg$c1115=function(){return"#708090ff"},peg$c1116="SlateGray",peg$c1117=peg$literalExpectation("SlateGray",false),peg$c1118="slategrey",peg$c1119=peg$literalExpectation("slategrey",false),peg$c1120="SlateGrey",peg$c1121=peg$literalExpectation("SlateGrey",false),peg$c1122="snow",peg$c1123=peg$literalExpectation("snow",false),peg$c1124=function(){return"#fffafaff"},peg$c1125="Snow",peg$c1126=peg$literalExpectation("Snow",false),peg$c1127="springgreen",peg$c1128=peg$literalExpectation("springgreen",false),peg$c1129=function(){return"#00ff7fff"},peg$c1130="SpringGreen",peg$c1131=peg$literalExpectation("SpringGreen",false),peg$c1132="steelblue",peg$c1133=peg$literalExpectation("steelblue",false),peg$c1134=function(){return"#4682b4ff"},peg$c1135="SteelBlue",peg$c1136=peg$literalExpectation("SteelBlue",false),peg$c1137="tan",peg$c1138=peg$literalExpectation("tan",false),peg$c1139=function(){return"#d2b48cff"},peg$c1140="Tan",peg$c1141=peg$literalExpectation("Tan",false),peg$c1142="teal",peg$c1143=peg$literalExpectation("teal",false),peg$c1144=function(){return"#008080ff"},peg$c1145="Teal",peg$c1146=peg$literalExpectation("Teal",false),peg$c1147="thistle",peg$c1148=peg$literalExpectation("thistle",false),peg$c1149=function(){return"#d8bfd8ff"},peg$c1150="Thistle",peg$c1151=peg$literalExpectation("Thistle",false),peg$c1152="tomato",peg$c1153=peg$literalExpectation("tomato",false),peg$c1154=function(){return"#ff6347ff"},peg$c1155="Tomato",peg$c1156=peg$literalExpectation("Tomato",false),peg$c1157="turquoise",peg$c1158=peg$literalExpectation("turquoise",false),peg$c1159=function(){return"#40e0d0ff"},peg$c1160="Turquoise",peg$c1161=peg$literalExpectation("Turquoise",false),peg$c1162="violet",peg$c1163=peg$literalExpectation("violet",false),peg$c1164=function(){return"#ee82eeff"},peg$c1165="Violet",peg$c1166=peg$literalExpectation("Violet",false),peg$c1167="wheat",peg$c1168=peg$literalExpectation("wheat",false),peg$c1169=function(){return"#f5deb3ff"},peg$c1170="Wheat",peg$c1171=peg$literalExpectation("Wheat",false),peg$c1172="whitesmoke",peg$c1173=peg$literalExpectation("whitesmoke",false),peg$c1174=function(){return"#f5f5f5ff"},peg$c1175="WhiteSmoke",peg$c1176=peg$literalExpectation("WhiteSmoke",false),peg$c1177="white",peg$c1178=peg$literalExpectation("white",false),peg$c1179=function(){return"#ffffffff"},peg$c1180="White",peg$c1181=peg$literalExpectation("White",false),peg$c1182="yellowgreen",peg$c1183=peg$literalExpectation("yellowgreen",false),peg$c1184=function(){return"#9acd32ff"},peg$c1185="YellowGreen",peg$c1186=peg$literalExpectation("YellowGreen",false),peg$c1187="yellow",peg$c1188=peg$literalExpectation("yellow",false),peg$c1189=function(){return"#ffff00ff"},peg$c1190="Yellow",peg$c1191=peg$literalExpectation("Yellow",false),peg$c1192=function(lab){return lab},peg$c1193="#",peg$c1194=peg$literalExpectation("#",false),peg$c1195=function(r,g,b){return`#${r}${r}${g}${g}${b}${b}ff`},peg$c1196=function(r1,r2,g1,g2,b1,b2){return`#${r1}${r2}${g1}${g2}${b1}${b2}ff`},peg$c1197=function(r,g,b,a){return`#${r}${r}${g}${g}${b}${b}${a}${a}`},peg$c1198=function(r1,r2,g1,g2,b1,b2,a1,a2){return`#${r1}${r2}${g1}${g2}${b1}${b2}${a1}${a2}`},peg$c1199=peg$otherExpectation("color"),peg$c1200="arc_label",peg$c1201=peg$literalExpectation("arc_label",false),peg$c1202="head_label",peg$c1203=peg$literalExpectation("head_label",false),peg$c1204="tail_label",peg$c1205=peg$literalExpectation("tail_label",false),peg$c1206=":",peg$c1207=peg$literalExpectation(":",false),peg$c1208=";",peg$c1209=peg$literalExpectation(";",false),peg$c1210=function(key,value){return{key:key,value:value}},peg$c1211=peg$otherExpectation("single edge color"),peg$c1212="edge_color",peg$c1213=peg$literalExpectation("edge_color",false),peg$c1214=function(value){return{key:"single_edge_color",value:value}},peg$c1215=peg$otherExpectation("transition line style"),peg$c1216="line-style",peg$c1217=peg$literalExpectation("line-style",false),peg$c1218=function(value){return{key:"transition_line_style",value:value}},peg$c1219="{",peg$c1220=peg$literalExpectation("{",false),peg$c1221="}",peg$c1222=peg$literalExpectation("}",false),peg$c1223=function(items){return items},peg$c1224="%",peg$c1225=peg$literalExpectation("%",false),peg$c1226=function(value){return{key:"arrow probability",value:value}},peg$c1227=function(names){return names.map((i=>i[0]))},peg$c1228="+|",peg$c1229=peg$literalExpectation("+|",false),peg$c1230=function(nzd,dd){return{key:"stripe",value:parseInt(`${nzd}${dd}`,10)}},peg$c1231="-|",peg$c1232=peg$literalExpectation("-|",false),peg$c1233=function(nzd,dd){return{key:"stripe",value:-1*parseInt(`${nzd}${dd}`,10)}},peg$c1234="+",peg$c1235=peg$literalExpectation("+",false),peg$c1236=function(nzd,dd){return{key:"cycle",value:parseInt(`${nzd}${dd}`,10)}},peg$c1237="-",peg$c1238=peg$literalExpectation("-",false),peg$c1239=function(nzd,dd){return{key:"cycle",value:-1*parseInt(`${nzd}${dd}`,10)}},peg$c1240="+0",peg$c1241=peg$literalExpectation("+0",false),peg$c1242=function(){return{key:"cycle",value:0}},peg$c1243=function(r_action,r_prob,l_desc,arrow,r_desc,l_prob,l_action,label,tail){const base={kind:arrow,to:label};if(tail&&tail!==[]){base.se=tail}if(l_desc){base.l_desc=l_desc}if(r_desc){base.r_desc=r_desc}if(l_action){base.l_action=l_action}if(r_action){base.r_action=r_action}if(l_prob){base.l_probability=l_prob.value}if(r_prob){base.r_probability=r_prob.value}return base},peg$c1244=function(label,se){const base={key:"transition",from:label};if(se&&se!==[]){base.se=se}return base},peg$c1245="whargarbl",peg$c1246=peg$literalExpectation("whargarbl",false),peg$c1247="todo",peg$c1248=peg$literalExpectation("todo",false),peg$c1249=function(validationkey,value){return{key:validationkey,value:value}},peg$c1250="validation",peg$c1251=peg$literalExpectation("validation",false),peg$c1252="};",peg$c1253=peg$literalExpectation("};",false),peg$c1254=function(validation_items){return{config_kind:"validation",config_items:validation_items||[]}},peg$c1255="dot",peg$c1256=peg$literalExpectation("dot",false),peg$c1257="circo",peg$c1258=peg$literalExpectation("circo",false),peg$c1259="fdp",peg$c1260=peg$literalExpectation("fdp",false),peg$c1261="neato",peg$c1262=peg$literalExpectation("neato",false),peg$c1263="state",peg$c1264=peg$literalExpectation("state",false),peg$c1265=function(state_items){return{key:"default_state_config",value:state_items||[]}},peg$c1266="start_state",peg$c1267=peg$literalExpectation("start_state",false),peg$c1268=function(state_items){return{key:"default_start_state_config",value:state_items||[]}},peg$c1269="end_state",peg$c1270=peg$literalExpectation("end_state",false),peg$c1271=function(state_items){return{key:"default_end_state_config",value:state_items||[]}},peg$c1272="active_state",peg$c1273=peg$literalExpectation("active_state",false),peg$c1274=function(state_items){return{key:"default_active_state_config",value:state_items||[]}},peg$c1275="terminal_state",peg$c1276=peg$literalExpectation("terminal_state",false),peg$c1277=function(state_items){return{key:"default_terminal_state_config",value:state_items||[]}},peg$c1278="hooked_state",peg$c1279=peg$literalExpectation("hooked_state",false),peg$c1280=function(state_items){return{key:"default_hooked_state_config",value:state_items||[]}},peg$c1281=function(actionkey,value){return{key:actionkey,value:value}},peg$c1282="action",peg$c1283=peg$literalExpectation("action",false),peg$c1284=function(action_items){return{config_kind:"action",config_items:action_items||[]}},peg$c1285=function(key,value){return{key:key,value:value}},peg$c1286=peg$otherExpectation("graph default edge color"),peg$c1287=function(value){return{key:"graph_default_edge_color",value:value}},peg$c1288="transition",peg$c1289=peg$literalExpectation("transition",false),peg$c1290=function(transition_items){return{config_kind:"transition",config_items:transition_items||[]}},peg$c1291="graph_layout",peg$c1292=peg$literalExpectation("graph_layout",false),peg$c1293=function(value){return{key:"graph_layout",value:value}},peg$c1294="start_states",peg$c1295=peg$literalExpectation("start_states",false),peg$c1296=function(value){return{key:"start_states",value:value}},peg$c1297="end_states",peg$c1298=peg$literalExpectation("end_states",false),peg$c1299=function(value){return{key:"end_states",value:value}},peg$c1300="graph_bg_color",peg$c1301=peg$literalExpectation("graph_bg_color",false),peg$c1302=function(value){return{key:"graph_bg_color",value:value}},peg$c1303=peg$otherExpectation("configuration"),peg$c1304="MIT",peg$c1305=peg$literalExpectation("MIT",false),peg$c1306="BSD 2-clause",peg$c1307=peg$literalExpectation("BSD 2-clause",false),peg$c1308="BSD 3-clause",peg$c1309=peg$literalExpectation("BSD 3-clause",false),peg$c1310="Apache 2.0",peg$c1311=peg$literalExpectation("Apache 2.0",false),peg$c1312="Mozilla 2.0",peg$c1313=peg$literalExpectation("Mozilla 2.0",false),peg$c1314="Public domain",peg$c1315=peg$literalExpectation("Public domain",false),peg$c1316="GPL v2",peg$c1317=peg$literalExpectation("GPL v2",false),peg$c1318="GPL v3",peg$c1319=peg$literalExpectation("GPL v3",false),peg$c1320="LGPL v2.1",peg$c1321=peg$literalExpectation("LGPL v2.1",false),peg$c1322="LGPL v3.0",peg$c1323=peg$literalExpectation("LGPL v3.0",false),peg$c1324="Unknown",peg$c1325=peg$literalExpectation("Unknown",false),peg$c1326=peg$otherExpectation("direction"),peg$c1327="up",peg$c1328=peg$literalExpectation("up",false),peg$c1329="right",peg$c1330=peg$literalExpectation("right",false),peg$c1331="down",peg$c1332=peg$literalExpectation("down",false),peg$c1333="left",peg$c1334=peg$literalExpectation("left",false),peg$c1335=peg$otherExpectation("hook definition (open/closed)"),peg$c1336="open",peg$c1337=peg$literalExpectation("open",false),peg$c1338="closed",peg$c1339=peg$literalExpectation("closed",false),peg$c1340="machine_author",peg$c1341=peg$literalExpectation("machine_author",false),peg$c1342=function(value){return{key:"machine_author",value:value}},peg$c1343="machine_contributor",peg$c1344=peg$literalExpectation("machine_contributor",false),peg$c1345=function(value){return{key:"machine_contributor",value:value}},peg$c1346="machine_comment",peg$c1347=peg$literalExpectation("machine_comment",false),peg$c1348=function(value){return{key:"machine_comment",value:value}},peg$c1349="machine_definition",peg$c1350=peg$literalExpectation("machine_definition",false),peg$c1351=function(value){return{key:"machine_definition",value:value}},peg$c1352="machine_name",peg$c1353=peg$literalExpectation("machine_name",false),peg$c1354=function(value){return{key:"machine_name",value:value}},peg$c1358="machine_version",peg$c1359=peg$literalExpectation("machine_version",false),peg$c1360=function(value){return{key:"machine_version",value:value}},peg$c1361="machine_license",peg$c1362=peg$literalExpectation("machine_license",false),peg$c1363=function(value){return{key:"machine_license",value:value}},peg$c1364="machine_language",peg$c1365=peg$literalExpectation("machine_language",false),peg$c1366=function(value){return{key:"machine_language",value:value}},peg$c1367="fsl_version",peg$c1368=peg$literalExpectation("fsl_version",false),peg$c1369=function(value){return{key:"fsl_version",value:value}},peg$c1370="theme",peg$c1371=peg$literalExpectation("theme",false),peg$c1372=function(value){return{key:"theme",value:value}},peg$c1373="flow",peg$c1374=peg$literalExpectation("flow",false),peg$c1375=function(value){return{key:"flow",value:value}},peg$c1376="hooks",peg$c1377=peg$literalExpectation("hooks",false),peg$c1378=function(value){return{key:"hook_definition",value:value}},peg$c1379="dot_preamble",peg$c1380=peg$literalExpectation("dot_preamble",false),peg$c1381=function(value){return{key:"dot_preamble",value:value}},peg$c1382=peg$otherExpectation("machine attribute"),peg$c1383="label",peg$c1384=peg$literalExpectation("label",false),peg$c1385=function(value){return{key:"state-label",value:value}},peg$c1386="color",peg$c1387=peg$literalExpectation("color",false),peg$c1388=function(value){return{key:"color",value:value}},peg$c1389=peg$otherExpectation("text color"),peg$c1390="text-color",peg$c1391=peg$literalExpectation("text-color",false),peg$c1392=function(value){return{key:"text-color",value:value}},peg$c1393=peg$otherExpectation("background color"),peg$c1394="background-color",peg$c1395=peg$literalExpectation("background-color",false),peg$c1396=function(value){return{key:"background-color",value:value}},peg$c1397=peg$otherExpectation("border color"),peg$c1398="border-color",peg$c1399=peg$literalExpectation("border-color",false),peg$c1400=function(value){return{key:"border-color",value:value}},peg$c1401=peg$otherExpectation("shape"),peg$c1402="shape",peg$c1403=peg$literalExpectation("shape",false),peg$c1404=function(value){return{key:"shape",value:value}},peg$c1405=peg$otherExpectation("corners"),peg$c1406="corners",peg$c1407=peg$literalExpectation("corners",false),peg$c1408=function(value){return{key:"corners",value:value}},peg$c1409=peg$otherExpectation("linestyle"),peg$c1410=function(value){return{key:"line-style",value:value}},peg$c1411="linestyle",peg$c1412=peg$literalExpectation("linestyle",false),peg$c1413=peg$otherExpectation("state property"),peg$c1414="property",peg$c1415=peg$literalExpectation("property",false),peg$c1416=function(name,value){return{key:"state_property",name:name,value:value}},peg$c1417="required",peg$c1418=peg$literalExpectation("required",false),peg$c1419=function(name,value){return{key:"state_property",name:name,value:value,required:true}},peg$c1420=function(name,value){return{key:"state_declaration",name:name,value:value}},peg$c1421="&",peg$c1422=peg$literalExpectation("&",false),peg$c1423=function(name,value){return{key:"named_list",name:name,value:value}},peg$c1424=function(name,default_value){return{key:"property_definition",name:name,default_value:default_value,required:true}},peg$c1425=function(name){return{key:"property_definition",name:name,required:true}},peg$c1426=function(name,default_value){return{key:"property_definition",name:name,default_value:default_value}},peg$c1427=function(name){return{key:"property_definition",name:name}},peg$c1428="arrange",peg$c1429=peg$literalExpectation("arrange",false),peg$c1430=function(value){return{key:"arrange_declaration",value:value}},peg$c1431="arrange-start",peg$c1432=peg$literalExpectation("arrange-start",false),peg$c1433=function(value){return{key:"arrange_start_declaration",value:value}},peg$c1434="arrange-end",peg$c1435=peg$literalExpectation("arrange-end",false),peg$c1436=function(value){return{key:"arrange_end_declaration",value:value}},peg$c1437=peg$otherExpectation("arrange declaration"),peg$currPos=0,peg$savedPos=0,peg$posDetailsCache=[{line:1,column:1}],peg$maxFailPos=0,peg$maxFailExpected=[],peg$silentFails=0,peg$result;if("startRule"in options){if(!(options.startRule in peg$startRuleFunctions)){throw new Error("Can't start parsing from rule \""+options.startRule+'".')}peg$startRuleFunction=peg$startRuleFunctions[options.startRule]}function text(){return input.substring(peg$savedPos,peg$currPos)}function peg$literalExpectation(text,ignoreCase){return{type:"literal",text:text,ignoreCase:ignoreCase}}function peg$classExpectation(parts,inverted,ignoreCase){return{type:"class",parts:parts,inverted:inverted,ignoreCase:ignoreCase}}function peg$anyExpectation(){return{type:"any"}}function peg$endExpectation(){return{type:"end"}}function peg$otherExpectation(description){return{type:"other",description:description}}function peg$computePosDetails(pos){var details=peg$posDetailsCache[pos],p;if(details){return details}else{p=pos-1;while(!peg$posDetailsCache[p]){p--}details=peg$posDetailsCache[p];details={line:details.line,column:details.column};while(ppeg$maxFailPos){peg$maxFailPos=peg$currPos;peg$maxFailExpected=[]}peg$maxFailExpected.push(expected)}function peg$buildStructuredError(expected,found,location){return new peg$SyntaxError(peg$SyntaxError.buildMessage(expected,found),expected,found,location)}function peg$parseDocument(){var s0,s1,s2,s3;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseTermList();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c0(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTheme(){var s0;if(input.substr(peg$currPos,4)===peg$c1){s0=peg$c1;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c2)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c3){s0=peg$c3;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c4)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c5){s0=peg$c5;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c6)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c7){s0=peg$c7;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c8)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c9){s0=peg$c9;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c10)}}}}}}return s0}function peg$parseThemeOrThemeList(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===91){s1=peg$c11;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c12)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$currPos;s5=peg$parseTheme();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}while(s4!==peg$FAILED){s3.push(s4);s4=peg$currPos;s5=peg$parseTheme();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}}if(s3!==peg$FAILED){s4=peg$parseTheme();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===93){s5=peg$c13;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c14)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c15(s3,s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseTheme();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c16(s1)}s0=s1}return s0}function peg$parseGvizShape(){var s0;if(input.substr(peg$currPos,5)===peg$c17){s0=peg$c17;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c18)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c19){s0=peg$c19;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c20)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c21){s0=peg$c21;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c22)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c23){s0=peg$c23;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c24)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c25){s0=peg$c25;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c26)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c27){s0=peg$c27;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c28)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c29){s0=peg$c29;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c30)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c31){s0=peg$c31;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c32)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c33){s0=peg$c33;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c34)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c35){s0=peg$c35;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c36)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c37){s0=peg$c37;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c38)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c39){s0=peg$c39;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c40)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c41){s0=peg$c41;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c42)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c43){s0=peg$c43;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c44)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c45){s0=peg$c45;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c46)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c47){s0=peg$c47;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c48)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c49){s0=peg$c49;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c50)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c51){s0=peg$c51;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c52)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c53){s0=peg$c53;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c54)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c55){s0=peg$c55;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c56)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c57){s0=peg$c57;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c58)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c59){s0=peg$c59;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c60)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c61){s0=peg$c61;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c62)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c63){s0=peg$c63;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c64)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c65){s0=peg$c65;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c66)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c67){s0=peg$c67;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c68)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c69){s0=peg$c69;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c70)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c71){s0=peg$c71;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c72)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c73){s0=peg$c73;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c74)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c75){s0=peg$c75;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c76)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c77){s0=peg$c77;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c78)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1){s0=peg$c1;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c2)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c79){s0=peg$c79;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c80)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c81){s0=peg$c81;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c82)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c83){s0=peg$c83;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c84)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c85){s0=peg$c85;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c86)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c87){s0=peg$c87;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c88)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c89){s0=peg$c89;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c90)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c91){s0=peg$c91;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c92)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c93){s0=peg$c93;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c94)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c95){s0=peg$c95;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c96)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c97){s0=peg$c97;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c98)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c99){s0=peg$c99;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c100)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c101){s0=peg$c101;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c102)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,15)===peg$c103){s0=peg$c103;peg$currPos+=15}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c104)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c105){s0=peg$c105;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c106)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,14)===peg$c107){s0=peg$c107;peg$currPos+=14}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c108)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c109){s0=peg$c109;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c110)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c111){s0=peg$c111;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c112)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c113){s0=peg$c113;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c114)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c115){s0=peg$c115;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c116)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c117){s0=peg$c117;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c118)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c119){s0=peg$c119;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c120)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c121){s0=peg$c121;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c122)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c123){s0=peg$c123;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c124)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c125){s0=peg$c125;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c126)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c127){s0=peg$c127;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c128)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c129){s0=peg$c129;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c130)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c131){s0=peg$c131;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c132)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c133){s0=peg$c133;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c134)}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}return s0}function peg$parseForwardLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c136){s0=peg$c136;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c137)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8594){s1=peg$c138;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c139)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c140()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c135)}}return s0}function peg$parseTwoWayLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c142){s0=peg$c142;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c143)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8596){s1=peg$c144;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c145)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c146()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c141)}}return s0}function peg$parseBackLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c148){s0=peg$c148;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c149)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8592){s1=peg$c150;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c151)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c152()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c147)}}return s0}function peg$parseForwardFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c154){s0=peg$c154;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c155)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8658){s1=peg$c156;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c157)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c158()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c153)}}return s0}function peg$parseTwoWayFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c160){s0=peg$c160;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c161)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8660){s1=peg$c162;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c163)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c164()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c159)}}return s0}function peg$parseBackFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c166){s0=peg$c166;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c167)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8656){s1=peg$c168;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c169)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c170()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c165)}}return s0}function peg$parseForwardTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c172){s0=peg$c172;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c173)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8603){s1=peg$c174;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c175)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c176()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c171)}}return s0}function peg$parseTwoWayTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c178){s0=peg$c178;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c179)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8622){s1=peg$c180;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c181)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c182()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c177)}}return s0}function peg$parseBackTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c184){s0=peg$c184;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c185)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8602){s1=peg$c186;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c187)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c188()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c183)}}return s0}function peg$parseLightFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c190){s0=peg$c190;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c191)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c192){s1=peg$c192;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c193)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c194()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c189)}}return s0}function peg$parseLightTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c196){s0=peg$c196;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c197)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c198){s1=peg$c198;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c199)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c200()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c195)}}return s0}function peg$parseFatLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c202){s0=peg$c202;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c203)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c204){s1=peg$c204;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c205)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c206()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c201)}}return s0}function peg$parseFatTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c208){s0=peg$c208;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c209)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c210){s1=peg$c210;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c211)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c212()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c207)}}return s0}function peg$parseTildeLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c214){s0=peg$c214;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c215)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c216){s1=peg$c216;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c217)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c218()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c213)}}return s0}function peg$parseTildeFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c220){s0=peg$c220;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c221)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c222){s1=peg$c222;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c223)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c224()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c219)}}return s0}function peg$parseLightArrow(){var s0;peg$silentFails++;s0=peg$parseForwardLightArrow();if(s0===peg$FAILED){s0=peg$parseTwoWayLightArrow();if(s0===peg$FAILED){s0=peg$parseBackLightArrow()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c225)}}return s0}function peg$parseFatArrow(){var s0;peg$silentFails++;s0=peg$parseForwardFatArrow();if(s0===peg$FAILED){s0=peg$parseTwoWayFatArrow();if(s0===peg$FAILED){s0=peg$parseBackFatArrow()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c226)}}return s0}function peg$parseTildeArrow(){var s0;peg$silentFails++;s0=peg$parseForwardTildeArrow();if(s0===peg$FAILED){s0=peg$parseTwoWayTildeArrow();if(s0===peg$FAILED){s0=peg$parseBackTildeArrow()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c227)}}return s0}function peg$parseMixedArrow(){var s0;peg$silentFails++;s0=peg$parseLightFatArrow();if(s0===peg$FAILED){s0=peg$parseLightTildeArrow();if(s0===peg$FAILED){s0=peg$parseFatLightArrow();if(s0===peg$FAILED){s0=peg$parseFatTildeArrow();if(s0===peg$FAILED){s0=peg$parseTildeLightArrow();if(s0===peg$FAILED){s0=peg$parseTildeFatArrow()}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c228)}}return s0}function peg$parseArrow(){var s0;peg$silentFails++;s0=peg$parseMixedArrow();if(s0===peg$FAILED){s0=peg$parseLightArrow();if(s0===peg$FAILED){s0=peg$parseFatArrow();if(s0===peg$FAILED){s0=peg$parseTildeArrow()}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c229)}}return s0}function peg$parseBoolean(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c230){s1=peg$c230;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c231)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c232()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c233){s1=peg$c233;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c234)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c235()}s0=s1}return s0}function peg$parseCorners(){var s0;if(input.substr(peg$currPos,7)===peg$c236){s0=peg$c236;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c237)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c238){s0=peg$c238;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c239)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c240){s0=peg$c240;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c241)}}}}return s0}function peg$parseLineStyle(){var s0;if(input.substr(peg$currPos,5)===peg$c242){s0=peg$c242;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c243)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c244){s0=peg$c244;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c245)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c246){s0=peg$c246;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c247)}}}}return s0}function peg$parseChar(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$parseUnescaped();if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseEscape();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===34){s2=peg$c248;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c249)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===92){s2=peg$c250;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c251)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===47){s2=peg$c252;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c253)}}if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===98){s3=peg$c254;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c255)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c256()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===102){s3=peg$c257;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c258)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c259()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===110){s3=peg$c260;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c261)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c262()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===114){s3=peg$c263;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c264)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c265()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===116){s3=peg$c266;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c267)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c268()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===118){s3=peg$c269;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c270)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c271()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===117){s3=peg$c272;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c273)}}if(s3!==peg$FAILED){s4=peg$currPos;s5=peg$currPos;s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseHexDigit();if(s8!==peg$FAILED){s9=peg$parseHexDigit();if(s9!==peg$FAILED){s6=[s6,s7,s8,s9];s5=s6}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}if(s5!==peg$FAILED){s4=input.substring(s4,peg$currPos)}else{s4=s5}if(s4!==peg$FAILED){peg$savedPos=s2;s3=peg$c274(s4);s2=s3}else{peg$currPos=s2;s2=peg$FAILED}}else{peg$currPos=s2;s2=peg$FAILED}}}}}}}}}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c275(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseNull(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c276){s1=peg$c276;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c277)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c278()}s0=s1;return s0}function peg$parseUndefined(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c279){s1=peg$c279;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c280)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c281()}s0=s1;return s0}function peg$parseEscape(){var s0;if(input.charCodeAt(peg$currPos)===92){s0=peg$c250;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c251)}}return s0}function peg$parseQuoteMark(){var s0;if(input.charCodeAt(peg$currPos)===34){s0=peg$c248;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c249)}}return s0}function peg$parseUnescaped(){var s0;if(peg$c282.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c283)}}return s0}function peg$parseActionLabelChar(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$parseActionLabelUnescaped();if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseEscape();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===39){s2=peg$c284;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c285)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===92){s2=peg$c250;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c251)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===47){s2=peg$c252;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c253)}}if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===98){s3=peg$c254;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c255)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c256()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===102){s3=peg$c257;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c258)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c259()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===110){s3=peg$c260;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c261)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c262()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===114){s3=peg$c263;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c264)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c265()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===116){s3=peg$c266;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c267)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c268()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===118){s3=peg$c269;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c270)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c271()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===117){s3=peg$c272;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c273)}}if(s3!==peg$FAILED){s4=peg$currPos;s5=peg$currPos;s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseHexDigit();if(s8!==peg$FAILED){s9=peg$parseHexDigit();if(s9!==peg$FAILED){s6=[s6,s7,s8,s9];s5=s6}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}if(s5!==peg$FAILED){s4=input.substring(s4,peg$currPos)}else{s4=s5}if(s4!==peg$FAILED){peg$savedPos=s2;s3=peg$c274(s4);s2=s3}else{peg$currPos=s2;s2=peg$FAILED}}else{peg$currPos=s2;s2=peg$FAILED}}}}}}}}}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c275(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseActionLabelQuoteMark(){var s0;if(input.charCodeAt(peg$currPos)===39){s0=peg$c284;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c285)}}return s0}function peg$parseActionLabelUnescaped(){var s0;if(peg$c286.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c287)}}return s0}function peg$parseActionLabel(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;s1=peg$parseActionLabelQuoteMark();if(s1!==peg$FAILED){s2=[];s3=peg$parseActionLabelChar();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseActionLabelChar()}if(s2!==peg$FAILED){s3=peg$parseActionLabelQuoteMark();if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c289(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c288)}}return s0}function peg$parseLineTerminator(){var s0;if(peg$c290.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c291)}}return s0}function peg$parseBlockCommentTail(){var s0,s1,s2;if(input.substr(peg$currPos,2)===peg$c294){s0=peg$c294;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c295)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.length>peg$currPos){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}if(s1!==peg$FAILED){s2=peg$parseBlockCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseBlockComment(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c298){s1=peg$c298;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c299)}}if(s1!==peg$FAILED){s2=peg$parseBlockCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c297)}}return s0}function peg$parseEOF(){var s0,s1;s0=peg$currPos;peg$silentFails++;if(input.length>peg$currPos){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}peg$silentFails--;if(s1===peg$FAILED){s0=void 0}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLineCommentTail(){var s0,s1,s2;s0=peg$parseLineTerminator();if(s0===peg$FAILED){s0=peg$parseEOF();if(s0===peg$FAILED){s0=peg$currPos;if(input.length>peg$currPos){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}if(s1!==peg$FAILED){s2=peg$parseLineCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}return s0}function peg$parseLineComment(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c301){s1=peg$c301;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c302)}}if(s1!==peg$FAILED){s2=peg$parseLineCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c300)}}return s0}function peg$parseWS(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;s1=peg$parseBlockComment();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseLineComment();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=[];if(peg$c304.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c305)}}if(s2!==peg$FAILED){while(s2!==peg$FAILED){s1.push(s2);if(peg$c304.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c305)}}}}else{s1=peg$FAILED}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c303)}}return s0}function peg$parseString(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;s1=peg$parseQuoteMark();if(s1!==peg$FAILED){s2=[];s3=peg$parseChar();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseChar()}if(s2!==peg$FAILED){s3=peg$parseQuoteMark();if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c289(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c306)}}return s0}function peg$parseAtomFirstLetter(){var s0;if(peg$c307.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c308)}}return s0}function peg$parseAtomLetter(){var s0;if(peg$c309.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c310)}}return s0}function peg$parseAtom(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;s1=peg$parseAtomFirstLetter();if(s1!==peg$FAILED){s2=[];s3=peg$parseAtomLetter();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseAtomLetter()}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c312(s1,s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c311)}}return s0}function peg$parseLabel(){var s0;peg$silentFails++;s0=peg$parseAtom();if(s0===peg$FAILED){s0=peg$parseString()}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c313)}}return s0}function peg$parseIntegerLiteral(){var s0,s1,s2,s3;if(input.charCodeAt(peg$currPos)===48){s0=peg$c314;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c315)}}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseNonZeroDigit();if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseDecimalDigit(){var s0;if(peg$c316.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c317)}}return s0}function peg$parseNonZeroDigit(){var s0;if(peg$c318.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c319)}}return s0}function peg$parseHexDigit(){var s0;if(peg$c320.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c321)}}return s0}function peg$parseBinaryDigit(){var s0;if(peg$c322.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c323)}}return s0}function peg$parseOctalDigit(){var s0;if(peg$c322.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c323)}}return s0}function peg$parseNonNegNumber(){var s0,s1,s2,s3,s4;peg$silentFails++;s0=peg$currPos;s1=peg$parseIntegerLiteral();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s2=peg$c325;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseIntegerLiteral();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c324)}}return s0}function peg$parseJsNumericLiteral(){var s0,s1;peg$silentFails++;s0=peg$currPos;s1=peg$parseJsHexIntegerLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseJsBinaryIntegerLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseNonJsOctalIntegerLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseJsDecimalLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c330){s1=peg$c330;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c331)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c332()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c333){s1=peg$c333;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c334)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c336){s1=peg$c336;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c337)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c338){s1=peg$c338;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c339)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c340){s1=peg$c340;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c341)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c342){s1=peg$c342;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c343)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c344){s1=peg$c344;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c345)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c346){s1=peg$c346;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c347)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c348){s1=peg$c348;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c349)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c351){s1=peg$c351;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c352)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c353){s1=peg$c353;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c354)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c355){s1=peg$c355;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c356)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8734){s1=peg$c357;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c358)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c359){s1=peg$c359;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c360)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c361()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c362){s1=peg$c362;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c363)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c361()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===949){s1=peg$c364;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c365)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c361()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c366){s1=peg$c366;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c367)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c368()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c369){s1=peg$c369;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c370)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c368()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===960){s1=peg$c371;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c372)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c368()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c373){s1=peg$c373;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c374)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===69){s1=peg$c376;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c377)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===101){s1=peg$c378;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c379)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===400){s1=peg$c380;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c381)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8455){s1=peg$c382;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c383)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c384){s1=peg$c384;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c385)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c386()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c387){s1=peg$c387;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c388)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c389()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c390){s1=peg$c390;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c391)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c392()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c393){s1=peg$c393;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c394)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c392()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c395){s1=peg$c395;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c396)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c397()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c398){s1=peg$c398;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c399)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c397()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c400){s1=peg$c400;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c401)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c402()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c403){s1=peg$c403;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c404)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c405()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c406){s1=peg$c406;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c407)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c408()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c409){s1=peg$c409;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c410)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c411()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c412){s1=peg$c412;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c413)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c414()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c415){s1=peg$c415;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c416)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c417()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c418){s1=peg$c418;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c419)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c421){s1=peg$c421;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c422)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c423){s1=peg$c423;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c424)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===981){s1=peg$c425;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c426)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===966){s1=peg$c427;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c428)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c429){s1=peg$c429;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c430)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===947){s1=peg$c432;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c433)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c434){s1=peg$c434;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c435)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===947){s1=peg$c432;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c433)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c328)}}return s0}function peg$parseJsDecimalLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseJsDecimalIntegerLiteral();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s2=peg$c325;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){s4=peg$parseJsNExponentPart();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===46){s1=peg$c325;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}}else{s2=peg$FAILED}if(s2!==peg$FAILED){s3=peg$parseJsNExponentPart();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseJsDecimalIntegerLiteral();if(s1!==peg$FAILED){s2=peg$parseJsNExponentPart();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}return s0}function peg$parseJsDecimalIntegerLiteral(){var s0,s1,s2,s3;if(input.charCodeAt(peg$currPos)===48){s0=peg$c314;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c315)}}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseNonZeroDigit();if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseJsNExponentPart(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseJsNExponentIndicator();if(s1!==peg$FAILED){s2=peg$parseJsNSignedInteger();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseJsNExponentIndicator(){var s0;if(input.substr(peg$currPos,1).toLowerCase()===peg$c378){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c436)}}return s0}function peg$parseJsNSignedInteger(){var s0,s1,s2,s3;s0=peg$currPos;if(peg$c437.test(input.charAt(peg$currPos))){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c438)}}if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}}else{s2=peg$FAILED}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseJsHexIntegerLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2).toLowerCase()===peg$c439){s1=input.substr(peg$currPos,2);peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c440)}}if(s1!==peg$FAILED){s2=peg$currPos;s3=[];s4=peg$parseHexDigit();if(s4!==peg$FAILED){while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseHexDigit()}}else{s3=peg$FAILED}if(s3!==peg$FAILED){s2=input.substring(s2,peg$currPos)}else{s2=s3}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c441(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseJsBinaryIntegerLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2).toLowerCase()===peg$c442){s1=input.substr(peg$currPos,2);peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c443)}}if(s1!==peg$FAILED){s2=peg$currPos;s3=[];s4=peg$parseBinaryDigit();if(s4!==peg$FAILED){while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseBinaryDigit()}}else{s3=peg$FAILED}if(s3!==peg$FAILED){s2=input.substring(s2,peg$currPos)}else{s2=s3}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c444(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseNonJsOctalIntegerLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2).toLowerCase()===peg$c445){s1=input.substr(peg$currPos,2);peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c446)}}if(s1!==peg$FAILED){s2=peg$currPos;s3=[];s4=peg$parseOctalDigit();if(s4!==peg$FAILED){while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseOctalDigit()}}else{s3=peg$FAILED}if(s3!==peg$FAILED){s2=input.substring(s2,peg$currPos)}else{s2=s3}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c447(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSemVer(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;s1=peg$parseIntegerLiteral();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s2=peg$c325;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s2!==peg$FAILED){s3=peg$parseIntegerLiteral();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s4=peg$c325;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s4!==peg$FAILED){s5=peg$parseIntegerLiteral();if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c448(s1,s3,s5);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseUrlProtocol(){var s0;if(input.substr(peg$currPos,7)===peg$c459){s0=peg$c459;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c460)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c461){s0=peg$c461;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c462)}}}return s0}function peg$parseURL(){var s0,s1,s2,s3;s0=peg$currPos;s1=peg$parseUrlProtocol();if(s1!==peg$FAILED){s2=[];if(peg$c463.test(input.charAt(peg$currPos))){s3=input.charAt(peg$currPos);peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c464)}}if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);if(peg$c463.test(input.charAt(peg$currPos))){s3=input.charAt(peg$currPos);peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c464)}}}}else{s2=peg$FAILED}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c465();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSvgColorLabel(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c466){s1=peg$c466;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c467)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c468()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c469){s1=peg$c469;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c470)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c468()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c471){s1=peg$c471;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c472)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c473()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c474){s1=peg$c474;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c475)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c473()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c476){s1=peg$c476;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c477)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c478()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c479){s1=peg$c479;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c480)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c478()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c481){s1=peg$c481;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c482)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c484){s1=peg$c484;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c485)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c486){s1=peg$c486;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c487)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c488()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c489){s1=peg$c489;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c490)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c488()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c491){s1=peg$c491;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c492)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c493()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c494){s1=peg$c494;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c495)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c493()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c496){s1=peg$c496;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c497)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c498()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c499){s1=peg$c499;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c500)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c498()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c501){s1=peg$c501;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c502)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c503()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c504){s1=peg$c504;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c505)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c503()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c506){s1=peg$c506;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c507)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c508()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c509){s1=peg$c509;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c510)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c508()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c511){s1=peg$c511;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c512)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c513()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c514){s1=peg$c514;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c515)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c513()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c516){s1=peg$c516;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c517)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c518()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c519){s1=peg$c519;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c520)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c518()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c521){s1=peg$c521;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c522)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c523()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c524){s1=peg$c524;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c525)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c523()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c526){s1=peg$c526;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c527)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c528()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c529){s1=peg$c529;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c530)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c528()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c531){s1=peg$c531;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c532)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c533()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c534){s1=peg$c534;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c535)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c533()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c536){s1=peg$c536;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c537)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c538()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c539){s1=peg$c539;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c540)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c538()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c541){s1=peg$c541;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c542)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c543()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c544){s1=peg$c544;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c545)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c543()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c546){s1=peg$c546;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c547)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c548()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c549){s1=peg$c549;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c550)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c548()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c551){s1=peg$c551;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c552)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c553()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c554){s1=peg$c554;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c555)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c553()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c556){s1=peg$c556;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c557)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c558()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c559){s1=peg$c559;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c560)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c558()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c561){s1=peg$c561;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c562)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c563()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c564){s1=peg$c564;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c565)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c563()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c566){s1=peg$c566;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c567)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c568){s1=peg$c568;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c569)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c570){s1=peg$c570;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c571)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c572()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c573){s1=peg$c573;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c574)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c572()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c575){s1=peg$c575;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c576)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c577()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c578){s1=peg$c578;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c579)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c577()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c580){s1=peg$c580;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c581)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c582()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c583){s1=peg$c583;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c584)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c582()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c585){s1=peg$c585;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c586)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c588){s1=peg$c588;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c589)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c590){s1=peg$c590;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c591)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c592){s1=peg$c592;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c593)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c594){s1=peg$c594;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c595)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c596()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c597){s1=peg$c597;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c598)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c596()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c599){s1=peg$c599;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c600)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c601()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c602){s1=peg$c602;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c603)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c601()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c604){s1=peg$c604;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c605)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c606()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c607){s1=peg$c607;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c608)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c606()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c609){s1=peg$c609;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c610)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c611()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c612){s1=peg$c612;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c613)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c611()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c614){s1=peg$c614;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c615)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c616()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c617){s1=peg$c617;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c618)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c616()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c619){s1=peg$c619;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c620)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c621()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c622){s1=peg$c622;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c623)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c621()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c624){s1=peg$c624;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c625)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c626()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c627){s1=peg$c627;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c628)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c626()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c629){s1=peg$c629;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c630)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c631()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c632){s1=peg$c632;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c633)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c631()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c634){s1=peg$c634;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c635)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c636()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c637){s1=peg$c637;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c638)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c636()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c639){s1=peg$c639;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c640)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c641()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c642){s1=peg$c642;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c643)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c641()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c644){s1=peg$c644;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c645)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c647){s1=peg$c647;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c648)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c649){s1=peg$c649;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c650)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c651){s1=peg$c651;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c652)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c653){s1=peg$c653;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c654)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c655()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c656){s1=peg$c656;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c657)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c655()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c658){s1=peg$c658;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c659)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c660()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c661){s1=peg$c661;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c662)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c660()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c663){s1=peg$c663;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c664)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c665()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c666){s1=peg$c666;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c667)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c665()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c668){s1=peg$c668;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c669)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c670()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c671){s1=peg$c671;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c672)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c670()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c673){s1=peg$c673;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c674)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c676){s1=peg$c676;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c677)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c678){s1=peg$c678;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c679)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c680){s1=peg$c680;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c681)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c682){s1=peg$c682;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c683)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c684()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c685){s1=peg$c685;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c686)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c684()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c687){s1=peg$c687;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c688)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c689()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c690){s1=peg$c690;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c691)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c689()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c692){s1=peg$c692;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c693)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c694()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c695){s1=peg$c695;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c696)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c694()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c697){s1=peg$c697;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c698)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c699()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c700){s1=peg$c700;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c701)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c699()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c702){s1=peg$c702;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c703)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c705){s1=peg$c705;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c706)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c707){s1=peg$c707;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c708)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c709()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c710){s1=peg$c710;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c711)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c709()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c712){s1=peg$c712;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c713)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c714()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c715){s1=peg$c715;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c716)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c714()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c717){s1=peg$c717;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c718)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c719()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c720){s1=peg$c720;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c721)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c719()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c722){s1=peg$c722;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c723)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c724()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c725){s1=peg$c725;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c726)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c724()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c727){s1=peg$c727;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c728)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c730){s1=peg$c730;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c731)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c732){s1=peg$c732;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c733)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c734){s1=peg$c734;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c735)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c736){s1=peg$c736;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c737)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c738()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c739){s1=peg$c739;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c740)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c738()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c741){s1=peg$c741;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c742)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c743()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c744){s1=peg$c744;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c745)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c743()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c746){s1=peg$c746;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c747)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c748()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c749){s1=peg$c749;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c750)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c748()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c751){s1=peg$c751;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c752)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c753()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c754){s1=peg$c754;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c755)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c753()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c756){s1=peg$c756;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c757)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c758()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c759){s1=peg$c759;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c760)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c758()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c761){s1=peg$c761;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c762)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c763()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c764){s1=peg$c764;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c765)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c763()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c766){s1=peg$c766;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c767)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c768()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c769){s1=peg$c769;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c770)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c768()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c771){s1=peg$c771;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c772)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c773()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c774){s1=peg$c774;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c775)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c773()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c776){s1=peg$c776;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c777)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c778()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c779){s1=peg$c779;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c780)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c778()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c781){s1=peg$c781;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c782)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c783()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c784){s1=peg$c784;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c785)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c783()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c786){s1=peg$c786;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c787)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c788()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c789){s1=peg$c789;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c790)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c788()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c791){s1=peg$c791;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c792)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c793()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c794){s1=peg$c794;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c795)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c793()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c796){s1=peg$c796;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c797)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c798()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c799){s1=peg$c799;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c800)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c798()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c801){s1=peg$c801;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c802)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c803()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c804){s1=peg$c804;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c805)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c803()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c806){s1=peg$c806;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c807)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c808()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c809){s1=peg$c809;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c810)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c808()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,20)===peg$c811){s1=peg$c811;peg$currPos+=20}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c812)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c813()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,20)===peg$c814){s1=peg$c814;peg$currPos+=20}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c815)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c813()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c816){s1=peg$c816;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c817)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c819){s1=peg$c819;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c820)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c821){s1=peg$c821;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c822)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c823){s1=peg$c823;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c824)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c825){s1=peg$c825;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c826)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c827()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c828){s1=peg$c828;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c829)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c827()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c830){s1=peg$c830;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c831)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c832()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c833){s1=peg$c833;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c834)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c832()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c835){s1=peg$c835;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c836)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c837()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c838){s1=peg$c838;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c839)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c837()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c840){s1=peg$c840;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c841)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c842()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c843){s1=peg$c843;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c844)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c842()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c845){s1=peg$c845;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c846)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c847()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c848){s1=peg$c848;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c849)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c847()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c850){s1=peg$c850;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c851)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c853){s1=peg$c853;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c854)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c855){s1=peg$c855;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c856)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c857){s1=peg$c857;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c858)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c859){s1=peg$c859;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c860)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c861()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c862){s1=peg$c862;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c863)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c861()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c864){s1=peg$c864;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c865)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c866()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c867){s1=peg$c867;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c868)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c866()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c869){s1=peg$c869;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c870)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c871()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c872){s1=peg$c872;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c873)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c871()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c874){s1=peg$c874;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c875)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c876()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c877){s1=peg$c877;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c878)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c876()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c879){s1=peg$c879;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c880)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c881()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c882){s1=peg$c882;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c883)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c881()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c884){s1=peg$c884;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c885)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c886){s1=peg$c886;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c887)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c888){s1=peg$c888;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c889)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c890()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c891){s1=peg$c891;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c892)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c890()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c893){s1=peg$c893;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c894)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c895()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c896){s1=peg$c896;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c897)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c895()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c898){s1=peg$c898;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c899)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c900()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c901){s1=peg$c901;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c902)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c900()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c903){s1=peg$c903;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c904)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c905()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c906){s1=peg$c906;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c907)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c905()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c908){s1=peg$c908;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c909)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c910()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c911){s1=peg$c911;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c912)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c910()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c913){s1=peg$c913;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c914)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c915()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c916){s1=peg$c916;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c917)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c915()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c918){s1=peg$c918;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c919)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c920()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c921){s1=peg$c921;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c922)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c920()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,17)===peg$c923){s1=peg$c923;peg$currPos+=17}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c924)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c925()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,17)===peg$c926){s1=peg$c926;peg$currPos+=17}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c927)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c925()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c928){s1=peg$c928;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c929)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c930()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c931){s1=peg$c931;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c932)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c930()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c933){s1=peg$c933;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c934)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c935()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c936){s1=peg$c936;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c937)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c935()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c938){s1=peg$c938;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c939)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c940()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c941){s1=peg$c941;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c942)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c940()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c943){s1=peg$c943;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c944)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c945()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c946){s1=peg$c946;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c947)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c945()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c948){s1=peg$c948;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c949)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c950()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c951){s1=peg$c951;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c952)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c950()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c953){s1=peg$c953;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c954)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c955()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c956){s1=peg$c956;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c957)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c955()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c958){s1=peg$c958;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c959)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c960()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c961){s1=peg$c961;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c962)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c960()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c963){s1=peg$c963;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c964)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c965()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c966){s1=peg$c966;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c967)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c965()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c968){s1=peg$c968;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c969)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c970()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c971){s1=peg$c971;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c972)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c970()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c973){s1=peg$c973;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c974)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c975()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c976){s1=peg$c976;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c977)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c975()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c978){s1=peg$c978;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c979)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c980()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c981){s1=peg$c981;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c982)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c980()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c983){s1=peg$c983;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c984)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c985()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c986){s1=peg$c986;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c987)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c985()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c988){s1=peg$c988;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c989)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c990()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c991){s1=peg$c991;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c992)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c990()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c993){s1=peg$c993;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c994)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c995()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c996){s1=peg$c996;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c997)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c995()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c998){s1=peg$c998;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c999)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1000()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1001){s1=peg$c1001;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1002)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1000()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1003){s1=peg$c1003;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1004)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1005()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1006){s1=peg$c1006;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1007)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1005()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1008){s1=peg$c1008;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1009)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1010()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1011){s1=peg$c1011;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1012)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1010()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1013){s1=peg$c1013;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1014)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1015()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1016){s1=peg$c1016;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1017)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1015()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1018){s1=peg$c1018;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1019)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1020()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1021){s1=peg$c1021;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1022)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1020()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1023){s1=peg$c1023;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1024)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1025()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1026){s1=peg$c1026;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1027)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1025()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1028){s1=peg$c1028;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1029)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1030()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1031){s1=peg$c1031;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1032)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1030()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1033){s1=peg$c1033;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1034)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1035()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1036){s1=peg$c1036;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1037)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1035()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1038){s1=peg$c1038;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1039)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1040()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1041){s1=peg$c1041;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1042)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1040()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1043){s1=peg$c1043;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1044)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1045()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1046){s1=peg$c1046;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1047)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1045()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1048){s1=peg$c1048;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1049)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1050()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1051){s1=peg$c1051;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1052)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1050()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1053){s1=peg$c1053;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1054)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1055()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1056){s1=peg$c1056;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1057)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1055()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1058){s1=peg$c1058;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1059)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1060()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1061){s1=peg$c1061;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1062)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1060()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1063){s1=peg$c1063;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1064)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1065()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1066){s1=peg$c1066;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1067)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1065()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1068){s1=peg$c1068;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1069)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1070()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1071){s1=peg$c1071;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1072)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1070()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1073){s1=peg$c1073;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1074)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1075()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1076){s1=peg$c1076;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1077)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1075()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1078){s1=peg$c1078;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1079)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1080()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1081){s1=peg$c1081;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1082)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1080()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1083){s1=peg$c1083;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1084)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1085()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1086){s1=peg$c1086;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1087)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1085()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1088){s1=peg$c1088;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1089)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1090()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1091){s1=peg$c1091;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1092)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1090()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1093){s1=peg$c1093;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1094)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1095()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1096){s1=peg$c1096;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1097)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1095()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1098){s1=peg$c1098;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1099)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1100()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1101){s1=peg$c1101;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1102)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1100()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1103){s1=peg$c1103;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1104)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1105()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1106){s1=peg$c1106;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1107)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1105()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1108){s1=peg$c1108;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1109)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1110()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1111){s1=peg$c1111;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1112)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1110()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1113){s1=peg$c1113;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1114)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1116){s1=peg$c1116;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1117)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1118){s1=peg$c1118;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1119)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1120){s1=peg$c1120;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1121)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1122){s1=peg$c1122;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1123)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1124()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1125){s1=peg$c1125;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1126)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1124()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1127){s1=peg$c1127;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1128)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1129()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1130){s1=peg$c1130;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1131)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1129()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1132){s1=peg$c1132;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1133)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1134()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1135){s1=peg$c1135;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1136)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1134()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1137){s1=peg$c1137;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1138)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1139()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1140){s1=peg$c1140;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1141)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1139()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1142){s1=peg$c1142;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1143)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1144()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1145){s1=peg$c1145;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1146)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1144()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1147){s1=peg$c1147;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1148)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1149()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1150){s1=peg$c1150;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1151)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1149()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1152){s1=peg$c1152;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1153)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1154()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1155){s1=peg$c1155;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1156)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1154()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1157){s1=peg$c1157;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1158)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1159()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1160){s1=peg$c1160;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1161)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1159()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1162){s1=peg$c1162;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1163)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1164()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1165){s1=peg$c1165;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1166)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1164()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1167){s1=peg$c1167;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1168)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1169()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1170){s1=peg$c1170;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1171)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1169()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1172){s1=peg$c1172;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1173)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1174()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1175){s1=peg$c1175;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1176)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1174()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1177){s1=peg$c1177;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1178)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1179()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1180){s1=peg$c1180;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1181)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1179()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1182){s1=peg$c1182;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1183)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1184()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1185){s1=peg$c1185;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1186)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1184()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1187){s1=peg$c1187;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1188)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1189()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1190){s1=peg$c1190;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1191)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1189()}s0=s1}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}return s0}function peg$parseSvgColor(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseSvgColorLabel();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c1192(s1);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgb3(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1195(s2,s3,s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgb6(){var s0,s1,s2,s3,s4,s5,s6,s7,s8;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseHexDigit();if(s5!==peg$FAILED){s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseWS();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){peg$savedPos=s0;s1=peg$c1196(s2,s3,s4,s5,s6,s7);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgba4(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseHexDigit();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1197(s2,s3,s4,s5);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgba8(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseHexDigit();if(s5!==peg$FAILED){s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseHexDigit();if(s8!==peg$FAILED){s9=peg$parseHexDigit();if(s9!==peg$FAILED){s10=peg$parseWS();if(s10===peg$FAILED){s10=null}if(s10!==peg$FAILED){peg$savedPos=s0;s1=peg$c1198(s2,s3,s4,s5,s6,s7,s8,s9);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseColor(){var s0;peg$silentFails++;s0=peg$parseSvgColor();if(s0===peg$FAILED){s0=peg$parseRgba8();if(s0===peg$FAILED){s0=peg$parseRgb6();if(s0===peg$FAILED){s0=peg$parseRgba4();if(s0===peg$FAILED){s0=peg$parseRgb3()}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1199)}}return s0}function peg$parseArrowItemKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1200){s0=peg$c1200;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1201)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1202){s0=peg$c1202;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1203)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1204){s0=peg$c1204;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1205)}}}}return s0}function peg$parseArrowItem(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseArrowItemKey();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1210(s2,s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSingleEdgeColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1212){s2=peg$c1212;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1213)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1214(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1211)}}return s0}function peg$parseTransitionLineStyle(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1216){s2=peg$c1216;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1217)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLineStyle();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1218(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1215)}}return s0}function peg$parseArrowItems(){var s0,s1;s0=peg$parseSingleEdgeColor();if(s0===peg$FAILED){s0=peg$parseTransitionLineStyle();if(s0===peg$FAILED){s0=[];s1=peg$parseArrowItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseArrowItem()}}else{s0=peg$FAILED}}}return s0}function peg$parseArrowDesc(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===123){s1=peg$c1219;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseArrowItems();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===125){s5=peg$c1221;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1222)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1223(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrowProbability(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseNonNegNumber();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===37){s2=peg$c1224;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1225)}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c1226(s1);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLabelList(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===91){s1=peg$c11;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c12)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$currPos;s5=peg$parseLabel();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}while(s4!==peg$FAILED){s3.push(s4);s4=peg$currPos;s5=peg$parseLabel();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===93){s4=peg$c13;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c14)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1227(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLabelOrLabelList(){var s0;s0=peg$parseLabelList();if(s0===peg$FAILED){s0=peg$parseLabel()}return s0}function peg$parseStripe(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1228){s1=peg$c1228;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1229)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1230(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1231){s1=peg$c1231;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1232)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1233(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseCycle(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===43){s1=peg$c1234;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1235)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1236(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===45){s1=peg$c1237;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1238)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1239(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1240){s1=peg$c1240;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1241)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1242()}s0=s1}}return s0}function peg$parseArrowTarget(){var s0;s0=peg$parseStripe();if(s0===peg$FAILED){s0=peg$parseCycle();if(s0===peg$FAILED){s0=peg$parseLabelList();if(s0===peg$FAILED){s0=peg$parseLabel()}}}return s0}function peg$parseSubexp(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13,s14,s15,s16,s17,s18;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseActionLabel();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseArrowProbability();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseArrowDesc();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseArrow();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){s10=peg$parseArrowDesc();if(s10===peg$FAILED){s10=null}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){s12=peg$parseArrowProbability();if(s12===peg$FAILED){s12=null}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){s14=peg$parseActionLabel();if(s14===peg$FAILED){s14=null}if(s14!==peg$FAILED){s15=peg$parseWS();if(s15===peg$FAILED){s15=null}if(s15!==peg$FAILED){s16=peg$parseArrowTarget();if(s16!==peg$FAILED){s17=peg$parseWS();if(s17===peg$FAILED){s17=null}if(s17!==peg$FAILED){s18=peg$parseSubexp();if(s18===peg$FAILED){s18=null}if(s18!==peg$FAILED){peg$savedPos=s0;s1=peg$c1243(s2,s4,s6,s8,s10,s12,s14,s16,s18);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseExp(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;s1=peg$parseArrowTarget();if(s1!==peg$FAILED){s2=peg$parseSubexp();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1244(s1,s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseValidationKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1245){s0=peg$c1245;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1247){s0=peg$c1247;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}}return s0}function peg$parseValidationItem(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseValidationKey();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s2=peg$c1206;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1249(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseValidationItems(){var s0,s1;s0=[];s1=peg$parseValidationItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseValidationItem()}}else{s0=peg$FAILED}return s0}function peg$parseConfigValidation(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1250){s2=peg$c1250;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1251)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseValidationItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1254(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseGvizLayout(){var s0;if(input.substr(peg$currPos,3)===peg$c1255){s0=peg$c1255;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1256)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1257){s0=peg$c1257;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1258)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c1259){s0=peg$c1259;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1260)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1261){s0=peg$c1261;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1262)}}}}}return s0}function peg$parseStateItems(){var s0,s1;s0=[];s1=peg$parseStateDeclarationItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseStateDeclarationItem()}}else{s0=peg$FAILED}return s0}function peg$parseConfigState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1263){s2=peg$c1263;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1264)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1265(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigStartState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1266){s2=peg$c1266;peg$currPos+=11}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1267)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1268(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigEndState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1269){s2=peg$c1269;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1270)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1271(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigActiveState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1272){s2=peg$c1272;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1273)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1274(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigTerminalState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,14)===peg$c1275){s2=peg$c1275;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1276)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1277(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigHookedState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1278){s2=peg$c1278;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1279)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1280(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigAnyState(){var s0;s0=peg$parseConfigState();if(s0===peg$FAILED){s0=peg$parseConfigStartState();if(s0===peg$FAILED){s0=peg$parseConfigEndState();if(s0===peg$FAILED){s0=peg$parseConfigActiveState();if(s0===peg$FAILED){s0=peg$parseConfigTerminalState();if(s0===peg$FAILED){s0=peg$parseConfigHookedState()}}}}}return s0}function peg$parseActionKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1245){s0=peg$c1245;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1247){s0=peg$c1247;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}}return s0}function peg$parseActionItem(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseActionKey();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s2=peg$c1206;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1281(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseActionItems(){var s0,s1;s0=[];s1=peg$parseActionItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseActionItem()}}else{s0=peg$FAILED}return s0}function peg$parseConfigAction(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1282){s2=peg$c1282;peg$currPos+=6}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1283)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseActionItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1284(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTransitionKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1245){s0=peg$c1245;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1247){s0=peg$c1247;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}}return s0}function peg$parseTransitionItem(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseTransitionKey();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s2=peg$c1206;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1285(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTransitionItems(){var s0,s1;s0=peg$parseGraphDefaultEdgeColor();if(s0===peg$FAILED){s0=[];s1=peg$parseTransitionItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseTransitionItem()}}else{s0=peg$FAILED}}return s0}function peg$parseGraphDefaultEdgeColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1212){s2=peg$c1212;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1213)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1287(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1286)}}return s0}function peg$parseConfigTransition(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1288){s2=peg$c1288;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1289)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseTransitionItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1290(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigGraphLayout(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1291){s2=peg$c1291;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1292)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseGvizLayout();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1293(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigStartNodes(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1294){s2=peg$c1294;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1295)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1296(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigEndNodes(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1297){s2=peg$c1297;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1298)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1299(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigGraphBgColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,14)===peg$c1300){s2=peg$c1300;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1301)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1302(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfig(){var s0;peg$silentFails++;s0=peg$parseConfigGraphLayout();if(s0===peg$FAILED){s0=peg$parseConfigStartNodes();if(s0===peg$FAILED){s0=peg$parseConfigEndNodes();if(s0===peg$FAILED){s0=peg$parseConfigTransition();if(s0===peg$FAILED){s0=peg$parseConfigAction();if(s0===peg$FAILED){s0=peg$parseConfigAnyState();if(s0===peg$FAILED){s0=peg$parseConfigValidation();if(s0===peg$FAILED){s0=peg$parseConfigGraphBgColor()}}}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1303)}}return s0}function peg$parseLicenseOrLabelOrList(){var s0;if(input.substr(peg$currPos,3)===peg$c1304){s0=peg$c1304;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1305)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1306){s0=peg$c1306;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1307)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1308){s0=peg$c1308;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1309)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1310){s0=peg$c1310;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1311)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1312){s0=peg$c1312;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1313)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c1314){s0=peg$c1314;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1315)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1316){s0=peg$c1316;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1317)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1318){s0=peg$c1318;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1319)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1320){s0=peg$c1320;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1321)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1322){s0=peg$c1322;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1323)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c1324){s0=peg$c1324;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1325)}}if(s0===peg$FAILED){s0=peg$parseLabel();if(s0===peg$FAILED){s0=peg$parseLabelList()}}}}}}}}}}}}return s0}function peg$parseDirection(){var s0;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c1327){s0=peg$c1327;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1328)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1329){s0=peg$c1329;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1330)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1331){s0=peg$c1331;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1332)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1333){s0=peg$c1333;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1334)}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1326)}}return s0}function peg$parseHookDefinition(){var s0;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c1336){s0=peg$c1336;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1337)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1338){s0=peg$c1338;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1339)}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1335)}}return s0}function peg$parseMachineAuthor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,14)===peg$c1340){s2=peg$c1340;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1341)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelOrLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1342(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineContributor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,19)===peg$c1343){s2=peg$c1343;peg$currPos+=19}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1344)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelOrLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1345(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineComment(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1346){s2=peg$c1346;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1347)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelOrLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1348(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineDefinition(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,18)===peg$c1349){s2=peg$c1349;peg$currPos+=18}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1350)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseURL();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1351(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineName(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1352){s2=peg$c1352;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1353)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1354(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineVersion(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1358){s2=peg$c1358;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1359)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseSemVer();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1360(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineLicense(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1361){s2=peg$c1361;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1362)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLicenseOrLabelOrList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1363(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineLanguage(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,16)===peg$c1364){s2=peg$c1364;peg$currPos+=16}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1365)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1366(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseFslVersion(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1367){s2=peg$c1367;peg$currPos+=11}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1368)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseSemVer();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1369(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineTheme(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1370){s2=peg$c1370;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1371)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseThemeOrThemeList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1372(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineFlow(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1373){s2=peg$c1373;peg$currPos+=4}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1374)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseDirection();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1375(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineHookDefinition(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1376){s2=peg$c1376;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1377)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseHookDefinition();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1378(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseDotPreamble(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1379){s2=peg$c1379;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1380)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseString();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1381(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineAttribute(){var s0;peg$silentFails++;s0=peg$parseFslVersion();if(s0===peg$FAILED){s0=peg$parseMachineName();if(s0===peg$FAILED){s0=peg$parseMachineAuthor();if(s0===peg$FAILED){s0=peg$parseMachineContributor();if(s0===peg$FAILED){s0=peg$parseMachineComment();if(s0===peg$FAILED){s0=peg$parseMachineDefinition();if(s0===peg$FAILED){s0=peg$parseMachineVersion();if(s0===peg$FAILED){s0=peg$parseMachineLicense();if(s0===peg$FAILED){s0=peg$parseMachineLanguage();if(s0===peg$FAILED){s0=peg$parseMachineTheme();if(s0===peg$FAILED){s0=peg$parseDotPreamble();if(s0===peg$FAILED){s0=peg$parseMachineFlow();if(s0===peg$FAILED){s0=peg$parseMachineHookDefinition()}}}}}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1382)}}return s0}function peg$parsePropertyVal(){var s0;s0=peg$parseString();if(s0===peg$FAILED){s0=peg$parseBoolean();if(s0===peg$FAILED){s0=peg$parseJsNumericLiteral();if(s0===peg$FAILED){s0=peg$parseNull();if(s0===peg$FAILED){s0=peg$parseUndefined()}}}}return s0}function peg$parseSdStateLabel(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1383){s2=peg$c1383;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1384)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1385(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1199)}}return s0}function peg$parseSdStateColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1386){s2=peg$c1386;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1387)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1388(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1199)}}return s0}function peg$parseSdStateTextColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1390){s2=peg$c1390;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1391)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1392(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1389)}}return s0}function peg$parseSdStateBackgroundColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,16)===peg$c1394){s2=peg$c1394;peg$currPos+=16}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1395)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1396(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1393)}}return s0}function peg$parseSdStateBorderColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1398){s2=peg$c1398;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1399)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1400(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1397)}}return s0}function peg$parseSdStateShape(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1402){s2=peg$c1402;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1403)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseGvizShape();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1404(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1401)}}return s0}function peg$parseSdStateCorners(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,7)===peg$c1406){s2=peg$c1406;peg$currPos+=7}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1407)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseCorners();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1408(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1405)}}return s0}function peg$parseSdStateLineStyle(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1216){s2=peg$c1216;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1217)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLineStyle();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1410(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1411){s2=peg$c1411;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1412)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLineStyle();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1410(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1409)}}return s0}function peg$parseSdStateProperty(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1414){s2=peg$c1414;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1415)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseAtom();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1416(s6,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1414){s2=peg$c1414;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1415)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseAtom();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1417){s10=peg$c1417;peg$currPos+=8}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1418)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s12=peg$c1208;peg$currPos++}else{s12=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){peg$savedPos=s0;s1=peg$c1419(s6,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1413)}}return s0}function peg$parseStateDeclarationItem(){var s0;s0=peg$parseSdStateLabel();if(s0===peg$FAILED){s0=peg$parseSdStateColor();if(s0===peg$FAILED){s0=peg$parseSdStateTextColor();if(s0===peg$FAILED){s0=peg$parseSdStateBackgroundColor();if(s0===peg$FAILED){s0=peg$parseSdStateBorderColor();if(s0===peg$FAILED){s0=peg$parseSdStateShape();if(s0===peg$FAILED){s0=peg$parseSdStateCorners();if(s0===peg$FAILED){s0=peg$parseSdStateLineStyle();if(s0===peg$FAILED){s0=peg$parseSdStateProperty()}}}}}}}}return s0}function peg$parseStateDeclarationDesc(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===123){s1=peg$c1219;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$parseStateDeclarationItem();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseStateDeclarationItem()}if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===125){s5=peg$c1221;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1222)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1223(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseStateDeclaration(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1263){s2=peg$c1263;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1264)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s6=peg$c1206;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateDeclarationDesc();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1420(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseNamedList(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===38){s2=peg$c1421;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1422)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s6=peg$c1206;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseLabelOrLabelList();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1423(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineProperty(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1414){s2=peg$c1414;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1415)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5!==peg$FAILED){if(input.substr(peg$currPos,7)===peg$c3){s6=peg$c3;peg$currPos+=7}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c4)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1417){s10=peg$c1417;peg$currPos+=8}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1418)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s12=peg$c1208;peg$currPos++}else{s12=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){peg$savedPos=s0;s1=peg$c1424(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1414){s2=peg$c1414;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1415)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1417){s6=peg$c1417;peg$currPos+=8}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1418)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1425(s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1414){s2=peg$c1414;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1415)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5!==peg$FAILED){if(input.substr(peg$currPos,7)===peg$c3){s6=peg$c3;peg$currPos+=7}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c4)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1426(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1414){s2=peg$c1414;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1415)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s6=peg$c1208;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){peg$savedPos=s0;s1=peg$c1427(s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}}return s0}function peg$parseRegularArrangeDeclaration(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1428){s1=peg$c1428;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1429)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseLabelOrLabelList();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s5=peg$c1208;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1430(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrangeStartDeclaration(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1431){s1=peg$c1431;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1432)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseLabelOrLabelList();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s5=peg$c1208;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1433(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrangeEndDeclaration(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1434){s1=peg$c1434;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1435)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseLabelOrLabelList();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s5=peg$c1208;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1436(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrangeDeclaration(){var s0;peg$silentFails++;s0=peg$parseArrangeStartDeclaration();if(s0===peg$FAILED){s0=peg$parseArrangeEndDeclaration();if(s0===peg$FAILED){s0=peg$parseRegularArrangeDeclaration()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1437)}}return s0}function peg$parseTerm(){var s0;s0=peg$parseExp();if(s0===peg$FAILED){s0=peg$parseStateDeclaration();if(s0===peg$FAILED){s0=peg$parseArrangeDeclaration();if(s0===peg$FAILED){s0=peg$parseNamedList();if(s0===peg$FAILED){s0=peg$parseMachineAttribute();if(s0===peg$FAILED){s0=peg$parseMachineProperty();if(s0===peg$FAILED){s0=peg$parseConfig()}}}}}}return s0}function peg$parseTermList(){var s0,s1;s0=[];s1=peg$parseTerm();while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseTerm()}return s0}peg$result=peg$startRuleFunction();if(peg$result!==peg$FAILED&&peg$currPos===input.length){return peg$result}else{if(peg$result!==peg$FAILED&&peg$currPos{uTo.map((t=>{const right=makeTransition(this_se,f,t,true);if(right.kind!=="none"){edges.push(right)}const left=makeTransition(this_se,t,f,false);if(left.kind!=="none"){edges.push(left)}}))}));const new_acc=acc.concat(edges);if(next_se){return compile_rule_transition_step(new_acc,to,next_se.to,next_se,next_se.se)}else{return new_acc}}function compile_rule_handle_transition(rule){return compile_rule_transition_step([],rule.from,rule.se.to,rule.se,rule.se.se)}function compile_rule_handler(rule){if(rule.key==="transition"){return{agg_as:"transition",val:compile_rule_handle_transition(rule)}}if(rule.key==="machine_language"){return{agg_as:"machine_language",val:reduce(rule.value)}}if(rule.key==="property_definition"){const ret={agg_as:"property_definition",val:{name:rule.name}};if(rule.hasOwnProperty("default_value")){ret.val.default_value=rule.default_value}if(rule.hasOwnProperty("required")){ret.val.required=rule.required}return ret}if(rule.key==="state_declaration"){if(!rule.name){throw new JssmError(undefined,"State declarations must have a name")}return{agg_as:"state_declaration",val:{state:rule.name,declarations:rule.value}}}if(["arrange_declaration","arrange_start_declaration","arrange_end_declaration"].includes(rule.key)){return{agg_as:rule.key,val:[rule.value]}}const tautologies=["graph_layout","start_states","end_states","machine_name","machine_version","machine_comment","machine_author","machine_contributor","machine_definition","machine_reference","machine_license","fsl_version","state_config","theme","flow","dot_preamble","default_state_config","default_start_state_config","default_end_state_config","default_hooked_state_config","default_active_state_config","default_terminal_state_config"];if(tautologies.includes(rule.key)){return{agg_as:rule.key,val:rule.value}}throw new JssmError(undefined,`compile_rule_handler: Unknown rule: ${JSON.stringify(rule)}`)}function compile(tree){const results={graph_layout:[],transition:[],start_states:[],end_states:[],state_config:[],state_declaration:[],fsl_version:[],machine_author:[],machine_comment:[],machine_contributor:[],machine_definition:[],machine_language:[],machine_license:[],machine_name:[],machine_reference:[],property_definition:[],state_property:{},theme:[],flow:[],dot_preamble:[],arrange_declaration:[],arrange_start_declaration:[],arrange_end_declaration:[],machine_version:[],default_state_config:[],default_active_state_config:[],default_hooked_state_config:[],default_terminal_state_config:[],default_start_state_config:[],default_end_state_config:[]};tree.map((tr=>{const rule=compile_rule_handler(tr),agg_as=rule.agg_as,val=rule.val;results[agg_as]=results[agg_as].concat(val)}));const property_keys=results["property_definition"].map((pd=>pd.name)),repeat_props=find_repeated(property_keys);if(repeat_props.length){throw new JssmError(undefined,`Cannot repeat property definitions. Saw ${JSON.stringify(repeat_props)}`)}const assembled_transitions=[].concat(...results["transition"]);const result_cfg={start_states:results.start_states.length?results.start_states:[assembled_transitions[0].from],end_states:results.end_states,transitions:assembled_transitions,state_property:[]};const oneOnlyKeys=["graph_layout","machine_name","machine_version","machine_comment","fsl_version","machine_license","machine_definition","machine_language","flow","dot_preamble"];oneOnlyKeys.map((oneOnlyKey=>{if(results[oneOnlyKey].length>1){throw new JssmError(undefined,`May only have one ${oneOnlyKey} statement maximum: ${JSON.stringify(results[oneOnlyKey])}`)}else{if(results[oneOnlyKey].length){result_cfg[oneOnlyKey]=results[oneOnlyKey][0]}}}));["arrange_declaration","arrange_start_declaration","arrange_end_declaration","machine_author","machine_contributor","machine_reference","theme","state_declaration","property_definition","default_state_config","default_start_state_config","default_end_state_config","default_hooked_state_config","default_terminal_state_config","default_active_state_config"].map((multiKey=>{if(results[multiKey].length){result_cfg[multiKey]=results[multiKey]}}));results.state_declaration.forEach((sd=>{sd.declarations.forEach((decl=>{if(decl.key==="state_property"){const label=name_bind_prop_and_state(decl.name,sd.state);if(result_cfg.state_property.findIndex((c=>c.name===label))!==-1){throw new JssmError(undefined,`A state may only bind a property once (${sd.state} re-binds ${decl.name})`)}else{result_cfg.state_property.push({name:label,default_value:decl.value})}}}))}));return result_cfg}function make(plan){return compile(wrap_parse(plan))}function transfer_state_properties(state_decl){state_decl.declarations.map((d=>{switch(d.key){case"shape":state_decl.shape=d.value;break;case"color":state_decl.color=d.value;break;case"corners":state_decl.corners=d.value;break;case"line-style":state_decl.lineStyle=d.value;break;case"text-color":state_decl.textColor=d.value;break;case"background-color":state_decl.backgroundColor=d.value;break;case"state-label":state_decl.stateLabel=d.value;break;case"border-color":state_decl.borderColor=d.value;break;case"state_property":state_decl.property={name:d.name,value:d.value};break;default:throw new JssmError(undefined,`Unknown state property: '${JSON.stringify(d)}'`)}}));return state_decl}function state_style_condense(jssk){const state_style={};if(Array.isArray(jssk)){jssk.forEach(((key,i)=>{if(typeof key!=="object"){throw new JssmError(this,`invalid state item ${i} in state_style_condense list: ${JSON.stringify(key)}`)}switch(key.key){case"shape":if(state_style.shape!==undefined){throw new JssmError(this,`cannot redefine 'shape' in state_style_condense, already defined`)}state_style.shape=key.value;break;case"color":if(state_style.color!==undefined){throw new JssmError(this,`cannot redefine 'color' in state_style_condense, already defined`)}state_style.color=key.value;break;case"text-color":if(state_style.textColor!==undefined){throw new JssmError(this,`cannot redefine 'text-color' in state_style_condense, already defined`)}state_style.textColor=key.value;break;case"corners":if(state_style.corners!==undefined){throw new JssmError(this,`cannot redefine 'corners' in state_style_condense, already defined`)}state_style.corners=key.value;break;case"line-style":if(state_style.lineStyle!==undefined){throw new JssmError(this,`cannot redefine 'line-style' in state_style_condense, already defined`)}state_style.lineStyle=key.value;break;case"background-color":if(state_style.backgroundColor!==undefined){throw new JssmError(this,`cannot redefine 'background-color' in state_style_condense, already defined`)}state_style.backgroundColor=key.value;break;case"state-label":if(state_style.stateLabel!==undefined){throw new JssmError(this,`cannot redefine 'state-label' in state_style_condense, already defined`)}state_style.stateLabel=key.value;break;case"border-color":if(state_style.borderColor!==undefined){throw new JssmError(this,`cannot redefine 'border-color' in state_style_condense, already defined`)}state_style.borderColor=key.value;break;default:throw new JssmError(this,`unknown state style key in condense: ${key.key}`)}}))}else if(jssk===undefined);else{throw new JssmError(this,"state_style_condense received a non-array")}return state_style}class Machine{constructor({start_states:start_states,end_states:end_states=[],complete:complete=[],transitions:transitions,machine_author:machine_author,machine_comment:machine_comment,machine_contributor:machine_contributor,machine_definition:machine_definition,machine_language:machine_language,machine_license:machine_license,machine_name:machine_name,machine_version:machine_version,state_declaration:state_declaration,property_definition:property_definition,state_property:state_property,fsl_version:fsl_version,dot_preamble:dot_preamble=undefined,arrange_declaration:arrange_declaration=[],arrange_start_declaration:arrange_start_declaration=[],arrange_end_declaration:arrange_end_declaration=[],theme:theme=["default"],flow:flow="down",graph_layout:graph_layout="dot",instance_name:instance_name,history:history,data:data,default_state_config:default_state_config,default_active_state_config:default_active_state_config,default_hooked_state_config:default_hooked_state_config,default_terminal_state_config:default_terminal_state_config,default_start_state_config:default_start_state_config,default_end_state_config:default_end_state_config}){this._instance_name=instance_name;this._state=start_states[0];this._states=new Map;this._state_declarations=new Map;this._edges=[];this._edge_map=new Map;this._named_transitions=new Map;this._actions=new Map;this._reverse_actions=new Map;this._reverse_action_targets=new Map;this._start_states=new Set(start_states);this._end_states=new Set(end_states);this._machine_author=array_box_if_string(machine_author);this._machine_comment=machine_comment;this._machine_contributor=array_box_if_string(machine_contributor);this._machine_definition=machine_definition;this._machine_language=machine_language;this._machine_license=machine_license;this._machine_name=machine_name;this._machine_version=machine_version;this._raw_state_declaration=state_declaration||[];this._fsl_version=fsl_version;this._arrange_declaration=arrange_declaration;this._arrange_start_declaration=arrange_start_declaration;this._arrange_end_declaration=arrange_end_declaration;this._dot_preamble=dot_preamble;this._themes=theme;this._flow=flow;this._graph_layout=graph_layout;this._has_hooks=false;this._has_basic_hooks=false;this._has_named_hooks=false;this._has_entry_hooks=false;this._has_exit_hooks=false;this._has_global_action_hooks=false;this._has_transition_hooks=true;this._hooks=new Map;this._named_hooks=new Map;this._entry_hooks=new Map;this._exit_hooks=new Map;this._global_action_hooks=new Map;this._any_action_hook=undefined;this._standard_transition_hook=undefined;this._main_transition_hook=undefined;this._forced_transition_hook=undefined;this._any_transition_hook=undefined;this._has_post_hooks=false;this._has_post_basic_hooks=false;this._has_post_named_hooks=false;this._has_post_entry_hooks=false;this._has_post_exit_hooks=false;this._has_post_global_action_hooks=false;this._has_post_transition_hooks=true;this._post_hooks=new Map;this._post_named_hooks=new Map;this._post_entry_hooks=new Map;this._post_exit_hooks=new Map;this._post_global_action_hooks=new Map;this._post_any_action_hook=undefined;this._post_standard_transition_hook=undefined;this._post_main_transition_hook=undefined;this._post_forced_transition_hook=undefined;this._post_any_transition_hook=undefined;this._data=data;this._property_keys=new Set;this._default_properties=new Map;this._state_properties=new Map;this._required_properties=new Set;this._state_style=state_style_condense(default_state_config);this._active_state_style=state_style_condense(default_active_state_config);this._hooked_state_style=state_style_condense(default_hooked_state_config);this._terminal_state_style=state_style_condense(default_terminal_state_config);this._start_state_style=state_style_condense(default_start_state_config);this._end_state_style=state_style_condense(default_end_state_config);this._history_length=history||0;this._history=new circular_buffer(this._history_length);this._state_labels=new Map;if(state_declaration){state_declaration.map((state_decl=>{if(this._state_declarations.has(state_decl.state)){throw new JssmError(this,`Added the same state declaration twice: ${JSON.stringify(state_decl.state)}`)}this._state_declarations.set(state_decl.state,transfer_state_properties(state_decl))}))}[...this._state_declarations].map((sd=>{const[key,decl]=sd,labelled=decl.declarations.filter((d=>d.key==="state-label"));if(labelled.length>1){throw new JssmError(this,`state ${key} may only have one state-label; has ${labelled.length}`)}if(labelled.length===1){this._state_labels.set(key,labelled[0].value)}}));transitions.map((tr=>{if(tr.from===undefined){throw new JssmError(this,`transition must define 'from': ${JSON.stringify(tr)}`)}if(tr.to===undefined){throw new JssmError(this,`transition must define 'to': ${JSON.stringify(tr)}`)}const cursor_from=this._states.get(tr.from)||{name:tr.from,from:[],to:[],complete:complete.includes(tr.from)};if(!this._states.has(tr.from)){this._new_state(cursor_from)}const cursor_to=this._states.get(tr.to)||{name:tr.to,from:[],to:[],complete:complete.includes(tr.to)};if(!this._states.has(tr.to)){this._new_state(cursor_to)}if(cursor_from.to.includes(tr.to)){throw new JssmError(this,`already has ${JSON.stringify(tr.from)} to ${JSON.stringify(tr.to)}`)}else{cursor_from.to.push(tr.to);cursor_to.from.push(tr.from)}this._edges.push(tr);const thisEdgeId=this._edges.length-1;if(tr.name){if(this._named_transitions.has(tr.name)){throw new JssmError(this,`named transition "${JSON.stringify(tr.name)}" already created`)}else{this._named_transitions.set(tr.name,thisEdgeId)}}const from_mapping=this._edge_map.get(tr.from)||new Map;if(!this._edge_map.has(tr.from)){this._edge_map.set(tr.from,from_mapping)}from_mapping.set(tr.to,thisEdgeId);if(tr.action){let actionMap=this._actions.get(tr.action);if(!actionMap){actionMap=new Map;this._actions.set(tr.action,actionMap)}if(actionMap.has(tr.from)){throw new JssmError(this,`action ${JSON.stringify(tr.action)} already attached to origin ${JSON.stringify(tr.from)}`)}else{actionMap.set(tr.from,thisEdgeId)}let rActionMap=this._reverse_actions.get(tr.from);if(!rActionMap){rActionMap=new Map;this._reverse_actions.set(tr.from,rActionMap)}rActionMap.set(tr.action,thisEdgeId);if(!this._reverse_action_targets.has(tr.to)){this._reverse_action_targets.set(tr.to,new Map)}}}));if(Array.isArray(property_definition)){property_definition.forEach((pr=>{this._property_keys.add(pr.name);if(pr.hasOwnProperty("default_value")){this._default_properties.set(pr.name,pr.default_value)}if(pr.hasOwnProperty("required")&&pr.required===true){this._required_properties.add(pr.name)}}))}if(Array.isArray(state_property)){state_property.forEach((sp=>{this._state_properties.set(sp.name,sp.default_value)}))}this._state_properties.forEach(((_value,key)=>{const inside=JSON.parse(key);if(Array.isArray(inside)){const j_property=inside[0];if(typeof j_property==="string"){const j_state=inside[1];if(typeof j_state==="string"){if(!this.known_prop(j_property)){throw new JssmError(this,`State "${j_state}" has property "${j_property}" which is not globally declared`)}}}}}));this._required_properties.forEach((dp_key=>{if(this._default_properties.has(dp_key)){throw new JssmError(this,`The property "${dp_key}" is required, but also has a default; these conflict`)}this.states().forEach((s=>{const bound_name=name_bind_prop_and_state(dp_key,s);if(!this._state_properties.has(bound_name)){throw new JssmError(this,`State "${s}" is missing required property "${dp_key}"`)}}))}));if(!this.has_state(this.state())){throw new JssmError(this,`Current start state "${this.state()}" does not exist`)}start_states.forEach(((ss,ssi)=>{if(!this.has_state(ss)){throw new JssmError(this,`Start state ${ssi} "${ss}" does not exist`)}}));if(!(start_states.length===this._start_states.size)){throw new JssmError(this,`Start states cannot be repeated`)}}_new_state(state_config){if(this._states.has(state_config.name)){throw new JssmError(this,`state ${JSON.stringify(state_config.name)} already exists`)}this._states.set(state_config.name,state_config);return state_config.name}state(){return this._state}label_for(state){return this._state_labels.get(state)}display_text(state){var _a;return(_a=this._state_labels.get(state))!==null&&_a!==void 0?_a:state}data(){return this._data}prop(name){const bound_name=name_bind_prop_and_state(name,this.state());if(this._state_properties.has(bound_name)){return this._state_properties.get(bound_name)}else if(this._default_properties.has(name)){return this._default_properties.get(name)}else{return undefined}}strict_prop(name){const bound_name=name_bind_prop_and_state(name,this.state());if(this._state_properties.has(bound_name)){return this._state_properties.get(bound_name)}else if(this._default_properties.has(name)){return this._default_properties.get(name)}else{throw new JssmError(this,`Strictly requested a prop '${name}' which doesn't exist on current state '${this.state()}' and has no default`)}}props(){const ret={};this.known_props().forEach((p=>ret[p]=this.prop(p)));return ret}known_prop(prop_name){return this._property_keys.has(prop_name)}known_props(){return[...this._property_keys]}is_start_state(whichState){return this._start_states.has(whichState)}is_end_state(whichState){return this._end_states.has(whichState)}state_is_final(whichState){return this.state_is_terminal(whichState)||this.state_is_complete(whichState)}is_final(){return this.state_is_final(this.state())}serialize(comment){return{comment:comment,state:this._state,data:this._data,jssm_version:version,history:this._history.toArray(),history_capacity:this._history.capacity,timestamp:(new Date).getTime()}}graph_layout(){return this._graph_layout}dot_preamble(){return this._dot_preamble}machine_author(){return this._machine_author}machine_comment(){return this._machine_comment}machine_contributor(){return this._machine_contributor}machine_definition(){return this._machine_definition}machine_language(){return this._machine_language}machine_license(){return this._machine_license}machine_name(){return this._machine_name}machine_version(){return this._machine_version}raw_state_declarations(){return this._raw_state_declaration}state_declaration(which){return this._state_declarations.get(which)}state_declarations(){return this._state_declarations}fsl_version(){return this._fsl_version}machine_state(){return{internal_state_impl_version:1,actions:this._actions,edge_map:this._edge_map,edges:this._edges,named_transitions:this._named_transitions,reverse_actions:this._reverse_actions,state:this._state,states:this._states}}states(){return Array.from(this._states.keys())}state_for(whichState){const state=this._states.get(whichState);if(state){return state}else{throw new JssmError(this,"No such state",{requested_state:whichState})}}has_state(whichState){return this._states.get(whichState)!==undefined}list_edges(){return this._edges}list_named_transitions(){return this._named_transitions}list_actions(){return Array.from(this._actions.keys())}get uses_actions(){return Array.from(this._actions.keys()).length>0}all_themes(){return[...theme_mapping.keys()]}get themes(){return this._themes}set themes(to){if(typeof to==="string"){this._themes=[to]}else{this._themes=to}}flow(){return this._flow}get_transition_by_state_names(from,to){const emg=this._edge_map.get(from);if(emg){return emg.get(to)}else{return undefined}}lookup_transition_for(from,to){const id=this.get_transition_by_state_names(from,to);return id===undefined||id===null?undefined:this._edges[id]}list_transitions(whichState=this.state()){return{entrances:this.list_entrances(whichState),exits:this.list_exits(whichState)}}list_entrances(whichState=this.state()){return(this._states.get(whichState)||{from:undefined}).from||[]}list_exits(whichState=this.state()){return(this._states.get(whichState)||{to:undefined}).to||[]}probable_exits_for(whichState){const wstate=this._states.get(whichState);if(!wstate){throw new JssmError(this,`No such state ${JSON.stringify(whichState)} in probable_exits_for`)}const wstate_to=wstate.to,wtf=wstate_to.map((ws=>this.lookup_transition_for(this.state(),ws))).filter(Boolean);return wtf}probabilistic_transition(){const selected=weighted_rand_select(this.probable_exits_for(this.state()));return this.transition(selected.to)}probabilistic_walk(n){return seq(n).map((()=>{const state_was=this.state();this.probabilistic_transition();return state_was})).concat([this.state()])}probabilistic_histo_walk(n){return histograph(this.probabilistic_walk(n))}actions(whichState=this.state()){const wstate=this._reverse_actions.get(whichState);if(wstate){return Array.from(wstate.keys())}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}list_states_having_action(whichState){const wstate=this._actions.get(whichState);if(wstate){return Array.from(wstate.keys())}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}list_exit_actions(whichState=this.state()){const ra_base=this._reverse_actions.get(whichState);if(!ra_base){throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}return Array.from(ra_base.values()).map((edgeId=>this._edges[edgeId])).filter((o=>o.from===whichState)).map((filtered=>filtered.action))}probable_action_exits(whichState=this.state()){const ra_base=this._reverse_actions.get(whichState);if(!ra_base){throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}return Array.from(ra_base.values()).map((edgeId=>this._edges[edgeId])).filter((o=>o.from===whichState)).map((filtered=>({action:filtered.action,probability:filtered.probability})))}is_unenterable(whichState){if(!this.has_state(whichState)){throw new JssmError(this,`No such state ${whichState}`)}return this.list_entrances(whichState).length===0}has_unenterables(){return this.states().some((x=>this.is_unenterable(x)))}is_terminal(){return this.state_is_terminal(this.state())}state_is_terminal(whichState){if(!this.has_state(whichState)){throw new JssmError(this,`No such state ${whichState}`)}return this.list_exits(whichState).length===0}has_terminals(){return this.states().some((x=>this.state_is_terminal(x)))}is_complete(){return this.state_is_complete(this.state())}state_is_complete(whichState){const wstate=this._states.get(whichState);if(wstate){return wstate.complete}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}has_completes(){return this.states().some((x=>this.state_is_complete(x)))}set_hook(HookDesc){switch(HookDesc.kind){case"hook":this._hooks.set(hook_name(HookDesc.from,HookDesc.to),HookDesc.handler);this._has_hooks=true;this._has_basic_hooks=true;break;case"named":this._named_hooks.set(named_hook_name(HookDesc.from,HookDesc.to,HookDesc.action),HookDesc.handler);this._has_hooks=true;this._has_named_hooks=true;break;case"global action":this._global_action_hooks.set(HookDesc.action,HookDesc.handler);this._has_hooks=true;this._has_global_action_hooks=true;break;case"any action":this._any_action_hook=HookDesc.handler;this._has_hooks=true;break;case"standard transition":this._standard_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"main transition":this._main_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"forced transition":this._forced_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"any transition":this._any_transition_hook=HookDesc.handler;this._has_hooks=true;break;case"entry":this._entry_hooks.set(HookDesc.to,HookDesc.handler);this._has_hooks=true;this._has_entry_hooks=true;break;case"exit":this._exit_hooks.set(HookDesc.from,HookDesc.handler);this._has_hooks=true;this._has_exit_hooks=true;break;case"post hook":this._post_hooks.set(hook_name(HookDesc.from,HookDesc.to),HookDesc.handler);this._has_post_hooks=true;this._has_post_basic_hooks=true;break;case"post named":this._post_named_hooks.set(named_hook_name(HookDesc.from,HookDesc.to,HookDesc.action),HookDesc.handler);this._has_post_hooks=true;this._has_post_named_hooks=true;break;case"post global action":this._post_global_action_hooks.set(HookDesc.action,HookDesc.handler);this._has_post_hooks=true;this._has_post_global_action_hooks=true;break;case"post any action":this._post_any_action_hook=HookDesc.handler;this._has_post_hooks=true;break;case"post standard transition":this._post_standard_transition_hook=HookDesc.handler;this._has_post_transition_hooks=true;this._has_post_hooks=true;break;case"post main transition":this._post_main_transition_hook=HookDesc.handler;this._has_post_transition_hooks=true;this._has_post_hooks=true;break;case"post forced transition":this._post_forced_transition_hook=HookDesc.handler;this._has_post_transition_hooks=true;this._has_post_hooks=true;break;case"post any transition":this._post_any_transition_hook=HookDesc.handler;this._has_post_hooks=true;break;case"post entry":this._post_entry_hooks.set(HookDesc.to,HookDesc.handler);this._has_post_entry_hooks=true;this._has_post_hooks=true;break;case"post exit":this._post_exit_hooks.set(HookDesc.from,HookDesc.handler);this._has_post_exit_hooks=true;this._has_post_hooks=true;break;default:throw new JssmError(this,`Unknown hook type ${HookDesc.kind}, should be impossible`)}}hook(from,to,handler){this.set_hook({kind:"hook",from:from,to:to,handler:handler});return this}hook_action(from,to,action,handler){this.set_hook({kind:"named",from:from,to:to,action:action,handler:handler});return this}hook_global_action(action,handler){this.set_hook({kind:"global action",action:action,handler:handler});return this}hook_any_action(handler){this.set_hook({kind:"any action",handler:handler});return this}hook_standard_transition(handler){this.set_hook({kind:"standard transition",handler:handler});return this}hook_main_transition(handler){this.set_hook({kind:"main transition",handler:handler});return this}hook_forced_transition(handler){this.set_hook({kind:"forced transition",handler:handler});return this}hook_any_transition(handler){this.set_hook({kind:"any transition",handler:handler});return this}hook_entry(to,handler){this.set_hook({kind:"entry",to:to,handler:handler});return this}hook_exit(from,handler){this.set_hook({kind:"exit",from:from,handler:handler});return this}post_hook(from,to,handler){this.set_hook({kind:"post hook",from:from,to:to,handler:handler});return this}post_hook_action(from,to,action,handler){this.set_hook({kind:"post named",from:from,to:to,action:action,handler:handler});return this}post_hook_global_action(action,handler){this.set_hook({kind:"post global action",action:action,handler:handler});return this}post_hook_any_action(handler){this.set_hook({kind:"post any action",handler:handler});return this}post_hook_standard_transition(handler){this.set_hook({kind:"post standard transition",handler:handler});return this}post_hook_main_transition(handler){this.set_hook({kind:"post main transition",handler:handler});return this}post_hook_forced_transition(handler){this.set_hook({kind:"post forced transition",handler:handler});return this}post_hook_any_transition(handler){this.set_hook({kind:"post any transition",handler:handler});return this}post_hook_entry(to,handler){this.set_hook({kind:"post entry",to:to,handler:handler});return this}post_hook_exit(from,handler){this.set_hook({kind:"post exit",from:from,handler:handler});return this}edges_between(from,to){return this._edges.filter((edge=>edge.from===from&&edge.to===to))}transition_impl(newStateOrAction,newData,wasForced,wasAction){let valid=false,trans_type,newState,fromAction=undefined;if(wasForced){if(this.valid_force_transition(newStateOrAction,newData)){valid=true;trans_type="forced";newState=newStateOrAction}}else if(wasAction){if(this.valid_action(newStateOrAction,newData)){const edge=this.current_action_edge_for(newStateOrAction);valid=true;trans_type=edge.kind;newState=edge.to;fromAction=newStateOrAction}}else{if(this.valid_transition(newStateOrAction,newData)){if(this._has_transition_hooks){trans_type=this.edges_between(this._state,newStateOrAction)[0].kind}valid=true;newState=newStateOrAction}}const hook_args={data:this._data,action:fromAction,from:this._state,to:newState,forced:wasForced,trans_type:trans_type};if(valid){if(this._has_hooks){function update_fields(res){if(res.hasOwnProperty("data")){hook_args.data=res.data;data_changed=true}}let data_changed=false;if(wasAction){const outcome=abstract_hook_step(this._any_action_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome);const outcome2=abstract_hook_step(this._global_action_hooks.get(newStateOrAction),hook_args);if(outcome2.pass===false){return false}update_fields(outcome2)}if(this._any_transition_hook!==undefined){const outcome=abstract_hook_step(this._any_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._has_exit_hooks){const outcome=abstract_hook_step(this._exit_hooks.get(this._state),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._has_named_hooks){if(wasAction){const nhn=named_hook_name(this._state,newState,newStateOrAction),outcome=abstract_hook_step(this._named_hooks.get(nhn),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}}if(this._has_basic_hooks){const hn=hook_name(this._state,newState),outcome=abstract_hook_step(this._hooks.get(hn),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(trans_type==="legal"){const outcome=abstract_hook_step(this._standard_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(trans_type==="main"){const outcome=abstract_hook_step(this._main_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(trans_type==="forced"){const outcome=abstract_hook_step(this._forced_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._has_entry_hooks){const outcome=abstract_hook_step(this._entry_hooks.get(newState),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._history_length){this._history.shove([this._state,this._data])}this._state=newState;if(data_changed){this._data=hook_args.data}}else{if(this._history_length){this._history.shove([this._state,this._data])}this._state=newState}}else{return false}if(this._has_post_hooks){if(wasAction){if(this._post_any_action_hook!==undefined){this._post_any_action_hook(hook_args)}const pgah=this._post_global_action_hooks.get(hook_args.action);if(pgah!==undefined){pgah(hook_args)}}if(this._post_any_transition_hook!==undefined){this._post_any_transition_hook(hook_args)}if(this._has_post_exit_hooks){const peh=this._post_exit_hooks.get(hook_args.from);if(peh!==undefined){peh(hook_args)}}if(this._has_post_named_hooks){if(wasAction){const nhn=named_hook_name(hook_args.from,hook_args.to,hook_args.action),pnh=this._post_named_hooks.get(nhn);if(pnh!==undefined){pnh(hook_args)}}}if(this._has_post_basic_hooks){const hook=this._post_hooks.get(hook_name(hook_args.from,hook_args.to));if(hook!==undefined){hook(hook_args)}}if(trans_type==="legal"){if(this._post_standard_transition_hook!==undefined){this._post_standard_transition_hook(hook_args)}}if(trans_type==="main"){if(this._post_main_transition_hook!==undefined){this._post_main_transition_hook(hook_args)}}if(trans_type==="forced"){if(this._post_forced_transition_hook!==undefined){this._post_forced_transition_hook(hook_args)}}if(this._has_post_entry_hooks){const hook=this._post_entry_hooks.get(hook_args.to);if(hook!==undefined){hook(hook_args)}}}return true}get history(){return this._history.toArray()}get history_inclusive(){const ret=this._history.toArray();ret.push([this.state(),this.data()]);return ret}get history_length(){return this._history_length}set history_length(to){this._history_length=to;this._history.resize(to,true)}action(actionName,newData){return this.transition_impl(actionName,newData,false,true)}get standard_state_style(){return this._state_style}get hooked_state_style(){return this._hooked_state_style}get start_state_style(){return this._start_state_style}get end_state_style(){return this._end_state_style}get terminal_state_style(){return this._terminal_state_style}get active_state_style(){return this._active_state_style}style_for(state){const themes=[];this._themes.forEach((th=>{const theme_impl=theme_mapping.get(th);if(theme_impl!==undefined){themes.push(theme_impl)}}));const layers=[base_theme.state];themes.reverse().map((theme=>{if(theme.state){layers.push(theme.state)}}));if(this._state_style){layers.push(this._state_style)}if(this.state_is_terminal(state)){layers.push(base_theme.terminal);themes.map((theme=>{if(theme.terminal){layers.push(theme.terminal)}}));if(this._terminal_state_style){layers.push(this._terminal_state_style)}}if(this.is_start_state(state)){layers.push(base_theme.start);themes.map((theme=>{if(theme.start){layers.push(theme.start)}}));if(this._start_state_style){layers.push(this._start_state_style)}}if(this.is_end_state(state)){layers.push(base_theme.end);themes.map((theme=>{if(theme.end){layers.push(theme.end)}}));if(this._end_state_style){layers.push(this._end_state_style)}}if(this.state()===state){layers.push(base_theme.active);themes.map((theme=>{if(theme.active){layers.push(theme.active)}}));if(this._active_state_style){layers.push(this._active_state_style)}}const individual_style={},decl=this._state_declarations.get(state);individual_style.color=decl===null||decl===void 0?void 0:decl.color;individual_style.textColor=decl===null||decl===void 0?void 0:decl.textColor;individual_style.borderColor=decl===null||decl===void 0?void 0:decl.borderColor;individual_style.backgroundColor=decl===null||decl===void 0?void 0:decl.backgroundColor;individual_style.lineStyle=decl===null||decl===void 0?void 0:decl.lineStyle;individual_style.corners=decl===null||decl===void 0?void 0:decl.corners;individual_style.shape=decl===null||decl===void 0?void 0:decl.shape;layers.push(individual_style);return layers.reduce(((acc,cur)=>{const composite_state=acc;Object.keys(cur).forEach((key=>{var _a;return composite_state[key]=(_a=cur[key])!==null&&_a!==void 0?_a:composite_state[key]}));return composite_state}),{})}do(actionName,newData){return this.transition_impl(actionName,newData,false,true)}transition(newState,newData){return this.transition_impl(newState,newData,false,false)}go(newState,newData){return this.transition_impl(newState,newData,false,false)}force_transition(newState,newData){return this.transition_impl(newState,newData,true,false)}current_action_for(action){const action_base=this._actions.get(action);return action_base?action_base.get(this.state()):undefined}current_action_edge_for(action){const idx=this.current_action_for(action);if(idx===undefined||idx===null){throw new JssmError(this,`No such action ${JSON.stringify(action)}`)}return this._edges[idx]}valid_action(action,_newData){return this.current_action_for(action)!==undefined}valid_transition(newState,_newData){const transition_for=this.lookup_transition_for(this.state(),newState);if(!transition_for){return false}if(transition_for.forced_only){return false}return true}valid_force_transition(newState,_newData){return this.lookup_transition_for(this.state(),newState)!==undefined}instance_name(){return this._instance_name}sm(template_strings,...remainder){return sm(template_strings,...remainder)}}function sm(template_strings,...remainder){return new Machine(make(template_strings.reduce(((acc,val,idx)=>`${acc}${remainder[idx-1]}${val}`))))}function from(MachineAsString,ExtraConstructorFields){const to_decorate=make(MachineAsString);if(ExtraConstructorFields!==undefined){Object.keys(ExtraConstructorFields).map((key=>to_decorate[key]=ExtraConstructorFields[key]))}return new Machine(to_decorate)}function is_hook_complex_result(hr){if(typeof hr==="object"){if(typeof hr.pass==="boolean"){return true}}return false}function is_hook_rejection(hr){if(hr===true){return false}if(hr===undefined){return false}if(hr===false){return true}if(is_hook_complex_result(hr)){return!hr.pass}throw new TypeError("unknown hook rejection type result")}function abstract_hook_step(maybe_hook,hook_args){if(maybe_hook!==undefined){const result=maybe_hook(hook_args);if(result===undefined){return{pass:true}}if(result===true){return{pass:true}}if(result===false){return{pass:false}}if(is_hook_complex_result(result)){return result}throw new TypeError(`Unknown hook result type ${result}`)}else{return{pass:true}}}function deserialize(machine_string,ser){const machine=from(machine_string,{data:ser.data,history:ser.history_capacity});machine._state=ser.state;ser.history.forEach((history_item=>machine._history.push(history_item)));return machine}exports.FslDirections=FslDirections;exports.Machine=Machine;exports.abstract_hook_step=abstract_hook_step;exports.arrow_direction=arrow_direction;exports.arrow_left_kind=arrow_left_kind;exports.arrow_right_kind=arrow_right_kind;exports.build_time=build_time;exports.compile=compile;exports.constants=constants;exports.deserialize=deserialize;exports.find_repeated=find_repeated;exports.from=from;exports.gviz_shapes=gviz_shapes;exports.histograph=histograph;exports.is_hook_complex_result=is_hook_complex_result;exports.is_hook_rejection=is_hook_rejection;exports.make=make;exports.named_colors=named_colors;exports.parse=wrap_parse;exports.seq=seq;exports.shapes=shapes;exports.sm=sm;exports.state_style_condense=state_style_condense;exports.transfer_state_properties=transfer_state_properties;exports.unique=unique;exports.version=version;exports.weighted_histo_key=weighted_histo_key;exports.weighted_rand_select=weighted_rand_select;exports.weighted_sample_select=weighted_sample_select; +"use strict";Object.defineProperty(exports,"__esModule",{value:true});class circular_buffer{constructor(uCapacity){if(!Number.isInteger(uCapacity)){throw new RangeError(`Capacity must be an integer, received ${uCapacity}`)}if(uCapacity<0){throw new RangeError(`Capacity must be a non-negative integer, received ${uCapacity}`)}this._values=new Array(uCapacity);this._capacity=uCapacity;this._cursor=0;this._offset=0;this._length=0}get capacity(){return this._capacity}set capacity(newSize){this.resize(newSize)}get length(){return this._length}set length(newLength){if(newLength>this._capacity){throw new RangeError(`Requested new length [${newLength}] exceeds container capacity [${this._capacity}]`)}if(newLength<0){throw new RangeError(`Requested new length [${newLength}] cannot be negative`)}if(!Number.isInteger(newLength)){throw new RangeError(`Requested new length [${newLength}] must be an integer`)}if(this._length<=newLength){return}this._length=newLength}get available(){return this._capacity-this._length}get isEmpty(){return this._length===0}get isFull(){return this._length===this._capacity}get first(){if(this.isEmpty){throw new RangeError("Cannot return first element of an empty container")}return this.at(0)}get last(){if(this.isEmpty){throw new RangeError("Cannot return last element of an empty container")}return this.at(this.length-1)}static from(i,map_fn,t){const new_array=map_fn?Array.from(i,map_fn,t):Array.from(i);const target_length=new_array.length;const ncb=new circular_buffer(target_length);ncb._values=new_array;ncb._length=target_length;return ncb}push(v){if(this.isFull){throw new RangeError(`Cannot push, structure is full to capacity`)}this._values[(this._cursor+this._length++)%this._capacity]=v;return v}shove(v){let shoved;if(this._capacity===0){throw new RangeError(`Cannot shove, structure is zero-capacity`)}if(this.isFull){shoved=this.pop()}this.push(v);return shoved}fill(x){for(let i=0;i=this._capacity){this._cursor-=this._capacity}return cache}at(i){if(i<0){throw new RangeError(`circular_buffer does not support negative traversals; called at(${i})`)}if(!Number.isInteger(i)){throw new RangeError(`Accessors must be non-negative integers; called at(${i})`)}if(i>=this._capacity){throw new RangeError(`Requested cell ${i} exceeds container permanent capacity`)}if(i>=this._length){throw new RangeError(`Requested cell ${i} exceeds container current length`)}return this._values[(this._cursor+i)%this._capacity]}pos(i){return this.at(i-this.offset())}offset(){return this._offset}resize(newSize,preferEnd=false){this._values=this.toArray();this._cursor=0;const oldSize=this._length;this._length=Math.min(this._length,newSize);this._capacity=newSize;if(newSize>=oldSize){this._values.length=newSize}else{if(preferEnd){const tmp=this._values.slice(oldSize-newSize);this._values=tmp}else{this._values.length=newSize}}}toArray(){const startPoint=this._cursor%this._capacity;if(this._capacity>startPoint+this._length){return this._values.slice(startPoint,startPoint+this._length)}else{const base=this._values.slice(startPoint,this._capacity);base.push(...this._values.slice(0,this.length-(this._capacity-startPoint)));return base}}}const FslDirections=["up","right","down","left"];class JssmError extends Error{constructor(machine,message,JEEI){const{requested_state:requested_state}=JEEI===undefined?{requested_state:undefined}:JEEI;const follow_ups=[];if(machine){if(machine.state()!==undefined){follow_ups.push(`at "${machine.state()}"`)}}if(requested_state!==undefined){follow_ups.push(`requested "${requested_state}"`)}const complex_msg=`${(machine===null||machine===void 0?void 0:machine.instance_name())!==undefined?`[[${machine.instance_name()}]]: `:""}${message}${follow_ups.length?` (${follow_ups.join(", ")})`:""}`;super(complex_msg);this.name="JssmError";this.message=complex_msg;this.base_message=message;this.requested_state=requested_state}}function arrow_direction(arrow){switch(String(arrow)){case"->":case"→":case"=>":case"⇒":case"~>":case"↛":return"right";case"<-":case"←":case"<=":case"⇐":case"<~":case"↚":return"left";case"<->":case"↔":case"<-=>":case"←⇒":case"←=>":case"<-⇒":case"<-~>":case"←↛":case"←~>":case"<-↛":case"<=>":case"⇔":case"<=->":case"⇐→":case"⇐->":case"<=→":case"<=~>":case"⇐↛":case"⇐~>":case"<=↛":case"<~>":case"↮":case"<~->":case"↚→":case"↚->":case"<~→":case"<~=>":case"↚⇒":case"↚=>":case"<~⇒":return"both";default:throw new JssmError(undefined,`arrow_direction: unknown arrow type ${arrow}`)}}function arrow_left_kind(arrow){switch(String(arrow)){case"->":case"→":case"=>":case"⇒":case"~>":case"↛":return"none";case"<-":case"←":case"<->":case"↔":case"<-=>":case"←⇒":case"<-~>":case"←↛":return"legal";case"<=":case"⇐":case"<=>":case"⇔":case"<=->":case"⇐→":case"<=~>":case"⇐↛":return"main";case"<~":case"↚":case"<~>":case"↮":case"<~->":case"↚→":case"<~=>":case"↚⇒":return"forced";default:throw new JssmError(undefined,`arrow_direction: unknown arrow type ${arrow}`)}}function arrow_right_kind(arrow){switch(String(arrow)){case"<-":case"←":case"<=":case"⇐":case"<~":case"↚":return"none";case"->":case"→":case"<->":case"↔":case"<=->":case"⇐→":case"<~->":case"↚→":return"legal";case"=>":case"⇒":case"<=>":case"⇔":case"<-=>":case"←⇒":case"<~=>":case"↚⇒":return"main";case"~>":case"↛":case"<~>":case"↮":case"<-~>":case"←↛":case"<=~>":case"⇐↛":return"forced";default:throw new JssmError(undefined,`arrow_direction: unknown arrow type ${arrow}`)}}function peg$subclass(child,parent){function ctor(){this.constructor=child}ctor.prototype=parent.prototype;child.prototype=new ctor}function peg$SyntaxError(message,expected,found,location){this.message=message;this.expected=expected;this.found=found;this.location=location;this.name="SyntaxError";if(typeof Error.captureStackTrace==="function"){Error.captureStackTrace(this,peg$SyntaxError)}}peg$subclass(peg$SyntaxError,Error);peg$SyntaxError.buildMessage=function(expected,found){var DESCRIBE_EXPECTATION_FNS={literal:function(expectation){return'"'+literalEscape(expectation.text)+'"'},class:function(expectation){var escapedParts="",i;for(i=0;i0){for(i=1,j=1;it[0]));themes.push(th);return themes},peg$c16=function(th){return[th]},peg$c17="box3d",peg$c18=peg$literalExpectation("box3d",false),peg$c19="polygon",peg$c20=peg$literalExpectation("polygon",false),peg$c21="ellipse",peg$c22=peg$literalExpectation("ellipse",false),peg$c23="oval",peg$c24=peg$literalExpectation("oval",false),peg$c25="circle",peg$c26=peg$literalExpectation("circle",false),peg$c27="point",peg$c28=peg$literalExpectation("point",false),peg$c29="egg",peg$c30=peg$literalExpectation("egg",false),peg$c31="triangle",peg$c32=peg$literalExpectation("triangle",false),peg$c33="plaintext",peg$c34=peg$literalExpectation("plaintext",false),peg$c35="plain",peg$c36=peg$literalExpectation("plain",false),peg$c37="diamond",peg$c38=peg$literalExpectation("diamond",false),peg$c39="trapezium",peg$c40=peg$literalExpectation("trapezium",false),peg$c41="parallelogram",peg$c42=peg$literalExpectation("parallelogram",false),peg$c43="house",peg$c44=peg$literalExpectation("house",false),peg$c45="pentagon",peg$c46=peg$literalExpectation("pentagon",false),peg$c47="hexagon",peg$c48=peg$literalExpectation("hexagon",false),peg$c49="septagon",peg$c50=peg$literalExpectation("septagon",false),peg$c51="octagon",peg$c52=peg$literalExpectation("octagon",false),peg$c53="doublecircle",peg$c54=peg$literalExpectation("doublecircle",false),peg$c55="doubleoctagon",peg$c56=peg$literalExpectation("doubleoctagon",false),peg$c57="tripleoctagon",peg$c58=peg$literalExpectation("tripleoctagon",false),peg$c59="invtriangle",peg$c60=peg$literalExpectation("invtriangle",false),peg$c61="invtrapezium",peg$c62=peg$literalExpectation("invtrapezium",false),peg$c63="invhouse",peg$c64=peg$literalExpectation("invhouse",false),peg$c65="Mdiamond",peg$c66=peg$literalExpectation("Mdiamond",false),peg$c67="Msquare",peg$c68=peg$literalExpectation("Msquare",false),peg$c69="Mcircle",peg$c70=peg$literalExpectation("Mcircle",false),peg$c71="rectangle",peg$c72=peg$literalExpectation("rectangle",false),peg$c73="rect",peg$c74=peg$literalExpectation("rect",false),peg$c75="square",peg$c76=peg$literalExpectation("square",false),peg$c77="star",peg$c78=peg$literalExpectation("star",false),peg$c79="underline",peg$c80=peg$literalExpectation("underline",false),peg$c81="cylinder",peg$c82=peg$literalExpectation("cylinder",false),peg$c83="note",peg$c84=peg$literalExpectation("note",false),peg$c85="tab",peg$c86=peg$literalExpectation("tab",false),peg$c87="folder",peg$c88=peg$literalExpectation("folder",false),peg$c89="box",peg$c90=peg$literalExpectation("box",false),peg$c91="component",peg$c92=peg$literalExpectation("component",false),peg$c93="promoter",peg$c94=peg$literalExpectation("promoter",false),peg$c95="cds",peg$c96=peg$literalExpectation("cds",false),peg$c97="terminator",peg$c98=peg$literalExpectation("terminator",false),peg$c99="utr",peg$c100=peg$literalExpectation("utr",false),peg$c101="primersite",peg$c102=peg$literalExpectation("primersite",false),peg$c103="restrictionsite",peg$c104=peg$literalExpectation("restrictionsite",false),peg$c105="fivepoverhang",peg$c106=peg$literalExpectation("fivepoverhang",false),peg$c107="threepoverhang",peg$c108=peg$literalExpectation("threepoverhang",false),peg$c109="noverhang",peg$c110=peg$literalExpectation("noverhang",false),peg$c111="assembly",peg$c112=peg$literalExpectation("assembly",false),peg$c113="signature",peg$c114=peg$literalExpectation("signature",false),peg$c115="insulator",peg$c116=peg$literalExpectation("insulator",false),peg$c117="ribosite",peg$c118=peg$literalExpectation("ribosite",false),peg$c119="rnastab",peg$c120=peg$literalExpectation("rnastab",false),peg$c121="proteasesite",peg$c122=peg$literalExpectation("proteasesite",false),peg$c123="proteinstab",peg$c124=peg$literalExpectation("proteinstab",false),peg$c125="rpromoter",peg$c126=peg$literalExpectation("rpromoter",false),peg$c127="rarrow",peg$c128=peg$literalExpectation("rarrow",false),peg$c129="larrow",peg$c130=peg$literalExpectation("larrow",false),peg$c131="lpromoter",peg$c132=peg$literalExpectation("lpromoter",false),peg$c133="record",peg$c134=peg$literalExpectation("record",false),peg$c135=peg$otherExpectation("forward light arrow ->"),peg$c136="->",peg$c137=peg$literalExpectation("->",false),peg$c138="→",peg$c139=peg$literalExpectation("→",false),peg$c140=function(){return"->"},peg$c141=peg$otherExpectation("two way light arrow <->"),peg$c142="<->",peg$c143=peg$literalExpectation("<->",false),peg$c144="↔",peg$c145=peg$literalExpectation("↔",false),peg$c146=function(){return"<->"},peg$c147=peg$otherExpectation("back light arrow <-"),peg$c148="<-",peg$c149=peg$literalExpectation("<-",false),peg$c150="←",peg$c151=peg$literalExpectation("←",false),peg$c152=function(){return"<-"},peg$c153=peg$otherExpectation("forward fat arrow =>"),peg$c154="=>",peg$c155=peg$literalExpectation("=>",false),peg$c156="⇒",peg$c157=peg$literalExpectation("⇒",false),peg$c158=function(){return"=>"},peg$c159=peg$otherExpectation("two way fat arrow <=>"),peg$c160="<=>",peg$c161=peg$literalExpectation("<=>",false),peg$c162="⇔",peg$c163=peg$literalExpectation("⇔",false),peg$c164=function(){return"<=>"},peg$c165=peg$otherExpectation("back fat arrow <="),peg$c166="<=",peg$c167=peg$literalExpectation("<=",false),peg$c168="⇐",peg$c169=peg$literalExpectation("⇐",false),peg$c170=function(){return"<="},peg$c171=peg$otherExpectation("forward tilde arrow ~>"),peg$c172="~>",peg$c173=peg$literalExpectation("~>",false),peg$c174="↛",peg$c175=peg$literalExpectation("↛",false),peg$c176=function(){return"~>"},peg$c177=peg$otherExpectation("two way tilde arrow <~>"),peg$c178="<~>",peg$c179=peg$literalExpectation("<~>",false),peg$c180="↮",peg$c181=peg$literalExpectation("↮",false),peg$c182=function(){return"<~>"},peg$c183=peg$otherExpectation("back tilde arrow <~"),peg$c184="<~",peg$c185=peg$literalExpectation("<~",false),peg$c186="↚",peg$c187=peg$literalExpectation("↚",false),peg$c188=function(){return"<~"},peg$c189=peg$otherExpectation("light fat arrow <-=>"),peg$c190="<-=>",peg$c191=peg$literalExpectation("<-=>",false),peg$c192="←⇒",peg$c193=peg$literalExpectation("←⇒",false),peg$c194=function(){return"<-=>"},peg$c195=peg$otherExpectation("light tilde arrow <-~>"),peg$c196="<-~>",peg$c197=peg$literalExpectation("<-~>",false),peg$c198="←↛",peg$c199=peg$literalExpectation("←↛",false),peg$c200=function(){return"<-~>"},peg$c201=peg$otherExpectation("fat light arrow <=->"),peg$c202="<=->",peg$c203=peg$literalExpectation("<=->",false),peg$c204="⇐→",peg$c205=peg$literalExpectation("⇐→",false),peg$c206=function(){return"<=->"},peg$c207=peg$otherExpectation("fat tilde arrow <=~>"),peg$c208="<=~>",peg$c209=peg$literalExpectation("<=~>",false),peg$c210="⇐↛",peg$c211=peg$literalExpectation("⇐↛",false),peg$c212=function(){return"<=~>"},peg$c213=peg$otherExpectation("tilde light arrow <~->"),peg$c214="<~->",peg$c215=peg$literalExpectation("<~->",false),peg$c216="↚→",peg$c217=peg$literalExpectation("↚→",false),peg$c218=function(){return"<~->"},peg$c219=peg$otherExpectation("tilde fat arrow <~=>"),peg$c220="<~=>",peg$c221=peg$literalExpectation("<~=>",false),peg$c222="↚⇒",peg$c223=peg$literalExpectation("↚⇒",false),peg$c224=function(){return"<~=>"},peg$c225=peg$otherExpectation("light arrow"),peg$c226=peg$otherExpectation("fat arrow"),peg$c227=peg$otherExpectation("tilde arrow"),peg$c228=peg$otherExpectation("mixed arrow"),peg$c229=peg$otherExpectation("arrow"),peg$c230="true",peg$c231=peg$literalExpectation("true",false),peg$c232=function(){return true},peg$c233="false",peg$c234=peg$literalExpectation("false",false),peg$c235=function(){return false},peg$c236="regular",peg$c237=peg$literalExpectation("regular",false),peg$c238="rounded",peg$c239=peg$literalExpectation("rounded",false),peg$c240="lined",peg$c241=peg$literalExpectation("lined",false),peg$c242="solid",peg$c243=peg$literalExpectation("solid",false),peg$c244="dotted",peg$c245=peg$literalExpectation("dotted",false),peg$c246="dashed",peg$c247=peg$literalExpectation("dashed",false),peg$c248='"',peg$c249=peg$literalExpectation('"',false),peg$c250="\\",peg$c251=peg$literalExpectation("\\",false),peg$c252="/",peg$c253=peg$literalExpectation("/",false),peg$c254="b",peg$c255=peg$literalExpectation("b",false),peg$c256=function(){return"\b"},peg$c257="f",peg$c258=peg$literalExpectation("f",false),peg$c259=function(){return"\f"},peg$c260="n",peg$c261=peg$literalExpectation("n",false),peg$c262=function(){return"\n"},peg$c263="r",peg$c264=peg$literalExpectation("r",false),peg$c265=function(){return"\r"},peg$c266="t",peg$c267=peg$literalExpectation("t",false),peg$c268=function(){return"\t"},peg$c269="v",peg$c270=peg$literalExpectation("v",false),peg$c271=function(){return"\v"},peg$c272="u",peg$c273=peg$literalExpectation("u",false),peg$c274=function(digits){return String.fromCharCode(parseInt(digits,16))},peg$c275=function(Sequence){return Sequence},peg$c276="null",peg$c277=peg$literalExpectation("null",false),peg$c278=function(){return null},peg$c279="undefined",peg$c280=peg$literalExpectation("undefined",false),peg$c281=function(){return undefined},peg$c282=/^[\0-!#-[\]-\uFFFF]/,peg$c283=peg$classExpectation([["\0","!"],["#","["],["]","￿"]],false,false),peg$c284="'",peg$c285=peg$literalExpectation("'",false),peg$c286=/^[ -&(-[\]-\uFFFF]/,peg$c287=peg$classExpectation([[" ","&"],["(","["],["]","￿"]],false,false),peg$c288=peg$otherExpectation("action label"),peg$c289=function(chars){return chars.join("")},peg$c290=/^[\n\r\u2028\u2029]/,peg$c291=peg$classExpectation(["\n","\r","\u2028","\u2029"],false,false),peg$c294="*/",peg$c295=peg$literalExpectation("*/",false),peg$c296=peg$anyExpectation(),peg$c297=peg$otherExpectation("block comment"),peg$c298="/*",peg$c299=peg$literalExpectation("/*",false),peg$c300=peg$otherExpectation("line comment"),peg$c301="//",peg$c302=peg$literalExpectation("//",false),peg$c303=peg$otherExpectation("whitespace"),peg$c304=/^[ \t\r\n\x0B]/,peg$c305=peg$classExpectation([" ","\t","\r","\n","\v"],false,false),peg$c306=peg$otherExpectation("string"),peg$c307=/^[0-9a-zA-Z._!$\^*!?,\x80-\uFFFF]/,peg$c308=peg$classExpectation([["0","9"],["a","z"],["A","Z"],".","_","!","$","^","*","!","?",",",["€","￿"]],false,false),peg$c309=/^[0-9a-zA-Z.+_\^()*&$#@!?,\x80-\uFFFF]/,peg$c310=peg$classExpectation([["0","9"],["a","z"],["A","Z"],".","+","_","^","(",")","*","&","$","#","@","!","?",",",["€","￿"]],false,false),peg$c311=peg$otherExpectation("atom"),peg$c312=function(firstletter,text){return firstletter+(text||[]).join("")},peg$c313=peg$otherExpectation("label"),peg$c314="0",peg$c315=peg$literalExpectation("0",false),peg$c316=/^[0-9]/,peg$c317=peg$classExpectation([["0","9"]],false,false),peg$c318=/^[1-9]/,peg$c319=peg$classExpectation([["1","9"]],false,false),peg$c320=/^[0-9a-f]/i,peg$c321=peg$classExpectation([["0","9"],["a","f"]],false,true),peg$c322=/^[0-1]/,peg$c323=peg$classExpectation([["0","1"]],false,false),peg$c324=peg$otherExpectation("nonneg number"),peg$c325=".",peg$c326=peg$literalExpectation(".",false),peg$c327=function(){return parseFloat(text())},peg$c328=peg$otherExpectation("number"),peg$c329=function(literal){return literal},peg$c330="NaN",peg$c331=peg$literalExpectation("NaN",false),peg$c332=function(){return NaN},peg$c333="NegativeInfinity",peg$c334=peg$literalExpectation("NegativeInfinity",false),peg$c335=function(){return Number.NEGATIVE_INFINITY},peg$c336="NegativeInf",peg$c337=peg$literalExpectation("NegativeInf",false),peg$c338="NegInfinity",peg$c339=peg$literalExpectation("NegInfinity",false),peg$c340="NegInf",peg$c341=peg$literalExpectation("NegInf",false),peg$c342="NInfinity",peg$c343=peg$literalExpectation("NInfinity",false),peg$c344="NInf",peg$c345=peg$literalExpectation("NInf",false),peg$c346="-∞",peg$c347=peg$literalExpectation("-∞",false),peg$c348="PInfinity",peg$c349=peg$literalExpectation("PInfinity",false),peg$c350=function(){return Number.POSITIVE_INFINITY},peg$c351="Infinity",peg$c352=peg$literalExpectation("Infinity",false),peg$c353="PInf",peg$c354=peg$literalExpectation("PInf",false),peg$c355="Inf",peg$c356=peg$literalExpectation("Inf",false),peg$c357="∞",peg$c358=peg$literalExpectation("∞",false),peg$c359="Epsilon",peg$c360=peg$literalExpectation("Epsilon",false),peg$c361=function(){return Number.EPSILON},peg$c362="𝜀",peg$c363=peg$literalExpectation("𝜀",false),peg$c364="ε",peg$c365=peg$literalExpectation("ε",false),peg$c366="Pi",peg$c367=peg$literalExpectation("Pi",false),peg$c368=function(){return Math.PI},peg$c369="𝜋",peg$c370=peg$literalExpectation("𝜋",false),peg$c371="π",peg$c372=peg$literalExpectation("π",false),peg$c373="EulerNumber",peg$c374=peg$literalExpectation("EulerNumber",false),peg$c375=function(){return Math.E},peg$c376="E",peg$c377=peg$literalExpectation("E",false),peg$c378="e",peg$c379=peg$literalExpectation("e",false),peg$c380="Ɛ",peg$c381=peg$literalExpectation("Ɛ",false),peg$c382="ℇ",peg$c383=peg$literalExpectation("ℇ",false),peg$c384="Root2",peg$c385=peg$literalExpectation("Root2",false),peg$c386=function(){return Math.SQRT2},peg$c387="RootHalf",peg$c388=peg$literalExpectation("RootHalf",false),peg$c389=function(){return Math.SQRT1_2},peg$c390="Ln2",peg$c391=peg$literalExpectation("Ln2",false),peg$c392=function(){return Math.LN2},peg$c393="NatLog2",peg$c394=peg$literalExpectation("NatLog2",false),peg$c395="Ln10",peg$c396=peg$literalExpectation("Ln10",false),peg$c397=function(){return Math.LN10},peg$c398="NatLog10",peg$c399=peg$literalExpectation("NatLog10",false),peg$c400="Log2E",peg$c401=peg$literalExpectation("Log2E",false),peg$c402=function(){return Math.LOG2E},peg$c403="Log10E",peg$c404=peg$literalExpectation("Log10E",false),peg$c405=function(){return Math.LOG10E},peg$c406="MaxSafeInt",peg$c407=peg$literalExpectation("MaxSafeInt",false),peg$c408=function(){return Number.MAX_SAFE_INTEGER},peg$c409="MinSafeInt",peg$c410=peg$literalExpectation("MinSafeInt",false),peg$c411=function(){return Number.MIN_SAFE_INTEGER},peg$c412="MaxPosNum",peg$c413=peg$literalExpectation("MaxPosNum",false),peg$c414=function(){return Number.MAX_VALUE},peg$c415="MinPosNum",peg$c416=peg$literalExpectation("MinPosNum",false),peg$c417=function(){return Number.MIN_VALUE},peg$c418="Phi",peg$c419=peg$literalExpectation("Phi",false),peg$c420=function(){return 1.618033988749895},peg$c421="𝜑",peg$c422=peg$literalExpectation("𝜑",false),peg$c423="𝜙",peg$c424=peg$literalExpectation("𝜙",false),peg$c425="ϕ",peg$c426=peg$literalExpectation("ϕ",false),peg$c427="φ",peg$c428=peg$literalExpectation("φ",false),peg$c429="EulerConstant",peg$c430=peg$literalExpectation("EulerConstant",false),peg$c431=function(){return.5772156649015329},peg$c432="γ",peg$c433=peg$literalExpectation("γ",false),peg$c434="𝛾",peg$c435=peg$literalExpectation("𝛾",false),peg$c436=peg$literalExpectation("e",true),peg$c437=/^[+\-]/,peg$c438=peg$classExpectation(["+","-"],false,false),peg$c439="0x",peg$c440=peg$literalExpectation("0x",true),peg$c441=function(digits){return parseInt(digits,16)},peg$c442="0b",peg$c443=peg$literalExpectation("0b",true),peg$c444=function(digits){return parseInt(digits,2)},peg$c445="0o",peg$c446=peg$literalExpectation("0o",true),peg$c447=function(digits){return parseInt(digits,8)},peg$c448=function(major,minor,patch){return{major:parseInt(major,10),minor:parseInt(minor,10),patch:parseInt(patch,10),full:text()}},peg$c459="http://",peg$c460=peg$literalExpectation("http://",false),peg$c461="https://",peg$c462=peg$literalExpectation("https://",false),peg$c463=/^[a-zA-Z0-9!*'():;@&=+$,\/?#[\]_.~\-]/,peg$c464=peg$classExpectation([["a","z"],["A","Z"],["0","9"],"!","*","'","(",")",":",";","@","&","=","+","$",",","/","?","#","[","]","_",".","~","-"],false,false),peg$c465=function(protocol){return text()},peg$c466="aliceblue",peg$c467=peg$literalExpectation("aliceblue",false),peg$c468=function(){return"#f0f8ffff"},peg$c469="AliceBlue",peg$c470=peg$literalExpectation("AliceBlue",false),peg$c471="antiquewhite",peg$c472=peg$literalExpectation("antiquewhite",false),peg$c473=function(){return"#faebd7ff"},peg$c474="AntiqueWhite",peg$c475=peg$literalExpectation("AntiqueWhite",false),peg$c476="aquamarine",peg$c477=peg$literalExpectation("aquamarine",false),peg$c478=function(){return"#7fffd4ff"},peg$c479="Aquamarine",peg$c480=peg$literalExpectation("Aquamarine",false),peg$c481="aqua",peg$c482=peg$literalExpectation("aqua",false),peg$c483=function(){return"#00ffffff"},peg$c484="Aqua",peg$c485=peg$literalExpectation("Aqua",false),peg$c486="azure",peg$c487=peg$literalExpectation("azure",false),peg$c488=function(){return"#f0ffffff"},peg$c489="Azure",peg$c490=peg$literalExpectation("Azure",false),peg$c491="beige",peg$c492=peg$literalExpectation("beige",false),peg$c493=function(){return"#f5f5dcff"},peg$c494="Beige",peg$c495=peg$literalExpectation("Beige",false),peg$c496="bisque",peg$c497=peg$literalExpectation("bisque",false),peg$c498=function(){return"#ffe4c4ff"},peg$c499="Bisque",peg$c500=peg$literalExpectation("Bisque",false),peg$c501="black",peg$c502=peg$literalExpectation("black",false),peg$c503=function(){return"#000000ff"},peg$c504="Black",peg$c505=peg$literalExpectation("Black",false),peg$c506="blanchedalmond",peg$c507=peg$literalExpectation("blanchedalmond",false),peg$c508=function(){return"#ffebcdff"},peg$c509="BlanchedAlmond",peg$c510=peg$literalExpectation("BlanchedAlmond",false),peg$c511="blueviolet",peg$c512=peg$literalExpectation("blueviolet",false),peg$c513=function(){return"#8a2be2ff"},peg$c514="BlueViolet",peg$c515=peg$literalExpectation("BlueViolet",false),peg$c516="blue",peg$c517=peg$literalExpectation("blue",false),peg$c518=function(){return"#0000ffff"},peg$c519="Blue",peg$c520=peg$literalExpectation("Blue",false),peg$c521="brown",peg$c522=peg$literalExpectation("brown",false),peg$c523=function(){return"#a52a2aff"},peg$c524="Brown",peg$c525=peg$literalExpectation("Brown",false),peg$c526="burlywood",peg$c527=peg$literalExpectation("burlywood",false),peg$c528=function(){return"#deb887ff"},peg$c529="BurlyWood",peg$c530=peg$literalExpectation("BurlyWood",false),peg$c531="cadetblue",peg$c532=peg$literalExpectation("cadetblue",false),peg$c533=function(){return"#5f9ea0ff"},peg$c534="CadetBlue",peg$c535=peg$literalExpectation("CadetBlue",false),peg$c536="chartreuse",peg$c537=peg$literalExpectation("chartreuse",false),peg$c538=function(){return"#7fff00ff"},peg$c539="Chartreuse",peg$c540=peg$literalExpectation("Chartreuse",false),peg$c541="chocolate",peg$c542=peg$literalExpectation("chocolate",false),peg$c543=function(){return"#d2691eff"},peg$c544="Chocolate",peg$c545=peg$literalExpectation("Chocolate",false),peg$c546="coral",peg$c547=peg$literalExpectation("coral",false),peg$c548=function(){return"#ff7f50ff"},peg$c549="Coral",peg$c550=peg$literalExpectation("Coral",false),peg$c551="cornflowerblue",peg$c552=peg$literalExpectation("cornflowerblue",false),peg$c553=function(){return"#6495edff"},peg$c554="CornflowerBlue",peg$c555=peg$literalExpectation("CornflowerBlue",false),peg$c556="cornsilk",peg$c557=peg$literalExpectation("cornsilk",false),peg$c558=function(){return"#fff8dcff"},peg$c559="Cornsilk",peg$c560=peg$literalExpectation("Cornsilk",false),peg$c561="crimson",peg$c562=peg$literalExpectation("crimson",false),peg$c563=function(){return"#dc143cff"},peg$c564="Crimson",peg$c565=peg$literalExpectation("Crimson",false),peg$c566="cyan",peg$c567=peg$literalExpectation("cyan",false),peg$c568="Cyan",peg$c569=peg$literalExpectation("Cyan",false),peg$c570="darkblue",peg$c571=peg$literalExpectation("darkblue",false),peg$c572=function(){return"#00008bff"},peg$c573="DarkBlue",peg$c574=peg$literalExpectation("DarkBlue",false),peg$c575="darkcyan",peg$c576=peg$literalExpectation("darkcyan",false),peg$c577=function(){return"#008b8bff"},peg$c578="DarkCyan",peg$c579=peg$literalExpectation("DarkCyan",false),peg$c580="darkgoldenrod",peg$c581=peg$literalExpectation("darkgoldenrod",false),peg$c582=function(){return"#b8860bff"},peg$c583="DarkGoldenRod",peg$c584=peg$literalExpectation("DarkGoldenRod",false),peg$c585="darkgray",peg$c586=peg$literalExpectation("darkgray",false),peg$c587=function(){return"#a9a9a9ff"},peg$c588="DarkGray",peg$c589=peg$literalExpectation("DarkGray",false),peg$c590="darkgrey",peg$c591=peg$literalExpectation("darkgrey",false),peg$c592="DarkGrey",peg$c593=peg$literalExpectation("DarkGrey",false),peg$c594="darkgreen",peg$c595=peg$literalExpectation("darkgreen",false),peg$c596=function(){return"#006400ff"},peg$c597="DarkGreen",peg$c598=peg$literalExpectation("DarkGreen",false),peg$c599="darkkhaki",peg$c600=peg$literalExpectation("darkkhaki",false),peg$c601=function(){return"#bdb76bff"},peg$c602="DarkKhaki",peg$c603=peg$literalExpectation("DarkKhaki",false),peg$c604="darkmagenta",peg$c605=peg$literalExpectation("darkmagenta",false),peg$c606=function(){return"#8b008bff"},peg$c607="DarkMagenta",peg$c608=peg$literalExpectation("DarkMagenta",false),peg$c609="darkolivegreen",peg$c610=peg$literalExpectation("darkolivegreen",false),peg$c611=function(){return"#556b2fff"},peg$c612="DarkOliveGreen",peg$c613=peg$literalExpectation("DarkOliveGreen",false),peg$c614="darkorange",peg$c615=peg$literalExpectation("darkorange",false),peg$c616=function(){return"#ff8c00ff"},peg$c617="Darkorange",peg$c618=peg$literalExpectation("Darkorange",false),peg$c619="darkorchid",peg$c620=peg$literalExpectation("darkorchid",false),peg$c621=function(){return"#9932ccff"},peg$c622="DarkOrchid",peg$c623=peg$literalExpectation("DarkOrchid",false),peg$c624="darkred",peg$c625=peg$literalExpectation("darkred",false),peg$c626=function(){return"#8b0000ff"},peg$c627="DarkRed",peg$c628=peg$literalExpectation("DarkRed",false),peg$c629="darksalmon",peg$c630=peg$literalExpectation("darksalmon",false),peg$c631=function(){return"#e9967aff"},peg$c632="DarkSalmon",peg$c633=peg$literalExpectation("DarkSalmon",false),peg$c634="darkseagreen",peg$c635=peg$literalExpectation("darkseagreen",false),peg$c636=function(){return"#8fbc8fff"},peg$c637="DarkSeaGreen",peg$c638=peg$literalExpectation("DarkSeaGreen",false),peg$c639="darkslateblue",peg$c640=peg$literalExpectation("darkslateblue",false),peg$c641=function(){return"#483d8bff"},peg$c642="DarkSlateBlue",peg$c643=peg$literalExpectation("DarkSlateBlue",false),peg$c644="darkslategray",peg$c645=peg$literalExpectation("darkslategray",false),peg$c646=function(){return"#2f4f4fff"},peg$c647="DarkSlateGray",peg$c648=peg$literalExpectation("DarkSlateGray",false),peg$c649="darkslategrey",peg$c650=peg$literalExpectation("darkslategrey",false),peg$c651="DarkSlateGrey",peg$c652=peg$literalExpectation("DarkSlateGrey",false),peg$c653="darkturquoise",peg$c654=peg$literalExpectation("darkturquoise",false),peg$c655=function(){return"#00ced1ff"},peg$c656="DarkTurquoise",peg$c657=peg$literalExpectation("DarkTurquoise",false),peg$c658="darkviolet",peg$c659=peg$literalExpectation("darkviolet",false),peg$c660=function(){return"#9400d3ff"},peg$c661="DarkViolet",peg$c662=peg$literalExpectation("DarkViolet",false),peg$c663="deeppink",peg$c664=peg$literalExpectation("deeppink",false),peg$c665=function(){return"#ff1493ff"},peg$c666="DeepPink",peg$c667=peg$literalExpectation("DeepPink",false),peg$c668="deepskyblue",peg$c669=peg$literalExpectation("deepskyblue",false),peg$c670=function(){return"#00bfffff"},peg$c671="DeepSkyBlue",peg$c672=peg$literalExpectation("DeepSkyBlue",false),peg$c673="dimgray",peg$c674=peg$literalExpectation("dimgray",false),peg$c675=function(){return"#696969ff"},peg$c676="DimGray",peg$c677=peg$literalExpectation("DimGray",false),peg$c678="dimgrey",peg$c679=peg$literalExpectation("dimgrey",false),peg$c680="DimGrey",peg$c681=peg$literalExpectation("DimGrey",false),peg$c682="dodgerblue",peg$c683=peg$literalExpectation("dodgerblue",false),peg$c684=function(){return"#1e90ffff"},peg$c685="DodgerBlue",peg$c686=peg$literalExpectation("DodgerBlue",false),peg$c687="firebrick",peg$c688=peg$literalExpectation("firebrick",false),peg$c689=function(){return"#b22222ff"},peg$c690="FireBrick",peg$c691=peg$literalExpectation("FireBrick",false),peg$c692="floralwhite",peg$c693=peg$literalExpectation("floralwhite",false),peg$c694=function(){return"#fffaf0ff"},peg$c695="FloralWhite",peg$c696=peg$literalExpectation("FloralWhite",false),peg$c697="forestgreen",peg$c698=peg$literalExpectation("forestgreen",false),peg$c699=function(){return"#228b22ff"},peg$c700="ForestGreen",peg$c701=peg$literalExpectation("ForestGreen",false),peg$c702="fuchsia",peg$c703=peg$literalExpectation("fuchsia",false),peg$c704=function(){return"#ff00ffff"},peg$c705="Fuchsia",peg$c706=peg$literalExpectation("Fuchsia",false),peg$c707="gainsboro",peg$c708=peg$literalExpectation("gainsboro",false),peg$c709=function(){return"#dcdcdcff"},peg$c710="Gainsboro",peg$c711=peg$literalExpectation("Gainsboro",false),peg$c712="ghostwhite",peg$c713=peg$literalExpectation("ghostwhite",false),peg$c714=function(){return"#f8f8ffff"},peg$c715="GhostWhite",peg$c716=peg$literalExpectation("GhostWhite",false),peg$c717="goldenrod",peg$c718=peg$literalExpectation("goldenrod",false),peg$c719=function(){return"#daa520ff"},peg$c720="GoldenRod",peg$c721=peg$literalExpectation("GoldenRod",false),peg$c722="gold",peg$c723=peg$literalExpectation("gold",false),peg$c724=function(){return"#ffd700ff"},peg$c725="Gold",peg$c726=peg$literalExpectation("Gold",false),peg$c727="gray",peg$c728=peg$literalExpectation("gray",false),peg$c729=function(){return"#808080ff"},peg$c730="Gray",peg$c731=peg$literalExpectation("Gray",false),peg$c732="grey",peg$c733=peg$literalExpectation("grey",false),peg$c734="Grey",peg$c735=peg$literalExpectation("Grey",false),peg$c736="greenyellow",peg$c737=peg$literalExpectation("greenyellow",false),peg$c738=function(){return"#adff2fff"},peg$c739="GreenYellow",peg$c740=peg$literalExpectation("GreenYellow",false),peg$c741="green",peg$c742=peg$literalExpectation("green",false),peg$c743=function(){return"#008000ff"},peg$c744="Green",peg$c745=peg$literalExpectation("Green",false),peg$c746="honeydew",peg$c747=peg$literalExpectation("honeydew",false),peg$c748=function(){return"#f0fff0ff"},peg$c749="HoneyDew",peg$c750=peg$literalExpectation("HoneyDew",false),peg$c751="hotpink",peg$c752=peg$literalExpectation("hotpink",false),peg$c753=function(){return"#ff69b4ff"},peg$c754="HotPink",peg$c755=peg$literalExpectation("HotPink",false),peg$c756="indianred",peg$c757=peg$literalExpectation("indianred",false),peg$c758=function(){return"#cd5c5cff"},peg$c759="IndianRed",peg$c760=peg$literalExpectation("IndianRed",false),peg$c761="indigo",peg$c762=peg$literalExpectation("indigo",false),peg$c763=function(){return"#4b0082ff"},peg$c764="Indigo",peg$c765=peg$literalExpectation("Indigo",false),peg$c766="ivory",peg$c767=peg$literalExpectation("ivory",false),peg$c768=function(){return"#fffff0ff"},peg$c769="Ivory",peg$c770=peg$literalExpectation("Ivory",false),peg$c771="khaki",peg$c772=peg$literalExpectation("khaki",false),peg$c773=function(){return"#f0e68cff"},peg$c774="Khaki",peg$c775=peg$literalExpectation("Khaki",false),peg$c776="lavenderblush",peg$c777=peg$literalExpectation("lavenderblush",false),peg$c778=function(){return"#fff0f5ff"},peg$c779="LavenderBlush",peg$c780=peg$literalExpectation("LavenderBlush",false),peg$c781="lavender",peg$c782=peg$literalExpectation("lavender",false),peg$c783=function(){return"#e6e6faff"},peg$c784="Lavender",peg$c785=peg$literalExpectation("Lavender",false),peg$c786="lawngreen",peg$c787=peg$literalExpectation("lawngreen",false),peg$c788=function(){return"#7cfc00ff"},peg$c789="LawnGreen",peg$c790=peg$literalExpectation("LawnGreen",false),peg$c791="lemonchiffon",peg$c792=peg$literalExpectation("lemonchiffon",false),peg$c793=function(){return"#fffacdff"},peg$c794="LemonChiffon",peg$c795=peg$literalExpectation("LemonChiffon",false),peg$c796="lightblue",peg$c797=peg$literalExpectation("lightblue",false),peg$c798=function(){return"#add8e6ff"},peg$c799="LightBlue",peg$c800=peg$literalExpectation("LightBlue",false),peg$c801="lightcoral",peg$c802=peg$literalExpectation("lightcoral",false),peg$c803=function(){return"#f08080ff"},peg$c804="LightCoral",peg$c805=peg$literalExpectation("LightCoral",false),peg$c806="lightcyan",peg$c807=peg$literalExpectation("lightcyan",false),peg$c808=function(){return"#e0ffffff"},peg$c809="LightCyan",peg$c810=peg$literalExpectation("LightCyan",false),peg$c811="lightgoldenrodyellow",peg$c812=peg$literalExpectation("lightgoldenrodyellow",false),peg$c813=function(){return"#fafad2ff"},peg$c814="LightGoldenRodYellow",peg$c815=peg$literalExpectation("LightGoldenRodYellow",false),peg$c816="lightgray",peg$c817=peg$literalExpectation("lightgray",false),peg$c818=function(){return"#d3d3d3ff"},peg$c819="LightGray",peg$c820=peg$literalExpectation("LightGray",false),peg$c821="lightgrey",peg$c822=peg$literalExpectation("lightgrey",false),peg$c823="LightGrey",peg$c824=peg$literalExpectation("LightGrey",false),peg$c825="lightgreen",peg$c826=peg$literalExpectation("lightgreen",false),peg$c827=function(){return"#90ee90ff"},peg$c828="LightGreen",peg$c829=peg$literalExpectation("LightGreen",false),peg$c830="lightpink",peg$c831=peg$literalExpectation("lightpink",false),peg$c832=function(){return"#ffb6c1ff"},peg$c833="LightPink",peg$c834=peg$literalExpectation("LightPink",false),peg$c835="lightsalmon",peg$c836=peg$literalExpectation("lightsalmon",false),peg$c837=function(){return"#ffa07aff"},peg$c838="LightSalmon",peg$c839=peg$literalExpectation("LightSalmon",false),peg$c840="lightseagreen",peg$c841=peg$literalExpectation("lightseagreen",false),peg$c842=function(){return"#20b2aaff"},peg$c843="LightSeaGreen",peg$c844=peg$literalExpectation("LightSeaGreen",false),peg$c845="lightskyblue",peg$c846=peg$literalExpectation("lightskyblue",false),peg$c847=function(){return"#87cefaff"},peg$c848="LightSkyBlue",peg$c849=peg$literalExpectation("LightSkyBlue",false),peg$c850="lightslategray",peg$c851=peg$literalExpectation("lightslategray",false),peg$c852=function(){return"#778899ff"},peg$c853="LightSlateGray",peg$c854=peg$literalExpectation("LightSlateGray",false),peg$c855="lightslategrey",peg$c856=peg$literalExpectation("lightslategrey",false),peg$c857="LightSlateGrey",peg$c858=peg$literalExpectation("LightSlateGrey",false),peg$c859="lightsteelblue",peg$c860=peg$literalExpectation("lightsteelblue",false),peg$c861=function(){return"#b0c4deff"},peg$c862="LightSteelBlue",peg$c863=peg$literalExpectation("LightSteelBlue",false),peg$c864="lightyellow",peg$c865=peg$literalExpectation("lightyellow",false),peg$c866=function(){return"#ffffe0ff"},peg$c867="LightYellow",peg$c868=peg$literalExpectation("LightYellow",false),peg$c869="limegreen",peg$c870=peg$literalExpectation("limegreen",false),peg$c871=function(){return"#32cd32ff"},peg$c872="LimeGreen",peg$c873=peg$literalExpectation("LimeGreen",false),peg$c874="lime",peg$c875=peg$literalExpectation("lime",false),peg$c876=function(){return"#00ff00ff"},peg$c877="Lime",peg$c878=peg$literalExpectation("Lime",false),peg$c879="linen",peg$c880=peg$literalExpectation("linen",false),peg$c881=function(){return"#faf0e6ff"},peg$c882="Linen",peg$c883=peg$literalExpectation("Linen",false),peg$c884="magenta",peg$c885=peg$literalExpectation("magenta",false),peg$c886="Magenta",peg$c887=peg$literalExpectation("Magenta",false),peg$c888="maroon",peg$c889=peg$literalExpectation("maroon",false),peg$c890=function(){return"#800000ff"},peg$c891="Maroon",peg$c892=peg$literalExpectation("Maroon",false),peg$c893="mediumaquamarine",peg$c894=peg$literalExpectation("mediumaquamarine",false),peg$c895=function(){return"#66cdaaff"},peg$c896="MediumAquaMarine",peg$c897=peg$literalExpectation("MediumAquaMarine",false),peg$c898="mediumblue",peg$c899=peg$literalExpectation("mediumblue",false),peg$c900=function(){return"#0000cdff"},peg$c901="MediumBlue",peg$c902=peg$literalExpectation("MediumBlue",false),peg$c903="mediumorchid",peg$c904=peg$literalExpectation("mediumorchid",false),peg$c905=function(){return"#ba55d3ff"},peg$c906="MediumOrchid",peg$c907=peg$literalExpectation("MediumOrchid",false),peg$c908="mediumpurple",peg$c909=peg$literalExpectation("mediumpurple",false),peg$c910=function(){return"#9370d8ff"},peg$c911="MediumPurple",peg$c912=peg$literalExpectation("MediumPurple",false),peg$c913="mediumseagreen",peg$c914=peg$literalExpectation("mediumseagreen",false),peg$c915=function(){return"#3cb371ff"},peg$c916="MediumSeaGreen",peg$c917=peg$literalExpectation("MediumSeaGreen",false),peg$c918="mediumslateblue",peg$c919=peg$literalExpectation("mediumslateblue",false),peg$c920=function(){return"#7b68eeff"},peg$c921="MediumSlateBlue",peg$c922=peg$literalExpectation("MediumSlateBlue",false),peg$c923="mediumspringgreen",peg$c924=peg$literalExpectation("mediumspringgreen",false),peg$c925=function(){return"#00fa9aff"},peg$c926="MediumSpringGreen",peg$c927=peg$literalExpectation("MediumSpringGreen",false),peg$c928="mediumturquoise",peg$c929=peg$literalExpectation("mediumturquoise",false),peg$c930=function(){return"#48d1ccff"},peg$c931="MediumTurquoise",peg$c932=peg$literalExpectation("MediumTurquoise",false),peg$c933="mediumvioletred",peg$c934=peg$literalExpectation("mediumvioletred",false),peg$c935=function(){return"#c71585ff"},peg$c936="MediumVioletRed",peg$c937=peg$literalExpectation("MediumVioletRed",false),peg$c938="midnightblue",peg$c939=peg$literalExpectation("midnightblue",false),peg$c940=function(){return"#191970ff"},peg$c941="MidnightBlue",peg$c942=peg$literalExpectation("MidnightBlue",false),peg$c943="mintcream",peg$c944=peg$literalExpectation("mintcream",false),peg$c945=function(){return"#f5fffaff"},peg$c946="MintCream",peg$c947=peg$literalExpectation("MintCream",false),peg$c948="mistyrose",peg$c949=peg$literalExpectation("mistyrose",false),peg$c950=function(){return"#ffe4e1ff"},peg$c951="MistyRose",peg$c952=peg$literalExpectation("MistyRose",false),peg$c953="moccasin",peg$c954=peg$literalExpectation("moccasin",false),peg$c955=function(){return"#ffe4b5ff"},peg$c956="Moccasin",peg$c957=peg$literalExpectation("Moccasin",false),peg$c958="navajowhite",peg$c959=peg$literalExpectation("navajowhite",false),peg$c960=function(){return"#ffdeadff"},peg$c961="NavajoWhite",peg$c962=peg$literalExpectation("NavajoWhite",false),peg$c963="navy",peg$c964=peg$literalExpectation("navy",false),peg$c965=function(){return"#000080ff"},peg$c966="Navy",peg$c967=peg$literalExpectation("Navy",false),peg$c968="oldlace",peg$c969=peg$literalExpectation("oldlace",false),peg$c970=function(){return"#fdf5e6ff"},peg$c971="OldLace",peg$c972=peg$literalExpectation("OldLace",false),peg$c973="olivedrab",peg$c974=peg$literalExpectation("olivedrab",false),peg$c975=function(){return"#6b8e23ff"},peg$c976="OliveDrab",peg$c977=peg$literalExpectation("OliveDrab",false),peg$c978="olive",peg$c979=peg$literalExpectation("olive",false),peg$c980=function(){return"#808000ff"},peg$c981="Olive",peg$c982=peg$literalExpectation("Olive",false),peg$c983="orangered",peg$c984=peg$literalExpectation("orangered",false),peg$c985=function(){return"#ff4500ff"},peg$c986="OrangeRed",peg$c987=peg$literalExpectation("OrangeRed",false),peg$c988="orange",peg$c989=peg$literalExpectation("orange",false),peg$c990=function(){return"#ffa500ff"},peg$c991="Orange",peg$c992=peg$literalExpectation("Orange",false),peg$c993="orchid",peg$c994=peg$literalExpectation("orchid",false),peg$c995=function(){return"#da70d6ff"},peg$c996="Orchid",peg$c997=peg$literalExpectation("Orchid",false),peg$c998="palegoldenrod",peg$c999=peg$literalExpectation("palegoldenrod",false),peg$c1000=function(){return"#eee8aaff"},peg$c1001="PaleGoldenRod",peg$c1002=peg$literalExpectation("PaleGoldenRod",false),peg$c1003="palegreen",peg$c1004=peg$literalExpectation("palegreen",false),peg$c1005=function(){return"#98fb98ff"},peg$c1006="PaleGreen",peg$c1007=peg$literalExpectation("PaleGreen",false),peg$c1008="paleturquoise",peg$c1009=peg$literalExpectation("paleturquoise",false),peg$c1010=function(){return"#afeeeeff"},peg$c1011="PaleTurquoise",peg$c1012=peg$literalExpectation("PaleTurquoise",false),peg$c1013="palevioletred",peg$c1014=peg$literalExpectation("palevioletred",false),peg$c1015=function(){return"#d87093ff"},peg$c1016="PaleVioletRed",peg$c1017=peg$literalExpectation("PaleVioletRed",false),peg$c1018="papayawhip",peg$c1019=peg$literalExpectation("papayawhip",false),peg$c1020=function(){return"#ffefd5ff"},peg$c1021="PapayaWhip",peg$c1022=peg$literalExpectation("PapayaWhip",false),peg$c1023="peachpuff",peg$c1024=peg$literalExpectation("peachpuff",false),peg$c1025=function(){return"#ffdab9ff"},peg$c1026="PeachPuff",peg$c1027=peg$literalExpectation("PeachPuff",false),peg$c1028="peru",peg$c1029=peg$literalExpectation("peru",false),peg$c1030=function(){return"#cd853fff"},peg$c1031="Peru",peg$c1032=peg$literalExpectation("Peru",false),peg$c1033="pink",peg$c1034=peg$literalExpectation("pink",false),peg$c1035=function(){return"#ffc0cbff"},peg$c1036="Pink",peg$c1037=peg$literalExpectation("Pink",false),peg$c1038="plum",peg$c1039=peg$literalExpectation("plum",false),peg$c1040=function(){return"#dda0ddff"},peg$c1041="Plum",peg$c1042=peg$literalExpectation("Plum",false),peg$c1043="powderblue",peg$c1044=peg$literalExpectation("powderblue",false),peg$c1045=function(){return"#b0e0e6ff"},peg$c1046="PowderBlue",peg$c1047=peg$literalExpectation("PowderBlue",false),peg$c1048="purple",peg$c1049=peg$literalExpectation("purple",false),peg$c1050=function(){return"#800080ff"},peg$c1051="Purple",peg$c1052=peg$literalExpectation("Purple",false),peg$c1053="red",peg$c1054=peg$literalExpectation("red",false),peg$c1055=function(){return"#ff0000ff"},peg$c1056="Red",peg$c1057=peg$literalExpectation("Red",false),peg$c1058="rosybrown",peg$c1059=peg$literalExpectation("rosybrown",false),peg$c1060=function(){return"#bc8f8fff"},peg$c1061="RosyBrown",peg$c1062=peg$literalExpectation("RosyBrown",false),peg$c1063="royalblue",peg$c1064=peg$literalExpectation("royalblue",false),peg$c1065=function(){return"#4169e1ff"},peg$c1066="RoyalBlue",peg$c1067=peg$literalExpectation("RoyalBlue",false),peg$c1068="saddlebrown",peg$c1069=peg$literalExpectation("saddlebrown",false),peg$c1070=function(){return"#8b4513ff"},peg$c1071="SaddleBrown",peg$c1072=peg$literalExpectation("SaddleBrown",false),peg$c1073="salmon",peg$c1074=peg$literalExpectation("salmon",false),peg$c1075=function(){return"#fa8072ff"},peg$c1076="Salmon",peg$c1077=peg$literalExpectation("Salmon",false),peg$c1078="sandybrown",peg$c1079=peg$literalExpectation("sandybrown",false),peg$c1080=function(){return"#f4a460ff"},peg$c1081="SandyBrown",peg$c1082=peg$literalExpectation("SandyBrown",false),peg$c1083="seagreen",peg$c1084=peg$literalExpectation("seagreen",false),peg$c1085=function(){return"#2e8b57ff"},peg$c1086="SeaGreen",peg$c1087=peg$literalExpectation("SeaGreen",false),peg$c1088="seashell",peg$c1089=peg$literalExpectation("seashell",false),peg$c1090=function(){return"#fff5eeff"},peg$c1091="SeaShell",peg$c1092=peg$literalExpectation("SeaShell",false),peg$c1093="sienna",peg$c1094=peg$literalExpectation("sienna",false),peg$c1095=function(){return"#a0522dff"},peg$c1096="Sienna",peg$c1097=peg$literalExpectation("Sienna",false),peg$c1098="silver",peg$c1099=peg$literalExpectation("silver",false),peg$c1100=function(){return"#c0c0c0ff"},peg$c1101="Silver",peg$c1102=peg$literalExpectation("Silver",false),peg$c1103="skyblue",peg$c1104=peg$literalExpectation("skyblue",false),peg$c1105=function(){return"#87ceebff"},peg$c1106="SkyBlue",peg$c1107=peg$literalExpectation("SkyBlue",false),peg$c1108="slateblue",peg$c1109=peg$literalExpectation("slateblue",false),peg$c1110=function(){return"#6a5acdff"},peg$c1111="SlateBlue",peg$c1112=peg$literalExpectation("SlateBlue",false),peg$c1113="slategray",peg$c1114=peg$literalExpectation("slategray",false),peg$c1115=function(){return"#708090ff"},peg$c1116="SlateGray",peg$c1117=peg$literalExpectation("SlateGray",false),peg$c1118="slategrey",peg$c1119=peg$literalExpectation("slategrey",false),peg$c1120="SlateGrey",peg$c1121=peg$literalExpectation("SlateGrey",false),peg$c1122="snow",peg$c1123=peg$literalExpectation("snow",false),peg$c1124=function(){return"#fffafaff"},peg$c1125="Snow",peg$c1126=peg$literalExpectation("Snow",false),peg$c1127="springgreen",peg$c1128=peg$literalExpectation("springgreen",false),peg$c1129=function(){return"#00ff7fff"},peg$c1130="SpringGreen",peg$c1131=peg$literalExpectation("SpringGreen",false),peg$c1132="steelblue",peg$c1133=peg$literalExpectation("steelblue",false),peg$c1134=function(){return"#4682b4ff"},peg$c1135="SteelBlue",peg$c1136=peg$literalExpectation("SteelBlue",false),peg$c1137="tan",peg$c1138=peg$literalExpectation("tan",false),peg$c1139=function(){return"#d2b48cff"},peg$c1140="Tan",peg$c1141=peg$literalExpectation("Tan",false),peg$c1142="teal",peg$c1143=peg$literalExpectation("teal",false),peg$c1144=function(){return"#008080ff"},peg$c1145="Teal",peg$c1146=peg$literalExpectation("Teal",false),peg$c1147="thistle",peg$c1148=peg$literalExpectation("thistle",false),peg$c1149=function(){return"#d8bfd8ff"},peg$c1150="Thistle",peg$c1151=peg$literalExpectation("Thistle",false),peg$c1152="tomato",peg$c1153=peg$literalExpectation("tomato",false),peg$c1154=function(){return"#ff6347ff"},peg$c1155="Tomato",peg$c1156=peg$literalExpectation("Tomato",false),peg$c1157="turquoise",peg$c1158=peg$literalExpectation("turquoise",false),peg$c1159=function(){return"#40e0d0ff"},peg$c1160="Turquoise",peg$c1161=peg$literalExpectation("Turquoise",false),peg$c1162="violet",peg$c1163=peg$literalExpectation("violet",false),peg$c1164=function(){return"#ee82eeff"},peg$c1165="Violet",peg$c1166=peg$literalExpectation("Violet",false),peg$c1167="wheat",peg$c1168=peg$literalExpectation("wheat",false),peg$c1169=function(){return"#f5deb3ff"},peg$c1170="Wheat",peg$c1171=peg$literalExpectation("Wheat",false),peg$c1172="whitesmoke",peg$c1173=peg$literalExpectation("whitesmoke",false),peg$c1174=function(){return"#f5f5f5ff"},peg$c1175="WhiteSmoke",peg$c1176=peg$literalExpectation("WhiteSmoke",false),peg$c1177="white",peg$c1178=peg$literalExpectation("white",false),peg$c1179=function(){return"#ffffffff"},peg$c1180="White",peg$c1181=peg$literalExpectation("White",false),peg$c1182="yellowgreen",peg$c1183=peg$literalExpectation("yellowgreen",false),peg$c1184=function(){return"#9acd32ff"},peg$c1185="YellowGreen",peg$c1186=peg$literalExpectation("YellowGreen",false),peg$c1187="yellow",peg$c1188=peg$literalExpectation("yellow",false),peg$c1189=function(){return"#ffff00ff"},peg$c1190="Yellow",peg$c1191=peg$literalExpectation("Yellow",false),peg$c1192=function(lab){return lab},peg$c1193="#",peg$c1194=peg$literalExpectation("#",false),peg$c1195=function(r,g,b){return`#${r}${r}${g}${g}${b}${b}ff`},peg$c1196=function(r1,r2,g1,g2,b1,b2){return`#${r1}${r2}${g1}${g2}${b1}${b2}ff`},peg$c1197=function(r,g,b,a){return`#${r}${r}${g}${g}${b}${b}${a}${a}`},peg$c1198=function(r1,r2,g1,g2,b1,b2,a1,a2){return`#${r1}${r2}${g1}${g2}${b1}${b2}${a1}${a2}`},peg$c1199=peg$otherExpectation("color"),peg$c1200="arc_label",peg$c1201=peg$literalExpectation("arc_label",false),peg$c1202="head_label",peg$c1203=peg$literalExpectation("head_label",false),peg$c1204="tail_label",peg$c1205=peg$literalExpectation("tail_label",false),peg$c1206=":",peg$c1207=peg$literalExpectation(":",false),peg$c1208=";",peg$c1209=peg$literalExpectation(";",false),peg$c1210=function(key,value){return{key:key,value:value}},peg$c1211=peg$otherExpectation("single edge color"),peg$c1212="edge_color",peg$c1213=peg$literalExpectation("edge_color",false),peg$c1214=function(value){return{key:"single_edge_color",value:value}},peg$c1215=peg$otherExpectation("transition line style"),peg$c1216="line-style",peg$c1217=peg$literalExpectation("line-style",false),peg$c1218=function(value){return{key:"transition_line_style",value:value}},peg$c1219="{",peg$c1220=peg$literalExpectation("{",false),peg$c1221="}",peg$c1222=peg$literalExpectation("}",false),peg$c1223=function(items){return items},peg$c1224="%",peg$c1225=peg$literalExpectation("%",false),peg$c1226=function(value){return{key:"arrow probability",value:value}},peg$c1227=function(names){return names.map((i=>i[0]))},peg$c1228="+|",peg$c1229=peg$literalExpectation("+|",false),peg$c1230=function(nzd,dd){return{key:"stripe",value:parseInt(`${nzd}${dd}`,10)}},peg$c1231="-|",peg$c1232=peg$literalExpectation("-|",false),peg$c1233=function(nzd,dd){return{key:"stripe",value:-1*parseInt(`${nzd}${dd}`,10)}},peg$c1234="+",peg$c1235=peg$literalExpectation("+",false),peg$c1236=function(nzd,dd){return{key:"cycle",value:parseInt(`${nzd}${dd}`,10)}},peg$c1237="-",peg$c1238=peg$literalExpectation("-",false),peg$c1239=function(nzd,dd){return{key:"cycle",value:-1*parseInt(`${nzd}${dd}`,10)}},peg$c1240="+0",peg$c1241=peg$literalExpectation("+0",false),peg$c1242=function(){return{key:"cycle",value:0}},peg$c1243=function(r_action,r_prob,l_desc,arrow,r_desc,l_prob,l_action,label,tail){const base={kind:arrow,to:label};if(tail&&tail!==[]){base.se=tail}if(l_desc){base.l_desc=l_desc}if(r_desc){base.r_desc=r_desc}if(l_action){base.l_action=l_action}if(r_action){base.r_action=r_action}if(l_prob){base.l_probability=l_prob.value}if(r_prob){base.r_probability=r_prob.value}return base},peg$c1244=function(label,se){const base={key:"transition",from:label};if(se&&se!==[]){base.se=se}return base},peg$c1245="whargarbl",peg$c1246=peg$literalExpectation("whargarbl",false),peg$c1247="todo",peg$c1248=peg$literalExpectation("todo",false),peg$c1249=function(validationkey,value){return{key:validationkey,value:value}},peg$c1250="validation",peg$c1251=peg$literalExpectation("validation",false),peg$c1252="};",peg$c1253=peg$literalExpectation("};",false),peg$c1254=function(validation_items){return{config_kind:"validation",config_items:validation_items||[]}},peg$c1255="dot",peg$c1256=peg$literalExpectation("dot",false),peg$c1257="circo",peg$c1258=peg$literalExpectation("circo",false),peg$c1259="fdp",peg$c1260=peg$literalExpectation("fdp",false),peg$c1261="neato",peg$c1262=peg$literalExpectation("neato",false),peg$c1263="state",peg$c1264=peg$literalExpectation("state",false),peg$c1265=function(state_items){return{key:"default_state_config",value:state_items||[]}},peg$c1266="start_state",peg$c1267=peg$literalExpectation("start_state",false),peg$c1268=function(state_items){return{key:"default_start_state_config",value:state_items||[]}},peg$c1269="end_state",peg$c1270=peg$literalExpectation("end_state",false),peg$c1271=function(state_items){return{key:"default_end_state_config",value:state_items||[]}},peg$c1272="active_state",peg$c1273=peg$literalExpectation("active_state",false),peg$c1274=function(state_items){return{key:"default_active_state_config",value:state_items||[]}},peg$c1275="terminal_state",peg$c1276=peg$literalExpectation("terminal_state",false),peg$c1277=function(state_items){return{key:"default_terminal_state_config",value:state_items||[]}},peg$c1278="hooked_state",peg$c1279=peg$literalExpectation("hooked_state",false),peg$c1280=function(state_items){return{key:"default_hooked_state_config",value:state_items||[]}},peg$c1281=function(actionkey,value){return{key:actionkey,value:value}},peg$c1282="action",peg$c1283=peg$literalExpectation("action",false),peg$c1284=function(action_items){return{config_kind:"action",config_items:action_items||[]}},peg$c1285=function(key,value){return{key:key,value:value}},peg$c1286=peg$otherExpectation("graph default edge color"),peg$c1287=function(value){return{key:"graph_default_edge_color",value:value}},peg$c1288="transition",peg$c1289=peg$literalExpectation("transition",false),peg$c1290=function(transition_items){return{config_kind:"transition",config_items:transition_items||[]}},peg$c1291="graph_layout",peg$c1292=peg$literalExpectation("graph_layout",false),peg$c1293=function(value){return{key:"graph_layout",value:value}},peg$c1294="start_states",peg$c1295=peg$literalExpectation("start_states",false),peg$c1296=function(value){return{key:"start_states",value:value}},peg$c1297="end_states",peg$c1298=peg$literalExpectation("end_states",false),peg$c1299=function(value){return{key:"end_states",value:value}},peg$c1300="graph_bg_color",peg$c1301=peg$literalExpectation("graph_bg_color",false),peg$c1302=function(value){return{key:"graph_bg_color",value:value}},peg$c1303=peg$otherExpectation("configuration"),peg$c1304="MIT",peg$c1305=peg$literalExpectation("MIT",false),peg$c1306="BSD 2-clause",peg$c1307=peg$literalExpectation("BSD 2-clause",false),peg$c1308="BSD 3-clause",peg$c1309=peg$literalExpectation("BSD 3-clause",false),peg$c1310="Apache 2.0",peg$c1311=peg$literalExpectation("Apache 2.0",false),peg$c1312="Mozilla 2.0",peg$c1313=peg$literalExpectation("Mozilla 2.0",false),peg$c1314="Public domain",peg$c1315=peg$literalExpectation("Public domain",false),peg$c1316="GPL v2",peg$c1317=peg$literalExpectation("GPL v2",false),peg$c1318="GPL v3",peg$c1319=peg$literalExpectation("GPL v3",false),peg$c1320="LGPL v2.1",peg$c1321=peg$literalExpectation("LGPL v2.1",false),peg$c1322="LGPL v3.0",peg$c1323=peg$literalExpectation("LGPL v3.0",false),peg$c1324="Unknown",peg$c1325=peg$literalExpectation("Unknown",false),peg$c1326=peg$otherExpectation("direction"),peg$c1327="up",peg$c1328=peg$literalExpectation("up",false),peg$c1329="right",peg$c1330=peg$literalExpectation("right",false),peg$c1331="down",peg$c1332=peg$literalExpectation("down",false),peg$c1333="left",peg$c1334=peg$literalExpectation("left",false),peg$c1335=peg$otherExpectation("hook definition (open/closed)"),peg$c1336="open",peg$c1337=peg$literalExpectation("open",false),peg$c1338="closed",peg$c1339=peg$literalExpectation("closed",false),peg$c1340="machine_author",peg$c1341=peg$literalExpectation("machine_author",false),peg$c1342=function(value){return{key:"machine_author",value:value}},peg$c1343="machine_contributor",peg$c1344=peg$literalExpectation("machine_contributor",false),peg$c1345=function(value){return{key:"machine_contributor",value:value}},peg$c1346="machine_comment",peg$c1347=peg$literalExpectation("machine_comment",false),peg$c1348=function(value){return{key:"machine_comment",value:value}},peg$c1349="machine_definition",peg$c1350=peg$literalExpectation("machine_definition",false),peg$c1351=function(value){return{key:"machine_definition",value:value}},peg$c1352="machine_name",peg$c1353=peg$literalExpectation("machine_name",false),peg$c1354=function(value){return{key:"machine_name",value:value}},peg$c1358="machine_version",peg$c1359=peg$literalExpectation("machine_version",false),peg$c1360=function(value){return{key:"machine_version",value:value}},peg$c1361="machine_license",peg$c1362=peg$literalExpectation("machine_license",false),peg$c1363=function(value){return{key:"machine_license",value:value}},peg$c1364="machine_language",peg$c1365=peg$literalExpectation("machine_language",false),peg$c1366=function(value){return{key:"machine_language",value:value}},peg$c1367="fsl_version",peg$c1368=peg$literalExpectation("fsl_version",false),peg$c1369=function(value){return{key:"fsl_version",value:value}},peg$c1370="theme",peg$c1371=peg$literalExpectation("theme",false),peg$c1372=function(value){return{key:"theme",value:value}},peg$c1373="flow",peg$c1374=peg$literalExpectation("flow",false),peg$c1375=function(value){return{key:"flow",value:value}},peg$c1376="hooks",peg$c1377=peg$literalExpectation("hooks",false),peg$c1378=function(value){return{key:"hook_definition",value:value}},peg$c1379="dot_preamble",peg$c1380=peg$literalExpectation("dot_preamble",false),peg$c1381=function(value){return{key:"dot_preamble",value:value}},peg$c1382=peg$otherExpectation("machine attribute"),peg$c1383="label",peg$c1384=peg$literalExpectation("label",false),peg$c1385=function(value){return{key:"state-label",value:value}},peg$c1386="color",peg$c1387=peg$literalExpectation("color",false),peg$c1388=function(value){return{key:"color",value:value}},peg$c1389=peg$otherExpectation("text color"),peg$c1390="text-color",peg$c1391=peg$literalExpectation("text-color",false),peg$c1392=function(value){return{key:"text-color",value:value}},peg$c1393=peg$otherExpectation("background color"),peg$c1394="background-color",peg$c1395=peg$literalExpectation("background-color",false),peg$c1396=function(value){return{key:"background-color",value:value}},peg$c1397=peg$otherExpectation("border color"),peg$c1398="border-color",peg$c1399=peg$literalExpectation("border-color",false),peg$c1400=function(value){return{key:"border-color",value:value}},peg$c1401=peg$otherExpectation("shape"),peg$c1402="shape",peg$c1403=peg$literalExpectation("shape",false),peg$c1404=function(value){return{key:"shape",value:value}},peg$c1405=peg$otherExpectation("corners"),peg$c1406="corners",peg$c1407=peg$literalExpectation("corners",false),peg$c1408=function(value){return{key:"corners",value:value}},peg$c1409=peg$otherExpectation("linestyle"),peg$c1410=function(value){return{key:"line-style",value:value}},peg$c1411="linestyle",peg$c1412=peg$literalExpectation("linestyle",false),peg$c1413=peg$otherExpectation("state property"),peg$c1414="property",peg$c1415=peg$literalExpectation("property",false),peg$c1416=function(name,value){return{key:"state_property",name:name,value:value}},peg$c1417="required",peg$c1418=peg$literalExpectation("required",false),peg$c1419=function(name,value){return{key:"state_property",name:name,value:value,required:true}},peg$c1420=function(name,value){return{key:"state_declaration",name:name,value:value}},peg$c1421="&",peg$c1422=peg$literalExpectation("&",false),peg$c1423=function(name,value){return{key:"named_list",name:name,value:value}},peg$c1424=function(name,default_value){return{key:"property_definition",name:name,default_value:default_value,required:true}},peg$c1425=function(name){return{key:"property_definition",name:name,required:true}},peg$c1426=function(name,default_value){return{key:"property_definition",name:name,default_value:default_value}},peg$c1427=function(name){return{key:"property_definition",name:name}},peg$c1428="arrange",peg$c1429=peg$literalExpectation("arrange",false),peg$c1430=function(value){return{key:"arrange_declaration",value:value}},peg$c1431="arrange-start",peg$c1432=peg$literalExpectation("arrange-start",false),peg$c1433=function(value){return{key:"arrange_start_declaration",value:value}},peg$c1434="arrange-end",peg$c1435=peg$literalExpectation("arrange-end",false),peg$c1436=function(value){return{key:"arrange_end_declaration",value:value}},peg$c1437=peg$otherExpectation("arrange declaration"),peg$currPos=0,peg$savedPos=0,peg$posDetailsCache=[{line:1,column:1}],peg$maxFailPos=0,peg$maxFailExpected=[],peg$silentFails=0,peg$result;if("startRule"in options){if(!(options.startRule in peg$startRuleFunctions)){throw new Error("Can't start parsing from rule \""+options.startRule+'".')}peg$startRuleFunction=peg$startRuleFunctions[options.startRule]}function text(){return input.substring(peg$savedPos,peg$currPos)}function peg$literalExpectation(text,ignoreCase){return{type:"literal",text:text,ignoreCase:ignoreCase}}function peg$classExpectation(parts,inverted,ignoreCase){return{type:"class",parts:parts,inverted:inverted,ignoreCase:ignoreCase}}function peg$anyExpectation(){return{type:"any"}}function peg$endExpectation(){return{type:"end"}}function peg$otherExpectation(description){return{type:"other",description:description}}function peg$computePosDetails(pos){var details=peg$posDetailsCache[pos],p;if(details){return details}else{p=pos-1;while(!peg$posDetailsCache[p]){p--}details=peg$posDetailsCache[p];details={line:details.line,column:details.column};while(ppeg$maxFailPos){peg$maxFailPos=peg$currPos;peg$maxFailExpected=[]}peg$maxFailExpected.push(expected)}function peg$buildStructuredError(expected,found,location){return new peg$SyntaxError(peg$SyntaxError.buildMessage(expected,found),expected,found,location)}function peg$parseDocument(){var s0,s1,s2,s3;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseTermList();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c0(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTheme(){var s0;if(input.substr(peg$currPos,4)===peg$c1){s0=peg$c1;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c2)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c3){s0=peg$c3;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c4)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c5){s0=peg$c5;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c6)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c7){s0=peg$c7;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c8)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c9){s0=peg$c9;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c10)}}}}}}return s0}function peg$parseThemeOrThemeList(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===91){s1=peg$c11;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c12)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$currPos;s5=peg$parseTheme();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}while(s4!==peg$FAILED){s3.push(s4);s4=peg$currPos;s5=peg$parseTheme();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}}if(s3!==peg$FAILED){s4=peg$parseTheme();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===93){s5=peg$c13;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c14)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c15(s3,s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseTheme();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c16(s1)}s0=s1}return s0}function peg$parseGvizShape(){var s0;if(input.substr(peg$currPos,5)===peg$c17){s0=peg$c17;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c18)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c19){s0=peg$c19;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c20)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c21){s0=peg$c21;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c22)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c23){s0=peg$c23;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c24)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c25){s0=peg$c25;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c26)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c27){s0=peg$c27;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c28)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c29){s0=peg$c29;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c30)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c31){s0=peg$c31;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c32)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c33){s0=peg$c33;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c34)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c35){s0=peg$c35;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c36)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c37){s0=peg$c37;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c38)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c39){s0=peg$c39;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c40)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c41){s0=peg$c41;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c42)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c43){s0=peg$c43;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c44)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c45){s0=peg$c45;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c46)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c47){s0=peg$c47;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c48)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c49){s0=peg$c49;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c50)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c51){s0=peg$c51;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c52)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c53){s0=peg$c53;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c54)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c55){s0=peg$c55;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c56)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c57){s0=peg$c57;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c58)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c59){s0=peg$c59;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c60)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c61){s0=peg$c61;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c62)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c63){s0=peg$c63;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c64)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c65){s0=peg$c65;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c66)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c67){s0=peg$c67;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c68)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c69){s0=peg$c69;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c70)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c71){s0=peg$c71;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c72)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c73){s0=peg$c73;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c74)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c75){s0=peg$c75;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c76)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c77){s0=peg$c77;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c78)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1){s0=peg$c1;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c2)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c79){s0=peg$c79;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c80)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c81){s0=peg$c81;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c82)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c83){s0=peg$c83;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c84)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c85){s0=peg$c85;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c86)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c87){s0=peg$c87;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c88)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c89){s0=peg$c89;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c90)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c91){s0=peg$c91;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c92)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c93){s0=peg$c93;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c94)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c95){s0=peg$c95;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c96)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c97){s0=peg$c97;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c98)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c99){s0=peg$c99;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c100)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c101){s0=peg$c101;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c102)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,15)===peg$c103){s0=peg$c103;peg$currPos+=15}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c104)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c105){s0=peg$c105;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c106)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,14)===peg$c107){s0=peg$c107;peg$currPos+=14}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c108)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c109){s0=peg$c109;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c110)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c111){s0=peg$c111;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c112)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c113){s0=peg$c113;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c114)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c115){s0=peg$c115;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c116)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c117){s0=peg$c117;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c118)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c119){s0=peg$c119;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c120)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c121){s0=peg$c121;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c122)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c123){s0=peg$c123;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c124)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c125){s0=peg$c125;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c126)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c127){s0=peg$c127;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c128)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c129){s0=peg$c129;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c130)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c131){s0=peg$c131;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c132)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c133){s0=peg$c133;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c134)}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}return s0}function peg$parseForwardLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c136){s0=peg$c136;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c137)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8594){s1=peg$c138;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c139)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c140()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c135)}}return s0}function peg$parseTwoWayLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c142){s0=peg$c142;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c143)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8596){s1=peg$c144;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c145)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c146()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c141)}}return s0}function peg$parseBackLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c148){s0=peg$c148;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c149)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8592){s1=peg$c150;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c151)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c152()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c147)}}return s0}function peg$parseForwardFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c154){s0=peg$c154;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c155)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8658){s1=peg$c156;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c157)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c158()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c153)}}return s0}function peg$parseTwoWayFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c160){s0=peg$c160;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c161)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8660){s1=peg$c162;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c163)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c164()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c159)}}return s0}function peg$parseBackFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c166){s0=peg$c166;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c167)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8656){s1=peg$c168;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c169)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c170()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c165)}}return s0}function peg$parseForwardTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c172){s0=peg$c172;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c173)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8603){s1=peg$c174;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c175)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c176()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c171)}}return s0}function peg$parseTwoWayTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c178){s0=peg$c178;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c179)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8622){s1=peg$c180;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c181)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c182()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c177)}}return s0}function peg$parseBackTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c184){s0=peg$c184;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c185)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8602){s1=peg$c186;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c187)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c188()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c183)}}return s0}function peg$parseLightFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c190){s0=peg$c190;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c191)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c192){s1=peg$c192;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c193)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c194()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c189)}}return s0}function peg$parseLightTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c196){s0=peg$c196;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c197)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c198){s1=peg$c198;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c199)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c200()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c195)}}return s0}function peg$parseFatLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c202){s0=peg$c202;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c203)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c204){s1=peg$c204;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c205)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c206()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c201)}}return s0}function peg$parseFatTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c208){s0=peg$c208;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c209)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c210){s1=peg$c210;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c211)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c212()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c207)}}return s0}function peg$parseTildeLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c214){s0=peg$c214;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c215)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c216){s1=peg$c216;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c217)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c218()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c213)}}return s0}function peg$parseTildeFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c220){s0=peg$c220;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c221)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c222){s1=peg$c222;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c223)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c224()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c219)}}return s0}function peg$parseLightArrow(){var s0;peg$silentFails++;s0=peg$parseForwardLightArrow();if(s0===peg$FAILED){s0=peg$parseTwoWayLightArrow();if(s0===peg$FAILED){s0=peg$parseBackLightArrow()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c225)}}return s0}function peg$parseFatArrow(){var s0;peg$silentFails++;s0=peg$parseForwardFatArrow();if(s0===peg$FAILED){s0=peg$parseTwoWayFatArrow();if(s0===peg$FAILED){s0=peg$parseBackFatArrow()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c226)}}return s0}function peg$parseTildeArrow(){var s0;peg$silentFails++;s0=peg$parseForwardTildeArrow();if(s0===peg$FAILED){s0=peg$parseTwoWayTildeArrow();if(s0===peg$FAILED){s0=peg$parseBackTildeArrow()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c227)}}return s0}function peg$parseMixedArrow(){var s0;peg$silentFails++;s0=peg$parseLightFatArrow();if(s0===peg$FAILED){s0=peg$parseLightTildeArrow();if(s0===peg$FAILED){s0=peg$parseFatLightArrow();if(s0===peg$FAILED){s0=peg$parseFatTildeArrow();if(s0===peg$FAILED){s0=peg$parseTildeLightArrow();if(s0===peg$FAILED){s0=peg$parseTildeFatArrow()}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c228)}}return s0}function peg$parseArrow(){var s0;peg$silentFails++;s0=peg$parseMixedArrow();if(s0===peg$FAILED){s0=peg$parseLightArrow();if(s0===peg$FAILED){s0=peg$parseFatArrow();if(s0===peg$FAILED){s0=peg$parseTildeArrow()}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c229)}}return s0}function peg$parseBoolean(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c230){s1=peg$c230;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c231)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c232()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c233){s1=peg$c233;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c234)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c235()}s0=s1}return s0}function peg$parseCorners(){var s0;if(input.substr(peg$currPos,7)===peg$c236){s0=peg$c236;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c237)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c238){s0=peg$c238;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c239)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c240){s0=peg$c240;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c241)}}}}return s0}function peg$parseLineStyle(){var s0;if(input.substr(peg$currPos,5)===peg$c242){s0=peg$c242;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c243)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c244){s0=peg$c244;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c245)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c246){s0=peg$c246;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c247)}}}}return s0}function peg$parseChar(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$parseUnescaped();if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseEscape();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===34){s2=peg$c248;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c249)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===92){s2=peg$c250;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c251)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===47){s2=peg$c252;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c253)}}if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===98){s3=peg$c254;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c255)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c256()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===102){s3=peg$c257;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c258)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c259()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===110){s3=peg$c260;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c261)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c262()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===114){s3=peg$c263;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c264)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c265()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===116){s3=peg$c266;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c267)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c268()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===118){s3=peg$c269;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c270)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c271()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===117){s3=peg$c272;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c273)}}if(s3!==peg$FAILED){s4=peg$currPos;s5=peg$currPos;s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseHexDigit();if(s8!==peg$FAILED){s9=peg$parseHexDigit();if(s9!==peg$FAILED){s6=[s6,s7,s8,s9];s5=s6}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}if(s5!==peg$FAILED){s4=input.substring(s4,peg$currPos)}else{s4=s5}if(s4!==peg$FAILED){peg$savedPos=s2;s3=peg$c274(s4);s2=s3}else{peg$currPos=s2;s2=peg$FAILED}}else{peg$currPos=s2;s2=peg$FAILED}}}}}}}}}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c275(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseNull(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c276){s1=peg$c276;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c277)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c278()}s0=s1;return s0}function peg$parseUndefined(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c279){s1=peg$c279;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c280)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c281()}s0=s1;return s0}function peg$parseEscape(){var s0;if(input.charCodeAt(peg$currPos)===92){s0=peg$c250;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c251)}}return s0}function peg$parseQuoteMark(){var s0;if(input.charCodeAt(peg$currPos)===34){s0=peg$c248;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c249)}}return s0}function peg$parseUnescaped(){var s0;if(peg$c282.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c283)}}return s0}function peg$parseActionLabelChar(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$parseActionLabelUnescaped();if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseEscape();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===39){s2=peg$c284;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c285)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===92){s2=peg$c250;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c251)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===47){s2=peg$c252;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c253)}}if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===98){s3=peg$c254;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c255)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c256()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===102){s3=peg$c257;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c258)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c259()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===110){s3=peg$c260;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c261)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c262()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===114){s3=peg$c263;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c264)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c265()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===116){s3=peg$c266;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c267)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c268()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===118){s3=peg$c269;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c270)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c271()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===117){s3=peg$c272;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c273)}}if(s3!==peg$FAILED){s4=peg$currPos;s5=peg$currPos;s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseHexDigit();if(s8!==peg$FAILED){s9=peg$parseHexDigit();if(s9!==peg$FAILED){s6=[s6,s7,s8,s9];s5=s6}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}if(s5!==peg$FAILED){s4=input.substring(s4,peg$currPos)}else{s4=s5}if(s4!==peg$FAILED){peg$savedPos=s2;s3=peg$c274(s4);s2=s3}else{peg$currPos=s2;s2=peg$FAILED}}else{peg$currPos=s2;s2=peg$FAILED}}}}}}}}}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c275(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseActionLabelQuoteMark(){var s0;if(input.charCodeAt(peg$currPos)===39){s0=peg$c284;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c285)}}return s0}function peg$parseActionLabelUnescaped(){var s0;if(peg$c286.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c287)}}return s0}function peg$parseActionLabel(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;s1=peg$parseActionLabelQuoteMark();if(s1!==peg$FAILED){s2=[];s3=peg$parseActionLabelChar();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseActionLabelChar()}if(s2!==peg$FAILED){s3=peg$parseActionLabelQuoteMark();if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c289(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c288)}}return s0}function peg$parseLineTerminator(){var s0;if(peg$c290.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c291)}}return s0}function peg$parseBlockCommentTail(){var s0,s1,s2;if(input.substr(peg$currPos,2)===peg$c294){s0=peg$c294;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c295)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.length>peg$currPos){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}if(s1!==peg$FAILED){s2=peg$parseBlockCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseBlockComment(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c298){s1=peg$c298;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c299)}}if(s1!==peg$FAILED){s2=peg$parseBlockCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c297)}}return s0}function peg$parseEOF(){var s0,s1;s0=peg$currPos;peg$silentFails++;if(input.length>peg$currPos){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}peg$silentFails--;if(s1===peg$FAILED){s0=void 0}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLineCommentTail(){var s0,s1,s2;s0=peg$parseLineTerminator();if(s0===peg$FAILED){s0=peg$parseEOF();if(s0===peg$FAILED){s0=peg$currPos;if(input.length>peg$currPos){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}if(s1!==peg$FAILED){s2=peg$parseLineCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}return s0}function peg$parseLineComment(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c301){s1=peg$c301;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c302)}}if(s1!==peg$FAILED){s2=peg$parseLineCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c300)}}return s0}function peg$parseWS(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;s1=peg$parseBlockComment();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseLineComment();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=[];if(peg$c304.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c305)}}if(s2!==peg$FAILED){while(s2!==peg$FAILED){s1.push(s2);if(peg$c304.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c305)}}}}else{s1=peg$FAILED}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c303)}}return s0}function peg$parseString(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;s1=peg$parseQuoteMark();if(s1!==peg$FAILED){s2=[];s3=peg$parseChar();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseChar()}if(s2!==peg$FAILED){s3=peg$parseQuoteMark();if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c289(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c306)}}return s0}function peg$parseAtomFirstLetter(){var s0;if(peg$c307.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c308)}}return s0}function peg$parseAtomLetter(){var s0;if(peg$c309.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c310)}}return s0}function peg$parseAtom(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;s1=peg$parseAtomFirstLetter();if(s1!==peg$FAILED){s2=[];s3=peg$parseAtomLetter();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseAtomLetter()}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c312(s1,s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c311)}}return s0}function peg$parseLabel(){var s0;peg$silentFails++;s0=peg$parseAtom();if(s0===peg$FAILED){s0=peg$parseString()}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c313)}}return s0}function peg$parseIntegerLiteral(){var s0,s1,s2,s3;if(input.charCodeAt(peg$currPos)===48){s0=peg$c314;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c315)}}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseNonZeroDigit();if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseDecimalDigit(){var s0;if(peg$c316.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c317)}}return s0}function peg$parseNonZeroDigit(){var s0;if(peg$c318.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c319)}}return s0}function peg$parseHexDigit(){var s0;if(peg$c320.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c321)}}return s0}function peg$parseBinaryDigit(){var s0;if(peg$c322.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c323)}}return s0}function peg$parseOctalDigit(){var s0;if(peg$c322.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c323)}}return s0}function peg$parseNonNegNumber(){var s0,s1,s2,s3,s4;peg$silentFails++;s0=peg$currPos;s1=peg$parseIntegerLiteral();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s2=peg$c325;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseIntegerLiteral();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c324)}}return s0}function peg$parseJsNumericLiteral(){var s0,s1;peg$silentFails++;s0=peg$currPos;s1=peg$parseJsHexIntegerLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseJsBinaryIntegerLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseNonJsOctalIntegerLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseJsDecimalLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c330){s1=peg$c330;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c331)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c332()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c333){s1=peg$c333;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c334)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c336){s1=peg$c336;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c337)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c338){s1=peg$c338;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c339)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c340){s1=peg$c340;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c341)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c342){s1=peg$c342;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c343)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c344){s1=peg$c344;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c345)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c346){s1=peg$c346;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c347)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c348){s1=peg$c348;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c349)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c351){s1=peg$c351;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c352)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c353){s1=peg$c353;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c354)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c355){s1=peg$c355;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c356)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8734){s1=peg$c357;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c358)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c359){s1=peg$c359;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c360)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c361()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c362){s1=peg$c362;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c363)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c361()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===949){s1=peg$c364;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c365)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c361()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c366){s1=peg$c366;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c367)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c368()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c369){s1=peg$c369;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c370)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c368()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===960){s1=peg$c371;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c372)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c368()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c373){s1=peg$c373;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c374)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===69){s1=peg$c376;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c377)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===101){s1=peg$c378;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c379)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===400){s1=peg$c380;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c381)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8455){s1=peg$c382;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c383)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c384){s1=peg$c384;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c385)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c386()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c387){s1=peg$c387;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c388)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c389()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c390){s1=peg$c390;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c391)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c392()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c393){s1=peg$c393;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c394)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c392()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c395){s1=peg$c395;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c396)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c397()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c398){s1=peg$c398;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c399)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c397()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c400){s1=peg$c400;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c401)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c402()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c403){s1=peg$c403;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c404)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c405()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c406){s1=peg$c406;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c407)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c408()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c409){s1=peg$c409;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c410)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c411()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c412){s1=peg$c412;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c413)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c414()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c415){s1=peg$c415;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c416)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c417()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c418){s1=peg$c418;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c419)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c421){s1=peg$c421;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c422)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c423){s1=peg$c423;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c424)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===981){s1=peg$c425;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c426)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===966){s1=peg$c427;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c428)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c429){s1=peg$c429;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c430)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===947){s1=peg$c432;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c433)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c434){s1=peg$c434;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c435)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===947){s1=peg$c432;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c433)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c328)}}return s0}function peg$parseJsDecimalLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseJsDecimalIntegerLiteral();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s2=peg$c325;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){s4=peg$parseJsNExponentPart();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===46){s1=peg$c325;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}}else{s2=peg$FAILED}if(s2!==peg$FAILED){s3=peg$parseJsNExponentPart();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseJsDecimalIntegerLiteral();if(s1!==peg$FAILED){s2=peg$parseJsNExponentPart();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}return s0}function peg$parseJsDecimalIntegerLiteral(){var s0,s1,s2,s3;if(input.charCodeAt(peg$currPos)===48){s0=peg$c314;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c315)}}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseNonZeroDigit();if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseJsNExponentPart(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseJsNExponentIndicator();if(s1!==peg$FAILED){s2=peg$parseJsNSignedInteger();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseJsNExponentIndicator(){var s0;if(input.substr(peg$currPos,1).toLowerCase()===peg$c378){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c436)}}return s0}function peg$parseJsNSignedInteger(){var s0,s1,s2,s3;s0=peg$currPos;if(peg$c437.test(input.charAt(peg$currPos))){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c438)}}if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}}else{s2=peg$FAILED}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseJsHexIntegerLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2).toLowerCase()===peg$c439){s1=input.substr(peg$currPos,2);peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c440)}}if(s1!==peg$FAILED){s2=peg$currPos;s3=[];s4=peg$parseHexDigit();if(s4!==peg$FAILED){while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseHexDigit()}}else{s3=peg$FAILED}if(s3!==peg$FAILED){s2=input.substring(s2,peg$currPos)}else{s2=s3}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c441(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseJsBinaryIntegerLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2).toLowerCase()===peg$c442){s1=input.substr(peg$currPos,2);peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c443)}}if(s1!==peg$FAILED){s2=peg$currPos;s3=[];s4=peg$parseBinaryDigit();if(s4!==peg$FAILED){while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseBinaryDigit()}}else{s3=peg$FAILED}if(s3!==peg$FAILED){s2=input.substring(s2,peg$currPos)}else{s2=s3}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c444(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseNonJsOctalIntegerLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2).toLowerCase()===peg$c445){s1=input.substr(peg$currPos,2);peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c446)}}if(s1!==peg$FAILED){s2=peg$currPos;s3=[];s4=peg$parseOctalDigit();if(s4!==peg$FAILED){while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseOctalDigit()}}else{s3=peg$FAILED}if(s3!==peg$FAILED){s2=input.substring(s2,peg$currPos)}else{s2=s3}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c447(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSemVer(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;s1=peg$parseIntegerLiteral();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s2=peg$c325;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s2!==peg$FAILED){s3=peg$parseIntegerLiteral();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s4=peg$c325;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s4!==peg$FAILED){s5=peg$parseIntegerLiteral();if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c448(s1,s3,s5);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseUrlProtocol(){var s0;if(input.substr(peg$currPos,7)===peg$c459){s0=peg$c459;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c460)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c461){s0=peg$c461;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c462)}}}return s0}function peg$parseURL(){var s0,s1,s2,s3;s0=peg$currPos;s1=peg$parseUrlProtocol();if(s1!==peg$FAILED){s2=[];if(peg$c463.test(input.charAt(peg$currPos))){s3=input.charAt(peg$currPos);peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c464)}}if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);if(peg$c463.test(input.charAt(peg$currPos))){s3=input.charAt(peg$currPos);peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c464)}}}}else{s2=peg$FAILED}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c465();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSvgColorLabel(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c466){s1=peg$c466;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c467)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c468()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c469){s1=peg$c469;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c470)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c468()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c471){s1=peg$c471;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c472)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c473()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c474){s1=peg$c474;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c475)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c473()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c476){s1=peg$c476;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c477)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c478()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c479){s1=peg$c479;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c480)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c478()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c481){s1=peg$c481;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c482)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c484){s1=peg$c484;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c485)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c486){s1=peg$c486;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c487)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c488()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c489){s1=peg$c489;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c490)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c488()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c491){s1=peg$c491;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c492)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c493()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c494){s1=peg$c494;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c495)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c493()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c496){s1=peg$c496;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c497)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c498()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c499){s1=peg$c499;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c500)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c498()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c501){s1=peg$c501;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c502)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c503()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c504){s1=peg$c504;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c505)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c503()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c506){s1=peg$c506;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c507)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c508()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c509){s1=peg$c509;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c510)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c508()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c511){s1=peg$c511;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c512)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c513()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c514){s1=peg$c514;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c515)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c513()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c516){s1=peg$c516;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c517)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c518()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c519){s1=peg$c519;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c520)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c518()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c521){s1=peg$c521;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c522)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c523()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c524){s1=peg$c524;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c525)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c523()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c526){s1=peg$c526;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c527)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c528()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c529){s1=peg$c529;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c530)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c528()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c531){s1=peg$c531;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c532)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c533()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c534){s1=peg$c534;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c535)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c533()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c536){s1=peg$c536;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c537)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c538()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c539){s1=peg$c539;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c540)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c538()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c541){s1=peg$c541;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c542)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c543()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c544){s1=peg$c544;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c545)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c543()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c546){s1=peg$c546;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c547)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c548()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c549){s1=peg$c549;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c550)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c548()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c551){s1=peg$c551;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c552)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c553()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c554){s1=peg$c554;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c555)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c553()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c556){s1=peg$c556;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c557)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c558()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c559){s1=peg$c559;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c560)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c558()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c561){s1=peg$c561;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c562)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c563()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c564){s1=peg$c564;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c565)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c563()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c566){s1=peg$c566;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c567)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c568){s1=peg$c568;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c569)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c570){s1=peg$c570;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c571)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c572()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c573){s1=peg$c573;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c574)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c572()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c575){s1=peg$c575;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c576)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c577()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c578){s1=peg$c578;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c579)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c577()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c580){s1=peg$c580;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c581)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c582()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c583){s1=peg$c583;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c584)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c582()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c585){s1=peg$c585;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c586)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c588){s1=peg$c588;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c589)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c590){s1=peg$c590;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c591)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c592){s1=peg$c592;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c593)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c594){s1=peg$c594;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c595)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c596()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c597){s1=peg$c597;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c598)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c596()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c599){s1=peg$c599;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c600)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c601()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c602){s1=peg$c602;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c603)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c601()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c604){s1=peg$c604;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c605)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c606()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c607){s1=peg$c607;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c608)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c606()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c609){s1=peg$c609;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c610)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c611()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c612){s1=peg$c612;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c613)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c611()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c614){s1=peg$c614;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c615)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c616()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c617){s1=peg$c617;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c618)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c616()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c619){s1=peg$c619;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c620)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c621()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c622){s1=peg$c622;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c623)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c621()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c624){s1=peg$c624;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c625)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c626()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c627){s1=peg$c627;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c628)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c626()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c629){s1=peg$c629;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c630)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c631()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c632){s1=peg$c632;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c633)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c631()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c634){s1=peg$c634;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c635)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c636()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c637){s1=peg$c637;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c638)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c636()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c639){s1=peg$c639;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c640)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c641()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c642){s1=peg$c642;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c643)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c641()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c644){s1=peg$c644;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c645)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c647){s1=peg$c647;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c648)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c649){s1=peg$c649;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c650)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c651){s1=peg$c651;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c652)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c653){s1=peg$c653;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c654)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c655()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c656){s1=peg$c656;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c657)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c655()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c658){s1=peg$c658;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c659)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c660()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c661){s1=peg$c661;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c662)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c660()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c663){s1=peg$c663;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c664)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c665()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c666){s1=peg$c666;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c667)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c665()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c668){s1=peg$c668;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c669)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c670()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c671){s1=peg$c671;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c672)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c670()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c673){s1=peg$c673;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c674)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c676){s1=peg$c676;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c677)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c678){s1=peg$c678;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c679)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c680){s1=peg$c680;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c681)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c682){s1=peg$c682;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c683)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c684()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c685){s1=peg$c685;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c686)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c684()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c687){s1=peg$c687;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c688)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c689()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c690){s1=peg$c690;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c691)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c689()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c692){s1=peg$c692;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c693)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c694()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c695){s1=peg$c695;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c696)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c694()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c697){s1=peg$c697;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c698)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c699()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c700){s1=peg$c700;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c701)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c699()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c702){s1=peg$c702;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c703)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c705){s1=peg$c705;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c706)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c707){s1=peg$c707;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c708)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c709()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c710){s1=peg$c710;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c711)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c709()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c712){s1=peg$c712;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c713)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c714()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c715){s1=peg$c715;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c716)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c714()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c717){s1=peg$c717;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c718)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c719()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c720){s1=peg$c720;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c721)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c719()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c722){s1=peg$c722;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c723)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c724()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c725){s1=peg$c725;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c726)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c724()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c727){s1=peg$c727;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c728)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c730){s1=peg$c730;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c731)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c732){s1=peg$c732;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c733)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c734){s1=peg$c734;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c735)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c736){s1=peg$c736;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c737)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c738()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c739){s1=peg$c739;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c740)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c738()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c741){s1=peg$c741;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c742)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c743()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c744){s1=peg$c744;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c745)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c743()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c746){s1=peg$c746;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c747)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c748()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c749){s1=peg$c749;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c750)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c748()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c751){s1=peg$c751;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c752)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c753()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c754){s1=peg$c754;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c755)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c753()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c756){s1=peg$c756;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c757)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c758()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c759){s1=peg$c759;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c760)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c758()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c761){s1=peg$c761;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c762)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c763()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c764){s1=peg$c764;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c765)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c763()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c766){s1=peg$c766;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c767)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c768()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c769){s1=peg$c769;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c770)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c768()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c771){s1=peg$c771;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c772)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c773()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c774){s1=peg$c774;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c775)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c773()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c776){s1=peg$c776;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c777)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c778()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c779){s1=peg$c779;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c780)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c778()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c781){s1=peg$c781;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c782)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c783()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c784){s1=peg$c784;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c785)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c783()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c786){s1=peg$c786;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c787)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c788()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c789){s1=peg$c789;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c790)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c788()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c791){s1=peg$c791;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c792)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c793()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c794){s1=peg$c794;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c795)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c793()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c796){s1=peg$c796;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c797)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c798()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c799){s1=peg$c799;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c800)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c798()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c801){s1=peg$c801;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c802)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c803()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c804){s1=peg$c804;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c805)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c803()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c806){s1=peg$c806;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c807)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c808()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c809){s1=peg$c809;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c810)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c808()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,20)===peg$c811){s1=peg$c811;peg$currPos+=20}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c812)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c813()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,20)===peg$c814){s1=peg$c814;peg$currPos+=20}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c815)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c813()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c816){s1=peg$c816;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c817)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c819){s1=peg$c819;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c820)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c821){s1=peg$c821;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c822)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c823){s1=peg$c823;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c824)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c825){s1=peg$c825;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c826)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c827()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c828){s1=peg$c828;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c829)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c827()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c830){s1=peg$c830;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c831)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c832()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c833){s1=peg$c833;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c834)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c832()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c835){s1=peg$c835;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c836)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c837()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c838){s1=peg$c838;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c839)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c837()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c840){s1=peg$c840;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c841)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c842()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c843){s1=peg$c843;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c844)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c842()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c845){s1=peg$c845;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c846)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c847()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c848){s1=peg$c848;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c849)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c847()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c850){s1=peg$c850;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c851)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c853){s1=peg$c853;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c854)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c855){s1=peg$c855;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c856)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c857){s1=peg$c857;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c858)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c859){s1=peg$c859;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c860)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c861()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c862){s1=peg$c862;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c863)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c861()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c864){s1=peg$c864;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c865)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c866()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c867){s1=peg$c867;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c868)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c866()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c869){s1=peg$c869;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c870)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c871()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c872){s1=peg$c872;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c873)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c871()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c874){s1=peg$c874;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c875)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c876()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c877){s1=peg$c877;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c878)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c876()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c879){s1=peg$c879;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c880)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c881()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c882){s1=peg$c882;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c883)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c881()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c884){s1=peg$c884;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c885)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c886){s1=peg$c886;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c887)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c888){s1=peg$c888;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c889)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c890()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c891){s1=peg$c891;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c892)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c890()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c893){s1=peg$c893;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c894)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c895()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c896){s1=peg$c896;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c897)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c895()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c898){s1=peg$c898;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c899)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c900()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c901){s1=peg$c901;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c902)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c900()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c903){s1=peg$c903;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c904)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c905()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c906){s1=peg$c906;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c907)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c905()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c908){s1=peg$c908;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c909)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c910()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c911){s1=peg$c911;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c912)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c910()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c913){s1=peg$c913;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c914)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c915()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c916){s1=peg$c916;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c917)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c915()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c918){s1=peg$c918;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c919)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c920()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c921){s1=peg$c921;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c922)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c920()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,17)===peg$c923){s1=peg$c923;peg$currPos+=17}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c924)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c925()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,17)===peg$c926){s1=peg$c926;peg$currPos+=17}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c927)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c925()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c928){s1=peg$c928;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c929)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c930()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c931){s1=peg$c931;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c932)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c930()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c933){s1=peg$c933;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c934)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c935()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c936){s1=peg$c936;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c937)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c935()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c938){s1=peg$c938;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c939)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c940()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c941){s1=peg$c941;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c942)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c940()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c943){s1=peg$c943;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c944)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c945()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c946){s1=peg$c946;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c947)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c945()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c948){s1=peg$c948;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c949)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c950()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c951){s1=peg$c951;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c952)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c950()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c953){s1=peg$c953;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c954)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c955()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c956){s1=peg$c956;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c957)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c955()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c958){s1=peg$c958;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c959)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c960()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c961){s1=peg$c961;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c962)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c960()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c963){s1=peg$c963;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c964)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c965()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c966){s1=peg$c966;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c967)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c965()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c968){s1=peg$c968;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c969)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c970()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c971){s1=peg$c971;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c972)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c970()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c973){s1=peg$c973;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c974)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c975()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c976){s1=peg$c976;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c977)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c975()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c978){s1=peg$c978;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c979)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c980()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c981){s1=peg$c981;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c982)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c980()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c983){s1=peg$c983;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c984)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c985()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c986){s1=peg$c986;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c987)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c985()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c988){s1=peg$c988;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c989)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c990()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c991){s1=peg$c991;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c992)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c990()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c993){s1=peg$c993;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c994)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c995()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c996){s1=peg$c996;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c997)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c995()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c998){s1=peg$c998;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c999)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1000()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1001){s1=peg$c1001;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1002)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1000()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1003){s1=peg$c1003;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1004)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1005()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1006){s1=peg$c1006;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1007)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1005()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1008){s1=peg$c1008;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1009)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1010()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1011){s1=peg$c1011;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1012)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1010()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1013){s1=peg$c1013;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1014)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1015()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1016){s1=peg$c1016;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1017)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1015()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1018){s1=peg$c1018;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1019)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1020()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1021){s1=peg$c1021;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1022)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1020()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1023){s1=peg$c1023;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1024)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1025()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1026){s1=peg$c1026;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1027)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1025()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1028){s1=peg$c1028;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1029)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1030()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1031){s1=peg$c1031;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1032)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1030()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1033){s1=peg$c1033;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1034)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1035()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1036){s1=peg$c1036;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1037)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1035()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1038){s1=peg$c1038;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1039)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1040()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1041){s1=peg$c1041;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1042)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1040()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1043){s1=peg$c1043;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1044)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1045()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1046){s1=peg$c1046;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1047)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1045()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1048){s1=peg$c1048;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1049)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1050()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1051){s1=peg$c1051;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1052)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1050()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1053){s1=peg$c1053;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1054)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1055()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1056){s1=peg$c1056;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1057)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1055()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1058){s1=peg$c1058;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1059)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1060()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1061){s1=peg$c1061;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1062)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1060()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1063){s1=peg$c1063;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1064)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1065()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1066){s1=peg$c1066;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1067)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1065()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1068){s1=peg$c1068;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1069)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1070()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1071){s1=peg$c1071;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1072)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1070()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1073){s1=peg$c1073;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1074)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1075()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1076){s1=peg$c1076;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1077)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1075()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1078){s1=peg$c1078;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1079)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1080()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1081){s1=peg$c1081;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1082)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1080()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1083){s1=peg$c1083;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1084)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1085()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1086){s1=peg$c1086;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1087)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1085()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1088){s1=peg$c1088;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1089)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1090()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1091){s1=peg$c1091;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1092)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1090()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1093){s1=peg$c1093;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1094)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1095()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1096){s1=peg$c1096;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1097)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1095()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1098){s1=peg$c1098;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1099)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1100()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1101){s1=peg$c1101;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1102)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1100()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1103){s1=peg$c1103;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1104)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1105()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1106){s1=peg$c1106;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1107)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1105()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1108){s1=peg$c1108;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1109)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1110()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1111){s1=peg$c1111;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1112)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1110()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1113){s1=peg$c1113;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1114)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1116){s1=peg$c1116;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1117)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1118){s1=peg$c1118;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1119)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1120){s1=peg$c1120;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1121)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1122){s1=peg$c1122;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1123)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1124()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1125){s1=peg$c1125;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1126)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1124()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1127){s1=peg$c1127;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1128)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1129()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1130){s1=peg$c1130;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1131)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1129()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1132){s1=peg$c1132;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1133)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1134()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1135){s1=peg$c1135;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1136)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1134()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1137){s1=peg$c1137;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1138)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1139()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1140){s1=peg$c1140;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1141)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1139()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1142){s1=peg$c1142;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1143)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1144()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1145){s1=peg$c1145;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1146)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1144()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1147){s1=peg$c1147;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1148)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1149()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1150){s1=peg$c1150;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1151)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1149()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1152){s1=peg$c1152;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1153)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1154()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1155){s1=peg$c1155;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1156)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1154()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1157){s1=peg$c1157;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1158)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1159()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1160){s1=peg$c1160;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1161)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1159()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1162){s1=peg$c1162;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1163)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1164()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1165){s1=peg$c1165;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1166)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1164()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1167){s1=peg$c1167;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1168)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1169()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1170){s1=peg$c1170;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1171)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1169()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1172){s1=peg$c1172;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1173)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1174()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1175){s1=peg$c1175;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1176)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1174()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1177){s1=peg$c1177;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1178)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1179()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1180){s1=peg$c1180;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1181)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1179()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1182){s1=peg$c1182;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1183)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1184()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1185){s1=peg$c1185;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1186)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1184()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1187){s1=peg$c1187;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1188)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1189()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1190){s1=peg$c1190;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1191)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1189()}s0=s1}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}return s0}function peg$parseSvgColor(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseSvgColorLabel();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c1192(s1);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgb3(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1195(s2,s3,s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgb6(){var s0,s1,s2,s3,s4,s5,s6,s7,s8;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseHexDigit();if(s5!==peg$FAILED){s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseWS();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){peg$savedPos=s0;s1=peg$c1196(s2,s3,s4,s5,s6,s7);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgba4(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseHexDigit();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1197(s2,s3,s4,s5);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgba8(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseHexDigit();if(s5!==peg$FAILED){s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseHexDigit();if(s8!==peg$FAILED){s9=peg$parseHexDigit();if(s9!==peg$FAILED){s10=peg$parseWS();if(s10===peg$FAILED){s10=null}if(s10!==peg$FAILED){peg$savedPos=s0;s1=peg$c1198(s2,s3,s4,s5,s6,s7,s8,s9);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseColor(){var s0;peg$silentFails++;s0=peg$parseSvgColor();if(s0===peg$FAILED){s0=peg$parseRgba8();if(s0===peg$FAILED){s0=peg$parseRgb6();if(s0===peg$FAILED){s0=peg$parseRgba4();if(s0===peg$FAILED){s0=peg$parseRgb3()}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1199)}}return s0}function peg$parseArrowItemKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1200){s0=peg$c1200;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1201)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1202){s0=peg$c1202;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1203)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1204){s0=peg$c1204;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1205)}}}}return s0}function peg$parseArrowItem(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseArrowItemKey();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1210(s2,s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSingleEdgeColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1212){s2=peg$c1212;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1213)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1214(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1211)}}return s0}function peg$parseTransitionLineStyle(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1216){s2=peg$c1216;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1217)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLineStyle();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1218(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1215)}}return s0}function peg$parseArrowItems(){var s0,s1;s0=peg$parseSingleEdgeColor();if(s0===peg$FAILED){s0=peg$parseTransitionLineStyle();if(s0===peg$FAILED){s0=[];s1=peg$parseArrowItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseArrowItem()}}else{s0=peg$FAILED}}}return s0}function peg$parseArrowDesc(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===123){s1=peg$c1219;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseArrowItems();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===125){s5=peg$c1221;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1222)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1223(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrowProbability(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseNonNegNumber();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===37){s2=peg$c1224;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1225)}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c1226(s1);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLabelList(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===91){s1=peg$c11;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c12)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$currPos;s5=peg$parseLabel();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}while(s4!==peg$FAILED){s3.push(s4);s4=peg$currPos;s5=peg$parseLabel();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===93){s4=peg$c13;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c14)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1227(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLabelOrLabelList(){var s0;s0=peg$parseLabelList();if(s0===peg$FAILED){s0=peg$parseLabel()}return s0}function peg$parseStripe(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1228){s1=peg$c1228;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1229)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1230(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1231){s1=peg$c1231;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1232)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1233(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseCycle(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===43){s1=peg$c1234;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1235)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1236(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===45){s1=peg$c1237;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1238)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1239(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1240){s1=peg$c1240;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1241)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1242()}s0=s1}}return s0}function peg$parseArrowTarget(){var s0;s0=peg$parseStripe();if(s0===peg$FAILED){s0=peg$parseCycle();if(s0===peg$FAILED){s0=peg$parseLabelList();if(s0===peg$FAILED){s0=peg$parseLabel()}}}return s0}function peg$parseSubexp(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13,s14,s15,s16,s17,s18;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseActionLabel();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseArrowProbability();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseArrowDesc();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseArrow();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){s10=peg$parseArrowDesc();if(s10===peg$FAILED){s10=null}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){s12=peg$parseArrowProbability();if(s12===peg$FAILED){s12=null}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){s14=peg$parseActionLabel();if(s14===peg$FAILED){s14=null}if(s14!==peg$FAILED){s15=peg$parseWS();if(s15===peg$FAILED){s15=null}if(s15!==peg$FAILED){s16=peg$parseArrowTarget();if(s16!==peg$FAILED){s17=peg$parseWS();if(s17===peg$FAILED){s17=null}if(s17!==peg$FAILED){s18=peg$parseSubexp();if(s18===peg$FAILED){s18=null}if(s18!==peg$FAILED){peg$savedPos=s0;s1=peg$c1243(s2,s4,s6,s8,s10,s12,s14,s16,s18);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseExp(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;s1=peg$parseArrowTarget();if(s1!==peg$FAILED){s2=peg$parseSubexp();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1244(s1,s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseValidationKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1245){s0=peg$c1245;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1247){s0=peg$c1247;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}}return s0}function peg$parseValidationItem(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseValidationKey();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s2=peg$c1206;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1249(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseValidationItems(){var s0,s1;s0=[];s1=peg$parseValidationItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseValidationItem()}}else{s0=peg$FAILED}return s0}function peg$parseConfigValidation(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1250){s2=peg$c1250;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1251)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseValidationItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1254(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseGvizLayout(){var s0;if(input.substr(peg$currPos,3)===peg$c1255){s0=peg$c1255;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1256)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1257){s0=peg$c1257;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1258)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c1259){s0=peg$c1259;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1260)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1261){s0=peg$c1261;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1262)}}}}}return s0}function peg$parseStateItems(){var s0,s1;s0=[];s1=peg$parseStateDeclarationItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseStateDeclarationItem()}}else{s0=peg$FAILED}return s0}function peg$parseConfigState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1263){s2=peg$c1263;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1264)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1265(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigStartState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1266){s2=peg$c1266;peg$currPos+=11}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1267)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1268(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigEndState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1269){s2=peg$c1269;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1270)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1271(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigActiveState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1272){s2=peg$c1272;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1273)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1274(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigTerminalState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,14)===peg$c1275){s2=peg$c1275;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1276)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1277(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigHookedState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1278){s2=peg$c1278;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1279)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1280(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigAnyState(){var s0;s0=peg$parseConfigState();if(s0===peg$FAILED){s0=peg$parseConfigStartState();if(s0===peg$FAILED){s0=peg$parseConfigEndState();if(s0===peg$FAILED){s0=peg$parseConfigActiveState();if(s0===peg$FAILED){s0=peg$parseConfigTerminalState();if(s0===peg$FAILED){s0=peg$parseConfigHookedState()}}}}}return s0}function peg$parseActionKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1245){s0=peg$c1245;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1247){s0=peg$c1247;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}}return s0}function peg$parseActionItem(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseActionKey();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s2=peg$c1206;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1281(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseActionItems(){var s0,s1;s0=[];s1=peg$parseActionItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseActionItem()}}else{s0=peg$FAILED}return s0}function peg$parseConfigAction(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1282){s2=peg$c1282;peg$currPos+=6}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1283)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseActionItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1284(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTransitionKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1245){s0=peg$c1245;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1247){s0=peg$c1247;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}}return s0}function peg$parseTransitionItem(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseTransitionKey();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s2=peg$c1206;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1285(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTransitionItems(){var s0,s1;s0=peg$parseGraphDefaultEdgeColor();if(s0===peg$FAILED){s0=[];s1=peg$parseTransitionItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseTransitionItem()}}else{s0=peg$FAILED}}return s0}function peg$parseGraphDefaultEdgeColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1212){s2=peg$c1212;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1213)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1287(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1286)}}return s0}function peg$parseConfigTransition(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1288){s2=peg$c1288;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1289)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseTransitionItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1290(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigGraphLayout(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1291){s2=peg$c1291;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1292)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseGvizLayout();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1293(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigStartNodes(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1294){s2=peg$c1294;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1295)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1296(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigEndNodes(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1297){s2=peg$c1297;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1298)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1299(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigGraphBgColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,14)===peg$c1300){s2=peg$c1300;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1301)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1302(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfig(){var s0;peg$silentFails++;s0=peg$parseConfigGraphLayout();if(s0===peg$FAILED){s0=peg$parseConfigStartNodes();if(s0===peg$FAILED){s0=peg$parseConfigEndNodes();if(s0===peg$FAILED){s0=peg$parseConfigTransition();if(s0===peg$FAILED){s0=peg$parseConfigAction();if(s0===peg$FAILED){s0=peg$parseConfigAnyState();if(s0===peg$FAILED){s0=peg$parseConfigValidation();if(s0===peg$FAILED){s0=peg$parseConfigGraphBgColor()}}}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1303)}}return s0}function peg$parseLicenseOrLabelOrList(){var s0;if(input.substr(peg$currPos,3)===peg$c1304){s0=peg$c1304;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1305)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1306){s0=peg$c1306;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1307)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1308){s0=peg$c1308;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1309)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1310){s0=peg$c1310;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1311)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1312){s0=peg$c1312;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1313)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c1314){s0=peg$c1314;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1315)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1316){s0=peg$c1316;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1317)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1318){s0=peg$c1318;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1319)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1320){s0=peg$c1320;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1321)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1322){s0=peg$c1322;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1323)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c1324){s0=peg$c1324;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1325)}}if(s0===peg$FAILED){s0=peg$parseLabel();if(s0===peg$FAILED){s0=peg$parseLabelList()}}}}}}}}}}}}return s0}function peg$parseDirection(){var s0;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c1327){s0=peg$c1327;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1328)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1329){s0=peg$c1329;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1330)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1331){s0=peg$c1331;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1332)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1333){s0=peg$c1333;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1334)}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1326)}}return s0}function peg$parseHookDefinition(){var s0;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c1336){s0=peg$c1336;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1337)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1338){s0=peg$c1338;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1339)}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1335)}}return s0}function peg$parseMachineAuthor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,14)===peg$c1340){s2=peg$c1340;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1341)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelOrLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1342(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineContributor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,19)===peg$c1343){s2=peg$c1343;peg$currPos+=19}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1344)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelOrLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1345(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineComment(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1346){s2=peg$c1346;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1347)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelOrLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1348(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineDefinition(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,18)===peg$c1349){s2=peg$c1349;peg$currPos+=18}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1350)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseURL();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1351(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineName(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1352){s2=peg$c1352;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1353)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1354(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineVersion(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1358){s2=peg$c1358;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1359)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseSemVer();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1360(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineLicense(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1361){s2=peg$c1361;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1362)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLicenseOrLabelOrList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1363(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineLanguage(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,16)===peg$c1364){s2=peg$c1364;peg$currPos+=16}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1365)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1366(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseFslVersion(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1367){s2=peg$c1367;peg$currPos+=11}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1368)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseSemVer();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1369(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineTheme(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1370){s2=peg$c1370;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1371)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseThemeOrThemeList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1372(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineFlow(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1373){s2=peg$c1373;peg$currPos+=4}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1374)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseDirection();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1375(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineHookDefinition(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1376){s2=peg$c1376;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1377)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseHookDefinition();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1378(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseDotPreamble(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1379){s2=peg$c1379;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1380)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseString();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1381(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineAttribute(){var s0;peg$silentFails++;s0=peg$parseFslVersion();if(s0===peg$FAILED){s0=peg$parseMachineName();if(s0===peg$FAILED){s0=peg$parseMachineAuthor();if(s0===peg$FAILED){s0=peg$parseMachineContributor();if(s0===peg$FAILED){s0=peg$parseMachineComment();if(s0===peg$FAILED){s0=peg$parseMachineDefinition();if(s0===peg$FAILED){s0=peg$parseMachineVersion();if(s0===peg$FAILED){s0=peg$parseMachineLicense();if(s0===peg$FAILED){s0=peg$parseMachineLanguage();if(s0===peg$FAILED){s0=peg$parseMachineTheme();if(s0===peg$FAILED){s0=peg$parseDotPreamble();if(s0===peg$FAILED){s0=peg$parseMachineFlow();if(s0===peg$FAILED){s0=peg$parseMachineHookDefinition()}}}}}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1382)}}return s0}function peg$parsePropertyVal(){var s0;s0=peg$parseString();if(s0===peg$FAILED){s0=peg$parseBoolean();if(s0===peg$FAILED){s0=peg$parseJsNumericLiteral();if(s0===peg$FAILED){s0=peg$parseNull();if(s0===peg$FAILED){s0=peg$parseUndefined()}}}}return s0}function peg$parseSdStateLabel(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1383){s2=peg$c1383;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1384)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1385(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1199)}}return s0}function peg$parseSdStateColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1386){s2=peg$c1386;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1387)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1388(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1199)}}return s0}function peg$parseSdStateTextColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1390){s2=peg$c1390;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1391)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1392(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1389)}}return s0}function peg$parseSdStateBackgroundColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,16)===peg$c1394){s2=peg$c1394;peg$currPos+=16}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1395)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1396(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1393)}}return s0}function peg$parseSdStateBorderColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1398){s2=peg$c1398;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1399)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1400(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1397)}}return s0}function peg$parseSdStateShape(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1402){s2=peg$c1402;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1403)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseGvizShape();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1404(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1401)}}return s0}function peg$parseSdStateCorners(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,7)===peg$c1406){s2=peg$c1406;peg$currPos+=7}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1407)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseCorners();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1408(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1405)}}return s0}function peg$parseSdStateLineStyle(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1216){s2=peg$c1216;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1217)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLineStyle();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1410(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1411){s2=peg$c1411;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1412)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLineStyle();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1410(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1409)}}return s0}function peg$parseSdStateProperty(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1414){s2=peg$c1414;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1415)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseAtom();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1416(s6,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1414){s2=peg$c1414;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1415)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseAtom();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1417){s10=peg$c1417;peg$currPos+=8}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1418)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s12=peg$c1208;peg$currPos++}else{s12=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){peg$savedPos=s0;s1=peg$c1419(s6,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1413)}}return s0}function peg$parseStateDeclarationItem(){var s0;s0=peg$parseSdStateLabel();if(s0===peg$FAILED){s0=peg$parseSdStateColor();if(s0===peg$FAILED){s0=peg$parseSdStateTextColor();if(s0===peg$FAILED){s0=peg$parseSdStateBackgroundColor();if(s0===peg$FAILED){s0=peg$parseSdStateBorderColor();if(s0===peg$FAILED){s0=peg$parseSdStateShape();if(s0===peg$FAILED){s0=peg$parseSdStateCorners();if(s0===peg$FAILED){s0=peg$parseSdStateLineStyle();if(s0===peg$FAILED){s0=peg$parseSdStateProperty()}}}}}}}}return s0}function peg$parseStateDeclarationDesc(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===123){s1=peg$c1219;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$parseStateDeclarationItem();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseStateDeclarationItem()}if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===125){s5=peg$c1221;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1222)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1223(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseStateDeclaration(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1263){s2=peg$c1263;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1264)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s6=peg$c1206;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateDeclarationDesc();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1420(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseNamedList(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===38){s2=peg$c1421;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1422)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s6=peg$c1206;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseLabelOrLabelList();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1423(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineProperty(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1414){s2=peg$c1414;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1415)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5!==peg$FAILED){if(input.substr(peg$currPos,7)===peg$c3){s6=peg$c3;peg$currPos+=7}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c4)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1417){s10=peg$c1417;peg$currPos+=8}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1418)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s12=peg$c1208;peg$currPos++}else{s12=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){peg$savedPos=s0;s1=peg$c1424(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1414){s2=peg$c1414;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1415)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1417){s6=peg$c1417;peg$currPos+=8}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1418)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1425(s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1414){s2=peg$c1414;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1415)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5!==peg$FAILED){if(input.substr(peg$currPos,7)===peg$c3){s6=peg$c3;peg$currPos+=7}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c4)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1426(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1414){s2=peg$c1414;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1415)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s6=peg$c1208;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){peg$savedPos=s0;s1=peg$c1427(s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}}return s0}function peg$parseRegularArrangeDeclaration(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1428){s1=peg$c1428;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1429)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseLabelOrLabelList();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s5=peg$c1208;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1430(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrangeStartDeclaration(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1431){s1=peg$c1431;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1432)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseLabelOrLabelList();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s5=peg$c1208;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1433(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrangeEndDeclaration(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1434){s1=peg$c1434;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1435)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseLabelOrLabelList();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s5=peg$c1208;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1436(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrangeDeclaration(){var s0;peg$silentFails++;s0=peg$parseArrangeStartDeclaration();if(s0===peg$FAILED){s0=peg$parseArrangeEndDeclaration();if(s0===peg$FAILED){s0=peg$parseRegularArrangeDeclaration()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1437)}}return s0}function peg$parseTerm(){var s0;s0=peg$parseExp();if(s0===peg$FAILED){s0=peg$parseStateDeclaration();if(s0===peg$FAILED){s0=peg$parseArrangeDeclaration();if(s0===peg$FAILED){s0=peg$parseNamedList();if(s0===peg$FAILED){s0=peg$parseMachineAttribute();if(s0===peg$FAILED){s0=peg$parseMachineProperty();if(s0===peg$FAILED){s0=peg$parseConfig()}}}}}}return s0}function peg$parseTermList(){var s0,s1;s0=[];s1=peg$parseTerm();while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseTerm()}return s0}peg$result=peg$startRuleFunction();if(peg$result!==peg$FAILED&&peg$currPos===input.length){return peg$result}else{if(peg$result!==peg$FAILED&&peg$currPostypeof n==="string"?[n]:n;const weighted_rand_select=(options,probability_property="probability")=>{if(!Array.isArray(options)){throw new TypeError("options must be a non-empty array of objects")}if(!(typeof options[0]==="object")){throw new TypeError("options must be a non-empty array of objects")}const frand=cap=>Math.random()*cap,or_one=item=>item===undefined?1:item,prob_sum=options.reduce(((acc,val)=>acc+or_one(val[probability_property])),0),rnd=frand(prob_sum);let cursor=0,cursor_sum=0;while((cursor_sum+=or_one(options[cursor++][probability_property]))<=rnd){}return options[cursor-1]};function seq(n){if(!Number.isInteger(n)){throw new TypeError("seq/1 takes a non-negative integer n as an argument")}if(n<0){throw new TypeError("seq/1 takes a non-negative integer n as an argument")}return new Array(n).fill(true).map(((_,i)=>i))}const histograph=ar=>ar.sort().reduce(((m,v)=>(m.set(v,m.has(v)?m.get(v)+1:1),m)),new Map);const weighted_sample_select=(n,options,probability_property)=>seq(n).map((_i=>weighted_rand_select(options,probability_property)));const weighted_histo_key=(n,opts,prob_prop,extract)=>histograph(weighted_sample_select(n,opts,prob_prop).map((s=>s[extract])));function name_bind_prop_and_state(prop,state){if(typeof prop!=="string"){throw new JssmError(undefined,`Name of property must be a string; got ${prop}`)}if(typeof state!=="string"){throw new JssmError(undefined,`Name of state must be a string; got ${prop}`)}return JSON.stringify([prop,state])}const hook_name=(from,to)=>JSON.stringify([from,to]);const named_hook_name=(from,to,action)=>JSON.stringify([from,to,action]);const unique=arr=>arr.filter(((v,i,a)=>a.indexOf(v)===i));function find_repeated(arr){const uniqued=unique(arr);if(uniqued.length!==arr.length){const residue_keys=new Map;arr.forEach((k=>residue_keys.set(k,residue_keys.has(k)?residue_keys.get(k)+1:1)));uniqued.forEach((k=>residue_keys.set(k,residue_keys.get(k)-1)));return[...residue_keys.entries()].filter((e=>e[1]>0&&!Number.isNaN(e[0]))).map((e=>[e[0],e[1]+1]))}else{return[]}}var reductions={abkhazian:"ab","аҧсуа бызшәа, аҧсшәа":"ab",ab:"ab",abk:"ab","аҧсуа бызшәа":"ab","аҧсшәа":"ab",afar:"aa",afaraf:"aa",aa:"aa",aar:"aa",afrikaans:"af",af:"af",afr:"af",akan:"ak",ak:"ak",aka:"ak","aka + 2":"ak",albanian:"sq",shqip:"sq",sq:"sq",sqi:"sq",alb:"sq","sqi + 4":"sq",amharic:"am","አማርኛ":"am",am:"am",amh:"am",arabic:"ar","العربية":"ar",ar:"ar",ara:"ar","ara + 30":"ar",aragonese:"an","aragonés":"an",an:"an",arg:"an",armenian:"hy","հայերեն":"hy",hy:"hy",hye:"hy",arm:"hy",assamese:"as","অসমীয়া":"as",as:"as",asm:"as",avaric:"av","авар мацӏ, магӏарул мацӏ":"av",av:"av",ava:"av","авар мацӏ":"av","магӏарул мацӏ":"av",avestan:"ae",avesta:"ae",ae:"ae",ave:"ae",aymara:"ay","aymar aru":"ay",ay:"ay",aym:"ay","aym + 2":"ay",azerbaijani:"az","azərbaycan dili":"az",az:"az",aze:"az","aze + 2":"az",bambara:"bm",bamanankan:"bm",bm:"bm",bam:"bm",bashkir:"ba","башҡорт теле":"ba",ba:"ba",bak:"ba",basque:"eu","euskara, euskera":"eu",eu:"eu",eus:"eu",baq:"eu",euskara:"eu",euskera:"eu",belarusian:"be","беларуская мова":"be",be:"be",bel:"be",bengali:"bn","বাংলা":"bn",bn:"bn",ben:"bn","bihari languages":"bh","भोजपुरी":"bh",bh:"bh",bih:"bh",bislama:"bi",bi:"bi",bis:"bi",bosnian:"bs","bosanski jezik":"bs",bs:"bs",bos:"bs",breton:"br",brezhoneg:"br",br:"br",bre:"br",bulgarian:"bg","български език":"bg",bg:"bg",bul:"bg",burmese:"my","ဗမာစာ":"my",my:"my",mya:"my",bur:"my","catalan, valencian":"ca","català, valencià":"ca",ca:"ca",cat:"ca","català":"ca","valencià":"ca",chamorro:"ch",chamoru:"ch",ch:"ch",cha:"ch",chechen:"ce","нохчийн мотт":"ce",ce:"ce",che:"ce","chichewa, chewa, nyanja":"ny","chicheŵa, chinyanja":"ny",ny:"ny",nya:"ny","chicheŵa":"ny",chinyanja:"ny",chinese:"zh","中文 (zhōngwén), 汉语, 漢語":"zh",zh:"zh",zho:"zh",chi:"zh","zho + 13":"zh","中文 (zhōngwén)":"zh","汉语":"zh","漢語":"zh",chuvash:"cv","чӑваш чӗлхи":"cv",cv:"cv",chv:"cv",cornish:"kw",kernewek:"kw",kw:"kw",cor:"kw",corsican:"co","corsu, lingua corsa":"co",co:"co",cos:"co",corsu:"co","lingua corsa":"co",cree:"cr","ᓀᐦᐃᔭᐍᐏᐣ":"cr",cr:"cr",cre:"cr","cre + 6":"cr",croatian:"hr","hrvatski jezik":"hr",hr:"hr",hrv:"hr",czech:"cs","čeština, český jazyk":"cs",cs:"cs",ces:"cs",cze:"cs","čeština":"cs","český jazyk":"cs",danish:"da",dansk:"da",da:"da",dan:"da","divehi, dhivehi, maldivian":"dv","ދިވެހި":"dv",dv:"dv",div:"dv","dutch, flemish":"nl","nederlands, vlaams":"nl",nl:"nl",nld:"nl",dut:"nl",nederlands:"nl",vlaams:"nl",dzongkha:"dz","རྫོང་ཁ":"dz",dz:"dz",dzo:"dz",english:"en",en:"en",eng:"en",esperanto:"eo",eo:"eo",epo:"eo",estonian:"et","eesti, eesti keel":"et",et:"et",est:"et","est + 2":"et",eesti:"et","eesti keel":"et",ewe:"ee","eʋegbe":"ee",ee:"ee",faroese:"fo","føroyskt":"fo",fo:"fo",fao:"fo",fijian:"fj","vosa vakaviti":"fj",fj:"fj",fij:"fj",finnish:"fi","suomi, suomen kieli":"fi",fi:"fi",fin:"fi",suomi:"fi","suomen kieli":"fi",french:"fr","français, langue française":"fr",fr:"fr",fra:"fr",fre:"fr","français":"fr","langue française":"fr",fulah:"ff","fulfulde, pulaar, pular":"ff",ff:"ff",ful:"ff","ful + 9":"ff",fulfulde:"ff",pulaar:"ff",pular:"ff",galician:"gl",galego:"gl",gl:"gl",glg:"gl",georgian:"ka","ქართული":"ka",ka:"ka",kat:"ka",geo:"ka",german:"de",deutsch:"de",de:"de",deu:"de",ger:"de","greek (modern)":"el","ελληνικά":"el",el:"el",ell:"el",gre:"el","guaraní":"gn","avañe'ẽ":"gn",gn:"gn",grn:"gn","grn + 5":"gn",gujarati:"gu","ગુજરાતી":"gu",gu:"gu",guj:"gu","haitian, haitian creole":"ht","kreyòl ayisyen":"ht",ht:"ht",hat:"ht",hausa:"ha","(hausa) هَوُسَ":"ha",ha:"ha",hau:"ha","hebrew (modern)":"he","עברית":"he",he:"he",heb:"he",herero:"hz",otjiherero:"hz",hz:"hz",her:"hz",hindi:"hi","हिन्दी, हिंदी":"hi",hi:"hi",hin:"hi","हिन्दी":"hi","हिंदी":"hi","hiri motu":"ho",ho:"ho",hmo:"ho",hungarian:"hu",magyar:"hu",hu:"hu",hun:"hu",interlingua:"ia",ia:"ia",ina:"ia",indonesian:"id","bahasa indonesia":"id",id:"id",ind:"id",interlingue:"ie","originally called occidental; then interlingue after wwii":"ie",ie:"ie",ile:"ie",irish:"ga",gaeilge:"ga",ga:"ga",gle:"ga",igbo:"ig","asụsụ igbo":"ig",ig:"ig",ibo:"ig",inupiaq:"ik","iñupiaq, iñupiatun":"ik",ik:"ik",ipk:"ik","ipk + 2":"ik","iñupiaq":"ik","iñupiatun":"ik",ido:"io",io:"io",icelandic:"is","íslenska":"is",is:"is",isl:"is",ice:"is",italian:"it",italiano:"it",it:"it",ita:"it",inuktitut:"iu","ᐃᓄᒃᑎᑐᑦ":"iu",iu:"iu",iku:"iu","iku + 2":"iu",japanese:"ja","日本語 (にほんご)":"ja",ja:"ja",jpn:"ja",javanese:"jv","ꦧꦱꦗꦮ, basa jawa":"jv",jv:"jv",jav:"jv","ꦧꦱꦗꦮ":"jv","basa jawa":"jv","kalaallisut, greenlandic":"kl","kalaallisut, kalaallit oqaasii":"kl",kl:"kl",kal:"kl",kalaallisut:"kl","kalaallit oqaasii":"kl",kannada:"kn","ಕನ್ನಡ":"kn",kn:"kn",kan:"kn",kanuri:"kr",kr:"kr",kau:"kr","kau + 3":"kr",kashmiri:"ks","कश्मीरी, كشميري‎":"ks",ks:"ks",kas:"ks","कश्मीरी":"ks","كشميري‎":"ks",kazakh:"kk","қазақ тілі":"kk",kk:"kk",kaz:"kk","central khmer":"km","ខ្មែរ, ខេមរភាសា, ភាសាខ្មែរ":"km",km:"km",khm:"km","ខ្មែរ":"km","ខេមរភាសា":"km","ភាសាខ្មែរ":"km","kikuyu, gikuyu":"ki","gĩkũyũ":"ki",ki:"ki",kik:"ki",kinyarwanda:"rw",ikinyarwanda:"rw",rw:"rw",kin:"rw","kirghiz, kyrgyz":"ky","кыргызча, кыргыз тили":"ky",ky:"ky",kir:"ky","кыргызча":"ky","кыргыз тили":"ky",komi:"kv","коми кыв":"kv",kv:"kv",kom:"kv","kom + 2":"kv",kongo:"kg",kikongo:"kg",kg:"kg",kon:"kg","kon + 3":"kg",korean:"ko","한국어":"ko",ko:"ko",kor:"ko",kurdish:"ku","kurdî, كوردی‎":"ku",ku:"ku",kur:"ku","kur + 3":"ku","kurdî":"ku","كوردی‎":"ku","kuanyama, kwanyama":"kj",kuanyama:"kj",kj:"kj",kua:"kj",latin:"la","latine, lingua latina":"la",la:"la",lat:"la",latine:"la","lingua latina":"la","luxembourgish, letzeburgesch":"lb","lëtzebuergesch":"lb",lb:"lb",ltz:"lb",ganda:"lg",luganda:"lg",lg:"lg",lug:"lg","limburgan, limburger, limburgish":"li",limburgs:"li",li:"li",lim:"li",lingala:"ln","lingála":"ln",ln:"ln",lin:"ln",lao:"lo","ພາສາລາວ":"lo",lo:"lo",lithuanian:"lt","lietuvių kalba":"lt",lt:"lt",lit:"lt","luba-katanga":"lu",kiluba:"lu",lu:"lu",lub:"lu",latvian:"lv","latviešu valoda":"lv",lv:"lv",lav:"lv","lav + 2":"lv",manx:"gv","gaelg, gailck":"gv",gv:"gv",glv:"gv",gaelg:"gv",gailck:"gv",macedonian:"mk","македонски јазик":"mk",mk:"mk",mkd:"mk",mac:"mk",malagasy:"mg","fiteny malagasy":"mg",mg:"mg",mlg:"mg","mlg + 10":"mg",malay:"ms","bahasa melayu, بهاس ملايو‎":"ms",ms:"ms",msa:"ms",may:"ms","msa + 13":"ms","bahasa melayu":"ms","بهاس ملايو‎":"ms",malayalam:"ml","മലയാളം":"ml",ml:"ml",mal:"ml",maltese:"mt",malti:"mt",mt:"mt",mlt:"mt",maori:"mi","te reo māori":"mi",mi:"mi",mri:"mi",mao:"mi",marathi:"mr","मराठी":"mr",mr:"mr",mar:"mr",marshallese:"mh","kajin m̧ajeļ":"mh",mh:"mh",mah:"mh",mongolian:"mn","монгол хэл":"mn",mn:"mn",mon:"mn","mon + 2":"mn",nauru:"na","dorerin naoero":"na",na:"na",nau:"na","navajo, navaho":"nv","diné bizaad":"nv",nv:"nv",nav:"nv","north ndebele":"nd",isindebele:"nr",nd:"nd",nde:"nd",nepali:"ne","नेपाली":"ne",ne:"ne",nep:"ne",ndonga:"ng",owambo:"ng",ng:"ng",ndo:"ng","norwegian bokmål":"nb","norsk bokmål":"nb",nb:"nb",nob:"nb","norwegian nynorsk":"nn","norsk nynorsk":"nn",nn:"nn",nno:"nn",norwegian:"no",norsk:"no",no:"no",nor:"no","nor + 2":"no","sichuan yi, nuosu":"ii","ꆈꌠ꒿ nuosuhxop":"ii",ii:"ii",iii:"ii","south ndebele":"nr",nr:"nr",nbl:"nr",occitan:"oc","occitan, lenga d'òc":"oc",oc:"oc",oci:"oc","lenga d'òc":"oc",ojibwa:"oj","ᐊᓂᔑᓈᐯᒧᐎᓐ":"oj",oj:"oj",oji:"oj","oji + 7":"oj","church slavic, church slavonic, old church slavonic, old slavonic, old bulgarian":"cu","ѩзыкъ словѣньскъ":"cu",cu:"cu",chu:"cu",oromo:"om","afaan oromoo":"om",om:"om",orm:"om","orm + 4":"om",oriya:"or","ଓଡ଼ିଆ":"or",or:"or",ori:"or","ossetian, ossetic":"os","ирон æвзаг":"os",os:"os",oss:"os","panjabi, punjabi":"pa","ਪੰਜਾਬੀ":"pa",pa:"pa",pan:"pa",pali:"pi","पाऴि":"pi",pi:"pi",pli:"pi",persian:"fa","فارسی":"fa",fa:"fa",fas:"fa",per:"fa","fas + 2":"fa",polish:"pl","język polski, polszczyzna":"pl",pl:"pl",pol:"pl","język polski":"pl",polszczyzna:"pl","pashto, pushto":"ps","پښتو":"ps",ps:"ps",pus:"ps","pus + 3":"ps",portuguese:"pt","português":"pt",pt:"pt",por:"pt",quechua:"qu","runa simi, kichwa":"qu",qu:"qu",que:"qu","que + 44":"qu","runa simi":"qu",kichwa:"qu",romansh:"rm","rumantsch grischun":"rm",rm:"rm",roh:"rm",rundi:"rn",ikirundi:"rn",rn:"rn",run:"rn","romanian, moldavian, moldovan":"ro","română":"ro",ro:"ro",ron:"ro",rum:"ro",russian:"ru","русский":"ru",ru:"ru",rus:"ru",sanskrit:"sa","संस्कृतम्":"sa",sa:"sa",san:"sa",sardinian:"sc",sardu:"sc",sc:"sc",srd:"sc","srd + 4":"sc",sindhi:"sd","सिन्धी, سنڌي، سندھی‎":"sd",sd:"sd",snd:"sd","सिन्धी":"sd","سنڌي، سندھی‎":"sd","northern sami":"se","davvisámegiella":"se",se:"se",sme:"se",samoan:"sm","gagana fa'a samoa":"sm",sm:"sm",smo:"sm",sango:"sg","yângâ tî sängö":"sg",sg:"sg",sag:"sg",serbian:"sr","српски језик":"sr",sr:"sr",srp:"sr","gaelic, scottish gaelic":"gd","gàidhlig":"gd",gd:"gd",gla:"gd",shona:"sn",chishona:"sn",sn:"sn",sna:"sn","sinhala, sinhalese":"si","සිංහල":"si",si:"si",sin:"si",slovak:"sk","slovenčina, slovenský jazyk":"sk",sk:"sk",slk:"sk",slo:"sk","slovenčina":"sk","slovenský jazyk":"sk",slovenian:"sl","slovenski jezik, slovenščina":"sl",sl:"sl",slv:"sl","slovenski jezik":"sl","slovenščina":"sl",somali:"so","soomaaliga, af soomaali":"so",so:"so",som:"so",soomaaliga:"so","af soomaali":"so","southern sotho":"st",sesotho:"st",st:"st",sot:"st","spanish, castilian":"es","español":"es",es:"es",spa:"es",sundanese:"su","basa sunda":"su",su:"su",sun:"su",swahili:"sw",kiswahili:"sw",sw:"sw",swa:"sw","swa + 2":"sw",swati:"ss",siswati:"ss",ss:"ss",ssw:"ss",swedish:"sv",svenska:"sv",sv:"sv",swe:"sv",tamil:"ta","தமிழ்":"ta",ta:"ta",tam:"ta",telugu:"te","తెలుగు":"te",te:"te",tel:"te",tajik:"tg","тоҷикӣ, toçikī, تاجیکی‎":"tg",tg:"tg",tgk:"tg","тоҷикӣ":"tg","toçikī":"tg","تاجیکی‎":"tg",thai:"th","ไทย":"th",th:"th",tha:"th",tigrinya:"ti","ትግርኛ":"ti",ti:"ti",tir:"ti",tibetan:"bo","བོད་ཡིག":"bo",bo:"bo",bod:"bo",tib:"bo",turkmen:"tk","türkmen, түркмен":"tk",tk:"tk",tuk:"tk","türkmen":"tk","түркмен":"tk",tagalog:"tl","wikang tagalog":"tl",tl:"tl",tgl:"tl",tswana:"tn",setswana:"tn",tn:"tn",tsn:"tn","tonga (tonga islands)":"to","faka tonga":"to",to:"to",ton:"to",turkish:"tr","türkçe":"tr",tr:"tr",tur:"tr",tsonga:"ts",xitsonga:"ts",ts:"ts",tso:"ts",tatar:"tt","татар теле, tatar tele":"tt",tt:"tt",tat:"tt","татар теле":"tt","tatar tele":"tt",twi:"tw",tw:"tw",tahitian:"ty","reo tahiti":"ty",ty:"ty",tah:"ty","uighur, uyghur":"ug","ئۇيغۇرچە‎, uyghurche":"ug",ug:"ug",uig:"ug","ئۇيغۇرچە‎":"ug",uyghurche:"ug",ukrainian:"uk","українська":"uk",uk:"uk",ukr:"uk",urdu:"ur","اردو":"ur",ur:"ur",urd:"ur",uzbek:"uz","oʻzbek, ўзбек, أۇزبېك‎":"uz",uz:"uz",uzb:"uz","uzb + 2":"uz","oʻzbek":"uz","ўзбек":"uz","أۇزبېك‎":"uz",venda:"ve","tshivenḓa":"ve",ve:"ve",ven:"ve",vietnamese:"vi","tiếng việt":"vi",vi:"vi",vie:"vi","volapük":"vo",vo:"vo",vol:"vo",walloon:"wa",walon:"wa",wa:"wa",wln:"wa",welsh:"cy",cymraeg:"cy",cy:"cy",cym:"cy",wel:"cy",wolof:"wo",wollof:"wo",wo:"wo",wol:"wo","western frisian":"fy",frysk:"fy",fy:"fy",fry:"fy",xhosa:"xh",isixhosa:"xh",xh:"xh",xho:"xh",yiddish:"yi","ייִדיש":"yi",yi:"yi",yid:"yi","yid + 2":"yi",yoruba:"yo","yorùbá":"yo",yo:"yo",yor:"yo","zhuang, chuang":"za","saɯ cueŋƅ, saw cuengh":"za",za:"za",zha:"za","zha + 16":"za","saɯ cueŋƅ":"za","saw cuengh":"za",zulu:"zu",isizulu:"zu",zu:"zu",zul:"zu"};function reduce(from){return reductions[from.toLowerCase()]}function makeTransition(this_se,from,to,isRight,_wasList,_wasIndex){const kind=isRight?arrow_right_kind(this_se.kind):arrow_left_kind(this_se.kind),edge={from:from,to:to,kind:kind,forced_only:kind==="forced",main_path:kind==="main"};const action=isRight?"r_action":"l_action",probability=isRight?"r_probability":"l_probability";if(this_se[action]){edge.action=this_se[action]}if(this_se[probability]){edge.probability=this_se[probability]}return edge}function wrap_parse(input,options){return peg$parse(input,options||{})}function compile_rule_transition_step(acc,from,to,this_se,next_se){const edges=[];const uFrom=Array.isArray(from)?from:[from],uTo=Array.isArray(to)?to:[to];uFrom.map((f=>{uTo.map((t=>{const right=makeTransition(this_se,f,t,true);if(right.kind!=="none"){edges.push(right)}const left=makeTransition(this_se,t,f,false);if(left.kind!=="none"){edges.push(left)}}))}));const new_acc=acc.concat(edges);if(next_se){return compile_rule_transition_step(new_acc,to,next_se.to,next_se,next_se.se)}else{return new_acc}}function compile_rule_handle_transition(rule){return compile_rule_transition_step([],rule.from,rule.se.to,rule.se,rule.se.se)}function compile_rule_handler(rule){if(rule.key==="transition"){return{agg_as:"transition",val:compile_rule_handle_transition(rule)}}if(rule.key==="machine_language"){return{agg_as:"machine_language",val:reduce(rule.value)}}if(rule.key==="property_definition"){const ret={agg_as:"property_definition",val:{name:rule.name}};if(rule.hasOwnProperty("default_value")){ret.val.default_value=rule.default_value}if(rule.hasOwnProperty("required")){ret.val.required=rule.required}return ret}if(rule.key==="state_declaration"){if(!rule.name){throw new JssmError(undefined,"State declarations must have a name")}return{agg_as:"state_declaration",val:{state:rule.name,declarations:rule.value}}}if(["arrange_declaration","arrange_start_declaration","arrange_end_declaration"].includes(rule.key)){return{agg_as:rule.key,val:[rule.value]}}const tautologies=["graph_layout","start_states","end_states","machine_name","machine_version","machine_comment","machine_author","machine_contributor","machine_definition","machine_reference","machine_license","fsl_version","state_config","theme","flow","dot_preamble","default_state_config","default_start_state_config","default_end_state_config","default_hooked_state_config","default_active_state_config","default_terminal_state_config"];if(tautologies.includes(rule.key)){return{agg_as:rule.key,val:rule.value}}throw new JssmError(undefined,`compile_rule_handler: Unknown rule: ${JSON.stringify(rule)}`)}function compile(tree){const results={graph_layout:[],transition:[],start_states:[],end_states:[],state_config:[],state_declaration:[],fsl_version:[],machine_author:[],machine_comment:[],machine_contributor:[],machine_definition:[],machine_language:[],machine_license:[],machine_name:[],machine_reference:[],property_definition:[],state_property:{},theme:[],flow:[],dot_preamble:[],arrange_declaration:[],arrange_start_declaration:[],arrange_end_declaration:[],machine_version:[],default_state_config:[],default_active_state_config:[],default_hooked_state_config:[],default_terminal_state_config:[],default_start_state_config:[],default_end_state_config:[]};tree.map((tr=>{const rule=compile_rule_handler(tr),agg_as=rule.agg_as,val=rule.val;results[agg_as]=results[agg_as].concat(val)}));const property_keys=results["property_definition"].map((pd=>pd.name)),repeat_props=find_repeated(property_keys);if(repeat_props.length){throw new JssmError(undefined,`Cannot repeat property definitions. Saw ${JSON.stringify(repeat_props)}`)}const assembled_transitions=[].concat(...results["transition"]);const result_cfg={start_states:results.start_states.length?results.start_states:[assembled_transitions[0].from],end_states:results.end_states,transitions:assembled_transitions,state_property:[]};const oneOnlyKeys=["graph_layout","machine_name","machine_version","machine_comment","fsl_version","machine_license","machine_definition","machine_language","flow","dot_preamble"];oneOnlyKeys.map((oneOnlyKey=>{if(results[oneOnlyKey].length>1){throw new JssmError(undefined,`May only have one ${oneOnlyKey} statement maximum: ${JSON.stringify(results[oneOnlyKey])}`)}else{if(results[oneOnlyKey].length){result_cfg[oneOnlyKey]=results[oneOnlyKey][0]}}}));["arrange_declaration","arrange_start_declaration","arrange_end_declaration","machine_author","machine_contributor","machine_reference","theme","state_declaration","property_definition","default_state_config","default_start_state_config","default_end_state_config","default_hooked_state_config","default_terminal_state_config","default_active_state_config"].map((multiKey=>{if(results[multiKey].length){result_cfg[multiKey]=results[multiKey]}}));results.state_declaration.forEach((sd=>{sd.declarations.forEach((decl=>{if(decl.key==="state_property"){const label=name_bind_prop_and_state(decl.name,sd.state);if(result_cfg.state_property.findIndex((c=>c.name===label))!==-1){throw new JssmError(undefined,`A state may only bind a property once (${sd.state} re-binds ${decl.name})`)}else{result_cfg.state_property.push({name:label,default_value:decl.value})}}}))}));return result_cfg}function make(plan){return compile(wrap_parse(plan))}const base_state_style$5={shape:"rectangle",backgroundColor:"white",textColor:"black",borderColor:"black"};const base_active_state_style$5={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style$5={shape:"component"};const base_terminal_state_style$5={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style$5={textColor:"white",backgroundColor:"indigo"};const base_start_state_style$5={backgroundColor:"yellow"};const base_active_start_state_style$5={backgroundColor:"yellowgreen"};const base_active_hooked_state_style$5={backgroundColor:"yellowgreen"};const base_end_state_style$5={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style$5={textColor:"white",backgroundColor:"darkgreen"};const base_theme={name:"base",state:base_state_style$5,start:base_start_state_style$5,end:base_end_state_style$5,terminal:base_terminal_state_style$5,hooked:base_hooked_state_style$5,active:base_active_state_style$5,active_start:base_active_start_state_style$5,active_end:base_active_end_state_style$5,active_terminal:base_active_terminal_state_style$5,active_hooked:base_active_hooked_state_style$5,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$4={shape:"rectangle",backgroundColor:"white",textColor:"black",borderColor:"black"};const base_active_state_style$4={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style$4={shape:"component"};const base_terminal_state_style$4={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style$4={textColor:"white",backgroundColor:"indigo"};const base_start_state_style$4={backgroundColor:"yellow"};const base_active_start_state_style$4={backgroundColor:"yellowgreen"};const base_active_hooked_state_style$4={backgroundColor:"yellowgreen"};const base_end_state_style$4={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style$4={textColor:"white",backgroundColor:"darkgreen"};const default_theme={name:"default",state:base_state_style$4,start:base_start_state_style$4,end:base_end_state_style$4,terminal:base_terminal_state_style$4,hooked:base_hooked_state_style$4,active:base_active_state_style$4,active_start:base_active_start_state_style$4,active_end:base_active_end_state_style$4,active_terminal:base_active_terminal_state_style$4,active_hooked:base_active_hooked_state_style$4,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$3={shape:"rectangle",backgroundColor:"khaki",textColor:"black",borderColor:"black"};const base_active_state_style$3={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style$3={shape:"component"};const base_terminal_state_style$3={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style$3={textColor:"white",backgroundColor:"indigo"};const base_start_state_style$3={backgroundColor:"yellow"};const base_active_start_state_style$3={backgroundColor:"yellowgreen"};const base_active_hooked_state_style$3={backgroundColor:"yellowgreen"};const base_end_state_style$3={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style$3={textColor:"white",backgroundColor:"darkgreen"};const modern_theme={name:"modern",state:base_state_style$3,start:base_start_state_style$3,end:base_end_state_style$3,terminal:base_terminal_state_style$3,hooked:base_hooked_state_style$3,active:base_active_state_style$3,active_start:base_active_start_state_style$3,active_end:base_active_end_state_style$3,active_terminal:base_active_terminal_state_style$3,active_hooked:base_active_hooked_state_style$3,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$2={backgroundColor:"cadetblue1"};const base_active_state_style$2={textColor:"white",backgroundColor:"deepskyblue"};const base_hooked_state_style$2={shape:"component",backgroundColor:"mediumaquamarine"};const base_terminal_state_style$2={textColor:"white",backgroundColor:"darkviolet"};const base_active_terminal_state_style$2={textColor:"white",backgroundColor:"deeppink"};const base_start_state_style$2={backgroundColor:"darkseagreen1"};const base_active_start_state_style$2={backgroundColor:"aquamarine"};const base_active_hooked_state_style$2={backgroundColor:"aquamarine"};const base_end_state_style$2={textColor:"white",backgroundColor:"chartreuse1"};const base_active_end_state_style$2={textColor:"white",backgroundColor:"darkgreen"};const ocean_theme={name:"ocean",state:base_state_style$2,start:base_start_state_style$2,end:base_end_state_style$2,terminal:base_terminal_state_style$2,hooked:base_hooked_state_style$2,active:base_active_state_style$2,active_start:base_active_start_state_style$2,active_end:base_active_end_state_style$2,active_terminal:base_active_terminal_state_style$2,active_hooked:base_active_hooked_state_style$2,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_hooked_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_terminal_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_terminal_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_start_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_start_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_hooked_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_end_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_end_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const plain_theme={name:"plain",state:base_state_style$1,start:base_start_state_style$1,end:base_end_state_style$1,terminal:base_terminal_state_style$1,hooked:base_hooked_state_style$1,active:base_active_state_style$1,active_start:base_active_start_state_style$1,active_end:base_active_end_state_style$1,active_terminal:base_active_terminal_state_style$1,active_hooked:base_active_hooked_state_style$1,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style={shape:"rectangle",backgroundColor:"khaki",textColor:"black",borderColor:"black"};const base_active_state_style={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style={shape:"component"};const base_terminal_state_style={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style={textColor:"white",backgroundColor:"indigo"};const base_start_state_style={backgroundColor:"yellow"};const base_active_start_state_style={backgroundColor:"yellowgreen"};const base_active_hooked_state_style={backgroundColor:"yellowgreen"};const base_end_state_style={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style={textColor:"white",backgroundColor:"darkgreen"};const bold_theme={name:"bold",state:base_state_style,start:base_start_state_style,end:base_end_state_style,terminal:base_terminal_state_style,hooked:base_hooked_state_style,active:base_active_state_style,active_start:base_active_start_state_style,active_end:base_active_end_state_style,active_terminal:base_active_terminal_state_style,active_hooked:base_active_hooked_state_style,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const NegInfinity=Number.NEGATIVE_INFINITY,PosInfinity=Number.POSITIVE_INFINITY,Epsilon=Number.EPSILON,Pi=Math.PI,E=Math.E,Root2=Math.SQRT2,RootHalf=Math.SQRT1_2,Ln2=Math.LN2,Ln10=Math.LN10,Log2E=Math.LOG2E,Log10E=Math.LOG10E,MaxSafeInt=Number.MAX_SAFE_INTEGER,MinSafeInt=Number.MIN_SAFE_INTEGER,MaxPosNum=Number.MAX_VALUE,MinPosNum=Number.MIN_VALUE,Phi=1.618033988749895,EulerC=.5772156649015329;const gviz_shapes$1=["box3d","polygon","ellipse","oval","circle","point","egg","triangle","plaintext","plain","diamond","trapezium","parallelogram","house","pentagon","hexagon","septagon","octagon","doublecircle","doubleoctagon","tripleoctagon","invtriangle","invtrapezium","invhouse","Mdiamond","Msquare","Mcircle","rectangle","rect","square","star","none","underline","cylinder","note","tab","folder","box","component","promoter","cds","terminator","utr","primersite","restrictionsite","fivepoverhang","threepoverhang","noverhang","assembly","signature","insulator","ribosite","rnastab","proteasesite","proteinstab","rpromoter","rarrow","larrow","lpromoter","record"];const shapes$1=gviz_shapes$1;const named_colors$1=["AliceBlue","AntiqueWhite","Aqua","Aquamarine","Azure","Beige","Bisque","Black","BlanchedAlmond","Blue","BlueViolet","Brown","BurlyWood","CadetBlue","Chartreuse","Chocolate","Coral","CornflowerBlue","Cornsilk","Crimson","Cyan","DarkBlue","DarkCyan","DarkGoldenRod","DarkGray","DarkGrey","DarkGreen","DarkKhaki","DarkMagenta","DarkOliveGreen","Darkorange","DarkOrchid","DarkRed","DarkSalmon","DarkSeaGreen","DarkSlateBlue","DarkSlateGray","DarkSlateGrey","DarkTurquoise","DarkViolet","DeepPink","DeepSkyBlue","DimGray","DimGrey","DodgerBlue","FireBrick","FloralWhite","ForestGreen","Fuchsia","Gainsboro","GhostWhite","Gold","GoldenRod","Gray","Grey","Green","GreenYellow","HoneyDew","HotPink","IndianRed","Indigo","Ivory","Khaki","Lavender","LavenderBlush","LawnGreen","LemonChiffon","LightBlue","LightCoral","LightCyan","LightGoldenRodYellow","LightGray","LightGrey","LightGreen","LightPink","LightSalmon","LightSeaGreen","LightSkyBlue","LightSlateGray","LightSlateGrey","LightSteelBlue","LightYellow","Lime","LimeGreen","Linen","Magenta","Maroon","MediumAquaMarine","MediumBlue","MediumOrchid","MediumPurple","MediumSeaGreen","MediumSlateBlue","MediumSpringGreen","MediumTurquoise","MediumVioletRed","MidnightBlue","MintCream","MistyRose","Moccasin","NavajoWhite","Navy","OldLace","Olive","OliveDrab","Orange","OrangeRed","Orchid","PaleGoldenRod","PaleGreen","PaleTurquoise","PaleVioletRed","PapayaWhip","PeachPuff","Peru","Pink","Plum","PowderBlue","Purple","Red","RosyBrown","RoyalBlue","SaddleBrown","Salmon","SandyBrown","SeaGreen","SeaShell","Sienna","Silver","SkyBlue","SlateBlue","SlateGray","SlateGrey","Snow","SpringGreen","SteelBlue","Tan","Teal","Thistle","Tomato","Turquoise","Violet","Wheat","White","WhiteSmoke","Yellow","YellowGreen"];var constants=Object.freeze({__proto__:null,NegInfinity:NegInfinity,PosInfinity:PosInfinity,Epsilon:Epsilon,Pi:Pi,E:E,Root2:Root2,RootHalf:RootHalf,Ln2:Ln2,Ln10:Ln10,Log2E:Log2E,Log10E:Log10E,MaxSafeInt:MaxSafeInt,MinSafeInt:MinSafeInt,MaxPosNum:MaxPosNum,MinPosNum:MinPosNum,Phi:Phi,EulerC:EulerC,gviz_shapes:gviz_shapes$1,shapes:shapes$1,named_colors:named_colors$1});const version="5.85.9",build_time=1663041756792;const theme_mapping=new Map;theme_mapping.set("default",default_theme);theme_mapping.set("modern",modern_theme);theme_mapping.set("ocean",ocean_theme);theme_mapping.set("plain",plain_theme);theme_mapping.set("bold",bold_theme);const{shapes:shapes,gviz_shapes:gviz_shapes,named_colors:named_colors}=constants;function transfer_state_properties(state_decl){state_decl.declarations.map((d=>{switch(d.key){case"shape":state_decl.shape=d.value;break;case"color":state_decl.color=d.value;break;case"corners":state_decl.corners=d.value;break;case"line-style":state_decl.lineStyle=d.value;break;case"text-color":state_decl.textColor=d.value;break;case"background-color":state_decl.backgroundColor=d.value;break;case"state-label":state_decl.stateLabel=d.value;break;case"border-color":state_decl.borderColor=d.value;break;case"state_property":state_decl.property={name:d.name,value:d.value};break;default:throw new JssmError(undefined,`Unknown state property: '${JSON.stringify(d)}'`)}}));return state_decl}function state_style_condense(jssk){const state_style={};if(Array.isArray(jssk)){jssk.forEach(((key,i)=>{if(typeof key!=="object"){throw new JssmError(this,`invalid state item ${i} in state_style_condense list: ${JSON.stringify(key)}`)}switch(key.key){case"shape":if(state_style.shape!==undefined){throw new JssmError(this,`cannot redefine 'shape' in state_style_condense, already defined`)}state_style.shape=key.value;break;case"color":if(state_style.color!==undefined){throw new JssmError(this,`cannot redefine 'color' in state_style_condense, already defined`)}state_style.color=key.value;break;case"text-color":if(state_style.textColor!==undefined){throw new JssmError(this,`cannot redefine 'text-color' in state_style_condense, already defined`)}state_style.textColor=key.value;break;case"corners":if(state_style.corners!==undefined){throw new JssmError(this,`cannot redefine 'corners' in state_style_condense, already defined`)}state_style.corners=key.value;break;case"line-style":if(state_style.lineStyle!==undefined){throw new JssmError(this,`cannot redefine 'line-style' in state_style_condense, already defined`)}state_style.lineStyle=key.value;break;case"background-color":if(state_style.backgroundColor!==undefined){throw new JssmError(this,`cannot redefine 'background-color' in state_style_condense, already defined`)}state_style.backgroundColor=key.value;break;case"state-label":if(state_style.stateLabel!==undefined){throw new JssmError(this,`cannot redefine 'state-label' in state_style_condense, already defined`)}state_style.stateLabel=key.value;break;case"border-color":if(state_style.borderColor!==undefined){throw new JssmError(this,`cannot redefine 'border-color' in state_style_condense, already defined`)}state_style.borderColor=key.value;break;default:throw new JssmError(this,`unknown state style key in condense: ${key.key}`)}}))}else if(jssk===undefined);else{throw new JssmError(this,"state_style_condense received a non-array")}return state_style}class Machine{constructor({start_states:start_states,end_states:end_states=[],complete:complete=[],transitions:transitions,machine_author:machine_author,machine_comment:machine_comment,machine_contributor:machine_contributor,machine_definition:machine_definition,machine_language:machine_language,machine_license:machine_license,machine_name:machine_name,machine_version:machine_version,state_declaration:state_declaration,property_definition:property_definition,state_property:state_property,fsl_version:fsl_version,dot_preamble:dot_preamble=undefined,arrange_declaration:arrange_declaration=[],arrange_start_declaration:arrange_start_declaration=[],arrange_end_declaration:arrange_end_declaration=[],theme:theme=["default"],flow:flow="down",graph_layout:graph_layout="dot",instance_name:instance_name,history:history,data:data,default_state_config:default_state_config,default_active_state_config:default_active_state_config,default_hooked_state_config:default_hooked_state_config,default_terminal_state_config:default_terminal_state_config,default_start_state_config:default_start_state_config,default_end_state_config:default_end_state_config}){this._instance_name=instance_name;this._state=start_states[0];this._states=new Map;this._state_declarations=new Map;this._edges=[];this._edge_map=new Map;this._named_transitions=new Map;this._actions=new Map;this._reverse_actions=new Map;this._reverse_action_targets=new Map;this._start_states=new Set(start_states);this._end_states=new Set(end_states);this._machine_author=array_box_if_string(machine_author);this._machine_comment=machine_comment;this._machine_contributor=array_box_if_string(machine_contributor);this._machine_definition=machine_definition;this._machine_language=machine_language;this._machine_license=machine_license;this._machine_name=machine_name;this._machine_version=machine_version;this._raw_state_declaration=state_declaration||[];this._fsl_version=fsl_version;this._arrange_declaration=arrange_declaration;this._arrange_start_declaration=arrange_start_declaration;this._arrange_end_declaration=arrange_end_declaration;this._dot_preamble=dot_preamble;this._themes=theme;this._flow=flow;this._graph_layout=graph_layout;this._has_hooks=false;this._has_basic_hooks=false;this._has_named_hooks=false;this._has_entry_hooks=false;this._has_exit_hooks=false;this._has_global_action_hooks=false;this._has_transition_hooks=true;this._hooks=new Map;this._named_hooks=new Map;this._entry_hooks=new Map;this._exit_hooks=new Map;this._global_action_hooks=new Map;this._any_action_hook=undefined;this._standard_transition_hook=undefined;this._main_transition_hook=undefined;this._forced_transition_hook=undefined;this._any_transition_hook=undefined;this._has_post_hooks=false;this._has_post_basic_hooks=false;this._has_post_named_hooks=false;this._has_post_entry_hooks=false;this._has_post_exit_hooks=false;this._has_post_global_action_hooks=false;this._has_post_transition_hooks=true;this._post_hooks=new Map;this._post_named_hooks=new Map;this._post_entry_hooks=new Map;this._post_exit_hooks=new Map;this._post_global_action_hooks=new Map;this._post_any_action_hook=undefined;this._post_standard_transition_hook=undefined;this._post_main_transition_hook=undefined;this._post_forced_transition_hook=undefined;this._post_any_transition_hook=undefined;this._data=data;this._property_keys=new Set;this._default_properties=new Map;this._state_properties=new Map;this._required_properties=new Set;this._state_style=state_style_condense(default_state_config);this._active_state_style=state_style_condense(default_active_state_config);this._hooked_state_style=state_style_condense(default_hooked_state_config);this._terminal_state_style=state_style_condense(default_terminal_state_config);this._start_state_style=state_style_condense(default_start_state_config);this._end_state_style=state_style_condense(default_end_state_config);this._history_length=history||0;this._history=new circular_buffer(this._history_length);this._state_labels=new Map;if(state_declaration){state_declaration.map((state_decl=>{if(this._state_declarations.has(state_decl.state)){throw new JssmError(this,`Added the same state declaration twice: ${JSON.stringify(state_decl.state)}`)}this._state_declarations.set(state_decl.state,transfer_state_properties(state_decl))}))}[...this._state_declarations].map((sd=>{const[key,decl]=sd,labelled=decl.declarations.filter((d=>d.key==="state-label"));if(labelled.length>1){throw new JssmError(this,`state ${key} may only have one state-label; has ${labelled.length}`)}if(labelled.length===1){this._state_labels.set(key,labelled[0].value)}}));transitions.map((tr=>{if(tr.from===undefined){throw new JssmError(this,`transition must define 'from': ${JSON.stringify(tr)}`)}if(tr.to===undefined){throw new JssmError(this,`transition must define 'to': ${JSON.stringify(tr)}`)}const cursor_from=this._states.get(tr.from)||{name:tr.from,from:[],to:[],complete:complete.includes(tr.from)};if(!this._states.has(tr.from)){this._new_state(cursor_from)}const cursor_to=this._states.get(tr.to)||{name:tr.to,from:[],to:[],complete:complete.includes(tr.to)};if(!this._states.has(tr.to)){this._new_state(cursor_to)}if(cursor_from.to.includes(tr.to)){throw new JssmError(this,`already has ${JSON.stringify(tr.from)} to ${JSON.stringify(tr.to)}`)}else{cursor_from.to.push(tr.to);cursor_to.from.push(tr.from)}this._edges.push(tr);const thisEdgeId=this._edges.length-1;if(tr.name){if(this._named_transitions.has(tr.name)){throw new JssmError(this,`named transition "${JSON.stringify(tr.name)}" already created`)}else{this._named_transitions.set(tr.name,thisEdgeId)}}const from_mapping=this._edge_map.get(tr.from)||new Map;if(!this._edge_map.has(tr.from)){this._edge_map.set(tr.from,from_mapping)}from_mapping.set(tr.to,thisEdgeId);if(tr.action){let actionMap=this._actions.get(tr.action);if(!actionMap){actionMap=new Map;this._actions.set(tr.action,actionMap)}if(actionMap.has(tr.from)){throw new JssmError(this,`action ${JSON.stringify(tr.action)} already attached to origin ${JSON.stringify(tr.from)}`)}else{actionMap.set(tr.from,thisEdgeId)}let rActionMap=this._reverse_actions.get(tr.from);if(!rActionMap){rActionMap=new Map;this._reverse_actions.set(tr.from,rActionMap)}rActionMap.set(tr.action,thisEdgeId);if(!this._reverse_action_targets.has(tr.to)){this._reverse_action_targets.set(tr.to,new Map)}}}));if(Array.isArray(property_definition)){property_definition.forEach((pr=>{this._property_keys.add(pr.name);if(pr.hasOwnProperty("default_value")){this._default_properties.set(pr.name,pr.default_value)}if(pr.hasOwnProperty("required")&&pr.required===true){this._required_properties.add(pr.name)}}))}if(Array.isArray(state_property)){state_property.forEach((sp=>{this._state_properties.set(sp.name,sp.default_value)}))}this._state_properties.forEach(((_value,key)=>{const inside=JSON.parse(key);if(Array.isArray(inside)){const j_property=inside[0];if(typeof j_property==="string"){const j_state=inside[1];if(typeof j_state==="string"){if(!this.known_prop(j_property)){throw new JssmError(this,`State "${j_state}" has property "${j_property}" which is not globally declared`)}}}}}));this._required_properties.forEach((dp_key=>{if(this._default_properties.has(dp_key)){throw new JssmError(this,`The property "${dp_key}" is required, but also has a default; these conflict`)}this.states().forEach((s=>{const bound_name=name_bind_prop_and_state(dp_key,s);if(!this._state_properties.has(bound_name)){throw new JssmError(this,`State "${s}" is missing required property "${dp_key}"`)}}))}));if(!this.has_state(this.state())){throw new JssmError(this,`Current start state "${this.state()}" does not exist`)}start_states.forEach(((ss,ssi)=>{if(!this.has_state(ss)){throw new JssmError(this,`Start state ${ssi} "${ss}" does not exist`)}}));if(!(start_states.length===this._start_states.size)){throw new JssmError(this,`Start states cannot be repeated`)}}_new_state(state_config){if(this._states.has(state_config.name)){throw new JssmError(this,`state ${JSON.stringify(state_config.name)} already exists`)}this._states.set(state_config.name,state_config);return state_config.name}state(){return this._state}label_for(state){return this._state_labels.get(state)}display_text(state){var _a;return(_a=this._state_labels.get(state))!==null&&_a!==void 0?_a:state}data(){return this._data}prop(name){const bound_name=name_bind_prop_and_state(name,this.state());if(this._state_properties.has(bound_name)){return this._state_properties.get(bound_name)}else if(this._default_properties.has(name)){return this._default_properties.get(name)}else{return undefined}}strict_prop(name){const bound_name=name_bind_prop_and_state(name,this.state());if(this._state_properties.has(bound_name)){return this._state_properties.get(bound_name)}else if(this._default_properties.has(name)){return this._default_properties.get(name)}else{throw new JssmError(this,`Strictly requested a prop '${name}' which doesn't exist on current state '${this.state()}' and has no default`)}}props(){const ret={};this.known_props().forEach((p=>ret[p]=this.prop(p)));return ret}known_prop(prop_name){return this._property_keys.has(prop_name)}known_props(){return[...this._property_keys]}is_start_state(whichState){return this._start_states.has(whichState)}is_end_state(whichState){return this._end_states.has(whichState)}state_is_final(whichState){return this.state_is_terminal(whichState)||this.state_is_complete(whichState)}is_final(){return this.state_is_final(this.state())}serialize(comment){return{comment:comment,state:this._state,data:this._data,jssm_version:version,history:this._history.toArray(),history_capacity:this._history.capacity,timestamp:(new Date).getTime()}}graph_layout(){return this._graph_layout}dot_preamble(){return this._dot_preamble}machine_author(){return this._machine_author}machine_comment(){return this._machine_comment}machine_contributor(){return this._machine_contributor}machine_definition(){return this._machine_definition}machine_language(){return this._machine_language}machine_license(){return this._machine_license}machine_name(){return this._machine_name}machine_version(){return this._machine_version}raw_state_declarations(){return this._raw_state_declaration}state_declaration(which){return this._state_declarations.get(which)}state_declarations(){return this._state_declarations}fsl_version(){return this._fsl_version}machine_state(){return{internal_state_impl_version:1,actions:this._actions,edge_map:this._edge_map,edges:this._edges,named_transitions:this._named_transitions,reverse_actions:this._reverse_actions,state:this._state,states:this._states}}states(){return Array.from(this._states.keys())}state_for(whichState){const state=this._states.get(whichState);if(state){return state}else{throw new JssmError(this,"No such state",{requested_state:whichState})}}has_state(whichState){return this._states.get(whichState)!==undefined}list_edges(){return this._edges}list_named_transitions(){return this._named_transitions}list_actions(){return Array.from(this._actions.keys())}get uses_actions(){return Array.from(this._actions.keys()).length>0}all_themes(){return[...theme_mapping.keys()]}get themes(){return this._themes}set themes(to){if(typeof to==="string"){this._themes=[to]}else{this._themes=to}}flow(){return this._flow}get_transition_by_state_names(from,to){const emg=this._edge_map.get(from);if(emg){return emg.get(to)}else{return undefined}}lookup_transition_for(from,to){const id=this.get_transition_by_state_names(from,to);return id===undefined||id===null?undefined:this._edges[id]}list_transitions(whichState=this.state()){return{entrances:this.list_entrances(whichState),exits:this.list_exits(whichState)}}list_entrances(whichState=this.state()){return(this._states.get(whichState)||{from:undefined}).from||[]}list_exits(whichState=this.state()){return(this._states.get(whichState)||{to:undefined}).to||[]}probable_exits_for(whichState){const wstate=this._states.get(whichState);if(!wstate){throw new JssmError(this,`No such state ${JSON.stringify(whichState)} in probable_exits_for`)}const wstate_to=wstate.to,wtf=wstate_to.map((ws=>this.lookup_transition_for(this.state(),ws))).filter(Boolean);return wtf}probabilistic_transition(){const selected=weighted_rand_select(this.probable_exits_for(this.state()));return this.transition(selected.to)}probabilistic_walk(n){return seq(n).map((()=>{const state_was=this.state();this.probabilistic_transition();return state_was})).concat([this.state()])}probabilistic_histo_walk(n){return histograph(this.probabilistic_walk(n))}actions(whichState=this.state()){const wstate=this._reverse_actions.get(whichState);if(wstate){return Array.from(wstate.keys())}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}list_states_having_action(whichState){const wstate=this._actions.get(whichState);if(wstate){return Array.from(wstate.keys())}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}list_exit_actions(whichState=this.state()){const ra_base=this._reverse_actions.get(whichState);if(!ra_base){throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}return Array.from(ra_base.values()).map((edgeId=>this._edges[edgeId])).filter((o=>o.from===whichState)).map((filtered=>filtered.action))}probable_action_exits(whichState=this.state()){const ra_base=this._reverse_actions.get(whichState);if(!ra_base){throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}return Array.from(ra_base.values()).map((edgeId=>this._edges[edgeId])).filter((o=>o.from===whichState)).map((filtered=>({action:filtered.action,probability:filtered.probability})))}is_unenterable(whichState){if(!this.has_state(whichState)){throw new JssmError(this,`No such state ${whichState}`)}return this.list_entrances(whichState).length===0}has_unenterables(){return this.states().some((x=>this.is_unenterable(x)))}is_terminal(){return this.state_is_terminal(this.state())}state_is_terminal(whichState){if(!this.has_state(whichState)){throw new JssmError(this,`No such state ${whichState}`)}return this.list_exits(whichState).length===0}has_terminals(){return this.states().some((x=>this.state_is_terminal(x)))}is_complete(){return this.state_is_complete(this.state())}state_is_complete(whichState){const wstate=this._states.get(whichState);if(wstate){return wstate.complete}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}has_completes(){return this.states().some((x=>this.state_is_complete(x)))}set_hook(HookDesc){switch(HookDesc.kind){case"hook":this._hooks.set(hook_name(HookDesc.from,HookDesc.to),HookDesc.handler);this._has_hooks=true;this._has_basic_hooks=true;break;case"named":this._named_hooks.set(named_hook_name(HookDesc.from,HookDesc.to,HookDesc.action),HookDesc.handler);this._has_hooks=true;this._has_named_hooks=true;break;case"global action":this._global_action_hooks.set(HookDesc.action,HookDesc.handler);this._has_hooks=true;this._has_global_action_hooks=true;break;case"any action":this._any_action_hook=HookDesc.handler;this._has_hooks=true;break;case"standard transition":this._standard_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"main transition":this._main_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"forced transition":this._forced_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"any transition":this._any_transition_hook=HookDesc.handler;this._has_hooks=true;break;case"entry":this._entry_hooks.set(HookDesc.to,HookDesc.handler);this._has_hooks=true;this._has_entry_hooks=true;break;case"exit":this._exit_hooks.set(HookDesc.from,HookDesc.handler);this._has_hooks=true;this._has_exit_hooks=true;break;case"post hook":this._post_hooks.set(hook_name(HookDesc.from,HookDesc.to),HookDesc.handler);this._has_post_hooks=true;this._has_post_basic_hooks=true;break;case"post named":this._post_named_hooks.set(named_hook_name(HookDesc.from,HookDesc.to,HookDesc.action),HookDesc.handler);this._has_post_hooks=true;this._has_post_named_hooks=true;break;case"post global action":this._post_global_action_hooks.set(HookDesc.action,HookDesc.handler);this._has_post_hooks=true;this._has_post_global_action_hooks=true;break;case"post any action":this._post_any_action_hook=HookDesc.handler;this._has_post_hooks=true;break;case"post standard transition":this._post_standard_transition_hook=HookDesc.handler;this._has_post_transition_hooks=true;this._has_post_hooks=true;break;case"post main transition":this._post_main_transition_hook=HookDesc.handler;this._has_post_transition_hooks=true;this._has_post_hooks=true;break;case"post forced transition":this._post_forced_transition_hook=HookDesc.handler;this._has_post_transition_hooks=true;this._has_post_hooks=true;break;case"post any transition":this._post_any_transition_hook=HookDesc.handler;this._has_post_hooks=true;break;case"post entry":this._post_entry_hooks.set(HookDesc.to,HookDesc.handler);this._has_post_entry_hooks=true;this._has_post_hooks=true;break;case"post exit":this._post_exit_hooks.set(HookDesc.from,HookDesc.handler);this._has_post_exit_hooks=true;this._has_post_hooks=true;break;default:throw new JssmError(this,`Unknown hook type ${HookDesc.kind}, should be impossible`)}}hook(from,to,handler){this.set_hook({kind:"hook",from:from,to:to,handler:handler});return this}hook_action(from,to,action,handler){this.set_hook({kind:"named",from:from,to:to,action:action,handler:handler});return this}hook_global_action(action,handler){this.set_hook({kind:"global action",action:action,handler:handler});return this}hook_any_action(handler){this.set_hook({kind:"any action",handler:handler});return this}hook_standard_transition(handler){this.set_hook({kind:"standard transition",handler:handler});return this}hook_main_transition(handler){this.set_hook({kind:"main transition",handler:handler});return this}hook_forced_transition(handler){this.set_hook({kind:"forced transition",handler:handler});return this}hook_any_transition(handler){this.set_hook({kind:"any transition",handler:handler});return this}hook_entry(to,handler){this.set_hook({kind:"entry",to:to,handler:handler});return this}hook_exit(from,handler){this.set_hook({kind:"exit",from:from,handler:handler});return this}post_hook(from,to,handler){this.set_hook({kind:"post hook",from:from,to:to,handler:handler});return this}post_hook_action(from,to,action,handler){this.set_hook({kind:"post named",from:from,to:to,action:action,handler:handler});return this}post_hook_global_action(action,handler){this.set_hook({kind:"post global action",action:action,handler:handler});return this}post_hook_any_action(handler){this.set_hook({kind:"post any action",handler:handler});return this}post_hook_standard_transition(handler){this.set_hook({kind:"post standard transition",handler:handler});return this}post_hook_main_transition(handler){this.set_hook({kind:"post main transition",handler:handler});return this}post_hook_forced_transition(handler){this.set_hook({kind:"post forced transition",handler:handler});return this}post_hook_any_transition(handler){this.set_hook({kind:"post any transition",handler:handler});return this}post_hook_entry(to,handler){this.set_hook({kind:"post entry",to:to,handler:handler});return this}post_hook_exit(from,handler){this.set_hook({kind:"post exit",from:from,handler:handler});return this}edges_between(from,to){return this._edges.filter((edge=>edge.from===from&&edge.to===to))}transition_impl(newStateOrAction,newData,wasForced,wasAction){let valid=false,trans_type,newState,fromAction=undefined;if(wasForced){if(this.valid_force_transition(newStateOrAction,newData)){valid=true;trans_type="forced";newState=newStateOrAction}}else if(wasAction){if(this.valid_action(newStateOrAction,newData)){const edge=this.current_action_edge_for(newStateOrAction);valid=true;trans_type=edge.kind;newState=edge.to;fromAction=newStateOrAction}}else{if(this.valid_transition(newStateOrAction,newData)){if(this._has_transition_hooks){trans_type=this.edges_between(this._state,newStateOrAction)[0].kind}valid=true;newState=newStateOrAction}}const hook_args={data:this._data,action:fromAction,from:this._state,to:newState,forced:wasForced,trans_type:trans_type};if(valid){if(this._has_hooks){function update_fields(res){if(res.hasOwnProperty("data")){hook_args.data=res.data;data_changed=true}}let data_changed=false;if(wasAction){const outcome=abstract_hook_step(this._any_action_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome);const outcome2=abstract_hook_step(this._global_action_hooks.get(newStateOrAction),hook_args);if(outcome2.pass===false){return false}update_fields(outcome2)}if(this._any_transition_hook!==undefined){const outcome=abstract_hook_step(this._any_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._has_exit_hooks){const outcome=abstract_hook_step(this._exit_hooks.get(this._state),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._has_named_hooks){if(wasAction){const nhn=named_hook_name(this._state,newState,newStateOrAction),outcome=abstract_hook_step(this._named_hooks.get(nhn),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}}if(this._has_basic_hooks){const hn=hook_name(this._state,newState),outcome=abstract_hook_step(this._hooks.get(hn),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(trans_type==="legal"){const outcome=abstract_hook_step(this._standard_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(trans_type==="main"){const outcome=abstract_hook_step(this._main_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(trans_type==="forced"){const outcome=abstract_hook_step(this._forced_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._has_entry_hooks){const outcome=abstract_hook_step(this._entry_hooks.get(newState),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._history_length){this._history.shove([this._state,this._data])}this._state=newState;if(data_changed){this._data=hook_args.data}}else{if(this._history_length){this._history.shove([this._state,this._data])}this._state=newState}}else{return false}if(this._has_post_hooks){if(wasAction){if(this._post_any_action_hook!==undefined){this._post_any_action_hook(hook_args)}const pgah=this._post_global_action_hooks.get(hook_args.action);if(pgah!==undefined){pgah(hook_args)}}if(this._post_any_transition_hook!==undefined){this._post_any_transition_hook(hook_args)}if(this._has_post_exit_hooks){const peh=this._post_exit_hooks.get(hook_args.from);if(peh!==undefined){peh(hook_args)}}if(this._has_post_named_hooks){if(wasAction){const nhn=named_hook_name(hook_args.from,hook_args.to,hook_args.action),pnh=this._post_named_hooks.get(nhn);if(pnh!==undefined){pnh(hook_args)}}}if(this._has_post_basic_hooks){const hook=this._post_hooks.get(hook_name(hook_args.from,hook_args.to));if(hook!==undefined){hook(hook_args)}}if(trans_type==="legal"){if(this._post_standard_transition_hook!==undefined){this._post_standard_transition_hook(hook_args)}}if(trans_type==="main"){if(this._post_main_transition_hook!==undefined){this._post_main_transition_hook(hook_args)}}if(trans_type==="forced"){if(this._post_forced_transition_hook!==undefined){this._post_forced_transition_hook(hook_args)}}if(this._has_post_entry_hooks){const hook=this._post_entry_hooks.get(hook_args.to);if(hook!==undefined){hook(hook_args)}}}return true}get history(){return this._history.toArray()}get history_inclusive(){const ret=this._history.toArray();ret.push([this.state(),this.data()]);return ret}get history_length(){return this._history_length}set history_length(to){this._history_length=to;this._history.resize(to,true)}action(actionName,newData){return this.transition_impl(actionName,newData,false,true)}get standard_state_style(){return this._state_style}get hooked_state_style(){return this._hooked_state_style}get start_state_style(){return this._start_state_style}get end_state_style(){return this._end_state_style}get terminal_state_style(){return this._terminal_state_style}get active_state_style(){return this._active_state_style}style_for(state){const themes=[];this._themes.forEach((th=>{const theme_impl=theme_mapping.get(th);if(theme_impl!==undefined){themes.push(theme_impl)}}));const layers=[base_theme.state];themes.reverse().map((theme=>{if(theme.state){layers.push(theme.state)}}));if(this._state_style){layers.push(this._state_style)}if(this.state_is_terminal(state)){layers.push(base_theme.terminal);themes.map((theme=>{if(theme.terminal){layers.push(theme.terminal)}}));if(this._terminal_state_style){layers.push(this._terminal_state_style)}}if(this.is_start_state(state)){layers.push(base_theme.start);themes.map((theme=>{if(theme.start){layers.push(theme.start)}}));if(this._start_state_style){layers.push(this._start_state_style)}}if(this.is_end_state(state)){layers.push(base_theme.end);themes.map((theme=>{if(theme.end){layers.push(theme.end)}}));if(this._end_state_style){layers.push(this._end_state_style)}}if(this.state()===state){layers.push(base_theme.active);themes.map((theme=>{if(theme.active){layers.push(theme.active)}}));if(this._active_state_style){layers.push(this._active_state_style)}}const individual_style={},decl=this._state_declarations.get(state);individual_style.color=decl===null||decl===void 0?void 0:decl.color;individual_style.textColor=decl===null||decl===void 0?void 0:decl.textColor;individual_style.borderColor=decl===null||decl===void 0?void 0:decl.borderColor;individual_style.backgroundColor=decl===null||decl===void 0?void 0:decl.backgroundColor;individual_style.lineStyle=decl===null||decl===void 0?void 0:decl.lineStyle;individual_style.corners=decl===null||decl===void 0?void 0:decl.corners;individual_style.shape=decl===null||decl===void 0?void 0:decl.shape;layers.push(individual_style);return layers.reduce(((acc,cur)=>{const composite_state=acc;Object.keys(cur).forEach((key=>{var _a;return composite_state[key]=(_a=cur[key])!==null&&_a!==void 0?_a:composite_state[key]}));return composite_state}),{})}do(actionName,newData){return this.transition_impl(actionName,newData,false,true)}transition(newState,newData){return this.transition_impl(newState,newData,false,false)}go(newState,newData){return this.transition_impl(newState,newData,false,false)}force_transition(newState,newData){return this.transition_impl(newState,newData,true,false)}current_action_for(action){const action_base=this._actions.get(action);return action_base?action_base.get(this.state()):undefined}current_action_edge_for(action){const idx=this.current_action_for(action);if(idx===undefined||idx===null){throw new JssmError(this,`No such action ${JSON.stringify(action)}`)}return this._edges[idx]}valid_action(action,_newData){return this.current_action_for(action)!==undefined}valid_transition(newState,_newData){const transition_for=this.lookup_transition_for(this.state(),newState);if(!transition_for){return false}if(transition_for.forced_only){return false}return true}valid_force_transition(newState,_newData){return this.lookup_transition_for(this.state(),newState)!==undefined}instance_name(){return this._instance_name}sm(template_strings,...remainder){return sm(template_strings,...remainder)}}function sm(template_strings,...remainder){return new Machine(make(template_strings.reduce(((acc,val,idx)=>`${acc}${remainder[idx-1]}${val}`))))}function from(MachineAsString,ExtraConstructorFields){const to_decorate=make(MachineAsString);if(ExtraConstructorFields!==undefined){Object.keys(ExtraConstructorFields).map((key=>to_decorate[key]=ExtraConstructorFields[key]))}return new Machine(to_decorate)}function is_hook_complex_result(hr){if(typeof hr==="object"){if(typeof hr.pass==="boolean"){return true}}return false}function is_hook_rejection(hr){if(hr===true){return false}if(hr===undefined){return false}if(hr===false){return true}if(is_hook_complex_result(hr)){return!hr.pass}throw new TypeError("unknown hook rejection type result")}function abstract_hook_step(maybe_hook,hook_args){if(maybe_hook!==undefined){const result=maybe_hook(hook_args);if(result===undefined){return{pass:true}}if(result===true){return{pass:true}}if(result===false){return{pass:false}}if(is_hook_complex_result(result)){return result}throw new TypeError(`Unknown hook result type ${result}`)}else{return{pass:true}}}function deserialize(machine_string,ser){const machine=from(machine_string,{data:ser.data,history:ser.history_capacity});machine._state=ser.state;ser.history.forEach((history_item=>machine._history.push(history_item)));return machine}exports.FslDirections=FslDirections;exports.Machine=Machine;exports.abstract_hook_step=abstract_hook_step;exports.arrow_direction=arrow_direction;exports.arrow_left_kind=arrow_left_kind;exports.arrow_right_kind=arrow_right_kind;exports.build_time=build_time;exports.compile=compile;exports.constants=constants;exports.deserialize=deserialize;exports.find_repeated=find_repeated;exports.from=from;exports.gviz_shapes=gviz_shapes;exports.histograph=histograph;exports.is_hook_complex_result=is_hook_complex_result;exports.is_hook_rejection=is_hook_rejection;exports.make=make;exports.named_colors=named_colors;exports.parse=wrap_parse;exports.seq=seq;exports.shapes=shapes;exports.sm=sm;exports.state_style_condense=state_style_condense;exports.transfer_state_properties=transfer_state_properties;exports.unique=unique;exports.version=version;exports.weighted_histo_key=weighted_histo_key;exports.weighted_rand_select=weighted_rand_select;exports.weighted_sample_select=weighted_sample_select; diff --git a/dist/jssm.es5.cjs.nonmin.js b/dist/jssm.es5.cjs.nonmin.js index 4b2641cd..b5cc9c65 100644 --- a/dist/jssm.es5.cjs.nonmin.js +++ b/dist/jssm.es5.cjs.nonmin.js @@ -2,1701 +2,221 @@ Object.defineProperty(exports, '__esModule', { value: true }); -var reductions = { - "abkhazian" : "ab", - "аҧсуа бызшәа, аҧсшәа" : "ab", - "ab" : "ab", - "abk" : "ab", - "аҧсуа бызшәа" : "ab", - "аҧсшәа" : "ab", - "afar" : "aa", - "afaraf" : "aa", - "aa" : "aa", - "aar" : "aa", - "afrikaans" : "af", - "af" : "af", - "afr" : "af", - "akan" : "ak", - "ak" : "ak", - "aka" : "ak", - "aka + 2" : "ak", - "albanian" : "sq", - "shqip" : "sq", - "sq" : "sq", - "sqi" : "sq", - "alb" : "sq", - "sqi + 4" : "sq", - "amharic" : "am", - "አማርኛ" : "am", - "am" : "am", - "amh" : "am", - "arabic" : "ar", - "العربية" : "ar", - "ar" : "ar", - "ara" : "ar", - "ara + 30" : "ar", - "aragonese" : "an", - "aragonés" : "an", - "an" : "an", - "arg" : "an", - "armenian" : "hy", - "հայերեն" : "hy", - "hy" : "hy", - "hye" : "hy", - "arm" : "hy", - "assamese" : "as", - "অসমীয়া" : "as", - "as" : "as", - "asm" : "as", - "avaric" : "av", - "авар мацӏ, магӏарул мацӏ" : "av", - "av" : "av", - "ava" : "av", - "авар мацӏ" : "av", - "магӏарул мацӏ" : "av", - "avestan" : "ae", - "avesta" : "ae", - "ae" : "ae", - "ave" : "ae", - "aymara" : "ay", - "aymar aru" : "ay", - "ay" : "ay", - "aym" : "ay", - "aym + 2" : "ay", - "azerbaijani" : "az", - "azərbaycan dili" : "az", - "az" : "az", - "aze" : "az", - "aze + 2" : "az", - "bambara" : "bm", - "bamanankan" : "bm", - "bm" : "bm", - "bam" : "bm", - "bashkir" : "ba", - "башҡорт теле" : "ba", - "ba" : "ba", - "bak" : "ba", - "basque" : "eu", - "euskara, euskera" : "eu", - "eu" : "eu", - "eus" : "eu", - "baq" : "eu", - "euskara" : "eu", - "euskera" : "eu", - "belarusian" : "be", - "беларуская мова" : "be", - "be" : "be", - "bel" : "be", - "bengali" : "bn", - "বাংলা" : "bn", - "bn" : "bn", - "ben" : "bn", - "bihari languages" : "bh", - "भोजपुरी" : "bh", - "bh" : "bh", - "bih" : "bh", - "bislama" : "bi", - "bi" : "bi", - "bis" : "bi", - "bosnian" : "bs", - "bosanski jezik" : "bs", - "bs" : "bs", - "bos" : "bs", - "breton" : "br", - "brezhoneg" : "br", - "br" : "br", - "bre" : "br", - "bulgarian" : "bg", - "български език" : "bg", - "bg" : "bg", - "bul" : "bg", - "burmese" : "my", - "ဗမာစာ" : "my", - "my" : "my", - "mya" : "my", - "bur" : "my", - "catalan, valencian" : "ca", - "català, valencià" : "ca", - "ca" : "ca", - "cat" : "ca", - "català" : "ca", - "valencià" : "ca", - "chamorro" : "ch", - "chamoru" : "ch", - "ch" : "ch", - "cha" : "ch", - "chechen" : "ce", - "нохчийн мотт" : "ce", - "ce" : "ce", - "che" : "ce", - "chichewa, chewa, nyanja" : "ny", - "chicheŵa, chinyanja" : "ny", - "ny" : "ny", - "nya" : "ny", - "chicheŵa" : "ny", - "chinyanja" : "ny", - "chinese" : "zh", - "中文 (zhōngwén), 汉语, 漢語" : "zh", - "zh" : "zh", - "zho" : "zh", - "chi" : "zh", - "zho + 13" : "zh", - "中文 (zhōngwén)" : "zh", - "汉语" : "zh", - "漢語" : "zh", - "chuvash" : "cv", - "чӑваш чӗлхи" : "cv", - "cv" : "cv", - "chv" : "cv", - "cornish" : "kw", - "kernewek" : "kw", - "kw" : "kw", - "cor" : "kw", - "corsican" : "co", - "corsu, lingua corsa" : "co", - "co" : "co", - "cos" : "co", - "corsu" : "co", - "lingua corsa" : "co", - "cree" : "cr", - "ᓀᐦᐃᔭᐍᐏᐣ" : "cr", - "cr" : "cr", - "cre" : "cr", - "cre + 6" : "cr", - "croatian" : "hr", - "hrvatski jezik" : "hr", - "hr" : "hr", - "hrv" : "hr", - "czech" : "cs", - "čeština, český jazyk" : "cs", - "cs" : "cs", - "ces" : "cs", - "cze" : "cs", - "čeština" : "cs", - "český jazyk" : "cs", - "danish" : "da", - "dansk" : "da", - "da" : "da", - "dan" : "da", - "divehi, dhivehi, maldivian" : "dv", - "ދިވެހި" : "dv", - "dv" : "dv", - "div" : "dv", - "dutch, flemish" : "nl", - "nederlands, vlaams" : "nl", - "nl" : "nl", - "nld" : "nl", - "dut" : "nl", - "nederlands" : "nl", - "vlaams" : "nl", - "dzongkha" : "dz", - "རྫོང་ཁ" : "dz", - "dz" : "dz", - "dzo" : "dz", - "english" : "en", - "en" : "en", - "eng" : "en", - "esperanto" : "eo", - "eo" : "eo", - "epo" : "eo", - "estonian" : "et", - "eesti, eesti keel" : "et", - "et" : "et", - "est" : "et", - "est + 2" : "et", - "eesti" : "et", - "eesti keel" : "et", - "ewe" : "ee", - "eʋegbe" : "ee", - "ee" : "ee", - "faroese" : "fo", - "føroyskt" : "fo", - "fo" : "fo", - "fao" : "fo", - "fijian" : "fj", - "vosa vakaviti" : "fj", - "fj" : "fj", - "fij" : "fj", - "finnish" : "fi", - "suomi, suomen kieli" : "fi", - "fi" : "fi", - "fin" : "fi", - "suomi" : "fi", - "suomen kieli" : "fi", - "french" : "fr", - "français, langue française" : "fr", - "fr" : "fr", - "fra" : "fr", - "fre" : "fr", - "français" : "fr", - "langue française" : "fr", - "fulah" : "ff", - "fulfulde, pulaar, pular" : "ff", - "ff" : "ff", - "ful" : "ff", - "ful + 9" : "ff", - "fulfulde" : "ff", - "pulaar" : "ff", - "pular" : "ff", - "galician" : "gl", - "galego" : "gl", - "gl" : "gl", - "glg" : "gl", - "georgian" : "ka", - "ქართული" : "ka", - "ka" : "ka", - "kat" : "ka", - "geo" : "ka", - "german" : "de", - "deutsch" : "de", - "de" : "de", - "deu" : "de", - "ger" : "de", - "greek (modern)" : "el", - "ελληνικά" : "el", - "el" : "el", - "ell" : "el", - "gre" : "el", - "guaraní" : "gn", - "avañe'ẽ" : "gn", - "gn" : "gn", - "grn" : "gn", - "grn + 5" : "gn", - "gujarati" : "gu", - "ગુજરાતી" : "gu", - "gu" : "gu", - "guj" : "gu", - "haitian, haitian creole" : "ht", - "kreyòl ayisyen" : "ht", - "ht" : "ht", - "hat" : "ht", - "hausa" : "ha", - "(hausa) هَوُسَ" : "ha", - "ha" : "ha", - "hau" : "ha", - "hebrew (modern)" : "he", - "עברית" : "he", - "he" : "he", - "heb" : "he", - "herero" : "hz", - "otjiherero" : "hz", - "hz" : "hz", - "her" : "hz", - "hindi" : "hi", - "हिन्दी, हिंदी" : "hi", - "hi" : "hi", - "hin" : "hi", - "हिन्दी" : "hi", - "हिंदी" : "hi", - "hiri motu" : "ho", - "ho" : "ho", - "hmo" : "ho", - "hungarian" : "hu", - "magyar" : "hu", - "hu" : "hu", - "hun" : "hu", - "interlingua" : "ia", - "ia" : "ia", - "ina" : "ia", - "indonesian" : "id", - "bahasa indonesia" : "id", - "id" : "id", - "ind" : "id", - "interlingue" : "ie", - "originally called occidental; then interlingue after wwii" : "ie", - "ie" : "ie", - "ile" : "ie", - "irish" : "ga", - "gaeilge" : "ga", - "ga" : "ga", - "gle" : "ga", - "igbo" : "ig", - "asụsụ igbo" : "ig", - "ig" : "ig", - "ibo" : "ig", - "inupiaq" : "ik", - "iñupiaq, iñupiatun" : "ik", - "ik" : "ik", - "ipk" : "ik", - "ipk + 2" : "ik", - "iñupiaq" : "ik", - "iñupiatun" : "ik", - "ido" : "io", - "io" : "io", - "icelandic" : "is", - "íslenska" : "is", - "is" : "is", - "isl" : "is", - "ice" : "is", - "italian" : "it", - "italiano" : "it", - "it" : "it", - "ita" : "it", - "inuktitut" : "iu", - "ᐃᓄᒃᑎᑐᑦ" : "iu", - "iu" : "iu", - "iku" : "iu", - "iku + 2" : "iu", - "japanese" : "ja", - "日本語 (にほんご)" : "ja", - "ja" : "ja", - "jpn" : "ja", - "javanese" : "jv", - "ꦧꦱꦗꦮ, basa jawa" : "jv", - "jv" : "jv", - "jav" : "jv", - "ꦧꦱꦗꦮ" : "jv", - "basa jawa" : "jv", - "kalaallisut, greenlandic" : "kl", - "kalaallisut, kalaallit oqaasii" : "kl", - "kl" : "kl", - "kal" : "kl", - "kalaallisut" : "kl", - "kalaallit oqaasii" : "kl", - "kannada" : "kn", - "ಕನ್ನಡ" : "kn", - "kn" : "kn", - "kan" : "kn", - "kanuri" : "kr", - "kr" : "kr", - "kau" : "kr", - "kau + 3" : "kr", - "kashmiri" : "ks", - "कश्मीरी, كشميري‎" : "ks", - "ks" : "ks", - "kas" : "ks", - "कश्मीरी" : "ks", - "كشميري‎" : "ks", - "kazakh" : "kk", - "қазақ тілі" : "kk", - "kk" : "kk", - "kaz" : "kk", - "central khmer" : "km", - "ខ្មែរ, ខេមរភាសា, ភាសាខ្មែរ" : "km", - "km" : "km", - "khm" : "km", - "ខ្មែរ" : "km", - "ខេមរភាសា" : "km", - "ភាសាខ្មែរ" : "km", - "kikuyu, gikuyu" : "ki", - "gĩkũyũ" : "ki", - "ki" : "ki", - "kik" : "ki", - "kinyarwanda" : "rw", - "ikinyarwanda" : "rw", - "rw" : "rw", - "kin" : "rw", - "kirghiz, kyrgyz" : "ky", - "кыргызча, кыргыз тили" : "ky", - "ky" : "ky", - "kir" : "ky", - "кыргызча" : "ky", - "кыргыз тили" : "ky", - "komi" : "kv", - "коми кыв" : "kv", - "kv" : "kv", - "kom" : "kv", - "kom + 2" : "kv", - "kongo" : "kg", - "kikongo" : "kg", - "kg" : "kg", - "kon" : "kg", - "kon + 3" : "kg", - "korean" : "ko", - "한국어" : "ko", - "ko" : "ko", - "kor" : "ko", - "kurdish" : "ku", - "kurdî, كوردی‎" : "ku", - "ku" : "ku", - "kur" : "ku", - "kur + 3" : "ku", - "kurdî" : "ku", - "كوردی‎" : "ku", - "kuanyama, kwanyama" : "kj", - "kuanyama" : "kj", - "kj" : "kj", - "kua" : "kj", - "latin" : "la", - "latine, lingua latina" : "la", - "la" : "la", - "lat" : "la", - "latine" : "la", - "lingua latina" : "la", - "luxembourgish, letzeburgesch" : "lb", - "lëtzebuergesch" : "lb", - "lb" : "lb", - "ltz" : "lb", - "ganda" : "lg", - "luganda" : "lg", - "lg" : "lg", - "lug" : "lg", - "limburgan, limburger, limburgish" : "li", - "limburgs" : "li", - "li" : "li", - "lim" : "li", - "lingala" : "ln", - "lingála" : "ln", - "ln" : "ln", - "lin" : "ln", - "lao" : "lo", - "ພາສາລາວ" : "lo", - "lo" : "lo", - "lithuanian" : "lt", - "lietuvių kalba" : "lt", - "lt" : "lt", - "lit" : "lt", - "luba-katanga" : "lu", - "kiluba" : "lu", - "lu" : "lu", - "lub" : "lu", - "latvian" : "lv", - "latviešu valoda" : "lv", - "lv" : "lv", - "lav" : "lv", - "lav + 2" : "lv", - "manx" : "gv", - "gaelg, gailck" : "gv", - "gv" : "gv", - "glv" : "gv", - "gaelg" : "gv", - "gailck" : "gv", - "macedonian" : "mk", - "македонски јазик" : "mk", - "mk" : "mk", - "mkd" : "mk", - "mac" : "mk", - "malagasy" : "mg", - "fiteny malagasy" : "mg", - "mg" : "mg", - "mlg" : "mg", - "mlg + 10" : "mg", - "malay" : "ms", - "bahasa melayu, بهاس ملايو‎" : "ms", - "ms" : "ms", - "msa" : "ms", - "may" : "ms", - "msa + 13" : "ms", - "bahasa melayu" : "ms", - "بهاس ملايو‎" : "ms", - "malayalam" : "ml", - "മലയാളം" : "ml", - "ml" : "ml", - "mal" : "ml", - "maltese" : "mt", - "malti" : "mt", - "mt" : "mt", - "mlt" : "mt", - "maori" : "mi", - "te reo māori" : "mi", - "mi" : "mi", - "mri" : "mi", - "mao" : "mi", - "marathi" : "mr", - "मराठी" : "mr", - "mr" : "mr", - "mar" : "mr", - "marshallese" : "mh", - "kajin m̧ajeļ" : "mh", - "mh" : "mh", - "mah" : "mh", - "mongolian" : "mn", - "монгол хэл" : "mn", - "mn" : "mn", - "mon" : "mn", - "mon + 2" : "mn", - "nauru" : "na", - "dorerin naoero" : "na", - "na" : "na", - "nau" : "na", - "navajo, navaho" : "nv", - "diné bizaad" : "nv", - "nv" : "nv", - "nav" : "nv", - "north ndebele" : "nd", - "isindebele" : "nr", - "nd" : "nd", - "nde" : "nd", - "nepali" : "ne", - "नेपाली" : "ne", - "ne" : "ne", - "nep" : "ne", - "ndonga" : "ng", - "owambo" : "ng", - "ng" : "ng", - "ndo" : "ng", - "norwegian bokmål" : "nb", - "norsk bokmål" : "nb", - "nb" : "nb", - "nob" : "nb", - "norwegian nynorsk" : "nn", - "norsk nynorsk" : "nn", - "nn" : "nn", - "nno" : "nn", - "norwegian" : "no", - "norsk" : "no", - "no" : "no", - "nor" : "no", - "nor + 2" : "no", - "sichuan yi, nuosu" : "ii", - "ꆈꌠ꒿ nuosuhxop" : "ii", - "ii" : "ii", - "iii" : "ii", - "south ndebele" : "nr", - "nr" : "nr", - "nbl" : "nr", - "occitan" : "oc", - "occitan, lenga d'òc" : "oc", - "oc" : "oc", - "oci" : "oc", - "lenga d'òc" : "oc", - "ojibwa" : "oj", - "ᐊᓂᔑᓈᐯᒧᐎᓐ" : "oj", - "oj" : "oj", - "oji" : "oj", - "oji + 7" : "oj", - "church slavic, church slavonic, old church slavonic, old slavonic, old bulgarian" : "cu", - "ѩзыкъ словѣньскъ" : "cu", - "cu" : "cu", - "chu" : "cu", - "oromo" : "om", - "afaan oromoo" : "om", - "om" : "om", - "orm" : "om", - "orm + 4" : "om", - "oriya" : "or", - "ଓଡ଼ିଆ" : "or", - "or" : "or", - "ori" : "or", - "ossetian, ossetic" : "os", - "ирон æвзаг" : "os", - "os" : "os", - "oss" : "os", - "panjabi, punjabi" : "pa", - "ਪੰਜਾਬੀ" : "pa", - "pa" : "pa", - "pan" : "pa", - "pali" : "pi", - "पाऴि" : "pi", - "pi" : "pi", - "pli" : "pi", - "persian" : "fa", - "فارسی" : "fa", - "fa" : "fa", - "fas" : "fa", - "per" : "fa", - "fas + 2" : "fa", - "polish" : "pl", - "język polski, polszczyzna" : "pl", - "pl" : "pl", - "pol" : "pl", - "język polski" : "pl", - "polszczyzna" : "pl", - "pashto, pushto" : "ps", - "پښتو" : "ps", - "ps" : "ps", - "pus" : "ps", - "pus + 3" : "ps", - "portuguese" : "pt", - "português" : "pt", - "pt" : "pt", - "por" : "pt", - "quechua" : "qu", - "runa simi, kichwa" : "qu", - "qu" : "qu", - "que" : "qu", - "que + 44" : "qu", - "runa simi" : "qu", - "kichwa" : "qu", - "romansh" : "rm", - "rumantsch grischun" : "rm", - "rm" : "rm", - "roh" : "rm", - "rundi" : "rn", - "ikirundi" : "rn", - "rn" : "rn", - "run" : "rn", - "romanian, moldavian, moldovan" : "ro", - "română" : "ro", - "ro" : "ro", - "ron" : "ro", - "rum" : "ro", - "russian" : "ru", - "русский" : "ru", - "ru" : "ru", - "rus" : "ru", - "sanskrit" : "sa", - "संस्कृतम्" : "sa", - "sa" : "sa", - "san" : "sa", - "sardinian" : "sc", - "sardu" : "sc", - "sc" : "sc", - "srd" : "sc", - "srd + 4" : "sc", - "sindhi" : "sd", - "सिन्धी, سنڌي، سندھی‎" : "sd", - "sd" : "sd", - "snd" : "sd", - "सिन्धी" : "sd", - "سنڌي، سندھی‎" : "sd", - "northern sami" : "se", - "davvisámegiella" : "se", - "se" : "se", - "sme" : "se", - "samoan" : "sm", - "gagana fa'a samoa" : "sm", - "sm" : "sm", - "smo" : "sm", - "sango" : "sg", - "yângâ tî sängö" : "sg", - "sg" : "sg", - "sag" : "sg", - "serbian" : "sr", - "српски језик" : "sr", - "sr" : "sr", - "srp" : "sr", - "gaelic, scottish gaelic" : "gd", - "gàidhlig" : "gd", - "gd" : "gd", - "gla" : "gd", - "shona" : "sn", - "chishona" : "sn", - "sn" : "sn", - "sna" : "sn", - "sinhala, sinhalese" : "si", - "සිංහල" : "si", - "si" : "si", - "sin" : "si", - "slovak" : "sk", - "slovenčina, slovenský jazyk" : "sk", - "sk" : "sk", - "slk" : "sk", - "slo" : "sk", - "slovenčina" : "sk", - "slovenský jazyk" : "sk", - "slovenian" : "sl", - "slovenski jezik, slovenščina" : "sl", - "sl" : "sl", - "slv" : "sl", - "slovenski jezik" : "sl", - "slovenščina" : "sl", - "somali" : "so", - "soomaaliga, af soomaali" : "so", - "so" : "so", - "som" : "so", - "soomaaliga" : "so", - "af soomaali" : "so", - "southern sotho" : "st", - "sesotho" : "st", - "st" : "st", - "sot" : "st", - "spanish, castilian" : "es", - "español" : "es", - "es" : "es", - "spa" : "es", - "sundanese" : "su", - "basa sunda" : "su", - "su" : "su", - "sun" : "su", - "swahili" : "sw", - "kiswahili" : "sw", - "sw" : "sw", - "swa" : "sw", - "swa + 2" : "sw", - "swati" : "ss", - "siswati" : "ss", - "ss" : "ss", - "ssw" : "ss", - "swedish" : "sv", - "svenska" : "sv", - "sv" : "sv", - "swe" : "sv", - "tamil" : "ta", - "தமிழ்" : "ta", - "ta" : "ta", - "tam" : "ta", - "telugu" : "te", - "తెలుగు" : "te", - "te" : "te", - "tel" : "te", - "tajik" : "tg", - "тоҷикӣ, toçikī, تاجیکی‎" : "tg", - "tg" : "tg", - "tgk" : "tg", - "тоҷикӣ" : "tg", - "toçikī" : "tg", - "تاجیکی‎" : "tg", - "thai" : "th", - "ไทย" : "th", - "th" : "th", - "tha" : "th", - "tigrinya" : "ti", - "ትግርኛ" : "ti", - "ti" : "ti", - "tir" : "ti", - "tibetan" : "bo", - "བོད་ཡིག" : "bo", - "bo" : "bo", - "bod" : "bo", - "tib" : "bo", - "turkmen" : "tk", - "türkmen, түркмен" : "tk", - "tk" : "tk", - "tuk" : "tk", - "türkmen" : "tk", - "түркмен" : "tk", - "tagalog" : "tl", - "wikang tagalog" : "tl", - "tl" : "tl", - "tgl" : "tl", - "tswana" : "tn", - "setswana" : "tn", - "tn" : "tn", - "tsn" : "tn", - "tonga (tonga islands)" : "to", - "faka tonga" : "to", - "to" : "to", - "ton" : "to", - "turkish" : "tr", - "türkçe" : "tr", - "tr" : "tr", - "tur" : "tr", - "tsonga" : "ts", - "xitsonga" : "ts", - "ts" : "ts", - "tso" : "ts", - "tatar" : "tt", - "татар теле, tatar tele" : "tt", - "tt" : "tt", - "tat" : "tt", - "татар теле" : "tt", - "tatar tele" : "tt", - "twi" : "tw", - "tw" : "tw", - "tahitian" : "ty", - "reo tahiti" : "ty", - "ty" : "ty", - "tah" : "ty", - "uighur, uyghur" : "ug", - "ئۇيغۇرچە‎, uyghurche" : "ug", - "ug" : "ug", - "uig" : "ug", - "ئۇيغۇرچە‎" : "ug", - "uyghurche" : "ug", - "ukrainian" : "uk", - "українська" : "uk", - "uk" : "uk", - "ukr" : "uk", - "urdu" : "ur", - "اردو" : "ur", - "ur" : "ur", - "urd" : "ur", - "uzbek" : "uz", - "oʻzbek, ўзбек, أۇزبېك‎" : "uz", - "uz" : "uz", - "uzb" : "uz", - "uzb + 2" : "uz", - "oʻzbek" : "uz", - "ўзбек" : "uz", - "أۇزبېك‎" : "uz", - "venda" : "ve", - "tshivenḓa" : "ve", - "ve" : "ve", - "ven" : "ve", - "vietnamese" : "vi", - "tiếng việt" : "vi", - "vi" : "vi", - "vie" : "vi", - "volapük" : "vo", - "vo" : "vo", - "vol" : "vo", - "walloon" : "wa", - "walon" : "wa", - "wa" : "wa", - "wln" : "wa", - "welsh" : "cy", - "cymraeg" : "cy", - "cy" : "cy", - "cym" : "cy", - "wel" : "cy", - "wolof" : "wo", - "wollof" : "wo", - "wo" : "wo", - "wol" : "wo", - "western frisian" : "fy", - "frysk" : "fy", - "fy" : "fy", - "fry" : "fy", - "xhosa" : "xh", - "isixhosa" : "xh", - "xh" : "xh", - "xho" : "xh", - "yiddish" : "yi", - "ייִדיש" : "yi", - "yi" : "yi", - "yid" : "yi", - "yid + 2" : "yi", - "yoruba" : "yo", - "yorùbá" : "yo", - "yo" : "yo", - "yor" : "yo", - "zhuang, chuang" : "za", - "saɯ cueŋƅ, saw cuengh" : "za", - "za" : "za", - "zha" : "za", - "zha + 16" : "za", - "saɯ cueŋƅ" : "za", - "saw cuengh" : "za", - "zulu" : "zu", - "isizulu" : "zu", - "zu" : "zu", - "zul" : "zu" -}; - - - - - -function reduce(from) { - return reductions[from.toLowerCase()]; -} - -class circular_buffer{constructor(uCapacity){if(!Number.isInteger(uCapacity)){throw new RangeError(`Capacity must be an integer, received ${uCapacity}`)}if(uCapacity<0){throw new RangeError(`Capacity must be a non-negative integer, received ${uCapacity}`)}this._values=new Array(uCapacity);this._capacity=uCapacity;this._cursor=0;this._offset=0;this._length=0;}get capacity(){return this._capacity}set capacity(newSize){this.resize(newSize);}get length(){return this._length}set length(newLength){if(newLength>this._capacity){throw new RangeError(`Requested new length [${newLength}] exceeds container capacity [${this._capacity}]`)}if(newLength<0){throw new RangeError(`Requested new length [${newLength}] cannot be negative`)}if(!Number.isInteger(newLength)){throw new RangeError(`Requested new length [${newLength}] must be an integer`)}if(this._length<=newLength){return}this._length=newLength;}get available(){return this._capacity-this._length}get isEmpty(){return this._length===0}get isFull(){return this._length===this._capacity}get first(){if(this.isEmpty){throw new RangeError("Cannot return first element of an empty container")}return this.at(0)}get last(){if(this.isEmpty){throw new RangeError("Cannot return last element of an empty container")}return this.at(this.length-1)}static from(i,map_fn,t){const new_array=map_fn?Array.from(i,map_fn,t):Array.from(i);const target_length=new_array.length;const ncb=new circular_buffer(target_length);ncb._values=new_array;ncb._length=target_length;return ncb}push(v){if(this.isFull){throw new RangeError(`Cannot push, structure is full to capacity`)}this._values[(this._cursor+this._length++)%this._capacity]=v;return v}shove(v){let shoved;if(this._capacity===0){throw new RangeError(`Cannot shove, structure is zero-capacity`)}if(this.isFull){shoved=this.pop();}this.push(v);return shoved}fill(x){for(let i=0;i=this._capacity){this._cursor-=this._capacity;}return cache}at(i){if(i<0){throw new RangeError(`circular_buffer does not support negative traversals; called at(${i})`)}if(!Number.isInteger(i)){throw new RangeError(`Accessors must be non-negative integers; called at(${i})`)}if(i>=this._capacity){throw new RangeError(`Requested cell ${i} exceeds container permanent capacity`)}if(i>=this._length){throw new RangeError(`Requested cell ${i} exceeds container current length`)}return this._values[(this._cursor+i)%this._capacity]}pos(i){return this.at(i-this.offset())}offset(){return this._offset}resize(newSize,preferEnd=false){this._values=this.toArray();this._cursor=0;const oldSize=this._length;this._length=Math.min(this._length,newSize);this._capacity=newSize;if(newSize>=oldSize){this._values.length=newSize;}else {if(preferEnd){const tmp=this._values.slice(oldSize-newSize);this._values=tmp;}else {this._values.length=newSize;}}}toArray(){const startPoint=this._cursor%this._capacity;if(this._capacity>startPoint+this._length){return this._values.slice(startPoint,startPoint+this._length)}else {const base=this._values.slice(startPoint,this._capacity);base.push(...this._values.slice(0,this.length-(this._capacity-startPoint)));return base}}} - -const FslDirections = ['up', 'right', 'down', 'left']; - -class JssmError extends Error { - constructor(machine, message, JEEI) { - const { requested_state } = (JEEI === undefined) - ? { requested_state: undefined } - : JEEI; - const follow_ups = []; - if (machine) { - if (machine.state() !== undefined) { - follow_ups.push(`at "${machine.state()}"`); - } - } - if (requested_state !== undefined) { - follow_ups.push(`requested "${requested_state}"`); - } - const complex_msg = `${((machine === null || machine === void 0 ? void 0 : machine.instance_name()) !== undefined) - ? `[[${machine.instance_name()}]]: ` - : ''}${message}${follow_ups.length - ? ` (${follow_ups.join(', ')})` - : ''}`; - super(complex_msg); - this.name = 'JssmError'; - this.message = complex_msg; - this.base_message = message; - this.requested_state = requested_state; - } -} - -/* eslint-disable complexity */ -/********* - * - * Return the direction of an arrow - `right`, `left`, or `both`. - * - * ```typescript - * import { arrow_direction } from 'jssm'; - * - * arrow_direction('->'); // 'right' - * arrow_direction('<~=>'); // 'both' - * ``` - * - * @param arrow The arrow to be evaluated - * - */ -function arrow_direction(arrow) { - switch (String(arrow)) { - case '->': - case '→': - case '=>': - case '⇒': - case '~>': - case '↛': - return 'right'; - case '<-': - case '←': - case '<=': - case '⇐': - case '<~': - case '↚': - return 'left'; - case '<->': - case '↔': - case '<-=>': - case '←⇒': - case '←=>': - case '<-⇒': - case '<-~>': - case '←↛': - case '←~>': - case '<-↛': - case '<=>': - case '⇔': - case '<=->': - case '⇐→': - case '⇐->': - case '<=→': - case '<=~>': - case '⇐↛': - case '⇐~>': - case '<=↛': - case '<~>': - case '↮': - case '<~->': - case '↚→': - case '↚->': - case '<~→': - case '<~=>': - case '↚⇒': - case '↚=>': - case '<~⇒': - return 'both'; - default: - throw new JssmError(undefined, `arrow_direction: unknown arrow type ${arrow}`); - } -} -/* eslint-enable complexity */ -/* eslint-disable complexity */ -/********* - * - * Return the direction of an arrow - `right`, `left`, or `both`. - * - * ```typescript - * import { arrow_left_kind } from 'jssm'; - * - * arrow_left_kind('<-'); // 'legal' - * arrow_left_kind('<='); // 'main' - * arrow_left_kind('<~'); // 'forced' - * arrow_left_kind('<->'); // 'legal' - * arrow_left_kind('->'); // 'none' - * ``` - * - * @param arrow The arrow to be evaluated - * - */ -function arrow_left_kind(arrow) { - switch (String(arrow)) { - case '->': - case '→': - case '=>': - case '⇒': - case '~>': - case '↛': - return 'none'; - case '<-': - case '←': - case '<->': - case '↔': - case '<-=>': - case '←⇒': - case '<-~>': - case '←↛': - return 'legal'; - case '<=': - case '⇐': - case '<=>': - case '⇔': - case '<=->': - case '⇐→': - case '<=~>': - case '⇐↛': - return 'main'; - case '<~': - case '↚': - case '<~>': - case '↮': - case '<~->': - case '↚→': - case '<~=>': - case '↚⇒': - return 'forced'; - default: - throw new JssmError(undefined, `arrow_direction: unknown arrow type ${arrow}`); - } -} -/* eslint-enable complexity */ -/* eslint-disable complexity */ -/********* - * - * Return the direction of an arrow - `right`, `left`, or `both`. - * - * ```typescript - * import { arrow_left_kind } from 'jssm'; - * - * arrow_left_kind('->'); // 'legal' - * arrow_left_kind('=>'); // 'main' - * arrow_left_kind('~>'); // 'forced' - * arrow_left_kind('<->'); // 'legal' - * arrow_left_kind('<-'); // 'none' - * ``` - * - * @param arrow The arrow to be evaluated - * - */ -function arrow_right_kind(arrow) { - switch (String(arrow)) { - case '<-': - case '←': - case '<=': - case '⇐': - case '<~': - case '↚': - return 'none'; - case '->': - case '→': - case '<->': - case '↔': - case '<=->': - case '⇐→': - case '<~->': - case '↚→': - return 'legal'; - case '=>': - case '⇒': - case '<=>': - case '⇔': - case '<-=>': - case '←⇒': - case '<~=>': - case '↚⇒': - return 'main'; - case '~>': - case '↛': - case '<~>': - case '↮': - case '<-~>': - case '←↛': - case '<=~>': - case '⇐↛': - return 'forced'; - default: - throw new JssmError(undefined, `arrow_direction: unknown arrow type ${arrow}`); - } -} - -const base_state_style$5 = { - shape: 'rectangle', - backgroundColor: 'white', - textColor: 'black', - borderColor: 'black' -}; -const base_active_state_style$5 = { - textColor: 'white', - backgroundColor: 'dodgerblue4' -}; -const base_hooked_state_style$5 = { - shape: 'component' -}; -const base_terminal_state_style$5 = { - textColor: 'white', - backgroundColor: 'crimson' -}; -const base_active_terminal_state_style$5 = { - textColor: 'white', - backgroundColor: 'indigo' -}; -const base_start_state_style$5 = { - backgroundColor: 'yellow' -}; -const base_active_start_state_style$5 = { - backgroundColor: 'yellowgreen' -}; -const base_active_hooked_state_style$5 = { - backgroundColor: 'yellowgreen' -}; -const base_end_state_style$5 = { - textColor: 'white', - backgroundColor: 'darkolivegreen' -}; -const base_active_end_state_style$5 = { - textColor: 'white', - backgroundColor: 'darkgreen' -}; -const base_theme = { - name: 'base', - state: base_state_style$5, - start: base_start_state_style$5, - end: base_end_state_style$5, - terminal: base_terminal_state_style$5, - hooked: base_hooked_state_style$5, - active: base_active_state_style$5, - active_start: base_active_start_state_style$5, - active_end: base_active_end_state_style$5, - active_terminal: base_active_terminal_state_style$5, - active_hooked: base_active_hooked_state_style$5, - legal: undefined, - main: undefined, - forced: undefined, - action: undefined, - graph: undefined, - title: undefined // TODO FIXME -}; - -const base_state_style$4 = { - shape: 'rectangle', - backgroundColor: 'white', - textColor: 'black', - borderColor: 'black' -}; -const base_active_state_style$4 = { - textColor: 'white', - backgroundColor: 'dodgerblue4' -}; -const base_hooked_state_style$4 = { - shape: 'component' -}; -const base_terminal_state_style$4 = { - textColor: 'white', - backgroundColor: 'crimson' -}; -const base_active_terminal_state_style$4 = { - textColor: 'white', - backgroundColor: 'indigo' -}; -const base_start_state_style$4 = { - backgroundColor: 'yellow' -}; -const base_active_start_state_style$4 = { - backgroundColor: 'yellowgreen' -}; -const base_active_hooked_state_style$4 = { - backgroundColor: 'yellowgreen' -}; -const base_end_state_style$4 = { - textColor: 'white', - backgroundColor: 'darkolivegreen' -}; -const base_active_end_state_style$4 = { - textColor: 'white', - backgroundColor: 'darkgreen' -}; -const default_theme = { - name: 'default', - state: base_state_style$4, - start: base_start_state_style$4, - end: base_end_state_style$4, - terminal: base_terminal_state_style$4, - hooked: base_hooked_state_style$4, - active: base_active_state_style$4, - active_start: base_active_start_state_style$4, - active_end: base_active_end_state_style$4, - active_terminal: base_active_terminal_state_style$4, - active_hooked: base_active_hooked_state_style$4, - legal: undefined, - main: undefined, - forced: undefined, - action: undefined, - graph: undefined, - title: undefined // TODO FIXME -}; - -const base_state_style$3 = { - shape: 'rectangle', - backgroundColor: 'khaki', - textColor: 'black', - borderColor: 'black' -}; -const base_active_state_style$3 = { - textColor: 'white', - backgroundColor: 'dodgerblue4' -}; -const base_hooked_state_style$3 = { - shape: 'component' -}; -const base_terminal_state_style$3 = { - textColor: 'white', - backgroundColor: 'crimson' -}; -const base_active_terminal_state_style$3 = { - textColor: 'white', - backgroundColor: 'indigo' -}; -const base_start_state_style$3 = { - backgroundColor: 'yellow' -}; -const base_active_start_state_style$3 = { - backgroundColor: 'yellowgreen' -}; -const base_active_hooked_state_style$3 = { - backgroundColor: 'yellowgreen' -}; -const base_end_state_style$3 = { - textColor: 'white', - backgroundColor: 'darkolivegreen' -}; -const base_active_end_state_style$3 = { - textColor: 'white', - backgroundColor: 'darkgreen' -}; -const modern_theme = { - name: 'modern', - state: base_state_style$3, - start: base_start_state_style$3, - end: base_end_state_style$3, - terminal: base_terminal_state_style$3, - hooked: base_hooked_state_style$3, - active: base_active_state_style$3, - active_start: base_active_start_state_style$3, - active_end: base_active_end_state_style$3, - active_terminal: base_active_terminal_state_style$3, - active_hooked: base_active_hooked_state_style$3, - legal: undefined, - main: undefined, - forced: undefined, - action: undefined, - graph: undefined, - title: undefined // TODO FIXME -}; - -const base_state_style$2 = { - backgroundColor: 'cadetblue1', -}; -const base_active_state_style$2 = { - textColor: 'white', - backgroundColor: 'deepskyblue' -}; -const base_hooked_state_style$2 = { - shape: 'component', - backgroundColor: 'mediumaquamarine' -}; -const base_terminal_state_style$2 = { - textColor: 'white', - backgroundColor: 'darkviolet' -}; -const base_active_terminal_state_style$2 = { - textColor: 'white', - backgroundColor: 'deeppink' -}; -const base_start_state_style$2 = { - backgroundColor: 'darkseagreen1' -}; -const base_active_start_state_style$2 = { - backgroundColor: 'aquamarine' -}; -const base_active_hooked_state_style$2 = { - backgroundColor: 'aquamarine' -}; -const base_end_state_style$2 = { - textColor: 'white', - backgroundColor: 'chartreuse1' -}; -const base_active_end_state_style$2 = { - textColor: 'white', - backgroundColor: 'darkgreen' -}; -const ocean_theme = { - name: 'ocean', - state: base_state_style$2, - start: base_start_state_style$2, - end: base_end_state_style$2, - terminal: base_terminal_state_style$2, - hooked: base_hooked_state_style$2, - active: base_active_state_style$2, - active_start: base_active_start_state_style$2, - active_end: base_active_end_state_style$2, - active_terminal: base_active_terminal_state_style$2, - active_hooked: base_active_hooked_state_style$2, - legal: undefined, - main: undefined, - forced: undefined, - action: undefined, - graph: undefined, - title: undefined // TODO FIXME -}; - -const base_state_style$1 = { - textColor: 'black', - backgroundColor: 'transparent', - shape: 'plaintext' -}; -const base_active_state_style$1 = { - textColor: 'black', - backgroundColor: 'transparent', - shape: 'plaintext' -}; -const base_hooked_state_style$1 = { - textColor: 'black', - backgroundColor: 'transparent', - shape: 'plaintext' -}; -const base_terminal_state_style$1 = { - textColor: 'black', - backgroundColor: 'transparent', - shape: 'plaintext' -}; -const base_active_terminal_state_style$1 = { - textColor: 'black', - backgroundColor: 'transparent', - shape: 'plaintext' -}; -const base_start_state_style$1 = { - textColor: 'black', - backgroundColor: 'transparent', - shape: 'plaintext' -}; -const base_active_start_state_style$1 = { - textColor: 'black', - backgroundColor: 'transparent', - shape: 'plaintext' -}; -const base_active_hooked_state_style$1 = { - textColor: 'black', - backgroundColor: 'transparent', - shape: 'plaintext' -}; -const base_end_state_style$1 = { - textColor: 'black', - backgroundColor: 'transparent', - shape: 'plaintext' -}; -const base_active_end_state_style$1 = { - textColor: 'black', - backgroundColor: 'transparent', - shape: 'plaintext' -}; -const plain_theme = { - name: 'plain', - state: base_state_style$1, - start: base_start_state_style$1, - end: base_end_state_style$1, - terminal: base_terminal_state_style$1, - hooked: base_hooked_state_style$1, - active: base_active_state_style$1, - active_start: base_active_start_state_style$1, - active_end: base_active_end_state_style$1, - active_terminal: base_active_terminal_state_style$1, - active_hooked: base_active_hooked_state_style$1, - legal: undefined, - main: undefined, - forced: undefined, - action: undefined, - graph: undefined, - title: undefined // TODO FIXME -}; +class circular_buffer{constructor(uCapacity){if(!Number.isInteger(uCapacity)){throw new RangeError(`Capacity must be an integer, received ${uCapacity}`)}if(uCapacity<0){throw new RangeError(`Capacity must be a non-negative integer, received ${uCapacity}`)}this._values=new Array(uCapacity);this._capacity=uCapacity;this._cursor=0;this._offset=0;this._length=0;}get capacity(){return this._capacity}set capacity(newSize){this.resize(newSize);}get length(){return this._length}set length(newLength){if(newLength>this._capacity){throw new RangeError(`Requested new length [${newLength}] exceeds container capacity [${this._capacity}]`)}if(newLength<0){throw new RangeError(`Requested new length [${newLength}] cannot be negative`)}if(!Number.isInteger(newLength)){throw new RangeError(`Requested new length [${newLength}] must be an integer`)}if(this._length<=newLength){return}this._length=newLength;}get available(){return this._capacity-this._length}get isEmpty(){return this._length===0}get isFull(){return this._length===this._capacity}get first(){if(this.isEmpty){throw new RangeError("Cannot return first element of an empty container")}return this.at(0)}get last(){if(this.isEmpty){throw new RangeError("Cannot return last element of an empty container")}return this.at(this.length-1)}static from(i,map_fn,t){const new_array=map_fn?Array.from(i,map_fn,t):Array.from(i);const target_length=new_array.length;const ncb=new circular_buffer(target_length);ncb._values=new_array;ncb._length=target_length;return ncb}push(v){if(this.isFull){throw new RangeError(`Cannot push, structure is full to capacity`)}this._values[(this._cursor+this._length++)%this._capacity]=v;return v}shove(v){let shoved;if(this._capacity===0){throw new RangeError(`Cannot shove, structure is zero-capacity`)}if(this.isFull){shoved=this.pop();}this.push(v);return shoved}fill(x){for(let i=0;i=this._capacity){this._cursor-=this._capacity;}return cache}at(i){if(i<0){throw new RangeError(`circular_buffer does not support negative traversals; called at(${i})`)}if(!Number.isInteger(i)){throw new RangeError(`Accessors must be non-negative integers; called at(${i})`)}if(i>=this._capacity){throw new RangeError(`Requested cell ${i} exceeds container permanent capacity`)}if(i>=this._length){throw new RangeError(`Requested cell ${i} exceeds container current length`)}return this._values[(this._cursor+i)%this._capacity]}pos(i){return this.at(i-this.offset())}offset(){return this._offset}resize(newSize,preferEnd=false){this._values=this.toArray();this._cursor=0;const oldSize=this._length;this._length=Math.min(this._length,newSize);this._capacity=newSize;if(newSize>=oldSize){this._values.length=newSize;}else {if(preferEnd){const tmp=this._values.slice(oldSize-newSize);this._values=tmp;}else {this._values.length=newSize;}}}toArray(){const startPoint=this._cursor%this._capacity;if(this._capacity>startPoint+this._length){return this._values.slice(startPoint,startPoint+this._length)}else {const base=this._values.slice(startPoint,this._capacity);base.push(...this._values.slice(0,this.length-(this._capacity-startPoint)));return base}}} -const base_state_style = { - shape: 'rectangle', - backgroundColor: 'khaki', - textColor: 'black', - borderColor: 'black' -}; -const base_active_state_style = { - textColor: 'white', - backgroundColor: 'dodgerblue4' -}; -const base_hooked_state_style = { - shape: 'component' -}; -const base_terminal_state_style = { - textColor: 'white', - backgroundColor: 'crimson' -}; -const base_active_terminal_state_style = { - textColor: 'white', - backgroundColor: 'indigo' -}; -const base_start_state_style = { - backgroundColor: 'yellow' -}; -const base_active_start_state_style = { - backgroundColor: 'yellowgreen' -}; -const base_active_hooked_state_style = { - backgroundColor: 'yellowgreen' -}; -const base_end_state_style = { - textColor: 'white', - backgroundColor: 'darkolivegreen' -}; -const base_active_end_state_style = { - textColor: 'white', - backgroundColor: 'darkgreen' -}; -const bold_theme = { - name: 'bold', - state: base_state_style, - start: base_start_state_style, - end: base_end_state_style, - terminal: base_terminal_state_style, - hooked: base_hooked_state_style, - active: base_active_state_style, - active_start: base_active_start_state_style, - active_end: base_active_end_state_style, - active_terminal: base_active_terminal_state_style, - active_hooked: base_active_hooked_state_style, - legal: undefined, - main: undefined, - forced: undefined, - action: undefined, - graph: undefined, - title: undefined // TODO FIXME -}; +const FslDirections = ['up', 'right', 'down', 'left']; -const array_box_if_string = n => typeof n === 'string' ? [n] : n; -// this is explicitly about other peoples' data, so it has to be weakly typed -/* eslint-disable flowtype/no-weak-types */ -const weighted_rand_select = (options, probability_property = 'probability') => { - if (!Array.isArray(options)) { - throw new TypeError('options must be a non-empty array of objects'); - } - if (!(typeof options[0] === 'object')) { - throw new TypeError('options must be a non-empty array of objects'); - } - const frand = (cap) => Math.random() * cap, or_one = (item) => item === undefined ? 1 : item, prob_sum = options.reduce((acc, val) => acc + or_one(val[probability_property]), 0), rnd = frand(prob_sum); - let cursor = 0, cursor_sum = 0; - while ((cursor_sum += or_one(options[cursor++][probability_property])) <= rnd) { } // eslint-disable-line no-empty,fp/no-loops - return options[cursor - 1]; -}; -/* eslint-enable flowtype/no-weak-types */ -/******* - * - * Returns, for a non-negative integer argument `n`, the series `[0 .. n]`. - * - * ```typescript - * import { seq } from './jssm'; - * - * seq(5); // [0, 1, 2, 3, 4] - * seq(0); // [] - * ``` - * - */ -function seq(n) { - if (!(Number.isInteger(n))) { - throw new TypeError('seq/1 takes a non-negative integer n as an argument'); - } - if (n < 0) { - throw new TypeError('seq/1 takes a non-negative integer n as an argument'); - } - return (new Array(n)) - .fill(true) - .map((_, i) => i); -} -/******* - * - * Returns the histograph of an array as a `Map`. Makes no attempt to cope - * with deep equality; will fail for complex contents, as such. - * - * ```typescript - * import { histograph } from './jssm'; - * - * histograph( [0, 0, 1, 1, 2, 2, 1] ); // Map() - * ``` - * - */ -const histograph = (ar) => // eslint-disable-line flowtype/no-weak-types - ar.sort() - .reduce((m, v) => // TODO FIXME eslint-disable-line flowtype/no-weak-types,no-sequences - (m.set(v, (m.has(v) ? m.get(v) + 1 : 1)), m), new Map()); -const weighted_sample_select = (n, options, probability_property) => // TODO FIXME no any // eslint-disable-line flowtype/no-weak-types - seq(n) - .map((_i) => // TODO FIXME eslint-disable-line flowtype/no-weak-types - weighted_rand_select(options, probability_property)); -const weighted_histo_key = (n, opts, prob_prop, extract) => // TODO FIXME no any // eslint-disable-line flowtype/no-weak-types - histograph(weighted_sample_select(n, opts, prob_prop) - .map((s) => s[extract] // TODO FIXME eslint-disable-line flowtype/no-weak-types -)); -/******* - * - * Internal method generating names for edges for the hook lookup map. Not - * meant for external use. - * - */ -function name_bind_prop_and_state(prop, state) { - if (typeof prop !== 'string') { - throw new JssmError(undefined, `Name of property must be a string; got ${prop}`); - } - if (typeof state !== 'string') { - throw new JssmError(undefined, `Name of state must be a string; got ${prop}`); - } - return JSON.stringify([prop, state]); -} -/******* - * - * Internal method generating names for edges for the hook lookup map. Not - * meant for external use. - * - */ -const hook_name = (from, to) => JSON.stringify([from, to]); -/******* - * - * Internal method generating names for actions for the hook lookup map. Not - * meant for external use. - * - */ -const named_hook_name = (from, to, action) => JSON.stringify([from, to, action]); -/******* +class JssmError extends Error { + constructor(machine, message, JEEI) { + const { requested_state } = (JEEI === undefined) + ? { requested_state: undefined } + : JEEI; + const follow_ups = []; + if (machine) { + if (machine.state() !== undefined) { + follow_ups.push(`at "${machine.state()}"`); + } + } + if (requested_state !== undefined) { + follow_ups.push(`requested "${requested_state}"`); + } + const complex_msg = `${((machine === null || machine === void 0 ? void 0 : machine.instance_name()) !== undefined) + ? `[[${machine.instance_name()}]]: ` + : ''}${message}${follow_ups.length + ? ` (${follow_ups.join(', ')})` + : ''}`; + super(complex_msg); + this.name = 'JssmError'; + this.message = complex_msg; + this.base_message = message; + this.requested_state = requested_state; + } +} + +/* eslint-disable complexity */ +/********* * - * Reduces an array to its unique contents. Compares with `===` and makes no - * effort to deep-compare contents; two matching arrays or objects contained - * will be treated as distinct, according to javascript rules. This also means - * that `NaNs` will be ***dropped***, because they do not self-compare. + * Return the direction of an arrow - `right`, `left`, or `both`. * * ```typescript - * unique( [] ); // [] - * unique( [0,0] ); // [0] - * unique( [0,1,2, 0,1,2, 0,1,2] ); // [0,1,2] - * unique( [ [1], [1] ] ); // [ [1], [1] ] because arrays don't match - * unique( [0,NaN,2] ); // [0,2] + * import { arrow_direction } from 'jssm'; + * + * arrow_direction('->'); // 'right' + * arrow_direction('<~=>'); // 'both' * ``` * + * @param arrow The arrow to be evaluated + * */ -const unique = (arr) => arr.filter((v, i, a) => a.indexOf(v) === i); -/******* +function arrow_direction(arrow) { + switch (String(arrow)) { + case '->': + case '→': + case '=>': + case '⇒': + case '~>': + case '↛': + return 'right'; + case '<-': + case '←': + case '<=': + case '⇐': + case '<~': + case '↚': + return 'left'; + case '<->': + case '↔': + case '<-=>': + case '←⇒': + case '←=>': + case '<-⇒': + case '<-~>': + case '←↛': + case '←~>': + case '<-↛': + case '<=>': + case '⇔': + case '<=->': + case '⇐→': + case '⇐->': + case '<=→': + case '<=~>': + case '⇐↛': + case '⇐~>': + case '<=↛': + case '<~>': + case '↮': + case '<~->': + case '↚→': + case '↚->': + case '<~→': + case '<~=>': + case '↚⇒': + case '↚=>': + case '<~⇒': + return 'both'; + default: + throw new JssmError(undefined, `arrow_direction: unknown arrow type ${arrow}`); + } +} +/* eslint-enable complexity */ +/* eslint-disable complexity */ +/********* * - * Lists all repeated items in an array along with their counts. Subject to - * matching rules of Map. `NaN` is manually removed because of conflict rules - * around {@link unique}. Because these are compared with `===` and because - * arrays and objects never match that way unless they're the same object, - * arrays and objects are never considered repeats. + * Return the direction of an arrow - `right`, `left`, or `both`. * * ```typescript - * find_repeated([ ]); // [] - * find_repeated([ "one" ]); // [] - * find_repeated([ "one", "two" ]); // [] - * find_repeated([ "one", "one" ]); // [ ["one", 2] ] - * find_repeated([ "one", "two", "one" ]); // [ ["one", 2] ] - * find_repeated([ 0, NaN, 0, NaN ]); // [ [0, 2] ] + * import { arrow_left_kind } from 'jssm'; + * + * arrow_left_kind('<-'); // 'legal' + * arrow_left_kind('<='); // 'main' + * arrow_left_kind('<~'); // 'forced' + * arrow_left_kind('<->'); // 'legal' + * arrow_left_kind('->'); // 'none' * ``` * + * @param arrow The arrow to be evaluated + * */ -function find_repeated(arr) { - const uniqued = unique(arr); - if (uniqued.length !== arr.length) { - const residue_keys = new Map(); - arr.forEach(k => residue_keys.set(k, residue_keys.has(k) - ? (residue_keys.get(k) + 1) - : 1)); - uniqued.forEach(k => residue_keys.set(k, residue_keys.get(k) - 1)); - return [...residue_keys.entries()] - .filter((e) => ((e[1] > 0) && (!(Number.isNaN(e[0]))))) - .map((e) => [e[0], e[1] + 1]); - } - else { - return []; +function arrow_left_kind(arrow) { + switch (String(arrow)) { + case '->': + case '→': + case '=>': + case '⇒': + case '~>': + case '↛': + return 'none'; + case '<-': + case '←': + case '<->': + case '↔': + case '<-=>': + case '←⇒': + case '<-~>': + case '←↛': + return 'legal'; + case '<=': + case '⇐': + case '<=>': + case '⇔': + case '<=->': + case '⇐→': + case '<=~>': + case '⇐↛': + return 'main'; + case '<~': + case '↚': + case '<~>': + case '↮': + case '<~->': + case '↚→': + case '<~=>': + case '↚⇒': + return 'forced'; + default: + throw new JssmError(undefined, `arrow_direction: unknown arrow type ${arrow}`); } -} - -const NegInfinity = Number.NEGATIVE_INFINITY, PosInfinity = Number.POSITIVE_INFINITY, Epsilon = Number.EPSILON, Pi = Math.PI, E = Math.E, Root2 = Math.SQRT2, RootHalf = Math.SQRT1_2, Ln2 = Math.LN2, Ln10 = Math.LN10, Log2E = Math.LOG2E, Log10E = Math.LOG10E, MaxSafeInt = Number.MAX_SAFE_INTEGER, MinSafeInt = Number.MIN_SAFE_INTEGER, MaxPosNum = Number.MAX_VALUE, MinPosNum = Number.MIN_VALUE, Phi = 1.61803398874989484820, EulerC = 0.57721566490153286060; -const gviz_shapes$1 = [ - "box3d", - "polygon", - "ellipse", - "oval", - "circle", - "point", - "egg", - "triangle", - "plaintext", - "plain", - "diamond", - "trapezium", - "parallelogram", - "house", - "pentagon", - "hexagon", - "septagon", - "octagon", - "doublecircle", - "doubleoctagon", - "tripleoctagon", - "invtriangle", - "invtrapezium", - "invhouse", - "Mdiamond", - "Msquare", - "Mcircle", - "rectangle", - "rect", - "square", - "star", - "none", - "underline", - "cylinder", - "note", - "tab", - "folder", - "box", - "component", - "promoter", - "cds", - "terminator", - "utr", - "primersite", - "restrictionsite", - "fivepoverhang", - "threepoverhang", - "noverhang", - "assembly", - "signature", - "insulator", - "ribosite", - "rnastab", - "proteasesite", - "proteinstab", - "rpromoter", - "rarrow", - "larrow", - "lpromoter", - "record" -]; -const shapes$1 = gviz_shapes$1; -const named_colors$1 = [ - "AliceBlue", "AntiqueWhite", "Aqua", "Aquamarine", "Azure", "Beige", - "Bisque", "Black", "BlanchedAlmond", "Blue", "BlueViolet", "Brown", - "BurlyWood", "CadetBlue", "Chartreuse", "Chocolate", "Coral", - "CornflowerBlue", "Cornsilk", "Crimson", "Cyan", "DarkBlue", "DarkCyan", - "DarkGoldenRod", "DarkGray", "DarkGrey", "DarkGreen", "DarkKhaki", - "DarkMagenta", "DarkOliveGreen", "Darkorange", "DarkOrchid", "DarkRed", - "DarkSalmon", "DarkSeaGreen", "DarkSlateBlue", "DarkSlateGray", - "DarkSlateGrey", "DarkTurquoise", "DarkViolet", "DeepPink", "DeepSkyBlue", - "DimGray", "DimGrey", "DodgerBlue", "FireBrick", "FloralWhite", "ForestGreen", - "Fuchsia", "Gainsboro", "GhostWhite", "Gold", "GoldenRod", "Gray", "Grey", - "Green", "GreenYellow", "HoneyDew", "HotPink", "IndianRed", "Indigo", "Ivory", - "Khaki", "Lavender", "LavenderBlush", "LawnGreen", "LemonChiffon", - "LightBlue", "LightCoral", "LightCyan", "LightGoldenRodYellow", "LightGray", - "LightGrey", "LightGreen", "LightPink", "LightSalmon", "LightSeaGreen", - "LightSkyBlue", "LightSlateGray", "LightSlateGrey", "LightSteelBlue", - "LightYellow", "Lime", "LimeGreen", "Linen", "Magenta", "Maroon", - "MediumAquaMarine", "MediumBlue", "MediumOrchid", "MediumPurple", - "MediumSeaGreen", "MediumSlateBlue", "MediumSpringGreen", "MediumTurquoise", - "MediumVioletRed", "MidnightBlue", "MintCream", "MistyRose", "Moccasin", - "NavajoWhite", "Navy", "OldLace", "Olive", "OliveDrab", "Orange", "OrangeRed", - "Orchid", "PaleGoldenRod", "PaleGreen", "PaleTurquoise", "PaleVioletRed", - "PapayaWhip", "PeachPuff", "Peru", "Pink", "Plum", "PowderBlue", "Purple", - "Red", "RosyBrown", "RoyalBlue", "SaddleBrown", "Salmon", "SandyBrown", - "SeaGreen", "SeaShell", "Sienna", "Silver", "SkyBlue", "SlateBlue", - "SlateGray", "SlateGrey", "Snow", "SpringGreen", "SteelBlue", "Tan", "Teal", - "Thistle", "Tomato", "Turquoise", "Violet", "Wheat", "White", "WhiteSmoke", - "Yellow", "YellowGreen" -]; - -var constants = /*#__PURE__*/Object.freeze({ - __proto__: null, - NegInfinity: NegInfinity, - PosInfinity: PosInfinity, - Epsilon: Epsilon, - Pi: Pi, - E: E, - Root2: Root2, - RootHalf: RootHalf, - Ln2: Ln2, - Ln10: Ln10, - Log2E: Log2E, - Log10E: Log10E, - MaxSafeInt: MaxSafeInt, - MinSafeInt: MinSafeInt, - MaxPosNum: MaxPosNum, - MinPosNum: MinPosNum, - Phi: Phi, - EulerC: EulerC, - gviz_shapes: gviz_shapes$1, - shapes: shapes$1, - named_colors: named_colors$1 -}); +} +/* eslint-enable complexity */ +/* eslint-disable complexity */ +/********* + * + * Return the direction of an arrow - `right`, `left`, or `both`. + * + * ```typescript + * import { arrow_left_kind } from 'jssm'; + * + * arrow_left_kind('->'); // 'legal' + * arrow_left_kind('=>'); // 'main' + * arrow_left_kind('~>'); // 'forced' + * arrow_left_kind('<->'); // 'legal' + * arrow_left_kind('<-'); // 'none' + * ``` + * + * @param arrow The arrow to be evaluated + * + */ +function arrow_right_kind(arrow) { + switch (String(arrow)) { + case '<-': + case '←': + case '<=': + case '⇐': + case '<~': + case '↚': + return 'none'; + case '->': + case '→': + case '<->': + case '↔': + case '<=->': + case '⇐→': + case '<~->': + case '↚→': + return 'legal'; + case '=>': + case '⇒': + case '<=>': + case '⇔': + case '<-=>': + case '←⇒': + case '<~=>': + case '↚⇒': + return 'main'; + case '~>': + case '↛': + case '<~>': + case '↮': + case '<-~>': + case '←↛': + case '<=~>': + case '⇐↛': + return 'forced'; + default: + throw new JssmError(undefined, `arrow_direction: unknown arrow type ${arrow}`); + } +} /* * Generated by PEG.js 0.10.0. @@ -19486,16 +18006,1010 @@ function peg$parse(input, options) { } } -const version = "5.85.8", build_time = 1663038933181; - -// whargarbl lots of these return arrays could/should be sets -const theme_mapping = new Map(); -theme_mapping.set('default', default_theme); -theme_mapping.set('modern', modern_theme); -theme_mapping.set('ocean', ocean_theme); -theme_mapping.set('plain', plain_theme); -theme_mapping.set('bold', bold_theme); -const { shapes, gviz_shapes, named_colors } = constants; +const array_box_if_string = n => typeof n === 'string' ? [n] : n; +// this is explicitly about other peoples' data, so it has to be weakly typed +/* eslint-disable flowtype/no-weak-types */ +const weighted_rand_select = (options, probability_property = 'probability') => { + if (!Array.isArray(options)) { + throw new TypeError('options must be a non-empty array of objects'); + } + if (!(typeof options[0] === 'object')) { + throw new TypeError('options must be a non-empty array of objects'); + } + const frand = (cap) => Math.random() * cap, or_one = (item) => item === undefined ? 1 : item, prob_sum = options.reduce((acc, val) => acc + or_one(val[probability_property]), 0), rnd = frand(prob_sum); + let cursor = 0, cursor_sum = 0; + while ((cursor_sum += or_one(options[cursor++][probability_property])) <= rnd) { } // eslint-disable-line no-empty,fp/no-loops + return options[cursor - 1]; +}; +/* eslint-enable flowtype/no-weak-types */ +/******* + * + * Returns, for a non-negative integer argument `n`, the series `[0 .. n]`. + * + * ```typescript + * import { seq } from './jssm'; + * + * seq(5); // [0, 1, 2, 3, 4] + * seq(0); // [] + * ``` + * + */ +function seq(n) { + if (!(Number.isInteger(n))) { + throw new TypeError('seq/1 takes a non-negative integer n as an argument'); + } + if (n < 0) { + throw new TypeError('seq/1 takes a non-negative integer n as an argument'); + } + return (new Array(n)) + .fill(true) + .map((_, i) => i); +} +/******* + * + * Returns the histograph of an array as a `Map`. Makes no attempt to cope + * with deep equality; will fail for complex contents, as such. + * + * ```typescript + * import { histograph } from './jssm'; + * + * histograph( [0, 0, 1, 1, 2, 2, 1] ); // Map() + * ``` + * + */ +const histograph = (ar) => // eslint-disable-line flowtype/no-weak-types + ar.sort() + .reduce((m, v) => // TODO FIXME eslint-disable-line flowtype/no-weak-types,no-sequences + (m.set(v, (m.has(v) ? m.get(v) + 1 : 1)), m), new Map()); +const weighted_sample_select = (n, options, probability_property) => // TODO FIXME no any // eslint-disable-line flowtype/no-weak-types + seq(n) + .map((_i) => // TODO FIXME eslint-disable-line flowtype/no-weak-types + weighted_rand_select(options, probability_property)); +const weighted_histo_key = (n, opts, prob_prop, extract) => // TODO FIXME no any // eslint-disable-line flowtype/no-weak-types + histograph(weighted_sample_select(n, opts, prob_prop) + .map((s) => s[extract] // TODO FIXME eslint-disable-line flowtype/no-weak-types +)); +/******* + * + * Internal method generating names for edges for the hook lookup map. Not + * meant for external use. + * + */ +function name_bind_prop_and_state(prop, state) { + if (typeof prop !== 'string') { + throw new JssmError(undefined, `Name of property must be a string; got ${prop}`); + } + if (typeof state !== 'string') { + throw new JssmError(undefined, `Name of state must be a string; got ${prop}`); + } + return JSON.stringify([prop, state]); +} +/******* + * + * Internal method generating names for edges for the hook lookup map. Not + * meant for external use. + * + */ +const hook_name = (from, to) => JSON.stringify([from, to]); +/******* + * + * Internal method generating names for actions for the hook lookup map. Not + * meant for external use. + * + */ +const named_hook_name = (from, to, action) => JSON.stringify([from, to, action]); +/******* + * + * Reduces an array to its unique contents. Compares with `===` and makes no + * effort to deep-compare contents; two matching arrays or objects contained + * will be treated as distinct, according to javascript rules. This also means + * that `NaNs` will be ***dropped***, because they do not self-compare. + * + * ```typescript + * unique( [] ); // [] + * unique( [0,0] ); // [0] + * unique( [0,1,2, 0,1,2, 0,1,2] ); // [0,1,2] + * unique( [ [1], [1] ] ); // [ [1], [1] ] because arrays don't match + * unique( [0,NaN,2] ); // [0,2] + * ``` + * + */ +const unique = (arr) => arr.filter((v, i, a) => a.indexOf(v) === i); +/******* + * + * Lists all repeated items in an array along with their counts. Subject to + * matching rules of Map. `NaN` is manually removed because of conflict rules + * around {@link unique}. Because these are compared with `===` and because + * arrays and objects never match that way unless they're the same object, + * arrays and objects are never considered repeats. + * + * ```typescript + * find_repeated([ ]); // [] + * find_repeated([ "one" ]); // [] + * find_repeated([ "one", "two" ]); // [] + * find_repeated([ "one", "one" ]); // [ ["one", 2] ] + * find_repeated([ "one", "two", "one" ]); // [ ["one", 2] ] + * find_repeated([ 0, NaN, 0, NaN ]); // [ [0, 2] ] + * ``` + * + */ +function find_repeated(arr) { + const uniqued = unique(arr); + if (uniqued.length !== arr.length) { + const residue_keys = new Map(); + arr.forEach(k => residue_keys.set(k, residue_keys.has(k) + ? (residue_keys.get(k) + 1) + : 1)); + uniqued.forEach(k => residue_keys.set(k, residue_keys.get(k) - 1)); + return [...residue_keys.entries()] + .filter((e) => ((e[1] > 0) && (!(Number.isNaN(e[0]))))) + .map((e) => [e[0], e[1] + 1]); + } + else { + return []; + } +} + +var reductions = { + "abkhazian" : "ab", + "аҧсуа бызшәа, аҧсшәа" : "ab", + "ab" : "ab", + "abk" : "ab", + "аҧсуа бызшәа" : "ab", + "аҧсшәа" : "ab", + "afar" : "aa", + "afaraf" : "aa", + "aa" : "aa", + "aar" : "aa", + "afrikaans" : "af", + "af" : "af", + "afr" : "af", + "akan" : "ak", + "ak" : "ak", + "aka" : "ak", + "aka + 2" : "ak", + "albanian" : "sq", + "shqip" : "sq", + "sq" : "sq", + "sqi" : "sq", + "alb" : "sq", + "sqi + 4" : "sq", + "amharic" : "am", + "አማርኛ" : "am", + "am" : "am", + "amh" : "am", + "arabic" : "ar", + "العربية" : "ar", + "ar" : "ar", + "ara" : "ar", + "ara + 30" : "ar", + "aragonese" : "an", + "aragonés" : "an", + "an" : "an", + "arg" : "an", + "armenian" : "hy", + "հայերեն" : "hy", + "hy" : "hy", + "hye" : "hy", + "arm" : "hy", + "assamese" : "as", + "অসমীয়া" : "as", + "as" : "as", + "asm" : "as", + "avaric" : "av", + "авар мацӏ, магӏарул мацӏ" : "av", + "av" : "av", + "ava" : "av", + "авар мацӏ" : "av", + "магӏарул мацӏ" : "av", + "avestan" : "ae", + "avesta" : "ae", + "ae" : "ae", + "ave" : "ae", + "aymara" : "ay", + "aymar aru" : "ay", + "ay" : "ay", + "aym" : "ay", + "aym + 2" : "ay", + "azerbaijani" : "az", + "azərbaycan dili" : "az", + "az" : "az", + "aze" : "az", + "aze + 2" : "az", + "bambara" : "bm", + "bamanankan" : "bm", + "bm" : "bm", + "bam" : "bm", + "bashkir" : "ba", + "башҡорт теле" : "ba", + "ba" : "ba", + "bak" : "ba", + "basque" : "eu", + "euskara, euskera" : "eu", + "eu" : "eu", + "eus" : "eu", + "baq" : "eu", + "euskara" : "eu", + "euskera" : "eu", + "belarusian" : "be", + "беларуская мова" : "be", + "be" : "be", + "bel" : "be", + "bengali" : "bn", + "বাংলা" : "bn", + "bn" : "bn", + "ben" : "bn", + "bihari languages" : "bh", + "भोजपुरी" : "bh", + "bh" : "bh", + "bih" : "bh", + "bislama" : "bi", + "bi" : "bi", + "bis" : "bi", + "bosnian" : "bs", + "bosanski jezik" : "bs", + "bs" : "bs", + "bos" : "bs", + "breton" : "br", + "brezhoneg" : "br", + "br" : "br", + "bre" : "br", + "bulgarian" : "bg", + "български език" : "bg", + "bg" : "bg", + "bul" : "bg", + "burmese" : "my", + "ဗမာစာ" : "my", + "my" : "my", + "mya" : "my", + "bur" : "my", + "catalan, valencian" : "ca", + "català, valencià" : "ca", + "ca" : "ca", + "cat" : "ca", + "català" : "ca", + "valencià" : "ca", + "chamorro" : "ch", + "chamoru" : "ch", + "ch" : "ch", + "cha" : "ch", + "chechen" : "ce", + "нохчийн мотт" : "ce", + "ce" : "ce", + "che" : "ce", + "chichewa, chewa, nyanja" : "ny", + "chicheŵa, chinyanja" : "ny", + "ny" : "ny", + "nya" : "ny", + "chicheŵa" : "ny", + "chinyanja" : "ny", + "chinese" : "zh", + "中文 (zhōngwén), 汉语, 漢語" : "zh", + "zh" : "zh", + "zho" : "zh", + "chi" : "zh", + "zho + 13" : "zh", + "中文 (zhōngwén)" : "zh", + "汉语" : "zh", + "漢語" : "zh", + "chuvash" : "cv", + "чӑваш чӗлхи" : "cv", + "cv" : "cv", + "chv" : "cv", + "cornish" : "kw", + "kernewek" : "kw", + "kw" : "kw", + "cor" : "kw", + "corsican" : "co", + "corsu, lingua corsa" : "co", + "co" : "co", + "cos" : "co", + "corsu" : "co", + "lingua corsa" : "co", + "cree" : "cr", + "ᓀᐦᐃᔭᐍᐏᐣ" : "cr", + "cr" : "cr", + "cre" : "cr", + "cre + 6" : "cr", + "croatian" : "hr", + "hrvatski jezik" : "hr", + "hr" : "hr", + "hrv" : "hr", + "czech" : "cs", + "čeština, český jazyk" : "cs", + "cs" : "cs", + "ces" : "cs", + "cze" : "cs", + "čeština" : "cs", + "český jazyk" : "cs", + "danish" : "da", + "dansk" : "da", + "da" : "da", + "dan" : "da", + "divehi, dhivehi, maldivian" : "dv", + "ދިވެހި" : "dv", + "dv" : "dv", + "div" : "dv", + "dutch, flemish" : "nl", + "nederlands, vlaams" : "nl", + "nl" : "nl", + "nld" : "nl", + "dut" : "nl", + "nederlands" : "nl", + "vlaams" : "nl", + "dzongkha" : "dz", + "རྫོང་ཁ" : "dz", + "dz" : "dz", + "dzo" : "dz", + "english" : "en", + "en" : "en", + "eng" : "en", + "esperanto" : "eo", + "eo" : "eo", + "epo" : "eo", + "estonian" : "et", + "eesti, eesti keel" : "et", + "et" : "et", + "est" : "et", + "est + 2" : "et", + "eesti" : "et", + "eesti keel" : "et", + "ewe" : "ee", + "eʋegbe" : "ee", + "ee" : "ee", + "faroese" : "fo", + "føroyskt" : "fo", + "fo" : "fo", + "fao" : "fo", + "fijian" : "fj", + "vosa vakaviti" : "fj", + "fj" : "fj", + "fij" : "fj", + "finnish" : "fi", + "suomi, suomen kieli" : "fi", + "fi" : "fi", + "fin" : "fi", + "suomi" : "fi", + "suomen kieli" : "fi", + "french" : "fr", + "français, langue française" : "fr", + "fr" : "fr", + "fra" : "fr", + "fre" : "fr", + "français" : "fr", + "langue française" : "fr", + "fulah" : "ff", + "fulfulde, pulaar, pular" : "ff", + "ff" : "ff", + "ful" : "ff", + "ful + 9" : "ff", + "fulfulde" : "ff", + "pulaar" : "ff", + "pular" : "ff", + "galician" : "gl", + "galego" : "gl", + "gl" : "gl", + "glg" : "gl", + "georgian" : "ka", + "ქართული" : "ka", + "ka" : "ka", + "kat" : "ka", + "geo" : "ka", + "german" : "de", + "deutsch" : "de", + "de" : "de", + "deu" : "de", + "ger" : "de", + "greek (modern)" : "el", + "ελληνικά" : "el", + "el" : "el", + "ell" : "el", + "gre" : "el", + "guaraní" : "gn", + "avañe'ẽ" : "gn", + "gn" : "gn", + "grn" : "gn", + "grn + 5" : "gn", + "gujarati" : "gu", + "ગુજરાતી" : "gu", + "gu" : "gu", + "guj" : "gu", + "haitian, haitian creole" : "ht", + "kreyòl ayisyen" : "ht", + "ht" : "ht", + "hat" : "ht", + "hausa" : "ha", + "(hausa) هَوُسَ" : "ha", + "ha" : "ha", + "hau" : "ha", + "hebrew (modern)" : "he", + "עברית" : "he", + "he" : "he", + "heb" : "he", + "herero" : "hz", + "otjiherero" : "hz", + "hz" : "hz", + "her" : "hz", + "hindi" : "hi", + "हिन्दी, हिंदी" : "hi", + "hi" : "hi", + "hin" : "hi", + "हिन्दी" : "hi", + "हिंदी" : "hi", + "hiri motu" : "ho", + "ho" : "ho", + "hmo" : "ho", + "hungarian" : "hu", + "magyar" : "hu", + "hu" : "hu", + "hun" : "hu", + "interlingua" : "ia", + "ia" : "ia", + "ina" : "ia", + "indonesian" : "id", + "bahasa indonesia" : "id", + "id" : "id", + "ind" : "id", + "interlingue" : "ie", + "originally called occidental; then interlingue after wwii" : "ie", + "ie" : "ie", + "ile" : "ie", + "irish" : "ga", + "gaeilge" : "ga", + "ga" : "ga", + "gle" : "ga", + "igbo" : "ig", + "asụsụ igbo" : "ig", + "ig" : "ig", + "ibo" : "ig", + "inupiaq" : "ik", + "iñupiaq, iñupiatun" : "ik", + "ik" : "ik", + "ipk" : "ik", + "ipk + 2" : "ik", + "iñupiaq" : "ik", + "iñupiatun" : "ik", + "ido" : "io", + "io" : "io", + "icelandic" : "is", + "íslenska" : "is", + "is" : "is", + "isl" : "is", + "ice" : "is", + "italian" : "it", + "italiano" : "it", + "it" : "it", + "ita" : "it", + "inuktitut" : "iu", + "ᐃᓄᒃᑎᑐᑦ" : "iu", + "iu" : "iu", + "iku" : "iu", + "iku + 2" : "iu", + "japanese" : "ja", + "日本語 (にほんご)" : "ja", + "ja" : "ja", + "jpn" : "ja", + "javanese" : "jv", + "ꦧꦱꦗꦮ, basa jawa" : "jv", + "jv" : "jv", + "jav" : "jv", + "ꦧꦱꦗꦮ" : "jv", + "basa jawa" : "jv", + "kalaallisut, greenlandic" : "kl", + "kalaallisut, kalaallit oqaasii" : "kl", + "kl" : "kl", + "kal" : "kl", + "kalaallisut" : "kl", + "kalaallit oqaasii" : "kl", + "kannada" : "kn", + "ಕನ್ನಡ" : "kn", + "kn" : "kn", + "kan" : "kn", + "kanuri" : "kr", + "kr" : "kr", + "kau" : "kr", + "kau + 3" : "kr", + "kashmiri" : "ks", + "कश्मीरी, كشميري‎" : "ks", + "ks" : "ks", + "kas" : "ks", + "कश्मीरी" : "ks", + "كشميري‎" : "ks", + "kazakh" : "kk", + "қазақ тілі" : "kk", + "kk" : "kk", + "kaz" : "kk", + "central khmer" : "km", + "ខ្មែរ, ខេមរភាសា, ភាសាខ្មែរ" : "km", + "km" : "km", + "khm" : "km", + "ខ្មែរ" : "km", + "ខេមរភាសា" : "km", + "ភាសាខ្មែរ" : "km", + "kikuyu, gikuyu" : "ki", + "gĩkũyũ" : "ki", + "ki" : "ki", + "kik" : "ki", + "kinyarwanda" : "rw", + "ikinyarwanda" : "rw", + "rw" : "rw", + "kin" : "rw", + "kirghiz, kyrgyz" : "ky", + "кыргызча, кыргыз тили" : "ky", + "ky" : "ky", + "kir" : "ky", + "кыргызча" : "ky", + "кыргыз тили" : "ky", + "komi" : "kv", + "коми кыв" : "kv", + "kv" : "kv", + "kom" : "kv", + "kom + 2" : "kv", + "kongo" : "kg", + "kikongo" : "kg", + "kg" : "kg", + "kon" : "kg", + "kon + 3" : "kg", + "korean" : "ko", + "한국어" : "ko", + "ko" : "ko", + "kor" : "ko", + "kurdish" : "ku", + "kurdî, كوردی‎" : "ku", + "ku" : "ku", + "kur" : "ku", + "kur + 3" : "ku", + "kurdî" : "ku", + "كوردی‎" : "ku", + "kuanyama, kwanyama" : "kj", + "kuanyama" : "kj", + "kj" : "kj", + "kua" : "kj", + "latin" : "la", + "latine, lingua latina" : "la", + "la" : "la", + "lat" : "la", + "latine" : "la", + "lingua latina" : "la", + "luxembourgish, letzeburgesch" : "lb", + "lëtzebuergesch" : "lb", + "lb" : "lb", + "ltz" : "lb", + "ganda" : "lg", + "luganda" : "lg", + "lg" : "lg", + "lug" : "lg", + "limburgan, limburger, limburgish" : "li", + "limburgs" : "li", + "li" : "li", + "lim" : "li", + "lingala" : "ln", + "lingála" : "ln", + "ln" : "ln", + "lin" : "ln", + "lao" : "lo", + "ພາສາລາວ" : "lo", + "lo" : "lo", + "lithuanian" : "lt", + "lietuvių kalba" : "lt", + "lt" : "lt", + "lit" : "lt", + "luba-katanga" : "lu", + "kiluba" : "lu", + "lu" : "lu", + "lub" : "lu", + "latvian" : "lv", + "latviešu valoda" : "lv", + "lv" : "lv", + "lav" : "lv", + "lav + 2" : "lv", + "manx" : "gv", + "gaelg, gailck" : "gv", + "gv" : "gv", + "glv" : "gv", + "gaelg" : "gv", + "gailck" : "gv", + "macedonian" : "mk", + "македонски јазик" : "mk", + "mk" : "mk", + "mkd" : "mk", + "mac" : "mk", + "malagasy" : "mg", + "fiteny malagasy" : "mg", + "mg" : "mg", + "mlg" : "mg", + "mlg + 10" : "mg", + "malay" : "ms", + "bahasa melayu, بهاس ملايو‎" : "ms", + "ms" : "ms", + "msa" : "ms", + "may" : "ms", + "msa + 13" : "ms", + "bahasa melayu" : "ms", + "بهاس ملايو‎" : "ms", + "malayalam" : "ml", + "മലയാളം" : "ml", + "ml" : "ml", + "mal" : "ml", + "maltese" : "mt", + "malti" : "mt", + "mt" : "mt", + "mlt" : "mt", + "maori" : "mi", + "te reo māori" : "mi", + "mi" : "mi", + "mri" : "mi", + "mao" : "mi", + "marathi" : "mr", + "मराठी" : "mr", + "mr" : "mr", + "mar" : "mr", + "marshallese" : "mh", + "kajin m̧ajeļ" : "mh", + "mh" : "mh", + "mah" : "mh", + "mongolian" : "mn", + "монгол хэл" : "mn", + "mn" : "mn", + "mon" : "mn", + "mon + 2" : "mn", + "nauru" : "na", + "dorerin naoero" : "na", + "na" : "na", + "nau" : "na", + "navajo, navaho" : "nv", + "diné bizaad" : "nv", + "nv" : "nv", + "nav" : "nv", + "north ndebele" : "nd", + "isindebele" : "nr", + "nd" : "nd", + "nde" : "nd", + "nepali" : "ne", + "नेपाली" : "ne", + "ne" : "ne", + "nep" : "ne", + "ndonga" : "ng", + "owambo" : "ng", + "ng" : "ng", + "ndo" : "ng", + "norwegian bokmål" : "nb", + "norsk bokmål" : "nb", + "nb" : "nb", + "nob" : "nb", + "norwegian nynorsk" : "nn", + "norsk nynorsk" : "nn", + "nn" : "nn", + "nno" : "nn", + "norwegian" : "no", + "norsk" : "no", + "no" : "no", + "nor" : "no", + "nor + 2" : "no", + "sichuan yi, nuosu" : "ii", + "ꆈꌠ꒿ nuosuhxop" : "ii", + "ii" : "ii", + "iii" : "ii", + "south ndebele" : "nr", + "nr" : "nr", + "nbl" : "nr", + "occitan" : "oc", + "occitan, lenga d'òc" : "oc", + "oc" : "oc", + "oci" : "oc", + "lenga d'òc" : "oc", + "ojibwa" : "oj", + "ᐊᓂᔑᓈᐯᒧᐎᓐ" : "oj", + "oj" : "oj", + "oji" : "oj", + "oji + 7" : "oj", + "church slavic, church slavonic, old church slavonic, old slavonic, old bulgarian" : "cu", + "ѩзыкъ словѣньскъ" : "cu", + "cu" : "cu", + "chu" : "cu", + "oromo" : "om", + "afaan oromoo" : "om", + "om" : "om", + "orm" : "om", + "orm + 4" : "om", + "oriya" : "or", + "ଓଡ଼ିଆ" : "or", + "or" : "or", + "ori" : "or", + "ossetian, ossetic" : "os", + "ирон æвзаг" : "os", + "os" : "os", + "oss" : "os", + "panjabi, punjabi" : "pa", + "ਪੰਜਾਬੀ" : "pa", + "pa" : "pa", + "pan" : "pa", + "pali" : "pi", + "पाऴि" : "pi", + "pi" : "pi", + "pli" : "pi", + "persian" : "fa", + "فارسی" : "fa", + "fa" : "fa", + "fas" : "fa", + "per" : "fa", + "fas + 2" : "fa", + "polish" : "pl", + "język polski, polszczyzna" : "pl", + "pl" : "pl", + "pol" : "pl", + "język polski" : "pl", + "polszczyzna" : "pl", + "pashto, pushto" : "ps", + "پښتو" : "ps", + "ps" : "ps", + "pus" : "ps", + "pus + 3" : "ps", + "portuguese" : "pt", + "português" : "pt", + "pt" : "pt", + "por" : "pt", + "quechua" : "qu", + "runa simi, kichwa" : "qu", + "qu" : "qu", + "que" : "qu", + "que + 44" : "qu", + "runa simi" : "qu", + "kichwa" : "qu", + "romansh" : "rm", + "rumantsch grischun" : "rm", + "rm" : "rm", + "roh" : "rm", + "rundi" : "rn", + "ikirundi" : "rn", + "rn" : "rn", + "run" : "rn", + "romanian, moldavian, moldovan" : "ro", + "română" : "ro", + "ro" : "ro", + "ron" : "ro", + "rum" : "ro", + "russian" : "ru", + "русский" : "ru", + "ru" : "ru", + "rus" : "ru", + "sanskrit" : "sa", + "संस्कृतम्" : "sa", + "sa" : "sa", + "san" : "sa", + "sardinian" : "sc", + "sardu" : "sc", + "sc" : "sc", + "srd" : "sc", + "srd + 4" : "sc", + "sindhi" : "sd", + "सिन्धी, سنڌي، سندھی‎" : "sd", + "sd" : "sd", + "snd" : "sd", + "सिन्धी" : "sd", + "سنڌي، سندھی‎" : "sd", + "northern sami" : "se", + "davvisámegiella" : "se", + "se" : "se", + "sme" : "se", + "samoan" : "sm", + "gagana fa'a samoa" : "sm", + "sm" : "sm", + "smo" : "sm", + "sango" : "sg", + "yângâ tî sängö" : "sg", + "sg" : "sg", + "sag" : "sg", + "serbian" : "sr", + "српски језик" : "sr", + "sr" : "sr", + "srp" : "sr", + "gaelic, scottish gaelic" : "gd", + "gàidhlig" : "gd", + "gd" : "gd", + "gla" : "gd", + "shona" : "sn", + "chishona" : "sn", + "sn" : "sn", + "sna" : "sn", + "sinhala, sinhalese" : "si", + "සිංහල" : "si", + "si" : "si", + "sin" : "si", + "slovak" : "sk", + "slovenčina, slovenský jazyk" : "sk", + "sk" : "sk", + "slk" : "sk", + "slo" : "sk", + "slovenčina" : "sk", + "slovenský jazyk" : "sk", + "slovenian" : "sl", + "slovenski jezik, slovenščina" : "sl", + "sl" : "sl", + "slv" : "sl", + "slovenski jezik" : "sl", + "slovenščina" : "sl", + "somali" : "so", + "soomaaliga, af soomaali" : "so", + "so" : "so", + "som" : "so", + "soomaaliga" : "so", + "af soomaali" : "so", + "southern sotho" : "st", + "sesotho" : "st", + "st" : "st", + "sot" : "st", + "spanish, castilian" : "es", + "español" : "es", + "es" : "es", + "spa" : "es", + "sundanese" : "su", + "basa sunda" : "su", + "su" : "su", + "sun" : "su", + "swahili" : "sw", + "kiswahili" : "sw", + "sw" : "sw", + "swa" : "sw", + "swa + 2" : "sw", + "swati" : "ss", + "siswati" : "ss", + "ss" : "ss", + "ssw" : "ss", + "swedish" : "sv", + "svenska" : "sv", + "sv" : "sv", + "swe" : "sv", + "tamil" : "ta", + "தமிழ்" : "ta", + "ta" : "ta", + "tam" : "ta", + "telugu" : "te", + "తెలుగు" : "te", + "te" : "te", + "tel" : "te", + "tajik" : "tg", + "тоҷикӣ, toçikī, تاجیکی‎" : "tg", + "tg" : "tg", + "tgk" : "tg", + "тоҷикӣ" : "tg", + "toçikī" : "tg", + "تاجیکی‎" : "tg", + "thai" : "th", + "ไทย" : "th", + "th" : "th", + "tha" : "th", + "tigrinya" : "ti", + "ትግርኛ" : "ti", + "ti" : "ti", + "tir" : "ti", + "tibetan" : "bo", + "བོད་ཡིག" : "bo", + "bo" : "bo", + "bod" : "bo", + "tib" : "bo", + "turkmen" : "tk", + "türkmen, түркмен" : "tk", + "tk" : "tk", + "tuk" : "tk", + "türkmen" : "tk", + "түркмен" : "tk", + "tagalog" : "tl", + "wikang tagalog" : "tl", + "tl" : "tl", + "tgl" : "tl", + "tswana" : "tn", + "setswana" : "tn", + "tn" : "tn", + "tsn" : "tn", + "tonga (tonga islands)" : "to", + "faka tonga" : "to", + "to" : "to", + "ton" : "to", + "turkish" : "tr", + "türkçe" : "tr", + "tr" : "tr", + "tur" : "tr", + "tsonga" : "ts", + "xitsonga" : "ts", + "ts" : "ts", + "tso" : "ts", + "tatar" : "tt", + "татар теле, tatar tele" : "tt", + "tt" : "tt", + "tat" : "tt", + "татар теле" : "tt", + "tatar tele" : "tt", + "twi" : "tw", + "tw" : "tw", + "tahitian" : "ty", + "reo tahiti" : "ty", + "ty" : "ty", + "tah" : "ty", + "uighur, uyghur" : "ug", + "ئۇيغۇرچە‎, uyghurche" : "ug", + "ug" : "ug", + "uig" : "ug", + "ئۇيغۇرچە‎" : "ug", + "uyghurche" : "ug", + "ukrainian" : "uk", + "українська" : "uk", + "uk" : "uk", + "ukr" : "uk", + "urdu" : "ur", + "اردو" : "ur", + "ur" : "ur", + "urd" : "ur", + "uzbek" : "uz", + "oʻzbek, ўзбек, أۇزبېك‎" : "uz", + "uz" : "uz", + "uzb" : "uz", + "uzb + 2" : "uz", + "oʻzbek" : "uz", + "ўзбек" : "uz", + "أۇزبېك‎" : "uz", + "venda" : "ve", + "tshivenḓa" : "ve", + "ve" : "ve", + "ven" : "ve", + "vietnamese" : "vi", + "tiếng việt" : "vi", + "vi" : "vi", + "vie" : "vi", + "volapük" : "vo", + "vo" : "vo", + "vol" : "vo", + "walloon" : "wa", + "walon" : "wa", + "wa" : "wa", + "wln" : "wa", + "welsh" : "cy", + "cymraeg" : "cy", + "cy" : "cy", + "cym" : "cy", + "wel" : "cy", + "wolof" : "wo", + "wollof" : "wo", + "wo" : "wo", + "wol" : "wo", + "western frisian" : "fy", + "frysk" : "fy", + "fy" : "fy", + "fry" : "fy", + "xhosa" : "xh", + "isixhosa" : "xh", + "xh" : "xh", + "xho" : "xh", + "yiddish" : "yi", + "ייִדיש" : "yi", + "yi" : "yi", + "yid" : "yi", + "yid + 2" : "yi", + "yoruba" : "yo", + "yorùbá" : "yo", + "yo" : "yo", + "yor" : "yo", + "zhuang, chuang" : "za", + "saɯ cueŋƅ, saw cuengh" : "za", + "za" : "za", + "zha" : "za", + "zha + 16" : "za", + "saɯ cueŋƅ" : "za", + "saw cuengh" : "za", + "zulu" : "zu", + "isizulu" : "zu", + "zu" : "zu", + "zul" : "zu" +}; + + + + + +function reduce(from) { + return reductions[from.toLowerCase()]; +} + /********* * * Internal method meant to perform factory assembly of an edge. Not meant for @@ -19848,7 +19362,494 @@ function compile(tree) { */ function make(plan) { return compile(wrap_parse(plan)); -} +} + +const base_state_style$5 = { + shape: 'rectangle', + backgroundColor: 'white', + textColor: 'black', + borderColor: 'black' +}; +const base_active_state_style$5 = { + textColor: 'white', + backgroundColor: 'dodgerblue4' +}; +const base_hooked_state_style$5 = { + shape: 'component' +}; +const base_terminal_state_style$5 = { + textColor: 'white', + backgroundColor: 'crimson' +}; +const base_active_terminal_state_style$5 = { + textColor: 'white', + backgroundColor: 'indigo' +}; +const base_start_state_style$5 = { + backgroundColor: 'yellow' +}; +const base_active_start_state_style$5 = { + backgroundColor: 'yellowgreen' +}; +const base_active_hooked_state_style$5 = { + backgroundColor: 'yellowgreen' +}; +const base_end_state_style$5 = { + textColor: 'white', + backgroundColor: 'darkolivegreen' +}; +const base_active_end_state_style$5 = { + textColor: 'white', + backgroundColor: 'darkgreen' +}; +const base_theme = { + name: 'base', + state: base_state_style$5, + start: base_start_state_style$5, + end: base_end_state_style$5, + terminal: base_terminal_state_style$5, + hooked: base_hooked_state_style$5, + active: base_active_state_style$5, + active_start: base_active_start_state_style$5, + active_end: base_active_end_state_style$5, + active_terminal: base_active_terminal_state_style$5, + active_hooked: base_active_hooked_state_style$5, + legal: undefined, + main: undefined, + forced: undefined, + action: undefined, + graph: undefined, + title: undefined // TODO FIXME +}; + +const base_state_style$4 = { + shape: 'rectangle', + backgroundColor: 'white', + textColor: 'black', + borderColor: 'black' +}; +const base_active_state_style$4 = { + textColor: 'white', + backgroundColor: 'dodgerblue4' +}; +const base_hooked_state_style$4 = { + shape: 'component' +}; +const base_terminal_state_style$4 = { + textColor: 'white', + backgroundColor: 'crimson' +}; +const base_active_terminal_state_style$4 = { + textColor: 'white', + backgroundColor: 'indigo' +}; +const base_start_state_style$4 = { + backgroundColor: 'yellow' +}; +const base_active_start_state_style$4 = { + backgroundColor: 'yellowgreen' +}; +const base_active_hooked_state_style$4 = { + backgroundColor: 'yellowgreen' +}; +const base_end_state_style$4 = { + textColor: 'white', + backgroundColor: 'darkolivegreen' +}; +const base_active_end_state_style$4 = { + textColor: 'white', + backgroundColor: 'darkgreen' +}; +const default_theme = { + name: 'default', + state: base_state_style$4, + start: base_start_state_style$4, + end: base_end_state_style$4, + terminal: base_terminal_state_style$4, + hooked: base_hooked_state_style$4, + active: base_active_state_style$4, + active_start: base_active_start_state_style$4, + active_end: base_active_end_state_style$4, + active_terminal: base_active_terminal_state_style$4, + active_hooked: base_active_hooked_state_style$4, + legal: undefined, + main: undefined, + forced: undefined, + action: undefined, + graph: undefined, + title: undefined // TODO FIXME +}; + +const base_state_style$3 = { + shape: 'rectangle', + backgroundColor: 'khaki', + textColor: 'black', + borderColor: 'black' +}; +const base_active_state_style$3 = { + textColor: 'white', + backgroundColor: 'dodgerblue4' +}; +const base_hooked_state_style$3 = { + shape: 'component' +}; +const base_terminal_state_style$3 = { + textColor: 'white', + backgroundColor: 'crimson' +}; +const base_active_terminal_state_style$3 = { + textColor: 'white', + backgroundColor: 'indigo' +}; +const base_start_state_style$3 = { + backgroundColor: 'yellow' +}; +const base_active_start_state_style$3 = { + backgroundColor: 'yellowgreen' +}; +const base_active_hooked_state_style$3 = { + backgroundColor: 'yellowgreen' +}; +const base_end_state_style$3 = { + textColor: 'white', + backgroundColor: 'darkolivegreen' +}; +const base_active_end_state_style$3 = { + textColor: 'white', + backgroundColor: 'darkgreen' +}; +const modern_theme = { + name: 'modern', + state: base_state_style$3, + start: base_start_state_style$3, + end: base_end_state_style$3, + terminal: base_terminal_state_style$3, + hooked: base_hooked_state_style$3, + active: base_active_state_style$3, + active_start: base_active_start_state_style$3, + active_end: base_active_end_state_style$3, + active_terminal: base_active_terminal_state_style$3, + active_hooked: base_active_hooked_state_style$3, + legal: undefined, + main: undefined, + forced: undefined, + action: undefined, + graph: undefined, + title: undefined // TODO FIXME +}; + +const base_state_style$2 = { + backgroundColor: 'cadetblue1', +}; +const base_active_state_style$2 = { + textColor: 'white', + backgroundColor: 'deepskyblue' +}; +const base_hooked_state_style$2 = { + shape: 'component', + backgroundColor: 'mediumaquamarine' +}; +const base_terminal_state_style$2 = { + textColor: 'white', + backgroundColor: 'darkviolet' +}; +const base_active_terminal_state_style$2 = { + textColor: 'white', + backgroundColor: 'deeppink' +}; +const base_start_state_style$2 = { + backgroundColor: 'darkseagreen1' +}; +const base_active_start_state_style$2 = { + backgroundColor: 'aquamarine' +}; +const base_active_hooked_state_style$2 = { + backgroundColor: 'aquamarine' +}; +const base_end_state_style$2 = { + textColor: 'white', + backgroundColor: 'chartreuse1' +}; +const base_active_end_state_style$2 = { + textColor: 'white', + backgroundColor: 'darkgreen' +}; +const ocean_theme = { + name: 'ocean', + state: base_state_style$2, + start: base_start_state_style$2, + end: base_end_state_style$2, + terminal: base_terminal_state_style$2, + hooked: base_hooked_state_style$2, + active: base_active_state_style$2, + active_start: base_active_start_state_style$2, + active_end: base_active_end_state_style$2, + active_terminal: base_active_terminal_state_style$2, + active_hooked: base_active_hooked_state_style$2, + legal: undefined, + main: undefined, + forced: undefined, + action: undefined, + graph: undefined, + title: undefined // TODO FIXME +}; + +const base_state_style$1 = { + textColor: 'black', + backgroundColor: 'transparent', + shape: 'plaintext' +}; +const base_active_state_style$1 = { + textColor: 'black', + backgroundColor: 'transparent', + shape: 'plaintext' +}; +const base_hooked_state_style$1 = { + textColor: 'black', + backgroundColor: 'transparent', + shape: 'plaintext' +}; +const base_terminal_state_style$1 = { + textColor: 'black', + backgroundColor: 'transparent', + shape: 'plaintext' +}; +const base_active_terminal_state_style$1 = { + textColor: 'black', + backgroundColor: 'transparent', + shape: 'plaintext' +}; +const base_start_state_style$1 = { + textColor: 'black', + backgroundColor: 'transparent', + shape: 'plaintext' +}; +const base_active_start_state_style$1 = { + textColor: 'black', + backgroundColor: 'transparent', + shape: 'plaintext' +}; +const base_active_hooked_state_style$1 = { + textColor: 'black', + backgroundColor: 'transparent', + shape: 'plaintext' +}; +const base_end_state_style$1 = { + textColor: 'black', + backgroundColor: 'transparent', + shape: 'plaintext' +}; +const base_active_end_state_style$1 = { + textColor: 'black', + backgroundColor: 'transparent', + shape: 'plaintext' +}; +const plain_theme = { + name: 'plain', + state: base_state_style$1, + start: base_start_state_style$1, + end: base_end_state_style$1, + terminal: base_terminal_state_style$1, + hooked: base_hooked_state_style$1, + active: base_active_state_style$1, + active_start: base_active_start_state_style$1, + active_end: base_active_end_state_style$1, + active_terminal: base_active_terminal_state_style$1, + active_hooked: base_active_hooked_state_style$1, + legal: undefined, + main: undefined, + forced: undefined, + action: undefined, + graph: undefined, + title: undefined // TODO FIXME +}; + +const base_state_style = { + shape: 'rectangle', + backgroundColor: 'khaki', + textColor: 'black', + borderColor: 'black' +}; +const base_active_state_style = { + textColor: 'white', + backgroundColor: 'dodgerblue4' +}; +const base_hooked_state_style = { + shape: 'component' +}; +const base_terminal_state_style = { + textColor: 'white', + backgroundColor: 'crimson' +}; +const base_active_terminal_state_style = { + textColor: 'white', + backgroundColor: 'indigo' +}; +const base_start_state_style = { + backgroundColor: 'yellow' +}; +const base_active_start_state_style = { + backgroundColor: 'yellowgreen' +}; +const base_active_hooked_state_style = { + backgroundColor: 'yellowgreen' +}; +const base_end_state_style = { + textColor: 'white', + backgroundColor: 'darkolivegreen' +}; +const base_active_end_state_style = { + textColor: 'white', + backgroundColor: 'darkgreen' +}; +const bold_theme = { + name: 'bold', + state: base_state_style, + start: base_start_state_style, + end: base_end_state_style, + terminal: base_terminal_state_style, + hooked: base_hooked_state_style, + active: base_active_state_style, + active_start: base_active_start_state_style, + active_end: base_active_end_state_style, + active_terminal: base_active_terminal_state_style, + active_hooked: base_active_hooked_state_style, + legal: undefined, + main: undefined, + forced: undefined, + action: undefined, + graph: undefined, + title: undefined // TODO FIXME +}; + +const NegInfinity = Number.NEGATIVE_INFINITY, PosInfinity = Number.POSITIVE_INFINITY, Epsilon = Number.EPSILON, Pi = Math.PI, E = Math.E, Root2 = Math.SQRT2, RootHalf = Math.SQRT1_2, Ln2 = Math.LN2, Ln10 = Math.LN10, Log2E = Math.LOG2E, Log10E = Math.LOG10E, MaxSafeInt = Number.MAX_SAFE_INTEGER, MinSafeInt = Number.MIN_SAFE_INTEGER, MaxPosNum = Number.MAX_VALUE, MinPosNum = Number.MIN_VALUE, Phi = 1.61803398874989484820, EulerC = 0.57721566490153286060; +const gviz_shapes$1 = [ + "box3d", + "polygon", + "ellipse", + "oval", + "circle", + "point", + "egg", + "triangle", + "plaintext", + "plain", + "diamond", + "trapezium", + "parallelogram", + "house", + "pentagon", + "hexagon", + "septagon", + "octagon", + "doublecircle", + "doubleoctagon", + "tripleoctagon", + "invtriangle", + "invtrapezium", + "invhouse", + "Mdiamond", + "Msquare", + "Mcircle", + "rectangle", + "rect", + "square", + "star", + "none", + "underline", + "cylinder", + "note", + "tab", + "folder", + "box", + "component", + "promoter", + "cds", + "terminator", + "utr", + "primersite", + "restrictionsite", + "fivepoverhang", + "threepoverhang", + "noverhang", + "assembly", + "signature", + "insulator", + "ribosite", + "rnastab", + "proteasesite", + "proteinstab", + "rpromoter", + "rarrow", + "larrow", + "lpromoter", + "record" +]; +const shapes$1 = gviz_shapes$1; +const named_colors$1 = [ + "AliceBlue", "AntiqueWhite", "Aqua", "Aquamarine", "Azure", "Beige", + "Bisque", "Black", "BlanchedAlmond", "Blue", "BlueViolet", "Brown", + "BurlyWood", "CadetBlue", "Chartreuse", "Chocolate", "Coral", + "CornflowerBlue", "Cornsilk", "Crimson", "Cyan", "DarkBlue", "DarkCyan", + "DarkGoldenRod", "DarkGray", "DarkGrey", "DarkGreen", "DarkKhaki", + "DarkMagenta", "DarkOliveGreen", "Darkorange", "DarkOrchid", "DarkRed", + "DarkSalmon", "DarkSeaGreen", "DarkSlateBlue", "DarkSlateGray", + "DarkSlateGrey", "DarkTurquoise", "DarkViolet", "DeepPink", "DeepSkyBlue", + "DimGray", "DimGrey", "DodgerBlue", "FireBrick", "FloralWhite", "ForestGreen", + "Fuchsia", "Gainsboro", "GhostWhite", "Gold", "GoldenRod", "Gray", "Grey", + "Green", "GreenYellow", "HoneyDew", "HotPink", "IndianRed", "Indigo", "Ivory", + "Khaki", "Lavender", "LavenderBlush", "LawnGreen", "LemonChiffon", + "LightBlue", "LightCoral", "LightCyan", "LightGoldenRodYellow", "LightGray", + "LightGrey", "LightGreen", "LightPink", "LightSalmon", "LightSeaGreen", + "LightSkyBlue", "LightSlateGray", "LightSlateGrey", "LightSteelBlue", + "LightYellow", "Lime", "LimeGreen", "Linen", "Magenta", "Maroon", + "MediumAquaMarine", "MediumBlue", "MediumOrchid", "MediumPurple", + "MediumSeaGreen", "MediumSlateBlue", "MediumSpringGreen", "MediumTurquoise", + "MediumVioletRed", "MidnightBlue", "MintCream", "MistyRose", "Moccasin", + "NavajoWhite", "Navy", "OldLace", "Olive", "OliveDrab", "Orange", "OrangeRed", + "Orchid", "PaleGoldenRod", "PaleGreen", "PaleTurquoise", "PaleVioletRed", + "PapayaWhip", "PeachPuff", "Peru", "Pink", "Plum", "PowderBlue", "Purple", + "Red", "RosyBrown", "RoyalBlue", "SaddleBrown", "Salmon", "SandyBrown", + "SeaGreen", "SeaShell", "Sienna", "Silver", "SkyBlue", "SlateBlue", + "SlateGray", "SlateGrey", "Snow", "SpringGreen", "SteelBlue", "Tan", "Teal", + "Thistle", "Tomato", "Turquoise", "Violet", "Wheat", "White", "WhiteSmoke", + "Yellow", "YellowGreen" +]; + +var constants = /*#__PURE__*/Object.freeze({ + __proto__: null, + NegInfinity: NegInfinity, + PosInfinity: PosInfinity, + Epsilon: Epsilon, + Pi: Pi, + E: E, + Root2: Root2, + RootHalf: RootHalf, + Ln2: Ln2, + Ln10: Ln10, + Log2E: Log2E, + Log10E: Log10E, + MaxSafeInt: MaxSafeInt, + MinSafeInt: MinSafeInt, + MaxPosNum: MaxPosNum, + MinPosNum: MinPosNum, + Phi: Phi, + EulerC: EulerC, + gviz_shapes: gviz_shapes$1, + shapes: shapes$1, + named_colors: named_colors$1 +}); + +const version = "5.85.9", build_time = 1663041756792; + +// whargarbl lots of these return arrays could/should be sets +const theme_mapping = new Map(); +theme_mapping.set('default', default_theme); +theme_mapping.set('modern', modern_theme); +theme_mapping.set('ocean', ocean_theme); +theme_mapping.set('plain', plain_theme); +theme_mapping.set('bold', bold_theme); +const { shapes, gviz_shapes, named_colors } = constants; /********* * * An internal method meant to take a series of declarations and fold them into diff --git a/dist/jssm.es5.iife.js b/dist/jssm.es5.iife.js index 7851d103..26f56f7a 100644 --- a/dist/jssm.es5.iife.js +++ b/dist/jssm.es5.iife.js @@ -1 +1 @@ -var jssm=function(exports){"use strict";var reductions={abkhazian:"ab","аҧсуа бызшәа, аҧсшәа":"ab",ab:"ab",abk:"ab","аҧсуа бызшәа":"ab","аҧсшәа":"ab",afar:"aa",afaraf:"aa",aa:"aa",aar:"aa",afrikaans:"af",af:"af",afr:"af",akan:"ak",ak:"ak",aka:"ak","aka + 2":"ak",albanian:"sq",shqip:"sq",sq:"sq",sqi:"sq",alb:"sq","sqi + 4":"sq",amharic:"am","አማርኛ":"am",am:"am",amh:"am",arabic:"ar","العربية":"ar",ar:"ar",ara:"ar","ara + 30":"ar",aragonese:"an","aragonés":"an",an:"an",arg:"an",armenian:"hy","հայերեն":"hy",hy:"hy",hye:"hy",arm:"hy",assamese:"as","অসমীয়া":"as",as:"as",asm:"as",avaric:"av","авар мацӏ, магӏарул мацӏ":"av",av:"av",ava:"av","авар мацӏ":"av","магӏарул мацӏ":"av",avestan:"ae",avesta:"ae",ae:"ae",ave:"ae",aymara:"ay","aymar aru":"ay",ay:"ay",aym:"ay","aym + 2":"ay",azerbaijani:"az","azərbaycan dili":"az",az:"az",aze:"az","aze + 2":"az",bambara:"bm",bamanankan:"bm",bm:"bm",bam:"bm",bashkir:"ba","башҡорт теле":"ba",ba:"ba",bak:"ba",basque:"eu","euskara, euskera":"eu",eu:"eu",eus:"eu",baq:"eu",euskara:"eu",euskera:"eu",belarusian:"be","беларуская мова":"be",be:"be",bel:"be",bengali:"bn","বাংলা":"bn",bn:"bn",ben:"bn","bihari languages":"bh","भोजपुरी":"bh",bh:"bh",bih:"bh",bislama:"bi",bi:"bi",bis:"bi",bosnian:"bs","bosanski jezik":"bs",bs:"bs",bos:"bs",breton:"br",brezhoneg:"br",br:"br",bre:"br",bulgarian:"bg","български език":"bg",bg:"bg",bul:"bg",burmese:"my","ဗမာစာ":"my",my:"my",mya:"my",bur:"my","catalan, valencian":"ca","català, valencià":"ca",ca:"ca",cat:"ca","català":"ca","valencià":"ca",chamorro:"ch",chamoru:"ch",ch:"ch",cha:"ch",chechen:"ce","нохчийн мотт":"ce",ce:"ce",che:"ce","chichewa, chewa, nyanja":"ny","chicheŵa, chinyanja":"ny",ny:"ny",nya:"ny","chicheŵa":"ny",chinyanja:"ny",chinese:"zh","中文 (zhōngwén), 汉语, 漢語":"zh",zh:"zh",zho:"zh",chi:"zh","zho + 13":"zh","中文 (zhōngwén)":"zh","汉语":"zh","漢語":"zh",chuvash:"cv","чӑваш чӗлхи":"cv",cv:"cv",chv:"cv",cornish:"kw",kernewek:"kw",kw:"kw",cor:"kw",corsican:"co","corsu, lingua corsa":"co",co:"co",cos:"co",corsu:"co","lingua corsa":"co",cree:"cr","ᓀᐦᐃᔭᐍᐏᐣ":"cr",cr:"cr",cre:"cr","cre + 6":"cr",croatian:"hr","hrvatski jezik":"hr",hr:"hr",hrv:"hr",czech:"cs","čeština, český jazyk":"cs",cs:"cs",ces:"cs",cze:"cs","čeština":"cs","český jazyk":"cs",danish:"da",dansk:"da",da:"da",dan:"da","divehi, dhivehi, maldivian":"dv","ދިވެހި":"dv",dv:"dv",div:"dv","dutch, flemish":"nl","nederlands, vlaams":"nl",nl:"nl",nld:"nl",dut:"nl",nederlands:"nl",vlaams:"nl",dzongkha:"dz","རྫོང་ཁ":"dz",dz:"dz",dzo:"dz",english:"en",en:"en",eng:"en",esperanto:"eo",eo:"eo",epo:"eo",estonian:"et","eesti, eesti keel":"et",et:"et",est:"et","est + 2":"et",eesti:"et","eesti keel":"et",ewe:"ee","eʋegbe":"ee",ee:"ee",faroese:"fo","føroyskt":"fo",fo:"fo",fao:"fo",fijian:"fj","vosa vakaviti":"fj",fj:"fj",fij:"fj",finnish:"fi","suomi, suomen kieli":"fi",fi:"fi",fin:"fi",suomi:"fi","suomen kieli":"fi",french:"fr","français, langue française":"fr",fr:"fr",fra:"fr",fre:"fr","français":"fr","langue française":"fr",fulah:"ff","fulfulde, pulaar, pular":"ff",ff:"ff",ful:"ff","ful + 9":"ff",fulfulde:"ff",pulaar:"ff",pular:"ff",galician:"gl",galego:"gl",gl:"gl",glg:"gl",georgian:"ka","ქართული":"ka",ka:"ka",kat:"ka",geo:"ka",german:"de",deutsch:"de",de:"de",deu:"de",ger:"de","greek (modern)":"el","ελληνικά":"el",el:"el",ell:"el",gre:"el","guaraní":"gn","avañe'ẽ":"gn",gn:"gn",grn:"gn","grn + 5":"gn",gujarati:"gu","ગુજરાતી":"gu",gu:"gu",guj:"gu","haitian, haitian creole":"ht","kreyòl ayisyen":"ht",ht:"ht",hat:"ht",hausa:"ha","(hausa) هَوُسَ":"ha",ha:"ha",hau:"ha","hebrew (modern)":"he","עברית":"he",he:"he",heb:"he",herero:"hz",otjiherero:"hz",hz:"hz",her:"hz",hindi:"hi","हिन्दी, हिंदी":"hi",hi:"hi",hin:"hi","हिन्दी":"hi","हिंदी":"hi","hiri motu":"ho",ho:"ho",hmo:"ho",hungarian:"hu",magyar:"hu",hu:"hu",hun:"hu",interlingua:"ia",ia:"ia",ina:"ia",indonesian:"id","bahasa indonesia":"id",id:"id",ind:"id",interlingue:"ie","originally called occidental; then interlingue after wwii":"ie",ie:"ie",ile:"ie",irish:"ga",gaeilge:"ga",ga:"ga",gle:"ga",igbo:"ig","asụsụ igbo":"ig",ig:"ig",ibo:"ig",inupiaq:"ik","iñupiaq, iñupiatun":"ik",ik:"ik",ipk:"ik","ipk + 2":"ik","iñupiaq":"ik","iñupiatun":"ik",ido:"io",io:"io",icelandic:"is","íslenska":"is",is:"is",isl:"is",ice:"is",italian:"it",italiano:"it",it:"it",ita:"it",inuktitut:"iu","ᐃᓄᒃᑎᑐᑦ":"iu",iu:"iu",iku:"iu","iku + 2":"iu",japanese:"ja","日本語 (にほんご)":"ja",ja:"ja",jpn:"ja",javanese:"jv","ꦧꦱꦗꦮ, basa jawa":"jv",jv:"jv",jav:"jv","ꦧꦱꦗꦮ":"jv","basa jawa":"jv","kalaallisut, greenlandic":"kl","kalaallisut, kalaallit oqaasii":"kl",kl:"kl",kal:"kl",kalaallisut:"kl","kalaallit oqaasii":"kl",kannada:"kn","ಕನ್ನಡ":"kn",kn:"kn",kan:"kn",kanuri:"kr",kr:"kr",kau:"kr","kau + 3":"kr",kashmiri:"ks","कश्मीरी, كشميري‎":"ks",ks:"ks",kas:"ks","कश्मीरी":"ks","كشميري‎":"ks",kazakh:"kk","қазақ тілі":"kk",kk:"kk",kaz:"kk","central khmer":"km","ខ្មែរ, ខេមរភាសា, ភាសាខ្មែរ":"km",km:"km",khm:"km","ខ្មែរ":"km","ខេមរភាសា":"km","ភាសាខ្មែរ":"km","kikuyu, gikuyu":"ki","gĩkũyũ":"ki",ki:"ki",kik:"ki",kinyarwanda:"rw",ikinyarwanda:"rw",rw:"rw",kin:"rw","kirghiz, kyrgyz":"ky","кыргызча, кыргыз тили":"ky",ky:"ky",kir:"ky","кыргызча":"ky","кыргыз тили":"ky",komi:"kv","коми кыв":"kv",kv:"kv",kom:"kv","kom + 2":"kv",kongo:"kg",kikongo:"kg",kg:"kg",kon:"kg","kon + 3":"kg",korean:"ko","한국어":"ko",ko:"ko",kor:"ko",kurdish:"ku","kurdî, كوردی‎":"ku",ku:"ku",kur:"ku","kur + 3":"ku","kurdî":"ku","كوردی‎":"ku","kuanyama, kwanyama":"kj",kuanyama:"kj",kj:"kj",kua:"kj",latin:"la","latine, lingua latina":"la",la:"la",lat:"la",latine:"la","lingua latina":"la","luxembourgish, letzeburgesch":"lb","lëtzebuergesch":"lb",lb:"lb",ltz:"lb",ganda:"lg",luganda:"lg",lg:"lg",lug:"lg","limburgan, limburger, limburgish":"li",limburgs:"li",li:"li",lim:"li",lingala:"ln","lingála":"ln",ln:"ln",lin:"ln",lao:"lo","ພາສາລາວ":"lo",lo:"lo",lithuanian:"lt","lietuvių kalba":"lt",lt:"lt",lit:"lt","luba-katanga":"lu",kiluba:"lu",lu:"lu",lub:"lu",latvian:"lv","latviešu valoda":"lv",lv:"lv",lav:"lv","lav + 2":"lv",manx:"gv","gaelg, gailck":"gv",gv:"gv",glv:"gv",gaelg:"gv",gailck:"gv",macedonian:"mk","македонски јазик":"mk",mk:"mk",mkd:"mk",mac:"mk",malagasy:"mg","fiteny malagasy":"mg",mg:"mg",mlg:"mg","mlg + 10":"mg",malay:"ms","bahasa melayu, بهاس ملايو‎":"ms",ms:"ms",msa:"ms",may:"ms","msa + 13":"ms","bahasa melayu":"ms","بهاس ملايو‎":"ms",malayalam:"ml","മലയാളം":"ml",ml:"ml",mal:"ml",maltese:"mt",malti:"mt",mt:"mt",mlt:"mt",maori:"mi","te reo māori":"mi",mi:"mi",mri:"mi",mao:"mi",marathi:"mr","मराठी":"mr",mr:"mr",mar:"mr",marshallese:"mh","kajin m̧ajeļ":"mh",mh:"mh",mah:"mh",mongolian:"mn","монгол хэл":"mn",mn:"mn",mon:"mn","mon + 2":"mn",nauru:"na","dorerin naoero":"na",na:"na",nau:"na","navajo, navaho":"nv","diné bizaad":"nv",nv:"nv",nav:"nv","north ndebele":"nd",isindebele:"nr",nd:"nd",nde:"nd",nepali:"ne","नेपाली":"ne",ne:"ne",nep:"ne",ndonga:"ng",owambo:"ng",ng:"ng",ndo:"ng","norwegian bokmål":"nb","norsk bokmål":"nb",nb:"nb",nob:"nb","norwegian nynorsk":"nn","norsk nynorsk":"nn",nn:"nn",nno:"nn",norwegian:"no",norsk:"no",no:"no",nor:"no","nor + 2":"no","sichuan yi, nuosu":"ii","ꆈꌠ꒿ nuosuhxop":"ii",ii:"ii",iii:"ii","south ndebele":"nr",nr:"nr",nbl:"nr",occitan:"oc","occitan, lenga d'òc":"oc",oc:"oc",oci:"oc","lenga d'òc":"oc",ojibwa:"oj","ᐊᓂᔑᓈᐯᒧᐎᓐ":"oj",oj:"oj",oji:"oj","oji + 7":"oj","church slavic, church slavonic, old church slavonic, old slavonic, old bulgarian":"cu","ѩзыкъ словѣньскъ":"cu",cu:"cu",chu:"cu",oromo:"om","afaan oromoo":"om",om:"om",orm:"om","orm + 4":"om",oriya:"or","ଓଡ଼ିଆ":"or",or:"or",ori:"or","ossetian, ossetic":"os","ирон æвзаг":"os",os:"os",oss:"os","panjabi, punjabi":"pa","ਪੰਜਾਬੀ":"pa",pa:"pa",pan:"pa",pali:"pi","पाऴि":"pi",pi:"pi",pli:"pi",persian:"fa","فارسی":"fa",fa:"fa",fas:"fa",per:"fa","fas + 2":"fa",polish:"pl","język polski, polszczyzna":"pl",pl:"pl",pol:"pl","język polski":"pl",polszczyzna:"pl","pashto, pushto":"ps","پښتو":"ps",ps:"ps",pus:"ps","pus + 3":"ps",portuguese:"pt","português":"pt",pt:"pt",por:"pt",quechua:"qu","runa simi, kichwa":"qu",qu:"qu",que:"qu","que + 44":"qu","runa simi":"qu",kichwa:"qu",romansh:"rm","rumantsch grischun":"rm",rm:"rm",roh:"rm",rundi:"rn",ikirundi:"rn",rn:"rn",run:"rn","romanian, moldavian, moldovan":"ro","română":"ro",ro:"ro",ron:"ro",rum:"ro",russian:"ru","русский":"ru",ru:"ru",rus:"ru",sanskrit:"sa","संस्कृतम्":"sa",sa:"sa",san:"sa",sardinian:"sc",sardu:"sc",sc:"sc",srd:"sc","srd + 4":"sc",sindhi:"sd","सिन्धी, سنڌي، سندھی‎":"sd",sd:"sd",snd:"sd","सिन्धी":"sd","سنڌي، سندھی‎":"sd","northern sami":"se","davvisámegiella":"se",se:"se",sme:"se",samoan:"sm","gagana fa'a samoa":"sm",sm:"sm",smo:"sm",sango:"sg","yângâ tî sängö":"sg",sg:"sg",sag:"sg",serbian:"sr","српски језик":"sr",sr:"sr",srp:"sr","gaelic, scottish gaelic":"gd","gàidhlig":"gd",gd:"gd",gla:"gd",shona:"sn",chishona:"sn",sn:"sn",sna:"sn","sinhala, sinhalese":"si","සිංහල":"si",si:"si",sin:"si",slovak:"sk","slovenčina, slovenský jazyk":"sk",sk:"sk",slk:"sk",slo:"sk","slovenčina":"sk","slovenský jazyk":"sk",slovenian:"sl","slovenski jezik, slovenščina":"sl",sl:"sl",slv:"sl","slovenski jezik":"sl","slovenščina":"sl",somali:"so","soomaaliga, af soomaali":"so",so:"so",som:"so",soomaaliga:"so","af soomaali":"so","southern sotho":"st",sesotho:"st",st:"st",sot:"st","spanish, castilian":"es","español":"es",es:"es",spa:"es",sundanese:"su","basa sunda":"su",su:"su",sun:"su",swahili:"sw",kiswahili:"sw",sw:"sw",swa:"sw","swa + 2":"sw",swati:"ss",siswati:"ss",ss:"ss",ssw:"ss",swedish:"sv",svenska:"sv",sv:"sv",swe:"sv",tamil:"ta","தமிழ்":"ta",ta:"ta",tam:"ta",telugu:"te","తెలుగు":"te",te:"te",tel:"te",tajik:"tg","тоҷикӣ, toçikī, تاجیکی‎":"tg",tg:"tg",tgk:"tg","тоҷикӣ":"tg","toçikī":"tg","تاجیکی‎":"tg",thai:"th","ไทย":"th",th:"th",tha:"th",tigrinya:"ti","ትግርኛ":"ti",ti:"ti",tir:"ti",tibetan:"bo","བོད་ཡིག":"bo",bo:"bo",bod:"bo",tib:"bo",turkmen:"tk","türkmen, түркмен":"tk",tk:"tk",tuk:"tk","türkmen":"tk","түркмен":"tk",tagalog:"tl","wikang tagalog":"tl",tl:"tl",tgl:"tl",tswana:"tn",setswana:"tn",tn:"tn",tsn:"tn","tonga (tonga islands)":"to","faka tonga":"to",to:"to",ton:"to",turkish:"tr","türkçe":"tr",tr:"tr",tur:"tr",tsonga:"ts",xitsonga:"ts",ts:"ts",tso:"ts",tatar:"tt","татар теле, tatar tele":"tt",tt:"tt",tat:"tt","татар теле":"tt","tatar tele":"tt",twi:"tw",tw:"tw",tahitian:"ty","reo tahiti":"ty",ty:"ty",tah:"ty","uighur, uyghur":"ug","ئۇيغۇرچە‎, uyghurche":"ug",ug:"ug",uig:"ug","ئۇيغۇرچە‎":"ug",uyghurche:"ug",ukrainian:"uk","українська":"uk",uk:"uk",ukr:"uk",urdu:"ur","اردو":"ur",ur:"ur",urd:"ur",uzbek:"uz","oʻzbek, ўзбек, أۇزبېك‎":"uz",uz:"uz",uzb:"uz","uzb + 2":"uz","oʻzbek":"uz","ўзбек":"uz","أۇزبېك‎":"uz",venda:"ve","tshivenḓa":"ve",ve:"ve",ven:"ve",vietnamese:"vi","tiếng việt":"vi",vi:"vi",vie:"vi","volapük":"vo",vo:"vo",vol:"vo",walloon:"wa",walon:"wa",wa:"wa",wln:"wa",welsh:"cy",cymraeg:"cy",cy:"cy",cym:"cy",wel:"cy",wolof:"wo",wollof:"wo",wo:"wo",wol:"wo","western frisian":"fy",frysk:"fy",fy:"fy",fry:"fy",xhosa:"xh",isixhosa:"xh",xh:"xh",xho:"xh",yiddish:"yi","ייִדיש":"yi",yi:"yi",yid:"yi","yid + 2":"yi",yoruba:"yo","yorùbá":"yo",yo:"yo",yor:"yo","zhuang, chuang":"za","saɯ cueŋƅ, saw cuengh":"za",za:"za",zha:"za","zha + 16":"za","saɯ cueŋƅ":"za","saw cuengh":"za",zulu:"zu",isizulu:"zu",zu:"zu",zul:"zu"};function reduce(from){return reductions[from.toLowerCase()]}class circular_buffer{constructor(uCapacity){if(!Number.isInteger(uCapacity)){throw new RangeError(`Capacity must be an integer, received ${uCapacity}`)}if(uCapacity<0){throw new RangeError(`Capacity must be a non-negative integer, received ${uCapacity}`)}this._values=new Array(uCapacity);this._capacity=uCapacity;this._cursor=0;this._offset=0;this._length=0}get capacity(){return this._capacity}set capacity(newSize){this.resize(newSize)}get length(){return this._length}set length(newLength){if(newLength>this._capacity){throw new RangeError(`Requested new length [${newLength}] exceeds container capacity [${this._capacity}]`)}if(newLength<0){throw new RangeError(`Requested new length [${newLength}] cannot be negative`)}if(!Number.isInteger(newLength)){throw new RangeError(`Requested new length [${newLength}] must be an integer`)}if(this._length<=newLength){return}this._length=newLength}get available(){return this._capacity-this._length}get isEmpty(){return this._length===0}get isFull(){return this._length===this._capacity}get first(){if(this.isEmpty){throw new RangeError("Cannot return first element of an empty container")}return this.at(0)}get last(){if(this.isEmpty){throw new RangeError("Cannot return last element of an empty container")}return this.at(this.length-1)}static from(i,map_fn,t){const new_array=map_fn?Array.from(i,map_fn,t):Array.from(i);const target_length=new_array.length;const ncb=new circular_buffer(target_length);ncb._values=new_array;ncb._length=target_length;return ncb}push(v){if(this.isFull){throw new RangeError(`Cannot push, structure is full to capacity`)}this._values[(this._cursor+this._length++)%this._capacity]=v;return v}shove(v){let shoved;if(this._capacity===0){throw new RangeError(`Cannot shove, structure is zero-capacity`)}if(this.isFull){shoved=this.pop()}this.push(v);return shoved}fill(x){for(let i=0;i=this._capacity){this._cursor-=this._capacity}return cache}at(i){if(i<0){throw new RangeError(`circular_buffer does not support negative traversals; called at(${i})`)}if(!Number.isInteger(i)){throw new RangeError(`Accessors must be non-negative integers; called at(${i})`)}if(i>=this._capacity){throw new RangeError(`Requested cell ${i} exceeds container permanent capacity`)}if(i>=this._length){throw new RangeError(`Requested cell ${i} exceeds container current length`)}return this._values[(this._cursor+i)%this._capacity]}pos(i){return this.at(i-this.offset())}offset(){return this._offset}resize(newSize,preferEnd=false){this._values=this.toArray();this._cursor=0;const oldSize=this._length;this._length=Math.min(this._length,newSize);this._capacity=newSize;if(newSize>=oldSize){this._values.length=newSize}else{if(preferEnd){const tmp=this._values.slice(oldSize-newSize);this._values=tmp}else{this._values.length=newSize}}}toArray(){const startPoint=this._cursor%this._capacity;if(this._capacity>startPoint+this._length){return this._values.slice(startPoint,startPoint+this._length)}else{const base=this._values.slice(startPoint,this._capacity);base.push(...this._values.slice(0,this.length-(this._capacity-startPoint)));return base}}}const FslDirections=["up","right","down","left"];class JssmError extends Error{constructor(machine,message,JEEI){const{requested_state:requested_state}=JEEI===undefined?{requested_state:undefined}:JEEI;const follow_ups=[];if(machine){if(machine.state()!==undefined){follow_ups.push(`at "${machine.state()}"`)}}if(requested_state!==undefined){follow_ups.push(`requested "${requested_state}"`)}const complex_msg=`${(machine===null||machine===void 0?void 0:machine.instance_name())!==undefined?`[[${machine.instance_name()}]]: `:""}${message}${follow_ups.length?` (${follow_ups.join(", ")})`:""}`;super(complex_msg);this.name="JssmError";this.message=complex_msg;this.base_message=message;this.requested_state=requested_state}}function arrow_direction(arrow){switch(String(arrow)){case"->":case"→":case"=>":case"⇒":case"~>":case"↛":return"right";case"<-":case"←":case"<=":case"⇐":case"<~":case"↚":return"left";case"<->":case"↔":case"<-=>":case"←⇒":case"←=>":case"<-⇒":case"<-~>":case"←↛":case"←~>":case"<-↛":case"<=>":case"⇔":case"<=->":case"⇐→":case"⇐->":case"<=→":case"<=~>":case"⇐↛":case"⇐~>":case"<=↛":case"<~>":case"↮":case"<~->":case"↚→":case"↚->":case"<~→":case"<~=>":case"↚⇒":case"↚=>":case"<~⇒":return"both";default:throw new JssmError(undefined,`arrow_direction: unknown arrow type ${arrow}`)}}function arrow_left_kind(arrow){switch(String(arrow)){case"->":case"→":case"=>":case"⇒":case"~>":case"↛":return"none";case"<-":case"←":case"<->":case"↔":case"<-=>":case"←⇒":case"<-~>":case"←↛":return"legal";case"<=":case"⇐":case"<=>":case"⇔":case"<=->":case"⇐→":case"<=~>":case"⇐↛":return"main";case"<~":case"↚":case"<~>":case"↮":case"<~->":case"↚→":case"<~=>":case"↚⇒":return"forced";default:throw new JssmError(undefined,`arrow_direction: unknown arrow type ${arrow}`)}}function arrow_right_kind(arrow){switch(String(arrow)){case"<-":case"←":case"<=":case"⇐":case"<~":case"↚":return"none";case"->":case"→":case"<->":case"↔":case"<=->":case"⇐→":case"<~->":case"↚→":return"legal";case"=>":case"⇒":case"<=>":case"⇔":case"<-=>":case"←⇒":case"<~=>":case"↚⇒":return"main";case"~>":case"↛":case"<~>":case"↮":case"<-~>":case"←↛":case"<=~>":case"⇐↛":return"forced";default:throw new JssmError(undefined,`arrow_direction: unknown arrow type ${arrow}`)}}const base_state_style$5={shape:"rectangle",backgroundColor:"white",textColor:"black",borderColor:"black"};const base_active_state_style$5={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style$5={shape:"component"};const base_terminal_state_style$5={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style$5={textColor:"white",backgroundColor:"indigo"};const base_start_state_style$5={backgroundColor:"yellow"};const base_active_start_state_style$5={backgroundColor:"yellowgreen"};const base_active_hooked_state_style$5={backgroundColor:"yellowgreen"};const base_end_state_style$5={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style$5={textColor:"white",backgroundColor:"darkgreen"};const base_theme={name:"base",state:base_state_style$5,start:base_start_state_style$5,end:base_end_state_style$5,terminal:base_terminal_state_style$5,hooked:base_hooked_state_style$5,active:base_active_state_style$5,active_start:base_active_start_state_style$5,active_end:base_active_end_state_style$5,active_terminal:base_active_terminal_state_style$5,active_hooked:base_active_hooked_state_style$5,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$4={shape:"rectangle",backgroundColor:"white",textColor:"black",borderColor:"black"};const base_active_state_style$4={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style$4={shape:"component"};const base_terminal_state_style$4={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style$4={textColor:"white",backgroundColor:"indigo"};const base_start_state_style$4={backgroundColor:"yellow"};const base_active_start_state_style$4={backgroundColor:"yellowgreen"};const base_active_hooked_state_style$4={backgroundColor:"yellowgreen"};const base_end_state_style$4={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style$4={textColor:"white",backgroundColor:"darkgreen"};const default_theme={name:"default",state:base_state_style$4,start:base_start_state_style$4,end:base_end_state_style$4,terminal:base_terminal_state_style$4,hooked:base_hooked_state_style$4,active:base_active_state_style$4,active_start:base_active_start_state_style$4,active_end:base_active_end_state_style$4,active_terminal:base_active_terminal_state_style$4,active_hooked:base_active_hooked_state_style$4,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$3={shape:"rectangle",backgroundColor:"khaki",textColor:"black",borderColor:"black"};const base_active_state_style$3={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style$3={shape:"component"};const base_terminal_state_style$3={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style$3={textColor:"white",backgroundColor:"indigo"};const base_start_state_style$3={backgroundColor:"yellow"};const base_active_start_state_style$3={backgroundColor:"yellowgreen"};const base_active_hooked_state_style$3={backgroundColor:"yellowgreen"};const base_end_state_style$3={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style$3={textColor:"white",backgroundColor:"darkgreen"};const modern_theme={name:"modern",state:base_state_style$3,start:base_start_state_style$3,end:base_end_state_style$3,terminal:base_terminal_state_style$3,hooked:base_hooked_state_style$3,active:base_active_state_style$3,active_start:base_active_start_state_style$3,active_end:base_active_end_state_style$3,active_terminal:base_active_terminal_state_style$3,active_hooked:base_active_hooked_state_style$3,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$2={backgroundColor:"cadetblue1"};const base_active_state_style$2={textColor:"white",backgroundColor:"deepskyblue"};const base_hooked_state_style$2={shape:"component",backgroundColor:"mediumaquamarine"};const base_terminal_state_style$2={textColor:"white",backgroundColor:"darkviolet"};const base_active_terminal_state_style$2={textColor:"white",backgroundColor:"deeppink"};const base_start_state_style$2={backgroundColor:"darkseagreen1"};const base_active_start_state_style$2={backgroundColor:"aquamarine"};const base_active_hooked_state_style$2={backgroundColor:"aquamarine"};const base_end_state_style$2={textColor:"white",backgroundColor:"chartreuse1"};const base_active_end_state_style$2={textColor:"white",backgroundColor:"darkgreen"};const ocean_theme={name:"ocean",state:base_state_style$2,start:base_start_state_style$2,end:base_end_state_style$2,terminal:base_terminal_state_style$2,hooked:base_hooked_state_style$2,active:base_active_state_style$2,active_start:base_active_start_state_style$2,active_end:base_active_end_state_style$2,active_terminal:base_active_terminal_state_style$2,active_hooked:base_active_hooked_state_style$2,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_hooked_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_terminal_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_terminal_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_start_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_start_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_hooked_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_end_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_end_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const plain_theme={name:"plain",state:base_state_style$1,start:base_start_state_style$1,end:base_end_state_style$1,terminal:base_terminal_state_style$1,hooked:base_hooked_state_style$1,active:base_active_state_style$1,active_start:base_active_start_state_style$1,active_end:base_active_end_state_style$1,active_terminal:base_active_terminal_state_style$1,active_hooked:base_active_hooked_state_style$1,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style={shape:"rectangle",backgroundColor:"khaki",textColor:"black",borderColor:"black"};const base_active_state_style={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style={shape:"component"};const base_terminal_state_style={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style={textColor:"white",backgroundColor:"indigo"};const base_start_state_style={backgroundColor:"yellow"};const base_active_start_state_style={backgroundColor:"yellowgreen"};const base_active_hooked_state_style={backgroundColor:"yellowgreen"};const base_end_state_style={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style={textColor:"white",backgroundColor:"darkgreen"};const bold_theme={name:"bold",state:base_state_style,start:base_start_state_style,end:base_end_state_style,terminal:base_terminal_state_style,hooked:base_hooked_state_style,active:base_active_state_style,active_start:base_active_start_state_style,active_end:base_active_end_state_style,active_terminal:base_active_terminal_state_style,active_hooked:base_active_hooked_state_style,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const array_box_if_string=n=>typeof n==="string"?[n]:n;const weighted_rand_select=(options,probability_property="probability")=>{if(!Array.isArray(options)){throw new TypeError("options must be a non-empty array of objects")}if(!(typeof options[0]==="object")){throw new TypeError("options must be a non-empty array of objects")}const frand=cap=>Math.random()*cap,or_one=item=>item===undefined?1:item,prob_sum=options.reduce(((acc,val)=>acc+or_one(val[probability_property])),0),rnd=frand(prob_sum);let cursor=0,cursor_sum=0;while((cursor_sum+=or_one(options[cursor++][probability_property]))<=rnd){}return options[cursor-1]};function seq(n){if(!Number.isInteger(n)){throw new TypeError("seq/1 takes a non-negative integer n as an argument")}if(n<0){throw new TypeError("seq/1 takes a non-negative integer n as an argument")}return new Array(n).fill(true).map(((_,i)=>i))}const histograph=ar=>ar.sort().reduce(((m,v)=>(m.set(v,m.has(v)?m.get(v)+1:1),m)),new Map);const weighted_sample_select=(n,options,probability_property)=>seq(n).map((_i=>weighted_rand_select(options,probability_property)));const weighted_histo_key=(n,opts,prob_prop,extract)=>histograph(weighted_sample_select(n,opts,prob_prop).map((s=>s[extract])));function name_bind_prop_and_state(prop,state){if(typeof prop!=="string"){throw new JssmError(undefined,`Name of property must be a string; got ${prop}`)}if(typeof state!=="string"){throw new JssmError(undefined,`Name of state must be a string; got ${prop}`)}return JSON.stringify([prop,state])}const hook_name=(from,to)=>JSON.stringify([from,to]);const named_hook_name=(from,to,action)=>JSON.stringify([from,to,action]);const unique=arr=>arr.filter(((v,i,a)=>a.indexOf(v)===i));function find_repeated(arr){const uniqued=unique(arr);if(uniqued.length!==arr.length){const residue_keys=new Map;arr.forEach((k=>residue_keys.set(k,residue_keys.has(k)?residue_keys.get(k)+1:1)));uniqued.forEach((k=>residue_keys.set(k,residue_keys.get(k)-1)));return[...residue_keys.entries()].filter((e=>e[1]>0&&!Number.isNaN(e[0]))).map((e=>[e[0],e[1]+1]))}else{return[]}}const NegInfinity=Number.NEGATIVE_INFINITY,PosInfinity=Number.POSITIVE_INFINITY,Epsilon=Number.EPSILON,Pi=Math.PI,E=Math.E,Root2=Math.SQRT2,RootHalf=Math.SQRT1_2,Ln2=Math.LN2,Ln10=Math.LN10,Log2E=Math.LOG2E,Log10E=Math.LOG10E,MaxSafeInt=Number.MAX_SAFE_INTEGER,MinSafeInt=Number.MIN_SAFE_INTEGER,MaxPosNum=Number.MAX_VALUE,MinPosNum=Number.MIN_VALUE,Phi=1.618033988749895,EulerC=.5772156649015329;const gviz_shapes$1=["box3d","polygon","ellipse","oval","circle","point","egg","triangle","plaintext","plain","diamond","trapezium","parallelogram","house","pentagon","hexagon","septagon","octagon","doublecircle","doubleoctagon","tripleoctagon","invtriangle","invtrapezium","invhouse","Mdiamond","Msquare","Mcircle","rectangle","rect","square","star","none","underline","cylinder","note","tab","folder","box","component","promoter","cds","terminator","utr","primersite","restrictionsite","fivepoverhang","threepoverhang","noverhang","assembly","signature","insulator","ribosite","rnastab","proteasesite","proteinstab","rpromoter","rarrow","larrow","lpromoter","record"];const shapes$1=gviz_shapes$1;const named_colors$1=["AliceBlue","AntiqueWhite","Aqua","Aquamarine","Azure","Beige","Bisque","Black","BlanchedAlmond","Blue","BlueViolet","Brown","BurlyWood","CadetBlue","Chartreuse","Chocolate","Coral","CornflowerBlue","Cornsilk","Crimson","Cyan","DarkBlue","DarkCyan","DarkGoldenRod","DarkGray","DarkGrey","DarkGreen","DarkKhaki","DarkMagenta","DarkOliveGreen","Darkorange","DarkOrchid","DarkRed","DarkSalmon","DarkSeaGreen","DarkSlateBlue","DarkSlateGray","DarkSlateGrey","DarkTurquoise","DarkViolet","DeepPink","DeepSkyBlue","DimGray","DimGrey","DodgerBlue","FireBrick","FloralWhite","ForestGreen","Fuchsia","Gainsboro","GhostWhite","Gold","GoldenRod","Gray","Grey","Green","GreenYellow","HoneyDew","HotPink","IndianRed","Indigo","Ivory","Khaki","Lavender","LavenderBlush","LawnGreen","LemonChiffon","LightBlue","LightCoral","LightCyan","LightGoldenRodYellow","LightGray","LightGrey","LightGreen","LightPink","LightSalmon","LightSeaGreen","LightSkyBlue","LightSlateGray","LightSlateGrey","LightSteelBlue","LightYellow","Lime","LimeGreen","Linen","Magenta","Maroon","MediumAquaMarine","MediumBlue","MediumOrchid","MediumPurple","MediumSeaGreen","MediumSlateBlue","MediumSpringGreen","MediumTurquoise","MediumVioletRed","MidnightBlue","MintCream","MistyRose","Moccasin","NavajoWhite","Navy","OldLace","Olive","OliveDrab","Orange","OrangeRed","Orchid","PaleGoldenRod","PaleGreen","PaleTurquoise","PaleVioletRed","PapayaWhip","PeachPuff","Peru","Pink","Plum","PowderBlue","Purple","Red","RosyBrown","RoyalBlue","SaddleBrown","Salmon","SandyBrown","SeaGreen","SeaShell","Sienna","Silver","SkyBlue","SlateBlue","SlateGray","SlateGrey","Snow","SpringGreen","SteelBlue","Tan","Teal","Thistle","Tomato","Turquoise","Violet","Wheat","White","WhiteSmoke","Yellow","YellowGreen"];var constants=Object.freeze({__proto__:null,NegInfinity:NegInfinity,PosInfinity:PosInfinity,Epsilon:Epsilon,Pi:Pi,E:E,Root2:Root2,RootHalf:RootHalf,Ln2:Ln2,Ln10:Ln10,Log2E:Log2E,Log10E:Log10E,MaxSafeInt:MaxSafeInt,MinSafeInt:MinSafeInt,MaxPosNum:MaxPosNum,MinPosNum:MinPosNum,Phi:Phi,EulerC:EulerC,gviz_shapes:gviz_shapes$1,shapes:shapes$1,named_colors:named_colors$1});function peg$subclass(child,parent){function ctor(){this.constructor=child}ctor.prototype=parent.prototype;child.prototype=new ctor}function peg$SyntaxError(message,expected,found,location){this.message=message;this.expected=expected;this.found=found;this.location=location;this.name="SyntaxError";if(typeof Error.captureStackTrace==="function"){Error.captureStackTrace(this,peg$SyntaxError)}}peg$subclass(peg$SyntaxError,Error);peg$SyntaxError.buildMessage=function(expected,found){var DESCRIBE_EXPECTATION_FNS={literal:function(expectation){return'"'+literalEscape(expectation.text)+'"'},class:function(expectation){var escapedParts="",i;for(i=0;i0){for(i=1,j=1;it[0]));themes.push(th);return themes},peg$c16=function(th){return[th]},peg$c17="box3d",peg$c18=peg$literalExpectation("box3d",false),peg$c19="polygon",peg$c20=peg$literalExpectation("polygon",false),peg$c21="ellipse",peg$c22=peg$literalExpectation("ellipse",false),peg$c23="oval",peg$c24=peg$literalExpectation("oval",false),peg$c25="circle",peg$c26=peg$literalExpectation("circle",false),peg$c27="point",peg$c28=peg$literalExpectation("point",false),peg$c29="egg",peg$c30=peg$literalExpectation("egg",false),peg$c31="triangle",peg$c32=peg$literalExpectation("triangle",false),peg$c33="plaintext",peg$c34=peg$literalExpectation("plaintext",false),peg$c35="plain",peg$c36=peg$literalExpectation("plain",false),peg$c37="diamond",peg$c38=peg$literalExpectation("diamond",false),peg$c39="trapezium",peg$c40=peg$literalExpectation("trapezium",false),peg$c41="parallelogram",peg$c42=peg$literalExpectation("parallelogram",false),peg$c43="house",peg$c44=peg$literalExpectation("house",false),peg$c45="pentagon",peg$c46=peg$literalExpectation("pentagon",false),peg$c47="hexagon",peg$c48=peg$literalExpectation("hexagon",false),peg$c49="septagon",peg$c50=peg$literalExpectation("septagon",false),peg$c51="octagon",peg$c52=peg$literalExpectation("octagon",false),peg$c53="doublecircle",peg$c54=peg$literalExpectation("doublecircle",false),peg$c55="doubleoctagon",peg$c56=peg$literalExpectation("doubleoctagon",false),peg$c57="tripleoctagon",peg$c58=peg$literalExpectation("tripleoctagon",false),peg$c59="invtriangle",peg$c60=peg$literalExpectation("invtriangle",false),peg$c61="invtrapezium",peg$c62=peg$literalExpectation("invtrapezium",false),peg$c63="invhouse",peg$c64=peg$literalExpectation("invhouse",false),peg$c65="Mdiamond",peg$c66=peg$literalExpectation("Mdiamond",false),peg$c67="Msquare",peg$c68=peg$literalExpectation("Msquare",false),peg$c69="Mcircle",peg$c70=peg$literalExpectation("Mcircle",false),peg$c71="rectangle",peg$c72=peg$literalExpectation("rectangle",false),peg$c73="rect",peg$c74=peg$literalExpectation("rect",false),peg$c75="square",peg$c76=peg$literalExpectation("square",false),peg$c77="star",peg$c78=peg$literalExpectation("star",false),peg$c79="underline",peg$c80=peg$literalExpectation("underline",false),peg$c81="cylinder",peg$c82=peg$literalExpectation("cylinder",false),peg$c83="note",peg$c84=peg$literalExpectation("note",false),peg$c85="tab",peg$c86=peg$literalExpectation("tab",false),peg$c87="folder",peg$c88=peg$literalExpectation("folder",false),peg$c89="box",peg$c90=peg$literalExpectation("box",false),peg$c91="component",peg$c92=peg$literalExpectation("component",false),peg$c93="promoter",peg$c94=peg$literalExpectation("promoter",false),peg$c95="cds",peg$c96=peg$literalExpectation("cds",false),peg$c97="terminator",peg$c98=peg$literalExpectation("terminator",false),peg$c99="utr",peg$c100=peg$literalExpectation("utr",false),peg$c101="primersite",peg$c102=peg$literalExpectation("primersite",false),peg$c103="restrictionsite",peg$c104=peg$literalExpectation("restrictionsite",false),peg$c105="fivepoverhang",peg$c106=peg$literalExpectation("fivepoverhang",false),peg$c107="threepoverhang",peg$c108=peg$literalExpectation("threepoverhang",false),peg$c109="noverhang",peg$c110=peg$literalExpectation("noverhang",false),peg$c111="assembly",peg$c112=peg$literalExpectation("assembly",false),peg$c113="signature",peg$c114=peg$literalExpectation("signature",false),peg$c115="insulator",peg$c116=peg$literalExpectation("insulator",false),peg$c117="ribosite",peg$c118=peg$literalExpectation("ribosite",false),peg$c119="rnastab",peg$c120=peg$literalExpectation("rnastab",false),peg$c121="proteasesite",peg$c122=peg$literalExpectation("proteasesite",false),peg$c123="proteinstab",peg$c124=peg$literalExpectation("proteinstab",false),peg$c125="rpromoter",peg$c126=peg$literalExpectation("rpromoter",false),peg$c127="rarrow",peg$c128=peg$literalExpectation("rarrow",false),peg$c129="larrow",peg$c130=peg$literalExpectation("larrow",false),peg$c131="lpromoter",peg$c132=peg$literalExpectation("lpromoter",false),peg$c133="record",peg$c134=peg$literalExpectation("record",false),peg$c135=peg$otherExpectation("forward light arrow ->"),peg$c136="->",peg$c137=peg$literalExpectation("->",false),peg$c138="→",peg$c139=peg$literalExpectation("→",false),peg$c140=function(){return"->"},peg$c141=peg$otherExpectation("two way light arrow <->"),peg$c142="<->",peg$c143=peg$literalExpectation("<->",false),peg$c144="↔",peg$c145=peg$literalExpectation("↔",false),peg$c146=function(){return"<->"},peg$c147=peg$otherExpectation("back light arrow <-"),peg$c148="<-",peg$c149=peg$literalExpectation("<-",false),peg$c150="←",peg$c151=peg$literalExpectation("←",false),peg$c152=function(){return"<-"},peg$c153=peg$otherExpectation("forward fat arrow =>"),peg$c154="=>",peg$c155=peg$literalExpectation("=>",false),peg$c156="⇒",peg$c157=peg$literalExpectation("⇒",false),peg$c158=function(){return"=>"},peg$c159=peg$otherExpectation("two way fat arrow <=>"),peg$c160="<=>",peg$c161=peg$literalExpectation("<=>",false),peg$c162="⇔",peg$c163=peg$literalExpectation("⇔",false),peg$c164=function(){return"<=>"},peg$c165=peg$otherExpectation("back fat arrow <="),peg$c166="<=",peg$c167=peg$literalExpectation("<=",false),peg$c168="⇐",peg$c169=peg$literalExpectation("⇐",false),peg$c170=function(){return"<="},peg$c171=peg$otherExpectation("forward tilde arrow ~>"),peg$c172="~>",peg$c173=peg$literalExpectation("~>",false),peg$c174="↛",peg$c175=peg$literalExpectation("↛",false),peg$c176=function(){return"~>"},peg$c177=peg$otherExpectation("two way tilde arrow <~>"),peg$c178="<~>",peg$c179=peg$literalExpectation("<~>",false),peg$c180="↮",peg$c181=peg$literalExpectation("↮",false),peg$c182=function(){return"<~>"},peg$c183=peg$otherExpectation("back tilde arrow <~"),peg$c184="<~",peg$c185=peg$literalExpectation("<~",false),peg$c186="↚",peg$c187=peg$literalExpectation("↚",false),peg$c188=function(){return"<~"},peg$c189=peg$otherExpectation("light fat arrow <-=>"),peg$c190="<-=>",peg$c191=peg$literalExpectation("<-=>",false),peg$c192="←⇒",peg$c193=peg$literalExpectation("←⇒",false),peg$c194=function(){return"<-=>"},peg$c195=peg$otherExpectation("light tilde arrow <-~>"),peg$c196="<-~>",peg$c197=peg$literalExpectation("<-~>",false),peg$c198="←↛",peg$c199=peg$literalExpectation("←↛",false),peg$c200=function(){return"<-~>"},peg$c201=peg$otherExpectation("fat light arrow <=->"),peg$c202="<=->",peg$c203=peg$literalExpectation("<=->",false),peg$c204="⇐→",peg$c205=peg$literalExpectation("⇐→",false),peg$c206=function(){return"<=->"},peg$c207=peg$otherExpectation("fat tilde arrow <=~>"),peg$c208="<=~>",peg$c209=peg$literalExpectation("<=~>",false),peg$c210="⇐↛",peg$c211=peg$literalExpectation("⇐↛",false),peg$c212=function(){return"<=~>"},peg$c213=peg$otherExpectation("tilde light arrow <~->"),peg$c214="<~->",peg$c215=peg$literalExpectation("<~->",false),peg$c216="↚→",peg$c217=peg$literalExpectation("↚→",false),peg$c218=function(){return"<~->"},peg$c219=peg$otherExpectation("tilde fat arrow <~=>"),peg$c220="<~=>",peg$c221=peg$literalExpectation("<~=>",false),peg$c222="↚⇒",peg$c223=peg$literalExpectation("↚⇒",false),peg$c224=function(){return"<~=>"},peg$c225=peg$otherExpectation("light arrow"),peg$c226=peg$otherExpectation("fat arrow"),peg$c227=peg$otherExpectation("tilde arrow"),peg$c228=peg$otherExpectation("mixed arrow"),peg$c229=peg$otherExpectation("arrow"),peg$c230="true",peg$c231=peg$literalExpectation("true",false),peg$c232=function(){return true},peg$c233="false",peg$c234=peg$literalExpectation("false",false),peg$c235=function(){return false},peg$c236="regular",peg$c237=peg$literalExpectation("regular",false),peg$c238="rounded",peg$c239=peg$literalExpectation("rounded",false),peg$c240="lined",peg$c241=peg$literalExpectation("lined",false),peg$c242="solid",peg$c243=peg$literalExpectation("solid",false),peg$c244="dotted",peg$c245=peg$literalExpectation("dotted",false),peg$c246="dashed",peg$c247=peg$literalExpectation("dashed",false),peg$c248='"',peg$c249=peg$literalExpectation('"',false),peg$c250="\\",peg$c251=peg$literalExpectation("\\",false),peg$c252="/",peg$c253=peg$literalExpectation("/",false),peg$c254="b",peg$c255=peg$literalExpectation("b",false),peg$c256=function(){return"\b"},peg$c257="f",peg$c258=peg$literalExpectation("f",false),peg$c259=function(){return"\f"},peg$c260="n",peg$c261=peg$literalExpectation("n",false),peg$c262=function(){return"\n"},peg$c263="r",peg$c264=peg$literalExpectation("r",false),peg$c265=function(){return"\r"},peg$c266="t",peg$c267=peg$literalExpectation("t",false),peg$c268=function(){return"\t"},peg$c269="v",peg$c270=peg$literalExpectation("v",false),peg$c271=function(){return"\v"},peg$c272="u",peg$c273=peg$literalExpectation("u",false),peg$c274=function(digits){return String.fromCharCode(parseInt(digits,16))},peg$c275=function(Sequence){return Sequence},peg$c276="null",peg$c277=peg$literalExpectation("null",false),peg$c278=function(){return null},peg$c279="undefined",peg$c280=peg$literalExpectation("undefined",false),peg$c281=function(){return undefined},peg$c282=/^[\0-!#-[\]-\uFFFF]/,peg$c283=peg$classExpectation([["\0","!"],["#","["],["]","￿"]],false,false),peg$c284="'",peg$c285=peg$literalExpectation("'",false),peg$c286=/^[ -&(-[\]-\uFFFF]/,peg$c287=peg$classExpectation([[" ","&"],["(","["],["]","￿"]],false,false),peg$c288=peg$otherExpectation("action label"),peg$c289=function(chars){return chars.join("")},peg$c290=/^[\n\r\u2028\u2029]/,peg$c291=peg$classExpectation(["\n","\r","\u2028","\u2029"],false,false),peg$c294="*/",peg$c295=peg$literalExpectation("*/",false),peg$c296=peg$anyExpectation(),peg$c297=peg$otherExpectation("block comment"),peg$c298="/*",peg$c299=peg$literalExpectation("/*",false),peg$c300=peg$otherExpectation("line comment"),peg$c301="//",peg$c302=peg$literalExpectation("//",false),peg$c303=peg$otherExpectation("whitespace"),peg$c304=/^[ \t\r\n\x0B]/,peg$c305=peg$classExpectation([" ","\t","\r","\n","\v"],false,false),peg$c306=peg$otherExpectation("string"),peg$c307=/^[0-9a-zA-Z._!$\^*!?,\x80-\uFFFF]/,peg$c308=peg$classExpectation([["0","9"],["a","z"],["A","Z"],".","_","!","$","^","*","!","?",",",["€","￿"]],false,false),peg$c309=/^[0-9a-zA-Z.+_\^()*&$#@!?,\x80-\uFFFF]/,peg$c310=peg$classExpectation([["0","9"],["a","z"],["A","Z"],".","+","_","^","(",")","*","&","$","#","@","!","?",",",["€","￿"]],false,false),peg$c311=peg$otherExpectation("atom"),peg$c312=function(firstletter,text){return firstletter+(text||[]).join("")},peg$c313=peg$otherExpectation("label"),peg$c314="0",peg$c315=peg$literalExpectation("0",false),peg$c316=/^[0-9]/,peg$c317=peg$classExpectation([["0","9"]],false,false),peg$c318=/^[1-9]/,peg$c319=peg$classExpectation([["1","9"]],false,false),peg$c320=/^[0-9a-f]/i,peg$c321=peg$classExpectation([["0","9"],["a","f"]],false,true),peg$c322=/^[0-1]/,peg$c323=peg$classExpectation([["0","1"]],false,false),peg$c324=peg$otherExpectation("nonneg number"),peg$c325=".",peg$c326=peg$literalExpectation(".",false),peg$c327=function(){return parseFloat(text())},peg$c328=peg$otherExpectation("number"),peg$c329=function(literal){return literal},peg$c330="NaN",peg$c331=peg$literalExpectation("NaN",false),peg$c332=function(){return NaN},peg$c333="NegativeInfinity",peg$c334=peg$literalExpectation("NegativeInfinity",false),peg$c335=function(){return Number.NEGATIVE_INFINITY},peg$c336="NegativeInf",peg$c337=peg$literalExpectation("NegativeInf",false),peg$c338="NegInfinity",peg$c339=peg$literalExpectation("NegInfinity",false),peg$c340="NegInf",peg$c341=peg$literalExpectation("NegInf",false),peg$c342="NInfinity",peg$c343=peg$literalExpectation("NInfinity",false),peg$c344="NInf",peg$c345=peg$literalExpectation("NInf",false),peg$c346="-∞",peg$c347=peg$literalExpectation("-∞",false),peg$c348="PInfinity",peg$c349=peg$literalExpectation("PInfinity",false),peg$c350=function(){return Number.POSITIVE_INFINITY},peg$c351="Infinity",peg$c352=peg$literalExpectation("Infinity",false),peg$c353="PInf",peg$c354=peg$literalExpectation("PInf",false),peg$c355="Inf",peg$c356=peg$literalExpectation("Inf",false),peg$c357="∞",peg$c358=peg$literalExpectation("∞",false),peg$c359="Epsilon",peg$c360=peg$literalExpectation("Epsilon",false),peg$c361=function(){return Number.EPSILON},peg$c362="𝜀",peg$c363=peg$literalExpectation("𝜀",false),peg$c364="ε",peg$c365=peg$literalExpectation("ε",false),peg$c366="Pi",peg$c367=peg$literalExpectation("Pi",false),peg$c368=function(){return Math.PI},peg$c369="𝜋",peg$c370=peg$literalExpectation("𝜋",false),peg$c371="π",peg$c372=peg$literalExpectation("π",false),peg$c373="EulerNumber",peg$c374=peg$literalExpectation("EulerNumber",false),peg$c375=function(){return Math.E},peg$c376="E",peg$c377=peg$literalExpectation("E",false),peg$c378="e",peg$c379=peg$literalExpectation("e",false),peg$c380="Ɛ",peg$c381=peg$literalExpectation("Ɛ",false),peg$c382="ℇ",peg$c383=peg$literalExpectation("ℇ",false),peg$c384="Root2",peg$c385=peg$literalExpectation("Root2",false),peg$c386=function(){return Math.SQRT2},peg$c387="RootHalf",peg$c388=peg$literalExpectation("RootHalf",false),peg$c389=function(){return Math.SQRT1_2},peg$c390="Ln2",peg$c391=peg$literalExpectation("Ln2",false),peg$c392=function(){return Math.LN2},peg$c393="NatLog2",peg$c394=peg$literalExpectation("NatLog2",false),peg$c395="Ln10",peg$c396=peg$literalExpectation("Ln10",false),peg$c397=function(){return Math.LN10},peg$c398="NatLog10",peg$c399=peg$literalExpectation("NatLog10",false),peg$c400="Log2E",peg$c401=peg$literalExpectation("Log2E",false),peg$c402=function(){return Math.LOG2E},peg$c403="Log10E",peg$c404=peg$literalExpectation("Log10E",false),peg$c405=function(){return Math.LOG10E},peg$c406="MaxSafeInt",peg$c407=peg$literalExpectation("MaxSafeInt",false),peg$c408=function(){return Number.MAX_SAFE_INTEGER},peg$c409="MinSafeInt",peg$c410=peg$literalExpectation("MinSafeInt",false),peg$c411=function(){return Number.MIN_SAFE_INTEGER},peg$c412="MaxPosNum",peg$c413=peg$literalExpectation("MaxPosNum",false),peg$c414=function(){return Number.MAX_VALUE},peg$c415="MinPosNum",peg$c416=peg$literalExpectation("MinPosNum",false),peg$c417=function(){return Number.MIN_VALUE},peg$c418="Phi",peg$c419=peg$literalExpectation("Phi",false),peg$c420=function(){return 1.618033988749895},peg$c421="𝜑",peg$c422=peg$literalExpectation("𝜑",false),peg$c423="𝜙",peg$c424=peg$literalExpectation("𝜙",false),peg$c425="ϕ",peg$c426=peg$literalExpectation("ϕ",false),peg$c427="φ",peg$c428=peg$literalExpectation("φ",false),peg$c429="EulerConstant",peg$c430=peg$literalExpectation("EulerConstant",false),peg$c431=function(){return.5772156649015329},peg$c432="γ",peg$c433=peg$literalExpectation("γ",false),peg$c434="𝛾",peg$c435=peg$literalExpectation("𝛾",false),peg$c436=peg$literalExpectation("e",true),peg$c437=/^[+\-]/,peg$c438=peg$classExpectation(["+","-"],false,false),peg$c439="0x",peg$c440=peg$literalExpectation("0x",true),peg$c441=function(digits){return parseInt(digits,16)},peg$c442="0b",peg$c443=peg$literalExpectation("0b",true),peg$c444=function(digits){return parseInt(digits,2)},peg$c445="0o",peg$c446=peg$literalExpectation("0o",true),peg$c447=function(digits){return parseInt(digits,8)},peg$c448=function(major,minor,patch){return{major:parseInt(major,10),minor:parseInt(minor,10),patch:parseInt(patch,10),full:text()}},peg$c459="http://",peg$c460=peg$literalExpectation("http://",false),peg$c461="https://",peg$c462=peg$literalExpectation("https://",false),peg$c463=/^[a-zA-Z0-9!*'():;@&=+$,\/?#[\]_.~\-]/,peg$c464=peg$classExpectation([["a","z"],["A","Z"],["0","9"],"!","*","'","(",")",":",";","@","&","=","+","$",",","/","?","#","[","]","_",".","~","-"],false,false),peg$c465=function(protocol){return text()},peg$c466="aliceblue",peg$c467=peg$literalExpectation("aliceblue",false),peg$c468=function(){return"#f0f8ffff"},peg$c469="AliceBlue",peg$c470=peg$literalExpectation("AliceBlue",false),peg$c471="antiquewhite",peg$c472=peg$literalExpectation("antiquewhite",false),peg$c473=function(){return"#faebd7ff"},peg$c474="AntiqueWhite",peg$c475=peg$literalExpectation("AntiqueWhite",false),peg$c476="aquamarine",peg$c477=peg$literalExpectation("aquamarine",false),peg$c478=function(){return"#7fffd4ff"},peg$c479="Aquamarine",peg$c480=peg$literalExpectation("Aquamarine",false),peg$c481="aqua",peg$c482=peg$literalExpectation("aqua",false),peg$c483=function(){return"#00ffffff"},peg$c484="Aqua",peg$c485=peg$literalExpectation("Aqua",false),peg$c486="azure",peg$c487=peg$literalExpectation("azure",false),peg$c488=function(){return"#f0ffffff"},peg$c489="Azure",peg$c490=peg$literalExpectation("Azure",false),peg$c491="beige",peg$c492=peg$literalExpectation("beige",false),peg$c493=function(){return"#f5f5dcff"},peg$c494="Beige",peg$c495=peg$literalExpectation("Beige",false),peg$c496="bisque",peg$c497=peg$literalExpectation("bisque",false),peg$c498=function(){return"#ffe4c4ff"},peg$c499="Bisque",peg$c500=peg$literalExpectation("Bisque",false),peg$c501="black",peg$c502=peg$literalExpectation("black",false),peg$c503=function(){return"#000000ff"},peg$c504="Black",peg$c505=peg$literalExpectation("Black",false),peg$c506="blanchedalmond",peg$c507=peg$literalExpectation("blanchedalmond",false),peg$c508=function(){return"#ffebcdff"},peg$c509="BlanchedAlmond",peg$c510=peg$literalExpectation("BlanchedAlmond",false),peg$c511="blueviolet",peg$c512=peg$literalExpectation("blueviolet",false),peg$c513=function(){return"#8a2be2ff"},peg$c514="BlueViolet",peg$c515=peg$literalExpectation("BlueViolet",false),peg$c516="blue",peg$c517=peg$literalExpectation("blue",false),peg$c518=function(){return"#0000ffff"},peg$c519="Blue",peg$c520=peg$literalExpectation("Blue",false),peg$c521="brown",peg$c522=peg$literalExpectation("brown",false),peg$c523=function(){return"#a52a2aff"},peg$c524="Brown",peg$c525=peg$literalExpectation("Brown",false),peg$c526="burlywood",peg$c527=peg$literalExpectation("burlywood",false),peg$c528=function(){return"#deb887ff"},peg$c529="BurlyWood",peg$c530=peg$literalExpectation("BurlyWood",false),peg$c531="cadetblue",peg$c532=peg$literalExpectation("cadetblue",false),peg$c533=function(){return"#5f9ea0ff"},peg$c534="CadetBlue",peg$c535=peg$literalExpectation("CadetBlue",false),peg$c536="chartreuse",peg$c537=peg$literalExpectation("chartreuse",false),peg$c538=function(){return"#7fff00ff"},peg$c539="Chartreuse",peg$c540=peg$literalExpectation("Chartreuse",false),peg$c541="chocolate",peg$c542=peg$literalExpectation("chocolate",false),peg$c543=function(){return"#d2691eff"},peg$c544="Chocolate",peg$c545=peg$literalExpectation("Chocolate",false),peg$c546="coral",peg$c547=peg$literalExpectation("coral",false),peg$c548=function(){return"#ff7f50ff"},peg$c549="Coral",peg$c550=peg$literalExpectation("Coral",false),peg$c551="cornflowerblue",peg$c552=peg$literalExpectation("cornflowerblue",false),peg$c553=function(){return"#6495edff"},peg$c554="CornflowerBlue",peg$c555=peg$literalExpectation("CornflowerBlue",false),peg$c556="cornsilk",peg$c557=peg$literalExpectation("cornsilk",false),peg$c558=function(){return"#fff8dcff"},peg$c559="Cornsilk",peg$c560=peg$literalExpectation("Cornsilk",false),peg$c561="crimson",peg$c562=peg$literalExpectation("crimson",false),peg$c563=function(){return"#dc143cff"},peg$c564="Crimson",peg$c565=peg$literalExpectation("Crimson",false),peg$c566="cyan",peg$c567=peg$literalExpectation("cyan",false),peg$c568="Cyan",peg$c569=peg$literalExpectation("Cyan",false),peg$c570="darkblue",peg$c571=peg$literalExpectation("darkblue",false),peg$c572=function(){return"#00008bff"},peg$c573="DarkBlue",peg$c574=peg$literalExpectation("DarkBlue",false),peg$c575="darkcyan",peg$c576=peg$literalExpectation("darkcyan",false),peg$c577=function(){return"#008b8bff"},peg$c578="DarkCyan",peg$c579=peg$literalExpectation("DarkCyan",false),peg$c580="darkgoldenrod",peg$c581=peg$literalExpectation("darkgoldenrod",false),peg$c582=function(){return"#b8860bff"},peg$c583="DarkGoldenRod",peg$c584=peg$literalExpectation("DarkGoldenRod",false),peg$c585="darkgray",peg$c586=peg$literalExpectation("darkgray",false),peg$c587=function(){return"#a9a9a9ff"},peg$c588="DarkGray",peg$c589=peg$literalExpectation("DarkGray",false),peg$c590="darkgrey",peg$c591=peg$literalExpectation("darkgrey",false),peg$c592="DarkGrey",peg$c593=peg$literalExpectation("DarkGrey",false),peg$c594="darkgreen",peg$c595=peg$literalExpectation("darkgreen",false),peg$c596=function(){return"#006400ff"},peg$c597="DarkGreen",peg$c598=peg$literalExpectation("DarkGreen",false),peg$c599="darkkhaki",peg$c600=peg$literalExpectation("darkkhaki",false),peg$c601=function(){return"#bdb76bff"},peg$c602="DarkKhaki",peg$c603=peg$literalExpectation("DarkKhaki",false),peg$c604="darkmagenta",peg$c605=peg$literalExpectation("darkmagenta",false),peg$c606=function(){return"#8b008bff"},peg$c607="DarkMagenta",peg$c608=peg$literalExpectation("DarkMagenta",false),peg$c609="darkolivegreen",peg$c610=peg$literalExpectation("darkolivegreen",false),peg$c611=function(){return"#556b2fff"},peg$c612="DarkOliveGreen",peg$c613=peg$literalExpectation("DarkOliveGreen",false),peg$c614="darkorange",peg$c615=peg$literalExpectation("darkorange",false),peg$c616=function(){return"#ff8c00ff"},peg$c617="Darkorange",peg$c618=peg$literalExpectation("Darkorange",false),peg$c619="darkorchid",peg$c620=peg$literalExpectation("darkorchid",false),peg$c621=function(){return"#9932ccff"},peg$c622="DarkOrchid",peg$c623=peg$literalExpectation("DarkOrchid",false),peg$c624="darkred",peg$c625=peg$literalExpectation("darkred",false),peg$c626=function(){return"#8b0000ff"},peg$c627="DarkRed",peg$c628=peg$literalExpectation("DarkRed",false),peg$c629="darksalmon",peg$c630=peg$literalExpectation("darksalmon",false),peg$c631=function(){return"#e9967aff"},peg$c632="DarkSalmon",peg$c633=peg$literalExpectation("DarkSalmon",false),peg$c634="darkseagreen",peg$c635=peg$literalExpectation("darkseagreen",false),peg$c636=function(){return"#8fbc8fff"},peg$c637="DarkSeaGreen",peg$c638=peg$literalExpectation("DarkSeaGreen",false),peg$c639="darkslateblue",peg$c640=peg$literalExpectation("darkslateblue",false),peg$c641=function(){return"#483d8bff"},peg$c642="DarkSlateBlue",peg$c643=peg$literalExpectation("DarkSlateBlue",false),peg$c644="darkslategray",peg$c645=peg$literalExpectation("darkslategray",false),peg$c646=function(){return"#2f4f4fff"},peg$c647="DarkSlateGray",peg$c648=peg$literalExpectation("DarkSlateGray",false),peg$c649="darkslategrey",peg$c650=peg$literalExpectation("darkslategrey",false),peg$c651="DarkSlateGrey",peg$c652=peg$literalExpectation("DarkSlateGrey",false),peg$c653="darkturquoise",peg$c654=peg$literalExpectation("darkturquoise",false),peg$c655=function(){return"#00ced1ff"},peg$c656="DarkTurquoise",peg$c657=peg$literalExpectation("DarkTurquoise",false),peg$c658="darkviolet",peg$c659=peg$literalExpectation("darkviolet",false),peg$c660=function(){return"#9400d3ff"},peg$c661="DarkViolet",peg$c662=peg$literalExpectation("DarkViolet",false),peg$c663="deeppink",peg$c664=peg$literalExpectation("deeppink",false),peg$c665=function(){return"#ff1493ff"},peg$c666="DeepPink",peg$c667=peg$literalExpectation("DeepPink",false),peg$c668="deepskyblue",peg$c669=peg$literalExpectation("deepskyblue",false),peg$c670=function(){return"#00bfffff"},peg$c671="DeepSkyBlue",peg$c672=peg$literalExpectation("DeepSkyBlue",false),peg$c673="dimgray",peg$c674=peg$literalExpectation("dimgray",false),peg$c675=function(){return"#696969ff"},peg$c676="DimGray",peg$c677=peg$literalExpectation("DimGray",false),peg$c678="dimgrey",peg$c679=peg$literalExpectation("dimgrey",false),peg$c680="DimGrey",peg$c681=peg$literalExpectation("DimGrey",false),peg$c682="dodgerblue",peg$c683=peg$literalExpectation("dodgerblue",false),peg$c684=function(){return"#1e90ffff"},peg$c685="DodgerBlue",peg$c686=peg$literalExpectation("DodgerBlue",false),peg$c687="firebrick",peg$c688=peg$literalExpectation("firebrick",false),peg$c689=function(){return"#b22222ff"},peg$c690="FireBrick",peg$c691=peg$literalExpectation("FireBrick",false),peg$c692="floralwhite",peg$c693=peg$literalExpectation("floralwhite",false),peg$c694=function(){return"#fffaf0ff"},peg$c695="FloralWhite",peg$c696=peg$literalExpectation("FloralWhite",false),peg$c697="forestgreen",peg$c698=peg$literalExpectation("forestgreen",false),peg$c699=function(){return"#228b22ff"},peg$c700="ForestGreen",peg$c701=peg$literalExpectation("ForestGreen",false),peg$c702="fuchsia",peg$c703=peg$literalExpectation("fuchsia",false),peg$c704=function(){return"#ff00ffff"},peg$c705="Fuchsia",peg$c706=peg$literalExpectation("Fuchsia",false),peg$c707="gainsboro",peg$c708=peg$literalExpectation("gainsboro",false),peg$c709=function(){return"#dcdcdcff"},peg$c710="Gainsboro",peg$c711=peg$literalExpectation("Gainsboro",false),peg$c712="ghostwhite",peg$c713=peg$literalExpectation("ghostwhite",false),peg$c714=function(){return"#f8f8ffff"},peg$c715="GhostWhite",peg$c716=peg$literalExpectation("GhostWhite",false),peg$c717="goldenrod",peg$c718=peg$literalExpectation("goldenrod",false),peg$c719=function(){return"#daa520ff"},peg$c720="GoldenRod",peg$c721=peg$literalExpectation("GoldenRod",false),peg$c722="gold",peg$c723=peg$literalExpectation("gold",false),peg$c724=function(){return"#ffd700ff"},peg$c725="Gold",peg$c726=peg$literalExpectation("Gold",false),peg$c727="gray",peg$c728=peg$literalExpectation("gray",false),peg$c729=function(){return"#808080ff"},peg$c730="Gray",peg$c731=peg$literalExpectation("Gray",false),peg$c732="grey",peg$c733=peg$literalExpectation("grey",false),peg$c734="Grey",peg$c735=peg$literalExpectation("Grey",false),peg$c736="greenyellow",peg$c737=peg$literalExpectation("greenyellow",false),peg$c738=function(){return"#adff2fff"},peg$c739="GreenYellow",peg$c740=peg$literalExpectation("GreenYellow",false),peg$c741="green",peg$c742=peg$literalExpectation("green",false),peg$c743=function(){return"#008000ff"},peg$c744="Green",peg$c745=peg$literalExpectation("Green",false),peg$c746="honeydew",peg$c747=peg$literalExpectation("honeydew",false),peg$c748=function(){return"#f0fff0ff"},peg$c749="HoneyDew",peg$c750=peg$literalExpectation("HoneyDew",false),peg$c751="hotpink",peg$c752=peg$literalExpectation("hotpink",false),peg$c753=function(){return"#ff69b4ff"},peg$c754="HotPink",peg$c755=peg$literalExpectation("HotPink",false),peg$c756="indianred",peg$c757=peg$literalExpectation("indianred",false),peg$c758=function(){return"#cd5c5cff"},peg$c759="IndianRed",peg$c760=peg$literalExpectation("IndianRed",false),peg$c761="indigo",peg$c762=peg$literalExpectation("indigo",false),peg$c763=function(){return"#4b0082ff"},peg$c764="Indigo",peg$c765=peg$literalExpectation("Indigo",false),peg$c766="ivory",peg$c767=peg$literalExpectation("ivory",false),peg$c768=function(){return"#fffff0ff"},peg$c769="Ivory",peg$c770=peg$literalExpectation("Ivory",false),peg$c771="khaki",peg$c772=peg$literalExpectation("khaki",false),peg$c773=function(){return"#f0e68cff"},peg$c774="Khaki",peg$c775=peg$literalExpectation("Khaki",false),peg$c776="lavenderblush",peg$c777=peg$literalExpectation("lavenderblush",false),peg$c778=function(){return"#fff0f5ff"},peg$c779="LavenderBlush",peg$c780=peg$literalExpectation("LavenderBlush",false),peg$c781="lavender",peg$c782=peg$literalExpectation("lavender",false),peg$c783=function(){return"#e6e6faff"},peg$c784="Lavender",peg$c785=peg$literalExpectation("Lavender",false),peg$c786="lawngreen",peg$c787=peg$literalExpectation("lawngreen",false),peg$c788=function(){return"#7cfc00ff"},peg$c789="LawnGreen",peg$c790=peg$literalExpectation("LawnGreen",false),peg$c791="lemonchiffon",peg$c792=peg$literalExpectation("lemonchiffon",false),peg$c793=function(){return"#fffacdff"},peg$c794="LemonChiffon",peg$c795=peg$literalExpectation("LemonChiffon",false),peg$c796="lightblue",peg$c797=peg$literalExpectation("lightblue",false),peg$c798=function(){return"#add8e6ff"},peg$c799="LightBlue",peg$c800=peg$literalExpectation("LightBlue",false),peg$c801="lightcoral",peg$c802=peg$literalExpectation("lightcoral",false),peg$c803=function(){return"#f08080ff"},peg$c804="LightCoral",peg$c805=peg$literalExpectation("LightCoral",false),peg$c806="lightcyan",peg$c807=peg$literalExpectation("lightcyan",false),peg$c808=function(){return"#e0ffffff"},peg$c809="LightCyan",peg$c810=peg$literalExpectation("LightCyan",false),peg$c811="lightgoldenrodyellow",peg$c812=peg$literalExpectation("lightgoldenrodyellow",false),peg$c813=function(){return"#fafad2ff"},peg$c814="LightGoldenRodYellow",peg$c815=peg$literalExpectation("LightGoldenRodYellow",false),peg$c816="lightgray",peg$c817=peg$literalExpectation("lightgray",false),peg$c818=function(){return"#d3d3d3ff"},peg$c819="LightGray",peg$c820=peg$literalExpectation("LightGray",false),peg$c821="lightgrey",peg$c822=peg$literalExpectation("lightgrey",false),peg$c823="LightGrey",peg$c824=peg$literalExpectation("LightGrey",false),peg$c825="lightgreen",peg$c826=peg$literalExpectation("lightgreen",false),peg$c827=function(){return"#90ee90ff"},peg$c828="LightGreen",peg$c829=peg$literalExpectation("LightGreen",false),peg$c830="lightpink",peg$c831=peg$literalExpectation("lightpink",false),peg$c832=function(){return"#ffb6c1ff"},peg$c833="LightPink",peg$c834=peg$literalExpectation("LightPink",false),peg$c835="lightsalmon",peg$c836=peg$literalExpectation("lightsalmon",false),peg$c837=function(){return"#ffa07aff"},peg$c838="LightSalmon",peg$c839=peg$literalExpectation("LightSalmon",false),peg$c840="lightseagreen",peg$c841=peg$literalExpectation("lightseagreen",false),peg$c842=function(){return"#20b2aaff"},peg$c843="LightSeaGreen",peg$c844=peg$literalExpectation("LightSeaGreen",false),peg$c845="lightskyblue",peg$c846=peg$literalExpectation("lightskyblue",false),peg$c847=function(){return"#87cefaff"},peg$c848="LightSkyBlue",peg$c849=peg$literalExpectation("LightSkyBlue",false),peg$c850="lightslategray",peg$c851=peg$literalExpectation("lightslategray",false),peg$c852=function(){return"#778899ff"},peg$c853="LightSlateGray",peg$c854=peg$literalExpectation("LightSlateGray",false),peg$c855="lightslategrey",peg$c856=peg$literalExpectation("lightslategrey",false),peg$c857="LightSlateGrey",peg$c858=peg$literalExpectation("LightSlateGrey",false),peg$c859="lightsteelblue",peg$c860=peg$literalExpectation("lightsteelblue",false),peg$c861=function(){return"#b0c4deff"},peg$c862="LightSteelBlue",peg$c863=peg$literalExpectation("LightSteelBlue",false),peg$c864="lightyellow",peg$c865=peg$literalExpectation("lightyellow",false),peg$c866=function(){return"#ffffe0ff"},peg$c867="LightYellow",peg$c868=peg$literalExpectation("LightYellow",false),peg$c869="limegreen",peg$c870=peg$literalExpectation("limegreen",false),peg$c871=function(){return"#32cd32ff"},peg$c872="LimeGreen",peg$c873=peg$literalExpectation("LimeGreen",false),peg$c874="lime",peg$c875=peg$literalExpectation("lime",false),peg$c876=function(){return"#00ff00ff"},peg$c877="Lime",peg$c878=peg$literalExpectation("Lime",false),peg$c879="linen",peg$c880=peg$literalExpectation("linen",false),peg$c881=function(){return"#faf0e6ff"},peg$c882="Linen",peg$c883=peg$literalExpectation("Linen",false),peg$c884="magenta",peg$c885=peg$literalExpectation("magenta",false),peg$c886="Magenta",peg$c887=peg$literalExpectation("Magenta",false),peg$c888="maroon",peg$c889=peg$literalExpectation("maroon",false),peg$c890=function(){return"#800000ff"},peg$c891="Maroon",peg$c892=peg$literalExpectation("Maroon",false),peg$c893="mediumaquamarine",peg$c894=peg$literalExpectation("mediumaquamarine",false),peg$c895=function(){return"#66cdaaff"},peg$c896="MediumAquaMarine",peg$c897=peg$literalExpectation("MediumAquaMarine",false),peg$c898="mediumblue",peg$c899=peg$literalExpectation("mediumblue",false),peg$c900=function(){return"#0000cdff"},peg$c901="MediumBlue",peg$c902=peg$literalExpectation("MediumBlue",false),peg$c903="mediumorchid",peg$c904=peg$literalExpectation("mediumorchid",false),peg$c905=function(){return"#ba55d3ff"},peg$c906="MediumOrchid",peg$c907=peg$literalExpectation("MediumOrchid",false),peg$c908="mediumpurple",peg$c909=peg$literalExpectation("mediumpurple",false),peg$c910=function(){return"#9370d8ff"},peg$c911="MediumPurple",peg$c912=peg$literalExpectation("MediumPurple",false),peg$c913="mediumseagreen",peg$c914=peg$literalExpectation("mediumseagreen",false),peg$c915=function(){return"#3cb371ff"},peg$c916="MediumSeaGreen",peg$c917=peg$literalExpectation("MediumSeaGreen",false),peg$c918="mediumslateblue",peg$c919=peg$literalExpectation("mediumslateblue",false),peg$c920=function(){return"#7b68eeff"},peg$c921="MediumSlateBlue",peg$c922=peg$literalExpectation("MediumSlateBlue",false),peg$c923="mediumspringgreen",peg$c924=peg$literalExpectation("mediumspringgreen",false),peg$c925=function(){return"#00fa9aff"},peg$c926="MediumSpringGreen",peg$c927=peg$literalExpectation("MediumSpringGreen",false),peg$c928="mediumturquoise",peg$c929=peg$literalExpectation("mediumturquoise",false),peg$c930=function(){return"#48d1ccff"},peg$c931="MediumTurquoise",peg$c932=peg$literalExpectation("MediumTurquoise",false),peg$c933="mediumvioletred",peg$c934=peg$literalExpectation("mediumvioletred",false),peg$c935=function(){return"#c71585ff"},peg$c936="MediumVioletRed",peg$c937=peg$literalExpectation("MediumVioletRed",false),peg$c938="midnightblue",peg$c939=peg$literalExpectation("midnightblue",false),peg$c940=function(){return"#191970ff"},peg$c941="MidnightBlue",peg$c942=peg$literalExpectation("MidnightBlue",false),peg$c943="mintcream",peg$c944=peg$literalExpectation("mintcream",false),peg$c945=function(){return"#f5fffaff"},peg$c946="MintCream",peg$c947=peg$literalExpectation("MintCream",false),peg$c948="mistyrose",peg$c949=peg$literalExpectation("mistyrose",false),peg$c950=function(){return"#ffe4e1ff"},peg$c951="MistyRose",peg$c952=peg$literalExpectation("MistyRose",false),peg$c953="moccasin",peg$c954=peg$literalExpectation("moccasin",false),peg$c955=function(){return"#ffe4b5ff"},peg$c956="Moccasin",peg$c957=peg$literalExpectation("Moccasin",false),peg$c958="navajowhite",peg$c959=peg$literalExpectation("navajowhite",false),peg$c960=function(){return"#ffdeadff"},peg$c961="NavajoWhite",peg$c962=peg$literalExpectation("NavajoWhite",false),peg$c963="navy",peg$c964=peg$literalExpectation("navy",false),peg$c965=function(){return"#000080ff"},peg$c966="Navy",peg$c967=peg$literalExpectation("Navy",false),peg$c968="oldlace",peg$c969=peg$literalExpectation("oldlace",false),peg$c970=function(){return"#fdf5e6ff"},peg$c971="OldLace",peg$c972=peg$literalExpectation("OldLace",false),peg$c973="olivedrab",peg$c974=peg$literalExpectation("olivedrab",false),peg$c975=function(){return"#6b8e23ff"},peg$c976="OliveDrab",peg$c977=peg$literalExpectation("OliveDrab",false),peg$c978="olive",peg$c979=peg$literalExpectation("olive",false),peg$c980=function(){return"#808000ff"},peg$c981="Olive",peg$c982=peg$literalExpectation("Olive",false),peg$c983="orangered",peg$c984=peg$literalExpectation("orangered",false),peg$c985=function(){return"#ff4500ff"},peg$c986="OrangeRed",peg$c987=peg$literalExpectation("OrangeRed",false),peg$c988="orange",peg$c989=peg$literalExpectation("orange",false),peg$c990=function(){return"#ffa500ff"},peg$c991="Orange",peg$c992=peg$literalExpectation("Orange",false),peg$c993="orchid",peg$c994=peg$literalExpectation("orchid",false),peg$c995=function(){return"#da70d6ff"},peg$c996="Orchid",peg$c997=peg$literalExpectation("Orchid",false),peg$c998="palegoldenrod",peg$c999=peg$literalExpectation("palegoldenrod",false),peg$c1000=function(){return"#eee8aaff"},peg$c1001="PaleGoldenRod",peg$c1002=peg$literalExpectation("PaleGoldenRod",false),peg$c1003="palegreen",peg$c1004=peg$literalExpectation("palegreen",false),peg$c1005=function(){return"#98fb98ff"},peg$c1006="PaleGreen",peg$c1007=peg$literalExpectation("PaleGreen",false),peg$c1008="paleturquoise",peg$c1009=peg$literalExpectation("paleturquoise",false),peg$c1010=function(){return"#afeeeeff"},peg$c1011="PaleTurquoise",peg$c1012=peg$literalExpectation("PaleTurquoise",false),peg$c1013="palevioletred",peg$c1014=peg$literalExpectation("palevioletred",false),peg$c1015=function(){return"#d87093ff"},peg$c1016="PaleVioletRed",peg$c1017=peg$literalExpectation("PaleVioletRed",false),peg$c1018="papayawhip",peg$c1019=peg$literalExpectation("papayawhip",false),peg$c1020=function(){return"#ffefd5ff"},peg$c1021="PapayaWhip",peg$c1022=peg$literalExpectation("PapayaWhip",false),peg$c1023="peachpuff",peg$c1024=peg$literalExpectation("peachpuff",false),peg$c1025=function(){return"#ffdab9ff"},peg$c1026="PeachPuff",peg$c1027=peg$literalExpectation("PeachPuff",false),peg$c1028="peru",peg$c1029=peg$literalExpectation("peru",false),peg$c1030=function(){return"#cd853fff"},peg$c1031="Peru",peg$c1032=peg$literalExpectation("Peru",false),peg$c1033="pink",peg$c1034=peg$literalExpectation("pink",false),peg$c1035=function(){return"#ffc0cbff"},peg$c1036="Pink",peg$c1037=peg$literalExpectation("Pink",false),peg$c1038="plum",peg$c1039=peg$literalExpectation("plum",false),peg$c1040=function(){return"#dda0ddff"},peg$c1041="Plum",peg$c1042=peg$literalExpectation("Plum",false),peg$c1043="powderblue",peg$c1044=peg$literalExpectation("powderblue",false),peg$c1045=function(){return"#b0e0e6ff"},peg$c1046="PowderBlue",peg$c1047=peg$literalExpectation("PowderBlue",false),peg$c1048="purple",peg$c1049=peg$literalExpectation("purple",false),peg$c1050=function(){return"#800080ff"},peg$c1051="Purple",peg$c1052=peg$literalExpectation("Purple",false),peg$c1053="red",peg$c1054=peg$literalExpectation("red",false),peg$c1055=function(){return"#ff0000ff"},peg$c1056="Red",peg$c1057=peg$literalExpectation("Red",false),peg$c1058="rosybrown",peg$c1059=peg$literalExpectation("rosybrown",false),peg$c1060=function(){return"#bc8f8fff"},peg$c1061="RosyBrown",peg$c1062=peg$literalExpectation("RosyBrown",false),peg$c1063="royalblue",peg$c1064=peg$literalExpectation("royalblue",false),peg$c1065=function(){return"#4169e1ff"},peg$c1066="RoyalBlue",peg$c1067=peg$literalExpectation("RoyalBlue",false),peg$c1068="saddlebrown",peg$c1069=peg$literalExpectation("saddlebrown",false),peg$c1070=function(){return"#8b4513ff"},peg$c1071="SaddleBrown",peg$c1072=peg$literalExpectation("SaddleBrown",false),peg$c1073="salmon",peg$c1074=peg$literalExpectation("salmon",false),peg$c1075=function(){return"#fa8072ff"},peg$c1076="Salmon",peg$c1077=peg$literalExpectation("Salmon",false),peg$c1078="sandybrown",peg$c1079=peg$literalExpectation("sandybrown",false),peg$c1080=function(){return"#f4a460ff"},peg$c1081="SandyBrown",peg$c1082=peg$literalExpectation("SandyBrown",false),peg$c1083="seagreen",peg$c1084=peg$literalExpectation("seagreen",false),peg$c1085=function(){return"#2e8b57ff"},peg$c1086="SeaGreen",peg$c1087=peg$literalExpectation("SeaGreen",false),peg$c1088="seashell",peg$c1089=peg$literalExpectation("seashell",false),peg$c1090=function(){return"#fff5eeff"},peg$c1091="SeaShell",peg$c1092=peg$literalExpectation("SeaShell",false),peg$c1093="sienna",peg$c1094=peg$literalExpectation("sienna",false),peg$c1095=function(){return"#a0522dff"},peg$c1096="Sienna",peg$c1097=peg$literalExpectation("Sienna",false),peg$c1098="silver",peg$c1099=peg$literalExpectation("silver",false),peg$c1100=function(){return"#c0c0c0ff"},peg$c1101="Silver",peg$c1102=peg$literalExpectation("Silver",false),peg$c1103="skyblue",peg$c1104=peg$literalExpectation("skyblue",false),peg$c1105=function(){return"#87ceebff"},peg$c1106="SkyBlue",peg$c1107=peg$literalExpectation("SkyBlue",false),peg$c1108="slateblue",peg$c1109=peg$literalExpectation("slateblue",false),peg$c1110=function(){return"#6a5acdff"},peg$c1111="SlateBlue",peg$c1112=peg$literalExpectation("SlateBlue",false),peg$c1113="slategray",peg$c1114=peg$literalExpectation("slategray",false),peg$c1115=function(){return"#708090ff"},peg$c1116="SlateGray",peg$c1117=peg$literalExpectation("SlateGray",false),peg$c1118="slategrey",peg$c1119=peg$literalExpectation("slategrey",false),peg$c1120="SlateGrey",peg$c1121=peg$literalExpectation("SlateGrey",false),peg$c1122="snow",peg$c1123=peg$literalExpectation("snow",false),peg$c1124=function(){return"#fffafaff"},peg$c1125="Snow",peg$c1126=peg$literalExpectation("Snow",false),peg$c1127="springgreen",peg$c1128=peg$literalExpectation("springgreen",false),peg$c1129=function(){return"#00ff7fff"},peg$c1130="SpringGreen",peg$c1131=peg$literalExpectation("SpringGreen",false),peg$c1132="steelblue",peg$c1133=peg$literalExpectation("steelblue",false),peg$c1134=function(){return"#4682b4ff"},peg$c1135="SteelBlue",peg$c1136=peg$literalExpectation("SteelBlue",false),peg$c1137="tan",peg$c1138=peg$literalExpectation("tan",false),peg$c1139=function(){return"#d2b48cff"},peg$c1140="Tan",peg$c1141=peg$literalExpectation("Tan",false),peg$c1142="teal",peg$c1143=peg$literalExpectation("teal",false),peg$c1144=function(){return"#008080ff"},peg$c1145="Teal",peg$c1146=peg$literalExpectation("Teal",false),peg$c1147="thistle",peg$c1148=peg$literalExpectation("thistle",false),peg$c1149=function(){return"#d8bfd8ff"},peg$c1150="Thistle",peg$c1151=peg$literalExpectation("Thistle",false),peg$c1152="tomato",peg$c1153=peg$literalExpectation("tomato",false),peg$c1154=function(){return"#ff6347ff"},peg$c1155="Tomato",peg$c1156=peg$literalExpectation("Tomato",false),peg$c1157="turquoise",peg$c1158=peg$literalExpectation("turquoise",false),peg$c1159=function(){return"#40e0d0ff"},peg$c1160="Turquoise",peg$c1161=peg$literalExpectation("Turquoise",false),peg$c1162="violet",peg$c1163=peg$literalExpectation("violet",false),peg$c1164=function(){return"#ee82eeff"},peg$c1165="Violet",peg$c1166=peg$literalExpectation("Violet",false),peg$c1167="wheat",peg$c1168=peg$literalExpectation("wheat",false),peg$c1169=function(){return"#f5deb3ff"},peg$c1170="Wheat",peg$c1171=peg$literalExpectation("Wheat",false),peg$c1172="whitesmoke",peg$c1173=peg$literalExpectation("whitesmoke",false),peg$c1174=function(){return"#f5f5f5ff"},peg$c1175="WhiteSmoke",peg$c1176=peg$literalExpectation("WhiteSmoke",false),peg$c1177="white",peg$c1178=peg$literalExpectation("white",false),peg$c1179=function(){return"#ffffffff"},peg$c1180="White",peg$c1181=peg$literalExpectation("White",false),peg$c1182="yellowgreen",peg$c1183=peg$literalExpectation("yellowgreen",false),peg$c1184=function(){return"#9acd32ff"},peg$c1185="YellowGreen",peg$c1186=peg$literalExpectation("YellowGreen",false),peg$c1187="yellow",peg$c1188=peg$literalExpectation("yellow",false),peg$c1189=function(){return"#ffff00ff"},peg$c1190="Yellow",peg$c1191=peg$literalExpectation("Yellow",false),peg$c1192=function(lab){return lab},peg$c1193="#",peg$c1194=peg$literalExpectation("#",false),peg$c1195=function(r,g,b){return`#${r}${r}${g}${g}${b}${b}ff`},peg$c1196=function(r1,r2,g1,g2,b1,b2){return`#${r1}${r2}${g1}${g2}${b1}${b2}ff`},peg$c1197=function(r,g,b,a){return`#${r}${r}${g}${g}${b}${b}${a}${a}`},peg$c1198=function(r1,r2,g1,g2,b1,b2,a1,a2){return`#${r1}${r2}${g1}${g2}${b1}${b2}${a1}${a2}`},peg$c1199=peg$otherExpectation("color"),peg$c1200="arc_label",peg$c1201=peg$literalExpectation("arc_label",false),peg$c1202="head_label",peg$c1203=peg$literalExpectation("head_label",false),peg$c1204="tail_label",peg$c1205=peg$literalExpectation("tail_label",false),peg$c1206=":",peg$c1207=peg$literalExpectation(":",false),peg$c1208=";",peg$c1209=peg$literalExpectation(";",false),peg$c1210=function(key,value){return{key:key,value:value}},peg$c1211=peg$otherExpectation("single edge color"),peg$c1212="edge_color",peg$c1213=peg$literalExpectation("edge_color",false),peg$c1214=function(value){return{key:"single_edge_color",value:value}},peg$c1215=peg$otherExpectation("transition line style"),peg$c1216="line-style",peg$c1217=peg$literalExpectation("line-style",false),peg$c1218=function(value){return{key:"transition_line_style",value:value}},peg$c1219="{",peg$c1220=peg$literalExpectation("{",false),peg$c1221="}",peg$c1222=peg$literalExpectation("}",false),peg$c1223=function(items){return items},peg$c1224="%",peg$c1225=peg$literalExpectation("%",false),peg$c1226=function(value){return{key:"arrow probability",value:value}},peg$c1227=function(names){return names.map((i=>i[0]))},peg$c1228="+|",peg$c1229=peg$literalExpectation("+|",false),peg$c1230=function(nzd,dd){return{key:"stripe",value:parseInt(`${nzd}${dd}`,10)}},peg$c1231="-|",peg$c1232=peg$literalExpectation("-|",false),peg$c1233=function(nzd,dd){return{key:"stripe",value:-1*parseInt(`${nzd}${dd}`,10)}},peg$c1234="+",peg$c1235=peg$literalExpectation("+",false),peg$c1236=function(nzd,dd){return{key:"cycle",value:parseInt(`${nzd}${dd}`,10)}},peg$c1237="-",peg$c1238=peg$literalExpectation("-",false),peg$c1239=function(nzd,dd){return{key:"cycle",value:-1*parseInt(`${nzd}${dd}`,10)}},peg$c1240="+0",peg$c1241=peg$literalExpectation("+0",false),peg$c1242=function(){return{key:"cycle",value:0}},peg$c1243=function(r_action,r_prob,l_desc,arrow,r_desc,l_prob,l_action,label,tail){const base={kind:arrow,to:label};if(tail&&tail!==[]){base.se=tail}if(l_desc){base.l_desc=l_desc}if(r_desc){base.r_desc=r_desc}if(l_action){base.l_action=l_action}if(r_action){base.r_action=r_action}if(l_prob){base.l_probability=l_prob.value}if(r_prob){base.r_probability=r_prob.value}return base},peg$c1244=function(label,se){const base={key:"transition",from:label};if(se&&se!==[]){base.se=se}return base},peg$c1245="whargarbl",peg$c1246=peg$literalExpectation("whargarbl",false),peg$c1247="todo",peg$c1248=peg$literalExpectation("todo",false),peg$c1249=function(validationkey,value){return{key:validationkey,value:value}},peg$c1250="validation",peg$c1251=peg$literalExpectation("validation",false),peg$c1252="};",peg$c1253=peg$literalExpectation("};",false),peg$c1254=function(validation_items){return{config_kind:"validation",config_items:validation_items||[]}},peg$c1255="dot",peg$c1256=peg$literalExpectation("dot",false),peg$c1257="circo",peg$c1258=peg$literalExpectation("circo",false),peg$c1259="fdp",peg$c1260=peg$literalExpectation("fdp",false),peg$c1261="neato",peg$c1262=peg$literalExpectation("neato",false),peg$c1263="state",peg$c1264=peg$literalExpectation("state",false),peg$c1265=function(state_items){return{key:"default_state_config",value:state_items||[]}},peg$c1266="start_state",peg$c1267=peg$literalExpectation("start_state",false),peg$c1268=function(state_items){return{key:"default_start_state_config",value:state_items||[]}},peg$c1269="end_state",peg$c1270=peg$literalExpectation("end_state",false),peg$c1271=function(state_items){return{key:"default_end_state_config",value:state_items||[]}},peg$c1272="active_state",peg$c1273=peg$literalExpectation("active_state",false),peg$c1274=function(state_items){return{key:"default_active_state_config",value:state_items||[]}},peg$c1275="terminal_state",peg$c1276=peg$literalExpectation("terminal_state",false),peg$c1277=function(state_items){return{key:"default_terminal_state_config",value:state_items||[]}},peg$c1278="hooked_state",peg$c1279=peg$literalExpectation("hooked_state",false),peg$c1280=function(state_items){return{key:"default_hooked_state_config",value:state_items||[]}},peg$c1281=function(actionkey,value){return{key:actionkey,value:value}},peg$c1282="action",peg$c1283=peg$literalExpectation("action",false),peg$c1284=function(action_items){return{config_kind:"action",config_items:action_items||[]}},peg$c1285=function(key,value){return{key:key,value:value}},peg$c1286=peg$otherExpectation("graph default edge color"),peg$c1287=function(value){return{key:"graph_default_edge_color",value:value}},peg$c1288="transition",peg$c1289=peg$literalExpectation("transition",false),peg$c1290=function(transition_items){return{config_kind:"transition",config_items:transition_items||[]}},peg$c1291="graph_layout",peg$c1292=peg$literalExpectation("graph_layout",false),peg$c1293=function(value){return{key:"graph_layout",value:value}},peg$c1294="start_states",peg$c1295=peg$literalExpectation("start_states",false),peg$c1296=function(value){return{key:"start_states",value:value}},peg$c1297="end_states",peg$c1298=peg$literalExpectation("end_states",false),peg$c1299=function(value){return{key:"end_states",value:value}},peg$c1300="graph_bg_color",peg$c1301=peg$literalExpectation("graph_bg_color",false),peg$c1302=function(value){return{key:"graph_bg_color",value:value}},peg$c1303=peg$otherExpectation("configuration"),peg$c1304="MIT",peg$c1305=peg$literalExpectation("MIT",false),peg$c1306="BSD 2-clause",peg$c1307=peg$literalExpectation("BSD 2-clause",false),peg$c1308="BSD 3-clause",peg$c1309=peg$literalExpectation("BSD 3-clause",false),peg$c1310="Apache 2.0",peg$c1311=peg$literalExpectation("Apache 2.0",false),peg$c1312="Mozilla 2.0",peg$c1313=peg$literalExpectation("Mozilla 2.0",false),peg$c1314="Public domain",peg$c1315=peg$literalExpectation("Public domain",false),peg$c1316="GPL v2",peg$c1317=peg$literalExpectation("GPL v2",false),peg$c1318="GPL v3",peg$c1319=peg$literalExpectation("GPL v3",false),peg$c1320="LGPL v2.1",peg$c1321=peg$literalExpectation("LGPL v2.1",false),peg$c1322="LGPL v3.0",peg$c1323=peg$literalExpectation("LGPL v3.0",false),peg$c1324="Unknown",peg$c1325=peg$literalExpectation("Unknown",false),peg$c1326=peg$otherExpectation("direction"),peg$c1327="up",peg$c1328=peg$literalExpectation("up",false),peg$c1329="right",peg$c1330=peg$literalExpectation("right",false),peg$c1331="down",peg$c1332=peg$literalExpectation("down",false),peg$c1333="left",peg$c1334=peg$literalExpectation("left",false),peg$c1335=peg$otherExpectation("hook definition (open/closed)"),peg$c1336="open",peg$c1337=peg$literalExpectation("open",false),peg$c1338="closed",peg$c1339=peg$literalExpectation("closed",false),peg$c1340="machine_author",peg$c1341=peg$literalExpectation("machine_author",false),peg$c1342=function(value){return{key:"machine_author",value:value}},peg$c1343="machine_contributor",peg$c1344=peg$literalExpectation("machine_contributor",false),peg$c1345=function(value){return{key:"machine_contributor",value:value}},peg$c1346="machine_comment",peg$c1347=peg$literalExpectation("machine_comment",false),peg$c1348=function(value){return{key:"machine_comment",value:value}},peg$c1349="machine_definition",peg$c1350=peg$literalExpectation("machine_definition",false),peg$c1351=function(value){return{key:"machine_definition",value:value}},peg$c1352="machine_name",peg$c1353=peg$literalExpectation("machine_name",false),peg$c1354=function(value){return{key:"machine_name",value:value}},peg$c1358="machine_version",peg$c1359=peg$literalExpectation("machine_version",false),peg$c1360=function(value){return{key:"machine_version",value:value}},peg$c1361="machine_license",peg$c1362=peg$literalExpectation("machine_license",false),peg$c1363=function(value){return{key:"machine_license",value:value}},peg$c1364="machine_language",peg$c1365=peg$literalExpectation("machine_language",false),peg$c1366=function(value){return{key:"machine_language",value:value}},peg$c1367="fsl_version",peg$c1368=peg$literalExpectation("fsl_version",false),peg$c1369=function(value){return{key:"fsl_version",value:value}},peg$c1370="theme",peg$c1371=peg$literalExpectation("theme",false),peg$c1372=function(value){return{key:"theme",value:value}},peg$c1373="flow",peg$c1374=peg$literalExpectation("flow",false),peg$c1375=function(value){return{key:"flow",value:value}},peg$c1376="hooks",peg$c1377=peg$literalExpectation("hooks",false),peg$c1378=function(value){return{key:"hook_definition",value:value}},peg$c1379="dot_preamble",peg$c1380=peg$literalExpectation("dot_preamble",false),peg$c1381=function(value){return{key:"dot_preamble",value:value}},peg$c1382=peg$otherExpectation("machine attribute"),peg$c1383="label",peg$c1384=peg$literalExpectation("label",false),peg$c1385=function(value){return{key:"state-label",value:value}},peg$c1386="color",peg$c1387=peg$literalExpectation("color",false),peg$c1388=function(value){return{key:"color",value:value}},peg$c1389=peg$otherExpectation("text color"),peg$c1390="text-color",peg$c1391=peg$literalExpectation("text-color",false),peg$c1392=function(value){return{key:"text-color",value:value}},peg$c1393=peg$otherExpectation("background color"),peg$c1394="background-color",peg$c1395=peg$literalExpectation("background-color",false),peg$c1396=function(value){return{key:"background-color",value:value}},peg$c1397=peg$otherExpectation("border color"),peg$c1398="border-color",peg$c1399=peg$literalExpectation("border-color",false),peg$c1400=function(value){return{key:"border-color",value:value}},peg$c1401=peg$otherExpectation("shape"),peg$c1402="shape",peg$c1403=peg$literalExpectation("shape",false),peg$c1404=function(value){return{key:"shape",value:value}},peg$c1405=peg$otherExpectation("corners"),peg$c1406="corners",peg$c1407=peg$literalExpectation("corners",false),peg$c1408=function(value){return{key:"corners",value:value}},peg$c1409=peg$otherExpectation("linestyle"),peg$c1410=function(value){return{key:"line-style",value:value}},peg$c1411="linestyle",peg$c1412=peg$literalExpectation("linestyle",false),peg$c1413=peg$otherExpectation("state property"),peg$c1414="property",peg$c1415=peg$literalExpectation("property",false),peg$c1416=function(name,value){return{key:"state_property",name:name,value:value}},peg$c1417="required",peg$c1418=peg$literalExpectation("required",false),peg$c1419=function(name,value){return{key:"state_property",name:name,value:value,required:true}},peg$c1420=function(name,value){return{key:"state_declaration",name:name,value:value}},peg$c1421="&",peg$c1422=peg$literalExpectation("&",false),peg$c1423=function(name,value){return{key:"named_list",name:name,value:value}},peg$c1424=function(name,default_value){return{key:"property_definition",name:name,default_value:default_value,required:true}},peg$c1425=function(name){return{key:"property_definition",name:name,required:true}},peg$c1426=function(name,default_value){return{key:"property_definition",name:name,default_value:default_value}},peg$c1427=function(name){return{key:"property_definition",name:name}},peg$c1428="arrange",peg$c1429=peg$literalExpectation("arrange",false),peg$c1430=function(value){return{key:"arrange_declaration",value:value}},peg$c1431="arrange-start",peg$c1432=peg$literalExpectation("arrange-start",false),peg$c1433=function(value){return{key:"arrange_start_declaration",value:value}},peg$c1434="arrange-end",peg$c1435=peg$literalExpectation("arrange-end",false),peg$c1436=function(value){return{key:"arrange_end_declaration",value:value}},peg$c1437=peg$otherExpectation("arrange declaration"),peg$currPos=0,peg$savedPos=0,peg$posDetailsCache=[{line:1,column:1}],peg$maxFailPos=0,peg$maxFailExpected=[],peg$silentFails=0,peg$result;if("startRule"in options){if(!(options.startRule in peg$startRuleFunctions)){throw new Error("Can't start parsing from rule \""+options.startRule+'".')}peg$startRuleFunction=peg$startRuleFunctions[options.startRule]}function text(){return input.substring(peg$savedPos,peg$currPos)}function peg$literalExpectation(text,ignoreCase){return{type:"literal",text:text,ignoreCase:ignoreCase}}function peg$classExpectation(parts,inverted,ignoreCase){return{type:"class",parts:parts,inverted:inverted,ignoreCase:ignoreCase}}function peg$anyExpectation(){return{type:"any"}}function peg$endExpectation(){return{type:"end"}}function peg$otherExpectation(description){return{type:"other",description:description}}function peg$computePosDetails(pos){var details=peg$posDetailsCache[pos],p;if(details){return details}else{p=pos-1;while(!peg$posDetailsCache[p]){p--}details=peg$posDetailsCache[p];details={line:details.line,column:details.column};while(ppeg$maxFailPos){peg$maxFailPos=peg$currPos;peg$maxFailExpected=[]}peg$maxFailExpected.push(expected)}function peg$buildStructuredError(expected,found,location){return new peg$SyntaxError(peg$SyntaxError.buildMessage(expected,found),expected,found,location)}function peg$parseDocument(){var s0,s1,s2,s3;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseTermList();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c0(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTheme(){var s0;if(input.substr(peg$currPos,4)===peg$c1){s0=peg$c1;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c2)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c3){s0=peg$c3;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c4)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c5){s0=peg$c5;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c6)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c7){s0=peg$c7;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c8)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c9){s0=peg$c9;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c10)}}}}}}return s0}function peg$parseThemeOrThemeList(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===91){s1=peg$c11;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c12)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$currPos;s5=peg$parseTheme();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}while(s4!==peg$FAILED){s3.push(s4);s4=peg$currPos;s5=peg$parseTheme();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}}if(s3!==peg$FAILED){s4=peg$parseTheme();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===93){s5=peg$c13;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c14)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c15(s3,s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseTheme();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c16(s1)}s0=s1}return s0}function peg$parseGvizShape(){var s0;if(input.substr(peg$currPos,5)===peg$c17){s0=peg$c17;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c18)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c19){s0=peg$c19;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c20)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c21){s0=peg$c21;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c22)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c23){s0=peg$c23;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c24)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c25){s0=peg$c25;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c26)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c27){s0=peg$c27;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c28)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c29){s0=peg$c29;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c30)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c31){s0=peg$c31;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c32)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c33){s0=peg$c33;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c34)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c35){s0=peg$c35;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c36)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c37){s0=peg$c37;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c38)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c39){s0=peg$c39;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c40)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c41){s0=peg$c41;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c42)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c43){s0=peg$c43;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c44)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c45){s0=peg$c45;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c46)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c47){s0=peg$c47;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c48)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c49){s0=peg$c49;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c50)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c51){s0=peg$c51;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c52)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c53){s0=peg$c53;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c54)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c55){s0=peg$c55;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c56)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c57){s0=peg$c57;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c58)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c59){s0=peg$c59;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c60)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c61){s0=peg$c61;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c62)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c63){s0=peg$c63;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c64)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c65){s0=peg$c65;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c66)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c67){s0=peg$c67;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c68)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c69){s0=peg$c69;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c70)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c71){s0=peg$c71;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c72)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c73){s0=peg$c73;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c74)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c75){s0=peg$c75;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c76)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c77){s0=peg$c77;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c78)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1){s0=peg$c1;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c2)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c79){s0=peg$c79;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c80)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c81){s0=peg$c81;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c82)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c83){s0=peg$c83;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c84)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c85){s0=peg$c85;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c86)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c87){s0=peg$c87;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c88)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c89){s0=peg$c89;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c90)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c91){s0=peg$c91;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c92)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c93){s0=peg$c93;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c94)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c95){s0=peg$c95;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c96)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c97){s0=peg$c97;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c98)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c99){s0=peg$c99;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c100)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c101){s0=peg$c101;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c102)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,15)===peg$c103){s0=peg$c103;peg$currPos+=15}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c104)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c105){s0=peg$c105;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c106)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,14)===peg$c107){s0=peg$c107;peg$currPos+=14}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c108)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c109){s0=peg$c109;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c110)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c111){s0=peg$c111;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c112)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c113){s0=peg$c113;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c114)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c115){s0=peg$c115;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c116)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c117){s0=peg$c117;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c118)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c119){s0=peg$c119;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c120)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c121){s0=peg$c121;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c122)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c123){s0=peg$c123;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c124)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c125){s0=peg$c125;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c126)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c127){s0=peg$c127;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c128)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c129){s0=peg$c129;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c130)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c131){s0=peg$c131;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c132)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c133){s0=peg$c133;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c134)}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}return s0}function peg$parseForwardLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c136){s0=peg$c136;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c137)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8594){s1=peg$c138;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c139)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c140()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c135)}}return s0}function peg$parseTwoWayLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c142){s0=peg$c142;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c143)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8596){s1=peg$c144;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c145)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c146()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c141)}}return s0}function peg$parseBackLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c148){s0=peg$c148;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c149)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8592){s1=peg$c150;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c151)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c152()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c147)}}return s0}function peg$parseForwardFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c154){s0=peg$c154;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c155)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8658){s1=peg$c156;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c157)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c158()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c153)}}return s0}function peg$parseTwoWayFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c160){s0=peg$c160;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c161)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8660){s1=peg$c162;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c163)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c164()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c159)}}return s0}function peg$parseBackFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c166){s0=peg$c166;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c167)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8656){s1=peg$c168;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c169)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c170()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c165)}}return s0}function peg$parseForwardTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c172){s0=peg$c172;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c173)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8603){s1=peg$c174;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c175)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c176()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c171)}}return s0}function peg$parseTwoWayTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c178){s0=peg$c178;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c179)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8622){s1=peg$c180;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c181)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c182()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c177)}}return s0}function peg$parseBackTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c184){s0=peg$c184;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c185)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8602){s1=peg$c186;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c187)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c188()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c183)}}return s0}function peg$parseLightFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c190){s0=peg$c190;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c191)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c192){s1=peg$c192;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c193)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c194()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c189)}}return s0}function peg$parseLightTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c196){s0=peg$c196;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c197)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c198){s1=peg$c198;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c199)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c200()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c195)}}return s0}function peg$parseFatLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c202){s0=peg$c202;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c203)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c204){s1=peg$c204;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c205)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c206()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c201)}}return s0}function peg$parseFatTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c208){s0=peg$c208;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c209)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c210){s1=peg$c210;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c211)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c212()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c207)}}return s0}function peg$parseTildeLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c214){s0=peg$c214;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c215)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c216){s1=peg$c216;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c217)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c218()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c213)}}return s0}function peg$parseTildeFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c220){s0=peg$c220;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c221)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c222){s1=peg$c222;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c223)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c224()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c219)}}return s0}function peg$parseLightArrow(){var s0;peg$silentFails++;s0=peg$parseForwardLightArrow();if(s0===peg$FAILED){s0=peg$parseTwoWayLightArrow();if(s0===peg$FAILED){s0=peg$parseBackLightArrow()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c225)}}return s0}function peg$parseFatArrow(){var s0;peg$silentFails++;s0=peg$parseForwardFatArrow();if(s0===peg$FAILED){s0=peg$parseTwoWayFatArrow();if(s0===peg$FAILED){s0=peg$parseBackFatArrow()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c226)}}return s0}function peg$parseTildeArrow(){var s0;peg$silentFails++;s0=peg$parseForwardTildeArrow();if(s0===peg$FAILED){s0=peg$parseTwoWayTildeArrow();if(s0===peg$FAILED){s0=peg$parseBackTildeArrow()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c227)}}return s0}function peg$parseMixedArrow(){var s0;peg$silentFails++;s0=peg$parseLightFatArrow();if(s0===peg$FAILED){s0=peg$parseLightTildeArrow();if(s0===peg$FAILED){s0=peg$parseFatLightArrow();if(s0===peg$FAILED){s0=peg$parseFatTildeArrow();if(s0===peg$FAILED){s0=peg$parseTildeLightArrow();if(s0===peg$FAILED){s0=peg$parseTildeFatArrow()}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c228)}}return s0}function peg$parseArrow(){var s0;peg$silentFails++;s0=peg$parseMixedArrow();if(s0===peg$FAILED){s0=peg$parseLightArrow();if(s0===peg$FAILED){s0=peg$parseFatArrow();if(s0===peg$FAILED){s0=peg$parseTildeArrow()}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c229)}}return s0}function peg$parseBoolean(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c230){s1=peg$c230;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c231)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c232()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c233){s1=peg$c233;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c234)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c235()}s0=s1}return s0}function peg$parseCorners(){var s0;if(input.substr(peg$currPos,7)===peg$c236){s0=peg$c236;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c237)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c238){s0=peg$c238;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c239)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c240){s0=peg$c240;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c241)}}}}return s0}function peg$parseLineStyle(){var s0;if(input.substr(peg$currPos,5)===peg$c242){s0=peg$c242;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c243)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c244){s0=peg$c244;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c245)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c246){s0=peg$c246;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c247)}}}}return s0}function peg$parseChar(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$parseUnescaped();if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseEscape();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===34){s2=peg$c248;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c249)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===92){s2=peg$c250;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c251)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===47){s2=peg$c252;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c253)}}if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===98){s3=peg$c254;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c255)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c256()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===102){s3=peg$c257;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c258)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c259()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===110){s3=peg$c260;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c261)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c262()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===114){s3=peg$c263;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c264)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c265()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===116){s3=peg$c266;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c267)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c268()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===118){s3=peg$c269;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c270)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c271()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===117){s3=peg$c272;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c273)}}if(s3!==peg$FAILED){s4=peg$currPos;s5=peg$currPos;s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseHexDigit();if(s8!==peg$FAILED){s9=peg$parseHexDigit();if(s9!==peg$FAILED){s6=[s6,s7,s8,s9];s5=s6}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}if(s5!==peg$FAILED){s4=input.substring(s4,peg$currPos)}else{s4=s5}if(s4!==peg$FAILED){peg$savedPos=s2;s3=peg$c274(s4);s2=s3}else{peg$currPos=s2;s2=peg$FAILED}}else{peg$currPos=s2;s2=peg$FAILED}}}}}}}}}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c275(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseNull(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c276){s1=peg$c276;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c277)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c278()}s0=s1;return s0}function peg$parseUndefined(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c279){s1=peg$c279;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c280)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c281()}s0=s1;return s0}function peg$parseEscape(){var s0;if(input.charCodeAt(peg$currPos)===92){s0=peg$c250;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c251)}}return s0}function peg$parseQuoteMark(){var s0;if(input.charCodeAt(peg$currPos)===34){s0=peg$c248;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c249)}}return s0}function peg$parseUnescaped(){var s0;if(peg$c282.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c283)}}return s0}function peg$parseActionLabelChar(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$parseActionLabelUnescaped();if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseEscape();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===39){s2=peg$c284;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c285)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===92){s2=peg$c250;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c251)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===47){s2=peg$c252;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c253)}}if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===98){s3=peg$c254;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c255)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c256()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===102){s3=peg$c257;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c258)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c259()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===110){s3=peg$c260;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c261)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c262()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===114){s3=peg$c263;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c264)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c265()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===116){s3=peg$c266;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c267)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c268()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===118){s3=peg$c269;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c270)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c271()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===117){s3=peg$c272;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c273)}}if(s3!==peg$FAILED){s4=peg$currPos;s5=peg$currPos;s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseHexDigit();if(s8!==peg$FAILED){s9=peg$parseHexDigit();if(s9!==peg$FAILED){s6=[s6,s7,s8,s9];s5=s6}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}if(s5!==peg$FAILED){s4=input.substring(s4,peg$currPos)}else{s4=s5}if(s4!==peg$FAILED){peg$savedPos=s2;s3=peg$c274(s4);s2=s3}else{peg$currPos=s2;s2=peg$FAILED}}else{peg$currPos=s2;s2=peg$FAILED}}}}}}}}}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c275(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseActionLabelQuoteMark(){var s0;if(input.charCodeAt(peg$currPos)===39){s0=peg$c284;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c285)}}return s0}function peg$parseActionLabelUnescaped(){var s0;if(peg$c286.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c287)}}return s0}function peg$parseActionLabel(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;s1=peg$parseActionLabelQuoteMark();if(s1!==peg$FAILED){s2=[];s3=peg$parseActionLabelChar();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseActionLabelChar()}if(s2!==peg$FAILED){s3=peg$parseActionLabelQuoteMark();if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c289(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c288)}}return s0}function peg$parseLineTerminator(){var s0;if(peg$c290.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c291)}}return s0}function peg$parseBlockCommentTail(){var s0,s1,s2;if(input.substr(peg$currPos,2)===peg$c294){s0=peg$c294;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c295)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.length>peg$currPos){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}if(s1!==peg$FAILED){s2=peg$parseBlockCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseBlockComment(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c298){s1=peg$c298;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c299)}}if(s1!==peg$FAILED){s2=peg$parseBlockCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c297)}}return s0}function peg$parseEOF(){var s0,s1;s0=peg$currPos;peg$silentFails++;if(input.length>peg$currPos){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}peg$silentFails--;if(s1===peg$FAILED){s0=void 0}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLineCommentTail(){var s0,s1,s2;s0=peg$parseLineTerminator();if(s0===peg$FAILED){s0=peg$parseEOF();if(s0===peg$FAILED){s0=peg$currPos;if(input.length>peg$currPos){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}if(s1!==peg$FAILED){s2=peg$parseLineCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}return s0}function peg$parseLineComment(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c301){s1=peg$c301;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c302)}}if(s1!==peg$FAILED){s2=peg$parseLineCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c300)}}return s0}function peg$parseWS(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;s1=peg$parseBlockComment();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseLineComment();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=[];if(peg$c304.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c305)}}if(s2!==peg$FAILED){while(s2!==peg$FAILED){s1.push(s2);if(peg$c304.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c305)}}}}else{s1=peg$FAILED}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c303)}}return s0}function peg$parseString(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;s1=peg$parseQuoteMark();if(s1!==peg$FAILED){s2=[];s3=peg$parseChar();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseChar()}if(s2!==peg$FAILED){s3=peg$parseQuoteMark();if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c289(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c306)}}return s0}function peg$parseAtomFirstLetter(){var s0;if(peg$c307.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c308)}}return s0}function peg$parseAtomLetter(){var s0;if(peg$c309.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c310)}}return s0}function peg$parseAtom(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;s1=peg$parseAtomFirstLetter();if(s1!==peg$FAILED){s2=[];s3=peg$parseAtomLetter();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseAtomLetter()}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c312(s1,s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c311)}}return s0}function peg$parseLabel(){var s0;peg$silentFails++;s0=peg$parseAtom();if(s0===peg$FAILED){s0=peg$parseString()}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c313)}}return s0}function peg$parseIntegerLiteral(){var s0,s1,s2,s3;if(input.charCodeAt(peg$currPos)===48){s0=peg$c314;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c315)}}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseNonZeroDigit();if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseDecimalDigit(){var s0;if(peg$c316.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c317)}}return s0}function peg$parseNonZeroDigit(){var s0;if(peg$c318.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c319)}}return s0}function peg$parseHexDigit(){var s0;if(peg$c320.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c321)}}return s0}function peg$parseBinaryDigit(){var s0;if(peg$c322.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c323)}}return s0}function peg$parseOctalDigit(){var s0;if(peg$c322.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c323)}}return s0}function peg$parseNonNegNumber(){var s0,s1,s2,s3,s4;peg$silentFails++;s0=peg$currPos;s1=peg$parseIntegerLiteral();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s2=peg$c325;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseIntegerLiteral();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c324)}}return s0}function peg$parseJsNumericLiteral(){var s0,s1;peg$silentFails++;s0=peg$currPos;s1=peg$parseJsHexIntegerLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseJsBinaryIntegerLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseNonJsOctalIntegerLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseJsDecimalLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c330){s1=peg$c330;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c331)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c332()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c333){s1=peg$c333;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c334)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c336){s1=peg$c336;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c337)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c338){s1=peg$c338;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c339)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c340){s1=peg$c340;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c341)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c342){s1=peg$c342;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c343)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c344){s1=peg$c344;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c345)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c346){s1=peg$c346;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c347)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c348){s1=peg$c348;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c349)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c351){s1=peg$c351;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c352)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c353){s1=peg$c353;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c354)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c355){s1=peg$c355;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c356)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8734){s1=peg$c357;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c358)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c359){s1=peg$c359;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c360)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c361()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c362){s1=peg$c362;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c363)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c361()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===949){s1=peg$c364;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c365)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c361()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c366){s1=peg$c366;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c367)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c368()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c369){s1=peg$c369;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c370)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c368()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===960){s1=peg$c371;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c372)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c368()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c373){s1=peg$c373;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c374)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===69){s1=peg$c376;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c377)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===101){s1=peg$c378;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c379)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===400){s1=peg$c380;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c381)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8455){s1=peg$c382;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c383)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c384){s1=peg$c384;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c385)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c386()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c387){s1=peg$c387;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c388)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c389()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c390){s1=peg$c390;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c391)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c392()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c393){s1=peg$c393;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c394)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c392()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c395){s1=peg$c395;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c396)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c397()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c398){s1=peg$c398;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c399)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c397()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c400){s1=peg$c400;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c401)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c402()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c403){s1=peg$c403;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c404)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c405()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c406){s1=peg$c406;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c407)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c408()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c409){s1=peg$c409;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c410)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c411()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c412){s1=peg$c412;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c413)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c414()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c415){s1=peg$c415;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c416)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c417()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c418){s1=peg$c418;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c419)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c421){s1=peg$c421;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c422)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c423){s1=peg$c423;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c424)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===981){s1=peg$c425;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c426)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===966){s1=peg$c427;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c428)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c429){s1=peg$c429;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c430)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===947){s1=peg$c432;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c433)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c434){s1=peg$c434;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c435)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===947){s1=peg$c432;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c433)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c328)}}return s0}function peg$parseJsDecimalLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseJsDecimalIntegerLiteral();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s2=peg$c325;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){s4=peg$parseJsNExponentPart();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===46){s1=peg$c325;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}}else{s2=peg$FAILED}if(s2!==peg$FAILED){s3=peg$parseJsNExponentPart();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseJsDecimalIntegerLiteral();if(s1!==peg$FAILED){s2=peg$parseJsNExponentPart();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}return s0}function peg$parseJsDecimalIntegerLiteral(){var s0,s1,s2,s3;if(input.charCodeAt(peg$currPos)===48){s0=peg$c314;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c315)}}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseNonZeroDigit();if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseJsNExponentPart(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseJsNExponentIndicator();if(s1!==peg$FAILED){s2=peg$parseJsNSignedInteger();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseJsNExponentIndicator(){var s0;if(input.substr(peg$currPos,1).toLowerCase()===peg$c378){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c436)}}return s0}function peg$parseJsNSignedInteger(){var s0,s1,s2,s3;s0=peg$currPos;if(peg$c437.test(input.charAt(peg$currPos))){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c438)}}if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}}else{s2=peg$FAILED}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseJsHexIntegerLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2).toLowerCase()===peg$c439){s1=input.substr(peg$currPos,2);peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c440)}}if(s1!==peg$FAILED){s2=peg$currPos;s3=[];s4=peg$parseHexDigit();if(s4!==peg$FAILED){while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseHexDigit()}}else{s3=peg$FAILED}if(s3!==peg$FAILED){s2=input.substring(s2,peg$currPos)}else{s2=s3}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c441(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseJsBinaryIntegerLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2).toLowerCase()===peg$c442){s1=input.substr(peg$currPos,2);peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c443)}}if(s1!==peg$FAILED){s2=peg$currPos;s3=[];s4=peg$parseBinaryDigit();if(s4!==peg$FAILED){while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseBinaryDigit()}}else{s3=peg$FAILED}if(s3!==peg$FAILED){s2=input.substring(s2,peg$currPos)}else{s2=s3}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c444(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseNonJsOctalIntegerLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2).toLowerCase()===peg$c445){s1=input.substr(peg$currPos,2);peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c446)}}if(s1!==peg$FAILED){s2=peg$currPos;s3=[];s4=peg$parseOctalDigit();if(s4!==peg$FAILED){while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseOctalDigit()}}else{s3=peg$FAILED}if(s3!==peg$FAILED){s2=input.substring(s2,peg$currPos)}else{s2=s3}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c447(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSemVer(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;s1=peg$parseIntegerLiteral();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s2=peg$c325;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s2!==peg$FAILED){s3=peg$parseIntegerLiteral();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s4=peg$c325;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s4!==peg$FAILED){s5=peg$parseIntegerLiteral();if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c448(s1,s3,s5);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseUrlProtocol(){var s0;if(input.substr(peg$currPos,7)===peg$c459){s0=peg$c459;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c460)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c461){s0=peg$c461;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c462)}}}return s0}function peg$parseURL(){var s0,s1,s2,s3;s0=peg$currPos;s1=peg$parseUrlProtocol();if(s1!==peg$FAILED){s2=[];if(peg$c463.test(input.charAt(peg$currPos))){s3=input.charAt(peg$currPos);peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c464)}}if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);if(peg$c463.test(input.charAt(peg$currPos))){s3=input.charAt(peg$currPos);peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c464)}}}}else{s2=peg$FAILED}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c465();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSvgColorLabel(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c466){s1=peg$c466;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c467)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c468()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c469){s1=peg$c469;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c470)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c468()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c471){s1=peg$c471;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c472)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c473()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c474){s1=peg$c474;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c475)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c473()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c476){s1=peg$c476;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c477)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c478()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c479){s1=peg$c479;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c480)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c478()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c481){s1=peg$c481;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c482)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c484){s1=peg$c484;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c485)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c486){s1=peg$c486;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c487)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c488()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c489){s1=peg$c489;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c490)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c488()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c491){s1=peg$c491;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c492)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c493()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c494){s1=peg$c494;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c495)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c493()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c496){s1=peg$c496;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c497)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c498()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c499){s1=peg$c499;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c500)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c498()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c501){s1=peg$c501;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c502)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c503()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c504){s1=peg$c504;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c505)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c503()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c506){s1=peg$c506;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c507)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c508()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c509){s1=peg$c509;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c510)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c508()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c511){s1=peg$c511;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c512)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c513()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c514){s1=peg$c514;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c515)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c513()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c516){s1=peg$c516;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c517)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c518()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c519){s1=peg$c519;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c520)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c518()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c521){s1=peg$c521;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c522)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c523()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c524){s1=peg$c524;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c525)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c523()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c526){s1=peg$c526;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c527)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c528()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c529){s1=peg$c529;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c530)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c528()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c531){s1=peg$c531;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c532)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c533()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c534){s1=peg$c534;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c535)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c533()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c536){s1=peg$c536;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c537)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c538()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c539){s1=peg$c539;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c540)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c538()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c541){s1=peg$c541;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c542)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c543()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c544){s1=peg$c544;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c545)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c543()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c546){s1=peg$c546;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c547)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c548()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c549){s1=peg$c549;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c550)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c548()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c551){s1=peg$c551;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c552)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c553()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c554){s1=peg$c554;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c555)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c553()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c556){s1=peg$c556;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c557)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c558()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c559){s1=peg$c559;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c560)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c558()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c561){s1=peg$c561;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c562)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c563()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c564){s1=peg$c564;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c565)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c563()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c566){s1=peg$c566;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c567)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c568){s1=peg$c568;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c569)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c570){s1=peg$c570;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c571)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c572()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c573){s1=peg$c573;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c574)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c572()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c575){s1=peg$c575;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c576)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c577()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c578){s1=peg$c578;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c579)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c577()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c580){s1=peg$c580;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c581)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c582()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c583){s1=peg$c583;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c584)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c582()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c585){s1=peg$c585;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c586)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c588){s1=peg$c588;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c589)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c590){s1=peg$c590;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c591)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c592){s1=peg$c592;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c593)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c594){s1=peg$c594;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c595)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c596()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c597){s1=peg$c597;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c598)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c596()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c599){s1=peg$c599;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c600)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c601()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c602){s1=peg$c602;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c603)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c601()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c604){s1=peg$c604;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c605)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c606()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c607){s1=peg$c607;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c608)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c606()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c609){s1=peg$c609;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c610)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c611()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c612){s1=peg$c612;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c613)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c611()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c614){s1=peg$c614;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c615)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c616()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c617){s1=peg$c617;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c618)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c616()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c619){s1=peg$c619;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c620)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c621()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c622){s1=peg$c622;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c623)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c621()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c624){s1=peg$c624;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c625)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c626()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c627){s1=peg$c627;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c628)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c626()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c629){s1=peg$c629;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c630)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c631()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c632){s1=peg$c632;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c633)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c631()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c634){s1=peg$c634;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c635)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c636()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c637){s1=peg$c637;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c638)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c636()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c639){s1=peg$c639;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c640)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c641()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c642){s1=peg$c642;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c643)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c641()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c644){s1=peg$c644;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c645)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c647){s1=peg$c647;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c648)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c649){s1=peg$c649;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c650)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c651){s1=peg$c651;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c652)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c653){s1=peg$c653;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c654)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c655()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c656){s1=peg$c656;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c657)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c655()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c658){s1=peg$c658;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c659)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c660()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c661){s1=peg$c661;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c662)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c660()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c663){s1=peg$c663;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c664)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c665()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c666){s1=peg$c666;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c667)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c665()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c668){s1=peg$c668;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c669)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c670()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c671){s1=peg$c671;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c672)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c670()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c673){s1=peg$c673;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c674)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c676){s1=peg$c676;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c677)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c678){s1=peg$c678;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c679)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c680){s1=peg$c680;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c681)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c682){s1=peg$c682;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c683)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c684()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c685){s1=peg$c685;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c686)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c684()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c687){s1=peg$c687;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c688)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c689()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c690){s1=peg$c690;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c691)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c689()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c692){s1=peg$c692;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c693)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c694()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c695){s1=peg$c695;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c696)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c694()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c697){s1=peg$c697;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c698)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c699()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c700){s1=peg$c700;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c701)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c699()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c702){s1=peg$c702;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c703)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c705){s1=peg$c705;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c706)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c707){s1=peg$c707;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c708)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c709()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c710){s1=peg$c710;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c711)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c709()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c712){s1=peg$c712;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c713)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c714()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c715){s1=peg$c715;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c716)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c714()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c717){s1=peg$c717;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c718)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c719()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c720){s1=peg$c720;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c721)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c719()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c722){s1=peg$c722;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c723)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c724()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c725){s1=peg$c725;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c726)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c724()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c727){s1=peg$c727;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c728)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c730){s1=peg$c730;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c731)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c732){s1=peg$c732;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c733)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c734){s1=peg$c734;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c735)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c736){s1=peg$c736;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c737)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c738()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c739){s1=peg$c739;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c740)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c738()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c741){s1=peg$c741;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c742)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c743()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c744){s1=peg$c744;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c745)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c743()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c746){s1=peg$c746;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c747)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c748()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c749){s1=peg$c749;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c750)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c748()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c751){s1=peg$c751;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c752)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c753()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c754){s1=peg$c754;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c755)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c753()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c756){s1=peg$c756;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c757)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c758()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c759){s1=peg$c759;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c760)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c758()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c761){s1=peg$c761;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c762)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c763()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c764){s1=peg$c764;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c765)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c763()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c766){s1=peg$c766;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c767)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c768()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c769){s1=peg$c769;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c770)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c768()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c771){s1=peg$c771;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c772)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c773()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c774){s1=peg$c774;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c775)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c773()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c776){s1=peg$c776;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c777)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c778()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c779){s1=peg$c779;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c780)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c778()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c781){s1=peg$c781;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c782)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c783()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c784){s1=peg$c784;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c785)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c783()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c786){s1=peg$c786;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c787)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c788()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c789){s1=peg$c789;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c790)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c788()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c791){s1=peg$c791;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c792)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c793()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c794){s1=peg$c794;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c795)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c793()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c796){s1=peg$c796;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c797)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c798()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c799){s1=peg$c799;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c800)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c798()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c801){s1=peg$c801;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c802)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c803()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c804){s1=peg$c804;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c805)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c803()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c806){s1=peg$c806;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c807)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c808()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c809){s1=peg$c809;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c810)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c808()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,20)===peg$c811){s1=peg$c811;peg$currPos+=20}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c812)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c813()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,20)===peg$c814){s1=peg$c814;peg$currPos+=20}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c815)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c813()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c816){s1=peg$c816;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c817)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c819){s1=peg$c819;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c820)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c821){s1=peg$c821;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c822)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c823){s1=peg$c823;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c824)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c825){s1=peg$c825;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c826)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c827()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c828){s1=peg$c828;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c829)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c827()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c830){s1=peg$c830;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c831)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c832()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c833){s1=peg$c833;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c834)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c832()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c835){s1=peg$c835;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c836)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c837()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c838){s1=peg$c838;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c839)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c837()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c840){s1=peg$c840;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c841)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c842()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c843){s1=peg$c843;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c844)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c842()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c845){s1=peg$c845;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c846)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c847()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c848){s1=peg$c848;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c849)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c847()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c850){s1=peg$c850;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c851)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c853){s1=peg$c853;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c854)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c855){s1=peg$c855;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c856)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c857){s1=peg$c857;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c858)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c859){s1=peg$c859;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c860)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c861()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c862){s1=peg$c862;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c863)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c861()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c864){s1=peg$c864;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c865)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c866()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c867){s1=peg$c867;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c868)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c866()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c869){s1=peg$c869;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c870)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c871()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c872){s1=peg$c872;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c873)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c871()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c874){s1=peg$c874;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c875)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c876()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c877){s1=peg$c877;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c878)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c876()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c879){s1=peg$c879;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c880)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c881()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c882){s1=peg$c882;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c883)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c881()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c884){s1=peg$c884;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c885)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c886){s1=peg$c886;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c887)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c888){s1=peg$c888;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c889)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c890()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c891){s1=peg$c891;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c892)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c890()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c893){s1=peg$c893;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c894)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c895()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c896){s1=peg$c896;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c897)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c895()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c898){s1=peg$c898;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c899)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c900()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c901){s1=peg$c901;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c902)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c900()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c903){s1=peg$c903;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c904)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c905()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c906){s1=peg$c906;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c907)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c905()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c908){s1=peg$c908;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c909)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c910()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c911){s1=peg$c911;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c912)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c910()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c913){s1=peg$c913;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c914)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c915()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c916){s1=peg$c916;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c917)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c915()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c918){s1=peg$c918;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c919)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c920()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c921){s1=peg$c921;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c922)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c920()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,17)===peg$c923){s1=peg$c923;peg$currPos+=17}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c924)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c925()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,17)===peg$c926){s1=peg$c926;peg$currPos+=17}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c927)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c925()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c928){s1=peg$c928;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c929)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c930()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c931){s1=peg$c931;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c932)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c930()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c933){s1=peg$c933;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c934)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c935()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c936){s1=peg$c936;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c937)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c935()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c938){s1=peg$c938;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c939)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c940()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c941){s1=peg$c941;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c942)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c940()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c943){s1=peg$c943;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c944)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c945()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c946){s1=peg$c946;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c947)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c945()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c948){s1=peg$c948;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c949)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c950()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c951){s1=peg$c951;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c952)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c950()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c953){s1=peg$c953;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c954)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c955()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c956){s1=peg$c956;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c957)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c955()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c958){s1=peg$c958;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c959)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c960()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c961){s1=peg$c961;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c962)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c960()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c963){s1=peg$c963;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c964)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c965()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c966){s1=peg$c966;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c967)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c965()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c968){s1=peg$c968;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c969)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c970()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c971){s1=peg$c971;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c972)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c970()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c973){s1=peg$c973;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c974)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c975()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c976){s1=peg$c976;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c977)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c975()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c978){s1=peg$c978;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c979)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c980()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c981){s1=peg$c981;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c982)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c980()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c983){s1=peg$c983;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c984)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c985()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c986){s1=peg$c986;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c987)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c985()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c988){s1=peg$c988;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c989)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c990()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c991){s1=peg$c991;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c992)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c990()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c993){s1=peg$c993;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c994)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c995()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c996){s1=peg$c996;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c997)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c995()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c998){s1=peg$c998;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c999)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1000()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1001){s1=peg$c1001;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1002)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1000()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1003){s1=peg$c1003;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1004)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1005()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1006){s1=peg$c1006;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1007)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1005()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1008){s1=peg$c1008;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1009)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1010()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1011){s1=peg$c1011;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1012)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1010()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1013){s1=peg$c1013;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1014)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1015()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1016){s1=peg$c1016;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1017)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1015()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1018){s1=peg$c1018;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1019)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1020()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1021){s1=peg$c1021;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1022)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1020()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1023){s1=peg$c1023;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1024)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1025()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1026){s1=peg$c1026;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1027)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1025()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1028){s1=peg$c1028;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1029)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1030()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1031){s1=peg$c1031;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1032)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1030()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1033){s1=peg$c1033;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1034)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1035()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1036){s1=peg$c1036;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1037)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1035()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1038){s1=peg$c1038;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1039)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1040()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1041){s1=peg$c1041;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1042)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1040()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1043){s1=peg$c1043;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1044)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1045()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1046){s1=peg$c1046;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1047)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1045()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1048){s1=peg$c1048;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1049)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1050()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1051){s1=peg$c1051;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1052)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1050()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1053){s1=peg$c1053;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1054)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1055()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1056){s1=peg$c1056;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1057)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1055()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1058){s1=peg$c1058;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1059)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1060()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1061){s1=peg$c1061;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1062)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1060()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1063){s1=peg$c1063;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1064)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1065()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1066){s1=peg$c1066;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1067)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1065()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1068){s1=peg$c1068;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1069)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1070()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1071){s1=peg$c1071;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1072)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1070()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1073){s1=peg$c1073;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1074)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1075()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1076){s1=peg$c1076;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1077)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1075()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1078){s1=peg$c1078;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1079)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1080()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1081){s1=peg$c1081;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1082)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1080()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1083){s1=peg$c1083;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1084)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1085()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1086){s1=peg$c1086;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1087)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1085()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1088){s1=peg$c1088;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1089)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1090()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1091){s1=peg$c1091;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1092)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1090()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1093){s1=peg$c1093;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1094)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1095()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1096){s1=peg$c1096;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1097)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1095()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1098){s1=peg$c1098;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1099)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1100()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1101){s1=peg$c1101;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1102)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1100()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1103){s1=peg$c1103;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1104)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1105()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1106){s1=peg$c1106;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1107)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1105()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1108){s1=peg$c1108;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1109)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1110()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1111){s1=peg$c1111;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1112)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1110()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1113){s1=peg$c1113;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1114)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1116){s1=peg$c1116;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1117)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1118){s1=peg$c1118;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1119)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1120){s1=peg$c1120;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1121)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1122){s1=peg$c1122;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1123)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1124()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1125){s1=peg$c1125;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1126)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1124()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1127){s1=peg$c1127;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1128)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1129()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1130){s1=peg$c1130;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1131)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1129()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1132){s1=peg$c1132;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1133)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1134()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1135){s1=peg$c1135;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1136)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1134()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1137){s1=peg$c1137;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1138)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1139()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1140){s1=peg$c1140;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1141)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1139()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1142){s1=peg$c1142;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1143)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1144()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1145){s1=peg$c1145;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1146)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1144()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1147){s1=peg$c1147;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1148)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1149()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1150){s1=peg$c1150;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1151)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1149()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1152){s1=peg$c1152;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1153)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1154()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1155){s1=peg$c1155;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1156)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1154()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1157){s1=peg$c1157;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1158)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1159()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1160){s1=peg$c1160;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1161)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1159()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1162){s1=peg$c1162;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1163)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1164()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1165){s1=peg$c1165;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1166)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1164()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1167){s1=peg$c1167;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1168)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1169()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1170){s1=peg$c1170;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1171)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1169()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1172){s1=peg$c1172;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1173)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1174()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1175){s1=peg$c1175;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1176)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1174()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1177){s1=peg$c1177;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1178)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1179()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1180){s1=peg$c1180;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1181)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1179()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1182){s1=peg$c1182;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1183)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1184()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1185){s1=peg$c1185;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1186)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1184()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1187){s1=peg$c1187;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1188)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1189()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1190){s1=peg$c1190;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1191)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1189()}s0=s1}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}return s0}function peg$parseSvgColor(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseSvgColorLabel();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c1192(s1);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgb3(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1195(s2,s3,s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgb6(){var s0,s1,s2,s3,s4,s5,s6,s7,s8;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseHexDigit();if(s5!==peg$FAILED){s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseWS();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){peg$savedPos=s0;s1=peg$c1196(s2,s3,s4,s5,s6,s7);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgba4(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseHexDigit();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1197(s2,s3,s4,s5);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgba8(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseHexDigit();if(s5!==peg$FAILED){s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseHexDigit();if(s8!==peg$FAILED){s9=peg$parseHexDigit();if(s9!==peg$FAILED){s10=peg$parseWS();if(s10===peg$FAILED){s10=null}if(s10!==peg$FAILED){peg$savedPos=s0;s1=peg$c1198(s2,s3,s4,s5,s6,s7,s8,s9);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseColor(){var s0;peg$silentFails++;s0=peg$parseSvgColor();if(s0===peg$FAILED){s0=peg$parseRgba8();if(s0===peg$FAILED){s0=peg$parseRgb6();if(s0===peg$FAILED){s0=peg$parseRgba4();if(s0===peg$FAILED){s0=peg$parseRgb3()}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1199)}}return s0}function peg$parseArrowItemKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1200){s0=peg$c1200;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1201)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1202){s0=peg$c1202;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1203)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1204){s0=peg$c1204;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1205)}}}}return s0}function peg$parseArrowItem(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseArrowItemKey();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1210(s2,s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSingleEdgeColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1212){s2=peg$c1212;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1213)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1214(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1211)}}return s0}function peg$parseTransitionLineStyle(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1216){s2=peg$c1216;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1217)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLineStyle();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1218(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1215)}}return s0}function peg$parseArrowItems(){var s0,s1;s0=peg$parseSingleEdgeColor();if(s0===peg$FAILED){s0=peg$parseTransitionLineStyle();if(s0===peg$FAILED){s0=[];s1=peg$parseArrowItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseArrowItem()}}else{s0=peg$FAILED}}}return s0}function peg$parseArrowDesc(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===123){s1=peg$c1219;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseArrowItems();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===125){s5=peg$c1221;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1222)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1223(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrowProbability(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseNonNegNumber();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===37){s2=peg$c1224;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1225)}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c1226(s1);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLabelList(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===91){s1=peg$c11;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c12)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$currPos;s5=peg$parseLabel();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}while(s4!==peg$FAILED){s3.push(s4);s4=peg$currPos;s5=peg$parseLabel();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===93){s4=peg$c13;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c14)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1227(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLabelOrLabelList(){var s0;s0=peg$parseLabelList();if(s0===peg$FAILED){s0=peg$parseLabel()}return s0}function peg$parseStripe(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1228){s1=peg$c1228;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1229)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1230(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1231){s1=peg$c1231;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1232)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1233(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseCycle(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===43){s1=peg$c1234;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1235)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1236(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===45){s1=peg$c1237;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1238)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1239(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1240){s1=peg$c1240;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1241)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1242()}s0=s1}}return s0}function peg$parseArrowTarget(){var s0;s0=peg$parseStripe();if(s0===peg$FAILED){s0=peg$parseCycle();if(s0===peg$FAILED){s0=peg$parseLabelList();if(s0===peg$FAILED){s0=peg$parseLabel()}}}return s0}function peg$parseSubexp(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13,s14,s15,s16,s17,s18;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseActionLabel();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseArrowProbability();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseArrowDesc();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseArrow();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){s10=peg$parseArrowDesc();if(s10===peg$FAILED){s10=null}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){s12=peg$parseArrowProbability();if(s12===peg$FAILED){s12=null}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){s14=peg$parseActionLabel();if(s14===peg$FAILED){s14=null}if(s14!==peg$FAILED){s15=peg$parseWS();if(s15===peg$FAILED){s15=null}if(s15!==peg$FAILED){s16=peg$parseArrowTarget();if(s16!==peg$FAILED){s17=peg$parseWS();if(s17===peg$FAILED){s17=null}if(s17!==peg$FAILED){s18=peg$parseSubexp();if(s18===peg$FAILED){s18=null}if(s18!==peg$FAILED){peg$savedPos=s0;s1=peg$c1243(s2,s4,s6,s8,s10,s12,s14,s16,s18);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseExp(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;s1=peg$parseArrowTarget();if(s1!==peg$FAILED){s2=peg$parseSubexp();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1244(s1,s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseValidationKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1245){s0=peg$c1245;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1247){s0=peg$c1247;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}}return s0}function peg$parseValidationItem(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseValidationKey();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s2=peg$c1206;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1249(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseValidationItems(){var s0,s1;s0=[];s1=peg$parseValidationItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseValidationItem()}}else{s0=peg$FAILED}return s0}function peg$parseConfigValidation(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1250){s2=peg$c1250;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1251)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseValidationItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1254(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseGvizLayout(){var s0;if(input.substr(peg$currPos,3)===peg$c1255){s0=peg$c1255;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1256)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1257){s0=peg$c1257;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1258)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c1259){s0=peg$c1259;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1260)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1261){s0=peg$c1261;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1262)}}}}}return s0}function peg$parseStateItems(){var s0,s1;s0=[];s1=peg$parseStateDeclarationItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseStateDeclarationItem()}}else{s0=peg$FAILED}return s0}function peg$parseConfigState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1263){s2=peg$c1263;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1264)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1265(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigStartState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1266){s2=peg$c1266;peg$currPos+=11}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1267)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1268(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigEndState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1269){s2=peg$c1269;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1270)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1271(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigActiveState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1272){s2=peg$c1272;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1273)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1274(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigTerminalState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,14)===peg$c1275){s2=peg$c1275;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1276)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1277(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigHookedState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1278){s2=peg$c1278;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1279)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1280(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigAnyState(){var s0;s0=peg$parseConfigState();if(s0===peg$FAILED){s0=peg$parseConfigStartState();if(s0===peg$FAILED){s0=peg$parseConfigEndState();if(s0===peg$FAILED){s0=peg$parseConfigActiveState();if(s0===peg$FAILED){s0=peg$parseConfigTerminalState();if(s0===peg$FAILED){s0=peg$parseConfigHookedState()}}}}}return s0}function peg$parseActionKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1245){s0=peg$c1245;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1247){s0=peg$c1247;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}}return s0}function peg$parseActionItem(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseActionKey();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s2=peg$c1206;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1281(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseActionItems(){var s0,s1;s0=[];s1=peg$parseActionItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseActionItem()}}else{s0=peg$FAILED}return s0}function peg$parseConfigAction(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1282){s2=peg$c1282;peg$currPos+=6}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1283)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseActionItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1284(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTransitionKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1245){s0=peg$c1245;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1247){s0=peg$c1247;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}}return s0}function peg$parseTransitionItem(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseTransitionKey();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s2=peg$c1206;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1285(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTransitionItems(){var s0,s1;s0=peg$parseGraphDefaultEdgeColor();if(s0===peg$FAILED){s0=[];s1=peg$parseTransitionItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseTransitionItem()}}else{s0=peg$FAILED}}return s0}function peg$parseGraphDefaultEdgeColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1212){s2=peg$c1212;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1213)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1287(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1286)}}return s0}function peg$parseConfigTransition(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1288){s2=peg$c1288;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1289)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseTransitionItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1290(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigGraphLayout(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1291){s2=peg$c1291;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1292)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseGvizLayout();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1293(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigStartNodes(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1294){s2=peg$c1294;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1295)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1296(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigEndNodes(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1297){s2=peg$c1297;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1298)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1299(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigGraphBgColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,14)===peg$c1300){s2=peg$c1300;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1301)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1302(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfig(){var s0;peg$silentFails++;s0=peg$parseConfigGraphLayout();if(s0===peg$FAILED){s0=peg$parseConfigStartNodes();if(s0===peg$FAILED){s0=peg$parseConfigEndNodes();if(s0===peg$FAILED){s0=peg$parseConfigTransition();if(s0===peg$FAILED){s0=peg$parseConfigAction();if(s0===peg$FAILED){s0=peg$parseConfigAnyState();if(s0===peg$FAILED){s0=peg$parseConfigValidation();if(s0===peg$FAILED){s0=peg$parseConfigGraphBgColor()}}}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1303)}}return s0}function peg$parseLicenseOrLabelOrList(){var s0;if(input.substr(peg$currPos,3)===peg$c1304){s0=peg$c1304;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1305)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1306){s0=peg$c1306;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1307)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1308){s0=peg$c1308;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1309)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1310){s0=peg$c1310;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1311)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1312){s0=peg$c1312;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1313)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c1314){s0=peg$c1314;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1315)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1316){s0=peg$c1316;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1317)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1318){s0=peg$c1318;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1319)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1320){s0=peg$c1320;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1321)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1322){s0=peg$c1322;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1323)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c1324){s0=peg$c1324;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1325)}}if(s0===peg$FAILED){s0=peg$parseLabel();if(s0===peg$FAILED){s0=peg$parseLabelList()}}}}}}}}}}}}return s0}function peg$parseDirection(){var s0;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c1327){s0=peg$c1327;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1328)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1329){s0=peg$c1329;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1330)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1331){s0=peg$c1331;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1332)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1333){s0=peg$c1333;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1334)}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1326)}}return s0}function peg$parseHookDefinition(){var s0;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c1336){s0=peg$c1336;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1337)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1338){s0=peg$c1338;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1339)}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1335)}}return s0}function peg$parseMachineAuthor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,14)===peg$c1340){s2=peg$c1340;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1341)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelOrLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1342(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineContributor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,19)===peg$c1343){s2=peg$c1343;peg$currPos+=19}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1344)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelOrLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1345(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineComment(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1346){s2=peg$c1346;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1347)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelOrLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1348(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineDefinition(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,18)===peg$c1349){s2=peg$c1349;peg$currPos+=18}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1350)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseURL();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1351(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineName(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1352){s2=peg$c1352;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1353)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1354(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineVersion(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1358){s2=peg$c1358;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1359)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseSemVer();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1360(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineLicense(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1361){s2=peg$c1361;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1362)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLicenseOrLabelOrList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1363(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineLanguage(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,16)===peg$c1364){s2=peg$c1364;peg$currPos+=16}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1365)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1366(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseFslVersion(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1367){s2=peg$c1367;peg$currPos+=11}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1368)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseSemVer();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1369(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineTheme(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1370){s2=peg$c1370;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1371)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseThemeOrThemeList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1372(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineFlow(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1373){s2=peg$c1373;peg$currPos+=4}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1374)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseDirection();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1375(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineHookDefinition(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1376){s2=peg$c1376;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1377)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseHookDefinition();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1378(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseDotPreamble(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1379){s2=peg$c1379;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1380)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseString();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1381(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineAttribute(){var s0;peg$silentFails++;s0=peg$parseFslVersion();if(s0===peg$FAILED){s0=peg$parseMachineName();if(s0===peg$FAILED){s0=peg$parseMachineAuthor();if(s0===peg$FAILED){s0=peg$parseMachineContributor();if(s0===peg$FAILED){s0=peg$parseMachineComment();if(s0===peg$FAILED){s0=peg$parseMachineDefinition();if(s0===peg$FAILED){s0=peg$parseMachineVersion();if(s0===peg$FAILED){s0=peg$parseMachineLicense();if(s0===peg$FAILED){s0=peg$parseMachineLanguage();if(s0===peg$FAILED){s0=peg$parseMachineTheme();if(s0===peg$FAILED){s0=peg$parseDotPreamble();if(s0===peg$FAILED){s0=peg$parseMachineFlow();if(s0===peg$FAILED){s0=peg$parseMachineHookDefinition()}}}}}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1382)}}return s0}function peg$parsePropertyVal(){var s0;s0=peg$parseString();if(s0===peg$FAILED){s0=peg$parseBoolean();if(s0===peg$FAILED){s0=peg$parseJsNumericLiteral();if(s0===peg$FAILED){s0=peg$parseNull();if(s0===peg$FAILED){s0=peg$parseUndefined()}}}}return s0}function peg$parseSdStateLabel(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1383){s2=peg$c1383;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1384)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1385(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1199)}}return s0}function peg$parseSdStateColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1386){s2=peg$c1386;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1387)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1388(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1199)}}return s0}function peg$parseSdStateTextColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1390){s2=peg$c1390;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1391)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1392(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1389)}}return s0}function peg$parseSdStateBackgroundColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,16)===peg$c1394){s2=peg$c1394;peg$currPos+=16}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1395)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1396(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1393)}}return s0}function peg$parseSdStateBorderColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1398){s2=peg$c1398;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1399)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1400(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1397)}}return s0}function peg$parseSdStateShape(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1402){s2=peg$c1402;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1403)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseGvizShape();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1404(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1401)}}return s0}function peg$parseSdStateCorners(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,7)===peg$c1406){s2=peg$c1406;peg$currPos+=7}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1407)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseCorners();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1408(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1405)}}return s0}function peg$parseSdStateLineStyle(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1216){s2=peg$c1216;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1217)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLineStyle();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1410(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1411){s2=peg$c1411;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1412)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLineStyle();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1410(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1409)}}return s0}function peg$parseSdStateProperty(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1414){s2=peg$c1414;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1415)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseAtom();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1416(s6,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1414){s2=peg$c1414;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1415)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseAtom();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1417){s10=peg$c1417;peg$currPos+=8}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1418)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s12=peg$c1208;peg$currPos++}else{s12=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){peg$savedPos=s0;s1=peg$c1419(s6,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1413)}}return s0}function peg$parseStateDeclarationItem(){var s0;s0=peg$parseSdStateLabel();if(s0===peg$FAILED){s0=peg$parseSdStateColor();if(s0===peg$FAILED){s0=peg$parseSdStateTextColor();if(s0===peg$FAILED){s0=peg$parseSdStateBackgroundColor();if(s0===peg$FAILED){s0=peg$parseSdStateBorderColor();if(s0===peg$FAILED){s0=peg$parseSdStateShape();if(s0===peg$FAILED){s0=peg$parseSdStateCorners();if(s0===peg$FAILED){s0=peg$parseSdStateLineStyle();if(s0===peg$FAILED){s0=peg$parseSdStateProperty()}}}}}}}}return s0}function peg$parseStateDeclarationDesc(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===123){s1=peg$c1219;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$parseStateDeclarationItem();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseStateDeclarationItem()}if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===125){s5=peg$c1221;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1222)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1223(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseStateDeclaration(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1263){s2=peg$c1263;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1264)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s6=peg$c1206;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateDeclarationDesc();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1420(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseNamedList(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===38){s2=peg$c1421;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1422)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s6=peg$c1206;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseLabelOrLabelList();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1423(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineProperty(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1414){s2=peg$c1414;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1415)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5!==peg$FAILED){if(input.substr(peg$currPos,7)===peg$c3){s6=peg$c3;peg$currPos+=7}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c4)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1417){s10=peg$c1417;peg$currPos+=8}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1418)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s12=peg$c1208;peg$currPos++}else{s12=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){peg$savedPos=s0;s1=peg$c1424(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1414){s2=peg$c1414;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1415)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1417){s6=peg$c1417;peg$currPos+=8}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1418)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1425(s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1414){s2=peg$c1414;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1415)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5!==peg$FAILED){if(input.substr(peg$currPos,7)===peg$c3){s6=peg$c3;peg$currPos+=7}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c4)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1426(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1414){s2=peg$c1414;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1415)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s6=peg$c1208;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){peg$savedPos=s0;s1=peg$c1427(s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}}return s0}function peg$parseRegularArrangeDeclaration(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1428){s1=peg$c1428;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1429)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseLabelOrLabelList();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s5=peg$c1208;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1430(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrangeStartDeclaration(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1431){s1=peg$c1431;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1432)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseLabelOrLabelList();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s5=peg$c1208;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1433(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrangeEndDeclaration(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1434){s1=peg$c1434;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1435)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseLabelOrLabelList();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s5=peg$c1208;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1436(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrangeDeclaration(){var s0;peg$silentFails++;s0=peg$parseArrangeStartDeclaration();if(s0===peg$FAILED){s0=peg$parseArrangeEndDeclaration();if(s0===peg$FAILED){s0=peg$parseRegularArrangeDeclaration()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1437)}}return s0}function peg$parseTerm(){var s0;s0=peg$parseExp();if(s0===peg$FAILED){s0=peg$parseStateDeclaration();if(s0===peg$FAILED){s0=peg$parseArrangeDeclaration();if(s0===peg$FAILED){s0=peg$parseNamedList();if(s0===peg$FAILED){s0=peg$parseMachineAttribute();if(s0===peg$FAILED){s0=peg$parseMachineProperty();if(s0===peg$FAILED){s0=peg$parseConfig()}}}}}}return s0}function peg$parseTermList(){var s0,s1;s0=[];s1=peg$parseTerm();while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseTerm()}return s0}peg$result=peg$startRuleFunction();if(peg$result!==peg$FAILED&&peg$currPos===input.length){return peg$result}else{if(peg$result!==peg$FAILED&&peg$currPos{uTo.map((t=>{const right=makeTransition(this_se,f,t,true);if(right.kind!=="none"){edges.push(right)}const left=makeTransition(this_se,t,f,false);if(left.kind!=="none"){edges.push(left)}}))}));const new_acc=acc.concat(edges);if(next_se){return compile_rule_transition_step(new_acc,to,next_se.to,next_se,next_se.se)}else{return new_acc}}function compile_rule_handle_transition(rule){return compile_rule_transition_step([],rule.from,rule.se.to,rule.se,rule.se.se)}function compile_rule_handler(rule){if(rule.key==="transition"){return{agg_as:"transition",val:compile_rule_handle_transition(rule)}}if(rule.key==="machine_language"){return{agg_as:"machine_language",val:reduce(rule.value)}}if(rule.key==="property_definition"){const ret={agg_as:"property_definition",val:{name:rule.name}};if(rule.hasOwnProperty("default_value")){ret.val.default_value=rule.default_value}if(rule.hasOwnProperty("required")){ret.val.required=rule.required}return ret}if(rule.key==="state_declaration"){if(!rule.name){throw new JssmError(undefined,"State declarations must have a name")}return{agg_as:"state_declaration",val:{state:rule.name,declarations:rule.value}}}if(["arrange_declaration","arrange_start_declaration","arrange_end_declaration"].includes(rule.key)){return{agg_as:rule.key,val:[rule.value]}}const tautologies=["graph_layout","start_states","end_states","machine_name","machine_version","machine_comment","machine_author","machine_contributor","machine_definition","machine_reference","machine_license","fsl_version","state_config","theme","flow","dot_preamble","default_state_config","default_start_state_config","default_end_state_config","default_hooked_state_config","default_active_state_config","default_terminal_state_config"];if(tautologies.includes(rule.key)){return{agg_as:rule.key,val:rule.value}}throw new JssmError(undefined,`compile_rule_handler: Unknown rule: ${JSON.stringify(rule)}`)}function compile(tree){const results={graph_layout:[],transition:[],start_states:[],end_states:[],state_config:[],state_declaration:[],fsl_version:[],machine_author:[],machine_comment:[],machine_contributor:[],machine_definition:[],machine_language:[],machine_license:[],machine_name:[],machine_reference:[],property_definition:[],state_property:{},theme:[],flow:[],dot_preamble:[],arrange_declaration:[],arrange_start_declaration:[],arrange_end_declaration:[],machine_version:[],default_state_config:[],default_active_state_config:[],default_hooked_state_config:[],default_terminal_state_config:[],default_start_state_config:[],default_end_state_config:[]};tree.map((tr=>{const rule=compile_rule_handler(tr),agg_as=rule.agg_as,val=rule.val;results[agg_as]=results[agg_as].concat(val)}));const property_keys=results["property_definition"].map((pd=>pd.name)),repeat_props=find_repeated(property_keys);if(repeat_props.length){throw new JssmError(undefined,`Cannot repeat property definitions. Saw ${JSON.stringify(repeat_props)}`)}const assembled_transitions=[].concat(...results["transition"]);const result_cfg={start_states:results.start_states.length?results.start_states:[assembled_transitions[0].from],end_states:results.end_states,transitions:assembled_transitions,state_property:[]};const oneOnlyKeys=["graph_layout","machine_name","machine_version","machine_comment","fsl_version","machine_license","machine_definition","machine_language","flow","dot_preamble"];oneOnlyKeys.map((oneOnlyKey=>{if(results[oneOnlyKey].length>1){throw new JssmError(undefined,`May only have one ${oneOnlyKey} statement maximum: ${JSON.stringify(results[oneOnlyKey])}`)}else{if(results[oneOnlyKey].length){result_cfg[oneOnlyKey]=results[oneOnlyKey][0]}}}));["arrange_declaration","arrange_start_declaration","arrange_end_declaration","machine_author","machine_contributor","machine_reference","theme","state_declaration","property_definition","default_state_config","default_start_state_config","default_end_state_config","default_hooked_state_config","default_terminal_state_config","default_active_state_config"].map((multiKey=>{if(results[multiKey].length){result_cfg[multiKey]=results[multiKey]}}));results.state_declaration.forEach((sd=>{sd.declarations.forEach((decl=>{if(decl.key==="state_property"){const label=name_bind_prop_and_state(decl.name,sd.state);if(result_cfg.state_property.findIndex((c=>c.name===label))!==-1){throw new JssmError(undefined,`A state may only bind a property once (${sd.state} re-binds ${decl.name})`)}else{result_cfg.state_property.push({name:label,default_value:decl.value})}}}))}));return result_cfg}function make(plan){return compile(wrap_parse(plan))}function transfer_state_properties(state_decl){state_decl.declarations.map((d=>{switch(d.key){case"shape":state_decl.shape=d.value;break;case"color":state_decl.color=d.value;break;case"corners":state_decl.corners=d.value;break;case"line-style":state_decl.lineStyle=d.value;break;case"text-color":state_decl.textColor=d.value;break;case"background-color":state_decl.backgroundColor=d.value;break;case"state-label":state_decl.stateLabel=d.value;break;case"border-color":state_decl.borderColor=d.value;break;case"state_property":state_decl.property={name:d.name,value:d.value};break;default:throw new JssmError(undefined,`Unknown state property: '${JSON.stringify(d)}'`)}}));return state_decl}function state_style_condense(jssk){const state_style={};if(Array.isArray(jssk)){jssk.forEach(((key,i)=>{if(typeof key!=="object"){throw new JssmError(this,`invalid state item ${i} in state_style_condense list: ${JSON.stringify(key)}`)}switch(key.key){case"shape":if(state_style.shape!==undefined){throw new JssmError(this,`cannot redefine 'shape' in state_style_condense, already defined`)}state_style.shape=key.value;break;case"color":if(state_style.color!==undefined){throw new JssmError(this,`cannot redefine 'color' in state_style_condense, already defined`)}state_style.color=key.value;break;case"text-color":if(state_style.textColor!==undefined){throw new JssmError(this,`cannot redefine 'text-color' in state_style_condense, already defined`)}state_style.textColor=key.value;break;case"corners":if(state_style.corners!==undefined){throw new JssmError(this,`cannot redefine 'corners' in state_style_condense, already defined`)}state_style.corners=key.value;break;case"line-style":if(state_style.lineStyle!==undefined){throw new JssmError(this,`cannot redefine 'line-style' in state_style_condense, already defined`)}state_style.lineStyle=key.value;break;case"background-color":if(state_style.backgroundColor!==undefined){throw new JssmError(this,`cannot redefine 'background-color' in state_style_condense, already defined`)}state_style.backgroundColor=key.value;break;case"state-label":if(state_style.stateLabel!==undefined){throw new JssmError(this,`cannot redefine 'state-label' in state_style_condense, already defined`)}state_style.stateLabel=key.value;break;case"border-color":if(state_style.borderColor!==undefined){throw new JssmError(this,`cannot redefine 'border-color' in state_style_condense, already defined`)}state_style.borderColor=key.value;break;default:throw new JssmError(this,`unknown state style key in condense: ${key.key}`)}}))}else if(jssk===undefined);else{throw new JssmError(this,"state_style_condense received a non-array")}return state_style}class Machine{constructor({start_states:start_states,end_states:end_states=[],complete:complete=[],transitions:transitions,machine_author:machine_author,machine_comment:machine_comment,machine_contributor:machine_contributor,machine_definition:machine_definition,machine_language:machine_language,machine_license:machine_license,machine_name:machine_name,machine_version:machine_version,state_declaration:state_declaration,property_definition:property_definition,state_property:state_property,fsl_version:fsl_version,dot_preamble:dot_preamble=undefined,arrange_declaration:arrange_declaration=[],arrange_start_declaration:arrange_start_declaration=[],arrange_end_declaration:arrange_end_declaration=[],theme:theme=["default"],flow:flow="down",graph_layout:graph_layout="dot",instance_name:instance_name,history:history,data:data,default_state_config:default_state_config,default_active_state_config:default_active_state_config,default_hooked_state_config:default_hooked_state_config,default_terminal_state_config:default_terminal_state_config,default_start_state_config:default_start_state_config,default_end_state_config:default_end_state_config}){this._instance_name=instance_name;this._state=start_states[0];this._states=new Map;this._state_declarations=new Map;this._edges=[];this._edge_map=new Map;this._named_transitions=new Map;this._actions=new Map;this._reverse_actions=new Map;this._reverse_action_targets=new Map;this._start_states=new Set(start_states);this._end_states=new Set(end_states);this._machine_author=array_box_if_string(machine_author);this._machine_comment=machine_comment;this._machine_contributor=array_box_if_string(machine_contributor);this._machine_definition=machine_definition;this._machine_language=machine_language;this._machine_license=machine_license;this._machine_name=machine_name;this._machine_version=machine_version;this._raw_state_declaration=state_declaration||[];this._fsl_version=fsl_version;this._arrange_declaration=arrange_declaration;this._arrange_start_declaration=arrange_start_declaration;this._arrange_end_declaration=arrange_end_declaration;this._dot_preamble=dot_preamble;this._themes=theme;this._flow=flow;this._graph_layout=graph_layout;this._has_hooks=false;this._has_basic_hooks=false;this._has_named_hooks=false;this._has_entry_hooks=false;this._has_exit_hooks=false;this._has_global_action_hooks=false;this._has_transition_hooks=true;this._hooks=new Map;this._named_hooks=new Map;this._entry_hooks=new Map;this._exit_hooks=new Map;this._global_action_hooks=new Map;this._any_action_hook=undefined;this._standard_transition_hook=undefined;this._main_transition_hook=undefined;this._forced_transition_hook=undefined;this._any_transition_hook=undefined;this._has_post_hooks=false;this._has_post_basic_hooks=false;this._has_post_named_hooks=false;this._has_post_entry_hooks=false;this._has_post_exit_hooks=false;this._has_post_global_action_hooks=false;this._has_post_transition_hooks=true;this._post_hooks=new Map;this._post_named_hooks=new Map;this._post_entry_hooks=new Map;this._post_exit_hooks=new Map;this._post_global_action_hooks=new Map;this._post_any_action_hook=undefined;this._post_standard_transition_hook=undefined;this._post_main_transition_hook=undefined;this._post_forced_transition_hook=undefined;this._post_any_transition_hook=undefined;this._data=data;this._property_keys=new Set;this._default_properties=new Map;this._state_properties=new Map;this._required_properties=new Set;this._state_style=state_style_condense(default_state_config);this._active_state_style=state_style_condense(default_active_state_config);this._hooked_state_style=state_style_condense(default_hooked_state_config);this._terminal_state_style=state_style_condense(default_terminal_state_config);this._start_state_style=state_style_condense(default_start_state_config);this._end_state_style=state_style_condense(default_end_state_config);this._history_length=history||0;this._history=new circular_buffer(this._history_length);this._state_labels=new Map;if(state_declaration){state_declaration.map((state_decl=>{if(this._state_declarations.has(state_decl.state)){throw new JssmError(this,`Added the same state declaration twice: ${JSON.stringify(state_decl.state)}`)}this._state_declarations.set(state_decl.state,transfer_state_properties(state_decl))}))}[...this._state_declarations].map((sd=>{const[key,decl]=sd,labelled=decl.declarations.filter((d=>d.key==="state-label"));if(labelled.length>1){throw new JssmError(this,`state ${key} may only have one state-label; has ${labelled.length}`)}if(labelled.length===1){this._state_labels.set(key,labelled[0].value)}}));transitions.map((tr=>{if(tr.from===undefined){throw new JssmError(this,`transition must define 'from': ${JSON.stringify(tr)}`)}if(tr.to===undefined){throw new JssmError(this,`transition must define 'to': ${JSON.stringify(tr)}`)}const cursor_from=this._states.get(tr.from)||{name:tr.from,from:[],to:[],complete:complete.includes(tr.from)};if(!this._states.has(tr.from)){this._new_state(cursor_from)}const cursor_to=this._states.get(tr.to)||{name:tr.to,from:[],to:[],complete:complete.includes(tr.to)};if(!this._states.has(tr.to)){this._new_state(cursor_to)}if(cursor_from.to.includes(tr.to)){throw new JssmError(this,`already has ${JSON.stringify(tr.from)} to ${JSON.stringify(tr.to)}`)}else{cursor_from.to.push(tr.to);cursor_to.from.push(tr.from)}this._edges.push(tr);const thisEdgeId=this._edges.length-1;if(tr.name){if(this._named_transitions.has(tr.name)){throw new JssmError(this,`named transition "${JSON.stringify(tr.name)}" already created`)}else{this._named_transitions.set(tr.name,thisEdgeId)}}const from_mapping=this._edge_map.get(tr.from)||new Map;if(!this._edge_map.has(tr.from)){this._edge_map.set(tr.from,from_mapping)}from_mapping.set(tr.to,thisEdgeId);if(tr.action){let actionMap=this._actions.get(tr.action);if(!actionMap){actionMap=new Map;this._actions.set(tr.action,actionMap)}if(actionMap.has(tr.from)){throw new JssmError(this,`action ${JSON.stringify(tr.action)} already attached to origin ${JSON.stringify(tr.from)}`)}else{actionMap.set(tr.from,thisEdgeId)}let rActionMap=this._reverse_actions.get(tr.from);if(!rActionMap){rActionMap=new Map;this._reverse_actions.set(tr.from,rActionMap)}rActionMap.set(tr.action,thisEdgeId);if(!this._reverse_action_targets.has(tr.to)){this._reverse_action_targets.set(tr.to,new Map)}}}));if(Array.isArray(property_definition)){property_definition.forEach((pr=>{this._property_keys.add(pr.name);if(pr.hasOwnProperty("default_value")){this._default_properties.set(pr.name,pr.default_value)}if(pr.hasOwnProperty("required")&&pr.required===true){this._required_properties.add(pr.name)}}))}if(Array.isArray(state_property)){state_property.forEach((sp=>{this._state_properties.set(sp.name,sp.default_value)}))}this._state_properties.forEach(((_value,key)=>{const inside=JSON.parse(key);if(Array.isArray(inside)){const j_property=inside[0];if(typeof j_property==="string"){const j_state=inside[1];if(typeof j_state==="string"){if(!this.known_prop(j_property)){throw new JssmError(this,`State "${j_state}" has property "${j_property}" which is not globally declared`)}}}}}));this._required_properties.forEach((dp_key=>{if(this._default_properties.has(dp_key)){throw new JssmError(this,`The property "${dp_key}" is required, but also has a default; these conflict`)}this.states().forEach((s=>{const bound_name=name_bind_prop_and_state(dp_key,s);if(!this._state_properties.has(bound_name)){throw new JssmError(this,`State "${s}" is missing required property "${dp_key}"`)}}))}));if(!this.has_state(this.state())){throw new JssmError(this,`Current start state "${this.state()}" does not exist`)}start_states.forEach(((ss,ssi)=>{if(!this.has_state(ss)){throw new JssmError(this,`Start state ${ssi} "${ss}" does not exist`)}}));if(!(start_states.length===this._start_states.size)){throw new JssmError(this,`Start states cannot be repeated`)}}_new_state(state_config){if(this._states.has(state_config.name)){throw new JssmError(this,`state ${JSON.stringify(state_config.name)} already exists`)}this._states.set(state_config.name,state_config);return state_config.name}state(){return this._state}label_for(state){return this._state_labels.get(state)}display_text(state){var _a;return(_a=this._state_labels.get(state))!==null&&_a!==void 0?_a:state}data(){return this._data}prop(name){const bound_name=name_bind_prop_and_state(name,this.state());if(this._state_properties.has(bound_name)){return this._state_properties.get(bound_name)}else if(this._default_properties.has(name)){return this._default_properties.get(name)}else{return undefined}}strict_prop(name){const bound_name=name_bind_prop_and_state(name,this.state());if(this._state_properties.has(bound_name)){return this._state_properties.get(bound_name)}else if(this._default_properties.has(name)){return this._default_properties.get(name)}else{throw new JssmError(this,`Strictly requested a prop '${name}' which doesn't exist on current state '${this.state()}' and has no default`)}}props(){const ret={};this.known_props().forEach((p=>ret[p]=this.prop(p)));return ret}known_prop(prop_name){return this._property_keys.has(prop_name)}known_props(){return[...this._property_keys]}is_start_state(whichState){return this._start_states.has(whichState)}is_end_state(whichState){return this._end_states.has(whichState)}state_is_final(whichState){return this.state_is_terminal(whichState)||this.state_is_complete(whichState)}is_final(){return this.state_is_final(this.state())}serialize(comment){return{comment:comment,state:this._state,data:this._data,jssm_version:version,history:this._history.toArray(),history_capacity:this._history.capacity,timestamp:(new Date).getTime()}}graph_layout(){return this._graph_layout}dot_preamble(){return this._dot_preamble}machine_author(){return this._machine_author}machine_comment(){return this._machine_comment}machine_contributor(){return this._machine_contributor}machine_definition(){return this._machine_definition}machine_language(){return this._machine_language}machine_license(){return this._machine_license}machine_name(){return this._machine_name}machine_version(){return this._machine_version}raw_state_declarations(){return this._raw_state_declaration}state_declaration(which){return this._state_declarations.get(which)}state_declarations(){return this._state_declarations}fsl_version(){return this._fsl_version}machine_state(){return{internal_state_impl_version:1,actions:this._actions,edge_map:this._edge_map,edges:this._edges,named_transitions:this._named_transitions,reverse_actions:this._reverse_actions,state:this._state,states:this._states}}states(){return Array.from(this._states.keys())}state_for(whichState){const state=this._states.get(whichState);if(state){return state}else{throw new JssmError(this,"No such state",{requested_state:whichState})}}has_state(whichState){return this._states.get(whichState)!==undefined}list_edges(){return this._edges}list_named_transitions(){return this._named_transitions}list_actions(){return Array.from(this._actions.keys())}get uses_actions(){return Array.from(this._actions.keys()).length>0}all_themes(){return[...theme_mapping.keys()]}get themes(){return this._themes}set themes(to){if(typeof to==="string"){this._themes=[to]}else{this._themes=to}}flow(){return this._flow}get_transition_by_state_names(from,to){const emg=this._edge_map.get(from);if(emg){return emg.get(to)}else{return undefined}}lookup_transition_for(from,to){const id=this.get_transition_by_state_names(from,to);return id===undefined||id===null?undefined:this._edges[id]}list_transitions(whichState=this.state()){return{entrances:this.list_entrances(whichState),exits:this.list_exits(whichState)}}list_entrances(whichState=this.state()){return(this._states.get(whichState)||{from:undefined}).from||[]}list_exits(whichState=this.state()){return(this._states.get(whichState)||{to:undefined}).to||[]}probable_exits_for(whichState){const wstate=this._states.get(whichState);if(!wstate){throw new JssmError(this,`No such state ${JSON.stringify(whichState)} in probable_exits_for`)}const wstate_to=wstate.to,wtf=wstate_to.map((ws=>this.lookup_transition_for(this.state(),ws))).filter(Boolean);return wtf}probabilistic_transition(){const selected=weighted_rand_select(this.probable_exits_for(this.state()));return this.transition(selected.to)}probabilistic_walk(n){return seq(n).map((()=>{const state_was=this.state();this.probabilistic_transition();return state_was})).concat([this.state()])}probabilistic_histo_walk(n){return histograph(this.probabilistic_walk(n))}actions(whichState=this.state()){const wstate=this._reverse_actions.get(whichState);if(wstate){return Array.from(wstate.keys())}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}list_states_having_action(whichState){const wstate=this._actions.get(whichState);if(wstate){return Array.from(wstate.keys())}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}list_exit_actions(whichState=this.state()){const ra_base=this._reverse_actions.get(whichState);if(!ra_base){throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}return Array.from(ra_base.values()).map((edgeId=>this._edges[edgeId])).filter((o=>o.from===whichState)).map((filtered=>filtered.action))}probable_action_exits(whichState=this.state()){const ra_base=this._reverse_actions.get(whichState);if(!ra_base){throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}return Array.from(ra_base.values()).map((edgeId=>this._edges[edgeId])).filter((o=>o.from===whichState)).map((filtered=>({action:filtered.action,probability:filtered.probability})))}is_unenterable(whichState){if(!this.has_state(whichState)){throw new JssmError(this,`No such state ${whichState}`)}return this.list_entrances(whichState).length===0}has_unenterables(){return this.states().some((x=>this.is_unenterable(x)))}is_terminal(){return this.state_is_terminal(this.state())}state_is_terminal(whichState){if(!this.has_state(whichState)){throw new JssmError(this,`No such state ${whichState}`)}return this.list_exits(whichState).length===0}has_terminals(){return this.states().some((x=>this.state_is_terminal(x)))}is_complete(){return this.state_is_complete(this.state())}state_is_complete(whichState){const wstate=this._states.get(whichState);if(wstate){return wstate.complete}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}has_completes(){return this.states().some((x=>this.state_is_complete(x)))}set_hook(HookDesc){switch(HookDesc.kind){case"hook":this._hooks.set(hook_name(HookDesc.from,HookDesc.to),HookDesc.handler);this._has_hooks=true;this._has_basic_hooks=true;break;case"named":this._named_hooks.set(named_hook_name(HookDesc.from,HookDesc.to,HookDesc.action),HookDesc.handler);this._has_hooks=true;this._has_named_hooks=true;break;case"global action":this._global_action_hooks.set(HookDesc.action,HookDesc.handler);this._has_hooks=true;this._has_global_action_hooks=true;break;case"any action":this._any_action_hook=HookDesc.handler;this._has_hooks=true;break;case"standard transition":this._standard_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"main transition":this._main_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"forced transition":this._forced_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"any transition":this._any_transition_hook=HookDesc.handler;this._has_hooks=true;break;case"entry":this._entry_hooks.set(HookDesc.to,HookDesc.handler);this._has_hooks=true;this._has_entry_hooks=true;break;case"exit":this._exit_hooks.set(HookDesc.from,HookDesc.handler);this._has_hooks=true;this._has_exit_hooks=true;break;case"post hook":this._post_hooks.set(hook_name(HookDesc.from,HookDesc.to),HookDesc.handler);this._has_post_hooks=true;this._has_post_basic_hooks=true;break;case"post named":this._post_named_hooks.set(named_hook_name(HookDesc.from,HookDesc.to,HookDesc.action),HookDesc.handler);this._has_post_hooks=true;this._has_post_named_hooks=true;break;case"post global action":this._post_global_action_hooks.set(HookDesc.action,HookDesc.handler);this._has_post_hooks=true;this._has_post_global_action_hooks=true;break;case"post any action":this._post_any_action_hook=HookDesc.handler;this._has_post_hooks=true;break;case"post standard transition":this._post_standard_transition_hook=HookDesc.handler;this._has_post_transition_hooks=true;this._has_post_hooks=true;break;case"post main transition":this._post_main_transition_hook=HookDesc.handler;this._has_post_transition_hooks=true;this._has_post_hooks=true;break;case"post forced transition":this._post_forced_transition_hook=HookDesc.handler;this._has_post_transition_hooks=true;this._has_post_hooks=true;break;case"post any transition":this._post_any_transition_hook=HookDesc.handler;this._has_post_hooks=true;break;case"post entry":this._post_entry_hooks.set(HookDesc.to,HookDesc.handler);this._has_post_entry_hooks=true;this._has_post_hooks=true;break;case"post exit":this._post_exit_hooks.set(HookDesc.from,HookDesc.handler);this._has_post_exit_hooks=true;this._has_post_hooks=true;break;default:throw new JssmError(this,`Unknown hook type ${HookDesc.kind}, should be impossible`)}}hook(from,to,handler){this.set_hook({kind:"hook",from:from,to:to,handler:handler});return this}hook_action(from,to,action,handler){this.set_hook({kind:"named",from:from,to:to,action:action,handler:handler});return this}hook_global_action(action,handler){this.set_hook({kind:"global action",action:action,handler:handler});return this}hook_any_action(handler){this.set_hook({kind:"any action",handler:handler});return this}hook_standard_transition(handler){this.set_hook({kind:"standard transition",handler:handler});return this}hook_main_transition(handler){this.set_hook({kind:"main transition",handler:handler});return this}hook_forced_transition(handler){this.set_hook({kind:"forced transition",handler:handler});return this}hook_any_transition(handler){this.set_hook({kind:"any transition",handler:handler});return this}hook_entry(to,handler){this.set_hook({kind:"entry",to:to,handler:handler});return this}hook_exit(from,handler){this.set_hook({kind:"exit",from:from,handler:handler});return this}post_hook(from,to,handler){this.set_hook({kind:"post hook",from:from,to:to,handler:handler});return this}post_hook_action(from,to,action,handler){this.set_hook({kind:"post named",from:from,to:to,action:action,handler:handler});return this}post_hook_global_action(action,handler){this.set_hook({kind:"post global action",action:action,handler:handler});return this}post_hook_any_action(handler){this.set_hook({kind:"post any action",handler:handler});return this}post_hook_standard_transition(handler){this.set_hook({kind:"post standard transition",handler:handler});return this}post_hook_main_transition(handler){this.set_hook({kind:"post main transition",handler:handler});return this}post_hook_forced_transition(handler){this.set_hook({kind:"post forced transition",handler:handler});return this}post_hook_any_transition(handler){this.set_hook({kind:"post any transition",handler:handler});return this}post_hook_entry(to,handler){this.set_hook({kind:"post entry",to:to,handler:handler});return this}post_hook_exit(from,handler){this.set_hook({kind:"post exit",from:from,handler:handler});return this}edges_between(from,to){return this._edges.filter((edge=>edge.from===from&&edge.to===to))}transition_impl(newStateOrAction,newData,wasForced,wasAction){let valid=false,trans_type,newState,fromAction=undefined;if(wasForced){if(this.valid_force_transition(newStateOrAction,newData)){valid=true;trans_type="forced";newState=newStateOrAction}}else if(wasAction){if(this.valid_action(newStateOrAction,newData)){const edge=this.current_action_edge_for(newStateOrAction);valid=true;trans_type=edge.kind;newState=edge.to;fromAction=newStateOrAction}}else{if(this.valid_transition(newStateOrAction,newData)){if(this._has_transition_hooks){trans_type=this.edges_between(this._state,newStateOrAction)[0].kind}valid=true;newState=newStateOrAction}}const hook_args={data:this._data,action:fromAction,from:this._state,to:newState,forced:wasForced,trans_type:trans_type};if(valid){if(this._has_hooks){function update_fields(res){if(res.hasOwnProperty("data")){hook_args.data=res.data;data_changed=true}}let data_changed=false;if(wasAction){const outcome=abstract_hook_step(this._any_action_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome);const outcome2=abstract_hook_step(this._global_action_hooks.get(newStateOrAction),hook_args);if(outcome2.pass===false){return false}update_fields(outcome2)}if(this._any_transition_hook!==undefined){const outcome=abstract_hook_step(this._any_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._has_exit_hooks){const outcome=abstract_hook_step(this._exit_hooks.get(this._state),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._has_named_hooks){if(wasAction){const nhn=named_hook_name(this._state,newState,newStateOrAction),outcome=abstract_hook_step(this._named_hooks.get(nhn),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}}if(this._has_basic_hooks){const hn=hook_name(this._state,newState),outcome=abstract_hook_step(this._hooks.get(hn),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(trans_type==="legal"){const outcome=abstract_hook_step(this._standard_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(trans_type==="main"){const outcome=abstract_hook_step(this._main_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(trans_type==="forced"){const outcome=abstract_hook_step(this._forced_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._has_entry_hooks){const outcome=abstract_hook_step(this._entry_hooks.get(newState),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._history_length){this._history.shove([this._state,this._data])}this._state=newState;if(data_changed){this._data=hook_args.data}}else{if(this._history_length){this._history.shove([this._state,this._data])}this._state=newState}}else{return false}if(this._has_post_hooks){if(wasAction){if(this._post_any_action_hook!==undefined){this._post_any_action_hook(hook_args)}const pgah=this._post_global_action_hooks.get(hook_args.action);if(pgah!==undefined){pgah(hook_args)}}if(this._post_any_transition_hook!==undefined){this._post_any_transition_hook(hook_args)}if(this._has_post_exit_hooks){const peh=this._post_exit_hooks.get(hook_args.from);if(peh!==undefined){peh(hook_args)}}if(this._has_post_named_hooks){if(wasAction){const nhn=named_hook_name(hook_args.from,hook_args.to,hook_args.action),pnh=this._post_named_hooks.get(nhn);if(pnh!==undefined){pnh(hook_args)}}}if(this._has_post_basic_hooks){const hook=this._post_hooks.get(hook_name(hook_args.from,hook_args.to));if(hook!==undefined){hook(hook_args)}}if(trans_type==="legal"){if(this._post_standard_transition_hook!==undefined){this._post_standard_transition_hook(hook_args)}}if(trans_type==="main"){if(this._post_main_transition_hook!==undefined){this._post_main_transition_hook(hook_args)}}if(trans_type==="forced"){if(this._post_forced_transition_hook!==undefined){this._post_forced_transition_hook(hook_args)}}if(this._has_post_entry_hooks){const hook=this._post_entry_hooks.get(hook_args.to);if(hook!==undefined){hook(hook_args)}}}return true}get history(){return this._history.toArray()}get history_inclusive(){const ret=this._history.toArray();ret.push([this.state(),this.data()]);return ret}get history_length(){return this._history_length}set history_length(to){this._history_length=to;this._history.resize(to,true)}action(actionName,newData){return this.transition_impl(actionName,newData,false,true)}get standard_state_style(){return this._state_style}get hooked_state_style(){return this._hooked_state_style}get start_state_style(){return this._start_state_style}get end_state_style(){return this._end_state_style}get terminal_state_style(){return this._terminal_state_style}get active_state_style(){return this._active_state_style}style_for(state){const themes=[];this._themes.forEach((th=>{const theme_impl=theme_mapping.get(th);if(theme_impl!==undefined){themes.push(theme_impl)}}));const layers=[base_theme.state];themes.reverse().map((theme=>{if(theme.state){layers.push(theme.state)}}));if(this._state_style){layers.push(this._state_style)}if(this.state_is_terminal(state)){layers.push(base_theme.terminal);themes.map((theme=>{if(theme.terminal){layers.push(theme.terminal)}}));if(this._terminal_state_style){layers.push(this._terminal_state_style)}}if(this.is_start_state(state)){layers.push(base_theme.start);themes.map((theme=>{if(theme.start){layers.push(theme.start)}}));if(this._start_state_style){layers.push(this._start_state_style)}}if(this.is_end_state(state)){layers.push(base_theme.end);themes.map((theme=>{if(theme.end){layers.push(theme.end)}}));if(this._end_state_style){layers.push(this._end_state_style)}}if(this.state()===state){layers.push(base_theme.active);themes.map((theme=>{if(theme.active){layers.push(theme.active)}}));if(this._active_state_style){layers.push(this._active_state_style)}}const individual_style={},decl=this._state_declarations.get(state);individual_style.color=decl===null||decl===void 0?void 0:decl.color;individual_style.textColor=decl===null||decl===void 0?void 0:decl.textColor;individual_style.borderColor=decl===null||decl===void 0?void 0:decl.borderColor;individual_style.backgroundColor=decl===null||decl===void 0?void 0:decl.backgroundColor;individual_style.lineStyle=decl===null||decl===void 0?void 0:decl.lineStyle;individual_style.corners=decl===null||decl===void 0?void 0:decl.corners;individual_style.shape=decl===null||decl===void 0?void 0:decl.shape;layers.push(individual_style);return layers.reduce(((acc,cur)=>{const composite_state=acc;Object.keys(cur).forEach((key=>{var _a;return composite_state[key]=(_a=cur[key])!==null&&_a!==void 0?_a:composite_state[key]}));return composite_state}),{})}do(actionName,newData){return this.transition_impl(actionName,newData,false,true)}transition(newState,newData){return this.transition_impl(newState,newData,false,false)}go(newState,newData){return this.transition_impl(newState,newData,false,false)}force_transition(newState,newData){return this.transition_impl(newState,newData,true,false)}current_action_for(action){const action_base=this._actions.get(action);return action_base?action_base.get(this.state()):undefined}current_action_edge_for(action){const idx=this.current_action_for(action);if(idx===undefined||idx===null){throw new JssmError(this,`No such action ${JSON.stringify(action)}`)}return this._edges[idx]}valid_action(action,_newData){return this.current_action_for(action)!==undefined}valid_transition(newState,_newData){const transition_for=this.lookup_transition_for(this.state(),newState);if(!transition_for){return false}if(transition_for.forced_only){return false}return true}valid_force_transition(newState,_newData){return this.lookup_transition_for(this.state(),newState)!==undefined}instance_name(){return this._instance_name}sm(template_strings,...remainder){return sm(template_strings,...remainder)}}function sm(template_strings,...remainder){return new Machine(make(template_strings.reduce(((acc,val,idx)=>`${acc}${remainder[idx-1]}${val}`))))}function from(MachineAsString,ExtraConstructorFields){const to_decorate=make(MachineAsString);if(ExtraConstructorFields!==undefined){Object.keys(ExtraConstructorFields).map((key=>to_decorate[key]=ExtraConstructorFields[key]))}return new Machine(to_decorate)}function is_hook_complex_result(hr){if(typeof hr==="object"){if(typeof hr.pass==="boolean"){return true}}return false}function is_hook_rejection(hr){if(hr===true){return false}if(hr===undefined){return false}if(hr===false){return true}if(is_hook_complex_result(hr)){return!hr.pass}throw new TypeError("unknown hook rejection type result")}function abstract_hook_step(maybe_hook,hook_args){if(maybe_hook!==undefined){const result=maybe_hook(hook_args);if(result===undefined){return{pass:true}}if(result===true){return{pass:true}}if(result===false){return{pass:false}}if(is_hook_complex_result(result)){return result}throw new TypeError(`Unknown hook result type ${result}`)}else{return{pass:true}}}function deserialize(machine_string,ser){const machine=from(machine_string,{data:ser.data,history:ser.history_capacity});machine._state=ser.state;ser.history.forEach((history_item=>machine._history.push(history_item)));return machine}exports.FslDirections=FslDirections;exports.Machine=Machine;exports.abstract_hook_step=abstract_hook_step;exports.arrow_direction=arrow_direction;exports.arrow_left_kind=arrow_left_kind;exports.arrow_right_kind=arrow_right_kind;exports.build_time=build_time;exports.compile=compile;exports.constants=constants;exports.deserialize=deserialize;exports.find_repeated=find_repeated;exports.from=from;exports.gviz_shapes=gviz_shapes;exports.histograph=histograph;exports.is_hook_complex_result=is_hook_complex_result;exports.is_hook_rejection=is_hook_rejection;exports.make=make;exports.named_colors=named_colors;exports.parse=wrap_parse;exports.seq=seq;exports.shapes=shapes;exports.sm=sm;exports.state_style_condense=state_style_condense;exports.transfer_state_properties=transfer_state_properties;exports.unique=unique;exports.version=version;exports.weighted_histo_key=weighted_histo_key;exports.weighted_rand_select=weighted_rand_select;exports.weighted_sample_select=weighted_sample_select;Object.defineProperty(exports,"__esModule",{value:true});return exports}({}); +var jssm=function(exports){"use strict";class circular_buffer{constructor(uCapacity){if(!Number.isInteger(uCapacity)){throw new RangeError(`Capacity must be an integer, received ${uCapacity}`)}if(uCapacity<0){throw new RangeError(`Capacity must be a non-negative integer, received ${uCapacity}`)}this._values=new Array(uCapacity);this._capacity=uCapacity;this._cursor=0;this._offset=0;this._length=0}get capacity(){return this._capacity}set capacity(newSize){this.resize(newSize)}get length(){return this._length}set length(newLength){if(newLength>this._capacity){throw new RangeError(`Requested new length [${newLength}] exceeds container capacity [${this._capacity}]`)}if(newLength<0){throw new RangeError(`Requested new length [${newLength}] cannot be negative`)}if(!Number.isInteger(newLength)){throw new RangeError(`Requested new length [${newLength}] must be an integer`)}if(this._length<=newLength){return}this._length=newLength}get available(){return this._capacity-this._length}get isEmpty(){return this._length===0}get isFull(){return this._length===this._capacity}get first(){if(this.isEmpty){throw new RangeError("Cannot return first element of an empty container")}return this.at(0)}get last(){if(this.isEmpty){throw new RangeError("Cannot return last element of an empty container")}return this.at(this.length-1)}static from(i,map_fn,t){const new_array=map_fn?Array.from(i,map_fn,t):Array.from(i);const target_length=new_array.length;const ncb=new circular_buffer(target_length);ncb._values=new_array;ncb._length=target_length;return ncb}push(v){if(this.isFull){throw new RangeError(`Cannot push, structure is full to capacity`)}this._values[(this._cursor+this._length++)%this._capacity]=v;return v}shove(v){let shoved;if(this._capacity===0){throw new RangeError(`Cannot shove, structure is zero-capacity`)}if(this.isFull){shoved=this.pop()}this.push(v);return shoved}fill(x){for(let i=0;i=this._capacity){this._cursor-=this._capacity}return cache}at(i){if(i<0){throw new RangeError(`circular_buffer does not support negative traversals; called at(${i})`)}if(!Number.isInteger(i)){throw new RangeError(`Accessors must be non-negative integers; called at(${i})`)}if(i>=this._capacity){throw new RangeError(`Requested cell ${i} exceeds container permanent capacity`)}if(i>=this._length){throw new RangeError(`Requested cell ${i} exceeds container current length`)}return this._values[(this._cursor+i)%this._capacity]}pos(i){return this.at(i-this.offset())}offset(){return this._offset}resize(newSize,preferEnd=false){this._values=this.toArray();this._cursor=0;const oldSize=this._length;this._length=Math.min(this._length,newSize);this._capacity=newSize;if(newSize>=oldSize){this._values.length=newSize}else{if(preferEnd){const tmp=this._values.slice(oldSize-newSize);this._values=tmp}else{this._values.length=newSize}}}toArray(){const startPoint=this._cursor%this._capacity;if(this._capacity>startPoint+this._length){return this._values.slice(startPoint,startPoint+this._length)}else{const base=this._values.slice(startPoint,this._capacity);base.push(...this._values.slice(0,this.length-(this._capacity-startPoint)));return base}}}const FslDirections=["up","right","down","left"];class JssmError extends Error{constructor(machine,message,JEEI){const{requested_state:requested_state}=JEEI===undefined?{requested_state:undefined}:JEEI;const follow_ups=[];if(machine){if(machine.state()!==undefined){follow_ups.push(`at "${machine.state()}"`)}}if(requested_state!==undefined){follow_ups.push(`requested "${requested_state}"`)}const complex_msg=`${(machine===null||machine===void 0?void 0:machine.instance_name())!==undefined?`[[${machine.instance_name()}]]: `:""}${message}${follow_ups.length?` (${follow_ups.join(", ")})`:""}`;super(complex_msg);this.name="JssmError";this.message=complex_msg;this.base_message=message;this.requested_state=requested_state}}function arrow_direction(arrow){switch(String(arrow)){case"->":case"→":case"=>":case"⇒":case"~>":case"↛":return"right";case"<-":case"←":case"<=":case"⇐":case"<~":case"↚":return"left";case"<->":case"↔":case"<-=>":case"←⇒":case"←=>":case"<-⇒":case"<-~>":case"←↛":case"←~>":case"<-↛":case"<=>":case"⇔":case"<=->":case"⇐→":case"⇐->":case"<=→":case"<=~>":case"⇐↛":case"⇐~>":case"<=↛":case"<~>":case"↮":case"<~->":case"↚→":case"↚->":case"<~→":case"<~=>":case"↚⇒":case"↚=>":case"<~⇒":return"both";default:throw new JssmError(undefined,`arrow_direction: unknown arrow type ${arrow}`)}}function arrow_left_kind(arrow){switch(String(arrow)){case"->":case"→":case"=>":case"⇒":case"~>":case"↛":return"none";case"<-":case"←":case"<->":case"↔":case"<-=>":case"←⇒":case"<-~>":case"←↛":return"legal";case"<=":case"⇐":case"<=>":case"⇔":case"<=->":case"⇐→":case"<=~>":case"⇐↛":return"main";case"<~":case"↚":case"<~>":case"↮":case"<~->":case"↚→":case"<~=>":case"↚⇒":return"forced";default:throw new JssmError(undefined,`arrow_direction: unknown arrow type ${arrow}`)}}function arrow_right_kind(arrow){switch(String(arrow)){case"<-":case"←":case"<=":case"⇐":case"<~":case"↚":return"none";case"->":case"→":case"<->":case"↔":case"<=->":case"⇐→":case"<~->":case"↚→":return"legal";case"=>":case"⇒":case"<=>":case"⇔":case"<-=>":case"←⇒":case"<~=>":case"↚⇒":return"main";case"~>":case"↛":case"<~>":case"↮":case"<-~>":case"←↛":case"<=~>":case"⇐↛":return"forced";default:throw new JssmError(undefined,`arrow_direction: unknown arrow type ${arrow}`)}}function peg$subclass(child,parent){function ctor(){this.constructor=child}ctor.prototype=parent.prototype;child.prototype=new ctor}function peg$SyntaxError(message,expected,found,location){this.message=message;this.expected=expected;this.found=found;this.location=location;this.name="SyntaxError";if(typeof Error.captureStackTrace==="function"){Error.captureStackTrace(this,peg$SyntaxError)}}peg$subclass(peg$SyntaxError,Error);peg$SyntaxError.buildMessage=function(expected,found){var DESCRIBE_EXPECTATION_FNS={literal:function(expectation){return'"'+literalEscape(expectation.text)+'"'},class:function(expectation){var escapedParts="",i;for(i=0;i0){for(i=1,j=1;it[0]));themes.push(th);return themes},peg$c16=function(th){return[th]},peg$c17="box3d",peg$c18=peg$literalExpectation("box3d",false),peg$c19="polygon",peg$c20=peg$literalExpectation("polygon",false),peg$c21="ellipse",peg$c22=peg$literalExpectation("ellipse",false),peg$c23="oval",peg$c24=peg$literalExpectation("oval",false),peg$c25="circle",peg$c26=peg$literalExpectation("circle",false),peg$c27="point",peg$c28=peg$literalExpectation("point",false),peg$c29="egg",peg$c30=peg$literalExpectation("egg",false),peg$c31="triangle",peg$c32=peg$literalExpectation("triangle",false),peg$c33="plaintext",peg$c34=peg$literalExpectation("plaintext",false),peg$c35="plain",peg$c36=peg$literalExpectation("plain",false),peg$c37="diamond",peg$c38=peg$literalExpectation("diamond",false),peg$c39="trapezium",peg$c40=peg$literalExpectation("trapezium",false),peg$c41="parallelogram",peg$c42=peg$literalExpectation("parallelogram",false),peg$c43="house",peg$c44=peg$literalExpectation("house",false),peg$c45="pentagon",peg$c46=peg$literalExpectation("pentagon",false),peg$c47="hexagon",peg$c48=peg$literalExpectation("hexagon",false),peg$c49="septagon",peg$c50=peg$literalExpectation("septagon",false),peg$c51="octagon",peg$c52=peg$literalExpectation("octagon",false),peg$c53="doublecircle",peg$c54=peg$literalExpectation("doublecircle",false),peg$c55="doubleoctagon",peg$c56=peg$literalExpectation("doubleoctagon",false),peg$c57="tripleoctagon",peg$c58=peg$literalExpectation("tripleoctagon",false),peg$c59="invtriangle",peg$c60=peg$literalExpectation("invtriangle",false),peg$c61="invtrapezium",peg$c62=peg$literalExpectation("invtrapezium",false),peg$c63="invhouse",peg$c64=peg$literalExpectation("invhouse",false),peg$c65="Mdiamond",peg$c66=peg$literalExpectation("Mdiamond",false),peg$c67="Msquare",peg$c68=peg$literalExpectation("Msquare",false),peg$c69="Mcircle",peg$c70=peg$literalExpectation("Mcircle",false),peg$c71="rectangle",peg$c72=peg$literalExpectation("rectangle",false),peg$c73="rect",peg$c74=peg$literalExpectation("rect",false),peg$c75="square",peg$c76=peg$literalExpectation("square",false),peg$c77="star",peg$c78=peg$literalExpectation("star",false),peg$c79="underline",peg$c80=peg$literalExpectation("underline",false),peg$c81="cylinder",peg$c82=peg$literalExpectation("cylinder",false),peg$c83="note",peg$c84=peg$literalExpectation("note",false),peg$c85="tab",peg$c86=peg$literalExpectation("tab",false),peg$c87="folder",peg$c88=peg$literalExpectation("folder",false),peg$c89="box",peg$c90=peg$literalExpectation("box",false),peg$c91="component",peg$c92=peg$literalExpectation("component",false),peg$c93="promoter",peg$c94=peg$literalExpectation("promoter",false),peg$c95="cds",peg$c96=peg$literalExpectation("cds",false),peg$c97="terminator",peg$c98=peg$literalExpectation("terminator",false),peg$c99="utr",peg$c100=peg$literalExpectation("utr",false),peg$c101="primersite",peg$c102=peg$literalExpectation("primersite",false),peg$c103="restrictionsite",peg$c104=peg$literalExpectation("restrictionsite",false),peg$c105="fivepoverhang",peg$c106=peg$literalExpectation("fivepoverhang",false),peg$c107="threepoverhang",peg$c108=peg$literalExpectation("threepoverhang",false),peg$c109="noverhang",peg$c110=peg$literalExpectation("noverhang",false),peg$c111="assembly",peg$c112=peg$literalExpectation("assembly",false),peg$c113="signature",peg$c114=peg$literalExpectation("signature",false),peg$c115="insulator",peg$c116=peg$literalExpectation("insulator",false),peg$c117="ribosite",peg$c118=peg$literalExpectation("ribosite",false),peg$c119="rnastab",peg$c120=peg$literalExpectation("rnastab",false),peg$c121="proteasesite",peg$c122=peg$literalExpectation("proteasesite",false),peg$c123="proteinstab",peg$c124=peg$literalExpectation("proteinstab",false),peg$c125="rpromoter",peg$c126=peg$literalExpectation("rpromoter",false),peg$c127="rarrow",peg$c128=peg$literalExpectation("rarrow",false),peg$c129="larrow",peg$c130=peg$literalExpectation("larrow",false),peg$c131="lpromoter",peg$c132=peg$literalExpectation("lpromoter",false),peg$c133="record",peg$c134=peg$literalExpectation("record",false),peg$c135=peg$otherExpectation("forward light arrow ->"),peg$c136="->",peg$c137=peg$literalExpectation("->",false),peg$c138="→",peg$c139=peg$literalExpectation("→",false),peg$c140=function(){return"->"},peg$c141=peg$otherExpectation("two way light arrow <->"),peg$c142="<->",peg$c143=peg$literalExpectation("<->",false),peg$c144="↔",peg$c145=peg$literalExpectation("↔",false),peg$c146=function(){return"<->"},peg$c147=peg$otherExpectation("back light arrow <-"),peg$c148="<-",peg$c149=peg$literalExpectation("<-",false),peg$c150="←",peg$c151=peg$literalExpectation("←",false),peg$c152=function(){return"<-"},peg$c153=peg$otherExpectation("forward fat arrow =>"),peg$c154="=>",peg$c155=peg$literalExpectation("=>",false),peg$c156="⇒",peg$c157=peg$literalExpectation("⇒",false),peg$c158=function(){return"=>"},peg$c159=peg$otherExpectation("two way fat arrow <=>"),peg$c160="<=>",peg$c161=peg$literalExpectation("<=>",false),peg$c162="⇔",peg$c163=peg$literalExpectation("⇔",false),peg$c164=function(){return"<=>"},peg$c165=peg$otherExpectation("back fat arrow <="),peg$c166="<=",peg$c167=peg$literalExpectation("<=",false),peg$c168="⇐",peg$c169=peg$literalExpectation("⇐",false),peg$c170=function(){return"<="},peg$c171=peg$otherExpectation("forward tilde arrow ~>"),peg$c172="~>",peg$c173=peg$literalExpectation("~>",false),peg$c174="↛",peg$c175=peg$literalExpectation("↛",false),peg$c176=function(){return"~>"},peg$c177=peg$otherExpectation("two way tilde arrow <~>"),peg$c178="<~>",peg$c179=peg$literalExpectation("<~>",false),peg$c180="↮",peg$c181=peg$literalExpectation("↮",false),peg$c182=function(){return"<~>"},peg$c183=peg$otherExpectation("back tilde arrow <~"),peg$c184="<~",peg$c185=peg$literalExpectation("<~",false),peg$c186="↚",peg$c187=peg$literalExpectation("↚",false),peg$c188=function(){return"<~"},peg$c189=peg$otherExpectation("light fat arrow <-=>"),peg$c190="<-=>",peg$c191=peg$literalExpectation("<-=>",false),peg$c192="←⇒",peg$c193=peg$literalExpectation("←⇒",false),peg$c194=function(){return"<-=>"},peg$c195=peg$otherExpectation("light tilde arrow <-~>"),peg$c196="<-~>",peg$c197=peg$literalExpectation("<-~>",false),peg$c198="←↛",peg$c199=peg$literalExpectation("←↛",false),peg$c200=function(){return"<-~>"},peg$c201=peg$otherExpectation("fat light arrow <=->"),peg$c202="<=->",peg$c203=peg$literalExpectation("<=->",false),peg$c204="⇐→",peg$c205=peg$literalExpectation("⇐→",false),peg$c206=function(){return"<=->"},peg$c207=peg$otherExpectation("fat tilde arrow <=~>"),peg$c208="<=~>",peg$c209=peg$literalExpectation("<=~>",false),peg$c210="⇐↛",peg$c211=peg$literalExpectation("⇐↛",false),peg$c212=function(){return"<=~>"},peg$c213=peg$otherExpectation("tilde light arrow <~->"),peg$c214="<~->",peg$c215=peg$literalExpectation("<~->",false),peg$c216="↚→",peg$c217=peg$literalExpectation("↚→",false),peg$c218=function(){return"<~->"},peg$c219=peg$otherExpectation("tilde fat arrow <~=>"),peg$c220="<~=>",peg$c221=peg$literalExpectation("<~=>",false),peg$c222="↚⇒",peg$c223=peg$literalExpectation("↚⇒",false),peg$c224=function(){return"<~=>"},peg$c225=peg$otherExpectation("light arrow"),peg$c226=peg$otherExpectation("fat arrow"),peg$c227=peg$otherExpectation("tilde arrow"),peg$c228=peg$otherExpectation("mixed arrow"),peg$c229=peg$otherExpectation("arrow"),peg$c230="true",peg$c231=peg$literalExpectation("true",false),peg$c232=function(){return true},peg$c233="false",peg$c234=peg$literalExpectation("false",false),peg$c235=function(){return false},peg$c236="regular",peg$c237=peg$literalExpectation("regular",false),peg$c238="rounded",peg$c239=peg$literalExpectation("rounded",false),peg$c240="lined",peg$c241=peg$literalExpectation("lined",false),peg$c242="solid",peg$c243=peg$literalExpectation("solid",false),peg$c244="dotted",peg$c245=peg$literalExpectation("dotted",false),peg$c246="dashed",peg$c247=peg$literalExpectation("dashed",false),peg$c248='"',peg$c249=peg$literalExpectation('"',false),peg$c250="\\",peg$c251=peg$literalExpectation("\\",false),peg$c252="/",peg$c253=peg$literalExpectation("/",false),peg$c254="b",peg$c255=peg$literalExpectation("b",false),peg$c256=function(){return"\b"},peg$c257="f",peg$c258=peg$literalExpectation("f",false),peg$c259=function(){return"\f"},peg$c260="n",peg$c261=peg$literalExpectation("n",false),peg$c262=function(){return"\n"},peg$c263="r",peg$c264=peg$literalExpectation("r",false),peg$c265=function(){return"\r"},peg$c266="t",peg$c267=peg$literalExpectation("t",false),peg$c268=function(){return"\t"},peg$c269="v",peg$c270=peg$literalExpectation("v",false),peg$c271=function(){return"\v"},peg$c272="u",peg$c273=peg$literalExpectation("u",false),peg$c274=function(digits){return String.fromCharCode(parseInt(digits,16))},peg$c275=function(Sequence){return Sequence},peg$c276="null",peg$c277=peg$literalExpectation("null",false),peg$c278=function(){return null},peg$c279="undefined",peg$c280=peg$literalExpectation("undefined",false),peg$c281=function(){return undefined},peg$c282=/^[\0-!#-[\]-\uFFFF]/,peg$c283=peg$classExpectation([["\0","!"],["#","["],["]","￿"]],false,false),peg$c284="'",peg$c285=peg$literalExpectation("'",false),peg$c286=/^[ -&(-[\]-\uFFFF]/,peg$c287=peg$classExpectation([[" ","&"],["(","["],["]","￿"]],false,false),peg$c288=peg$otherExpectation("action label"),peg$c289=function(chars){return chars.join("")},peg$c290=/^[\n\r\u2028\u2029]/,peg$c291=peg$classExpectation(["\n","\r","\u2028","\u2029"],false,false),peg$c294="*/",peg$c295=peg$literalExpectation("*/",false),peg$c296=peg$anyExpectation(),peg$c297=peg$otherExpectation("block comment"),peg$c298="/*",peg$c299=peg$literalExpectation("/*",false),peg$c300=peg$otherExpectation("line comment"),peg$c301="//",peg$c302=peg$literalExpectation("//",false),peg$c303=peg$otherExpectation("whitespace"),peg$c304=/^[ \t\r\n\x0B]/,peg$c305=peg$classExpectation([" ","\t","\r","\n","\v"],false,false),peg$c306=peg$otherExpectation("string"),peg$c307=/^[0-9a-zA-Z._!$\^*!?,\x80-\uFFFF]/,peg$c308=peg$classExpectation([["0","9"],["a","z"],["A","Z"],".","_","!","$","^","*","!","?",",",["€","￿"]],false,false),peg$c309=/^[0-9a-zA-Z.+_\^()*&$#@!?,\x80-\uFFFF]/,peg$c310=peg$classExpectation([["0","9"],["a","z"],["A","Z"],".","+","_","^","(",")","*","&","$","#","@","!","?",",",["€","￿"]],false,false),peg$c311=peg$otherExpectation("atom"),peg$c312=function(firstletter,text){return firstletter+(text||[]).join("")},peg$c313=peg$otherExpectation("label"),peg$c314="0",peg$c315=peg$literalExpectation("0",false),peg$c316=/^[0-9]/,peg$c317=peg$classExpectation([["0","9"]],false,false),peg$c318=/^[1-9]/,peg$c319=peg$classExpectation([["1","9"]],false,false),peg$c320=/^[0-9a-f]/i,peg$c321=peg$classExpectation([["0","9"],["a","f"]],false,true),peg$c322=/^[0-1]/,peg$c323=peg$classExpectation([["0","1"]],false,false),peg$c324=peg$otherExpectation("nonneg number"),peg$c325=".",peg$c326=peg$literalExpectation(".",false),peg$c327=function(){return parseFloat(text())},peg$c328=peg$otherExpectation("number"),peg$c329=function(literal){return literal},peg$c330="NaN",peg$c331=peg$literalExpectation("NaN",false),peg$c332=function(){return NaN},peg$c333="NegativeInfinity",peg$c334=peg$literalExpectation("NegativeInfinity",false),peg$c335=function(){return Number.NEGATIVE_INFINITY},peg$c336="NegativeInf",peg$c337=peg$literalExpectation("NegativeInf",false),peg$c338="NegInfinity",peg$c339=peg$literalExpectation("NegInfinity",false),peg$c340="NegInf",peg$c341=peg$literalExpectation("NegInf",false),peg$c342="NInfinity",peg$c343=peg$literalExpectation("NInfinity",false),peg$c344="NInf",peg$c345=peg$literalExpectation("NInf",false),peg$c346="-∞",peg$c347=peg$literalExpectation("-∞",false),peg$c348="PInfinity",peg$c349=peg$literalExpectation("PInfinity",false),peg$c350=function(){return Number.POSITIVE_INFINITY},peg$c351="Infinity",peg$c352=peg$literalExpectation("Infinity",false),peg$c353="PInf",peg$c354=peg$literalExpectation("PInf",false),peg$c355="Inf",peg$c356=peg$literalExpectation("Inf",false),peg$c357="∞",peg$c358=peg$literalExpectation("∞",false),peg$c359="Epsilon",peg$c360=peg$literalExpectation("Epsilon",false),peg$c361=function(){return Number.EPSILON},peg$c362="𝜀",peg$c363=peg$literalExpectation("𝜀",false),peg$c364="ε",peg$c365=peg$literalExpectation("ε",false),peg$c366="Pi",peg$c367=peg$literalExpectation("Pi",false),peg$c368=function(){return Math.PI},peg$c369="𝜋",peg$c370=peg$literalExpectation("𝜋",false),peg$c371="π",peg$c372=peg$literalExpectation("π",false),peg$c373="EulerNumber",peg$c374=peg$literalExpectation("EulerNumber",false),peg$c375=function(){return Math.E},peg$c376="E",peg$c377=peg$literalExpectation("E",false),peg$c378="e",peg$c379=peg$literalExpectation("e",false),peg$c380="Ɛ",peg$c381=peg$literalExpectation("Ɛ",false),peg$c382="ℇ",peg$c383=peg$literalExpectation("ℇ",false),peg$c384="Root2",peg$c385=peg$literalExpectation("Root2",false),peg$c386=function(){return Math.SQRT2},peg$c387="RootHalf",peg$c388=peg$literalExpectation("RootHalf",false),peg$c389=function(){return Math.SQRT1_2},peg$c390="Ln2",peg$c391=peg$literalExpectation("Ln2",false),peg$c392=function(){return Math.LN2},peg$c393="NatLog2",peg$c394=peg$literalExpectation("NatLog2",false),peg$c395="Ln10",peg$c396=peg$literalExpectation("Ln10",false),peg$c397=function(){return Math.LN10},peg$c398="NatLog10",peg$c399=peg$literalExpectation("NatLog10",false),peg$c400="Log2E",peg$c401=peg$literalExpectation("Log2E",false),peg$c402=function(){return Math.LOG2E},peg$c403="Log10E",peg$c404=peg$literalExpectation("Log10E",false),peg$c405=function(){return Math.LOG10E},peg$c406="MaxSafeInt",peg$c407=peg$literalExpectation("MaxSafeInt",false),peg$c408=function(){return Number.MAX_SAFE_INTEGER},peg$c409="MinSafeInt",peg$c410=peg$literalExpectation("MinSafeInt",false),peg$c411=function(){return Number.MIN_SAFE_INTEGER},peg$c412="MaxPosNum",peg$c413=peg$literalExpectation("MaxPosNum",false),peg$c414=function(){return Number.MAX_VALUE},peg$c415="MinPosNum",peg$c416=peg$literalExpectation("MinPosNum",false),peg$c417=function(){return Number.MIN_VALUE},peg$c418="Phi",peg$c419=peg$literalExpectation("Phi",false),peg$c420=function(){return 1.618033988749895},peg$c421="𝜑",peg$c422=peg$literalExpectation("𝜑",false),peg$c423="𝜙",peg$c424=peg$literalExpectation("𝜙",false),peg$c425="ϕ",peg$c426=peg$literalExpectation("ϕ",false),peg$c427="φ",peg$c428=peg$literalExpectation("φ",false),peg$c429="EulerConstant",peg$c430=peg$literalExpectation("EulerConstant",false),peg$c431=function(){return.5772156649015329},peg$c432="γ",peg$c433=peg$literalExpectation("γ",false),peg$c434="𝛾",peg$c435=peg$literalExpectation("𝛾",false),peg$c436=peg$literalExpectation("e",true),peg$c437=/^[+\-]/,peg$c438=peg$classExpectation(["+","-"],false,false),peg$c439="0x",peg$c440=peg$literalExpectation("0x",true),peg$c441=function(digits){return parseInt(digits,16)},peg$c442="0b",peg$c443=peg$literalExpectation("0b",true),peg$c444=function(digits){return parseInt(digits,2)},peg$c445="0o",peg$c446=peg$literalExpectation("0o",true),peg$c447=function(digits){return parseInt(digits,8)},peg$c448=function(major,minor,patch){return{major:parseInt(major,10),minor:parseInt(minor,10),patch:parseInt(patch,10),full:text()}},peg$c459="http://",peg$c460=peg$literalExpectation("http://",false),peg$c461="https://",peg$c462=peg$literalExpectation("https://",false),peg$c463=/^[a-zA-Z0-9!*'():;@&=+$,\/?#[\]_.~\-]/,peg$c464=peg$classExpectation([["a","z"],["A","Z"],["0","9"],"!","*","'","(",")",":",";","@","&","=","+","$",",","/","?","#","[","]","_",".","~","-"],false,false),peg$c465=function(protocol){return text()},peg$c466="aliceblue",peg$c467=peg$literalExpectation("aliceblue",false),peg$c468=function(){return"#f0f8ffff"},peg$c469="AliceBlue",peg$c470=peg$literalExpectation("AliceBlue",false),peg$c471="antiquewhite",peg$c472=peg$literalExpectation("antiquewhite",false),peg$c473=function(){return"#faebd7ff"},peg$c474="AntiqueWhite",peg$c475=peg$literalExpectation("AntiqueWhite",false),peg$c476="aquamarine",peg$c477=peg$literalExpectation("aquamarine",false),peg$c478=function(){return"#7fffd4ff"},peg$c479="Aquamarine",peg$c480=peg$literalExpectation("Aquamarine",false),peg$c481="aqua",peg$c482=peg$literalExpectation("aqua",false),peg$c483=function(){return"#00ffffff"},peg$c484="Aqua",peg$c485=peg$literalExpectation("Aqua",false),peg$c486="azure",peg$c487=peg$literalExpectation("azure",false),peg$c488=function(){return"#f0ffffff"},peg$c489="Azure",peg$c490=peg$literalExpectation("Azure",false),peg$c491="beige",peg$c492=peg$literalExpectation("beige",false),peg$c493=function(){return"#f5f5dcff"},peg$c494="Beige",peg$c495=peg$literalExpectation("Beige",false),peg$c496="bisque",peg$c497=peg$literalExpectation("bisque",false),peg$c498=function(){return"#ffe4c4ff"},peg$c499="Bisque",peg$c500=peg$literalExpectation("Bisque",false),peg$c501="black",peg$c502=peg$literalExpectation("black",false),peg$c503=function(){return"#000000ff"},peg$c504="Black",peg$c505=peg$literalExpectation("Black",false),peg$c506="blanchedalmond",peg$c507=peg$literalExpectation("blanchedalmond",false),peg$c508=function(){return"#ffebcdff"},peg$c509="BlanchedAlmond",peg$c510=peg$literalExpectation("BlanchedAlmond",false),peg$c511="blueviolet",peg$c512=peg$literalExpectation("blueviolet",false),peg$c513=function(){return"#8a2be2ff"},peg$c514="BlueViolet",peg$c515=peg$literalExpectation("BlueViolet",false),peg$c516="blue",peg$c517=peg$literalExpectation("blue",false),peg$c518=function(){return"#0000ffff"},peg$c519="Blue",peg$c520=peg$literalExpectation("Blue",false),peg$c521="brown",peg$c522=peg$literalExpectation("brown",false),peg$c523=function(){return"#a52a2aff"},peg$c524="Brown",peg$c525=peg$literalExpectation("Brown",false),peg$c526="burlywood",peg$c527=peg$literalExpectation("burlywood",false),peg$c528=function(){return"#deb887ff"},peg$c529="BurlyWood",peg$c530=peg$literalExpectation("BurlyWood",false),peg$c531="cadetblue",peg$c532=peg$literalExpectation("cadetblue",false),peg$c533=function(){return"#5f9ea0ff"},peg$c534="CadetBlue",peg$c535=peg$literalExpectation("CadetBlue",false),peg$c536="chartreuse",peg$c537=peg$literalExpectation("chartreuse",false),peg$c538=function(){return"#7fff00ff"},peg$c539="Chartreuse",peg$c540=peg$literalExpectation("Chartreuse",false),peg$c541="chocolate",peg$c542=peg$literalExpectation("chocolate",false),peg$c543=function(){return"#d2691eff"},peg$c544="Chocolate",peg$c545=peg$literalExpectation("Chocolate",false),peg$c546="coral",peg$c547=peg$literalExpectation("coral",false),peg$c548=function(){return"#ff7f50ff"},peg$c549="Coral",peg$c550=peg$literalExpectation("Coral",false),peg$c551="cornflowerblue",peg$c552=peg$literalExpectation("cornflowerblue",false),peg$c553=function(){return"#6495edff"},peg$c554="CornflowerBlue",peg$c555=peg$literalExpectation("CornflowerBlue",false),peg$c556="cornsilk",peg$c557=peg$literalExpectation("cornsilk",false),peg$c558=function(){return"#fff8dcff"},peg$c559="Cornsilk",peg$c560=peg$literalExpectation("Cornsilk",false),peg$c561="crimson",peg$c562=peg$literalExpectation("crimson",false),peg$c563=function(){return"#dc143cff"},peg$c564="Crimson",peg$c565=peg$literalExpectation("Crimson",false),peg$c566="cyan",peg$c567=peg$literalExpectation("cyan",false),peg$c568="Cyan",peg$c569=peg$literalExpectation("Cyan",false),peg$c570="darkblue",peg$c571=peg$literalExpectation("darkblue",false),peg$c572=function(){return"#00008bff"},peg$c573="DarkBlue",peg$c574=peg$literalExpectation("DarkBlue",false),peg$c575="darkcyan",peg$c576=peg$literalExpectation("darkcyan",false),peg$c577=function(){return"#008b8bff"},peg$c578="DarkCyan",peg$c579=peg$literalExpectation("DarkCyan",false),peg$c580="darkgoldenrod",peg$c581=peg$literalExpectation("darkgoldenrod",false),peg$c582=function(){return"#b8860bff"},peg$c583="DarkGoldenRod",peg$c584=peg$literalExpectation("DarkGoldenRod",false),peg$c585="darkgray",peg$c586=peg$literalExpectation("darkgray",false),peg$c587=function(){return"#a9a9a9ff"},peg$c588="DarkGray",peg$c589=peg$literalExpectation("DarkGray",false),peg$c590="darkgrey",peg$c591=peg$literalExpectation("darkgrey",false),peg$c592="DarkGrey",peg$c593=peg$literalExpectation("DarkGrey",false),peg$c594="darkgreen",peg$c595=peg$literalExpectation("darkgreen",false),peg$c596=function(){return"#006400ff"},peg$c597="DarkGreen",peg$c598=peg$literalExpectation("DarkGreen",false),peg$c599="darkkhaki",peg$c600=peg$literalExpectation("darkkhaki",false),peg$c601=function(){return"#bdb76bff"},peg$c602="DarkKhaki",peg$c603=peg$literalExpectation("DarkKhaki",false),peg$c604="darkmagenta",peg$c605=peg$literalExpectation("darkmagenta",false),peg$c606=function(){return"#8b008bff"},peg$c607="DarkMagenta",peg$c608=peg$literalExpectation("DarkMagenta",false),peg$c609="darkolivegreen",peg$c610=peg$literalExpectation("darkolivegreen",false),peg$c611=function(){return"#556b2fff"},peg$c612="DarkOliveGreen",peg$c613=peg$literalExpectation("DarkOliveGreen",false),peg$c614="darkorange",peg$c615=peg$literalExpectation("darkorange",false),peg$c616=function(){return"#ff8c00ff"},peg$c617="Darkorange",peg$c618=peg$literalExpectation("Darkorange",false),peg$c619="darkorchid",peg$c620=peg$literalExpectation("darkorchid",false),peg$c621=function(){return"#9932ccff"},peg$c622="DarkOrchid",peg$c623=peg$literalExpectation("DarkOrchid",false),peg$c624="darkred",peg$c625=peg$literalExpectation("darkred",false),peg$c626=function(){return"#8b0000ff"},peg$c627="DarkRed",peg$c628=peg$literalExpectation("DarkRed",false),peg$c629="darksalmon",peg$c630=peg$literalExpectation("darksalmon",false),peg$c631=function(){return"#e9967aff"},peg$c632="DarkSalmon",peg$c633=peg$literalExpectation("DarkSalmon",false),peg$c634="darkseagreen",peg$c635=peg$literalExpectation("darkseagreen",false),peg$c636=function(){return"#8fbc8fff"},peg$c637="DarkSeaGreen",peg$c638=peg$literalExpectation("DarkSeaGreen",false),peg$c639="darkslateblue",peg$c640=peg$literalExpectation("darkslateblue",false),peg$c641=function(){return"#483d8bff"},peg$c642="DarkSlateBlue",peg$c643=peg$literalExpectation("DarkSlateBlue",false),peg$c644="darkslategray",peg$c645=peg$literalExpectation("darkslategray",false),peg$c646=function(){return"#2f4f4fff"},peg$c647="DarkSlateGray",peg$c648=peg$literalExpectation("DarkSlateGray",false),peg$c649="darkslategrey",peg$c650=peg$literalExpectation("darkslategrey",false),peg$c651="DarkSlateGrey",peg$c652=peg$literalExpectation("DarkSlateGrey",false),peg$c653="darkturquoise",peg$c654=peg$literalExpectation("darkturquoise",false),peg$c655=function(){return"#00ced1ff"},peg$c656="DarkTurquoise",peg$c657=peg$literalExpectation("DarkTurquoise",false),peg$c658="darkviolet",peg$c659=peg$literalExpectation("darkviolet",false),peg$c660=function(){return"#9400d3ff"},peg$c661="DarkViolet",peg$c662=peg$literalExpectation("DarkViolet",false),peg$c663="deeppink",peg$c664=peg$literalExpectation("deeppink",false),peg$c665=function(){return"#ff1493ff"},peg$c666="DeepPink",peg$c667=peg$literalExpectation("DeepPink",false),peg$c668="deepskyblue",peg$c669=peg$literalExpectation("deepskyblue",false),peg$c670=function(){return"#00bfffff"},peg$c671="DeepSkyBlue",peg$c672=peg$literalExpectation("DeepSkyBlue",false),peg$c673="dimgray",peg$c674=peg$literalExpectation("dimgray",false),peg$c675=function(){return"#696969ff"},peg$c676="DimGray",peg$c677=peg$literalExpectation("DimGray",false),peg$c678="dimgrey",peg$c679=peg$literalExpectation("dimgrey",false),peg$c680="DimGrey",peg$c681=peg$literalExpectation("DimGrey",false),peg$c682="dodgerblue",peg$c683=peg$literalExpectation("dodgerblue",false),peg$c684=function(){return"#1e90ffff"},peg$c685="DodgerBlue",peg$c686=peg$literalExpectation("DodgerBlue",false),peg$c687="firebrick",peg$c688=peg$literalExpectation("firebrick",false),peg$c689=function(){return"#b22222ff"},peg$c690="FireBrick",peg$c691=peg$literalExpectation("FireBrick",false),peg$c692="floralwhite",peg$c693=peg$literalExpectation("floralwhite",false),peg$c694=function(){return"#fffaf0ff"},peg$c695="FloralWhite",peg$c696=peg$literalExpectation("FloralWhite",false),peg$c697="forestgreen",peg$c698=peg$literalExpectation("forestgreen",false),peg$c699=function(){return"#228b22ff"},peg$c700="ForestGreen",peg$c701=peg$literalExpectation("ForestGreen",false),peg$c702="fuchsia",peg$c703=peg$literalExpectation("fuchsia",false),peg$c704=function(){return"#ff00ffff"},peg$c705="Fuchsia",peg$c706=peg$literalExpectation("Fuchsia",false),peg$c707="gainsboro",peg$c708=peg$literalExpectation("gainsboro",false),peg$c709=function(){return"#dcdcdcff"},peg$c710="Gainsboro",peg$c711=peg$literalExpectation("Gainsboro",false),peg$c712="ghostwhite",peg$c713=peg$literalExpectation("ghostwhite",false),peg$c714=function(){return"#f8f8ffff"},peg$c715="GhostWhite",peg$c716=peg$literalExpectation("GhostWhite",false),peg$c717="goldenrod",peg$c718=peg$literalExpectation("goldenrod",false),peg$c719=function(){return"#daa520ff"},peg$c720="GoldenRod",peg$c721=peg$literalExpectation("GoldenRod",false),peg$c722="gold",peg$c723=peg$literalExpectation("gold",false),peg$c724=function(){return"#ffd700ff"},peg$c725="Gold",peg$c726=peg$literalExpectation("Gold",false),peg$c727="gray",peg$c728=peg$literalExpectation("gray",false),peg$c729=function(){return"#808080ff"},peg$c730="Gray",peg$c731=peg$literalExpectation("Gray",false),peg$c732="grey",peg$c733=peg$literalExpectation("grey",false),peg$c734="Grey",peg$c735=peg$literalExpectation("Grey",false),peg$c736="greenyellow",peg$c737=peg$literalExpectation("greenyellow",false),peg$c738=function(){return"#adff2fff"},peg$c739="GreenYellow",peg$c740=peg$literalExpectation("GreenYellow",false),peg$c741="green",peg$c742=peg$literalExpectation("green",false),peg$c743=function(){return"#008000ff"},peg$c744="Green",peg$c745=peg$literalExpectation("Green",false),peg$c746="honeydew",peg$c747=peg$literalExpectation("honeydew",false),peg$c748=function(){return"#f0fff0ff"},peg$c749="HoneyDew",peg$c750=peg$literalExpectation("HoneyDew",false),peg$c751="hotpink",peg$c752=peg$literalExpectation("hotpink",false),peg$c753=function(){return"#ff69b4ff"},peg$c754="HotPink",peg$c755=peg$literalExpectation("HotPink",false),peg$c756="indianred",peg$c757=peg$literalExpectation("indianred",false),peg$c758=function(){return"#cd5c5cff"},peg$c759="IndianRed",peg$c760=peg$literalExpectation("IndianRed",false),peg$c761="indigo",peg$c762=peg$literalExpectation("indigo",false),peg$c763=function(){return"#4b0082ff"},peg$c764="Indigo",peg$c765=peg$literalExpectation("Indigo",false),peg$c766="ivory",peg$c767=peg$literalExpectation("ivory",false),peg$c768=function(){return"#fffff0ff"},peg$c769="Ivory",peg$c770=peg$literalExpectation("Ivory",false),peg$c771="khaki",peg$c772=peg$literalExpectation("khaki",false),peg$c773=function(){return"#f0e68cff"},peg$c774="Khaki",peg$c775=peg$literalExpectation("Khaki",false),peg$c776="lavenderblush",peg$c777=peg$literalExpectation("lavenderblush",false),peg$c778=function(){return"#fff0f5ff"},peg$c779="LavenderBlush",peg$c780=peg$literalExpectation("LavenderBlush",false),peg$c781="lavender",peg$c782=peg$literalExpectation("lavender",false),peg$c783=function(){return"#e6e6faff"},peg$c784="Lavender",peg$c785=peg$literalExpectation("Lavender",false),peg$c786="lawngreen",peg$c787=peg$literalExpectation("lawngreen",false),peg$c788=function(){return"#7cfc00ff"},peg$c789="LawnGreen",peg$c790=peg$literalExpectation("LawnGreen",false),peg$c791="lemonchiffon",peg$c792=peg$literalExpectation("lemonchiffon",false),peg$c793=function(){return"#fffacdff"},peg$c794="LemonChiffon",peg$c795=peg$literalExpectation("LemonChiffon",false),peg$c796="lightblue",peg$c797=peg$literalExpectation("lightblue",false),peg$c798=function(){return"#add8e6ff"},peg$c799="LightBlue",peg$c800=peg$literalExpectation("LightBlue",false),peg$c801="lightcoral",peg$c802=peg$literalExpectation("lightcoral",false),peg$c803=function(){return"#f08080ff"},peg$c804="LightCoral",peg$c805=peg$literalExpectation("LightCoral",false),peg$c806="lightcyan",peg$c807=peg$literalExpectation("lightcyan",false),peg$c808=function(){return"#e0ffffff"},peg$c809="LightCyan",peg$c810=peg$literalExpectation("LightCyan",false),peg$c811="lightgoldenrodyellow",peg$c812=peg$literalExpectation("lightgoldenrodyellow",false),peg$c813=function(){return"#fafad2ff"},peg$c814="LightGoldenRodYellow",peg$c815=peg$literalExpectation("LightGoldenRodYellow",false),peg$c816="lightgray",peg$c817=peg$literalExpectation("lightgray",false),peg$c818=function(){return"#d3d3d3ff"},peg$c819="LightGray",peg$c820=peg$literalExpectation("LightGray",false),peg$c821="lightgrey",peg$c822=peg$literalExpectation("lightgrey",false),peg$c823="LightGrey",peg$c824=peg$literalExpectation("LightGrey",false),peg$c825="lightgreen",peg$c826=peg$literalExpectation("lightgreen",false),peg$c827=function(){return"#90ee90ff"},peg$c828="LightGreen",peg$c829=peg$literalExpectation("LightGreen",false),peg$c830="lightpink",peg$c831=peg$literalExpectation("lightpink",false),peg$c832=function(){return"#ffb6c1ff"},peg$c833="LightPink",peg$c834=peg$literalExpectation("LightPink",false),peg$c835="lightsalmon",peg$c836=peg$literalExpectation("lightsalmon",false),peg$c837=function(){return"#ffa07aff"},peg$c838="LightSalmon",peg$c839=peg$literalExpectation("LightSalmon",false),peg$c840="lightseagreen",peg$c841=peg$literalExpectation("lightseagreen",false),peg$c842=function(){return"#20b2aaff"},peg$c843="LightSeaGreen",peg$c844=peg$literalExpectation("LightSeaGreen",false),peg$c845="lightskyblue",peg$c846=peg$literalExpectation("lightskyblue",false),peg$c847=function(){return"#87cefaff"},peg$c848="LightSkyBlue",peg$c849=peg$literalExpectation("LightSkyBlue",false),peg$c850="lightslategray",peg$c851=peg$literalExpectation("lightslategray",false),peg$c852=function(){return"#778899ff"},peg$c853="LightSlateGray",peg$c854=peg$literalExpectation("LightSlateGray",false),peg$c855="lightslategrey",peg$c856=peg$literalExpectation("lightslategrey",false),peg$c857="LightSlateGrey",peg$c858=peg$literalExpectation("LightSlateGrey",false),peg$c859="lightsteelblue",peg$c860=peg$literalExpectation("lightsteelblue",false),peg$c861=function(){return"#b0c4deff"},peg$c862="LightSteelBlue",peg$c863=peg$literalExpectation("LightSteelBlue",false),peg$c864="lightyellow",peg$c865=peg$literalExpectation("lightyellow",false),peg$c866=function(){return"#ffffe0ff"},peg$c867="LightYellow",peg$c868=peg$literalExpectation("LightYellow",false),peg$c869="limegreen",peg$c870=peg$literalExpectation("limegreen",false),peg$c871=function(){return"#32cd32ff"},peg$c872="LimeGreen",peg$c873=peg$literalExpectation("LimeGreen",false),peg$c874="lime",peg$c875=peg$literalExpectation("lime",false),peg$c876=function(){return"#00ff00ff"},peg$c877="Lime",peg$c878=peg$literalExpectation("Lime",false),peg$c879="linen",peg$c880=peg$literalExpectation("linen",false),peg$c881=function(){return"#faf0e6ff"},peg$c882="Linen",peg$c883=peg$literalExpectation("Linen",false),peg$c884="magenta",peg$c885=peg$literalExpectation("magenta",false),peg$c886="Magenta",peg$c887=peg$literalExpectation("Magenta",false),peg$c888="maroon",peg$c889=peg$literalExpectation("maroon",false),peg$c890=function(){return"#800000ff"},peg$c891="Maroon",peg$c892=peg$literalExpectation("Maroon",false),peg$c893="mediumaquamarine",peg$c894=peg$literalExpectation("mediumaquamarine",false),peg$c895=function(){return"#66cdaaff"},peg$c896="MediumAquaMarine",peg$c897=peg$literalExpectation("MediumAquaMarine",false),peg$c898="mediumblue",peg$c899=peg$literalExpectation("mediumblue",false),peg$c900=function(){return"#0000cdff"},peg$c901="MediumBlue",peg$c902=peg$literalExpectation("MediumBlue",false),peg$c903="mediumorchid",peg$c904=peg$literalExpectation("mediumorchid",false),peg$c905=function(){return"#ba55d3ff"},peg$c906="MediumOrchid",peg$c907=peg$literalExpectation("MediumOrchid",false),peg$c908="mediumpurple",peg$c909=peg$literalExpectation("mediumpurple",false),peg$c910=function(){return"#9370d8ff"},peg$c911="MediumPurple",peg$c912=peg$literalExpectation("MediumPurple",false),peg$c913="mediumseagreen",peg$c914=peg$literalExpectation("mediumseagreen",false),peg$c915=function(){return"#3cb371ff"},peg$c916="MediumSeaGreen",peg$c917=peg$literalExpectation("MediumSeaGreen",false),peg$c918="mediumslateblue",peg$c919=peg$literalExpectation("mediumslateblue",false),peg$c920=function(){return"#7b68eeff"},peg$c921="MediumSlateBlue",peg$c922=peg$literalExpectation("MediumSlateBlue",false),peg$c923="mediumspringgreen",peg$c924=peg$literalExpectation("mediumspringgreen",false),peg$c925=function(){return"#00fa9aff"},peg$c926="MediumSpringGreen",peg$c927=peg$literalExpectation("MediumSpringGreen",false),peg$c928="mediumturquoise",peg$c929=peg$literalExpectation("mediumturquoise",false),peg$c930=function(){return"#48d1ccff"},peg$c931="MediumTurquoise",peg$c932=peg$literalExpectation("MediumTurquoise",false),peg$c933="mediumvioletred",peg$c934=peg$literalExpectation("mediumvioletred",false),peg$c935=function(){return"#c71585ff"},peg$c936="MediumVioletRed",peg$c937=peg$literalExpectation("MediumVioletRed",false),peg$c938="midnightblue",peg$c939=peg$literalExpectation("midnightblue",false),peg$c940=function(){return"#191970ff"},peg$c941="MidnightBlue",peg$c942=peg$literalExpectation("MidnightBlue",false),peg$c943="mintcream",peg$c944=peg$literalExpectation("mintcream",false),peg$c945=function(){return"#f5fffaff"},peg$c946="MintCream",peg$c947=peg$literalExpectation("MintCream",false),peg$c948="mistyrose",peg$c949=peg$literalExpectation("mistyrose",false),peg$c950=function(){return"#ffe4e1ff"},peg$c951="MistyRose",peg$c952=peg$literalExpectation("MistyRose",false),peg$c953="moccasin",peg$c954=peg$literalExpectation("moccasin",false),peg$c955=function(){return"#ffe4b5ff"},peg$c956="Moccasin",peg$c957=peg$literalExpectation("Moccasin",false),peg$c958="navajowhite",peg$c959=peg$literalExpectation("navajowhite",false),peg$c960=function(){return"#ffdeadff"},peg$c961="NavajoWhite",peg$c962=peg$literalExpectation("NavajoWhite",false),peg$c963="navy",peg$c964=peg$literalExpectation("navy",false),peg$c965=function(){return"#000080ff"},peg$c966="Navy",peg$c967=peg$literalExpectation("Navy",false),peg$c968="oldlace",peg$c969=peg$literalExpectation("oldlace",false),peg$c970=function(){return"#fdf5e6ff"},peg$c971="OldLace",peg$c972=peg$literalExpectation("OldLace",false),peg$c973="olivedrab",peg$c974=peg$literalExpectation("olivedrab",false),peg$c975=function(){return"#6b8e23ff"},peg$c976="OliveDrab",peg$c977=peg$literalExpectation("OliveDrab",false),peg$c978="olive",peg$c979=peg$literalExpectation("olive",false),peg$c980=function(){return"#808000ff"},peg$c981="Olive",peg$c982=peg$literalExpectation("Olive",false),peg$c983="orangered",peg$c984=peg$literalExpectation("orangered",false),peg$c985=function(){return"#ff4500ff"},peg$c986="OrangeRed",peg$c987=peg$literalExpectation("OrangeRed",false),peg$c988="orange",peg$c989=peg$literalExpectation("orange",false),peg$c990=function(){return"#ffa500ff"},peg$c991="Orange",peg$c992=peg$literalExpectation("Orange",false),peg$c993="orchid",peg$c994=peg$literalExpectation("orchid",false),peg$c995=function(){return"#da70d6ff"},peg$c996="Orchid",peg$c997=peg$literalExpectation("Orchid",false),peg$c998="palegoldenrod",peg$c999=peg$literalExpectation("palegoldenrod",false),peg$c1000=function(){return"#eee8aaff"},peg$c1001="PaleGoldenRod",peg$c1002=peg$literalExpectation("PaleGoldenRod",false),peg$c1003="palegreen",peg$c1004=peg$literalExpectation("palegreen",false),peg$c1005=function(){return"#98fb98ff"},peg$c1006="PaleGreen",peg$c1007=peg$literalExpectation("PaleGreen",false),peg$c1008="paleturquoise",peg$c1009=peg$literalExpectation("paleturquoise",false),peg$c1010=function(){return"#afeeeeff"},peg$c1011="PaleTurquoise",peg$c1012=peg$literalExpectation("PaleTurquoise",false),peg$c1013="palevioletred",peg$c1014=peg$literalExpectation("palevioletred",false),peg$c1015=function(){return"#d87093ff"},peg$c1016="PaleVioletRed",peg$c1017=peg$literalExpectation("PaleVioletRed",false),peg$c1018="papayawhip",peg$c1019=peg$literalExpectation("papayawhip",false),peg$c1020=function(){return"#ffefd5ff"},peg$c1021="PapayaWhip",peg$c1022=peg$literalExpectation("PapayaWhip",false),peg$c1023="peachpuff",peg$c1024=peg$literalExpectation("peachpuff",false),peg$c1025=function(){return"#ffdab9ff"},peg$c1026="PeachPuff",peg$c1027=peg$literalExpectation("PeachPuff",false),peg$c1028="peru",peg$c1029=peg$literalExpectation("peru",false),peg$c1030=function(){return"#cd853fff"},peg$c1031="Peru",peg$c1032=peg$literalExpectation("Peru",false),peg$c1033="pink",peg$c1034=peg$literalExpectation("pink",false),peg$c1035=function(){return"#ffc0cbff"},peg$c1036="Pink",peg$c1037=peg$literalExpectation("Pink",false),peg$c1038="plum",peg$c1039=peg$literalExpectation("plum",false),peg$c1040=function(){return"#dda0ddff"},peg$c1041="Plum",peg$c1042=peg$literalExpectation("Plum",false),peg$c1043="powderblue",peg$c1044=peg$literalExpectation("powderblue",false),peg$c1045=function(){return"#b0e0e6ff"},peg$c1046="PowderBlue",peg$c1047=peg$literalExpectation("PowderBlue",false),peg$c1048="purple",peg$c1049=peg$literalExpectation("purple",false),peg$c1050=function(){return"#800080ff"},peg$c1051="Purple",peg$c1052=peg$literalExpectation("Purple",false),peg$c1053="red",peg$c1054=peg$literalExpectation("red",false),peg$c1055=function(){return"#ff0000ff"},peg$c1056="Red",peg$c1057=peg$literalExpectation("Red",false),peg$c1058="rosybrown",peg$c1059=peg$literalExpectation("rosybrown",false),peg$c1060=function(){return"#bc8f8fff"},peg$c1061="RosyBrown",peg$c1062=peg$literalExpectation("RosyBrown",false),peg$c1063="royalblue",peg$c1064=peg$literalExpectation("royalblue",false),peg$c1065=function(){return"#4169e1ff"},peg$c1066="RoyalBlue",peg$c1067=peg$literalExpectation("RoyalBlue",false),peg$c1068="saddlebrown",peg$c1069=peg$literalExpectation("saddlebrown",false),peg$c1070=function(){return"#8b4513ff"},peg$c1071="SaddleBrown",peg$c1072=peg$literalExpectation("SaddleBrown",false),peg$c1073="salmon",peg$c1074=peg$literalExpectation("salmon",false),peg$c1075=function(){return"#fa8072ff"},peg$c1076="Salmon",peg$c1077=peg$literalExpectation("Salmon",false),peg$c1078="sandybrown",peg$c1079=peg$literalExpectation("sandybrown",false),peg$c1080=function(){return"#f4a460ff"},peg$c1081="SandyBrown",peg$c1082=peg$literalExpectation("SandyBrown",false),peg$c1083="seagreen",peg$c1084=peg$literalExpectation("seagreen",false),peg$c1085=function(){return"#2e8b57ff"},peg$c1086="SeaGreen",peg$c1087=peg$literalExpectation("SeaGreen",false),peg$c1088="seashell",peg$c1089=peg$literalExpectation("seashell",false),peg$c1090=function(){return"#fff5eeff"},peg$c1091="SeaShell",peg$c1092=peg$literalExpectation("SeaShell",false),peg$c1093="sienna",peg$c1094=peg$literalExpectation("sienna",false),peg$c1095=function(){return"#a0522dff"},peg$c1096="Sienna",peg$c1097=peg$literalExpectation("Sienna",false),peg$c1098="silver",peg$c1099=peg$literalExpectation("silver",false),peg$c1100=function(){return"#c0c0c0ff"},peg$c1101="Silver",peg$c1102=peg$literalExpectation("Silver",false),peg$c1103="skyblue",peg$c1104=peg$literalExpectation("skyblue",false),peg$c1105=function(){return"#87ceebff"},peg$c1106="SkyBlue",peg$c1107=peg$literalExpectation("SkyBlue",false),peg$c1108="slateblue",peg$c1109=peg$literalExpectation("slateblue",false),peg$c1110=function(){return"#6a5acdff"},peg$c1111="SlateBlue",peg$c1112=peg$literalExpectation("SlateBlue",false),peg$c1113="slategray",peg$c1114=peg$literalExpectation("slategray",false),peg$c1115=function(){return"#708090ff"},peg$c1116="SlateGray",peg$c1117=peg$literalExpectation("SlateGray",false),peg$c1118="slategrey",peg$c1119=peg$literalExpectation("slategrey",false),peg$c1120="SlateGrey",peg$c1121=peg$literalExpectation("SlateGrey",false),peg$c1122="snow",peg$c1123=peg$literalExpectation("snow",false),peg$c1124=function(){return"#fffafaff"},peg$c1125="Snow",peg$c1126=peg$literalExpectation("Snow",false),peg$c1127="springgreen",peg$c1128=peg$literalExpectation("springgreen",false),peg$c1129=function(){return"#00ff7fff"},peg$c1130="SpringGreen",peg$c1131=peg$literalExpectation("SpringGreen",false),peg$c1132="steelblue",peg$c1133=peg$literalExpectation("steelblue",false),peg$c1134=function(){return"#4682b4ff"},peg$c1135="SteelBlue",peg$c1136=peg$literalExpectation("SteelBlue",false),peg$c1137="tan",peg$c1138=peg$literalExpectation("tan",false),peg$c1139=function(){return"#d2b48cff"},peg$c1140="Tan",peg$c1141=peg$literalExpectation("Tan",false),peg$c1142="teal",peg$c1143=peg$literalExpectation("teal",false),peg$c1144=function(){return"#008080ff"},peg$c1145="Teal",peg$c1146=peg$literalExpectation("Teal",false),peg$c1147="thistle",peg$c1148=peg$literalExpectation("thistle",false),peg$c1149=function(){return"#d8bfd8ff"},peg$c1150="Thistle",peg$c1151=peg$literalExpectation("Thistle",false),peg$c1152="tomato",peg$c1153=peg$literalExpectation("tomato",false),peg$c1154=function(){return"#ff6347ff"},peg$c1155="Tomato",peg$c1156=peg$literalExpectation("Tomato",false),peg$c1157="turquoise",peg$c1158=peg$literalExpectation("turquoise",false),peg$c1159=function(){return"#40e0d0ff"},peg$c1160="Turquoise",peg$c1161=peg$literalExpectation("Turquoise",false),peg$c1162="violet",peg$c1163=peg$literalExpectation("violet",false),peg$c1164=function(){return"#ee82eeff"},peg$c1165="Violet",peg$c1166=peg$literalExpectation("Violet",false),peg$c1167="wheat",peg$c1168=peg$literalExpectation("wheat",false),peg$c1169=function(){return"#f5deb3ff"},peg$c1170="Wheat",peg$c1171=peg$literalExpectation("Wheat",false),peg$c1172="whitesmoke",peg$c1173=peg$literalExpectation("whitesmoke",false),peg$c1174=function(){return"#f5f5f5ff"},peg$c1175="WhiteSmoke",peg$c1176=peg$literalExpectation("WhiteSmoke",false),peg$c1177="white",peg$c1178=peg$literalExpectation("white",false),peg$c1179=function(){return"#ffffffff"},peg$c1180="White",peg$c1181=peg$literalExpectation("White",false),peg$c1182="yellowgreen",peg$c1183=peg$literalExpectation("yellowgreen",false),peg$c1184=function(){return"#9acd32ff"},peg$c1185="YellowGreen",peg$c1186=peg$literalExpectation("YellowGreen",false),peg$c1187="yellow",peg$c1188=peg$literalExpectation("yellow",false),peg$c1189=function(){return"#ffff00ff"},peg$c1190="Yellow",peg$c1191=peg$literalExpectation("Yellow",false),peg$c1192=function(lab){return lab},peg$c1193="#",peg$c1194=peg$literalExpectation("#",false),peg$c1195=function(r,g,b){return`#${r}${r}${g}${g}${b}${b}ff`},peg$c1196=function(r1,r2,g1,g2,b1,b2){return`#${r1}${r2}${g1}${g2}${b1}${b2}ff`},peg$c1197=function(r,g,b,a){return`#${r}${r}${g}${g}${b}${b}${a}${a}`},peg$c1198=function(r1,r2,g1,g2,b1,b2,a1,a2){return`#${r1}${r2}${g1}${g2}${b1}${b2}${a1}${a2}`},peg$c1199=peg$otherExpectation("color"),peg$c1200="arc_label",peg$c1201=peg$literalExpectation("arc_label",false),peg$c1202="head_label",peg$c1203=peg$literalExpectation("head_label",false),peg$c1204="tail_label",peg$c1205=peg$literalExpectation("tail_label",false),peg$c1206=":",peg$c1207=peg$literalExpectation(":",false),peg$c1208=";",peg$c1209=peg$literalExpectation(";",false),peg$c1210=function(key,value){return{key:key,value:value}},peg$c1211=peg$otherExpectation("single edge color"),peg$c1212="edge_color",peg$c1213=peg$literalExpectation("edge_color",false),peg$c1214=function(value){return{key:"single_edge_color",value:value}},peg$c1215=peg$otherExpectation("transition line style"),peg$c1216="line-style",peg$c1217=peg$literalExpectation("line-style",false),peg$c1218=function(value){return{key:"transition_line_style",value:value}},peg$c1219="{",peg$c1220=peg$literalExpectation("{",false),peg$c1221="}",peg$c1222=peg$literalExpectation("}",false),peg$c1223=function(items){return items},peg$c1224="%",peg$c1225=peg$literalExpectation("%",false),peg$c1226=function(value){return{key:"arrow probability",value:value}},peg$c1227=function(names){return names.map((i=>i[0]))},peg$c1228="+|",peg$c1229=peg$literalExpectation("+|",false),peg$c1230=function(nzd,dd){return{key:"stripe",value:parseInt(`${nzd}${dd}`,10)}},peg$c1231="-|",peg$c1232=peg$literalExpectation("-|",false),peg$c1233=function(nzd,dd){return{key:"stripe",value:-1*parseInt(`${nzd}${dd}`,10)}},peg$c1234="+",peg$c1235=peg$literalExpectation("+",false),peg$c1236=function(nzd,dd){return{key:"cycle",value:parseInt(`${nzd}${dd}`,10)}},peg$c1237="-",peg$c1238=peg$literalExpectation("-",false),peg$c1239=function(nzd,dd){return{key:"cycle",value:-1*parseInt(`${nzd}${dd}`,10)}},peg$c1240="+0",peg$c1241=peg$literalExpectation("+0",false),peg$c1242=function(){return{key:"cycle",value:0}},peg$c1243=function(r_action,r_prob,l_desc,arrow,r_desc,l_prob,l_action,label,tail){const base={kind:arrow,to:label};if(tail&&tail!==[]){base.se=tail}if(l_desc){base.l_desc=l_desc}if(r_desc){base.r_desc=r_desc}if(l_action){base.l_action=l_action}if(r_action){base.r_action=r_action}if(l_prob){base.l_probability=l_prob.value}if(r_prob){base.r_probability=r_prob.value}return base},peg$c1244=function(label,se){const base={key:"transition",from:label};if(se&&se!==[]){base.se=se}return base},peg$c1245="whargarbl",peg$c1246=peg$literalExpectation("whargarbl",false),peg$c1247="todo",peg$c1248=peg$literalExpectation("todo",false),peg$c1249=function(validationkey,value){return{key:validationkey,value:value}},peg$c1250="validation",peg$c1251=peg$literalExpectation("validation",false),peg$c1252="};",peg$c1253=peg$literalExpectation("};",false),peg$c1254=function(validation_items){return{config_kind:"validation",config_items:validation_items||[]}},peg$c1255="dot",peg$c1256=peg$literalExpectation("dot",false),peg$c1257="circo",peg$c1258=peg$literalExpectation("circo",false),peg$c1259="fdp",peg$c1260=peg$literalExpectation("fdp",false),peg$c1261="neato",peg$c1262=peg$literalExpectation("neato",false),peg$c1263="state",peg$c1264=peg$literalExpectation("state",false),peg$c1265=function(state_items){return{key:"default_state_config",value:state_items||[]}},peg$c1266="start_state",peg$c1267=peg$literalExpectation("start_state",false),peg$c1268=function(state_items){return{key:"default_start_state_config",value:state_items||[]}},peg$c1269="end_state",peg$c1270=peg$literalExpectation("end_state",false),peg$c1271=function(state_items){return{key:"default_end_state_config",value:state_items||[]}},peg$c1272="active_state",peg$c1273=peg$literalExpectation("active_state",false),peg$c1274=function(state_items){return{key:"default_active_state_config",value:state_items||[]}},peg$c1275="terminal_state",peg$c1276=peg$literalExpectation("terminal_state",false),peg$c1277=function(state_items){return{key:"default_terminal_state_config",value:state_items||[]}},peg$c1278="hooked_state",peg$c1279=peg$literalExpectation("hooked_state",false),peg$c1280=function(state_items){return{key:"default_hooked_state_config",value:state_items||[]}},peg$c1281=function(actionkey,value){return{key:actionkey,value:value}},peg$c1282="action",peg$c1283=peg$literalExpectation("action",false),peg$c1284=function(action_items){return{config_kind:"action",config_items:action_items||[]}},peg$c1285=function(key,value){return{key:key,value:value}},peg$c1286=peg$otherExpectation("graph default edge color"),peg$c1287=function(value){return{key:"graph_default_edge_color",value:value}},peg$c1288="transition",peg$c1289=peg$literalExpectation("transition",false),peg$c1290=function(transition_items){return{config_kind:"transition",config_items:transition_items||[]}},peg$c1291="graph_layout",peg$c1292=peg$literalExpectation("graph_layout",false),peg$c1293=function(value){return{key:"graph_layout",value:value}},peg$c1294="start_states",peg$c1295=peg$literalExpectation("start_states",false),peg$c1296=function(value){return{key:"start_states",value:value}},peg$c1297="end_states",peg$c1298=peg$literalExpectation("end_states",false),peg$c1299=function(value){return{key:"end_states",value:value}},peg$c1300="graph_bg_color",peg$c1301=peg$literalExpectation("graph_bg_color",false),peg$c1302=function(value){return{key:"graph_bg_color",value:value}},peg$c1303=peg$otherExpectation("configuration"),peg$c1304="MIT",peg$c1305=peg$literalExpectation("MIT",false),peg$c1306="BSD 2-clause",peg$c1307=peg$literalExpectation("BSD 2-clause",false),peg$c1308="BSD 3-clause",peg$c1309=peg$literalExpectation("BSD 3-clause",false),peg$c1310="Apache 2.0",peg$c1311=peg$literalExpectation("Apache 2.0",false),peg$c1312="Mozilla 2.0",peg$c1313=peg$literalExpectation("Mozilla 2.0",false),peg$c1314="Public domain",peg$c1315=peg$literalExpectation("Public domain",false),peg$c1316="GPL v2",peg$c1317=peg$literalExpectation("GPL v2",false),peg$c1318="GPL v3",peg$c1319=peg$literalExpectation("GPL v3",false),peg$c1320="LGPL v2.1",peg$c1321=peg$literalExpectation("LGPL v2.1",false),peg$c1322="LGPL v3.0",peg$c1323=peg$literalExpectation("LGPL v3.0",false),peg$c1324="Unknown",peg$c1325=peg$literalExpectation("Unknown",false),peg$c1326=peg$otherExpectation("direction"),peg$c1327="up",peg$c1328=peg$literalExpectation("up",false),peg$c1329="right",peg$c1330=peg$literalExpectation("right",false),peg$c1331="down",peg$c1332=peg$literalExpectation("down",false),peg$c1333="left",peg$c1334=peg$literalExpectation("left",false),peg$c1335=peg$otherExpectation("hook definition (open/closed)"),peg$c1336="open",peg$c1337=peg$literalExpectation("open",false),peg$c1338="closed",peg$c1339=peg$literalExpectation("closed",false),peg$c1340="machine_author",peg$c1341=peg$literalExpectation("machine_author",false),peg$c1342=function(value){return{key:"machine_author",value:value}},peg$c1343="machine_contributor",peg$c1344=peg$literalExpectation("machine_contributor",false),peg$c1345=function(value){return{key:"machine_contributor",value:value}},peg$c1346="machine_comment",peg$c1347=peg$literalExpectation("machine_comment",false),peg$c1348=function(value){return{key:"machine_comment",value:value}},peg$c1349="machine_definition",peg$c1350=peg$literalExpectation("machine_definition",false),peg$c1351=function(value){return{key:"machine_definition",value:value}},peg$c1352="machine_name",peg$c1353=peg$literalExpectation("machine_name",false),peg$c1354=function(value){return{key:"machine_name",value:value}},peg$c1358="machine_version",peg$c1359=peg$literalExpectation("machine_version",false),peg$c1360=function(value){return{key:"machine_version",value:value}},peg$c1361="machine_license",peg$c1362=peg$literalExpectation("machine_license",false),peg$c1363=function(value){return{key:"machine_license",value:value}},peg$c1364="machine_language",peg$c1365=peg$literalExpectation("machine_language",false),peg$c1366=function(value){return{key:"machine_language",value:value}},peg$c1367="fsl_version",peg$c1368=peg$literalExpectation("fsl_version",false),peg$c1369=function(value){return{key:"fsl_version",value:value}},peg$c1370="theme",peg$c1371=peg$literalExpectation("theme",false),peg$c1372=function(value){return{key:"theme",value:value}},peg$c1373="flow",peg$c1374=peg$literalExpectation("flow",false),peg$c1375=function(value){return{key:"flow",value:value}},peg$c1376="hooks",peg$c1377=peg$literalExpectation("hooks",false),peg$c1378=function(value){return{key:"hook_definition",value:value}},peg$c1379="dot_preamble",peg$c1380=peg$literalExpectation("dot_preamble",false),peg$c1381=function(value){return{key:"dot_preamble",value:value}},peg$c1382=peg$otherExpectation("machine attribute"),peg$c1383="label",peg$c1384=peg$literalExpectation("label",false),peg$c1385=function(value){return{key:"state-label",value:value}},peg$c1386="color",peg$c1387=peg$literalExpectation("color",false),peg$c1388=function(value){return{key:"color",value:value}},peg$c1389=peg$otherExpectation("text color"),peg$c1390="text-color",peg$c1391=peg$literalExpectation("text-color",false),peg$c1392=function(value){return{key:"text-color",value:value}},peg$c1393=peg$otherExpectation("background color"),peg$c1394="background-color",peg$c1395=peg$literalExpectation("background-color",false),peg$c1396=function(value){return{key:"background-color",value:value}},peg$c1397=peg$otherExpectation("border color"),peg$c1398="border-color",peg$c1399=peg$literalExpectation("border-color",false),peg$c1400=function(value){return{key:"border-color",value:value}},peg$c1401=peg$otherExpectation("shape"),peg$c1402="shape",peg$c1403=peg$literalExpectation("shape",false),peg$c1404=function(value){return{key:"shape",value:value}},peg$c1405=peg$otherExpectation("corners"),peg$c1406="corners",peg$c1407=peg$literalExpectation("corners",false),peg$c1408=function(value){return{key:"corners",value:value}},peg$c1409=peg$otherExpectation("linestyle"),peg$c1410=function(value){return{key:"line-style",value:value}},peg$c1411="linestyle",peg$c1412=peg$literalExpectation("linestyle",false),peg$c1413=peg$otherExpectation("state property"),peg$c1414="property",peg$c1415=peg$literalExpectation("property",false),peg$c1416=function(name,value){return{key:"state_property",name:name,value:value}},peg$c1417="required",peg$c1418=peg$literalExpectation("required",false),peg$c1419=function(name,value){return{key:"state_property",name:name,value:value,required:true}},peg$c1420=function(name,value){return{key:"state_declaration",name:name,value:value}},peg$c1421="&",peg$c1422=peg$literalExpectation("&",false),peg$c1423=function(name,value){return{key:"named_list",name:name,value:value}},peg$c1424=function(name,default_value){return{key:"property_definition",name:name,default_value:default_value,required:true}},peg$c1425=function(name){return{key:"property_definition",name:name,required:true}},peg$c1426=function(name,default_value){return{key:"property_definition",name:name,default_value:default_value}},peg$c1427=function(name){return{key:"property_definition",name:name}},peg$c1428="arrange",peg$c1429=peg$literalExpectation("arrange",false),peg$c1430=function(value){return{key:"arrange_declaration",value:value}},peg$c1431="arrange-start",peg$c1432=peg$literalExpectation("arrange-start",false),peg$c1433=function(value){return{key:"arrange_start_declaration",value:value}},peg$c1434="arrange-end",peg$c1435=peg$literalExpectation("arrange-end",false),peg$c1436=function(value){return{key:"arrange_end_declaration",value:value}},peg$c1437=peg$otherExpectation("arrange declaration"),peg$currPos=0,peg$savedPos=0,peg$posDetailsCache=[{line:1,column:1}],peg$maxFailPos=0,peg$maxFailExpected=[],peg$silentFails=0,peg$result;if("startRule"in options){if(!(options.startRule in peg$startRuleFunctions)){throw new Error("Can't start parsing from rule \""+options.startRule+'".')}peg$startRuleFunction=peg$startRuleFunctions[options.startRule]}function text(){return input.substring(peg$savedPos,peg$currPos)}function peg$literalExpectation(text,ignoreCase){return{type:"literal",text:text,ignoreCase:ignoreCase}}function peg$classExpectation(parts,inverted,ignoreCase){return{type:"class",parts:parts,inverted:inverted,ignoreCase:ignoreCase}}function peg$anyExpectation(){return{type:"any"}}function peg$endExpectation(){return{type:"end"}}function peg$otherExpectation(description){return{type:"other",description:description}}function peg$computePosDetails(pos){var details=peg$posDetailsCache[pos],p;if(details){return details}else{p=pos-1;while(!peg$posDetailsCache[p]){p--}details=peg$posDetailsCache[p];details={line:details.line,column:details.column};while(ppeg$maxFailPos){peg$maxFailPos=peg$currPos;peg$maxFailExpected=[]}peg$maxFailExpected.push(expected)}function peg$buildStructuredError(expected,found,location){return new peg$SyntaxError(peg$SyntaxError.buildMessage(expected,found),expected,found,location)}function peg$parseDocument(){var s0,s1,s2,s3;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseTermList();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c0(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTheme(){var s0;if(input.substr(peg$currPos,4)===peg$c1){s0=peg$c1;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c2)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c3){s0=peg$c3;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c4)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c5){s0=peg$c5;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c6)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c7){s0=peg$c7;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c8)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c9){s0=peg$c9;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c10)}}}}}}return s0}function peg$parseThemeOrThemeList(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===91){s1=peg$c11;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c12)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$currPos;s5=peg$parseTheme();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}while(s4!==peg$FAILED){s3.push(s4);s4=peg$currPos;s5=peg$parseTheme();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}}if(s3!==peg$FAILED){s4=peg$parseTheme();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===93){s5=peg$c13;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c14)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c15(s3,s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseTheme();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c16(s1)}s0=s1}return s0}function peg$parseGvizShape(){var s0;if(input.substr(peg$currPos,5)===peg$c17){s0=peg$c17;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c18)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c19){s0=peg$c19;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c20)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c21){s0=peg$c21;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c22)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c23){s0=peg$c23;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c24)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c25){s0=peg$c25;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c26)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c27){s0=peg$c27;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c28)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c29){s0=peg$c29;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c30)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c31){s0=peg$c31;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c32)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c33){s0=peg$c33;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c34)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c35){s0=peg$c35;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c36)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c37){s0=peg$c37;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c38)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c39){s0=peg$c39;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c40)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c41){s0=peg$c41;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c42)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c43){s0=peg$c43;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c44)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c45){s0=peg$c45;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c46)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c47){s0=peg$c47;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c48)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c49){s0=peg$c49;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c50)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c51){s0=peg$c51;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c52)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c53){s0=peg$c53;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c54)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c55){s0=peg$c55;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c56)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c57){s0=peg$c57;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c58)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c59){s0=peg$c59;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c60)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c61){s0=peg$c61;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c62)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c63){s0=peg$c63;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c64)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c65){s0=peg$c65;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c66)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c67){s0=peg$c67;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c68)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c69){s0=peg$c69;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c70)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c71){s0=peg$c71;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c72)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c73){s0=peg$c73;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c74)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c75){s0=peg$c75;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c76)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c77){s0=peg$c77;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c78)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1){s0=peg$c1;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c2)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c79){s0=peg$c79;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c80)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c81){s0=peg$c81;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c82)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c83){s0=peg$c83;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c84)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c85){s0=peg$c85;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c86)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c87){s0=peg$c87;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c88)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c89){s0=peg$c89;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c90)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c91){s0=peg$c91;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c92)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c93){s0=peg$c93;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c94)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c95){s0=peg$c95;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c96)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c97){s0=peg$c97;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c98)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c99){s0=peg$c99;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c100)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c101){s0=peg$c101;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c102)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,15)===peg$c103){s0=peg$c103;peg$currPos+=15}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c104)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c105){s0=peg$c105;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c106)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,14)===peg$c107){s0=peg$c107;peg$currPos+=14}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c108)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c109){s0=peg$c109;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c110)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c111){s0=peg$c111;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c112)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c113){s0=peg$c113;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c114)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c115){s0=peg$c115;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c116)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c117){s0=peg$c117;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c118)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c119){s0=peg$c119;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c120)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c121){s0=peg$c121;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c122)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c123){s0=peg$c123;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c124)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c125){s0=peg$c125;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c126)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c127){s0=peg$c127;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c128)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c129){s0=peg$c129;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c130)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c131){s0=peg$c131;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c132)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c133){s0=peg$c133;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c134)}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}return s0}function peg$parseForwardLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c136){s0=peg$c136;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c137)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8594){s1=peg$c138;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c139)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c140()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c135)}}return s0}function peg$parseTwoWayLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c142){s0=peg$c142;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c143)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8596){s1=peg$c144;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c145)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c146()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c141)}}return s0}function peg$parseBackLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c148){s0=peg$c148;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c149)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8592){s1=peg$c150;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c151)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c152()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c147)}}return s0}function peg$parseForwardFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c154){s0=peg$c154;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c155)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8658){s1=peg$c156;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c157)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c158()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c153)}}return s0}function peg$parseTwoWayFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c160){s0=peg$c160;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c161)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8660){s1=peg$c162;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c163)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c164()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c159)}}return s0}function peg$parseBackFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c166){s0=peg$c166;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c167)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8656){s1=peg$c168;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c169)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c170()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c165)}}return s0}function peg$parseForwardTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c172){s0=peg$c172;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c173)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8603){s1=peg$c174;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c175)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c176()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c171)}}return s0}function peg$parseTwoWayTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c178){s0=peg$c178;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c179)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8622){s1=peg$c180;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c181)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c182()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c177)}}return s0}function peg$parseBackTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c184){s0=peg$c184;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c185)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8602){s1=peg$c186;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c187)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c188()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c183)}}return s0}function peg$parseLightFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c190){s0=peg$c190;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c191)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c192){s1=peg$c192;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c193)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c194()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c189)}}return s0}function peg$parseLightTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c196){s0=peg$c196;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c197)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c198){s1=peg$c198;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c199)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c200()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c195)}}return s0}function peg$parseFatLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c202){s0=peg$c202;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c203)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c204){s1=peg$c204;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c205)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c206()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c201)}}return s0}function peg$parseFatTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c208){s0=peg$c208;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c209)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c210){s1=peg$c210;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c211)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c212()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c207)}}return s0}function peg$parseTildeLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c214){s0=peg$c214;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c215)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c216){s1=peg$c216;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c217)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c218()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c213)}}return s0}function peg$parseTildeFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c220){s0=peg$c220;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c221)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c222){s1=peg$c222;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c223)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c224()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c219)}}return s0}function peg$parseLightArrow(){var s0;peg$silentFails++;s0=peg$parseForwardLightArrow();if(s0===peg$FAILED){s0=peg$parseTwoWayLightArrow();if(s0===peg$FAILED){s0=peg$parseBackLightArrow()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c225)}}return s0}function peg$parseFatArrow(){var s0;peg$silentFails++;s0=peg$parseForwardFatArrow();if(s0===peg$FAILED){s0=peg$parseTwoWayFatArrow();if(s0===peg$FAILED){s0=peg$parseBackFatArrow()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c226)}}return s0}function peg$parseTildeArrow(){var s0;peg$silentFails++;s0=peg$parseForwardTildeArrow();if(s0===peg$FAILED){s0=peg$parseTwoWayTildeArrow();if(s0===peg$FAILED){s0=peg$parseBackTildeArrow()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c227)}}return s0}function peg$parseMixedArrow(){var s0;peg$silentFails++;s0=peg$parseLightFatArrow();if(s0===peg$FAILED){s0=peg$parseLightTildeArrow();if(s0===peg$FAILED){s0=peg$parseFatLightArrow();if(s0===peg$FAILED){s0=peg$parseFatTildeArrow();if(s0===peg$FAILED){s0=peg$parseTildeLightArrow();if(s0===peg$FAILED){s0=peg$parseTildeFatArrow()}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c228)}}return s0}function peg$parseArrow(){var s0;peg$silentFails++;s0=peg$parseMixedArrow();if(s0===peg$FAILED){s0=peg$parseLightArrow();if(s0===peg$FAILED){s0=peg$parseFatArrow();if(s0===peg$FAILED){s0=peg$parseTildeArrow()}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c229)}}return s0}function peg$parseBoolean(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c230){s1=peg$c230;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c231)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c232()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c233){s1=peg$c233;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c234)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c235()}s0=s1}return s0}function peg$parseCorners(){var s0;if(input.substr(peg$currPos,7)===peg$c236){s0=peg$c236;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c237)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c238){s0=peg$c238;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c239)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c240){s0=peg$c240;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c241)}}}}return s0}function peg$parseLineStyle(){var s0;if(input.substr(peg$currPos,5)===peg$c242){s0=peg$c242;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c243)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c244){s0=peg$c244;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c245)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c246){s0=peg$c246;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c247)}}}}return s0}function peg$parseChar(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$parseUnescaped();if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseEscape();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===34){s2=peg$c248;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c249)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===92){s2=peg$c250;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c251)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===47){s2=peg$c252;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c253)}}if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===98){s3=peg$c254;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c255)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c256()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===102){s3=peg$c257;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c258)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c259()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===110){s3=peg$c260;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c261)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c262()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===114){s3=peg$c263;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c264)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c265()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===116){s3=peg$c266;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c267)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c268()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===118){s3=peg$c269;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c270)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c271()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===117){s3=peg$c272;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c273)}}if(s3!==peg$FAILED){s4=peg$currPos;s5=peg$currPos;s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseHexDigit();if(s8!==peg$FAILED){s9=peg$parseHexDigit();if(s9!==peg$FAILED){s6=[s6,s7,s8,s9];s5=s6}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}if(s5!==peg$FAILED){s4=input.substring(s4,peg$currPos)}else{s4=s5}if(s4!==peg$FAILED){peg$savedPos=s2;s3=peg$c274(s4);s2=s3}else{peg$currPos=s2;s2=peg$FAILED}}else{peg$currPos=s2;s2=peg$FAILED}}}}}}}}}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c275(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseNull(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c276){s1=peg$c276;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c277)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c278()}s0=s1;return s0}function peg$parseUndefined(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c279){s1=peg$c279;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c280)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c281()}s0=s1;return s0}function peg$parseEscape(){var s0;if(input.charCodeAt(peg$currPos)===92){s0=peg$c250;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c251)}}return s0}function peg$parseQuoteMark(){var s0;if(input.charCodeAt(peg$currPos)===34){s0=peg$c248;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c249)}}return s0}function peg$parseUnescaped(){var s0;if(peg$c282.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c283)}}return s0}function peg$parseActionLabelChar(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$parseActionLabelUnescaped();if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseEscape();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===39){s2=peg$c284;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c285)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===92){s2=peg$c250;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c251)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===47){s2=peg$c252;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c253)}}if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===98){s3=peg$c254;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c255)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c256()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===102){s3=peg$c257;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c258)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c259()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===110){s3=peg$c260;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c261)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c262()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===114){s3=peg$c263;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c264)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c265()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===116){s3=peg$c266;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c267)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c268()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===118){s3=peg$c269;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c270)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c271()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===117){s3=peg$c272;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c273)}}if(s3!==peg$FAILED){s4=peg$currPos;s5=peg$currPos;s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseHexDigit();if(s8!==peg$FAILED){s9=peg$parseHexDigit();if(s9!==peg$FAILED){s6=[s6,s7,s8,s9];s5=s6}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}if(s5!==peg$FAILED){s4=input.substring(s4,peg$currPos)}else{s4=s5}if(s4!==peg$FAILED){peg$savedPos=s2;s3=peg$c274(s4);s2=s3}else{peg$currPos=s2;s2=peg$FAILED}}else{peg$currPos=s2;s2=peg$FAILED}}}}}}}}}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c275(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseActionLabelQuoteMark(){var s0;if(input.charCodeAt(peg$currPos)===39){s0=peg$c284;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c285)}}return s0}function peg$parseActionLabelUnescaped(){var s0;if(peg$c286.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c287)}}return s0}function peg$parseActionLabel(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;s1=peg$parseActionLabelQuoteMark();if(s1!==peg$FAILED){s2=[];s3=peg$parseActionLabelChar();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseActionLabelChar()}if(s2!==peg$FAILED){s3=peg$parseActionLabelQuoteMark();if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c289(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c288)}}return s0}function peg$parseLineTerminator(){var s0;if(peg$c290.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c291)}}return s0}function peg$parseBlockCommentTail(){var s0,s1,s2;if(input.substr(peg$currPos,2)===peg$c294){s0=peg$c294;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c295)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.length>peg$currPos){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}if(s1!==peg$FAILED){s2=peg$parseBlockCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseBlockComment(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c298){s1=peg$c298;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c299)}}if(s1!==peg$FAILED){s2=peg$parseBlockCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c297)}}return s0}function peg$parseEOF(){var s0,s1;s0=peg$currPos;peg$silentFails++;if(input.length>peg$currPos){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}peg$silentFails--;if(s1===peg$FAILED){s0=void 0}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLineCommentTail(){var s0,s1,s2;s0=peg$parseLineTerminator();if(s0===peg$FAILED){s0=peg$parseEOF();if(s0===peg$FAILED){s0=peg$currPos;if(input.length>peg$currPos){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}if(s1!==peg$FAILED){s2=peg$parseLineCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}return s0}function peg$parseLineComment(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c301){s1=peg$c301;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c302)}}if(s1!==peg$FAILED){s2=peg$parseLineCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c300)}}return s0}function peg$parseWS(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;s1=peg$parseBlockComment();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseLineComment();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=[];if(peg$c304.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c305)}}if(s2!==peg$FAILED){while(s2!==peg$FAILED){s1.push(s2);if(peg$c304.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c305)}}}}else{s1=peg$FAILED}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c303)}}return s0}function peg$parseString(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;s1=peg$parseQuoteMark();if(s1!==peg$FAILED){s2=[];s3=peg$parseChar();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseChar()}if(s2!==peg$FAILED){s3=peg$parseQuoteMark();if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c289(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c306)}}return s0}function peg$parseAtomFirstLetter(){var s0;if(peg$c307.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c308)}}return s0}function peg$parseAtomLetter(){var s0;if(peg$c309.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c310)}}return s0}function peg$parseAtom(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;s1=peg$parseAtomFirstLetter();if(s1!==peg$FAILED){s2=[];s3=peg$parseAtomLetter();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseAtomLetter()}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c312(s1,s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c311)}}return s0}function peg$parseLabel(){var s0;peg$silentFails++;s0=peg$parseAtom();if(s0===peg$FAILED){s0=peg$parseString()}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c313)}}return s0}function peg$parseIntegerLiteral(){var s0,s1,s2,s3;if(input.charCodeAt(peg$currPos)===48){s0=peg$c314;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c315)}}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseNonZeroDigit();if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseDecimalDigit(){var s0;if(peg$c316.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c317)}}return s0}function peg$parseNonZeroDigit(){var s0;if(peg$c318.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c319)}}return s0}function peg$parseHexDigit(){var s0;if(peg$c320.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c321)}}return s0}function peg$parseBinaryDigit(){var s0;if(peg$c322.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c323)}}return s0}function peg$parseOctalDigit(){var s0;if(peg$c322.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c323)}}return s0}function peg$parseNonNegNumber(){var s0,s1,s2,s3,s4;peg$silentFails++;s0=peg$currPos;s1=peg$parseIntegerLiteral();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s2=peg$c325;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseIntegerLiteral();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c324)}}return s0}function peg$parseJsNumericLiteral(){var s0,s1;peg$silentFails++;s0=peg$currPos;s1=peg$parseJsHexIntegerLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseJsBinaryIntegerLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseNonJsOctalIntegerLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseJsDecimalLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c330){s1=peg$c330;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c331)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c332()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c333){s1=peg$c333;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c334)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c336){s1=peg$c336;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c337)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c338){s1=peg$c338;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c339)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c340){s1=peg$c340;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c341)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c342){s1=peg$c342;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c343)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c344){s1=peg$c344;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c345)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c346){s1=peg$c346;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c347)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c348){s1=peg$c348;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c349)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c351){s1=peg$c351;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c352)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c353){s1=peg$c353;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c354)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c355){s1=peg$c355;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c356)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8734){s1=peg$c357;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c358)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c359){s1=peg$c359;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c360)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c361()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c362){s1=peg$c362;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c363)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c361()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===949){s1=peg$c364;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c365)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c361()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c366){s1=peg$c366;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c367)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c368()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c369){s1=peg$c369;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c370)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c368()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===960){s1=peg$c371;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c372)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c368()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c373){s1=peg$c373;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c374)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===69){s1=peg$c376;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c377)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===101){s1=peg$c378;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c379)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===400){s1=peg$c380;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c381)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8455){s1=peg$c382;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c383)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c384){s1=peg$c384;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c385)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c386()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c387){s1=peg$c387;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c388)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c389()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c390){s1=peg$c390;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c391)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c392()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c393){s1=peg$c393;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c394)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c392()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c395){s1=peg$c395;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c396)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c397()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c398){s1=peg$c398;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c399)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c397()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c400){s1=peg$c400;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c401)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c402()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c403){s1=peg$c403;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c404)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c405()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c406){s1=peg$c406;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c407)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c408()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c409){s1=peg$c409;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c410)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c411()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c412){s1=peg$c412;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c413)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c414()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c415){s1=peg$c415;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c416)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c417()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c418){s1=peg$c418;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c419)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c421){s1=peg$c421;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c422)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c423){s1=peg$c423;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c424)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===981){s1=peg$c425;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c426)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===966){s1=peg$c427;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c428)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c429){s1=peg$c429;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c430)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===947){s1=peg$c432;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c433)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c434){s1=peg$c434;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c435)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===947){s1=peg$c432;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c433)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c328)}}return s0}function peg$parseJsDecimalLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseJsDecimalIntegerLiteral();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s2=peg$c325;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){s4=peg$parseJsNExponentPart();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===46){s1=peg$c325;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}}else{s2=peg$FAILED}if(s2!==peg$FAILED){s3=peg$parseJsNExponentPart();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseJsDecimalIntegerLiteral();if(s1!==peg$FAILED){s2=peg$parseJsNExponentPart();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}return s0}function peg$parseJsDecimalIntegerLiteral(){var s0,s1,s2,s3;if(input.charCodeAt(peg$currPos)===48){s0=peg$c314;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c315)}}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseNonZeroDigit();if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseJsNExponentPart(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseJsNExponentIndicator();if(s1!==peg$FAILED){s2=peg$parseJsNSignedInteger();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseJsNExponentIndicator(){var s0;if(input.substr(peg$currPos,1).toLowerCase()===peg$c378){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c436)}}return s0}function peg$parseJsNSignedInteger(){var s0,s1,s2,s3;s0=peg$currPos;if(peg$c437.test(input.charAt(peg$currPos))){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c438)}}if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}}else{s2=peg$FAILED}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseJsHexIntegerLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2).toLowerCase()===peg$c439){s1=input.substr(peg$currPos,2);peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c440)}}if(s1!==peg$FAILED){s2=peg$currPos;s3=[];s4=peg$parseHexDigit();if(s4!==peg$FAILED){while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseHexDigit()}}else{s3=peg$FAILED}if(s3!==peg$FAILED){s2=input.substring(s2,peg$currPos)}else{s2=s3}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c441(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseJsBinaryIntegerLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2).toLowerCase()===peg$c442){s1=input.substr(peg$currPos,2);peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c443)}}if(s1!==peg$FAILED){s2=peg$currPos;s3=[];s4=peg$parseBinaryDigit();if(s4!==peg$FAILED){while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseBinaryDigit()}}else{s3=peg$FAILED}if(s3!==peg$FAILED){s2=input.substring(s2,peg$currPos)}else{s2=s3}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c444(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseNonJsOctalIntegerLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2).toLowerCase()===peg$c445){s1=input.substr(peg$currPos,2);peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c446)}}if(s1!==peg$FAILED){s2=peg$currPos;s3=[];s4=peg$parseOctalDigit();if(s4!==peg$FAILED){while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseOctalDigit()}}else{s3=peg$FAILED}if(s3!==peg$FAILED){s2=input.substring(s2,peg$currPos)}else{s2=s3}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c447(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSemVer(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;s1=peg$parseIntegerLiteral();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s2=peg$c325;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s2!==peg$FAILED){s3=peg$parseIntegerLiteral();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s4=peg$c325;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s4!==peg$FAILED){s5=peg$parseIntegerLiteral();if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c448(s1,s3,s5);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseUrlProtocol(){var s0;if(input.substr(peg$currPos,7)===peg$c459){s0=peg$c459;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c460)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c461){s0=peg$c461;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c462)}}}return s0}function peg$parseURL(){var s0,s1,s2,s3;s0=peg$currPos;s1=peg$parseUrlProtocol();if(s1!==peg$FAILED){s2=[];if(peg$c463.test(input.charAt(peg$currPos))){s3=input.charAt(peg$currPos);peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c464)}}if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);if(peg$c463.test(input.charAt(peg$currPos))){s3=input.charAt(peg$currPos);peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c464)}}}}else{s2=peg$FAILED}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c465();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSvgColorLabel(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c466){s1=peg$c466;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c467)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c468()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c469){s1=peg$c469;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c470)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c468()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c471){s1=peg$c471;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c472)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c473()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c474){s1=peg$c474;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c475)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c473()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c476){s1=peg$c476;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c477)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c478()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c479){s1=peg$c479;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c480)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c478()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c481){s1=peg$c481;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c482)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c484){s1=peg$c484;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c485)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c486){s1=peg$c486;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c487)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c488()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c489){s1=peg$c489;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c490)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c488()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c491){s1=peg$c491;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c492)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c493()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c494){s1=peg$c494;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c495)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c493()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c496){s1=peg$c496;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c497)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c498()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c499){s1=peg$c499;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c500)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c498()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c501){s1=peg$c501;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c502)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c503()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c504){s1=peg$c504;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c505)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c503()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c506){s1=peg$c506;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c507)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c508()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c509){s1=peg$c509;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c510)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c508()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c511){s1=peg$c511;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c512)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c513()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c514){s1=peg$c514;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c515)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c513()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c516){s1=peg$c516;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c517)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c518()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c519){s1=peg$c519;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c520)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c518()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c521){s1=peg$c521;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c522)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c523()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c524){s1=peg$c524;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c525)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c523()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c526){s1=peg$c526;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c527)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c528()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c529){s1=peg$c529;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c530)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c528()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c531){s1=peg$c531;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c532)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c533()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c534){s1=peg$c534;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c535)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c533()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c536){s1=peg$c536;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c537)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c538()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c539){s1=peg$c539;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c540)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c538()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c541){s1=peg$c541;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c542)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c543()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c544){s1=peg$c544;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c545)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c543()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c546){s1=peg$c546;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c547)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c548()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c549){s1=peg$c549;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c550)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c548()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c551){s1=peg$c551;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c552)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c553()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c554){s1=peg$c554;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c555)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c553()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c556){s1=peg$c556;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c557)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c558()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c559){s1=peg$c559;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c560)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c558()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c561){s1=peg$c561;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c562)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c563()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c564){s1=peg$c564;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c565)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c563()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c566){s1=peg$c566;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c567)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c568){s1=peg$c568;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c569)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c570){s1=peg$c570;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c571)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c572()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c573){s1=peg$c573;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c574)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c572()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c575){s1=peg$c575;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c576)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c577()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c578){s1=peg$c578;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c579)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c577()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c580){s1=peg$c580;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c581)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c582()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c583){s1=peg$c583;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c584)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c582()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c585){s1=peg$c585;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c586)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c588){s1=peg$c588;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c589)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c590){s1=peg$c590;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c591)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c592){s1=peg$c592;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c593)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c594){s1=peg$c594;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c595)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c596()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c597){s1=peg$c597;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c598)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c596()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c599){s1=peg$c599;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c600)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c601()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c602){s1=peg$c602;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c603)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c601()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c604){s1=peg$c604;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c605)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c606()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c607){s1=peg$c607;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c608)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c606()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c609){s1=peg$c609;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c610)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c611()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c612){s1=peg$c612;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c613)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c611()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c614){s1=peg$c614;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c615)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c616()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c617){s1=peg$c617;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c618)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c616()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c619){s1=peg$c619;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c620)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c621()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c622){s1=peg$c622;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c623)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c621()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c624){s1=peg$c624;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c625)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c626()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c627){s1=peg$c627;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c628)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c626()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c629){s1=peg$c629;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c630)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c631()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c632){s1=peg$c632;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c633)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c631()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c634){s1=peg$c634;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c635)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c636()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c637){s1=peg$c637;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c638)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c636()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c639){s1=peg$c639;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c640)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c641()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c642){s1=peg$c642;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c643)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c641()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c644){s1=peg$c644;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c645)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c647){s1=peg$c647;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c648)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c649){s1=peg$c649;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c650)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c651){s1=peg$c651;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c652)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c653){s1=peg$c653;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c654)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c655()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c656){s1=peg$c656;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c657)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c655()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c658){s1=peg$c658;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c659)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c660()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c661){s1=peg$c661;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c662)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c660()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c663){s1=peg$c663;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c664)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c665()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c666){s1=peg$c666;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c667)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c665()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c668){s1=peg$c668;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c669)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c670()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c671){s1=peg$c671;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c672)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c670()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c673){s1=peg$c673;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c674)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c676){s1=peg$c676;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c677)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c678){s1=peg$c678;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c679)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c680){s1=peg$c680;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c681)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c682){s1=peg$c682;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c683)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c684()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c685){s1=peg$c685;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c686)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c684()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c687){s1=peg$c687;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c688)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c689()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c690){s1=peg$c690;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c691)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c689()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c692){s1=peg$c692;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c693)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c694()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c695){s1=peg$c695;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c696)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c694()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c697){s1=peg$c697;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c698)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c699()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c700){s1=peg$c700;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c701)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c699()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c702){s1=peg$c702;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c703)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c705){s1=peg$c705;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c706)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c707){s1=peg$c707;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c708)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c709()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c710){s1=peg$c710;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c711)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c709()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c712){s1=peg$c712;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c713)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c714()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c715){s1=peg$c715;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c716)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c714()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c717){s1=peg$c717;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c718)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c719()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c720){s1=peg$c720;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c721)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c719()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c722){s1=peg$c722;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c723)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c724()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c725){s1=peg$c725;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c726)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c724()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c727){s1=peg$c727;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c728)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c730){s1=peg$c730;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c731)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c732){s1=peg$c732;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c733)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c734){s1=peg$c734;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c735)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c736){s1=peg$c736;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c737)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c738()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c739){s1=peg$c739;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c740)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c738()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c741){s1=peg$c741;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c742)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c743()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c744){s1=peg$c744;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c745)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c743()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c746){s1=peg$c746;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c747)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c748()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c749){s1=peg$c749;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c750)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c748()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c751){s1=peg$c751;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c752)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c753()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c754){s1=peg$c754;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c755)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c753()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c756){s1=peg$c756;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c757)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c758()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c759){s1=peg$c759;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c760)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c758()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c761){s1=peg$c761;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c762)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c763()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c764){s1=peg$c764;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c765)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c763()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c766){s1=peg$c766;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c767)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c768()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c769){s1=peg$c769;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c770)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c768()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c771){s1=peg$c771;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c772)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c773()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c774){s1=peg$c774;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c775)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c773()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c776){s1=peg$c776;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c777)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c778()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c779){s1=peg$c779;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c780)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c778()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c781){s1=peg$c781;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c782)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c783()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c784){s1=peg$c784;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c785)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c783()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c786){s1=peg$c786;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c787)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c788()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c789){s1=peg$c789;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c790)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c788()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c791){s1=peg$c791;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c792)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c793()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c794){s1=peg$c794;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c795)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c793()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c796){s1=peg$c796;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c797)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c798()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c799){s1=peg$c799;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c800)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c798()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c801){s1=peg$c801;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c802)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c803()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c804){s1=peg$c804;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c805)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c803()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c806){s1=peg$c806;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c807)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c808()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c809){s1=peg$c809;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c810)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c808()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,20)===peg$c811){s1=peg$c811;peg$currPos+=20}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c812)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c813()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,20)===peg$c814){s1=peg$c814;peg$currPos+=20}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c815)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c813()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c816){s1=peg$c816;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c817)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c819){s1=peg$c819;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c820)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c821){s1=peg$c821;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c822)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c823){s1=peg$c823;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c824)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c825){s1=peg$c825;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c826)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c827()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c828){s1=peg$c828;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c829)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c827()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c830){s1=peg$c830;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c831)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c832()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c833){s1=peg$c833;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c834)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c832()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c835){s1=peg$c835;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c836)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c837()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c838){s1=peg$c838;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c839)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c837()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c840){s1=peg$c840;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c841)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c842()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c843){s1=peg$c843;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c844)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c842()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c845){s1=peg$c845;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c846)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c847()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c848){s1=peg$c848;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c849)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c847()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c850){s1=peg$c850;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c851)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c853){s1=peg$c853;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c854)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c855){s1=peg$c855;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c856)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c857){s1=peg$c857;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c858)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c859){s1=peg$c859;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c860)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c861()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c862){s1=peg$c862;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c863)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c861()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c864){s1=peg$c864;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c865)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c866()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c867){s1=peg$c867;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c868)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c866()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c869){s1=peg$c869;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c870)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c871()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c872){s1=peg$c872;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c873)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c871()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c874){s1=peg$c874;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c875)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c876()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c877){s1=peg$c877;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c878)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c876()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c879){s1=peg$c879;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c880)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c881()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c882){s1=peg$c882;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c883)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c881()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c884){s1=peg$c884;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c885)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c886){s1=peg$c886;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c887)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c888){s1=peg$c888;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c889)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c890()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c891){s1=peg$c891;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c892)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c890()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c893){s1=peg$c893;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c894)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c895()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c896){s1=peg$c896;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c897)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c895()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c898){s1=peg$c898;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c899)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c900()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c901){s1=peg$c901;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c902)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c900()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c903){s1=peg$c903;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c904)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c905()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c906){s1=peg$c906;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c907)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c905()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c908){s1=peg$c908;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c909)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c910()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c911){s1=peg$c911;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c912)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c910()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c913){s1=peg$c913;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c914)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c915()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c916){s1=peg$c916;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c917)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c915()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c918){s1=peg$c918;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c919)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c920()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c921){s1=peg$c921;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c922)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c920()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,17)===peg$c923){s1=peg$c923;peg$currPos+=17}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c924)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c925()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,17)===peg$c926){s1=peg$c926;peg$currPos+=17}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c927)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c925()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c928){s1=peg$c928;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c929)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c930()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c931){s1=peg$c931;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c932)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c930()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c933){s1=peg$c933;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c934)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c935()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c936){s1=peg$c936;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c937)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c935()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c938){s1=peg$c938;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c939)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c940()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c941){s1=peg$c941;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c942)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c940()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c943){s1=peg$c943;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c944)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c945()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c946){s1=peg$c946;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c947)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c945()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c948){s1=peg$c948;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c949)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c950()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c951){s1=peg$c951;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c952)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c950()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c953){s1=peg$c953;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c954)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c955()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c956){s1=peg$c956;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c957)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c955()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c958){s1=peg$c958;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c959)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c960()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c961){s1=peg$c961;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c962)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c960()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c963){s1=peg$c963;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c964)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c965()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c966){s1=peg$c966;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c967)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c965()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c968){s1=peg$c968;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c969)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c970()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c971){s1=peg$c971;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c972)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c970()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c973){s1=peg$c973;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c974)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c975()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c976){s1=peg$c976;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c977)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c975()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c978){s1=peg$c978;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c979)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c980()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c981){s1=peg$c981;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c982)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c980()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c983){s1=peg$c983;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c984)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c985()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c986){s1=peg$c986;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c987)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c985()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c988){s1=peg$c988;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c989)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c990()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c991){s1=peg$c991;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c992)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c990()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c993){s1=peg$c993;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c994)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c995()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c996){s1=peg$c996;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c997)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c995()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c998){s1=peg$c998;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c999)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1000()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1001){s1=peg$c1001;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1002)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1000()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1003){s1=peg$c1003;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1004)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1005()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1006){s1=peg$c1006;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1007)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1005()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1008){s1=peg$c1008;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1009)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1010()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1011){s1=peg$c1011;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1012)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1010()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1013){s1=peg$c1013;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1014)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1015()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1016){s1=peg$c1016;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1017)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1015()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1018){s1=peg$c1018;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1019)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1020()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1021){s1=peg$c1021;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1022)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1020()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1023){s1=peg$c1023;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1024)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1025()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1026){s1=peg$c1026;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1027)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1025()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1028){s1=peg$c1028;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1029)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1030()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1031){s1=peg$c1031;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1032)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1030()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1033){s1=peg$c1033;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1034)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1035()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1036){s1=peg$c1036;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1037)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1035()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1038){s1=peg$c1038;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1039)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1040()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1041){s1=peg$c1041;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1042)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1040()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1043){s1=peg$c1043;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1044)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1045()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1046){s1=peg$c1046;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1047)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1045()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1048){s1=peg$c1048;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1049)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1050()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1051){s1=peg$c1051;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1052)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1050()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1053){s1=peg$c1053;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1054)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1055()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1056){s1=peg$c1056;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1057)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1055()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1058){s1=peg$c1058;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1059)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1060()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1061){s1=peg$c1061;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1062)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1060()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1063){s1=peg$c1063;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1064)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1065()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1066){s1=peg$c1066;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1067)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1065()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1068){s1=peg$c1068;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1069)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1070()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1071){s1=peg$c1071;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1072)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1070()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1073){s1=peg$c1073;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1074)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1075()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1076){s1=peg$c1076;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1077)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1075()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1078){s1=peg$c1078;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1079)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1080()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1081){s1=peg$c1081;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1082)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1080()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1083){s1=peg$c1083;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1084)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1085()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1086){s1=peg$c1086;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1087)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1085()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1088){s1=peg$c1088;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1089)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1090()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1091){s1=peg$c1091;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1092)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1090()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1093){s1=peg$c1093;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1094)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1095()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1096){s1=peg$c1096;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1097)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1095()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1098){s1=peg$c1098;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1099)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1100()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1101){s1=peg$c1101;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1102)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1100()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1103){s1=peg$c1103;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1104)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1105()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1106){s1=peg$c1106;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1107)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1105()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1108){s1=peg$c1108;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1109)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1110()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1111){s1=peg$c1111;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1112)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1110()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1113){s1=peg$c1113;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1114)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1116){s1=peg$c1116;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1117)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1118){s1=peg$c1118;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1119)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1120){s1=peg$c1120;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1121)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1122){s1=peg$c1122;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1123)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1124()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1125){s1=peg$c1125;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1126)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1124()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1127){s1=peg$c1127;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1128)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1129()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1130){s1=peg$c1130;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1131)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1129()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1132){s1=peg$c1132;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1133)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1134()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1135){s1=peg$c1135;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1136)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1134()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1137){s1=peg$c1137;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1138)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1139()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1140){s1=peg$c1140;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1141)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1139()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1142){s1=peg$c1142;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1143)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1144()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1145){s1=peg$c1145;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1146)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1144()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1147){s1=peg$c1147;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1148)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1149()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1150){s1=peg$c1150;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1151)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1149()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1152){s1=peg$c1152;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1153)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1154()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1155){s1=peg$c1155;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1156)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1154()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1157){s1=peg$c1157;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1158)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1159()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1160){s1=peg$c1160;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1161)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1159()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1162){s1=peg$c1162;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1163)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1164()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1165){s1=peg$c1165;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1166)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1164()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1167){s1=peg$c1167;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1168)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1169()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1170){s1=peg$c1170;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1171)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1169()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1172){s1=peg$c1172;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1173)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1174()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1175){s1=peg$c1175;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1176)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1174()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1177){s1=peg$c1177;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1178)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1179()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1180){s1=peg$c1180;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1181)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1179()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1182){s1=peg$c1182;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1183)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1184()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1185){s1=peg$c1185;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1186)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1184()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1187){s1=peg$c1187;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1188)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1189()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1190){s1=peg$c1190;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1191)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1189()}s0=s1}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}return s0}function peg$parseSvgColor(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseSvgColorLabel();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c1192(s1);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgb3(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1195(s2,s3,s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgb6(){var s0,s1,s2,s3,s4,s5,s6,s7,s8;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseHexDigit();if(s5!==peg$FAILED){s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseWS();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){peg$savedPos=s0;s1=peg$c1196(s2,s3,s4,s5,s6,s7);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgba4(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseHexDigit();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1197(s2,s3,s4,s5);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgba8(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseHexDigit();if(s5!==peg$FAILED){s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseHexDigit();if(s8!==peg$FAILED){s9=peg$parseHexDigit();if(s9!==peg$FAILED){s10=peg$parseWS();if(s10===peg$FAILED){s10=null}if(s10!==peg$FAILED){peg$savedPos=s0;s1=peg$c1198(s2,s3,s4,s5,s6,s7,s8,s9);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseColor(){var s0;peg$silentFails++;s0=peg$parseSvgColor();if(s0===peg$FAILED){s0=peg$parseRgba8();if(s0===peg$FAILED){s0=peg$parseRgb6();if(s0===peg$FAILED){s0=peg$parseRgba4();if(s0===peg$FAILED){s0=peg$parseRgb3()}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1199)}}return s0}function peg$parseArrowItemKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1200){s0=peg$c1200;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1201)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1202){s0=peg$c1202;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1203)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1204){s0=peg$c1204;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1205)}}}}return s0}function peg$parseArrowItem(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseArrowItemKey();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1210(s2,s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSingleEdgeColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1212){s2=peg$c1212;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1213)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1214(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1211)}}return s0}function peg$parseTransitionLineStyle(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1216){s2=peg$c1216;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1217)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLineStyle();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1218(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1215)}}return s0}function peg$parseArrowItems(){var s0,s1;s0=peg$parseSingleEdgeColor();if(s0===peg$FAILED){s0=peg$parseTransitionLineStyle();if(s0===peg$FAILED){s0=[];s1=peg$parseArrowItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseArrowItem()}}else{s0=peg$FAILED}}}return s0}function peg$parseArrowDesc(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===123){s1=peg$c1219;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseArrowItems();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===125){s5=peg$c1221;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1222)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1223(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrowProbability(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseNonNegNumber();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===37){s2=peg$c1224;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1225)}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c1226(s1);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLabelList(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===91){s1=peg$c11;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c12)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$currPos;s5=peg$parseLabel();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}while(s4!==peg$FAILED){s3.push(s4);s4=peg$currPos;s5=peg$parseLabel();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===93){s4=peg$c13;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c14)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1227(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLabelOrLabelList(){var s0;s0=peg$parseLabelList();if(s0===peg$FAILED){s0=peg$parseLabel()}return s0}function peg$parseStripe(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1228){s1=peg$c1228;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1229)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1230(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1231){s1=peg$c1231;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1232)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1233(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseCycle(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===43){s1=peg$c1234;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1235)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1236(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===45){s1=peg$c1237;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1238)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1239(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1240){s1=peg$c1240;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1241)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1242()}s0=s1}}return s0}function peg$parseArrowTarget(){var s0;s0=peg$parseStripe();if(s0===peg$FAILED){s0=peg$parseCycle();if(s0===peg$FAILED){s0=peg$parseLabelList();if(s0===peg$FAILED){s0=peg$parseLabel()}}}return s0}function peg$parseSubexp(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13,s14,s15,s16,s17,s18;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseActionLabel();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseArrowProbability();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseArrowDesc();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseArrow();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){s10=peg$parseArrowDesc();if(s10===peg$FAILED){s10=null}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){s12=peg$parseArrowProbability();if(s12===peg$FAILED){s12=null}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){s14=peg$parseActionLabel();if(s14===peg$FAILED){s14=null}if(s14!==peg$FAILED){s15=peg$parseWS();if(s15===peg$FAILED){s15=null}if(s15!==peg$FAILED){s16=peg$parseArrowTarget();if(s16!==peg$FAILED){s17=peg$parseWS();if(s17===peg$FAILED){s17=null}if(s17!==peg$FAILED){s18=peg$parseSubexp();if(s18===peg$FAILED){s18=null}if(s18!==peg$FAILED){peg$savedPos=s0;s1=peg$c1243(s2,s4,s6,s8,s10,s12,s14,s16,s18);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseExp(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;s1=peg$parseArrowTarget();if(s1!==peg$FAILED){s2=peg$parseSubexp();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1244(s1,s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseValidationKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1245){s0=peg$c1245;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1247){s0=peg$c1247;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}}return s0}function peg$parseValidationItem(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseValidationKey();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s2=peg$c1206;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1249(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseValidationItems(){var s0,s1;s0=[];s1=peg$parseValidationItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseValidationItem()}}else{s0=peg$FAILED}return s0}function peg$parseConfigValidation(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1250){s2=peg$c1250;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1251)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseValidationItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1254(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseGvizLayout(){var s0;if(input.substr(peg$currPos,3)===peg$c1255){s0=peg$c1255;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1256)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1257){s0=peg$c1257;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1258)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c1259){s0=peg$c1259;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1260)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1261){s0=peg$c1261;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1262)}}}}}return s0}function peg$parseStateItems(){var s0,s1;s0=[];s1=peg$parseStateDeclarationItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseStateDeclarationItem()}}else{s0=peg$FAILED}return s0}function peg$parseConfigState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1263){s2=peg$c1263;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1264)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1265(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigStartState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1266){s2=peg$c1266;peg$currPos+=11}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1267)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1268(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigEndState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1269){s2=peg$c1269;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1270)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1271(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigActiveState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1272){s2=peg$c1272;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1273)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1274(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigTerminalState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,14)===peg$c1275){s2=peg$c1275;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1276)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1277(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigHookedState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1278){s2=peg$c1278;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1279)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1280(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigAnyState(){var s0;s0=peg$parseConfigState();if(s0===peg$FAILED){s0=peg$parseConfigStartState();if(s0===peg$FAILED){s0=peg$parseConfigEndState();if(s0===peg$FAILED){s0=peg$parseConfigActiveState();if(s0===peg$FAILED){s0=peg$parseConfigTerminalState();if(s0===peg$FAILED){s0=peg$parseConfigHookedState()}}}}}return s0}function peg$parseActionKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1245){s0=peg$c1245;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1247){s0=peg$c1247;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}}return s0}function peg$parseActionItem(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseActionKey();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s2=peg$c1206;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1281(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseActionItems(){var s0,s1;s0=[];s1=peg$parseActionItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseActionItem()}}else{s0=peg$FAILED}return s0}function peg$parseConfigAction(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1282){s2=peg$c1282;peg$currPos+=6}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1283)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseActionItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1284(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTransitionKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1245){s0=peg$c1245;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1247){s0=peg$c1247;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}}return s0}function peg$parseTransitionItem(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseTransitionKey();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s2=peg$c1206;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1285(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTransitionItems(){var s0,s1;s0=peg$parseGraphDefaultEdgeColor();if(s0===peg$FAILED){s0=[];s1=peg$parseTransitionItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseTransitionItem()}}else{s0=peg$FAILED}}return s0}function peg$parseGraphDefaultEdgeColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1212){s2=peg$c1212;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1213)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1287(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1286)}}return s0}function peg$parseConfigTransition(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1288){s2=peg$c1288;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1289)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseTransitionItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1290(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigGraphLayout(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1291){s2=peg$c1291;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1292)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseGvizLayout();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1293(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigStartNodes(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1294){s2=peg$c1294;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1295)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1296(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigEndNodes(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1297){s2=peg$c1297;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1298)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1299(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigGraphBgColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,14)===peg$c1300){s2=peg$c1300;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1301)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1302(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfig(){var s0;peg$silentFails++;s0=peg$parseConfigGraphLayout();if(s0===peg$FAILED){s0=peg$parseConfigStartNodes();if(s0===peg$FAILED){s0=peg$parseConfigEndNodes();if(s0===peg$FAILED){s0=peg$parseConfigTransition();if(s0===peg$FAILED){s0=peg$parseConfigAction();if(s0===peg$FAILED){s0=peg$parseConfigAnyState();if(s0===peg$FAILED){s0=peg$parseConfigValidation();if(s0===peg$FAILED){s0=peg$parseConfigGraphBgColor()}}}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1303)}}return s0}function peg$parseLicenseOrLabelOrList(){var s0;if(input.substr(peg$currPos,3)===peg$c1304){s0=peg$c1304;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1305)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1306){s0=peg$c1306;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1307)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1308){s0=peg$c1308;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1309)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1310){s0=peg$c1310;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1311)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1312){s0=peg$c1312;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1313)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c1314){s0=peg$c1314;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1315)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1316){s0=peg$c1316;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1317)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1318){s0=peg$c1318;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1319)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1320){s0=peg$c1320;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1321)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1322){s0=peg$c1322;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1323)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c1324){s0=peg$c1324;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1325)}}if(s0===peg$FAILED){s0=peg$parseLabel();if(s0===peg$FAILED){s0=peg$parseLabelList()}}}}}}}}}}}}return s0}function peg$parseDirection(){var s0;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c1327){s0=peg$c1327;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1328)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1329){s0=peg$c1329;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1330)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1331){s0=peg$c1331;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1332)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1333){s0=peg$c1333;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1334)}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1326)}}return s0}function peg$parseHookDefinition(){var s0;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c1336){s0=peg$c1336;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1337)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1338){s0=peg$c1338;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1339)}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1335)}}return s0}function peg$parseMachineAuthor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,14)===peg$c1340){s2=peg$c1340;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1341)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelOrLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1342(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineContributor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,19)===peg$c1343){s2=peg$c1343;peg$currPos+=19}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1344)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelOrLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1345(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineComment(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1346){s2=peg$c1346;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1347)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelOrLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1348(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineDefinition(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,18)===peg$c1349){s2=peg$c1349;peg$currPos+=18}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1350)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseURL();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1351(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineName(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1352){s2=peg$c1352;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1353)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1354(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineVersion(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1358){s2=peg$c1358;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1359)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseSemVer();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1360(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineLicense(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1361){s2=peg$c1361;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1362)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLicenseOrLabelOrList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1363(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineLanguage(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,16)===peg$c1364){s2=peg$c1364;peg$currPos+=16}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1365)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1366(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseFslVersion(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1367){s2=peg$c1367;peg$currPos+=11}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1368)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseSemVer();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1369(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineTheme(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1370){s2=peg$c1370;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1371)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseThemeOrThemeList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1372(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineFlow(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1373){s2=peg$c1373;peg$currPos+=4}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1374)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseDirection();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1375(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineHookDefinition(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1376){s2=peg$c1376;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1377)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseHookDefinition();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1378(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseDotPreamble(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1379){s2=peg$c1379;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1380)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseString();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1381(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineAttribute(){var s0;peg$silentFails++;s0=peg$parseFslVersion();if(s0===peg$FAILED){s0=peg$parseMachineName();if(s0===peg$FAILED){s0=peg$parseMachineAuthor();if(s0===peg$FAILED){s0=peg$parseMachineContributor();if(s0===peg$FAILED){s0=peg$parseMachineComment();if(s0===peg$FAILED){s0=peg$parseMachineDefinition();if(s0===peg$FAILED){s0=peg$parseMachineVersion();if(s0===peg$FAILED){s0=peg$parseMachineLicense();if(s0===peg$FAILED){s0=peg$parseMachineLanguage();if(s0===peg$FAILED){s0=peg$parseMachineTheme();if(s0===peg$FAILED){s0=peg$parseDotPreamble();if(s0===peg$FAILED){s0=peg$parseMachineFlow();if(s0===peg$FAILED){s0=peg$parseMachineHookDefinition()}}}}}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1382)}}return s0}function peg$parsePropertyVal(){var s0;s0=peg$parseString();if(s0===peg$FAILED){s0=peg$parseBoolean();if(s0===peg$FAILED){s0=peg$parseJsNumericLiteral();if(s0===peg$FAILED){s0=peg$parseNull();if(s0===peg$FAILED){s0=peg$parseUndefined()}}}}return s0}function peg$parseSdStateLabel(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1383){s2=peg$c1383;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1384)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1385(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1199)}}return s0}function peg$parseSdStateColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1386){s2=peg$c1386;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1387)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1388(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1199)}}return s0}function peg$parseSdStateTextColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1390){s2=peg$c1390;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1391)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1392(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1389)}}return s0}function peg$parseSdStateBackgroundColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,16)===peg$c1394){s2=peg$c1394;peg$currPos+=16}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1395)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1396(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1393)}}return s0}function peg$parseSdStateBorderColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1398){s2=peg$c1398;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1399)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1400(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1397)}}return s0}function peg$parseSdStateShape(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1402){s2=peg$c1402;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1403)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseGvizShape();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1404(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1401)}}return s0}function peg$parseSdStateCorners(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,7)===peg$c1406){s2=peg$c1406;peg$currPos+=7}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1407)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseCorners();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1408(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1405)}}return s0}function peg$parseSdStateLineStyle(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1216){s2=peg$c1216;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1217)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLineStyle();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1410(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1411){s2=peg$c1411;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1412)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLineStyle();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1410(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1409)}}return s0}function peg$parseSdStateProperty(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1414){s2=peg$c1414;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1415)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseAtom();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1416(s6,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1414){s2=peg$c1414;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1415)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseAtom();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1417){s10=peg$c1417;peg$currPos+=8}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1418)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s12=peg$c1208;peg$currPos++}else{s12=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){peg$savedPos=s0;s1=peg$c1419(s6,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1413)}}return s0}function peg$parseStateDeclarationItem(){var s0;s0=peg$parseSdStateLabel();if(s0===peg$FAILED){s0=peg$parseSdStateColor();if(s0===peg$FAILED){s0=peg$parseSdStateTextColor();if(s0===peg$FAILED){s0=peg$parseSdStateBackgroundColor();if(s0===peg$FAILED){s0=peg$parseSdStateBorderColor();if(s0===peg$FAILED){s0=peg$parseSdStateShape();if(s0===peg$FAILED){s0=peg$parseSdStateCorners();if(s0===peg$FAILED){s0=peg$parseSdStateLineStyle();if(s0===peg$FAILED){s0=peg$parseSdStateProperty()}}}}}}}}return s0}function peg$parseStateDeclarationDesc(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===123){s1=peg$c1219;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$parseStateDeclarationItem();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseStateDeclarationItem()}if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===125){s5=peg$c1221;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1222)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1223(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseStateDeclaration(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1263){s2=peg$c1263;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1264)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s6=peg$c1206;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateDeclarationDesc();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1420(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseNamedList(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===38){s2=peg$c1421;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1422)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s6=peg$c1206;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseLabelOrLabelList();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1423(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineProperty(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1414){s2=peg$c1414;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1415)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5!==peg$FAILED){if(input.substr(peg$currPos,7)===peg$c3){s6=peg$c3;peg$currPos+=7}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c4)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1417){s10=peg$c1417;peg$currPos+=8}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1418)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s12=peg$c1208;peg$currPos++}else{s12=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){peg$savedPos=s0;s1=peg$c1424(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1414){s2=peg$c1414;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1415)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1417){s6=peg$c1417;peg$currPos+=8}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1418)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1425(s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1414){s2=peg$c1414;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1415)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5!==peg$FAILED){if(input.substr(peg$currPos,7)===peg$c3){s6=peg$c3;peg$currPos+=7}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c4)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1426(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1414){s2=peg$c1414;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1415)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s6=peg$c1208;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){peg$savedPos=s0;s1=peg$c1427(s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}}return s0}function peg$parseRegularArrangeDeclaration(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1428){s1=peg$c1428;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1429)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseLabelOrLabelList();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s5=peg$c1208;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1430(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrangeStartDeclaration(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1431){s1=peg$c1431;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1432)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseLabelOrLabelList();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s5=peg$c1208;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1433(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrangeEndDeclaration(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1434){s1=peg$c1434;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1435)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseLabelOrLabelList();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s5=peg$c1208;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1436(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrangeDeclaration(){var s0;peg$silentFails++;s0=peg$parseArrangeStartDeclaration();if(s0===peg$FAILED){s0=peg$parseArrangeEndDeclaration();if(s0===peg$FAILED){s0=peg$parseRegularArrangeDeclaration()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1437)}}return s0}function peg$parseTerm(){var s0;s0=peg$parseExp();if(s0===peg$FAILED){s0=peg$parseStateDeclaration();if(s0===peg$FAILED){s0=peg$parseArrangeDeclaration();if(s0===peg$FAILED){s0=peg$parseNamedList();if(s0===peg$FAILED){s0=peg$parseMachineAttribute();if(s0===peg$FAILED){s0=peg$parseMachineProperty();if(s0===peg$FAILED){s0=peg$parseConfig()}}}}}}return s0}function peg$parseTermList(){var s0,s1;s0=[];s1=peg$parseTerm();while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseTerm()}return s0}peg$result=peg$startRuleFunction();if(peg$result!==peg$FAILED&&peg$currPos===input.length){return peg$result}else{if(peg$result!==peg$FAILED&&peg$currPostypeof n==="string"?[n]:n;const weighted_rand_select=(options,probability_property="probability")=>{if(!Array.isArray(options)){throw new TypeError("options must be a non-empty array of objects")}if(!(typeof options[0]==="object")){throw new TypeError("options must be a non-empty array of objects")}const frand=cap=>Math.random()*cap,or_one=item=>item===undefined?1:item,prob_sum=options.reduce(((acc,val)=>acc+or_one(val[probability_property])),0),rnd=frand(prob_sum);let cursor=0,cursor_sum=0;while((cursor_sum+=or_one(options[cursor++][probability_property]))<=rnd){}return options[cursor-1]};function seq(n){if(!Number.isInteger(n)){throw new TypeError("seq/1 takes a non-negative integer n as an argument")}if(n<0){throw new TypeError("seq/1 takes a non-negative integer n as an argument")}return new Array(n).fill(true).map(((_,i)=>i))}const histograph=ar=>ar.sort().reduce(((m,v)=>(m.set(v,m.has(v)?m.get(v)+1:1),m)),new Map);const weighted_sample_select=(n,options,probability_property)=>seq(n).map((_i=>weighted_rand_select(options,probability_property)));const weighted_histo_key=(n,opts,prob_prop,extract)=>histograph(weighted_sample_select(n,opts,prob_prop).map((s=>s[extract])));function name_bind_prop_and_state(prop,state){if(typeof prop!=="string"){throw new JssmError(undefined,`Name of property must be a string; got ${prop}`)}if(typeof state!=="string"){throw new JssmError(undefined,`Name of state must be a string; got ${prop}`)}return JSON.stringify([prop,state])}const hook_name=(from,to)=>JSON.stringify([from,to]);const named_hook_name=(from,to,action)=>JSON.stringify([from,to,action]);const unique=arr=>arr.filter(((v,i,a)=>a.indexOf(v)===i));function find_repeated(arr){const uniqued=unique(arr);if(uniqued.length!==arr.length){const residue_keys=new Map;arr.forEach((k=>residue_keys.set(k,residue_keys.has(k)?residue_keys.get(k)+1:1)));uniqued.forEach((k=>residue_keys.set(k,residue_keys.get(k)-1)));return[...residue_keys.entries()].filter((e=>e[1]>0&&!Number.isNaN(e[0]))).map((e=>[e[0],e[1]+1]))}else{return[]}}var reductions={abkhazian:"ab","аҧсуа бызшәа, аҧсшәа":"ab",ab:"ab",abk:"ab","аҧсуа бызшәа":"ab","аҧсшәа":"ab",afar:"aa",afaraf:"aa",aa:"aa",aar:"aa",afrikaans:"af",af:"af",afr:"af",akan:"ak",ak:"ak",aka:"ak","aka + 2":"ak",albanian:"sq",shqip:"sq",sq:"sq",sqi:"sq",alb:"sq","sqi + 4":"sq",amharic:"am","አማርኛ":"am",am:"am",amh:"am",arabic:"ar","العربية":"ar",ar:"ar",ara:"ar","ara + 30":"ar",aragonese:"an","aragonés":"an",an:"an",arg:"an",armenian:"hy","հայերեն":"hy",hy:"hy",hye:"hy",arm:"hy",assamese:"as","অসমীয়া":"as",as:"as",asm:"as",avaric:"av","авар мацӏ, магӏарул мацӏ":"av",av:"av",ava:"av","авар мацӏ":"av","магӏарул мацӏ":"av",avestan:"ae",avesta:"ae",ae:"ae",ave:"ae",aymara:"ay","aymar aru":"ay",ay:"ay",aym:"ay","aym + 2":"ay",azerbaijani:"az","azərbaycan dili":"az",az:"az",aze:"az","aze + 2":"az",bambara:"bm",bamanankan:"bm",bm:"bm",bam:"bm",bashkir:"ba","башҡорт теле":"ba",ba:"ba",bak:"ba",basque:"eu","euskara, euskera":"eu",eu:"eu",eus:"eu",baq:"eu",euskara:"eu",euskera:"eu",belarusian:"be","беларуская мова":"be",be:"be",bel:"be",bengali:"bn","বাংলা":"bn",bn:"bn",ben:"bn","bihari languages":"bh","भोजपुरी":"bh",bh:"bh",bih:"bh",bislama:"bi",bi:"bi",bis:"bi",bosnian:"bs","bosanski jezik":"bs",bs:"bs",bos:"bs",breton:"br",brezhoneg:"br",br:"br",bre:"br",bulgarian:"bg","български език":"bg",bg:"bg",bul:"bg",burmese:"my","ဗမာစာ":"my",my:"my",mya:"my",bur:"my","catalan, valencian":"ca","català, valencià":"ca",ca:"ca",cat:"ca","català":"ca","valencià":"ca",chamorro:"ch",chamoru:"ch",ch:"ch",cha:"ch",chechen:"ce","нохчийн мотт":"ce",ce:"ce",che:"ce","chichewa, chewa, nyanja":"ny","chicheŵa, chinyanja":"ny",ny:"ny",nya:"ny","chicheŵa":"ny",chinyanja:"ny",chinese:"zh","中文 (zhōngwén), 汉语, 漢語":"zh",zh:"zh",zho:"zh",chi:"zh","zho + 13":"zh","中文 (zhōngwén)":"zh","汉语":"zh","漢語":"zh",chuvash:"cv","чӑваш чӗлхи":"cv",cv:"cv",chv:"cv",cornish:"kw",kernewek:"kw",kw:"kw",cor:"kw",corsican:"co","corsu, lingua corsa":"co",co:"co",cos:"co",corsu:"co","lingua corsa":"co",cree:"cr","ᓀᐦᐃᔭᐍᐏᐣ":"cr",cr:"cr",cre:"cr","cre + 6":"cr",croatian:"hr","hrvatski jezik":"hr",hr:"hr",hrv:"hr",czech:"cs","čeština, český jazyk":"cs",cs:"cs",ces:"cs",cze:"cs","čeština":"cs","český jazyk":"cs",danish:"da",dansk:"da",da:"da",dan:"da","divehi, dhivehi, maldivian":"dv","ދިވެހި":"dv",dv:"dv",div:"dv","dutch, flemish":"nl","nederlands, vlaams":"nl",nl:"nl",nld:"nl",dut:"nl",nederlands:"nl",vlaams:"nl",dzongkha:"dz","རྫོང་ཁ":"dz",dz:"dz",dzo:"dz",english:"en",en:"en",eng:"en",esperanto:"eo",eo:"eo",epo:"eo",estonian:"et","eesti, eesti keel":"et",et:"et",est:"et","est + 2":"et",eesti:"et","eesti keel":"et",ewe:"ee","eʋegbe":"ee",ee:"ee",faroese:"fo","føroyskt":"fo",fo:"fo",fao:"fo",fijian:"fj","vosa vakaviti":"fj",fj:"fj",fij:"fj",finnish:"fi","suomi, suomen kieli":"fi",fi:"fi",fin:"fi",suomi:"fi","suomen kieli":"fi",french:"fr","français, langue française":"fr",fr:"fr",fra:"fr",fre:"fr","français":"fr","langue française":"fr",fulah:"ff","fulfulde, pulaar, pular":"ff",ff:"ff",ful:"ff","ful + 9":"ff",fulfulde:"ff",pulaar:"ff",pular:"ff",galician:"gl",galego:"gl",gl:"gl",glg:"gl",georgian:"ka","ქართული":"ka",ka:"ka",kat:"ka",geo:"ka",german:"de",deutsch:"de",de:"de",deu:"de",ger:"de","greek (modern)":"el","ελληνικά":"el",el:"el",ell:"el",gre:"el","guaraní":"gn","avañe'ẽ":"gn",gn:"gn",grn:"gn","grn + 5":"gn",gujarati:"gu","ગુજરાતી":"gu",gu:"gu",guj:"gu","haitian, haitian creole":"ht","kreyòl ayisyen":"ht",ht:"ht",hat:"ht",hausa:"ha","(hausa) هَوُسَ":"ha",ha:"ha",hau:"ha","hebrew (modern)":"he","עברית":"he",he:"he",heb:"he",herero:"hz",otjiherero:"hz",hz:"hz",her:"hz",hindi:"hi","हिन्दी, हिंदी":"hi",hi:"hi",hin:"hi","हिन्दी":"hi","हिंदी":"hi","hiri motu":"ho",ho:"ho",hmo:"ho",hungarian:"hu",magyar:"hu",hu:"hu",hun:"hu",interlingua:"ia",ia:"ia",ina:"ia",indonesian:"id","bahasa indonesia":"id",id:"id",ind:"id",interlingue:"ie","originally called occidental; then interlingue after wwii":"ie",ie:"ie",ile:"ie",irish:"ga",gaeilge:"ga",ga:"ga",gle:"ga",igbo:"ig","asụsụ igbo":"ig",ig:"ig",ibo:"ig",inupiaq:"ik","iñupiaq, iñupiatun":"ik",ik:"ik",ipk:"ik","ipk + 2":"ik","iñupiaq":"ik","iñupiatun":"ik",ido:"io",io:"io",icelandic:"is","íslenska":"is",is:"is",isl:"is",ice:"is",italian:"it",italiano:"it",it:"it",ita:"it",inuktitut:"iu","ᐃᓄᒃᑎᑐᑦ":"iu",iu:"iu",iku:"iu","iku + 2":"iu",japanese:"ja","日本語 (にほんご)":"ja",ja:"ja",jpn:"ja",javanese:"jv","ꦧꦱꦗꦮ, basa jawa":"jv",jv:"jv",jav:"jv","ꦧꦱꦗꦮ":"jv","basa jawa":"jv","kalaallisut, greenlandic":"kl","kalaallisut, kalaallit oqaasii":"kl",kl:"kl",kal:"kl",kalaallisut:"kl","kalaallit oqaasii":"kl",kannada:"kn","ಕನ್ನಡ":"kn",kn:"kn",kan:"kn",kanuri:"kr",kr:"kr",kau:"kr","kau + 3":"kr",kashmiri:"ks","कश्मीरी, كشميري‎":"ks",ks:"ks",kas:"ks","कश्मीरी":"ks","كشميري‎":"ks",kazakh:"kk","қазақ тілі":"kk",kk:"kk",kaz:"kk","central khmer":"km","ខ្មែរ, ខេមរភាសា, ភាសាខ្មែរ":"km",km:"km",khm:"km","ខ្មែរ":"km","ខេមរភាសា":"km","ភាសាខ្មែរ":"km","kikuyu, gikuyu":"ki","gĩkũyũ":"ki",ki:"ki",kik:"ki",kinyarwanda:"rw",ikinyarwanda:"rw",rw:"rw",kin:"rw","kirghiz, kyrgyz":"ky","кыргызча, кыргыз тили":"ky",ky:"ky",kir:"ky","кыргызча":"ky","кыргыз тили":"ky",komi:"kv","коми кыв":"kv",kv:"kv",kom:"kv","kom + 2":"kv",kongo:"kg",kikongo:"kg",kg:"kg",kon:"kg","kon + 3":"kg",korean:"ko","한국어":"ko",ko:"ko",kor:"ko",kurdish:"ku","kurdî, كوردی‎":"ku",ku:"ku",kur:"ku","kur + 3":"ku","kurdî":"ku","كوردی‎":"ku","kuanyama, kwanyama":"kj",kuanyama:"kj",kj:"kj",kua:"kj",latin:"la","latine, lingua latina":"la",la:"la",lat:"la",latine:"la","lingua latina":"la","luxembourgish, letzeburgesch":"lb","lëtzebuergesch":"lb",lb:"lb",ltz:"lb",ganda:"lg",luganda:"lg",lg:"lg",lug:"lg","limburgan, limburger, limburgish":"li",limburgs:"li",li:"li",lim:"li",lingala:"ln","lingála":"ln",ln:"ln",lin:"ln",lao:"lo","ພາສາລາວ":"lo",lo:"lo",lithuanian:"lt","lietuvių kalba":"lt",lt:"lt",lit:"lt","luba-katanga":"lu",kiluba:"lu",lu:"lu",lub:"lu",latvian:"lv","latviešu valoda":"lv",lv:"lv",lav:"lv","lav + 2":"lv",manx:"gv","gaelg, gailck":"gv",gv:"gv",glv:"gv",gaelg:"gv",gailck:"gv",macedonian:"mk","македонски јазик":"mk",mk:"mk",mkd:"mk",mac:"mk",malagasy:"mg","fiteny malagasy":"mg",mg:"mg",mlg:"mg","mlg + 10":"mg",malay:"ms","bahasa melayu, بهاس ملايو‎":"ms",ms:"ms",msa:"ms",may:"ms","msa + 13":"ms","bahasa melayu":"ms","بهاس ملايو‎":"ms",malayalam:"ml","മലയാളം":"ml",ml:"ml",mal:"ml",maltese:"mt",malti:"mt",mt:"mt",mlt:"mt",maori:"mi","te reo māori":"mi",mi:"mi",mri:"mi",mao:"mi",marathi:"mr","मराठी":"mr",mr:"mr",mar:"mr",marshallese:"mh","kajin m̧ajeļ":"mh",mh:"mh",mah:"mh",mongolian:"mn","монгол хэл":"mn",mn:"mn",mon:"mn","mon + 2":"mn",nauru:"na","dorerin naoero":"na",na:"na",nau:"na","navajo, navaho":"nv","diné bizaad":"nv",nv:"nv",nav:"nv","north ndebele":"nd",isindebele:"nr",nd:"nd",nde:"nd",nepali:"ne","नेपाली":"ne",ne:"ne",nep:"ne",ndonga:"ng",owambo:"ng",ng:"ng",ndo:"ng","norwegian bokmål":"nb","norsk bokmål":"nb",nb:"nb",nob:"nb","norwegian nynorsk":"nn","norsk nynorsk":"nn",nn:"nn",nno:"nn",norwegian:"no",norsk:"no",no:"no",nor:"no","nor + 2":"no","sichuan yi, nuosu":"ii","ꆈꌠ꒿ nuosuhxop":"ii",ii:"ii",iii:"ii","south ndebele":"nr",nr:"nr",nbl:"nr",occitan:"oc","occitan, lenga d'òc":"oc",oc:"oc",oci:"oc","lenga d'òc":"oc",ojibwa:"oj","ᐊᓂᔑᓈᐯᒧᐎᓐ":"oj",oj:"oj",oji:"oj","oji + 7":"oj","church slavic, church slavonic, old church slavonic, old slavonic, old bulgarian":"cu","ѩзыкъ словѣньскъ":"cu",cu:"cu",chu:"cu",oromo:"om","afaan oromoo":"om",om:"om",orm:"om","orm + 4":"om",oriya:"or","ଓଡ଼ିଆ":"or",or:"or",ori:"or","ossetian, ossetic":"os","ирон æвзаг":"os",os:"os",oss:"os","panjabi, punjabi":"pa","ਪੰਜਾਬੀ":"pa",pa:"pa",pan:"pa",pali:"pi","पाऴि":"pi",pi:"pi",pli:"pi",persian:"fa","فارسی":"fa",fa:"fa",fas:"fa",per:"fa","fas + 2":"fa",polish:"pl","język polski, polszczyzna":"pl",pl:"pl",pol:"pl","język polski":"pl",polszczyzna:"pl","pashto, pushto":"ps","پښتو":"ps",ps:"ps",pus:"ps","pus + 3":"ps",portuguese:"pt","português":"pt",pt:"pt",por:"pt",quechua:"qu","runa simi, kichwa":"qu",qu:"qu",que:"qu","que + 44":"qu","runa simi":"qu",kichwa:"qu",romansh:"rm","rumantsch grischun":"rm",rm:"rm",roh:"rm",rundi:"rn",ikirundi:"rn",rn:"rn",run:"rn","romanian, moldavian, moldovan":"ro","română":"ro",ro:"ro",ron:"ro",rum:"ro",russian:"ru","русский":"ru",ru:"ru",rus:"ru",sanskrit:"sa","संस्कृतम्":"sa",sa:"sa",san:"sa",sardinian:"sc",sardu:"sc",sc:"sc",srd:"sc","srd + 4":"sc",sindhi:"sd","सिन्धी, سنڌي، سندھی‎":"sd",sd:"sd",snd:"sd","सिन्धी":"sd","سنڌي، سندھی‎":"sd","northern sami":"se","davvisámegiella":"se",se:"se",sme:"se",samoan:"sm","gagana fa'a samoa":"sm",sm:"sm",smo:"sm",sango:"sg","yângâ tî sängö":"sg",sg:"sg",sag:"sg",serbian:"sr","српски језик":"sr",sr:"sr",srp:"sr","gaelic, scottish gaelic":"gd","gàidhlig":"gd",gd:"gd",gla:"gd",shona:"sn",chishona:"sn",sn:"sn",sna:"sn","sinhala, sinhalese":"si","සිංහල":"si",si:"si",sin:"si",slovak:"sk","slovenčina, slovenský jazyk":"sk",sk:"sk",slk:"sk",slo:"sk","slovenčina":"sk","slovenský jazyk":"sk",slovenian:"sl","slovenski jezik, slovenščina":"sl",sl:"sl",slv:"sl","slovenski jezik":"sl","slovenščina":"sl",somali:"so","soomaaliga, af soomaali":"so",so:"so",som:"so",soomaaliga:"so","af soomaali":"so","southern sotho":"st",sesotho:"st",st:"st",sot:"st","spanish, castilian":"es","español":"es",es:"es",spa:"es",sundanese:"su","basa sunda":"su",su:"su",sun:"su",swahili:"sw",kiswahili:"sw",sw:"sw",swa:"sw","swa + 2":"sw",swati:"ss",siswati:"ss",ss:"ss",ssw:"ss",swedish:"sv",svenska:"sv",sv:"sv",swe:"sv",tamil:"ta","தமிழ்":"ta",ta:"ta",tam:"ta",telugu:"te","తెలుగు":"te",te:"te",tel:"te",tajik:"tg","тоҷикӣ, toçikī, تاجیکی‎":"tg",tg:"tg",tgk:"tg","тоҷикӣ":"tg","toçikī":"tg","تاجیکی‎":"tg",thai:"th","ไทย":"th",th:"th",tha:"th",tigrinya:"ti","ትግርኛ":"ti",ti:"ti",tir:"ti",tibetan:"bo","བོད་ཡིག":"bo",bo:"bo",bod:"bo",tib:"bo",turkmen:"tk","türkmen, түркмен":"tk",tk:"tk",tuk:"tk","türkmen":"tk","түркмен":"tk",tagalog:"tl","wikang tagalog":"tl",tl:"tl",tgl:"tl",tswana:"tn",setswana:"tn",tn:"tn",tsn:"tn","tonga (tonga islands)":"to","faka tonga":"to",to:"to",ton:"to",turkish:"tr","türkçe":"tr",tr:"tr",tur:"tr",tsonga:"ts",xitsonga:"ts",ts:"ts",tso:"ts",tatar:"tt","татар теле, tatar tele":"tt",tt:"tt",tat:"tt","татар теле":"tt","tatar tele":"tt",twi:"tw",tw:"tw",tahitian:"ty","reo tahiti":"ty",ty:"ty",tah:"ty","uighur, uyghur":"ug","ئۇيغۇرچە‎, uyghurche":"ug",ug:"ug",uig:"ug","ئۇيغۇرچە‎":"ug",uyghurche:"ug",ukrainian:"uk","українська":"uk",uk:"uk",ukr:"uk",urdu:"ur","اردو":"ur",ur:"ur",urd:"ur",uzbek:"uz","oʻzbek, ўзбек, أۇزبېك‎":"uz",uz:"uz",uzb:"uz","uzb + 2":"uz","oʻzbek":"uz","ўзбек":"uz","أۇزبېك‎":"uz",venda:"ve","tshivenḓa":"ve",ve:"ve",ven:"ve",vietnamese:"vi","tiếng việt":"vi",vi:"vi",vie:"vi","volapük":"vo",vo:"vo",vol:"vo",walloon:"wa",walon:"wa",wa:"wa",wln:"wa",welsh:"cy",cymraeg:"cy",cy:"cy",cym:"cy",wel:"cy",wolof:"wo",wollof:"wo",wo:"wo",wol:"wo","western frisian":"fy",frysk:"fy",fy:"fy",fry:"fy",xhosa:"xh",isixhosa:"xh",xh:"xh",xho:"xh",yiddish:"yi","ייִדיש":"yi",yi:"yi",yid:"yi","yid + 2":"yi",yoruba:"yo","yorùbá":"yo",yo:"yo",yor:"yo","zhuang, chuang":"za","saɯ cueŋƅ, saw cuengh":"za",za:"za",zha:"za","zha + 16":"za","saɯ cueŋƅ":"za","saw cuengh":"za",zulu:"zu",isizulu:"zu",zu:"zu",zul:"zu"};function reduce(from){return reductions[from.toLowerCase()]}function makeTransition(this_se,from,to,isRight,_wasList,_wasIndex){const kind=isRight?arrow_right_kind(this_se.kind):arrow_left_kind(this_se.kind),edge={from:from,to:to,kind:kind,forced_only:kind==="forced",main_path:kind==="main"};const action=isRight?"r_action":"l_action",probability=isRight?"r_probability":"l_probability";if(this_se[action]){edge.action=this_se[action]}if(this_se[probability]){edge.probability=this_se[probability]}return edge}function wrap_parse(input,options){return peg$parse(input,options||{})}function compile_rule_transition_step(acc,from,to,this_se,next_se){const edges=[];const uFrom=Array.isArray(from)?from:[from],uTo=Array.isArray(to)?to:[to];uFrom.map((f=>{uTo.map((t=>{const right=makeTransition(this_se,f,t,true);if(right.kind!=="none"){edges.push(right)}const left=makeTransition(this_se,t,f,false);if(left.kind!=="none"){edges.push(left)}}))}));const new_acc=acc.concat(edges);if(next_se){return compile_rule_transition_step(new_acc,to,next_se.to,next_se,next_se.se)}else{return new_acc}}function compile_rule_handle_transition(rule){return compile_rule_transition_step([],rule.from,rule.se.to,rule.se,rule.se.se)}function compile_rule_handler(rule){if(rule.key==="transition"){return{agg_as:"transition",val:compile_rule_handle_transition(rule)}}if(rule.key==="machine_language"){return{agg_as:"machine_language",val:reduce(rule.value)}}if(rule.key==="property_definition"){const ret={agg_as:"property_definition",val:{name:rule.name}};if(rule.hasOwnProperty("default_value")){ret.val.default_value=rule.default_value}if(rule.hasOwnProperty("required")){ret.val.required=rule.required}return ret}if(rule.key==="state_declaration"){if(!rule.name){throw new JssmError(undefined,"State declarations must have a name")}return{agg_as:"state_declaration",val:{state:rule.name,declarations:rule.value}}}if(["arrange_declaration","arrange_start_declaration","arrange_end_declaration"].includes(rule.key)){return{agg_as:rule.key,val:[rule.value]}}const tautologies=["graph_layout","start_states","end_states","machine_name","machine_version","machine_comment","machine_author","machine_contributor","machine_definition","machine_reference","machine_license","fsl_version","state_config","theme","flow","dot_preamble","default_state_config","default_start_state_config","default_end_state_config","default_hooked_state_config","default_active_state_config","default_terminal_state_config"];if(tautologies.includes(rule.key)){return{agg_as:rule.key,val:rule.value}}throw new JssmError(undefined,`compile_rule_handler: Unknown rule: ${JSON.stringify(rule)}`)}function compile(tree){const results={graph_layout:[],transition:[],start_states:[],end_states:[],state_config:[],state_declaration:[],fsl_version:[],machine_author:[],machine_comment:[],machine_contributor:[],machine_definition:[],machine_language:[],machine_license:[],machine_name:[],machine_reference:[],property_definition:[],state_property:{},theme:[],flow:[],dot_preamble:[],arrange_declaration:[],arrange_start_declaration:[],arrange_end_declaration:[],machine_version:[],default_state_config:[],default_active_state_config:[],default_hooked_state_config:[],default_terminal_state_config:[],default_start_state_config:[],default_end_state_config:[]};tree.map((tr=>{const rule=compile_rule_handler(tr),agg_as=rule.agg_as,val=rule.val;results[agg_as]=results[agg_as].concat(val)}));const property_keys=results["property_definition"].map((pd=>pd.name)),repeat_props=find_repeated(property_keys);if(repeat_props.length){throw new JssmError(undefined,`Cannot repeat property definitions. Saw ${JSON.stringify(repeat_props)}`)}const assembled_transitions=[].concat(...results["transition"]);const result_cfg={start_states:results.start_states.length?results.start_states:[assembled_transitions[0].from],end_states:results.end_states,transitions:assembled_transitions,state_property:[]};const oneOnlyKeys=["graph_layout","machine_name","machine_version","machine_comment","fsl_version","machine_license","machine_definition","machine_language","flow","dot_preamble"];oneOnlyKeys.map((oneOnlyKey=>{if(results[oneOnlyKey].length>1){throw new JssmError(undefined,`May only have one ${oneOnlyKey} statement maximum: ${JSON.stringify(results[oneOnlyKey])}`)}else{if(results[oneOnlyKey].length){result_cfg[oneOnlyKey]=results[oneOnlyKey][0]}}}));["arrange_declaration","arrange_start_declaration","arrange_end_declaration","machine_author","machine_contributor","machine_reference","theme","state_declaration","property_definition","default_state_config","default_start_state_config","default_end_state_config","default_hooked_state_config","default_terminal_state_config","default_active_state_config"].map((multiKey=>{if(results[multiKey].length){result_cfg[multiKey]=results[multiKey]}}));results.state_declaration.forEach((sd=>{sd.declarations.forEach((decl=>{if(decl.key==="state_property"){const label=name_bind_prop_and_state(decl.name,sd.state);if(result_cfg.state_property.findIndex((c=>c.name===label))!==-1){throw new JssmError(undefined,`A state may only bind a property once (${sd.state} re-binds ${decl.name})`)}else{result_cfg.state_property.push({name:label,default_value:decl.value})}}}))}));return result_cfg}function make(plan){return compile(wrap_parse(plan))}const base_state_style$5={shape:"rectangle",backgroundColor:"white",textColor:"black",borderColor:"black"};const base_active_state_style$5={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style$5={shape:"component"};const base_terminal_state_style$5={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style$5={textColor:"white",backgroundColor:"indigo"};const base_start_state_style$5={backgroundColor:"yellow"};const base_active_start_state_style$5={backgroundColor:"yellowgreen"};const base_active_hooked_state_style$5={backgroundColor:"yellowgreen"};const base_end_state_style$5={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style$5={textColor:"white",backgroundColor:"darkgreen"};const base_theme={name:"base",state:base_state_style$5,start:base_start_state_style$5,end:base_end_state_style$5,terminal:base_terminal_state_style$5,hooked:base_hooked_state_style$5,active:base_active_state_style$5,active_start:base_active_start_state_style$5,active_end:base_active_end_state_style$5,active_terminal:base_active_terminal_state_style$5,active_hooked:base_active_hooked_state_style$5,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$4={shape:"rectangle",backgroundColor:"white",textColor:"black",borderColor:"black"};const base_active_state_style$4={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style$4={shape:"component"};const base_terminal_state_style$4={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style$4={textColor:"white",backgroundColor:"indigo"};const base_start_state_style$4={backgroundColor:"yellow"};const base_active_start_state_style$4={backgroundColor:"yellowgreen"};const base_active_hooked_state_style$4={backgroundColor:"yellowgreen"};const base_end_state_style$4={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style$4={textColor:"white",backgroundColor:"darkgreen"};const default_theme={name:"default",state:base_state_style$4,start:base_start_state_style$4,end:base_end_state_style$4,terminal:base_terminal_state_style$4,hooked:base_hooked_state_style$4,active:base_active_state_style$4,active_start:base_active_start_state_style$4,active_end:base_active_end_state_style$4,active_terminal:base_active_terminal_state_style$4,active_hooked:base_active_hooked_state_style$4,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$3={shape:"rectangle",backgroundColor:"khaki",textColor:"black",borderColor:"black"};const base_active_state_style$3={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style$3={shape:"component"};const base_terminal_state_style$3={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style$3={textColor:"white",backgroundColor:"indigo"};const base_start_state_style$3={backgroundColor:"yellow"};const base_active_start_state_style$3={backgroundColor:"yellowgreen"};const base_active_hooked_state_style$3={backgroundColor:"yellowgreen"};const base_end_state_style$3={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style$3={textColor:"white",backgroundColor:"darkgreen"};const modern_theme={name:"modern",state:base_state_style$3,start:base_start_state_style$3,end:base_end_state_style$3,terminal:base_terminal_state_style$3,hooked:base_hooked_state_style$3,active:base_active_state_style$3,active_start:base_active_start_state_style$3,active_end:base_active_end_state_style$3,active_terminal:base_active_terminal_state_style$3,active_hooked:base_active_hooked_state_style$3,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$2={backgroundColor:"cadetblue1"};const base_active_state_style$2={textColor:"white",backgroundColor:"deepskyblue"};const base_hooked_state_style$2={shape:"component",backgroundColor:"mediumaquamarine"};const base_terminal_state_style$2={textColor:"white",backgroundColor:"darkviolet"};const base_active_terminal_state_style$2={textColor:"white",backgroundColor:"deeppink"};const base_start_state_style$2={backgroundColor:"darkseagreen1"};const base_active_start_state_style$2={backgroundColor:"aquamarine"};const base_active_hooked_state_style$2={backgroundColor:"aquamarine"};const base_end_state_style$2={textColor:"white",backgroundColor:"chartreuse1"};const base_active_end_state_style$2={textColor:"white",backgroundColor:"darkgreen"};const ocean_theme={name:"ocean",state:base_state_style$2,start:base_start_state_style$2,end:base_end_state_style$2,terminal:base_terminal_state_style$2,hooked:base_hooked_state_style$2,active:base_active_state_style$2,active_start:base_active_start_state_style$2,active_end:base_active_end_state_style$2,active_terminal:base_active_terminal_state_style$2,active_hooked:base_active_hooked_state_style$2,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_hooked_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_terminal_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_terminal_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_start_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_start_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_hooked_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_end_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_end_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const plain_theme={name:"plain",state:base_state_style$1,start:base_start_state_style$1,end:base_end_state_style$1,terminal:base_terminal_state_style$1,hooked:base_hooked_state_style$1,active:base_active_state_style$1,active_start:base_active_start_state_style$1,active_end:base_active_end_state_style$1,active_terminal:base_active_terminal_state_style$1,active_hooked:base_active_hooked_state_style$1,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style={shape:"rectangle",backgroundColor:"khaki",textColor:"black",borderColor:"black"};const base_active_state_style={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style={shape:"component"};const base_terminal_state_style={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style={textColor:"white",backgroundColor:"indigo"};const base_start_state_style={backgroundColor:"yellow"};const base_active_start_state_style={backgroundColor:"yellowgreen"};const base_active_hooked_state_style={backgroundColor:"yellowgreen"};const base_end_state_style={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style={textColor:"white",backgroundColor:"darkgreen"};const bold_theme={name:"bold",state:base_state_style,start:base_start_state_style,end:base_end_state_style,terminal:base_terminal_state_style,hooked:base_hooked_state_style,active:base_active_state_style,active_start:base_active_start_state_style,active_end:base_active_end_state_style,active_terminal:base_active_terminal_state_style,active_hooked:base_active_hooked_state_style,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const NegInfinity=Number.NEGATIVE_INFINITY,PosInfinity=Number.POSITIVE_INFINITY,Epsilon=Number.EPSILON,Pi=Math.PI,E=Math.E,Root2=Math.SQRT2,RootHalf=Math.SQRT1_2,Ln2=Math.LN2,Ln10=Math.LN10,Log2E=Math.LOG2E,Log10E=Math.LOG10E,MaxSafeInt=Number.MAX_SAFE_INTEGER,MinSafeInt=Number.MIN_SAFE_INTEGER,MaxPosNum=Number.MAX_VALUE,MinPosNum=Number.MIN_VALUE,Phi=1.618033988749895,EulerC=.5772156649015329;const gviz_shapes$1=["box3d","polygon","ellipse","oval","circle","point","egg","triangle","plaintext","plain","diamond","trapezium","parallelogram","house","pentagon","hexagon","septagon","octagon","doublecircle","doubleoctagon","tripleoctagon","invtriangle","invtrapezium","invhouse","Mdiamond","Msquare","Mcircle","rectangle","rect","square","star","none","underline","cylinder","note","tab","folder","box","component","promoter","cds","terminator","utr","primersite","restrictionsite","fivepoverhang","threepoverhang","noverhang","assembly","signature","insulator","ribosite","rnastab","proteasesite","proteinstab","rpromoter","rarrow","larrow","lpromoter","record"];const shapes$1=gviz_shapes$1;const named_colors$1=["AliceBlue","AntiqueWhite","Aqua","Aquamarine","Azure","Beige","Bisque","Black","BlanchedAlmond","Blue","BlueViolet","Brown","BurlyWood","CadetBlue","Chartreuse","Chocolate","Coral","CornflowerBlue","Cornsilk","Crimson","Cyan","DarkBlue","DarkCyan","DarkGoldenRod","DarkGray","DarkGrey","DarkGreen","DarkKhaki","DarkMagenta","DarkOliveGreen","Darkorange","DarkOrchid","DarkRed","DarkSalmon","DarkSeaGreen","DarkSlateBlue","DarkSlateGray","DarkSlateGrey","DarkTurquoise","DarkViolet","DeepPink","DeepSkyBlue","DimGray","DimGrey","DodgerBlue","FireBrick","FloralWhite","ForestGreen","Fuchsia","Gainsboro","GhostWhite","Gold","GoldenRod","Gray","Grey","Green","GreenYellow","HoneyDew","HotPink","IndianRed","Indigo","Ivory","Khaki","Lavender","LavenderBlush","LawnGreen","LemonChiffon","LightBlue","LightCoral","LightCyan","LightGoldenRodYellow","LightGray","LightGrey","LightGreen","LightPink","LightSalmon","LightSeaGreen","LightSkyBlue","LightSlateGray","LightSlateGrey","LightSteelBlue","LightYellow","Lime","LimeGreen","Linen","Magenta","Maroon","MediumAquaMarine","MediumBlue","MediumOrchid","MediumPurple","MediumSeaGreen","MediumSlateBlue","MediumSpringGreen","MediumTurquoise","MediumVioletRed","MidnightBlue","MintCream","MistyRose","Moccasin","NavajoWhite","Navy","OldLace","Olive","OliveDrab","Orange","OrangeRed","Orchid","PaleGoldenRod","PaleGreen","PaleTurquoise","PaleVioletRed","PapayaWhip","PeachPuff","Peru","Pink","Plum","PowderBlue","Purple","Red","RosyBrown","RoyalBlue","SaddleBrown","Salmon","SandyBrown","SeaGreen","SeaShell","Sienna","Silver","SkyBlue","SlateBlue","SlateGray","SlateGrey","Snow","SpringGreen","SteelBlue","Tan","Teal","Thistle","Tomato","Turquoise","Violet","Wheat","White","WhiteSmoke","Yellow","YellowGreen"];var constants=Object.freeze({__proto__:null,NegInfinity:NegInfinity,PosInfinity:PosInfinity,Epsilon:Epsilon,Pi:Pi,E:E,Root2:Root2,RootHalf:RootHalf,Ln2:Ln2,Ln10:Ln10,Log2E:Log2E,Log10E:Log10E,MaxSafeInt:MaxSafeInt,MinSafeInt:MinSafeInt,MaxPosNum:MaxPosNum,MinPosNum:MinPosNum,Phi:Phi,EulerC:EulerC,gviz_shapes:gviz_shapes$1,shapes:shapes$1,named_colors:named_colors$1});const version="5.85.9",build_time=1663041756792;const theme_mapping=new Map;theme_mapping.set("default",default_theme);theme_mapping.set("modern",modern_theme);theme_mapping.set("ocean",ocean_theme);theme_mapping.set("plain",plain_theme);theme_mapping.set("bold",bold_theme);const{shapes:shapes,gviz_shapes:gviz_shapes,named_colors:named_colors}=constants;function transfer_state_properties(state_decl){state_decl.declarations.map((d=>{switch(d.key){case"shape":state_decl.shape=d.value;break;case"color":state_decl.color=d.value;break;case"corners":state_decl.corners=d.value;break;case"line-style":state_decl.lineStyle=d.value;break;case"text-color":state_decl.textColor=d.value;break;case"background-color":state_decl.backgroundColor=d.value;break;case"state-label":state_decl.stateLabel=d.value;break;case"border-color":state_decl.borderColor=d.value;break;case"state_property":state_decl.property={name:d.name,value:d.value};break;default:throw new JssmError(undefined,`Unknown state property: '${JSON.stringify(d)}'`)}}));return state_decl}function state_style_condense(jssk){const state_style={};if(Array.isArray(jssk)){jssk.forEach(((key,i)=>{if(typeof key!=="object"){throw new JssmError(this,`invalid state item ${i} in state_style_condense list: ${JSON.stringify(key)}`)}switch(key.key){case"shape":if(state_style.shape!==undefined){throw new JssmError(this,`cannot redefine 'shape' in state_style_condense, already defined`)}state_style.shape=key.value;break;case"color":if(state_style.color!==undefined){throw new JssmError(this,`cannot redefine 'color' in state_style_condense, already defined`)}state_style.color=key.value;break;case"text-color":if(state_style.textColor!==undefined){throw new JssmError(this,`cannot redefine 'text-color' in state_style_condense, already defined`)}state_style.textColor=key.value;break;case"corners":if(state_style.corners!==undefined){throw new JssmError(this,`cannot redefine 'corners' in state_style_condense, already defined`)}state_style.corners=key.value;break;case"line-style":if(state_style.lineStyle!==undefined){throw new JssmError(this,`cannot redefine 'line-style' in state_style_condense, already defined`)}state_style.lineStyle=key.value;break;case"background-color":if(state_style.backgroundColor!==undefined){throw new JssmError(this,`cannot redefine 'background-color' in state_style_condense, already defined`)}state_style.backgroundColor=key.value;break;case"state-label":if(state_style.stateLabel!==undefined){throw new JssmError(this,`cannot redefine 'state-label' in state_style_condense, already defined`)}state_style.stateLabel=key.value;break;case"border-color":if(state_style.borderColor!==undefined){throw new JssmError(this,`cannot redefine 'border-color' in state_style_condense, already defined`)}state_style.borderColor=key.value;break;default:throw new JssmError(this,`unknown state style key in condense: ${key.key}`)}}))}else if(jssk===undefined);else{throw new JssmError(this,"state_style_condense received a non-array")}return state_style}class Machine{constructor({start_states:start_states,end_states:end_states=[],complete:complete=[],transitions:transitions,machine_author:machine_author,machine_comment:machine_comment,machine_contributor:machine_contributor,machine_definition:machine_definition,machine_language:machine_language,machine_license:machine_license,machine_name:machine_name,machine_version:machine_version,state_declaration:state_declaration,property_definition:property_definition,state_property:state_property,fsl_version:fsl_version,dot_preamble:dot_preamble=undefined,arrange_declaration:arrange_declaration=[],arrange_start_declaration:arrange_start_declaration=[],arrange_end_declaration:arrange_end_declaration=[],theme:theme=["default"],flow:flow="down",graph_layout:graph_layout="dot",instance_name:instance_name,history:history,data:data,default_state_config:default_state_config,default_active_state_config:default_active_state_config,default_hooked_state_config:default_hooked_state_config,default_terminal_state_config:default_terminal_state_config,default_start_state_config:default_start_state_config,default_end_state_config:default_end_state_config}){this._instance_name=instance_name;this._state=start_states[0];this._states=new Map;this._state_declarations=new Map;this._edges=[];this._edge_map=new Map;this._named_transitions=new Map;this._actions=new Map;this._reverse_actions=new Map;this._reverse_action_targets=new Map;this._start_states=new Set(start_states);this._end_states=new Set(end_states);this._machine_author=array_box_if_string(machine_author);this._machine_comment=machine_comment;this._machine_contributor=array_box_if_string(machine_contributor);this._machine_definition=machine_definition;this._machine_language=machine_language;this._machine_license=machine_license;this._machine_name=machine_name;this._machine_version=machine_version;this._raw_state_declaration=state_declaration||[];this._fsl_version=fsl_version;this._arrange_declaration=arrange_declaration;this._arrange_start_declaration=arrange_start_declaration;this._arrange_end_declaration=arrange_end_declaration;this._dot_preamble=dot_preamble;this._themes=theme;this._flow=flow;this._graph_layout=graph_layout;this._has_hooks=false;this._has_basic_hooks=false;this._has_named_hooks=false;this._has_entry_hooks=false;this._has_exit_hooks=false;this._has_global_action_hooks=false;this._has_transition_hooks=true;this._hooks=new Map;this._named_hooks=new Map;this._entry_hooks=new Map;this._exit_hooks=new Map;this._global_action_hooks=new Map;this._any_action_hook=undefined;this._standard_transition_hook=undefined;this._main_transition_hook=undefined;this._forced_transition_hook=undefined;this._any_transition_hook=undefined;this._has_post_hooks=false;this._has_post_basic_hooks=false;this._has_post_named_hooks=false;this._has_post_entry_hooks=false;this._has_post_exit_hooks=false;this._has_post_global_action_hooks=false;this._has_post_transition_hooks=true;this._post_hooks=new Map;this._post_named_hooks=new Map;this._post_entry_hooks=new Map;this._post_exit_hooks=new Map;this._post_global_action_hooks=new Map;this._post_any_action_hook=undefined;this._post_standard_transition_hook=undefined;this._post_main_transition_hook=undefined;this._post_forced_transition_hook=undefined;this._post_any_transition_hook=undefined;this._data=data;this._property_keys=new Set;this._default_properties=new Map;this._state_properties=new Map;this._required_properties=new Set;this._state_style=state_style_condense(default_state_config);this._active_state_style=state_style_condense(default_active_state_config);this._hooked_state_style=state_style_condense(default_hooked_state_config);this._terminal_state_style=state_style_condense(default_terminal_state_config);this._start_state_style=state_style_condense(default_start_state_config);this._end_state_style=state_style_condense(default_end_state_config);this._history_length=history||0;this._history=new circular_buffer(this._history_length);this._state_labels=new Map;if(state_declaration){state_declaration.map((state_decl=>{if(this._state_declarations.has(state_decl.state)){throw new JssmError(this,`Added the same state declaration twice: ${JSON.stringify(state_decl.state)}`)}this._state_declarations.set(state_decl.state,transfer_state_properties(state_decl))}))}[...this._state_declarations].map((sd=>{const[key,decl]=sd,labelled=decl.declarations.filter((d=>d.key==="state-label"));if(labelled.length>1){throw new JssmError(this,`state ${key} may only have one state-label; has ${labelled.length}`)}if(labelled.length===1){this._state_labels.set(key,labelled[0].value)}}));transitions.map((tr=>{if(tr.from===undefined){throw new JssmError(this,`transition must define 'from': ${JSON.stringify(tr)}`)}if(tr.to===undefined){throw new JssmError(this,`transition must define 'to': ${JSON.stringify(tr)}`)}const cursor_from=this._states.get(tr.from)||{name:tr.from,from:[],to:[],complete:complete.includes(tr.from)};if(!this._states.has(tr.from)){this._new_state(cursor_from)}const cursor_to=this._states.get(tr.to)||{name:tr.to,from:[],to:[],complete:complete.includes(tr.to)};if(!this._states.has(tr.to)){this._new_state(cursor_to)}if(cursor_from.to.includes(tr.to)){throw new JssmError(this,`already has ${JSON.stringify(tr.from)} to ${JSON.stringify(tr.to)}`)}else{cursor_from.to.push(tr.to);cursor_to.from.push(tr.from)}this._edges.push(tr);const thisEdgeId=this._edges.length-1;if(tr.name){if(this._named_transitions.has(tr.name)){throw new JssmError(this,`named transition "${JSON.stringify(tr.name)}" already created`)}else{this._named_transitions.set(tr.name,thisEdgeId)}}const from_mapping=this._edge_map.get(tr.from)||new Map;if(!this._edge_map.has(tr.from)){this._edge_map.set(tr.from,from_mapping)}from_mapping.set(tr.to,thisEdgeId);if(tr.action){let actionMap=this._actions.get(tr.action);if(!actionMap){actionMap=new Map;this._actions.set(tr.action,actionMap)}if(actionMap.has(tr.from)){throw new JssmError(this,`action ${JSON.stringify(tr.action)} already attached to origin ${JSON.stringify(tr.from)}`)}else{actionMap.set(tr.from,thisEdgeId)}let rActionMap=this._reverse_actions.get(tr.from);if(!rActionMap){rActionMap=new Map;this._reverse_actions.set(tr.from,rActionMap)}rActionMap.set(tr.action,thisEdgeId);if(!this._reverse_action_targets.has(tr.to)){this._reverse_action_targets.set(tr.to,new Map)}}}));if(Array.isArray(property_definition)){property_definition.forEach((pr=>{this._property_keys.add(pr.name);if(pr.hasOwnProperty("default_value")){this._default_properties.set(pr.name,pr.default_value)}if(pr.hasOwnProperty("required")&&pr.required===true){this._required_properties.add(pr.name)}}))}if(Array.isArray(state_property)){state_property.forEach((sp=>{this._state_properties.set(sp.name,sp.default_value)}))}this._state_properties.forEach(((_value,key)=>{const inside=JSON.parse(key);if(Array.isArray(inside)){const j_property=inside[0];if(typeof j_property==="string"){const j_state=inside[1];if(typeof j_state==="string"){if(!this.known_prop(j_property)){throw new JssmError(this,`State "${j_state}" has property "${j_property}" which is not globally declared`)}}}}}));this._required_properties.forEach((dp_key=>{if(this._default_properties.has(dp_key)){throw new JssmError(this,`The property "${dp_key}" is required, but also has a default; these conflict`)}this.states().forEach((s=>{const bound_name=name_bind_prop_and_state(dp_key,s);if(!this._state_properties.has(bound_name)){throw new JssmError(this,`State "${s}" is missing required property "${dp_key}"`)}}))}));if(!this.has_state(this.state())){throw new JssmError(this,`Current start state "${this.state()}" does not exist`)}start_states.forEach(((ss,ssi)=>{if(!this.has_state(ss)){throw new JssmError(this,`Start state ${ssi} "${ss}" does not exist`)}}));if(!(start_states.length===this._start_states.size)){throw new JssmError(this,`Start states cannot be repeated`)}}_new_state(state_config){if(this._states.has(state_config.name)){throw new JssmError(this,`state ${JSON.stringify(state_config.name)} already exists`)}this._states.set(state_config.name,state_config);return state_config.name}state(){return this._state}label_for(state){return this._state_labels.get(state)}display_text(state){var _a;return(_a=this._state_labels.get(state))!==null&&_a!==void 0?_a:state}data(){return this._data}prop(name){const bound_name=name_bind_prop_and_state(name,this.state());if(this._state_properties.has(bound_name)){return this._state_properties.get(bound_name)}else if(this._default_properties.has(name)){return this._default_properties.get(name)}else{return undefined}}strict_prop(name){const bound_name=name_bind_prop_and_state(name,this.state());if(this._state_properties.has(bound_name)){return this._state_properties.get(bound_name)}else if(this._default_properties.has(name)){return this._default_properties.get(name)}else{throw new JssmError(this,`Strictly requested a prop '${name}' which doesn't exist on current state '${this.state()}' and has no default`)}}props(){const ret={};this.known_props().forEach((p=>ret[p]=this.prop(p)));return ret}known_prop(prop_name){return this._property_keys.has(prop_name)}known_props(){return[...this._property_keys]}is_start_state(whichState){return this._start_states.has(whichState)}is_end_state(whichState){return this._end_states.has(whichState)}state_is_final(whichState){return this.state_is_terminal(whichState)||this.state_is_complete(whichState)}is_final(){return this.state_is_final(this.state())}serialize(comment){return{comment:comment,state:this._state,data:this._data,jssm_version:version,history:this._history.toArray(),history_capacity:this._history.capacity,timestamp:(new Date).getTime()}}graph_layout(){return this._graph_layout}dot_preamble(){return this._dot_preamble}machine_author(){return this._machine_author}machine_comment(){return this._machine_comment}machine_contributor(){return this._machine_contributor}machine_definition(){return this._machine_definition}machine_language(){return this._machine_language}machine_license(){return this._machine_license}machine_name(){return this._machine_name}machine_version(){return this._machine_version}raw_state_declarations(){return this._raw_state_declaration}state_declaration(which){return this._state_declarations.get(which)}state_declarations(){return this._state_declarations}fsl_version(){return this._fsl_version}machine_state(){return{internal_state_impl_version:1,actions:this._actions,edge_map:this._edge_map,edges:this._edges,named_transitions:this._named_transitions,reverse_actions:this._reverse_actions,state:this._state,states:this._states}}states(){return Array.from(this._states.keys())}state_for(whichState){const state=this._states.get(whichState);if(state){return state}else{throw new JssmError(this,"No such state",{requested_state:whichState})}}has_state(whichState){return this._states.get(whichState)!==undefined}list_edges(){return this._edges}list_named_transitions(){return this._named_transitions}list_actions(){return Array.from(this._actions.keys())}get uses_actions(){return Array.from(this._actions.keys()).length>0}all_themes(){return[...theme_mapping.keys()]}get themes(){return this._themes}set themes(to){if(typeof to==="string"){this._themes=[to]}else{this._themes=to}}flow(){return this._flow}get_transition_by_state_names(from,to){const emg=this._edge_map.get(from);if(emg){return emg.get(to)}else{return undefined}}lookup_transition_for(from,to){const id=this.get_transition_by_state_names(from,to);return id===undefined||id===null?undefined:this._edges[id]}list_transitions(whichState=this.state()){return{entrances:this.list_entrances(whichState),exits:this.list_exits(whichState)}}list_entrances(whichState=this.state()){return(this._states.get(whichState)||{from:undefined}).from||[]}list_exits(whichState=this.state()){return(this._states.get(whichState)||{to:undefined}).to||[]}probable_exits_for(whichState){const wstate=this._states.get(whichState);if(!wstate){throw new JssmError(this,`No such state ${JSON.stringify(whichState)} in probable_exits_for`)}const wstate_to=wstate.to,wtf=wstate_to.map((ws=>this.lookup_transition_for(this.state(),ws))).filter(Boolean);return wtf}probabilistic_transition(){const selected=weighted_rand_select(this.probable_exits_for(this.state()));return this.transition(selected.to)}probabilistic_walk(n){return seq(n).map((()=>{const state_was=this.state();this.probabilistic_transition();return state_was})).concat([this.state()])}probabilistic_histo_walk(n){return histograph(this.probabilistic_walk(n))}actions(whichState=this.state()){const wstate=this._reverse_actions.get(whichState);if(wstate){return Array.from(wstate.keys())}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}list_states_having_action(whichState){const wstate=this._actions.get(whichState);if(wstate){return Array.from(wstate.keys())}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}list_exit_actions(whichState=this.state()){const ra_base=this._reverse_actions.get(whichState);if(!ra_base){throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}return Array.from(ra_base.values()).map((edgeId=>this._edges[edgeId])).filter((o=>o.from===whichState)).map((filtered=>filtered.action))}probable_action_exits(whichState=this.state()){const ra_base=this._reverse_actions.get(whichState);if(!ra_base){throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}return Array.from(ra_base.values()).map((edgeId=>this._edges[edgeId])).filter((o=>o.from===whichState)).map((filtered=>({action:filtered.action,probability:filtered.probability})))}is_unenterable(whichState){if(!this.has_state(whichState)){throw new JssmError(this,`No such state ${whichState}`)}return this.list_entrances(whichState).length===0}has_unenterables(){return this.states().some((x=>this.is_unenterable(x)))}is_terminal(){return this.state_is_terminal(this.state())}state_is_terminal(whichState){if(!this.has_state(whichState)){throw new JssmError(this,`No such state ${whichState}`)}return this.list_exits(whichState).length===0}has_terminals(){return this.states().some((x=>this.state_is_terminal(x)))}is_complete(){return this.state_is_complete(this.state())}state_is_complete(whichState){const wstate=this._states.get(whichState);if(wstate){return wstate.complete}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}has_completes(){return this.states().some((x=>this.state_is_complete(x)))}set_hook(HookDesc){switch(HookDesc.kind){case"hook":this._hooks.set(hook_name(HookDesc.from,HookDesc.to),HookDesc.handler);this._has_hooks=true;this._has_basic_hooks=true;break;case"named":this._named_hooks.set(named_hook_name(HookDesc.from,HookDesc.to,HookDesc.action),HookDesc.handler);this._has_hooks=true;this._has_named_hooks=true;break;case"global action":this._global_action_hooks.set(HookDesc.action,HookDesc.handler);this._has_hooks=true;this._has_global_action_hooks=true;break;case"any action":this._any_action_hook=HookDesc.handler;this._has_hooks=true;break;case"standard transition":this._standard_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"main transition":this._main_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"forced transition":this._forced_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"any transition":this._any_transition_hook=HookDesc.handler;this._has_hooks=true;break;case"entry":this._entry_hooks.set(HookDesc.to,HookDesc.handler);this._has_hooks=true;this._has_entry_hooks=true;break;case"exit":this._exit_hooks.set(HookDesc.from,HookDesc.handler);this._has_hooks=true;this._has_exit_hooks=true;break;case"post hook":this._post_hooks.set(hook_name(HookDesc.from,HookDesc.to),HookDesc.handler);this._has_post_hooks=true;this._has_post_basic_hooks=true;break;case"post named":this._post_named_hooks.set(named_hook_name(HookDesc.from,HookDesc.to,HookDesc.action),HookDesc.handler);this._has_post_hooks=true;this._has_post_named_hooks=true;break;case"post global action":this._post_global_action_hooks.set(HookDesc.action,HookDesc.handler);this._has_post_hooks=true;this._has_post_global_action_hooks=true;break;case"post any action":this._post_any_action_hook=HookDesc.handler;this._has_post_hooks=true;break;case"post standard transition":this._post_standard_transition_hook=HookDesc.handler;this._has_post_transition_hooks=true;this._has_post_hooks=true;break;case"post main transition":this._post_main_transition_hook=HookDesc.handler;this._has_post_transition_hooks=true;this._has_post_hooks=true;break;case"post forced transition":this._post_forced_transition_hook=HookDesc.handler;this._has_post_transition_hooks=true;this._has_post_hooks=true;break;case"post any transition":this._post_any_transition_hook=HookDesc.handler;this._has_post_hooks=true;break;case"post entry":this._post_entry_hooks.set(HookDesc.to,HookDesc.handler);this._has_post_entry_hooks=true;this._has_post_hooks=true;break;case"post exit":this._post_exit_hooks.set(HookDesc.from,HookDesc.handler);this._has_post_exit_hooks=true;this._has_post_hooks=true;break;default:throw new JssmError(this,`Unknown hook type ${HookDesc.kind}, should be impossible`)}}hook(from,to,handler){this.set_hook({kind:"hook",from:from,to:to,handler:handler});return this}hook_action(from,to,action,handler){this.set_hook({kind:"named",from:from,to:to,action:action,handler:handler});return this}hook_global_action(action,handler){this.set_hook({kind:"global action",action:action,handler:handler});return this}hook_any_action(handler){this.set_hook({kind:"any action",handler:handler});return this}hook_standard_transition(handler){this.set_hook({kind:"standard transition",handler:handler});return this}hook_main_transition(handler){this.set_hook({kind:"main transition",handler:handler});return this}hook_forced_transition(handler){this.set_hook({kind:"forced transition",handler:handler});return this}hook_any_transition(handler){this.set_hook({kind:"any transition",handler:handler});return this}hook_entry(to,handler){this.set_hook({kind:"entry",to:to,handler:handler});return this}hook_exit(from,handler){this.set_hook({kind:"exit",from:from,handler:handler});return this}post_hook(from,to,handler){this.set_hook({kind:"post hook",from:from,to:to,handler:handler});return this}post_hook_action(from,to,action,handler){this.set_hook({kind:"post named",from:from,to:to,action:action,handler:handler});return this}post_hook_global_action(action,handler){this.set_hook({kind:"post global action",action:action,handler:handler});return this}post_hook_any_action(handler){this.set_hook({kind:"post any action",handler:handler});return this}post_hook_standard_transition(handler){this.set_hook({kind:"post standard transition",handler:handler});return this}post_hook_main_transition(handler){this.set_hook({kind:"post main transition",handler:handler});return this}post_hook_forced_transition(handler){this.set_hook({kind:"post forced transition",handler:handler});return this}post_hook_any_transition(handler){this.set_hook({kind:"post any transition",handler:handler});return this}post_hook_entry(to,handler){this.set_hook({kind:"post entry",to:to,handler:handler});return this}post_hook_exit(from,handler){this.set_hook({kind:"post exit",from:from,handler:handler});return this}edges_between(from,to){return this._edges.filter((edge=>edge.from===from&&edge.to===to))}transition_impl(newStateOrAction,newData,wasForced,wasAction){let valid=false,trans_type,newState,fromAction=undefined;if(wasForced){if(this.valid_force_transition(newStateOrAction,newData)){valid=true;trans_type="forced";newState=newStateOrAction}}else if(wasAction){if(this.valid_action(newStateOrAction,newData)){const edge=this.current_action_edge_for(newStateOrAction);valid=true;trans_type=edge.kind;newState=edge.to;fromAction=newStateOrAction}}else{if(this.valid_transition(newStateOrAction,newData)){if(this._has_transition_hooks){trans_type=this.edges_between(this._state,newStateOrAction)[0].kind}valid=true;newState=newStateOrAction}}const hook_args={data:this._data,action:fromAction,from:this._state,to:newState,forced:wasForced,trans_type:trans_type};if(valid){if(this._has_hooks){function update_fields(res){if(res.hasOwnProperty("data")){hook_args.data=res.data;data_changed=true}}let data_changed=false;if(wasAction){const outcome=abstract_hook_step(this._any_action_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome);const outcome2=abstract_hook_step(this._global_action_hooks.get(newStateOrAction),hook_args);if(outcome2.pass===false){return false}update_fields(outcome2)}if(this._any_transition_hook!==undefined){const outcome=abstract_hook_step(this._any_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._has_exit_hooks){const outcome=abstract_hook_step(this._exit_hooks.get(this._state),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._has_named_hooks){if(wasAction){const nhn=named_hook_name(this._state,newState,newStateOrAction),outcome=abstract_hook_step(this._named_hooks.get(nhn),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}}if(this._has_basic_hooks){const hn=hook_name(this._state,newState),outcome=abstract_hook_step(this._hooks.get(hn),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(trans_type==="legal"){const outcome=abstract_hook_step(this._standard_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(trans_type==="main"){const outcome=abstract_hook_step(this._main_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(trans_type==="forced"){const outcome=abstract_hook_step(this._forced_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._has_entry_hooks){const outcome=abstract_hook_step(this._entry_hooks.get(newState),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._history_length){this._history.shove([this._state,this._data])}this._state=newState;if(data_changed){this._data=hook_args.data}}else{if(this._history_length){this._history.shove([this._state,this._data])}this._state=newState}}else{return false}if(this._has_post_hooks){if(wasAction){if(this._post_any_action_hook!==undefined){this._post_any_action_hook(hook_args)}const pgah=this._post_global_action_hooks.get(hook_args.action);if(pgah!==undefined){pgah(hook_args)}}if(this._post_any_transition_hook!==undefined){this._post_any_transition_hook(hook_args)}if(this._has_post_exit_hooks){const peh=this._post_exit_hooks.get(hook_args.from);if(peh!==undefined){peh(hook_args)}}if(this._has_post_named_hooks){if(wasAction){const nhn=named_hook_name(hook_args.from,hook_args.to,hook_args.action),pnh=this._post_named_hooks.get(nhn);if(pnh!==undefined){pnh(hook_args)}}}if(this._has_post_basic_hooks){const hook=this._post_hooks.get(hook_name(hook_args.from,hook_args.to));if(hook!==undefined){hook(hook_args)}}if(trans_type==="legal"){if(this._post_standard_transition_hook!==undefined){this._post_standard_transition_hook(hook_args)}}if(trans_type==="main"){if(this._post_main_transition_hook!==undefined){this._post_main_transition_hook(hook_args)}}if(trans_type==="forced"){if(this._post_forced_transition_hook!==undefined){this._post_forced_transition_hook(hook_args)}}if(this._has_post_entry_hooks){const hook=this._post_entry_hooks.get(hook_args.to);if(hook!==undefined){hook(hook_args)}}}return true}get history(){return this._history.toArray()}get history_inclusive(){const ret=this._history.toArray();ret.push([this.state(),this.data()]);return ret}get history_length(){return this._history_length}set history_length(to){this._history_length=to;this._history.resize(to,true)}action(actionName,newData){return this.transition_impl(actionName,newData,false,true)}get standard_state_style(){return this._state_style}get hooked_state_style(){return this._hooked_state_style}get start_state_style(){return this._start_state_style}get end_state_style(){return this._end_state_style}get terminal_state_style(){return this._terminal_state_style}get active_state_style(){return this._active_state_style}style_for(state){const themes=[];this._themes.forEach((th=>{const theme_impl=theme_mapping.get(th);if(theme_impl!==undefined){themes.push(theme_impl)}}));const layers=[base_theme.state];themes.reverse().map((theme=>{if(theme.state){layers.push(theme.state)}}));if(this._state_style){layers.push(this._state_style)}if(this.state_is_terminal(state)){layers.push(base_theme.terminal);themes.map((theme=>{if(theme.terminal){layers.push(theme.terminal)}}));if(this._terminal_state_style){layers.push(this._terminal_state_style)}}if(this.is_start_state(state)){layers.push(base_theme.start);themes.map((theme=>{if(theme.start){layers.push(theme.start)}}));if(this._start_state_style){layers.push(this._start_state_style)}}if(this.is_end_state(state)){layers.push(base_theme.end);themes.map((theme=>{if(theme.end){layers.push(theme.end)}}));if(this._end_state_style){layers.push(this._end_state_style)}}if(this.state()===state){layers.push(base_theme.active);themes.map((theme=>{if(theme.active){layers.push(theme.active)}}));if(this._active_state_style){layers.push(this._active_state_style)}}const individual_style={},decl=this._state_declarations.get(state);individual_style.color=decl===null||decl===void 0?void 0:decl.color;individual_style.textColor=decl===null||decl===void 0?void 0:decl.textColor;individual_style.borderColor=decl===null||decl===void 0?void 0:decl.borderColor;individual_style.backgroundColor=decl===null||decl===void 0?void 0:decl.backgroundColor;individual_style.lineStyle=decl===null||decl===void 0?void 0:decl.lineStyle;individual_style.corners=decl===null||decl===void 0?void 0:decl.corners;individual_style.shape=decl===null||decl===void 0?void 0:decl.shape;layers.push(individual_style);return layers.reduce(((acc,cur)=>{const composite_state=acc;Object.keys(cur).forEach((key=>{var _a;return composite_state[key]=(_a=cur[key])!==null&&_a!==void 0?_a:composite_state[key]}));return composite_state}),{})}do(actionName,newData){return this.transition_impl(actionName,newData,false,true)}transition(newState,newData){return this.transition_impl(newState,newData,false,false)}go(newState,newData){return this.transition_impl(newState,newData,false,false)}force_transition(newState,newData){return this.transition_impl(newState,newData,true,false)}current_action_for(action){const action_base=this._actions.get(action);return action_base?action_base.get(this.state()):undefined}current_action_edge_for(action){const idx=this.current_action_for(action);if(idx===undefined||idx===null){throw new JssmError(this,`No such action ${JSON.stringify(action)}`)}return this._edges[idx]}valid_action(action,_newData){return this.current_action_for(action)!==undefined}valid_transition(newState,_newData){const transition_for=this.lookup_transition_for(this.state(),newState);if(!transition_for){return false}if(transition_for.forced_only){return false}return true}valid_force_transition(newState,_newData){return this.lookup_transition_for(this.state(),newState)!==undefined}instance_name(){return this._instance_name}sm(template_strings,...remainder){return sm(template_strings,...remainder)}}function sm(template_strings,...remainder){return new Machine(make(template_strings.reduce(((acc,val,idx)=>`${acc}${remainder[idx-1]}${val}`))))}function from(MachineAsString,ExtraConstructorFields){const to_decorate=make(MachineAsString);if(ExtraConstructorFields!==undefined){Object.keys(ExtraConstructorFields).map((key=>to_decorate[key]=ExtraConstructorFields[key]))}return new Machine(to_decorate)}function is_hook_complex_result(hr){if(typeof hr==="object"){if(typeof hr.pass==="boolean"){return true}}return false}function is_hook_rejection(hr){if(hr===true){return false}if(hr===undefined){return false}if(hr===false){return true}if(is_hook_complex_result(hr)){return!hr.pass}throw new TypeError("unknown hook rejection type result")}function abstract_hook_step(maybe_hook,hook_args){if(maybe_hook!==undefined){const result=maybe_hook(hook_args);if(result===undefined){return{pass:true}}if(result===true){return{pass:true}}if(result===false){return{pass:false}}if(is_hook_complex_result(result)){return result}throw new TypeError(`Unknown hook result type ${result}`)}else{return{pass:true}}}function deserialize(machine_string,ser){const machine=from(machine_string,{data:ser.data,history:ser.history_capacity});machine._state=ser.state;ser.history.forEach((history_item=>machine._history.push(history_item)));return machine}exports.FslDirections=FslDirections;exports.Machine=Machine;exports.abstract_hook_step=abstract_hook_step;exports.arrow_direction=arrow_direction;exports.arrow_left_kind=arrow_left_kind;exports.arrow_right_kind=arrow_right_kind;exports.build_time=build_time;exports.compile=compile;exports.constants=constants;exports.deserialize=deserialize;exports.find_repeated=find_repeated;exports.from=from;exports.gviz_shapes=gviz_shapes;exports.histograph=histograph;exports.is_hook_complex_result=is_hook_complex_result;exports.is_hook_rejection=is_hook_rejection;exports.make=make;exports.named_colors=named_colors;exports.parse=wrap_parse;exports.seq=seq;exports.shapes=shapes;exports.sm=sm;exports.state_style_condense=state_style_condense;exports.transfer_state_properties=transfer_state_properties;exports.unique=unique;exports.version=version;exports.weighted_histo_key=weighted_histo_key;exports.weighted_rand_select=weighted_rand_select;exports.weighted_sample_select=weighted_sample_select;Object.defineProperty(exports,"__esModule",{value:true});return exports}({}); diff --git a/dist/jssm.es5.iife.nonmin.js b/dist/jssm.es5.iife.nonmin.js index 9c4f5fff..27193228 100644 --- a/dist/jssm.es5.iife.nonmin.js +++ b/dist/jssm.es5.iife.nonmin.js @@ -1,22106 +1,22107 @@ var jssm = (function (exports) { - 'use strict'; + 'use strict'; - var reductions = { - "abkhazian" : "ab", - "аҧсуа бызшәа, аҧсшәа" : "ab", - "ab" : "ab", - "abk" : "ab", - "аҧсуа бызшәа" : "ab", - "аҧсшәа" : "ab", - "afar" : "aa", - "afaraf" : "aa", - "aa" : "aa", - "aar" : "aa", - "afrikaans" : "af", - "af" : "af", - "afr" : "af", - "akan" : "ak", - "ak" : "ak", - "aka" : "ak", - "aka + 2" : "ak", - "albanian" : "sq", - "shqip" : "sq", - "sq" : "sq", - "sqi" : "sq", - "alb" : "sq", - "sqi + 4" : "sq", - "amharic" : "am", - "አማርኛ" : "am", - "am" : "am", - "amh" : "am", - "arabic" : "ar", - "العربية" : "ar", - "ar" : "ar", - "ara" : "ar", - "ara + 30" : "ar", - "aragonese" : "an", - "aragonés" : "an", - "an" : "an", - "arg" : "an", - "armenian" : "hy", - "հայերեն" : "hy", - "hy" : "hy", - "hye" : "hy", - "arm" : "hy", - "assamese" : "as", - "অসমীয়া" : "as", - "as" : "as", - "asm" : "as", - "avaric" : "av", - "авар мацӏ, магӏарул мацӏ" : "av", - "av" : "av", - "ava" : "av", - "авар мацӏ" : "av", - "магӏарул мацӏ" : "av", - "avestan" : "ae", - "avesta" : "ae", - "ae" : "ae", - "ave" : "ae", - "aymara" : "ay", - "aymar aru" : "ay", - "ay" : "ay", - "aym" : "ay", - "aym + 2" : "ay", - "azerbaijani" : "az", - "azərbaycan dili" : "az", - "az" : "az", - "aze" : "az", - "aze + 2" : "az", - "bambara" : "bm", - "bamanankan" : "bm", - "bm" : "bm", - "bam" : "bm", - "bashkir" : "ba", - "башҡорт теле" : "ba", - "ba" : "ba", - "bak" : "ba", - "basque" : "eu", - "euskara, euskera" : "eu", - "eu" : "eu", - "eus" : "eu", - "baq" : "eu", - "euskara" : "eu", - "euskera" : "eu", - "belarusian" : "be", - "беларуская мова" : "be", - "be" : "be", - "bel" : "be", - "bengali" : "bn", - "বাংলা" : "bn", - "bn" : "bn", - "ben" : "bn", - "bihari languages" : "bh", - "भोजपुरी" : "bh", - "bh" : "bh", - "bih" : "bh", - "bislama" : "bi", - "bi" : "bi", - "bis" : "bi", - "bosnian" : "bs", - "bosanski jezik" : "bs", - "bs" : "bs", - "bos" : "bs", - "breton" : "br", - "brezhoneg" : "br", - "br" : "br", - "bre" : "br", - "bulgarian" : "bg", - "български език" : "bg", - "bg" : "bg", - "bul" : "bg", - "burmese" : "my", - "ဗမာစာ" : "my", - "my" : "my", - "mya" : "my", - "bur" : "my", - "catalan, valencian" : "ca", - "català, valencià" : "ca", - "ca" : "ca", - "cat" : "ca", - "català" : "ca", - "valencià" : "ca", - "chamorro" : "ch", - "chamoru" : "ch", - "ch" : "ch", - "cha" : "ch", - "chechen" : "ce", - "нохчийн мотт" : "ce", - "ce" : "ce", - "che" : "ce", - "chichewa, chewa, nyanja" : "ny", - "chicheŵa, chinyanja" : "ny", - "ny" : "ny", - "nya" : "ny", - "chicheŵa" : "ny", - "chinyanja" : "ny", - "chinese" : "zh", - "中文 (zhōngwén), 汉语, 漢語" : "zh", - "zh" : "zh", - "zho" : "zh", - "chi" : "zh", - "zho + 13" : "zh", - "中文 (zhōngwén)" : "zh", - "汉语" : "zh", - "漢語" : "zh", - "chuvash" : "cv", - "чӑваш чӗлхи" : "cv", - "cv" : "cv", - "chv" : "cv", - "cornish" : "kw", - "kernewek" : "kw", - "kw" : "kw", - "cor" : "kw", - "corsican" : "co", - "corsu, lingua corsa" : "co", - "co" : "co", - "cos" : "co", - "corsu" : "co", - "lingua corsa" : "co", - "cree" : "cr", - "ᓀᐦᐃᔭᐍᐏᐣ" : "cr", - "cr" : "cr", - "cre" : "cr", - "cre + 6" : "cr", - "croatian" : "hr", - "hrvatski jezik" : "hr", - "hr" : "hr", - "hrv" : "hr", - "czech" : "cs", - "čeština, český jazyk" : "cs", - "cs" : "cs", - "ces" : "cs", - "cze" : "cs", - "čeština" : "cs", - "český jazyk" : "cs", - "danish" : "da", - "dansk" : "da", - "da" : "da", - "dan" : "da", - "divehi, dhivehi, maldivian" : "dv", - "ދިވެހި" : "dv", - "dv" : "dv", - "div" : "dv", - "dutch, flemish" : "nl", - "nederlands, vlaams" : "nl", - "nl" : "nl", - "nld" : "nl", - "dut" : "nl", - "nederlands" : "nl", - "vlaams" : "nl", - "dzongkha" : "dz", - "རྫོང་ཁ" : "dz", - "dz" : "dz", - "dzo" : "dz", - "english" : "en", - "en" : "en", - "eng" : "en", - "esperanto" : "eo", - "eo" : "eo", - "epo" : "eo", - "estonian" : "et", - "eesti, eesti keel" : "et", - "et" : "et", - "est" : "et", - "est + 2" : "et", - "eesti" : "et", - "eesti keel" : "et", - "ewe" : "ee", - "eʋegbe" : "ee", - "ee" : "ee", - "faroese" : "fo", - "føroyskt" : "fo", - "fo" : "fo", - "fao" : "fo", - "fijian" : "fj", - "vosa vakaviti" : "fj", - "fj" : "fj", - "fij" : "fj", - "finnish" : "fi", - "suomi, suomen kieli" : "fi", - "fi" : "fi", - "fin" : "fi", - "suomi" : "fi", - "suomen kieli" : "fi", - "french" : "fr", - "français, langue française" : "fr", - "fr" : "fr", - "fra" : "fr", - "fre" : "fr", - "français" : "fr", - "langue française" : "fr", - "fulah" : "ff", - "fulfulde, pulaar, pular" : "ff", - "ff" : "ff", - "ful" : "ff", - "ful + 9" : "ff", - "fulfulde" : "ff", - "pulaar" : "ff", - "pular" : "ff", - "galician" : "gl", - "galego" : "gl", - "gl" : "gl", - "glg" : "gl", - "georgian" : "ka", - "ქართული" : "ka", - "ka" : "ka", - "kat" : "ka", - "geo" : "ka", - "german" : "de", - "deutsch" : "de", - "de" : "de", - "deu" : "de", - "ger" : "de", - "greek (modern)" : "el", - "ελληνικά" : "el", - "el" : "el", - "ell" : "el", - "gre" : "el", - "guaraní" : "gn", - "avañe'ẽ" : "gn", - "gn" : "gn", - "grn" : "gn", - "grn + 5" : "gn", - "gujarati" : "gu", - "ગુજરાતી" : "gu", - "gu" : "gu", - "guj" : "gu", - "haitian, haitian creole" : "ht", - "kreyòl ayisyen" : "ht", - "ht" : "ht", - "hat" : "ht", - "hausa" : "ha", - "(hausa) هَوُسَ" : "ha", - "ha" : "ha", - "hau" : "ha", - "hebrew (modern)" : "he", - "עברית" : "he", - "he" : "he", - "heb" : "he", - "herero" : "hz", - "otjiherero" : "hz", - "hz" : "hz", - "her" : "hz", - "hindi" : "hi", - "हिन्दी, हिंदी" : "hi", - "hi" : "hi", - "hin" : "hi", - "हिन्दी" : "hi", - "हिंदी" : "hi", - "hiri motu" : "ho", - "ho" : "ho", - "hmo" : "ho", - "hungarian" : "hu", - "magyar" : "hu", - "hu" : "hu", - "hun" : "hu", - "interlingua" : "ia", - "ia" : "ia", - "ina" : "ia", - "indonesian" : "id", - "bahasa indonesia" : "id", - "id" : "id", - "ind" : "id", - "interlingue" : "ie", - "originally called occidental; then interlingue after wwii" : "ie", - "ie" : "ie", - "ile" : "ie", - "irish" : "ga", - "gaeilge" : "ga", - "ga" : "ga", - "gle" : "ga", - "igbo" : "ig", - "asụsụ igbo" : "ig", - "ig" : "ig", - "ibo" : "ig", - "inupiaq" : "ik", - "iñupiaq, iñupiatun" : "ik", - "ik" : "ik", - "ipk" : "ik", - "ipk + 2" : "ik", - "iñupiaq" : "ik", - "iñupiatun" : "ik", - "ido" : "io", - "io" : "io", - "icelandic" : "is", - "íslenska" : "is", - "is" : "is", - "isl" : "is", - "ice" : "is", - "italian" : "it", - "italiano" : "it", - "it" : "it", - "ita" : "it", - "inuktitut" : "iu", - "ᐃᓄᒃᑎᑐᑦ" : "iu", - "iu" : "iu", - "iku" : "iu", - "iku + 2" : "iu", - "japanese" : "ja", - "日本語 (にほんご)" : "ja", - "ja" : "ja", - "jpn" : "ja", - "javanese" : "jv", - "ꦧꦱꦗꦮ, basa jawa" : "jv", - "jv" : "jv", - "jav" : "jv", - "ꦧꦱꦗꦮ" : "jv", - "basa jawa" : "jv", - "kalaallisut, greenlandic" : "kl", - "kalaallisut, kalaallit oqaasii" : "kl", - "kl" : "kl", - "kal" : "kl", - "kalaallisut" : "kl", - "kalaallit oqaasii" : "kl", - "kannada" : "kn", - "ಕನ್ನಡ" : "kn", - "kn" : "kn", - "kan" : "kn", - "kanuri" : "kr", - "kr" : "kr", - "kau" : "kr", - "kau + 3" : "kr", - "kashmiri" : "ks", - "कश्मीरी, كشميري‎" : "ks", - "ks" : "ks", - "kas" : "ks", - "कश्मीरी" : "ks", - "كشميري‎" : "ks", - "kazakh" : "kk", - "қазақ тілі" : "kk", - "kk" : "kk", - "kaz" : "kk", - "central khmer" : "km", - "ខ្មែរ, ខេមរភាសា, ភាសាខ្មែរ" : "km", - "km" : "km", - "khm" : "km", - "ខ្មែរ" : "km", - "ខេមរភាសា" : "km", - "ភាសាខ្មែរ" : "km", - "kikuyu, gikuyu" : "ki", - "gĩkũyũ" : "ki", - "ki" : "ki", - "kik" : "ki", - "kinyarwanda" : "rw", - "ikinyarwanda" : "rw", - "rw" : "rw", - "kin" : "rw", - "kirghiz, kyrgyz" : "ky", - "кыргызча, кыргыз тили" : "ky", - "ky" : "ky", - "kir" : "ky", - "кыргызча" : "ky", - "кыргыз тили" : "ky", - "komi" : "kv", - "коми кыв" : "kv", - "kv" : "kv", - "kom" : "kv", - "kom + 2" : "kv", - "kongo" : "kg", - "kikongo" : "kg", - "kg" : "kg", - "kon" : "kg", - "kon + 3" : "kg", - "korean" : "ko", - "한국어" : "ko", - "ko" : "ko", - "kor" : "ko", - "kurdish" : "ku", - "kurdî, كوردی‎" : "ku", - "ku" : "ku", - "kur" : "ku", - "kur + 3" : "ku", - "kurdî" : "ku", - "كوردی‎" : "ku", - "kuanyama, kwanyama" : "kj", - "kuanyama" : "kj", - "kj" : "kj", - "kua" : "kj", - "latin" : "la", - "latine, lingua latina" : "la", - "la" : "la", - "lat" : "la", - "latine" : "la", - "lingua latina" : "la", - "luxembourgish, letzeburgesch" : "lb", - "lëtzebuergesch" : "lb", - "lb" : "lb", - "ltz" : "lb", - "ganda" : "lg", - "luganda" : "lg", - "lg" : "lg", - "lug" : "lg", - "limburgan, limburger, limburgish" : "li", - "limburgs" : "li", - "li" : "li", - "lim" : "li", - "lingala" : "ln", - "lingála" : "ln", - "ln" : "ln", - "lin" : "ln", - "lao" : "lo", - "ພາສາລາວ" : "lo", - "lo" : "lo", - "lithuanian" : "lt", - "lietuvių kalba" : "lt", - "lt" : "lt", - "lit" : "lt", - "luba-katanga" : "lu", - "kiluba" : "lu", - "lu" : "lu", - "lub" : "lu", - "latvian" : "lv", - "latviešu valoda" : "lv", - "lv" : "lv", - "lav" : "lv", - "lav + 2" : "lv", - "manx" : "gv", - "gaelg, gailck" : "gv", - "gv" : "gv", - "glv" : "gv", - "gaelg" : "gv", - "gailck" : "gv", - "macedonian" : "mk", - "македонски јазик" : "mk", - "mk" : "mk", - "mkd" : "mk", - "mac" : "mk", - "malagasy" : "mg", - "fiteny malagasy" : "mg", - "mg" : "mg", - "mlg" : "mg", - "mlg + 10" : "mg", - "malay" : "ms", - "bahasa melayu, بهاس ملايو‎" : "ms", - "ms" : "ms", - "msa" : "ms", - "may" : "ms", - "msa + 13" : "ms", - "bahasa melayu" : "ms", - "بهاس ملايو‎" : "ms", - "malayalam" : "ml", - "മലയാളം" : "ml", - "ml" : "ml", - "mal" : "ml", - "maltese" : "mt", - "malti" : "mt", - "mt" : "mt", - "mlt" : "mt", - "maori" : "mi", - "te reo māori" : "mi", - "mi" : "mi", - "mri" : "mi", - "mao" : "mi", - "marathi" : "mr", - "मराठी" : "mr", - "mr" : "mr", - "mar" : "mr", - "marshallese" : "mh", - "kajin m̧ajeļ" : "mh", - "mh" : "mh", - "mah" : "mh", - "mongolian" : "mn", - "монгол хэл" : "mn", - "mn" : "mn", - "mon" : "mn", - "mon + 2" : "mn", - "nauru" : "na", - "dorerin naoero" : "na", - "na" : "na", - "nau" : "na", - "navajo, navaho" : "nv", - "diné bizaad" : "nv", - "nv" : "nv", - "nav" : "nv", - "north ndebele" : "nd", - "isindebele" : "nr", - "nd" : "nd", - "nde" : "nd", - "nepali" : "ne", - "नेपाली" : "ne", - "ne" : "ne", - "nep" : "ne", - "ndonga" : "ng", - "owambo" : "ng", - "ng" : "ng", - "ndo" : "ng", - "norwegian bokmål" : "nb", - "norsk bokmål" : "nb", - "nb" : "nb", - "nob" : "nb", - "norwegian nynorsk" : "nn", - "norsk nynorsk" : "nn", - "nn" : "nn", - "nno" : "nn", - "norwegian" : "no", - "norsk" : "no", - "no" : "no", - "nor" : "no", - "nor + 2" : "no", - "sichuan yi, nuosu" : "ii", - "ꆈꌠ꒿ nuosuhxop" : "ii", - "ii" : "ii", - "iii" : "ii", - "south ndebele" : "nr", - "nr" : "nr", - "nbl" : "nr", - "occitan" : "oc", - "occitan, lenga d'òc" : "oc", - "oc" : "oc", - "oci" : "oc", - "lenga d'òc" : "oc", - "ojibwa" : "oj", - "ᐊᓂᔑᓈᐯᒧᐎᓐ" : "oj", - "oj" : "oj", - "oji" : "oj", - "oji + 7" : "oj", - "church slavic, church slavonic, old church slavonic, old slavonic, old bulgarian" : "cu", - "ѩзыкъ словѣньскъ" : "cu", - "cu" : "cu", - "chu" : "cu", - "oromo" : "om", - "afaan oromoo" : "om", - "om" : "om", - "orm" : "om", - "orm + 4" : "om", - "oriya" : "or", - "ଓଡ଼ିଆ" : "or", - "or" : "or", - "ori" : "or", - "ossetian, ossetic" : "os", - "ирон æвзаг" : "os", - "os" : "os", - "oss" : "os", - "panjabi, punjabi" : "pa", - "ਪੰਜਾਬੀ" : "pa", - "pa" : "pa", - "pan" : "pa", - "pali" : "pi", - "पाऴि" : "pi", - "pi" : "pi", - "pli" : "pi", - "persian" : "fa", - "فارسی" : "fa", - "fa" : "fa", - "fas" : "fa", - "per" : "fa", - "fas + 2" : "fa", - "polish" : "pl", - "język polski, polszczyzna" : "pl", - "pl" : "pl", - "pol" : "pl", - "język polski" : "pl", - "polszczyzna" : "pl", - "pashto, pushto" : "ps", - "پښتو" : "ps", - "ps" : "ps", - "pus" : "ps", - "pus + 3" : "ps", - "portuguese" : "pt", - "português" : "pt", - "pt" : "pt", - "por" : "pt", - "quechua" : "qu", - "runa simi, kichwa" : "qu", - "qu" : "qu", - "que" : "qu", - "que + 44" : "qu", - "runa simi" : "qu", - "kichwa" : "qu", - "romansh" : "rm", - "rumantsch grischun" : "rm", - "rm" : "rm", - "roh" : "rm", - "rundi" : "rn", - "ikirundi" : "rn", - "rn" : "rn", - "run" : "rn", - "romanian, moldavian, moldovan" : "ro", - "română" : "ro", - "ro" : "ro", - "ron" : "ro", - "rum" : "ro", - "russian" : "ru", - "русский" : "ru", - "ru" : "ru", - "rus" : "ru", - "sanskrit" : "sa", - "संस्कृतम्" : "sa", - "sa" : "sa", - "san" : "sa", - "sardinian" : "sc", - "sardu" : "sc", - "sc" : "sc", - "srd" : "sc", - "srd + 4" : "sc", - "sindhi" : "sd", - "सिन्धी, سنڌي، سندھی‎" : "sd", - "sd" : "sd", - "snd" : "sd", - "सिन्धी" : "sd", - "سنڌي، سندھی‎" : "sd", - "northern sami" : "se", - "davvisámegiella" : "se", - "se" : "se", - "sme" : "se", - "samoan" : "sm", - "gagana fa'a samoa" : "sm", - "sm" : "sm", - "smo" : "sm", - "sango" : "sg", - "yângâ tî sängö" : "sg", - "sg" : "sg", - "sag" : "sg", - "serbian" : "sr", - "српски језик" : "sr", - "sr" : "sr", - "srp" : "sr", - "gaelic, scottish gaelic" : "gd", - "gàidhlig" : "gd", - "gd" : "gd", - "gla" : "gd", - "shona" : "sn", - "chishona" : "sn", - "sn" : "sn", - "sna" : "sn", - "sinhala, sinhalese" : "si", - "සිංහල" : "si", - "si" : "si", - "sin" : "si", - "slovak" : "sk", - "slovenčina, slovenský jazyk" : "sk", - "sk" : "sk", - "slk" : "sk", - "slo" : "sk", - "slovenčina" : "sk", - "slovenský jazyk" : "sk", - "slovenian" : "sl", - "slovenski jezik, slovenščina" : "sl", - "sl" : "sl", - "slv" : "sl", - "slovenski jezik" : "sl", - "slovenščina" : "sl", - "somali" : "so", - "soomaaliga, af soomaali" : "so", - "so" : "so", - "som" : "so", - "soomaaliga" : "so", - "af soomaali" : "so", - "southern sotho" : "st", - "sesotho" : "st", - "st" : "st", - "sot" : "st", - "spanish, castilian" : "es", - "español" : "es", - "es" : "es", - "spa" : "es", - "sundanese" : "su", - "basa sunda" : "su", - "su" : "su", - "sun" : "su", - "swahili" : "sw", - "kiswahili" : "sw", - "sw" : "sw", - "swa" : "sw", - "swa + 2" : "sw", - "swati" : "ss", - "siswati" : "ss", - "ss" : "ss", - "ssw" : "ss", - "swedish" : "sv", - "svenska" : "sv", - "sv" : "sv", - "swe" : "sv", - "tamil" : "ta", - "தமிழ்" : "ta", - "ta" : "ta", - "tam" : "ta", - "telugu" : "te", - "తెలుగు" : "te", - "te" : "te", - "tel" : "te", - "tajik" : "tg", - "тоҷикӣ, toçikī, تاجیکی‎" : "tg", - "tg" : "tg", - "tgk" : "tg", - "тоҷикӣ" : "tg", - "toçikī" : "tg", - "تاجیکی‎" : "tg", - "thai" : "th", - "ไทย" : "th", - "th" : "th", - "tha" : "th", - "tigrinya" : "ti", - "ትግርኛ" : "ti", - "ti" : "ti", - "tir" : "ti", - "tibetan" : "bo", - "བོད་ཡིག" : "bo", - "bo" : "bo", - "bod" : "bo", - "tib" : "bo", - "turkmen" : "tk", - "türkmen, түркмен" : "tk", - "tk" : "tk", - "tuk" : "tk", - "türkmen" : "tk", - "түркмен" : "tk", - "tagalog" : "tl", - "wikang tagalog" : "tl", - "tl" : "tl", - "tgl" : "tl", - "tswana" : "tn", - "setswana" : "tn", - "tn" : "tn", - "tsn" : "tn", - "tonga (tonga islands)" : "to", - "faka tonga" : "to", - "to" : "to", - "ton" : "to", - "turkish" : "tr", - "türkçe" : "tr", - "tr" : "tr", - "tur" : "tr", - "tsonga" : "ts", - "xitsonga" : "ts", - "ts" : "ts", - "tso" : "ts", - "tatar" : "tt", - "татар теле, tatar tele" : "tt", - "tt" : "tt", - "tat" : "tt", - "татар теле" : "tt", - "tatar tele" : "tt", - "twi" : "tw", - "tw" : "tw", - "tahitian" : "ty", - "reo tahiti" : "ty", - "ty" : "ty", - "tah" : "ty", - "uighur, uyghur" : "ug", - "ئۇيغۇرچە‎, uyghurche" : "ug", - "ug" : "ug", - "uig" : "ug", - "ئۇيغۇرچە‎" : "ug", - "uyghurche" : "ug", - "ukrainian" : "uk", - "українська" : "uk", - "uk" : "uk", - "ukr" : "uk", - "urdu" : "ur", - "اردو" : "ur", - "ur" : "ur", - "urd" : "ur", - "uzbek" : "uz", - "oʻzbek, ўзбек, أۇزبېك‎" : "uz", - "uz" : "uz", - "uzb" : "uz", - "uzb + 2" : "uz", - "oʻzbek" : "uz", - "ўзбек" : "uz", - "أۇزبېك‎" : "uz", - "venda" : "ve", - "tshivenḓa" : "ve", - "ve" : "ve", - "ven" : "ve", - "vietnamese" : "vi", - "tiếng việt" : "vi", - "vi" : "vi", - "vie" : "vi", - "volapük" : "vo", - "vo" : "vo", - "vol" : "vo", - "walloon" : "wa", - "walon" : "wa", - "wa" : "wa", - "wln" : "wa", - "welsh" : "cy", - "cymraeg" : "cy", - "cy" : "cy", - "cym" : "cy", - "wel" : "cy", - "wolof" : "wo", - "wollof" : "wo", - "wo" : "wo", - "wol" : "wo", - "western frisian" : "fy", - "frysk" : "fy", - "fy" : "fy", - "fry" : "fy", - "xhosa" : "xh", - "isixhosa" : "xh", - "xh" : "xh", - "xho" : "xh", - "yiddish" : "yi", - "ייִדיש" : "yi", - "yi" : "yi", - "yid" : "yi", - "yid + 2" : "yi", - "yoruba" : "yo", - "yorùbá" : "yo", - "yo" : "yo", - "yor" : "yo", - "zhuang, chuang" : "za", - "saɯ cueŋƅ, saw cuengh" : "za", - "za" : "za", - "zha" : "za", - "zha + 16" : "za", - "saɯ cueŋƅ" : "za", - "saw cuengh" : "za", - "zulu" : "zu", - "isizulu" : "zu", - "zu" : "zu", - "zul" : "zu" - }; - - - - - - function reduce(from) { - return reductions[from.toLowerCase()]; - } - - class circular_buffer{constructor(uCapacity){if(!Number.isInteger(uCapacity)){throw new RangeError(`Capacity must be an integer, received ${uCapacity}`)}if(uCapacity<0){throw new RangeError(`Capacity must be a non-negative integer, received ${uCapacity}`)}this._values=new Array(uCapacity);this._capacity=uCapacity;this._cursor=0;this._offset=0;this._length=0;}get capacity(){return this._capacity}set capacity(newSize){this.resize(newSize);}get length(){return this._length}set length(newLength){if(newLength>this._capacity){throw new RangeError(`Requested new length [${newLength}] exceeds container capacity [${this._capacity}]`)}if(newLength<0){throw new RangeError(`Requested new length [${newLength}] cannot be negative`)}if(!Number.isInteger(newLength)){throw new RangeError(`Requested new length [${newLength}] must be an integer`)}if(this._length<=newLength){return}this._length=newLength;}get available(){return this._capacity-this._length}get isEmpty(){return this._length===0}get isFull(){return this._length===this._capacity}get first(){if(this.isEmpty){throw new RangeError("Cannot return first element of an empty container")}return this.at(0)}get last(){if(this.isEmpty){throw new RangeError("Cannot return last element of an empty container")}return this.at(this.length-1)}static from(i,map_fn,t){const new_array=map_fn?Array.from(i,map_fn,t):Array.from(i);const target_length=new_array.length;const ncb=new circular_buffer(target_length);ncb._values=new_array;ncb._length=target_length;return ncb}push(v){if(this.isFull){throw new RangeError(`Cannot push, structure is full to capacity`)}this._values[(this._cursor+this._length++)%this._capacity]=v;return v}shove(v){let shoved;if(this._capacity===0){throw new RangeError(`Cannot shove, structure is zero-capacity`)}if(this.isFull){shoved=this.pop();}this.push(v);return shoved}fill(x){for(let i=0;i=this._capacity){this._cursor-=this._capacity;}return cache}at(i){if(i<0){throw new RangeError(`circular_buffer does not support negative traversals; called at(${i})`)}if(!Number.isInteger(i)){throw new RangeError(`Accessors must be non-negative integers; called at(${i})`)}if(i>=this._capacity){throw new RangeError(`Requested cell ${i} exceeds container permanent capacity`)}if(i>=this._length){throw new RangeError(`Requested cell ${i} exceeds container current length`)}return this._values[(this._cursor+i)%this._capacity]}pos(i){return this.at(i-this.offset())}offset(){return this._offset}resize(newSize,preferEnd=false){this._values=this.toArray();this._cursor=0;const oldSize=this._length;this._length=Math.min(this._length,newSize);this._capacity=newSize;if(newSize>=oldSize){this._values.length=newSize;}else {if(preferEnd){const tmp=this._values.slice(oldSize-newSize);this._values=tmp;}else {this._values.length=newSize;}}}toArray(){const startPoint=this._cursor%this._capacity;if(this._capacity>startPoint+this._length){return this._values.slice(startPoint,startPoint+this._length)}else {const base=this._values.slice(startPoint,this._capacity);base.push(...this._values.slice(0,this.length-(this._capacity-startPoint)));return base}}} + class circular_buffer{constructor(uCapacity){if(!Number.isInteger(uCapacity)){throw new RangeError(`Capacity must be an integer, received ${uCapacity}`)}if(uCapacity<0){throw new RangeError(`Capacity must be a non-negative integer, received ${uCapacity}`)}this._values=new Array(uCapacity);this._capacity=uCapacity;this._cursor=0;this._offset=0;this._length=0;}get capacity(){return this._capacity}set capacity(newSize){this.resize(newSize);}get length(){return this._length}set length(newLength){if(newLength>this._capacity){throw new RangeError(`Requested new length [${newLength}] exceeds container capacity [${this._capacity}]`)}if(newLength<0){throw new RangeError(`Requested new length [${newLength}] cannot be negative`)}if(!Number.isInteger(newLength)){throw new RangeError(`Requested new length [${newLength}] must be an integer`)}if(this._length<=newLength){return}this._length=newLength;}get available(){return this._capacity-this._length}get isEmpty(){return this._length===0}get isFull(){return this._length===this._capacity}get first(){if(this.isEmpty){throw new RangeError("Cannot return first element of an empty container")}return this.at(0)}get last(){if(this.isEmpty){throw new RangeError("Cannot return last element of an empty container")}return this.at(this.length-1)}static from(i,map_fn,t){const new_array=map_fn?Array.from(i,map_fn,t):Array.from(i);const target_length=new_array.length;const ncb=new circular_buffer(target_length);ncb._values=new_array;ncb._length=target_length;return ncb}push(v){if(this.isFull){throw new RangeError(`Cannot push, structure is full to capacity`)}this._values[(this._cursor+this._length++)%this._capacity]=v;return v}shove(v){let shoved;if(this._capacity===0){throw new RangeError(`Cannot shove, structure is zero-capacity`)}if(this.isFull){shoved=this.pop();}this.push(v);return shoved}fill(x){for(let i=0;i=this._capacity){this._cursor-=this._capacity;}return cache}at(i){if(i<0){throw new RangeError(`circular_buffer does not support negative traversals; called at(${i})`)}if(!Number.isInteger(i)){throw new RangeError(`Accessors must be non-negative integers; called at(${i})`)}if(i>=this._capacity){throw new RangeError(`Requested cell ${i} exceeds container permanent capacity`)}if(i>=this._length){throw new RangeError(`Requested cell ${i} exceeds container current length`)}return this._values[(this._cursor+i)%this._capacity]}pos(i){return this.at(i-this.offset())}offset(){return this._offset}resize(newSize,preferEnd=false){this._values=this.toArray();this._cursor=0;const oldSize=this._length;this._length=Math.min(this._length,newSize);this._capacity=newSize;if(newSize>=oldSize){this._values.length=newSize;}else {if(preferEnd){const tmp=this._values.slice(oldSize-newSize);this._values=tmp;}else {this._values.length=newSize;}}}toArray(){const startPoint=this._cursor%this._capacity;if(this._capacity>startPoint+this._length){return this._values.slice(startPoint,startPoint+this._length)}else {const base=this._values.slice(startPoint,this._capacity);base.push(...this._values.slice(0,this.length-(this._capacity-startPoint)));return base}}} - const FslDirections = ['up', 'right', 'down', 'left']; + const FslDirections = ['up', 'right', 'down', 'left']; - class JssmError extends Error { - constructor(machine, message, JEEI) { - const { requested_state } = (JEEI === undefined) - ? { requested_state: undefined } - : JEEI; - const follow_ups = []; - if (machine) { - if (machine.state() !== undefined) { - follow_ups.push(`at "${machine.state()}"`); - } - } - if (requested_state !== undefined) { - follow_ups.push(`requested "${requested_state}"`); - } - const complex_msg = `${((machine === null || machine === void 0 ? void 0 : machine.instance_name()) !== undefined) + class JssmError extends Error { + constructor(machine, message, JEEI) { + const { requested_state } = (JEEI === undefined) + ? { requested_state: undefined } + : JEEI; + const follow_ups = []; + if (machine) { + if (machine.state() !== undefined) { + follow_ups.push(`at "${machine.state()}"`); + } + } + if (requested_state !== undefined) { + follow_ups.push(`requested "${requested_state}"`); + } + const complex_msg = `${((machine === null || machine === void 0 ? void 0 : machine.instance_name()) !== undefined) ? `[[${machine.instance_name()}]]: ` : ''}${message}${follow_ups.length ? ` (${follow_ups.join(', ')})` : ''}`; - super(complex_msg); - this.name = 'JssmError'; - this.message = complex_msg; - this.base_message = message; - this.requested_state = requested_state; - } - } - - /* eslint-disable complexity */ - /********* - * - * Return the direction of an arrow - `right`, `left`, or `both`. - * - * ```typescript - * import { arrow_direction } from 'jssm'; - * - * arrow_direction('->'); // 'right' - * arrow_direction('<~=>'); // 'both' - * ``` - * - * @param arrow The arrow to be evaluated - * - */ - function arrow_direction(arrow) { - switch (String(arrow)) { - case '->': - case '→': - case '=>': - case '⇒': - case '~>': - case '↛': - return 'right'; - case '<-': - case '←': - case '<=': - case '⇐': - case '<~': - case '↚': - return 'left'; - case '<->': - case '↔': - case '<-=>': - case '←⇒': - case '←=>': - case '<-⇒': - case '<-~>': - case '←↛': - case '←~>': - case '<-↛': - case '<=>': - case '⇔': - case '<=->': - case '⇐→': - case '⇐->': - case '<=→': - case '<=~>': - case '⇐↛': - case '⇐~>': - case '<=↛': - case '<~>': - case '↮': - case '<~->': - case '↚→': - case '↚->': - case '<~→': - case '<~=>': - case '↚⇒': - case '↚=>': - case '<~⇒': - return 'both'; - default: - throw new JssmError(undefined, `arrow_direction: unknown arrow type ${arrow}`); - } - } - /* eslint-enable complexity */ - /* eslint-disable complexity */ - /********* - * - * Return the direction of an arrow - `right`, `left`, or `both`. - * - * ```typescript - * import { arrow_left_kind } from 'jssm'; - * - * arrow_left_kind('<-'); // 'legal' - * arrow_left_kind('<='); // 'main' - * arrow_left_kind('<~'); // 'forced' - * arrow_left_kind('<->'); // 'legal' - * arrow_left_kind('->'); // 'none' - * ``` - * - * @param arrow The arrow to be evaluated - * - */ - function arrow_left_kind(arrow) { - switch (String(arrow)) { - case '->': - case '→': - case '=>': - case '⇒': - case '~>': - case '↛': - return 'none'; - case '<-': - case '←': - case '<->': - case '↔': - case '<-=>': - case '←⇒': - case '<-~>': - case '←↛': - return 'legal'; - case '<=': - case '⇐': - case '<=>': - case '⇔': - case '<=->': - case '⇐→': - case '<=~>': - case '⇐↛': - return 'main'; - case '<~': - case '↚': - case '<~>': - case '↮': - case '<~->': - case '↚→': - case '<~=>': - case '↚⇒': - return 'forced'; - default: - throw new JssmError(undefined, `arrow_direction: unknown arrow type ${arrow}`); - } - } - /* eslint-enable complexity */ - /* eslint-disable complexity */ - /********* - * - * Return the direction of an arrow - `right`, `left`, or `both`. - * - * ```typescript - * import { arrow_left_kind } from 'jssm'; - * - * arrow_left_kind('->'); // 'legal' - * arrow_left_kind('=>'); // 'main' - * arrow_left_kind('~>'); // 'forced' - * arrow_left_kind('<->'); // 'legal' - * arrow_left_kind('<-'); // 'none' - * ``` - * - * @param arrow The arrow to be evaluated - * - */ - function arrow_right_kind(arrow) { - switch (String(arrow)) { - case '<-': - case '←': - case '<=': - case '⇐': - case '<~': - case '↚': - return 'none'; - case '->': - case '→': - case '<->': - case '↔': - case '<=->': - case '⇐→': - case '<~->': - case '↚→': - return 'legal'; - case '=>': - case '⇒': - case '<=>': - case '⇔': - case '<-=>': - case '←⇒': - case '<~=>': - case '↚⇒': - return 'main'; - case '~>': - case '↛': - case '<~>': - case '↮': - case '<-~>': - case '←↛': - case '<=~>': - case '⇐↛': - return 'forced'; - default: - throw new JssmError(undefined, `arrow_direction: unknown arrow type ${arrow}`); - } - } - - const base_state_style$5 = { - shape: 'rectangle', - backgroundColor: 'white', - textColor: 'black', - borderColor: 'black' - }; - const base_active_state_style$5 = { - textColor: 'white', - backgroundColor: 'dodgerblue4' - }; - const base_hooked_state_style$5 = { - shape: 'component' - }; - const base_terminal_state_style$5 = { - textColor: 'white', - backgroundColor: 'crimson' - }; - const base_active_terminal_state_style$5 = { - textColor: 'white', - backgroundColor: 'indigo' - }; - const base_start_state_style$5 = { - backgroundColor: 'yellow' - }; - const base_active_start_state_style$5 = { - backgroundColor: 'yellowgreen' - }; - const base_active_hooked_state_style$5 = { - backgroundColor: 'yellowgreen' - }; - const base_end_state_style$5 = { - textColor: 'white', - backgroundColor: 'darkolivegreen' - }; - const base_active_end_state_style$5 = { - textColor: 'white', - backgroundColor: 'darkgreen' - }; - const base_theme = { - name: 'base', - state: base_state_style$5, - start: base_start_state_style$5, - end: base_end_state_style$5, - terminal: base_terminal_state_style$5, - hooked: base_hooked_state_style$5, - active: base_active_state_style$5, - active_start: base_active_start_state_style$5, - active_end: base_active_end_state_style$5, - active_terminal: base_active_terminal_state_style$5, - active_hooked: base_active_hooked_state_style$5, - legal: undefined, - main: undefined, - forced: undefined, - action: undefined, - graph: undefined, - title: undefined // TODO FIXME - }; - - const base_state_style$4 = { - shape: 'rectangle', - backgroundColor: 'white', - textColor: 'black', - borderColor: 'black' - }; - const base_active_state_style$4 = { - textColor: 'white', - backgroundColor: 'dodgerblue4' - }; - const base_hooked_state_style$4 = { - shape: 'component' - }; - const base_terminal_state_style$4 = { - textColor: 'white', - backgroundColor: 'crimson' - }; - const base_active_terminal_state_style$4 = { - textColor: 'white', - backgroundColor: 'indigo' - }; - const base_start_state_style$4 = { - backgroundColor: 'yellow' - }; - const base_active_start_state_style$4 = { - backgroundColor: 'yellowgreen' - }; - const base_active_hooked_state_style$4 = { - backgroundColor: 'yellowgreen' - }; - const base_end_state_style$4 = { - textColor: 'white', - backgroundColor: 'darkolivegreen' - }; - const base_active_end_state_style$4 = { - textColor: 'white', - backgroundColor: 'darkgreen' - }; - const default_theme = { - name: 'default', - state: base_state_style$4, - start: base_start_state_style$4, - end: base_end_state_style$4, - terminal: base_terminal_state_style$4, - hooked: base_hooked_state_style$4, - active: base_active_state_style$4, - active_start: base_active_start_state_style$4, - active_end: base_active_end_state_style$4, - active_terminal: base_active_terminal_state_style$4, - active_hooked: base_active_hooked_state_style$4, - legal: undefined, - main: undefined, - forced: undefined, - action: undefined, - graph: undefined, - title: undefined // TODO FIXME - }; - - const base_state_style$3 = { - shape: 'rectangle', - backgroundColor: 'khaki', - textColor: 'black', - borderColor: 'black' - }; - const base_active_state_style$3 = { - textColor: 'white', - backgroundColor: 'dodgerblue4' - }; - const base_hooked_state_style$3 = { - shape: 'component' - }; - const base_terminal_state_style$3 = { - textColor: 'white', - backgroundColor: 'crimson' - }; - const base_active_terminal_state_style$3 = { - textColor: 'white', - backgroundColor: 'indigo' - }; - const base_start_state_style$3 = { - backgroundColor: 'yellow' - }; - const base_active_start_state_style$3 = { - backgroundColor: 'yellowgreen' - }; - const base_active_hooked_state_style$3 = { - backgroundColor: 'yellowgreen' - }; - const base_end_state_style$3 = { - textColor: 'white', - backgroundColor: 'darkolivegreen' - }; - const base_active_end_state_style$3 = { - textColor: 'white', - backgroundColor: 'darkgreen' - }; - const modern_theme = { - name: 'modern', - state: base_state_style$3, - start: base_start_state_style$3, - end: base_end_state_style$3, - terminal: base_terminal_state_style$3, - hooked: base_hooked_state_style$3, - active: base_active_state_style$3, - active_start: base_active_start_state_style$3, - active_end: base_active_end_state_style$3, - active_terminal: base_active_terminal_state_style$3, - active_hooked: base_active_hooked_state_style$3, - legal: undefined, - main: undefined, - forced: undefined, - action: undefined, - graph: undefined, - title: undefined // TODO FIXME - }; - - const base_state_style$2 = { - backgroundColor: 'cadetblue1', - }; - const base_active_state_style$2 = { - textColor: 'white', - backgroundColor: 'deepskyblue' - }; - const base_hooked_state_style$2 = { - shape: 'component', - backgroundColor: 'mediumaquamarine' - }; - const base_terminal_state_style$2 = { - textColor: 'white', - backgroundColor: 'darkviolet' - }; - const base_active_terminal_state_style$2 = { - textColor: 'white', - backgroundColor: 'deeppink' - }; - const base_start_state_style$2 = { - backgroundColor: 'darkseagreen1' - }; - const base_active_start_state_style$2 = { - backgroundColor: 'aquamarine' - }; - const base_active_hooked_state_style$2 = { - backgroundColor: 'aquamarine' - }; - const base_end_state_style$2 = { - textColor: 'white', - backgroundColor: 'chartreuse1' - }; - const base_active_end_state_style$2 = { - textColor: 'white', - backgroundColor: 'darkgreen' - }; - const ocean_theme = { - name: 'ocean', - state: base_state_style$2, - start: base_start_state_style$2, - end: base_end_state_style$2, - terminal: base_terminal_state_style$2, - hooked: base_hooked_state_style$2, - active: base_active_state_style$2, - active_start: base_active_start_state_style$2, - active_end: base_active_end_state_style$2, - active_terminal: base_active_terminal_state_style$2, - active_hooked: base_active_hooked_state_style$2, - legal: undefined, - main: undefined, - forced: undefined, - action: undefined, - graph: undefined, - title: undefined // TODO FIXME - }; - - const base_state_style$1 = { - textColor: 'black', - backgroundColor: 'transparent', - shape: 'plaintext' - }; - const base_active_state_style$1 = { - textColor: 'black', - backgroundColor: 'transparent', - shape: 'plaintext' - }; - const base_hooked_state_style$1 = { - textColor: 'black', - backgroundColor: 'transparent', - shape: 'plaintext' - }; - const base_terminal_state_style$1 = { - textColor: 'black', - backgroundColor: 'transparent', - shape: 'plaintext' - }; - const base_active_terminal_state_style$1 = { - textColor: 'black', - backgroundColor: 'transparent', - shape: 'plaintext' - }; - const base_start_state_style$1 = { - textColor: 'black', - backgroundColor: 'transparent', - shape: 'plaintext' - }; - const base_active_start_state_style$1 = { - textColor: 'black', - backgroundColor: 'transparent', - shape: 'plaintext' - }; - const base_active_hooked_state_style$1 = { - textColor: 'black', - backgroundColor: 'transparent', - shape: 'plaintext' - }; - const base_end_state_style$1 = { - textColor: 'black', - backgroundColor: 'transparent', - shape: 'plaintext' - }; - const base_active_end_state_style$1 = { - textColor: 'black', - backgroundColor: 'transparent', - shape: 'plaintext' - }; - const plain_theme = { - name: 'plain', - state: base_state_style$1, - start: base_start_state_style$1, - end: base_end_state_style$1, - terminal: base_terminal_state_style$1, - hooked: base_hooked_state_style$1, - active: base_active_state_style$1, - active_start: base_active_start_state_style$1, - active_end: base_active_end_state_style$1, - active_terminal: base_active_terminal_state_style$1, - active_hooked: base_active_hooked_state_style$1, - legal: undefined, - main: undefined, - forced: undefined, - action: undefined, - graph: undefined, - title: undefined // TODO FIXME - }; - - const base_state_style = { - shape: 'rectangle', - backgroundColor: 'khaki', - textColor: 'black', - borderColor: 'black' - }; - const base_active_state_style = { - textColor: 'white', - backgroundColor: 'dodgerblue4' - }; - const base_hooked_state_style = { - shape: 'component' - }; - const base_terminal_state_style = { - textColor: 'white', - backgroundColor: 'crimson' - }; - const base_active_terminal_state_style = { - textColor: 'white', - backgroundColor: 'indigo' - }; - const base_start_state_style = { - backgroundColor: 'yellow' - }; - const base_active_start_state_style = { - backgroundColor: 'yellowgreen' - }; - const base_active_hooked_state_style = { - backgroundColor: 'yellowgreen' - }; - const base_end_state_style = { - textColor: 'white', - backgroundColor: 'darkolivegreen' - }; - const base_active_end_state_style = { - textColor: 'white', - backgroundColor: 'darkgreen' - }; - const bold_theme = { - name: 'bold', - state: base_state_style, - start: base_start_state_style, - end: base_end_state_style, - terminal: base_terminal_state_style, - hooked: base_hooked_state_style, - active: base_active_state_style, - active_start: base_active_start_state_style, - active_end: base_active_end_state_style, - active_terminal: base_active_terminal_state_style, - active_hooked: base_active_hooked_state_style, - legal: undefined, - main: undefined, - forced: undefined, - action: undefined, - graph: undefined, - title: undefined // TODO FIXME - }; - - const array_box_if_string = n => typeof n === 'string' ? [n] : n; - // this is explicitly about other peoples' data, so it has to be weakly typed - /* eslint-disable flowtype/no-weak-types */ - const weighted_rand_select = (options, probability_property = 'probability') => { - if (!Array.isArray(options)) { - throw new TypeError('options must be a non-empty array of objects'); - } - if (!(typeof options[0] === 'object')) { - throw new TypeError('options must be a non-empty array of objects'); - } - const frand = (cap) => Math.random() * cap, or_one = (item) => item === undefined ? 1 : item, prob_sum = options.reduce((acc, val) => acc + or_one(val[probability_property]), 0), rnd = frand(prob_sum); - let cursor = 0, cursor_sum = 0; - while ((cursor_sum += or_one(options[cursor++][probability_property])) <= rnd) { } // eslint-disable-line no-empty,fp/no-loops - return options[cursor - 1]; - }; - /* eslint-enable flowtype/no-weak-types */ - /******* - * - * Returns, for a non-negative integer argument `n`, the series `[0 .. n]`. - * - * ```typescript - * import { seq } from './jssm'; - * - * seq(5); // [0, 1, 2, 3, 4] - * seq(0); // [] - * ``` - * - */ - function seq(n) { - if (!(Number.isInteger(n))) { - throw new TypeError('seq/1 takes a non-negative integer n as an argument'); - } - if (n < 0) { - throw new TypeError('seq/1 takes a non-negative integer n as an argument'); - } - return (new Array(n)) - .fill(true) - .map((_, i) => i); - } - /******* - * - * Returns the histograph of an array as a `Map`. Makes no attempt to cope - * with deep equality; will fail for complex contents, as such. - * - * ```typescript - * import { histograph } from './jssm'; - * - * histograph( [0, 0, 1, 1, 2, 2, 1] ); // Map() - * ``` - * - */ - const histograph = (ar) => // eslint-disable-line flowtype/no-weak-types - ar.sort() - .reduce((m, v) => // TODO FIXME eslint-disable-line flowtype/no-weak-types,no-sequences - (m.set(v, (m.has(v) ? m.get(v) + 1 : 1)), m), new Map()); - const weighted_sample_select = (n, options, probability_property) => // TODO FIXME no any // eslint-disable-line flowtype/no-weak-types - seq(n) - .map((_i) => // TODO FIXME eslint-disable-line flowtype/no-weak-types - weighted_rand_select(options, probability_property)); - const weighted_histo_key = (n, opts, prob_prop, extract) => // TODO FIXME no any // eslint-disable-line flowtype/no-weak-types - histograph(weighted_sample_select(n, opts, prob_prop) - .map((s) => s[extract] // TODO FIXME eslint-disable-line flowtype/no-weak-types - )); - /******* - * - * Internal method generating names for edges for the hook lookup map. Not - * meant for external use. - * - */ - function name_bind_prop_and_state(prop, state) { - if (typeof prop !== 'string') { - throw new JssmError(undefined, `Name of property must be a string; got ${prop}`); - } - if (typeof state !== 'string') { - throw new JssmError(undefined, `Name of state must be a string; got ${prop}`); - } - return JSON.stringify([prop, state]); - } - /******* - * - * Internal method generating names for edges for the hook lookup map. Not - * meant for external use. - * - */ - const hook_name = (from, to) => JSON.stringify([from, to]); - /******* - * - * Internal method generating names for actions for the hook lookup map. Not - * meant for external use. - * - */ - const named_hook_name = (from, to, action) => JSON.stringify([from, to, action]); - /******* - * - * Reduces an array to its unique contents. Compares with `===` and makes no - * effort to deep-compare contents; two matching arrays or objects contained - * will be treated as distinct, according to javascript rules. This also means - * that `NaNs` will be ***dropped***, because they do not self-compare. - * - * ```typescript - * unique( [] ); // [] - * unique( [0,0] ); // [0] - * unique( [0,1,2, 0,1,2, 0,1,2] ); // [0,1,2] - * unique( [ [1], [1] ] ); // [ [1], [1] ] because arrays don't match - * unique( [0,NaN,2] ); // [0,2] - * ``` - * - */ - const unique = (arr) => arr.filter((v, i, a) => a.indexOf(v) === i); - /******* - * - * Lists all repeated items in an array along with their counts. Subject to - * matching rules of Map. `NaN` is manually removed because of conflict rules - * around {@link unique}. Because these are compared with `===` and because - * arrays and objects never match that way unless they're the same object, - * arrays and objects are never considered repeats. - * - * ```typescript - * find_repeated([ ]); // [] - * find_repeated([ "one" ]); // [] - * find_repeated([ "one", "two" ]); // [] - * find_repeated([ "one", "one" ]); // [ ["one", 2] ] - * find_repeated([ "one", "two", "one" ]); // [ ["one", 2] ] - * find_repeated([ 0, NaN, 0, NaN ]); // [ [0, 2] ] - * ``` - * - */ - function find_repeated(arr) { - const uniqued = unique(arr); - if (uniqued.length !== arr.length) { - const residue_keys = new Map(); - arr.forEach(k => residue_keys.set(k, residue_keys.has(k) - ? (residue_keys.get(k) + 1) - : 1)); - uniqued.forEach(k => residue_keys.set(k, residue_keys.get(k) - 1)); - return [...residue_keys.entries()] - .filter((e) => ((e[1] > 0) && (!(Number.isNaN(e[0]))))) - .map((e) => [e[0], e[1] + 1]); - } - else { - return []; - } - } - - const NegInfinity = Number.NEGATIVE_INFINITY, PosInfinity = Number.POSITIVE_INFINITY, Epsilon = Number.EPSILON, Pi = Math.PI, E = Math.E, Root2 = Math.SQRT2, RootHalf = Math.SQRT1_2, Ln2 = Math.LN2, Ln10 = Math.LN10, Log2E = Math.LOG2E, Log10E = Math.LOG10E, MaxSafeInt = Number.MAX_SAFE_INTEGER, MinSafeInt = Number.MIN_SAFE_INTEGER, MaxPosNum = Number.MAX_VALUE, MinPosNum = Number.MIN_VALUE, Phi = 1.61803398874989484820, EulerC = 0.57721566490153286060; - const gviz_shapes$1 = [ - "box3d", - "polygon", - "ellipse", - "oval", - "circle", - "point", - "egg", - "triangle", - "plaintext", - "plain", - "diamond", - "trapezium", - "parallelogram", - "house", - "pentagon", - "hexagon", - "septagon", - "octagon", - "doublecircle", - "doubleoctagon", - "tripleoctagon", - "invtriangle", - "invtrapezium", - "invhouse", - "Mdiamond", - "Msquare", - "Mcircle", - "rectangle", - "rect", - "square", - "star", - "none", - "underline", - "cylinder", - "note", - "tab", - "folder", - "box", - "component", - "promoter", - "cds", - "terminator", - "utr", - "primersite", - "restrictionsite", - "fivepoverhang", - "threepoverhang", - "noverhang", - "assembly", - "signature", - "insulator", - "ribosite", - "rnastab", - "proteasesite", - "proteinstab", - "rpromoter", - "rarrow", - "larrow", - "lpromoter", - "record" - ]; - const shapes$1 = gviz_shapes$1; - const named_colors$1 = [ - "AliceBlue", "AntiqueWhite", "Aqua", "Aquamarine", "Azure", "Beige", - "Bisque", "Black", "BlanchedAlmond", "Blue", "BlueViolet", "Brown", - "BurlyWood", "CadetBlue", "Chartreuse", "Chocolate", "Coral", - "CornflowerBlue", "Cornsilk", "Crimson", "Cyan", "DarkBlue", "DarkCyan", - "DarkGoldenRod", "DarkGray", "DarkGrey", "DarkGreen", "DarkKhaki", - "DarkMagenta", "DarkOliveGreen", "Darkorange", "DarkOrchid", "DarkRed", - "DarkSalmon", "DarkSeaGreen", "DarkSlateBlue", "DarkSlateGray", - "DarkSlateGrey", "DarkTurquoise", "DarkViolet", "DeepPink", "DeepSkyBlue", - "DimGray", "DimGrey", "DodgerBlue", "FireBrick", "FloralWhite", "ForestGreen", - "Fuchsia", "Gainsboro", "GhostWhite", "Gold", "GoldenRod", "Gray", "Grey", - "Green", "GreenYellow", "HoneyDew", "HotPink", "IndianRed", "Indigo", "Ivory", - "Khaki", "Lavender", "LavenderBlush", "LawnGreen", "LemonChiffon", - "LightBlue", "LightCoral", "LightCyan", "LightGoldenRodYellow", "LightGray", - "LightGrey", "LightGreen", "LightPink", "LightSalmon", "LightSeaGreen", - "LightSkyBlue", "LightSlateGray", "LightSlateGrey", "LightSteelBlue", - "LightYellow", "Lime", "LimeGreen", "Linen", "Magenta", "Maroon", - "MediumAquaMarine", "MediumBlue", "MediumOrchid", "MediumPurple", - "MediumSeaGreen", "MediumSlateBlue", "MediumSpringGreen", "MediumTurquoise", - "MediumVioletRed", "MidnightBlue", "MintCream", "MistyRose", "Moccasin", - "NavajoWhite", "Navy", "OldLace", "Olive", "OliveDrab", "Orange", "OrangeRed", - "Orchid", "PaleGoldenRod", "PaleGreen", "PaleTurquoise", "PaleVioletRed", - "PapayaWhip", "PeachPuff", "Peru", "Pink", "Plum", "PowderBlue", "Purple", - "Red", "RosyBrown", "RoyalBlue", "SaddleBrown", "Salmon", "SandyBrown", - "SeaGreen", "SeaShell", "Sienna", "Silver", "SkyBlue", "SlateBlue", - "SlateGray", "SlateGrey", "Snow", "SpringGreen", "SteelBlue", "Tan", "Teal", - "Thistle", "Tomato", "Turquoise", "Violet", "Wheat", "White", "WhiteSmoke", - "Yellow", "YellowGreen" - ]; + super(complex_msg); + this.name = 'JssmError'; + this.message = complex_msg; + this.base_message = message; + this.requested_state = requested_state; + } + } - var constants = /*#__PURE__*/Object.freeze({ - __proto__: null, - NegInfinity: NegInfinity, - PosInfinity: PosInfinity, - Epsilon: Epsilon, - Pi: Pi, - E: E, - Root2: Root2, - RootHalf: RootHalf, - Ln2: Ln2, - Ln10: Ln10, - Log2E: Log2E, - Log10E: Log10E, - MaxSafeInt: MaxSafeInt, - MinSafeInt: MinSafeInt, - MaxPosNum: MaxPosNum, - MinPosNum: MinPosNum, - Phi: Phi, - EulerC: EulerC, - gviz_shapes: gviz_shapes$1, - shapes: shapes$1, - named_colors: named_colors$1 - }); + /* eslint-disable complexity */ + /********* + * + * Return the direction of an arrow - `right`, `left`, or `both`. + * + * ```typescript + * import { arrow_direction } from 'jssm'; + * + * arrow_direction('->'); // 'right' + * arrow_direction('<~=>'); // 'both' + * ``` + * + * @param arrow The arrow to be evaluated + * + */ + function arrow_direction(arrow) { + switch (String(arrow)) { + case '->': + case '→': + case '=>': + case '⇒': + case '~>': + case '↛': + return 'right'; + case '<-': + case '←': + case '<=': + case '⇐': + case '<~': + case '↚': + return 'left'; + case '<->': + case '↔': + case '<-=>': + case '←⇒': + case '←=>': + case '<-⇒': + case '<-~>': + case '←↛': + case '←~>': + case '<-↛': + case '<=>': + case '⇔': + case '<=->': + case '⇐→': + case '⇐->': + case '<=→': + case '<=~>': + case '⇐↛': + case '⇐~>': + case '<=↛': + case '<~>': + case '↮': + case '<~->': + case '↚→': + case '↚->': + case '<~→': + case '<~=>': + case '↚⇒': + case '↚=>': + case '<~⇒': + return 'both'; + default: + throw new JssmError(undefined, `arrow_direction: unknown arrow type ${arrow}`); + } + } + /* eslint-enable complexity */ + /* eslint-disable complexity */ + /********* + * + * Return the direction of an arrow - `right`, `left`, or `both`. + * + * ```typescript + * import { arrow_left_kind } from 'jssm'; + * + * arrow_left_kind('<-'); // 'legal' + * arrow_left_kind('<='); // 'main' + * arrow_left_kind('<~'); // 'forced' + * arrow_left_kind('<->'); // 'legal' + * arrow_left_kind('->'); // 'none' + * ``` + * + * @param arrow The arrow to be evaluated + * + */ + function arrow_left_kind(arrow) { + switch (String(arrow)) { + case '->': + case '→': + case '=>': + case '⇒': + case '~>': + case '↛': + return 'none'; + case '<-': + case '←': + case '<->': + case '↔': + case '<-=>': + case '←⇒': + case '<-~>': + case '←↛': + return 'legal'; + case '<=': + case '⇐': + case '<=>': + case '⇔': + case '<=->': + case '⇐→': + case '<=~>': + case '⇐↛': + return 'main'; + case '<~': + case '↚': + case '<~>': + case '↮': + case '<~->': + case '↚→': + case '<~=>': + case '↚⇒': + return 'forced'; + default: + throw new JssmError(undefined, `arrow_direction: unknown arrow type ${arrow}`); + } + } + /* eslint-enable complexity */ + /* eslint-disable complexity */ + /********* + * + * Return the direction of an arrow - `right`, `left`, or `both`. + * + * ```typescript + * import { arrow_left_kind } from 'jssm'; + * + * arrow_left_kind('->'); // 'legal' + * arrow_left_kind('=>'); // 'main' + * arrow_left_kind('~>'); // 'forced' + * arrow_left_kind('<->'); // 'legal' + * arrow_left_kind('<-'); // 'none' + * ``` + * + * @param arrow The arrow to be evaluated + * + */ + function arrow_right_kind(arrow) { + switch (String(arrow)) { + case '<-': + case '←': + case '<=': + case '⇐': + case '<~': + case '↚': + return 'none'; + case '->': + case '→': + case '<->': + case '↔': + case '<=->': + case '⇐→': + case '<~->': + case '↚→': + return 'legal'; + case '=>': + case '⇒': + case '<=>': + case '⇔': + case '<-=>': + case '←⇒': + case '<~=>': + case '↚⇒': + return 'main'; + case '~>': + case '↛': + case '<~>': + case '↮': + case '<-~>': + case '←↛': + case '<=~>': + case '⇐↛': + return 'forced'; + default: + throw new JssmError(undefined, `arrow_direction: unknown arrow type ${arrow}`); + } + } - /* - * Generated by PEG.js 0.10.0. - * - * http://pegjs.org/ - */ - function peg$subclass(child, parent) { - function ctor() { this.constructor = child; } - ctor.prototype = parent.prototype; - child.prototype = new ctor(); - } - function peg$SyntaxError(message, expected, found, location) { - this.message = message; - this.expected = expected; - this.found = found; - this.location = location; - this.name = "SyntaxError"; - if (typeof Error.captureStackTrace === "function") { - Error.captureStackTrace(this, peg$SyntaxError); - } - } - peg$subclass(peg$SyntaxError, Error); - peg$SyntaxError.buildMessage = function (expected, found) { - var DESCRIBE_EXPECTATION_FNS = { - literal: function (expectation) { - return "\"" + literalEscape(expectation.text) + "\""; - }, - "class": function (expectation) { - var escapedParts = "", i; - for (i = 0; i < expectation.parts.length; i++) { - escapedParts += expectation.parts[i] instanceof Array - ? classEscape(expectation.parts[i][0]) + "-" + classEscape(expectation.parts[i][1]) - : classEscape(expectation.parts[i]); - } - return "[" + (expectation.inverted ? "^" : "") + escapedParts + "]"; - }, - any: function (expectation) { - return "any character"; - }, - end: function (expectation) { - return "end of input"; - }, - other: function (expectation) { - return expectation.description; - } - }; - function hex(ch) { - return ch.charCodeAt(0).toString(16).toUpperCase(); - } - function literalEscape(s) { - return s - .replace(/\\/g, '\\\\') - .replace(/"/g, '\\"') - .replace(/\0/g, '\\0') - .replace(/\t/g, '\\t') - .replace(/\n/g, '\\n') - .replace(/\r/g, '\\r') - .replace(/[\x00-\x0F]/g, function (ch) { return '\\x0' + hex(ch); }) - .replace(/[\x10-\x1F\x7F-\x9F]/g, function (ch) { return '\\x' + hex(ch); }); - } - function classEscape(s) { - return s - .replace(/\\/g, '\\\\') - .replace(/\]/g, '\\]') - .replace(/\^/g, '\\^') - .replace(/-/g, '\\-') - .replace(/\0/g, '\\0') - .replace(/\t/g, '\\t') - .replace(/\n/g, '\\n') - .replace(/\r/g, '\\r') - .replace(/[\x00-\x0F]/g, function (ch) { return '\\x0' + hex(ch); }) - .replace(/[\x10-\x1F\x7F-\x9F]/g, function (ch) { return '\\x' + hex(ch); }); - } - function describeExpectation(expectation) { - return DESCRIBE_EXPECTATION_FNS[expectation.type](expectation); - } - function describeExpected(expected) { - var descriptions = new Array(expected.length), i, j; - for (i = 0; i < expected.length; i++) { - descriptions[i] = describeExpectation(expected[i]); - } - descriptions.sort(); - if (descriptions.length > 0) { - for (i = 1, j = 1; i < descriptions.length; i++) { - if (descriptions[i - 1] !== descriptions[i]) { - descriptions[j] = descriptions[i]; - j++; - } - } - descriptions.length = j; - } - switch (descriptions.length) { - case 1: - return descriptions[0]; - case 2: - return descriptions[0] + " or " + descriptions[1]; - default: - return descriptions.slice(0, -1).join(", ") - + ", or " - + descriptions[descriptions.length - 1]; - } - } - function describeFound(found) { - return found ? "\"" + literalEscape(found) + "\"" : "end of input"; - } - return "Expected " + describeExpected(expected) + " but " + describeFound(found) + " found."; - }; - function peg$parse(input, options) { - options = options !== void 0 ? options : {}; - var peg$FAILED = {}, peg$startRuleFunctions = { Document: peg$parseDocument }, peg$startRuleFunction = peg$parseDocument, peg$c0 = function (e) { return e; }, peg$c1 = "none", peg$c2 = peg$literalExpectation("none", false), peg$c3 = "default", peg$c4 = peg$literalExpectation("default", false), peg$c5 = "modern", peg$c6 = peg$literalExpectation("modern", false), peg$c7 = "ocean", peg$c8 = peg$literalExpectation("ocean", false), peg$c9 = "bold", peg$c10 = peg$literalExpectation("bold", false), peg$c11 = "[", peg$c12 = peg$literalExpectation("[", false), peg$c13 = "]", peg$c14 = peg$literalExpectation("]", false), peg$c15 = function (ths, th) { const themes = ths.map(t => t[0]); themes.push(th); return themes; }, peg$c16 = function (th) { return [th]; }, peg$c17 = "box3d", peg$c18 = peg$literalExpectation("box3d", false), peg$c19 = "polygon", peg$c20 = peg$literalExpectation("polygon", false), peg$c21 = "ellipse", peg$c22 = peg$literalExpectation("ellipse", false), peg$c23 = "oval", peg$c24 = peg$literalExpectation("oval", false), peg$c25 = "circle", peg$c26 = peg$literalExpectation("circle", false), peg$c27 = "point", peg$c28 = peg$literalExpectation("point", false), peg$c29 = "egg", peg$c30 = peg$literalExpectation("egg", false), peg$c31 = "triangle", peg$c32 = peg$literalExpectation("triangle", false), peg$c33 = "plaintext", peg$c34 = peg$literalExpectation("plaintext", false), peg$c35 = "plain", peg$c36 = peg$literalExpectation("plain", false), peg$c37 = "diamond", peg$c38 = peg$literalExpectation("diamond", false), peg$c39 = "trapezium", peg$c40 = peg$literalExpectation("trapezium", false), peg$c41 = "parallelogram", peg$c42 = peg$literalExpectation("parallelogram", false), peg$c43 = "house", peg$c44 = peg$literalExpectation("house", false), peg$c45 = "pentagon", peg$c46 = peg$literalExpectation("pentagon", false), peg$c47 = "hexagon", peg$c48 = peg$literalExpectation("hexagon", false), peg$c49 = "septagon", peg$c50 = peg$literalExpectation("septagon", false), peg$c51 = "octagon", peg$c52 = peg$literalExpectation("octagon", false), peg$c53 = "doublecircle", peg$c54 = peg$literalExpectation("doublecircle", false), peg$c55 = "doubleoctagon", peg$c56 = peg$literalExpectation("doubleoctagon", false), peg$c57 = "tripleoctagon", peg$c58 = peg$literalExpectation("tripleoctagon", false), peg$c59 = "invtriangle", peg$c60 = peg$literalExpectation("invtriangle", false), peg$c61 = "invtrapezium", peg$c62 = peg$literalExpectation("invtrapezium", false), peg$c63 = "invhouse", peg$c64 = peg$literalExpectation("invhouse", false), peg$c65 = "Mdiamond", peg$c66 = peg$literalExpectation("Mdiamond", false), peg$c67 = "Msquare", peg$c68 = peg$literalExpectation("Msquare", false), peg$c69 = "Mcircle", peg$c70 = peg$literalExpectation("Mcircle", false), peg$c71 = "rectangle", peg$c72 = peg$literalExpectation("rectangle", false), peg$c73 = "rect", peg$c74 = peg$literalExpectation("rect", false), peg$c75 = "square", peg$c76 = peg$literalExpectation("square", false), peg$c77 = "star", peg$c78 = peg$literalExpectation("star", false), peg$c79 = "underline", peg$c80 = peg$literalExpectation("underline", false), peg$c81 = "cylinder", peg$c82 = peg$literalExpectation("cylinder", false), peg$c83 = "note", peg$c84 = peg$literalExpectation("note", false), peg$c85 = "tab", peg$c86 = peg$literalExpectation("tab", false), peg$c87 = "folder", peg$c88 = peg$literalExpectation("folder", false), peg$c89 = "box", peg$c90 = peg$literalExpectation("box", false), peg$c91 = "component", peg$c92 = peg$literalExpectation("component", false), peg$c93 = "promoter", peg$c94 = peg$literalExpectation("promoter", false), peg$c95 = "cds", peg$c96 = peg$literalExpectation("cds", false), peg$c97 = "terminator", peg$c98 = peg$literalExpectation("terminator", false), peg$c99 = "utr", peg$c100 = peg$literalExpectation("utr", false), peg$c101 = "primersite", peg$c102 = peg$literalExpectation("primersite", false), peg$c103 = "restrictionsite", peg$c104 = peg$literalExpectation("restrictionsite", false), peg$c105 = "fivepoverhang", peg$c106 = peg$literalExpectation("fivepoverhang", false), peg$c107 = "threepoverhang", peg$c108 = peg$literalExpectation("threepoverhang", false), peg$c109 = "noverhang", peg$c110 = peg$literalExpectation("noverhang", false), peg$c111 = "assembly", peg$c112 = peg$literalExpectation("assembly", false), peg$c113 = "signature", peg$c114 = peg$literalExpectation("signature", false), peg$c115 = "insulator", peg$c116 = peg$literalExpectation("insulator", false), peg$c117 = "ribosite", peg$c118 = peg$literalExpectation("ribosite", false), peg$c119 = "rnastab", peg$c120 = peg$literalExpectation("rnastab", false), peg$c121 = "proteasesite", peg$c122 = peg$literalExpectation("proteasesite", false), peg$c123 = "proteinstab", peg$c124 = peg$literalExpectation("proteinstab", false), peg$c125 = "rpromoter", peg$c126 = peg$literalExpectation("rpromoter", false), peg$c127 = "rarrow", peg$c128 = peg$literalExpectation("rarrow", false), peg$c129 = "larrow", peg$c130 = peg$literalExpectation("larrow", false), peg$c131 = "lpromoter", peg$c132 = peg$literalExpectation("lpromoter", false), peg$c133 = "record", peg$c134 = peg$literalExpectation("record", false), peg$c135 = peg$otherExpectation("forward light arrow ->"), peg$c136 = "->", peg$c137 = peg$literalExpectation("->", false), peg$c138 = "\u2192", peg$c139 = peg$literalExpectation("\u2192", false), peg$c140 = function () { return "->"; }, peg$c141 = peg$otherExpectation("two way light arrow <->"), peg$c142 = "<->", peg$c143 = peg$literalExpectation("<->", false), peg$c144 = "\u2194", peg$c145 = peg$literalExpectation("\u2194", false), peg$c146 = function () { return "<->"; }, peg$c147 = peg$otherExpectation("back light arrow <-"), peg$c148 = "<-", peg$c149 = peg$literalExpectation("<-", false), peg$c150 = "\u2190", peg$c151 = peg$literalExpectation("\u2190", false), peg$c152 = function () { return "<-"; }, peg$c153 = peg$otherExpectation("forward fat arrow =>"), peg$c154 = "=>", peg$c155 = peg$literalExpectation("=>", false), peg$c156 = "\u21D2", peg$c157 = peg$literalExpectation("\u21D2", false), peg$c158 = function () { return "=>"; }, peg$c159 = peg$otherExpectation("two way fat arrow <=>"), peg$c160 = "<=>", peg$c161 = peg$literalExpectation("<=>", false), peg$c162 = "\u21D4", peg$c163 = peg$literalExpectation("\u21D4", false), peg$c164 = function () { return "<=>"; }, peg$c165 = peg$otherExpectation("back fat arrow <="), peg$c166 = "<=", peg$c167 = peg$literalExpectation("<=", false), peg$c168 = "\u21D0", peg$c169 = peg$literalExpectation("\u21D0", false), peg$c170 = function () { return "<="; }, peg$c171 = peg$otherExpectation("forward tilde arrow ~>"), peg$c172 = "~>", peg$c173 = peg$literalExpectation("~>", false), peg$c174 = "\u219B", peg$c175 = peg$literalExpectation("\u219B", false), peg$c176 = function () { return "~>"; }, peg$c177 = peg$otherExpectation("two way tilde arrow <~>"), peg$c178 = "<~>", peg$c179 = peg$literalExpectation("<~>", false), peg$c180 = "\u21AE", peg$c181 = peg$literalExpectation("\u21AE", false), peg$c182 = function () { return "<~>"; }, peg$c183 = peg$otherExpectation("back tilde arrow <~"), peg$c184 = "<~", peg$c185 = peg$literalExpectation("<~", false), peg$c186 = "\u219A", peg$c187 = peg$literalExpectation("\u219A", false), peg$c188 = function () { return "<~"; }, peg$c189 = peg$otherExpectation("light fat arrow <-=>"), peg$c190 = "<-=>", peg$c191 = peg$literalExpectation("<-=>", false), peg$c192 = "\u2190\u21D2", peg$c193 = peg$literalExpectation("\u2190\u21D2", false), peg$c194 = function () { return "<-=>"; }, peg$c195 = peg$otherExpectation("light tilde arrow <-~>"), peg$c196 = "<-~>", peg$c197 = peg$literalExpectation("<-~>", false), peg$c198 = "\u2190\u219B", peg$c199 = peg$literalExpectation("\u2190\u219B", false), peg$c200 = function () { return "<-~>"; }, peg$c201 = peg$otherExpectation("fat light arrow <=->"), peg$c202 = "<=->", peg$c203 = peg$literalExpectation("<=->", false), peg$c204 = "\u21D0\u2192", peg$c205 = peg$literalExpectation("\u21D0\u2192", false), peg$c206 = function () { return "<=->"; }, peg$c207 = peg$otherExpectation("fat tilde arrow <=~>"), peg$c208 = "<=~>", peg$c209 = peg$literalExpectation("<=~>", false), peg$c210 = "\u21D0\u219B", peg$c211 = peg$literalExpectation("\u21D0\u219B", false), peg$c212 = function () { return "<=~>"; }, peg$c213 = peg$otherExpectation("tilde light arrow <~->"), peg$c214 = "<~->", peg$c215 = peg$literalExpectation("<~->", false), peg$c216 = "\u219A\u2192", peg$c217 = peg$literalExpectation("\u219A\u2192", false), peg$c218 = function () { return "<~->"; }, peg$c219 = peg$otherExpectation("tilde fat arrow <~=>"), peg$c220 = "<~=>", peg$c221 = peg$literalExpectation("<~=>", false), peg$c222 = "\u219A\u21D2", peg$c223 = peg$literalExpectation("\u219A\u21D2", false), peg$c224 = function () { return "<~=>"; }, peg$c225 = peg$otherExpectation("light arrow"), peg$c226 = peg$otherExpectation("fat arrow"), peg$c227 = peg$otherExpectation("tilde arrow"), peg$c228 = peg$otherExpectation("mixed arrow"), peg$c229 = peg$otherExpectation("arrow"), peg$c230 = "true", peg$c231 = peg$literalExpectation("true", false), peg$c232 = function () { return true; }, peg$c233 = "false", peg$c234 = peg$literalExpectation("false", false), peg$c235 = function () { return false; }, peg$c236 = "regular", peg$c237 = peg$literalExpectation("regular", false), peg$c238 = "rounded", peg$c239 = peg$literalExpectation("rounded", false), peg$c240 = "lined", peg$c241 = peg$literalExpectation("lined", false), peg$c242 = "solid", peg$c243 = peg$literalExpectation("solid", false), peg$c244 = "dotted", peg$c245 = peg$literalExpectation("dotted", false), peg$c246 = "dashed", peg$c247 = peg$literalExpectation("dashed", false), peg$c248 = "\"", peg$c249 = peg$literalExpectation("\"", false), peg$c250 = "\\", peg$c251 = peg$literalExpectation("\\", false), peg$c252 = "/", peg$c253 = peg$literalExpectation("/", false), peg$c254 = "b", peg$c255 = peg$literalExpectation("b", false), peg$c256 = function () { return "\b"; }, peg$c257 = "f", peg$c258 = peg$literalExpectation("f", false), peg$c259 = function () { return "\f"; }, peg$c260 = "n", peg$c261 = peg$literalExpectation("n", false), peg$c262 = function () { return "\n"; }, peg$c263 = "r", peg$c264 = peg$literalExpectation("r", false), peg$c265 = function () { return "\r"; }, peg$c266 = "t", peg$c267 = peg$literalExpectation("t", false), peg$c268 = function () { return "\t"; }, peg$c269 = "v", peg$c270 = peg$literalExpectation("v", false), peg$c271 = function () { return "\v"; }, peg$c272 = "u", peg$c273 = peg$literalExpectation("u", false), peg$c274 = function (digits) { - return String.fromCharCode(parseInt(digits, 16)); - }, peg$c275 = function (Sequence) { return Sequence; }, peg$c276 = "null", peg$c277 = peg$literalExpectation("null", false), peg$c278 = function () { return null; }, peg$c279 = "undefined", peg$c280 = peg$literalExpectation("undefined", false), peg$c281 = function () { return undefined; }, peg$c282 = /^[\0-!#-[\]-\uFFFF]/, peg$c283 = peg$classExpectation([["\0", "!"], ["#", "["], ["]", "\uFFFF"]], false, false), peg$c284 = "'", peg$c285 = peg$literalExpectation("'", false), peg$c286 = /^[ -&(-[\]-\uFFFF]/, peg$c287 = peg$classExpectation([[" ", "&"], ["(", "["], ["]", "\uFFFF"]], false, false), peg$c288 = peg$otherExpectation("action label"), peg$c289 = function (chars) { return chars.join(""); }, peg$c290 = /^[\n\r\u2028\u2029]/, peg$c291 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029"], false, false), peg$c294 = "*/", peg$c295 = peg$literalExpectation("*/", false), peg$c296 = peg$anyExpectation(), peg$c297 = peg$otherExpectation("block comment"), peg$c298 = "/*", peg$c299 = peg$literalExpectation("/*", false), peg$c300 = peg$otherExpectation("line comment"), peg$c301 = "//", peg$c302 = peg$literalExpectation("//", false), peg$c303 = peg$otherExpectation("whitespace"), peg$c304 = /^[ \t\r\n\x0B]/, peg$c305 = peg$classExpectation([" ", "\t", "\r", "\n", "\x0B"], false, false), peg$c306 = peg$otherExpectation("string"), peg$c307 = /^[0-9a-zA-Z._!$\^*!?,\x80-\uFFFF]/, peg$c308 = peg$classExpectation([["0", "9"], ["a", "z"], ["A", "Z"], ".", "_", "!", "$", "^", "*", "!", "?", ",", ["\x80", "\uFFFF"]], false, false), peg$c309 = /^[0-9a-zA-Z.+_\^()*&$#@!?,\x80-\uFFFF]/, peg$c310 = peg$classExpectation([["0", "9"], ["a", "z"], ["A", "Z"], ".", "+", "_", "^", "(", ")", "*", "&", "$", "#", "@", "!", "?", ",", ["\x80", "\uFFFF"]], false, false), peg$c311 = peg$otherExpectation("atom"), peg$c312 = function (firstletter, text) { - return firstletter + ((text || []).join('')); - }, peg$c313 = peg$otherExpectation("label"), peg$c314 = "0", peg$c315 = peg$literalExpectation("0", false), peg$c316 = /^[0-9]/, peg$c317 = peg$classExpectation([["0", "9"]], false, false), peg$c318 = /^[1-9]/, peg$c319 = peg$classExpectation([["1", "9"]], false, false), peg$c320 = /^[0-9a-f]/i, peg$c321 = peg$classExpectation([["0", "9"], ["a", "f"]], false, true), peg$c322 = /^[0-1]/, peg$c323 = peg$classExpectation([["0", "1"]], false, false), peg$c324 = peg$otherExpectation("nonneg number"), peg$c325 = ".", peg$c326 = peg$literalExpectation(".", false), peg$c327 = function () { return parseFloat(text()); }, peg$c328 = peg$otherExpectation("number"), peg$c329 = function (literal) { return literal; }, peg$c330 = "NaN", peg$c331 = peg$literalExpectation("NaN", false), peg$c332 = function () { return NaN; }, peg$c333 = "NegativeInfinity", peg$c334 = peg$literalExpectation("NegativeInfinity", false), peg$c335 = function () { return Number.NEGATIVE_INFINITY; }, peg$c336 = "NegativeInf", peg$c337 = peg$literalExpectation("NegativeInf", false), peg$c338 = "NegInfinity", peg$c339 = peg$literalExpectation("NegInfinity", false), peg$c340 = "NegInf", peg$c341 = peg$literalExpectation("NegInf", false), peg$c342 = "NInfinity", peg$c343 = peg$literalExpectation("NInfinity", false), peg$c344 = "NInf", peg$c345 = peg$literalExpectation("NInf", false), peg$c346 = "-\u221E", peg$c347 = peg$literalExpectation("-\u221E", false), peg$c348 = "PInfinity", peg$c349 = peg$literalExpectation("PInfinity", false), peg$c350 = function () { return Number.POSITIVE_INFINITY; }, peg$c351 = "Infinity", peg$c352 = peg$literalExpectation("Infinity", false), peg$c353 = "PInf", peg$c354 = peg$literalExpectation("PInf", false), peg$c355 = "Inf", peg$c356 = peg$literalExpectation("Inf", false), peg$c357 = "\u221E", peg$c358 = peg$literalExpectation("\u221E", false), peg$c359 = "Epsilon", peg$c360 = peg$literalExpectation("Epsilon", false), peg$c361 = function () { return Number.EPSILON; }, peg$c362 = "\uD835\uDF00", peg$c363 = peg$literalExpectation("\uD835\uDF00", false), peg$c364 = "\u03B5", peg$c365 = peg$literalExpectation("\u03B5", false), peg$c366 = "Pi", peg$c367 = peg$literalExpectation("Pi", false), peg$c368 = function () { return Math.PI; }, peg$c369 = "\uD835\uDF0B", peg$c370 = peg$literalExpectation("\uD835\uDF0B", false), peg$c371 = "\u03C0", peg$c372 = peg$literalExpectation("\u03C0", false), peg$c373 = "EulerNumber", peg$c374 = peg$literalExpectation("EulerNumber", false), peg$c375 = function () { return Math.E; }, peg$c376 = "E", peg$c377 = peg$literalExpectation("E", false), peg$c378 = "e", peg$c379 = peg$literalExpectation("e", false), peg$c380 = "\u0190", peg$c381 = peg$literalExpectation("\u0190", false), peg$c382 = "\u2107", peg$c383 = peg$literalExpectation("\u2107", false), peg$c384 = "Root2", peg$c385 = peg$literalExpectation("Root2", false), peg$c386 = function () { return Math.SQRT2; }, peg$c387 = "RootHalf", peg$c388 = peg$literalExpectation("RootHalf", false), peg$c389 = function () { return Math.SQRT1_2; }, peg$c390 = "Ln2", peg$c391 = peg$literalExpectation("Ln2", false), peg$c392 = function () { return Math.LN2; }, peg$c393 = "NatLog2", peg$c394 = peg$literalExpectation("NatLog2", false), peg$c395 = "Ln10", peg$c396 = peg$literalExpectation("Ln10", false), peg$c397 = function () { return Math.LN10; }, peg$c398 = "NatLog10", peg$c399 = peg$literalExpectation("NatLog10", false), peg$c400 = "Log2E", peg$c401 = peg$literalExpectation("Log2E", false), peg$c402 = function () { return Math.LOG2E; }, peg$c403 = "Log10E", peg$c404 = peg$literalExpectation("Log10E", false), peg$c405 = function () { return Math.LOG10E; }, peg$c406 = "MaxSafeInt", peg$c407 = peg$literalExpectation("MaxSafeInt", false), peg$c408 = function () { return Number.MAX_SAFE_INTEGER; }, peg$c409 = "MinSafeInt", peg$c410 = peg$literalExpectation("MinSafeInt", false), peg$c411 = function () { return Number.MIN_SAFE_INTEGER; }, peg$c412 = "MaxPosNum", peg$c413 = peg$literalExpectation("MaxPosNum", false), peg$c414 = function () { return Number.MAX_VALUE; }, peg$c415 = "MinPosNum", peg$c416 = peg$literalExpectation("MinPosNum", false), peg$c417 = function () { return Number.MIN_VALUE; }, peg$c418 = "Phi", peg$c419 = peg$literalExpectation("Phi", false), peg$c420 = function () { return 1.61803398874989484820; }, peg$c421 = "\uD835\uDF11", peg$c422 = peg$literalExpectation("\uD835\uDF11", false), peg$c423 = "\uD835\uDF19", peg$c424 = peg$literalExpectation("\uD835\uDF19", false), peg$c425 = "\u03D5", peg$c426 = peg$literalExpectation("\u03D5", false), peg$c427 = "\u03C6", peg$c428 = peg$literalExpectation("\u03C6", false), peg$c429 = "EulerConstant", peg$c430 = peg$literalExpectation("EulerConstant", false), peg$c431 = function () { return 0.57721566490153286060; }, peg$c432 = "\u03B3", peg$c433 = peg$literalExpectation("\u03B3", false), peg$c434 = "\uD835\uDEFE", peg$c435 = peg$literalExpectation("\uD835\uDEFE", false), peg$c436 = peg$literalExpectation("e", true), peg$c437 = /^[+\-]/, peg$c438 = peg$classExpectation(["+", "-"], false, false), peg$c439 = "0x", peg$c440 = peg$literalExpectation("0x", true), peg$c441 = function (digits) { - return parseInt(digits, 16); - }, peg$c442 = "0b", peg$c443 = peg$literalExpectation("0b", true), peg$c444 = function (digits) { - return parseInt(digits, 2); - }, peg$c445 = "0o", peg$c446 = peg$literalExpectation("0o", true), peg$c447 = function (digits) { - return parseInt(digits, 8); - }, peg$c448 = function (major, minor, patch) { - return { - major: parseInt(major, 10), - minor: parseInt(minor, 10), - patch: parseInt(patch, 10), - full: text() - }; - }, peg$c459 = "http://", peg$c460 = peg$literalExpectation("http://", false), peg$c461 = "https://", peg$c462 = peg$literalExpectation("https://", false), peg$c463 = /^[a-zA-Z0-9!*'():;@&=+$,\/?#[\]_.~\-]/, peg$c464 = peg$classExpectation([["a", "z"], ["A", "Z"], ["0", "9"], "!", "*", "'", "(", ")", ":", ";", "@", "&", "=", "+", "$", ",", "/", "?", "#", "[", "]", "_", ".", "~", "-"], false, false), peg$c465 = function (protocol) { return text(); }, peg$c466 = "aliceblue", peg$c467 = peg$literalExpectation("aliceblue", false), peg$c468 = function () { return '#f0f8ffff'; }, peg$c469 = "AliceBlue", peg$c470 = peg$literalExpectation("AliceBlue", false), peg$c471 = "antiquewhite", peg$c472 = peg$literalExpectation("antiquewhite", false), peg$c473 = function () { return '#faebd7ff'; }, peg$c474 = "AntiqueWhite", peg$c475 = peg$literalExpectation("AntiqueWhite", false), peg$c476 = "aquamarine", peg$c477 = peg$literalExpectation("aquamarine", false), peg$c478 = function () { return '#7fffd4ff'; }, peg$c479 = "Aquamarine", peg$c480 = peg$literalExpectation("Aquamarine", false), peg$c481 = "aqua", peg$c482 = peg$literalExpectation("aqua", false), peg$c483 = function () { return '#00ffffff'; }, peg$c484 = "Aqua", peg$c485 = peg$literalExpectation("Aqua", false), peg$c486 = "azure", peg$c487 = peg$literalExpectation("azure", false), peg$c488 = function () { return '#f0ffffff'; }, peg$c489 = "Azure", peg$c490 = peg$literalExpectation("Azure", false), peg$c491 = "beige", peg$c492 = peg$literalExpectation("beige", false), peg$c493 = function () { return '#f5f5dcff'; }, peg$c494 = "Beige", peg$c495 = peg$literalExpectation("Beige", false), peg$c496 = "bisque", peg$c497 = peg$literalExpectation("bisque", false), peg$c498 = function () { return '#ffe4c4ff'; }, peg$c499 = "Bisque", peg$c500 = peg$literalExpectation("Bisque", false), peg$c501 = "black", peg$c502 = peg$literalExpectation("black", false), peg$c503 = function () { return '#000000ff'; }, peg$c504 = "Black", peg$c505 = peg$literalExpectation("Black", false), peg$c506 = "blanchedalmond", peg$c507 = peg$literalExpectation("blanchedalmond", false), peg$c508 = function () { return '#ffebcdff'; }, peg$c509 = "BlanchedAlmond", peg$c510 = peg$literalExpectation("BlanchedAlmond", false), peg$c511 = "blueviolet", peg$c512 = peg$literalExpectation("blueviolet", false), peg$c513 = function () { return '#8a2be2ff'; }, peg$c514 = "BlueViolet", peg$c515 = peg$literalExpectation("BlueViolet", false), peg$c516 = "blue", peg$c517 = peg$literalExpectation("blue", false), peg$c518 = function () { return '#0000ffff'; }, peg$c519 = "Blue", peg$c520 = peg$literalExpectation("Blue", false), peg$c521 = "brown", peg$c522 = peg$literalExpectation("brown", false), peg$c523 = function () { return '#a52a2aff'; }, peg$c524 = "Brown", peg$c525 = peg$literalExpectation("Brown", false), peg$c526 = "burlywood", peg$c527 = peg$literalExpectation("burlywood", false), peg$c528 = function () { return '#deb887ff'; }, peg$c529 = "BurlyWood", peg$c530 = peg$literalExpectation("BurlyWood", false), peg$c531 = "cadetblue", peg$c532 = peg$literalExpectation("cadetblue", false), peg$c533 = function () { return '#5f9ea0ff'; }, peg$c534 = "CadetBlue", peg$c535 = peg$literalExpectation("CadetBlue", false), peg$c536 = "chartreuse", peg$c537 = peg$literalExpectation("chartreuse", false), peg$c538 = function () { return '#7fff00ff'; }, peg$c539 = "Chartreuse", peg$c540 = peg$literalExpectation("Chartreuse", false), peg$c541 = "chocolate", peg$c542 = peg$literalExpectation("chocolate", false), peg$c543 = function () { return '#d2691eff'; }, peg$c544 = "Chocolate", peg$c545 = peg$literalExpectation("Chocolate", false), peg$c546 = "coral", peg$c547 = peg$literalExpectation("coral", false), peg$c548 = function () { return '#ff7f50ff'; }, peg$c549 = "Coral", peg$c550 = peg$literalExpectation("Coral", false), peg$c551 = "cornflowerblue", peg$c552 = peg$literalExpectation("cornflowerblue", false), peg$c553 = function () { return '#6495edff'; }, peg$c554 = "CornflowerBlue", peg$c555 = peg$literalExpectation("CornflowerBlue", false), peg$c556 = "cornsilk", peg$c557 = peg$literalExpectation("cornsilk", false), peg$c558 = function () { return '#fff8dcff'; }, peg$c559 = "Cornsilk", peg$c560 = peg$literalExpectation("Cornsilk", false), peg$c561 = "crimson", peg$c562 = peg$literalExpectation("crimson", false), peg$c563 = function () { return '#dc143cff'; }, peg$c564 = "Crimson", peg$c565 = peg$literalExpectation("Crimson", false), peg$c566 = "cyan", peg$c567 = peg$literalExpectation("cyan", false), peg$c568 = "Cyan", peg$c569 = peg$literalExpectation("Cyan", false), peg$c570 = "darkblue", peg$c571 = peg$literalExpectation("darkblue", false), peg$c572 = function () { return '#00008bff'; }, peg$c573 = "DarkBlue", peg$c574 = peg$literalExpectation("DarkBlue", false), peg$c575 = "darkcyan", peg$c576 = peg$literalExpectation("darkcyan", false), peg$c577 = function () { return '#008b8bff'; }, peg$c578 = "DarkCyan", peg$c579 = peg$literalExpectation("DarkCyan", false), peg$c580 = "darkgoldenrod", peg$c581 = peg$literalExpectation("darkgoldenrod", false), peg$c582 = function () { return '#b8860bff'; }, peg$c583 = "DarkGoldenRod", peg$c584 = peg$literalExpectation("DarkGoldenRod", false), peg$c585 = "darkgray", peg$c586 = peg$literalExpectation("darkgray", false), peg$c587 = function () { return '#a9a9a9ff'; }, peg$c588 = "DarkGray", peg$c589 = peg$literalExpectation("DarkGray", false), peg$c590 = "darkgrey", peg$c591 = peg$literalExpectation("darkgrey", false), peg$c592 = "DarkGrey", peg$c593 = peg$literalExpectation("DarkGrey", false), peg$c594 = "darkgreen", peg$c595 = peg$literalExpectation("darkgreen", false), peg$c596 = function () { return '#006400ff'; }, peg$c597 = "DarkGreen", peg$c598 = peg$literalExpectation("DarkGreen", false), peg$c599 = "darkkhaki", peg$c600 = peg$literalExpectation("darkkhaki", false), peg$c601 = function () { return '#bdb76bff'; }, peg$c602 = "DarkKhaki", peg$c603 = peg$literalExpectation("DarkKhaki", false), peg$c604 = "darkmagenta", peg$c605 = peg$literalExpectation("darkmagenta", false), peg$c606 = function () { return '#8b008bff'; }, peg$c607 = "DarkMagenta", peg$c608 = peg$literalExpectation("DarkMagenta", false), peg$c609 = "darkolivegreen", peg$c610 = peg$literalExpectation("darkolivegreen", false), peg$c611 = function () { return '#556b2fff'; }, peg$c612 = "DarkOliveGreen", peg$c613 = peg$literalExpectation("DarkOliveGreen", false), peg$c614 = "darkorange", peg$c615 = peg$literalExpectation("darkorange", false), peg$c616 = function () { return '#ff8c00ff'; }, peg$c617 = "Darkorange", peg$c618 = peg$literalExpectation("Darkorange", false), peg$c619 = "darkorchid", peg$c620 = peg$literalExpectation("darkorchid", false), peg$c621 = function () { return '#9932ccff'; }, peg$c622 = "DarkOrchid", peg$c623 = peg$literalExpectation("DarkOrchid", false), peg$c624 = "darkred", peg$c625 = peg$literalExpectation("darkred", false), peg$c626 = function () { return '#8b0000ff'; }, peg$c627 = "DarkRed", peg$c628 = peg$literalExpectation("DarkRed", false), peg$c629 = "darksalmon", peg$c630 = peg$literalExpectation("darksalmon", false), peg$c631 = function () { return '#e9967aff'; }, peg$c632 = "DarkSalmon", peg$c633 = peg$literalExpectation("DarkSalmon", false), peg$c634 = "darkseagreen", peg$c635 = peg$literalExpectation("darkseagreen", false), peg$c636 = function () { return '#8fbc8fff'; }, peg$c637 = "DarkSeaGreen", peg$c638 = peg$literalExpectation("DarkSeaGreen", false), peg$c639 = "darkslateblue", peg$c640 = peg$literalExpectation("darkslateblue", false), peg$c641 = function () { return '#483d8bff'; }, peg$c642 = "DarkSlateBlue", peg$c643 = peg$literalExpectation("DarkSlateBlue", false), peg$c644 = "darkslategray", peg$c645 = peg$literalExpectation("darkslategray", false), peg$c646 = function () { return '#2f4f4fff'; }, peg$c647 = "DarkSlateGray", peg$c648 = peg$literalExpectation("DarkSlateGray", false), peg$c649 = "darkslategrey", peg$c650 = peg$literalExpectation("darkslategrey", false), peg$c651 = "DarkSlateGrey", peg$c652 = peg$literalExpectation("DarkSlateGrey", false), peg$c653 = "darkturquoise", peg$c654 = peg$literalExpectation("darkturquoise", false), peg$c655 = function () { return '#00ced1ff'; }, peg$c656 = "DarkTurquoise", peg$c657 = peg$literalExpectation("DarkTurquoise", false), peg$c658 = "darkviolet", peg$c659 = peg$literalExpectation("darkviolet", false), peg$c660 = function () { return '#9400d3ff'; }, peg$c661 = "DarkViolet", peg$c662 = peg$literalExpectation("DarkViolet", false), peg$c663 = "deeppink", peg$c664 = peg$literalExpectation("deeppink", false), peg$c665 = function () { return '#ff1493ff'; }, peg$c666 = "DeepPink", peg$c667 = peg$literalExpectation("DeepPink", false), peg$c668 = "deepskyblue", peg$c669 = peg$literalExpectation("deepskyblue", false), peg$c670 = function () { return '#00bfffff'; }, peg$c671 = "DeepSkyBlue", peg$c672 = peg$literalExpectation("DeepSkyBlue", false), peg$c673 = "dimgray", peg$c674 = peg$literalExpectation("dimgray", false), peg$c675 = function () { return '#696969ff'; }, peg$c676 = "DimGray", peg$c677 = peg$literalExpectation("DimGray", false), peg$c678 = "dimgrey", peg$c679 = peg$literalExpectation("dimgrey", false), peg$c680 = "DimGrey", peg$c681 = peg$literalExpectation("DimGrey", false), peg$c682 = "dodgerblue", peg$c683 = peg$literalExpectation("dodgerblue", false), peg$c684 = function () { return '#1e90ffff'; }, peg$c685 = "DodgerBlue", peg$c686 = peg$literalExpectation("DodgerBlue", false), peg$c687 = "firebrick", peg$c688 = peg$literalExpectation("firebrick", false), peg$c689 = function () { return '#b22222ff'; }, peg$c690 = "FireBrick", peg$c691 = peg$literalExpectation("FireBrick", false), peg$c692 = "floralwhite", peg$c693 = peg$literalExpectation("floralwhite", false), peg$c694 = function () { return '#fffaf0ff'; }, peg$c695 = "FloralWhite", peg$c696 = peg$literalExpectation("FloralWhite", false), peg$c697 = "forestgreen", peg$c698 = peg$literalExpectation("forestgreen", false), peg$c699 = function () { return '#228b22ff'; }, peg$c700 = "ForestGreen", peg$c701 = peg$literalExpectation("ForestGreen", false), peg$c702 = "fuchsia", peg$c703 = peg$literalExpectation("fuchsia", false), peg$c704 = function () { return '#ff00ffff'; }, peg$c705 = "Fuchsia", peg$c706 = peg$literalExpectation("Fuchsia", false), peg$c707 = "gainsboro", peg$c708 = peg$literalExpectation("gainsboro", false), peg$c709 = function () { return '#dcdcdcff'; }, peg$c710 = "Gainsboro", peg$c711 = peg$literalExpectation("Gainsboro", false), peg$c712 = "ghostwhite", peg$c713 = peg$literalExpectation("ghostwhite", false), peg$c714 = function () { return '#f8f8ffff'; }, peg$c715 = "GhostWhite", peg$c716 = peg$literalExpectation("GhostWhite", false), peg$c717 = "goldenrod", peg$c718 = peg$literalExpectation("goldenrod", false), peg$c719 = function () { return '#daa520ff'; }, peg$c720 = "GoldenRod", peg$c721 = peg$literalExpectation("GoldenRod", false), peg$c722 = "gold", peg$c723 = peg$literalExpectation("gold", false), peg$c724 = function () { return '#ffd700ff'; }, peg$c725 = "Gold", peg$c726 = peg$literalExpectation("Gold", false), peg$c727 = "gray", peg$c728 = peg$literalExpectation("gray", false), peg$c729 = function () { return '#808080ff'; }, peg$c730 = "Gray", peg$c731 = peg$literalExpectation("Gray", false), peg$c732 = "grey", peg$c733 = peg$literalExpectation("grey", false), peg$c734 = "Grey", peg$c735 = peg$literalExpectation("Grey", false), peg$c736 = "greenyellow", peg$c737 = peg$literalExpectation("greenyellow", false), peg$c738 = function () { return '#adff2fff'; }, peg$c739 = "GreenYellow", peg$c740 = peg$literalExpectation("GreenYellow", false), peg$c741 = "green", peg$c742 = peg$literalExpectation("green", false), peg$c743 = function () { return '#008000ff'; }, peg$c744 = "Green", peg$c745 = peg$literalExpectation("Green", false), peg$c746 = "honeydew", peg$c747 = peg$literalExpectation("honeydew", false), peg$c748 = function () { return '#f0fff0ff'; }, peg$c749 = "HoneyDew", peg$c750 = peg$literalExpectation("HoneyDew", false), peg$c751 = "hotpink", peg$c752 = peg$literalExpectation("hotpink", false), peg$c753 = function () { return '#ff69b4ff'; }, peg$c754 = "HotPink", peg$c755 = peg$literalExpectation("HotPink", false), peg$c756 = "indianred", peg$c757 = peg$literalExpectation("indianred", false), peg$c758 = function () { return '#cd5c5cff'; }, peg$c759 = "IndianRed", peg$c760 = peg$literalExpectation("IndianRed", false), peg$c761 = "indigo", peg$c762 = peg$literalExpectation("indigo", false), peg$c763 = function () { return '#4b0082ff'; }, peg$c764 = "Indigo", peg$c765 = peg$literalExpectation("Indigo", false), peg$c766 = "ivory", peg$c767 = peg$literalExpectation("ivory", false), peg$c768 = function () { return '#fffff0ff'; }, peg$c769 = "Ivory", peg$c770 = peg$literalExpectation("Ivory", false), peg$c771 = "khaki", peg$c772 = peg$literalExpectation("khaki", false), peg$c773 = function () { return '#f0e68cff'; }, peg$c774 = "Khaki", peg$c775 = peg$literalExpectation("Khaki", false), peg$c776 = "lavenderblush", peg$c777 = peg$literalExpectation("lavenderblush", false), peg$c778 = function () { return '#fff0f5ff'; }, peg$c779 = "LavenderBlush", peg$c780 = peg$literalExpectation("LavenderBlush", false), peg$c781 = "lavender", peg$c782 = peg$literalExpectation("lavender", false), peg$c783 = function () { return '#e6e6faff'; }, peg$c784 = "Lavender", peg$c785 = peg$literalExpectation("Lavender", false), peg$c786 = "lawngreen", peg$c787 = peg$literalExpectation("lawngreen", false), peg$c788 = function () { return '#7cfc00ff'; }, peg$c789 = "LawnGreen", peg$c790 = peg$literalExpectation("LawnGreen", false), peg$c791 = "lemonchiffon", peg$c792 = peg$literalExpectation("lemonchiffon", false), peg$c793 = function () { return '#fffacdff'; }, peg$c794 = "LemonChiffon", peg$c795 = peg$literalExpectation("LemonChiffon", false), peg$c796 = "lightblue", peg$c797 = peg$literalExpectation("lightblue", false), peg$c798 = function () { return '#add8e6ff'; }, peg$c799 = "LightBlue", peg$c800 = peg$literalExpectation("LightBlue", false), peg$c801 = "lightcoral", peg$c802 = peg$literalExpectation("lightcoral", false), peg$c803 = function () { return '#f08080ff'; }, peg$c804 = "LightCoral", peg$c805 = peg$literalExpectation("LightCoral", false), peg$c806 = "lightcyan", peg$c807 = peg$literalExpectation("lightcyan", false), peg$c808 = function () { return '#e0ffffff'; }, peg$c809 = "LightCyan", peg$c810 = peg$literalExpectation("LightCyan", false), peg$c811 = "lightgoldenrodyellow", peg$c812 = peg$literalExpectation("lightgoldenrodyellow", false), peg$c813 = function () { return '#fafad2ff'; }, peg$c814 = "LightGoldenRodYellow", peg$c815 = peg$literalExpectation("LightGoldenRodYellow", false), peg$c816 = "lightgray", peg$c817 = peg$literalExpectation("lightgray", false), peg$c818 = function () { return '#d3d3d3ff'; }, peg$c819 = "LightGray", peg$c820 = peg$literalExpectation("LightGray", false), peg$c821 = "lightgrey", peg$c822 = peg$literalExpectation("lightgrey", false), peg$c823 = "LightGrey", peg$c824 = peg$literalExpectation("LightGrey", false), peg$c825 = "lightgreen", peg$c826 = peg$literalExpectation("lightgreen", false), peg$c827 = function () { return '#90ee90ff'; }, peg$c828 = "LightGreen", peg$c829 = peg$literalExpectation("LightGreen", false), peg$c830 = "lightpink", peg$c831 = peg$literalExpectation("lightpink", false), peg$c832 = function () { return '#ffb6c1ff'; }, peg$c833 = "LightPink", peg$c834 = peg$literalExpectation("LightPink", false), peg$c835 = "lightsalmon", peg$c836 = peg$literalExpectation("lightsalmon", false), peg$c837 = function () { return '#ffa07aff'; }, peg$c838 = "LightSalmon", peg$c839 = peg$literalExpectation("LightSalmon", false), peg$c840 = "lightseagreen", peg$c841 = peg$literalExpectation("lightseagreen", false), peg$c842 = function () { return '#20b2aaff'; }, peg$c843 = "LightSeaGreen", peg$c844 = peg$literalExpectation("LightSeaGreen", false), peg$c845 = "lightskyblue", peg$c846 = peg$literalExpectation("lightskyblue", false), peg$c847 = function () { return '#87cefaff'; }, peg$c848 = "LightSkyBlue", peg$c849 = peg$literalExpectation("LightSkyBlue", false), peg$c850 = "lightslategray", peg$c851 = peg$literalExpectation("lightslategray", false), peg$c852 = function () { return '#778899ff'; }, peg$c853 = "LightSlateGray", peg$c854 = peg$literalExpectation("LightSlateGray", false), peg$c855 = "lightslategrey", peg$c856 = peg$literalExpectation("lightslategrey", false), peg$c857 = "LightSlateGrey", peg$c858 = peg$literalExpectation("LightSlateGrey", false), peg$c859 = "lightsteelblue", peg$c860 = peg$literalExpectation("lightsteelblue", false), peg$c861 = function () { return '#b0c4deff'; }, peg$c862 = "LightSteelBlue", peg$c863 = peg$literalExpectation("LightSteelBlue", false), peg$c864 = "lightyellow", peg$c865 = peg$literalExpectation("lightyellow", false), peg$c866 = function () { return '#ffffe0ff'; }, peg$c867 = "LightYellow", peg$c868 = peg$literalExpectation("LightYellow", false), peg$c869 = "limegreen", peg$c870 = peg$literalExpectation("limegreen", false), peg$c871 = function () { return '#32cd32ff'; }, peg$c872 = "LimeGreen", peg$c873 = peg$literalExpectation("LimeGreen", false), peg$c874 = "lime", peg$c875 = peg$literalExpectation("lime", false), peg$c876 = function () { return '#00ff00ff'; }, peg$c877 = "Lime", peg$c878 = peg$literalExpectation("Lime", false), peg$c879 = "linen", peg$c880 = peg$literalExpectation("linen", false), peg$c881 = function () { return '#faf0e6ff'; }, peg$c882 = "Linen", peg$c883 = peg$literalExpectation("Linen", false), peg$c884 = "magenta", peg$c885 = peg$literalExpectation("magenta", false), peg$c886 = "Magenta", peg$c887 = peg$literalExpectation("Magenta", false), peg$c888 = "maroon", peg$c889 = peg$literalExpectation("maroon", false), peg$c890 = function () { return '#800000ff'; }, peg$c891 = "Maroon", peg$c892 = peg$literalExpectation("Maroon", false), peg$c893 = "mediumaquamarine", peg$c894 = peg$literalExpectation("mediumaquamarine", false), peg$c895 = function () { return '#66cdaaff'; }, peg$c896 = "MediumAquaMarine", peg$c897 = peg$literalExpectation("MediumAquaMarine", false), peg$c898 = "mediumblue", peg$c899 = peg$literalExpectation("mediumblue", false), peg$c900 = function () { return '#0000cdff'; }, peg$c901 = "MediumBlue", peg$c902 = peg$literalExpectation("MediumBlue", false), peg$c903 = "mediumorchid", peg$c904 = peg$literalExpectation("mediumorchid", false), peg$c905 = function () { return '#ba55d3ff'; }, peg$c906 = "MediumOrchid", peg$c907 = peg$literalExpectation("MediumOrchid", false), peg$c908 = "mediumpurple", peg$c909 = peg$literalExpectation("mediumpurple", false), peg$c910 = function () { return '#9370d8ff'; }, peg$c911 = "MediumPurple", peg$c912 = peg$literalExpectation("MediumPurple", false), peg$c913 = "mediumseagreen", peg$c914 = peg$literalExpectation("mediumseagreen", false), peg$c915 = function () { return '#3cb371ff'; }, peg$c916 = "MediumSeaGreen", peg$c917 = peg$literalExpectation("MediumSeaGreen", false), peg$c918 = "mediumslateblue", peg$c919 = peg$literalExpectation("mediumslateblue", false), peg$c920 = function () { return '#7b68eeff'; }, peg$c921 = "MediumSlateBlue", peg$c922 = peg$literalExpectation("MediumSlateBlue", false), peg$c923 = "mediumspringgreen", peg$c924 = peg$literalExpectation("mediumspringgreen", false), peg$c925 = function () { return '#00fa9aff'; }, peg$c926 = "MediumSpringGreen", peg$c927 = peg$literalExpectation("MediumSpringGreen", false), peg$c928 = "mediumturquoise", peg$c929 = peg$literalExpectation("mediumturquoise", false), peg$c930 = function () { return '#48d1ccff'; }, peg$c931 = "MediumTurquoise", peg$c932 = peg$literalExpectation("MediumTurquoise", false), peg$c933 = "mediumvioletred", peg$c934 = peg$literalExpectation("mediumvioletred", false), peg$c935 = function () { return '#c71585ff'; }, peg$c936 = "MediumVioletRed", peg$c937 = peg$literalExpectation("MediumVioletRed", false), peg$c938 = "midnightblue", peg$c939 = peg$literalExpectation("midnightblue", false), peg$c940 = function () { return '#191970ff'; }, peg$c941 = "MidnightBlue", peg$c942 = peg$literalExpectation("MidnightBlue", false), peg$c943 = "mintcream", peg$c944 = peg$literalExpectation("mintcream", false), peg$c945 = function () { return '#f5fffaff'; }, peg$c946 = "MintCream", peg$c947 = peg$literalExpectation("MintCream", false), peg$c948 = "mistyrose", peg$c949 = peg$literalExpectation("mistyrose", false), peg$c950 = function () { return '#ffe4e1ff'; }, peg$c951 = "MistyRose", peg$c952 = peg$literalExpectation("MistyRose", false), peg$c953 = "moccasin", peg$c954 = peg$literalExpectation("moccasin", false), peg$c955 = function () { return '#ffe4b5ff'; }, peg$c956 = "Moccasin", peg$c957 = peg$literalExpectation("Moccasin", false), peg$c958 = "navajowhite", peg$c959 = peg$literalExpectation("navajowhite", false), peg$c960 = function () { return '#ffdeadff'; }, peg$c961 = "NavajoWhite", peg$c962 = peg$literalExpectation("NavajoWhite", false), peg$c963 = "navy", peg$c964 = peg$literalExpectation("navy", false), peg$c965 = function () { return '#000080ff'; }, peg$c966 = "Navy", peg$c967 = peg$literalExpectation("Navy", false), peg$c968 = "oldlace", peg$c969 = peg$literalExpectation("oldlace", false), peg$c970 = function () { return '#fdf5e6ff'; }, peg$c971 = "OldLace", peg$c972 = peg$literalExpectation("OldLace", false), peg$c973 = "olivedrab", peg$c974 = peg$literalExpectation("olivedrab", false), peg$c975 = function () { return '#6b8e23ff'; }, peg$c976 = "OliveDrab", peg$c977 = peg$literalExpectation("OliveDrab", false), peg$c978 = "olive", peg$c979 = peg$literalExpectation("olive", false), peg$c980 = function () { return '#808000ff'; }, peg$c981 = "Olive", peg$c982 = peg$literalExpectation("Olive", false), peg$c983 = "orangered", peg$c984 = peg$literalExpectation("orangered", false), peg$c985 = function () { return '#ff4500ff'; }, peg$c986 = "OrangeRed", peg$c987 = peg$literalExpectation("OrangeRed", false), peg$c988 = "orange", peg$c989 = peg$literalExpectation("orange", false), peg$c990 = function () { return '#ffa500ff'; }, peg$c991 = "Orange", peg$c992 = peg$literalExpectation("Orange", false), peg$c993 = "orchid", peg$c994 = peg$literalExpectation("orchid", false), peg$c995 = function () { return '#da70d6ff'; }, peg$c996 = "Orchid", peg$c997 = peg$literalExpectation("Orchid", false), peg$c998 = "palegoldenrod", peg$c999 = peg$literalExpectation("palegoldenrod", false), peg$c1000 = function () { return '#eee8aaff'; }, peg$c1001 = "PaleGoldenRod", peg$c1002 = peg$literalExpectation("PaleGoldenRod", false), peg$c1003 = "palegreen", peg$c1004 = peg$literalExpectation("palegreen", false), peg$c1005 = function () { return '#98fb98ff'; }, peg$c1006 = "PaleGreen", peg$c1007 = peg$literalExpectation("PaleGreen", false), peg$c1008 = "paleturquoise", peg$c1009 = peg$literalExpectation("paleturquoise", false), peg$c1010 = function () { return '#afeeeeff'; }, peg$c1011 = "PaleTurquoise", peg$c1012 = peg$literalExpectation("PaleTurquoise", false), peg$c1013 = "palevioletred", peg$c1014 = peg$literalExpectation("palevioletred", false), peg$c1015 = function () { return '#d87093ff'; }, peg$c1016 = "PaleVioletRed", peg$c1017 = peg$literalExpectation("PaleVioletRed", false), peg$c1018 = "papayawhip", peg$c1019 = peg$literalExpectation("papayawhip", false), peg$c1020 = function () { return '#ffefd5ff'; }, peg$c1021 = "PapayaWhip", peg$c1022 = peg$literalExpectation("PapayaWhip", false), peg$c1023 = "peachpuff", peg$c1024 = peg$literalExpectation("peachpuff", false), peg$c1025 = function () { return '#ffdab9ff'; }, peg$c1026 = "PeachPuff", peg$c1027 = peg$literalExpectation("PeachPuff", false), peg$c1028 = "peru", peg$c1029 = peg$literalExpectation("peru", false), peg$c1030 = function () { return '#cd853fff'; }, peg$c1031 = "Peru", peg$c1032 = peg$literalExpectation("Peru", false), peg$c1033 = "pink", peg$c1034 = peg$literalExpectation("pink", false), peg$c1035 = function () { return '#ffc0cbff'; }, peg$c1036 = "Pink", peg$c1037 = peg$literalExpectation("Pink", false), peg$c1038 = "plum", peg$c1039 = peg$literalExpectation("plum", false), peg$c1040 = function () { return '#dda0ddff'; }, peg$c1041 = "Plum", peg$c1042 = peg$literalExpectation("Plum", false), peg$c1043 = "powderblue", peg$c1044 = peg$literalExpectation("powderblue", false), peg$c1045 = function () { return '#b0e0e6ff'; }, peg$c1046 = "PowderBlue", peg$c1047 = peg$literalExpectation("PowderBlue", false), peg$c1048 = "purple", peg$c1049 = peg$literalExpectation("purple", false), peg$c1050 = function () { return '#800080ff'; }, peg$c1051 = "Purple", peg$c1052 = peg$literalExpectation("Purple", false), peg$c1053 = "red", peg$c1054 = peg$literalExpectation("red", false), peg$c1055 = function () { return '#ff0000ff'; }, peg$c1056 = "Red", peg$c1057 = peg$literalExpectation("Red", false), peg$c1058 = "rosybrown", peg$c1059 = peg$literalExpectation("rosybrown", false), peg$c1060 = function () { return '#bc8f8fff'; }, peg$c1061 = "RosyBrown", peg$c1062 = peg$literalExpectation("RosyBrown", false), peg$c1063 = "royalblue", peg$c1064 = peg$literalExpectation("royalblue", false), peg$c1065 = function () { return '#4169e1ff'; }, peg$c1066 = "RoyalBlue", peg$c1067 = peg$literalExpectation("RoyalBlue", false), peg$c1068 = "saddlebrown", peg$c1069 = peg$literalExpectation("saddlebrown", false), peg$c1070 = function () { return '#8b4513ff'; }, peg$c1071 = "SaddleBrown", peg$c1072 = peg$literalExpectation("SaddleBrown", false), peg$c1073 = "salmon", peg$c1074 = peg$literalExpectation("salmon", false), peg$c1075 = function () { return '#fa8072ff'; }, peg$c1076 = "Salmon", peg$c1077 = peg$literalExpectation("Salmon", false), peg$c1078 = "sandybrown", peg$c1079 = peg$literalExpectation("sandybrown", false), peg$c1080 = function () { return '#f4a460ff'; }, peg$c1081 = "SandyBrown", peg$c1082 = peg$literalExpectation("SandyBrown", false), peg$c1083 = "seagreen", peg$c1084 = peg$literalExpectation("seagreen", false), peg$c1085 = function () { return '#2e8b57ff'; }, peg$c1086 = "SeaGreen", peg$c1087 = peg$literalExpectation("SeaGreen", false), peg$c1088 = "seashell", peg$c1089 = peg$literalExpectation("seashell", false), peg$c1090 = function () { return '#fff5eeff'; }, peg$c1091 = "SeaShell", peg$c1092 = peg$literalExpectation("SeaShell", false), peg$c1093 = "sienna", peg$c1094 = peg$literalExpectation("sienna", false), peg$c1095 = function () { return '#a0522dff'; }, peg$c1096 = "Sienna", peg$c1097 = peg$literalExpectation("Sienna", false), peg$c1098 = "silver", peg$c1099 = peg$literalExpectation("silver", false), peg$c1100 = function () { return '#c0c0c0ff'; }, peg$c1101 = "Silver", peg$c1102 = peg$literalExpectation("Silver", false), peg$c1103 = "skyblue", peg$c1104 = peg$literalExpectation("skyblue", false), peg$c1105 = function () { return '#87ceebff'; }, peg$c1106 = "SkyBlue", peg$c1107 = peg$literalExpectation("SkyBlue", false), peg$c1108 = "slateblue", peg$c1109 = peg$literalExpectation("slateblue", false), peg$c1110 = function () { return '#6a5acdff'; }, peg$c1111 = "SlateBlue", peg$c1112 = peg$literalExpectation("SlateBlue", false), peg$c1113 = "slategray", peg$c1114 = peg$literalExpectation("slategray", false), peg$c1115 = function () { return '#708090ff'; }, peg$c1116 = "SlateGray", peg$c1117 = peg$literalExpectation("SlateGray", false), peg$c1118 = "slategrey", peg$c1119 = peg$literalExpectation("slategrey", false), peg$c1120 = "SlateGrey", peg$c1121 = peg$literalExpectation("SlateGrey", false), peg$c1122 = "snow", peg$c1123 = peg$literalExpectation("snow", false), peg$c1124 = function () { return '#fffafaff'; }, peg$c1125 = "Snow", peg$c1126 = peg$literalExpectation("Snow", false), peg$c1127 = "springgreen", peg$c1128 = peg$literalExpectation("springgreen", false), peg$c1129 = function () { return '#00ff7fff'; }, peg$c1130 = "SpringGreen", peg$c1131 = peg$literalExpectation("SpringGreen", false), peg$c1132 = "steelblue", peg$c1133 = peg$literalExpectation("steelblue", false), peg$c1134 = function () { return '#4682b4ff'; }, peg$c1135 = "SteelBlue", peg$c1136 = peg$literalExpectation("SteelBlue", false), peg$c1137 = "tan", peg$c1138 = peg$literalExpectation("tan", false), peg$c1139 = function () { return '#d2b48cff'; }, peg$c1140 = "Tan", peg$c1141 = peg$literalExpectation("Tan", false), peg$c1142 = "teal", peg$c1143 = peg$literalExpectation("teal", false), peg$c1144 = function () { return '#008080ff'; }, peg$c1145 = "Teal", peg$c1146 = peg$literalExpectation("Teal", false), peg$c1147 = "thistle", peg$c1148 = peg$literalExpectation("thistle", false), peg$c1149 = function () { return '#d8bfd8ff'; }, peg$c1150 = "Thistle", peg$c1151 = peg$literalExpectation("Thistle", false), peg$c1152 = "tomato", peg$c1153 = peg$literalExpectation("tomato", false), peg$c1154 = function () { return '#ff6347ff'; }, peg$c1155 = "Tomato", peg$c1156 = peg$literalExpectation("Tomato", false), peg$c1157 = "turquoise", peg$c1158 = peg$literalExpectation("turquoise", false), peg$c1159 = function () { return '#40e0d0ff'; }, peg$c1160 = "Turquoise", peg$c1161 = peg$literalExpectation("Turquoise", false), peg$c1162 = "violet", peg$c1163 = peg$literalExpectation("violet", false), peg$c1164 = function () { return '#ee82eeff'; }, peg$c1165 = "Violet", peg$c1166 = peg$literalExpectation("Violet", false), peg$c1167 = "wheat", peg$c1168 = peg$literalExpectation("wheat", false), peg$c1169 = function () { return '#f5deb3ff'; }, peg$c1170 = "Wheat", peg$c1171 = peg$literalExpectation("Wheat", false), peg$c1172 = "whitesmoke", peg$c1173 = peg$literalExpectation("whitesmoke", false), peg$c1174 = function () { return '#f5f5f5ff'; }, peg$c1175 = "WhiteSmoke", peg$c1176 = peg$literalExpectation("WhiteSmoke", false), peg$c1177 = "white", peg$c1178 = peg$literalExpectation("white", false), peg$c1179 = function () { return '#ffffffff'; }, peg$c1180 = "White", peg$c1181 = peg$literalExpectation("White", false), peg$c1182 = "yellowgreen", peg$c1183 = peg$literalExpectation("yellowgreen", false), peg$c1184 = function () { return '#9acd32ff'; }, peg$c1185 = "YellowGreen", peg$c1186 = peg$literalExpectation("YellowGreen", false), peg$c1187 = "yellow", peg$c1188 = peg$literalExpectation("yellow", false), peg$c1189 = function () { return '#ffff00ff'; }, peg$c1190 = "Yellow", peg$c1191 = peg$literalExpectation("Yellow", false), peg$c1192 = function (lab) { return lab; }, peg$c1193 = "#", peg$c1194 = peg$literalExpectation("#", false), peg$c1195 = function (r, g, b) { - return `#${r}${r}${g}${g}${b}${b}ff`; - }, peg$c1196 = function (r1, r2, g1, g2, b1, b2) { - return `#${r1}${r2}${g1}${g2}${b1}${b2}ff`; - }, peg$c1197 = function (r, g, b, a) { - return `#${r}${r}${g}${g}${b}${b}${a}${a}`; - }, peg$c1198 = function (r1, r2, g1, g2, b1, b2, a1, a2) { - return `#${r1}${r2}${g1}${g2}${b1}${b2}${a1}${a2}`; - }, peg$c1199 = peg$otherExpectation("color"), peg$c1200 = "arc_label", peg$c1201 = peg$literalExpectation("arc_label", false), peg$c1202 = "head_label", peg$c1203 = peg$literalExpectation("head_label", false), peg$c1204 = "tail_label", peg$c1205 = peg$literalExpectation("tail_label", false), peg$c1206 = ":", peg$c1207 = peg$literalExpectation(":", false), peg$c1208 = ";", peg$c1209 = peg$literalExpectation(";", false), peg$c1210 = function (key, value) { return { key: key, value: value }; }, peg$c1211 = peg$otherExpectation("single edge color"), peg$c1212 = "edge_color", peg$c1213 = peg$literalExpectation("edge_color", false), peg$c1214 = function (value) { return { key: 'single_edge_color', value: value }; }, peg$c1215 = peg$otherExpectation("transition line style"), peg$c1216 = "line-style", peg$c1217 = peg$literalExpectation("line-style", false), peg$c1218 = function (value) { return { key: 'transition_line_style', value: value }; }, peg$c1219 = "{", peg$c1220 = peg$literalExpectation("{", false), peg$c1221 = "}", peg$c1222 = peg$literalExpectation("}", false), peg$c1223 = function (items) { return items; }, peg$c1224 = "%", peg$c1225 = peg$literalExpectation("%", false), peg$c1226 = function (value) { return { key: 'arrow probability', value: value }; }, peg$c1227 = function (names) { return names.map(i => i[0]); }, peg$c1228 = "+|", peg$c1229 = peg$literalExpectation("+|", false), peg$c1230 = function (nzd, dd) { return { key: 'stripe', value: parseInt(`${nzd}${dd}`, 10) }; }, peg$c1231 = "-|", peg$c1232 = peg$literalExpectation("-|", false), peg$c1233 = function (nzd, dd) { return { key: 'stripe', value: -1 * parseInt(`${nzd}${dd}`, 10) }; }, peg$c1234 = "+", peg$c1235 = peg$literalExpectation("+", false), peg$c1236 = function (nzd, dd) { return { key: 'cycle', value: parseInt(`${nzd}${dd}`, 10) }; }, peg$c1237 = "-", peg$c1238 = peg$literalExpectation("-", false), peg$c1239 = function (nzd, dd) { return { key: 'cycle', value: -1 * parseInt(`${nzd}${dd}`, 10) }; }, peg$c1240 = "+0", peg$c1241 = peg$literalExpectation("+0", false), peg$c1242 = function () { return { key: 'cycle', value: 0 }; }, peg$c1243 = function (r_action, r_prob, l_desc, arrow, r_desc, l_prob, l_action, label, tail) { - // Reminder: remove this type and the one in Exp if you want to work in pegjs online - // TODO: properly type this - const base = { kind: arrow, to: label }; - if (tail && (tail !== [])) { - base.se = tail; - } - if (l_desc) { - base.l_desc = l_desc; - } - if (r_desc) { - base.r_desc = r_desc; - } - if (l_action) { - base.l_action = l_action; - } - if (r_action) { - base.r_action = r_action; - } - if (l_prob) { - base.l_probability = l_prob.value; - } - if (r_prob) { - base.r_probability = r_prob.value; - } - return base; - }, peg$c1244 = function (label, se) { - // Reminder: remove this type and the one in subexp if you want to work in pegjs online - // TODO: properly type this - const base = { key: 'transition', from: label }; - if (se && (se !== [])) { - base.se = se; - } - return base; - }, peg$c1245 = "whargarbl", peg$c1246 = peg$literalExpectation("whargarbl", false), peg$c1247 = "todo", peg$c1248 = peg$literalExpectation("todo", false), peg$c1249 = function (validationkey, value) { return { key: validationkey, value: value }; }, peg$c1250 = "validation", peg$c1251 = peg$literalExpectation("validation", false), peg$c1252 = "};", peg$c1253 = peg$literalExpectation("};", false), peg$c1254 = function (validation_items) { - return { config_kind: "validation", config_items: validation_items || [] }; - }, peg$c1255 = "dot", peg$c1256 = peg$literalExpectation("dot", false), peg$c1257 = "circo", peg$c1258 = peg$literalExpectation("circo", false), peg$c1259 = "fdp", peg$c1260 = peg$literalExpectation("fdp", false), peg$c1261 = "neato", peg$c1262 = peg$literalExpectation("neato", false), peg$c1263 = "state", peg$c1264 = peg$literalExpectation("state", false), peg$c1265 = function (state_items) { - return { key: "default_state_config", value: state_items || [] }; - }, peg$c1266 = "start_state", peg$c1267 = peg$literalExpectation("start_state", false), peg$c1268 = function (state_items) { - return { key: "default_start_state_config", value: state_items || [] }; - }, peg$c1269 = "end_state", peg$c1270 = peg$literalExpectation("end_state", false), peg$c1271 = function (state_items) { - return { key: "default_end_state_config", value: state_items || [] }; - }, peg$c1272 = "active_state", peg$c1273 = peg$literalExpectation("active_state", false), peg$c1274 = function (state_items) { - return { key: "default_active_state_config", value: state_items || [] }; - }, peg$c1275 = "terminal_state", peg$c1276 = peg$literalExpectation("terminal_state", false), peg$c1277 = function (state_items) { - return { key: "default_terminal_state_config", value: state_items || [] }; - }, peg$c1278 = "hooked_state", peg$c1279 = peg$literalExpectation("hooked_state", false), peg$c1280 = function (state_items) { - return { key: "default_hooked_state_config", value: state_items || [] }; - }, peg$c1281 = function (actionkey, value) { return { key: actionkey, value: value }; }, peg$c1282 = "action", peg$c1283 = peg$literalExpectation("action", false), peg$c1284 = function (action_items) { - return { config_kind: "action", config_items: action_items || [] }; - }, peg$c1285 = function (key, value) { return { key, value }; }, peg$c1286 = peg$otherExpectation("graph default edge color"), peg$c1287 = function (value) { return { key: 'graph_default_edge_color', value }; }, peg$c1288 = "transition", peg$c1289 = peg$literalExpectation("transition", false), peg$c1290 = function (transition_items) { - return { config_kind: "transition", config_items: transition_items || [] }; - }, peg$c1291 = "graph_layout", peg$c1292 = peg$literalExpectation("graph_layout", false), peg$c1293 = function (value) { return { key: "graph_layout", value: value }; }, peg$c1294 = "start_states", peg$c1295 = peg$literalExpectation("start_states", false), peg$c1296 = function (value) { return { key: "start_states", value: value }; }, peg$c1297 = "end_states", peg$c1298 = peg$literalExpectation("end_states", false), peg$c1299 = function (value) { return { key: "end_states", value: value }; }, peg$c1300 = "graph_bg_color", peg$c1301 = peg$literalExpectation("graph_bg_color", false), peg$c1302 = function (value) { return { key: "graph_bg_color", value: value }; }, peg$c1303 = peg$otherExpectation("configuration"), peg$c1304 = "MIT", peg$c1305 = peg$literalExpectation("MIT", false), peg$c1306 = "BSD 2-clause", peg$c1307 = peg$literalExpectation("BSD 2-clause", false), peg$c1308 = "BSD 3-clause", peg$c1309 = peg$literalExpectation("BSD 3-clause", false), peg$c1310 = "Apache 2.0", peg$c1311 = peg$literalExpectation("Apache 2.0", false), peg$c1312 = "Mozilla 2.0", peg$c1313 = peg$literalExpectation("Mozilla 2.0", false), peg$c1314 = "Public domain", peg$c1315 = peg$literalExpectation("Public domain", false), peg$c1316 = "GPL v2", peg$c1317 = peg$literalExpectation("GPL v2", false), peg$c1318 = "GPL v3", peg$c1319 = peg$literalExpectation("GPL v3", false), peg$c1320 = "LGPL v2.1", peg$c1321 = peg$literalExpectation("LGPL v2.1", false), peg$c1322 = "LGPL v3.0", peg$c1323 = peg$literalExpectation("LGPL v3.0", false), peg$c1324 = "Unknown", peg$c1325 = peg$literalExpectation("Unknown", false), peg$c1326 = peg$otherExpectation("direction"), peg$c1327 = "up", peg$c1328 = peg$literalExpectation("up", false), peg$c1329 = "right", peg$c1330 = peg$literalExpectation("right", false), peg$c1331 = "down", peg$c1332 = peg$literalExpectation("down", false), peg$c1333 = "left", peg$c1334 = peg$literalExpectation("left", false), peg$c1335 = peg$otherExpectation("hook definition (open/closed)"), peg$c1336 = "open", peg$c1337 = peg$literalExpectation("open", false), peg$c1338 = "closed", peg$c1339 = peg$literalExpectation("closed", false), peg$c1340 = "machine_author", peg$c1341 = peg$literalExpectation("machine_author", false), peg$c1342 = function (value) { return { key: "machine_author", value }; }, peg$c1343 = "machine_contributor", peg$c1344 = peg$literalExpectation("machine_contributor", false), peg$c1345 = function (value) { return { key: "machine_contributor", value }; }, peg$c1346 = "machine_comment", peg$c1347 = peg$literalExpectation("machine_comment", false), peg$c1348 = function (value) { return { key: "machine_comment", value }; }, peg$c1349 = "machine_definition", peg$c1350 = peg$literalExpectation("machine_definition", false), peg$c1351 = function (value) { return { key: "machine_definition", value }; }, peg$c1352 = "machine_name", peg$c1353 = peg$literalExpectation("machine_name", false), peg$c1354 = function (value) { return { key: "machine_name", value }; }, peg$c1358 = "machine_version", peg$c1359 = peg$literalExpectation("machine_version", false), peg$c1360 = function (value) { return { key: "machine_version", value }; }, peg$c1361 = "machine_license", peg$c1362 = peg$literalExpectation("machine_license", false), peg$c1363 = function (value) { return { key: "machine_license", value }; }, peg$c1364 = "machine_language", peg$c1365 = peg$literalExpectation("machine_language", false), peg$c1366 = function (value) { return { key: "machine_language", value }; }, peg$c1367 = "fsl_version", peg$c1368 = peg$literalExpectation("fsl_version", false), peg$c1369 = function (value) { return { key: "fsl_version", value }; }, peg$c1370 = "theme", peg$c1371 = peg$literalExpectation("theme", false), peg$c1372 = function (value) { return { key: "theme", value }; }, peg$c1373 = "flow", peg$c1374 = peg$literalExpectation("flow", false), peg$c1375 = function (value) { return { key: "flow", value }; }, peg$c1376 = "hooks", peg$c1377 = peg$literalExpectation("hooks", false), peg$c1378 = function (value) { return { key: "hook_definition", value }; }, peg$c1379 = "dot_preamble", peg$c1380 = peg$literalExpectation("dot_preamble", false), peg$c1381 = function (value) { return { key: "dot_preamble", value }; }, peg$c1382 = peg$otherExpectation("machine attribute"), peg$c1383 = "label", peg$c1384 = peg$literalExpectation("label", false), peg$c1385 = function (value) { return { key: 'state-label', value }; }, peg$c1386 = "color", peg$c1387 = peg$literalExpectation("color", false), peg$c1388 = function (value) { return { key: 'color', value }; }, peg$c1389 = peg$otherExpectation("text color"), peg$c1390 = "text-color", peg$c1391 = peg$literalExpectation("text-color", false), peg$c1392 = function (value) { return { key: 'text-color', value }; }, peg$c1393 = peg$otherExpectation("background color"), peg$c1394 = "background-color", peg$c1395 = peg$literalExpectation("background-color", false), peg$c1396 = function (value) { return { key: 'background-color', value }; }, peg$c1397 = peg$otherExpectation("border color"), peg$c1398 = "border-color", peg$c1399 = peg$literalExpectation("border-color", false), peg$c1400 = function (value) { return { key: 'border-color', value }; }, peg$c1401 = peg$otherExpectation("shape"), peg$c1402 = "shape", peg$c1403 = peg$literalExpectation("shape", false), peg$c1404 = function (value) { return { key: 'shape', value }; }, peg$c1405 = peg$otherExpectation("corners"), peg$c1406 = "corners", peg$c1407 = peg$literalExpectation("corners", false), peg$c1408 = function (value) { return { key: 'corners', value }; }, peg$c1409 = peg$otherExpectation("linestyle"), peg$c1410 = function (value) { return { key: 'line-style', value }; }, peg$c1411 = "linestyle", peg$c1412 = peg$literalExpectation("linestyle", false), peg$c1413 = peg$otherExpectation("state property"), peg$c1414 = "property", peg$c1415 = peg$literalExpectation("property", false), peg$c1416 = function (name, value) { - return { key: 'state_property', name, value }; - }, peg$c1417 = "required", peg$c1418 = peg$literalExpectation("required", false), peg$c1419 = function (name, value) { - return { key: 'state_property', name, value, required: true }; - }, peg$c1420 = function (name, value) { return { key: 'state_declaration', name, value }; }, peg$c1421 = "&", peg$c1422 = peg$literalExpectation("&", false), peg$c1423 = function (name, value) { return { key: 'named_list', name, value }; }, peg$c1424 = function (name, default_value) { return { key: 'property_definition', name, default_value, required: true }; }, peg$c1425 = function (name) { return { key: 'property_definition', name, required: true }; }, peg$c1426 = function (name, default_value) { return { key: 'property_definition', name, default_value }; }, peg$c1427 = function (name) { return { key: 'property_definition', name }; }, peg$c1428 = "arrange", peg$c1429 = peg$literalExpectation("arrange", false), peg$c1430 = function (value) { return { key: 'arrange_declaration', value }; }, peg$c1431 = "arrange-start", peg$c1432 = peg$literalExpectation("arrange-start", false), peg$c1433 = function (value) { return { key: 'arrange_start_declaration', value }; }, peg$c1434 = "arrange-end", peg$c1435 = peg$literalExpectation("arrange-end", false), peg$c1436 = function (value) { return { key: 'arrange_end_declaration', value }; }, peg$c1437 = peg$otherExpectation("arrange declaration"), peg$currPos = 0, peg$savedPos = 0, peg$posDetailsCache = [{ line: 1, column: 1 }], peg$maxFailPos = 0, peg$maxFailExpected = [], peg$silentFails = 0, peg$result; - if ("startRule" in options) { - if (!(options.startRule in peg$startRuleFunctions)) { - throw new Error("Can't start parsing from rule \"" + options.startRule + "\"."); - } - peg$startRuleFunction = peg$startRuleFunctions[options.startRule]; - } - function text() { - return input.substring(peg$savedPos, peg$currPos); - } - function peg$literalExpectation(text, ignoreCase) { - return { type: "literal", text: text, ignoreCase: ignoreCase }; - } - function peg$classExpectation(parts, inverted, ignoreCase) { - return { type: "class", parts: parts, inverted: inverted, ignoreCase: ignoreCase }; - } - function peg$anyExpectation() { - return { type: "any" }; - } - function peg$endExpectation() { - return { type: "end" }; - } - function peg$otherExpectation(description) { - return { type: "other", description: description }; - } - function peg$computePosDetails(pos) { - var details = peg$posDetailsCache[pos], p; - if (details) { - return details; - } - else { - p = pos - 1; - while (!peg$posDetailsCache[p]) { - p--; - } - details = peg$posDetailsCache[p]; - details = { - line: details.line, - column: details.column - }; - while (p < pos) { - if (input.charCodeAt(p) === 10) { - details.line++; - details.column = 1; - } - else { - details.column++; - } - p++; - } - peg$posDetailsCache[pos] = details; - return details; - } - } - function peg$computeLocation(startPos, endPos) { - var startPosDetails = peg$computePosDetails(startPos), endPosDetails = peg$computePosDetails(endPos); - return { - start: { - offset: startPos, - line: startPosDetails.line, - column: startPosDetails.column - }, - end: { - offset: endPos, - line: endPosDetails.line, - column: endPosDetails.column - } - }; - } - function peg$fail(expected) { - if (peg$currPos < peg$maxFailPos) { - return; - } - if (peg$currPos > peg$maxFailPos) { - peg$maxFailPos = peg$currPos; - peg$maxFailExpected = []; - } - peg$maxFailExpected.push(expected); - } - function peg$buildStructuredError(expected, found, location) { - return new peg$SyntaxError(peg$SyntaxError.buildMessage(expected, found), expected, found, location); - } - function peg$parseDocument() { - var s0, s1, s2, s3; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - s2 = peg$parseTermList(); - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c0(s2); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseTheme() { - var s0; - if (input.substr(peg$currPos, 4) === peg$c1) { - s0 = peg$c1; - peg$currPos += 4; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c2); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c3) { - s0 = peg$c3; - peg$currPos += 7; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c4); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 6) === peg$c5) { - s0 = peg$c5; - peg$currPos += 6; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c6); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 5) === peg$c7) { - s0 = peg$c7; - peg$currPos += 5; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c8); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 4) === peg$c9) { - s0 = peg$c9; - peg$currPos += 4; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c10); - } - } - } - } - } - } - return s0; - } - function peg$parseThemeOrThemeList() { - var s0, s1, s2, s3, s4, s5, s6; - s0 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 91) { - s1 = peg$c11; - peg$currPos++; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c12); - } - } - if (s1 !== peg$FAILED) { - s2 = peg$parseWS(); - if (s2 === peg$FAILED) { - s2 = null; - } - if (s2 !== peg$FAILED) { - s3 = []; - s4 = peg$currPos; - s5 = peg$parseTheme(); - if (s5 !== peg$FAILED) { - s6 = peg$parseWS(); - if (s6 !== peg$FAILED) { - s5 = [s5, s6]; - s4 = s5; - } - else { - peg$currPos = s4; - s4 = peg$FAILED; - } - } - else { - peg$currPos = s4; - s4 = peg$FAILED; - } - while (s4 !== peg$FAILED) { - s3.push(s4); - s4 = peg$currPos; - s5 = peg$parseTheme(); - if (s5 !== peg$FAILED) { - s6 = peg$parseWS(); - if (s6 !== peg$FAILED) { - s5 = [s5, s6]; - s4 = s5; - } - else { - peg$currPos = s4; - s4 = peg$FAILED; - } - } - else { - peg$currPos = s4; - s4 = peg$FAILED; - } - } - if (s3 !== peg$FAILED) { - s4 = peg$parseTheme(); - if (s4 === peg$FAILED) { - s4 = null; - } - if (s4 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 93) { - s5 = peg$c13; - peg$currPos++; - } - else { - s5 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c14); - } - } - if (s5 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c15(s3, s4); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - if (s0 === peg$FAILED) { - s0 = peg$currPos; - s1 = peg$parseTheme(); - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c16(s1); - } - s0 = s1; - } - return s0; - } - function peg$parseGvizShape() { - var s0; - if (input.substr(peg$currPos, 5) === peg$c17) { - s0 = peg$c17; - peg$currPos += 5; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c18); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c19) { - s0 = peg$c19; - peg$currPos += 7; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c20); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c21) { - s0 = peg$c21; - peg$currPos += 7; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c22); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 4) === peg$c23) { - s0 = peg$c23; - peg$currPos += 4; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c24); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 6) === peg$c25) { - s0 = peg$c25; - peg$currPos += 6; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c26); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 5) === peg$c27) { - s0 = peg$c27; - peg$currPos += 5; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c28); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 3) === peg$c29) { - s0 = peg$c29; - peg$currPos += 3; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c30); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 8) === peg$c31) { - s0 = peg$c31; - peg$currPos += 8; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c32); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 9) === peg$c33) { - s0 = peg$c33; - peg$currPos += 9; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c34); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 5) === peg$c35) { - s0 = peg$c35; - peg$currPos += 5; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c36); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c37) { - s0 = peg$c37; - peg$currPos += 7; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c38); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 9) === peg$c39) { - s0 = peg$c39; - peg$currPos += 9; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c40); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 13) === peg$c41) { - s0 = peg$c41; - peg$currPos += 13; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c42); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 5) === peg$c43) { - s0 = peg$c43; - peg$currPos += 5; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c44); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 8) === peg$c45) { - s0 = peg$c45; - peg$currPos += 8; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c46); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c47) { - s0 = peg$c47; - peg$currPos += 7; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c48); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 8) === peg$c49) { - s0 = peg$c49; - peg$currPos += 8; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c50); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c51) { - s0 = peg$c51; - peg$currPos += 7; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c52); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 12) === peg$c53) { - s0 = peg$c53; - peg$currPos += 12; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c54); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 13) === peg$c55) { - s0 = peg$c55; - peg$currPos += 13; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c56); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 13) === peg$c57) { - s0 = peg$c57; - peg$currPos += 13; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c58); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 11) === peg$c59) { - s0 = peg$c59; - peg$currPos += 11; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c60); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 12) === peg$c61) { - s0 = peg$c61; - peg$currPos += 12; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c62); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 8) === peg$c63) { - s0 = peg$c63; - peg$currPos += 8; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c64); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 8) === peg$c65) { - s0 = peg$c65; - peg$currPos += 8; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c66); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c67) { - s0 = peg$c67; - peg$currPos += 7; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c68); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c69) { - s0 = peg$c69; - peg$currPos += 7; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c70); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 9) === peg$c71) { - s0 = peg$c71; - peg$currPos += 9; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c72); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 4) === peg$c73) { - s0 = peg$c73; - peg$currPos += 4; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c74); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 6) === peg$c75) { - s0 = peg$c75; - peg$currPos += 6; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c76); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 4) === peg$c77) { - s0 = peg$c77; - peg$currPos += 4; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c78); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 4) === peg$c1) { - s0 = peg$c1; - peg$currPos += 4; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c2); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 9) === peg$c79) { - s0 = peg$c79; - peg$currPos += 9; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c80); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 8) === peg$c81) { - s0 = peg$c81; - peg$currPos += 8; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c82); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 4) === peg$c83) { - s0 = peg$c83; - peg$currPos += 4; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c84); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 3) === peg$c85) { - s0 = peg$c85; - peg$currPos += 3; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c86); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 6) === peg$c87) { - s0 = peg$c87; - peg$currPos += 6; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c88); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 3) === peg$c89) { - s0 = peg$c89; - peg$currPos += 3; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c90); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 9) === peg$c91) { - s0 = peg$c91; - peg$currPos += 9; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c92); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 8) === peg$c93) { - s0 = peg$c93; - peg$currPos += 8; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c94); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 3) === peg$c95) { - s0 = peg$c95; - peg$currPos += 3; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c96); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 10) === peg$c97) { - s0 = peg$c97; - peg$currPos += 10; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c98); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 3) === peg$c99) { - s0 = peg$c99; - peg$currPos += 3; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c100); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 10) === peg$c101) { - s0 = peg$c101; - peg$currPos += 10; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c102); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 15) === peg$c103) { - s0 = peg$c103; - peg$currPos += 15; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c104); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 13) === peg$c105) { - s0 = peg$c105; - peg$currPos += 13; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c106); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 14) === peg$c107) { - s0 = peg$c107; - peg$currPos += 14; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c108); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 9) === peg$c109) { - s0 = peg$c109; - peg$currPos += 9; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c110); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 8) === peg$c111) { - s0 = peg$c111; - peg$currPos += 8; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c112); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 9) === peg$c113) { - s0 = peg$c113; - peg$currPos += 9; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c114); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 9) === peg$c115) { - s0 = peg$c115; - peg$currPos += 9; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c116); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 8) === peg$c117) { - s0 = peg$c117; - peg$currPos += 8; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c118); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c119) { - s0 = peg$c119; - peg$currPos += 7; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c120); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 12) === peg$c121) { - s0 = peg$c121; - peg$currPos += 12; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c122); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 11) === peg$c123) { - s0 = peg$c123; - peg$currPos += 11; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c124); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 9) === peg$c125) { - s0 = peg$c125; - peg$currPos += 9; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c126); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 6) === peg$c127) { - s0 = peg$c127; - peg$currPos += 6; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c128); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 6) === peg$c129) { - s0 = peg$c129; - peg$currPos += 6; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c130); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 9) === peg$c131) { - s0 = peg$c131; - peg$currPos += 9; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c132); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 6) === peg$c133) { - s0 = peg$c133; - peg$currPos += 6; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c134); - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - return s0; - } - function peg$parseForwardLightArrow() { - var s0, s1; - peg$silentFails++; - if (input.substr(peg$currPos, 2) === peg$c136) { - s0 = peg$c136; - peg$currPos += 2; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c137); - } - } - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 8594) { - s1 = peg$c138; - peg$currPos++; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c139); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c140(); - } - s0 = s1; - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c135); - } - } - return s0; - } - function peg$parseTwoWayLightArrow() { - var s0, s1; - peg$silentFails++; - if (input.substr(peg$currPos, 3) === peg$c142) { - s0 = peg$c142; - peg$currPos += 3; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c143); - } - } - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 8596) { - s1 = peg$c144; - peg$currPos++; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c145); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c146(); - } - s0 = s1; - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c141); - } - } - return s0; - } - function peg$parseBackLightArrow() { - var s0, s1; - peg$silentFails++; - if (input.substr(peg$currPos, 2) === peg$c148) { - s0 = peg$c148; - peg$currPos += 2; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c149); - } - } - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 8592) { - s1 = peg$c150; - peg$currPos++; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c151); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c152(); - } - s0 = s1; - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c147); - } - } - return s0; - } - function peg$parseForwardFatArrow() { - var s0, s1; - peg$silentFails++; - if (input.substr(peg$currPos, 2) === peg$c154) { - s0 = peg$c154; - peg$currPos += 2; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c155); - } - } - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 8658) { - s1 = peg$c156; - peg$currPos++; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c157); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c158(); - } - s0 = s1; - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c153); - } - } - return s0; - } - function peg$parseTwoWayFatArrow() { - var s0, s1; - peg$silentFails++; - if (input.substr(peg$currPos, 3) === peg$c160) { - s0 = peg$c160; - peg$currPos += 3; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c161); - } - } - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 8660) { - s1 = peg$c162; - peg$currPos++; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c163); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c164(); - } - s0 = s1; - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c159); - } - } - return s0; - } - function peg$parseBackFatArrow() { - var s0, s1; - peg$silentFails++; - if (input.substr(peg$currPos, 2) === peg$c166) { - s0 = peg$c166; - peg$currPos += 2; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c167); - } - } - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 8656) { - s1 = peg$c168; - peg$currPos++; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c169); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c170(); - } - s0 = s1; - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c165); - } - } - return s0; - } - function peg$parseForwardTildeArrow() { - var s0, s1; - peg$silentFails++; - if (input.substr(peg$currPos, 2) === peg$c172) { - s0 = peg$c172; - peg$currPos += 2; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c173); - } - } - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 8603) { - s1 = peg$c174; - peg$currPos++; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c175); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c176(); - } - s0 = s1; - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c171); - } - } - return s0; - } - function peg$parseTwoWayTildeArrow() { - var s0, s1; - peg$silentFails++; - if (input.substr(peg$currPos, 3) === peg$c178) { - s0 = peg$c178; - peg$currPos += 3; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c179); - } - } - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 8622) { - s1 = peg$c180; - peg$currPos++; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c181); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c182(); - } - s0 = s1; - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c177); - } - } - return s0; - } - function peg$parseBackTildeArrow() { - var s0, s1; - peg$silentFails++; - if (input.substr(peg$currPos, 2) === peg$c184) { - s0 = peg$c184; - peg$currPos += 2; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c185); - } - } - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 8602) { - s1 = peg$c186; - peg$currPos++; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c187); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c188(); - } - s0 = s1; - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c183); - } - } - return s0; - } - function peg$parseLightFatArrow() { - var s0, s1; - peg$silentFails++; - if (input.substr(peg$currPos, 4) === peg$c190) { - s0 = peg$c190; - peg$currPos += 4; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c191); - } - } - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 2) === peg$c192) { - s1 = peg$c192; - peg$currPos += 2; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c193); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c194(); - } - s0 = s1; - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c189); - } - } - return s0; - } - function peg$parseLightTildeArrow() { - var s0, s1; - peg$silentFails++; - if (input.substr(peg$currPos, 4) === peg$c196) { - s0 = peg$c196; - peg$currPos += 4; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c197); - } - } - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 2) === peg$c198) { - s1 = peg$c198; - peg$currPos += 2; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c199); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c200(); - } - s0 = s1; - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c195); - } - } - return s0; - } - function peg$parseFatLightArrow() { - var s0, s1; - peg$silentFails++; - if (input.substr(peg$currPos, 4) === peg$c202) { - s0 = peg$c202; - peg$currPos += 4; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c203); - } - } - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 2) === peg$c204) { - s1 = peg$c204; - peg$currPos += 2; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c205); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c206(); - } - s0 = s1; - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c201); - } - } - return s0; - } - function peg$parseFatTildeArrow() { - var s0, s1; - peg$silentFails++; - if (input.substr(peg$currPos, 4) === peg$c208) { - s0 = peg$c208; - peg$currPos += 4; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c209); - } - } - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 2) === peg$c210) { - s1 = peg$c210; - peg$currPos += 2; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c211); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c212(); - } - s0 = s1; - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c207); - } - } - return s0; - } - function peg$parseTildeLightArrow() { - var s0, s1; - peg$silentFails++; - if (input.substr(peg$currPos, 4) === peg$c214) { - s0 = peg$c214; - peg$currPos += 4; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c215); - } - } - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 2) === peg$c216) { - s1 = peg$c216; - peg$currPos += 2; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c217); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c218(); - } - s0 = s1; - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c213); - } - } - return s0; - } - function peg$parseTildeFatArrow() { - var s0, s1; - peg$silentFails++; - if (input.substr(peg$currPos, 4) === peg$c220) { - s0 = peg$c220; - peg$currPos += 4; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c221); - } - } - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 2) === peg$c222) { - s1 = peg$c222; - peg$currPos += 2; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c223); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c224(); - } - s0 = s1; - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c219); - } - } - return s0; - } - function peg$parseLightArrow() { - var s0; - peg$silentFails++; - s0 = peg$parseForwardLightArrow(); - if (s0 === peg$FAILED) { - s0 = peg$parseTwoWayLightArrow(); - if (s0 === peg$FAILED) { - s0 = peg$parseBackLightArrow(); - } - } - peg$silentFails--; - if (s0 === peg$FAILED) { - if (peg$silentFails === 0) { - peg$fail(peg$c225); - } - } - return s0; - } - function peg$parseFatArrow() { - var s0; - peg$silentFails++; - s0 = peg$parseForwardFatArrow(); - if (s0 === peg$FAILED) { - s0 = peg$parseTwoWayFatArrow(); - if (s0 === peg$FAILED) { - s0 = peg$parseBackFatArrow(); - } - } - peg$silentFails--; - if (s0 === peg$FAILED) { - if (peg$silentFails === 0) { - peg$fail(peg$c226); - } - } - return s0; - } - function peg$parseTildeArrow() { - var s0; - peg$silentFails++; - s0 = peg$parseForwardTildeArrow(); - if (s0 === peg$FAILED) { - s0 = peg$parseTwoWayTildeArrow(); - if (s0 === peg$FAILED) { - s0 = peg$parseBackTildeArrow(); - } - } - peg$silentFails--; - if (s0 === peg$FAILED) { - if (peg$silentFails === 0) { - peg$fail(peg$c227); - } - } - return s0; - } - function peg$parseMixedArrow() { - var s0; - peg$silentFails++; - s0 = peg$parseLightFatArrow(); - if (s0 === peg$FAILED) { - s0 = peg$parseLightTildeArrow(); - if (s0 === peg$FAILED) { - s0 = peg$parseFatLightArrow(); - if (s0 === peg$FAILED) { - s0 = peg$parseFatTildeArrow(); - if (s0 === peg$FAILED) { - s0 = peg$parseTildeLightArrow(); - if (s0 === peg$FAILED) { - s0 = peg$parseTildeFatArrow(); - } - } - } - } - } - peg$silentFails--; - if (s0 === peg$FAILED) { - if (peg$silentFails === 0) { - peg$fail(peg$c228); - } - } - return s0; - } - function peg$parseArrow() { - var s0; - peg$silentFails++; - s0 = peg$parseMixedArrow(); - if (s0 === peg$FAILED) { - s0 = peg$parseLightArrow(); - if (s0 === peg$FAILED) { - s0 = peg$parseFatArrow(); - if (s0 === peg$FAILED) { - s0 = peg$parseTildeArrow(); - } - } - } - peg$silentFails--; - if (s0 === peg$FAILED) { - if (peg$silentFails === 0) { - peg$fail(peg$c229); - } - } - return s0; - } - function peg$parseBoolean() { - var s0, s1; - s0 = peg$currPos; - if (input.substr(peg$currPos, 4) === peg$c230) { - s1 = peg$c230; - peg$currPos += 4; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c231); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c232(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 5) === peg$c233) { - s1 = peg$c233; - peg$currPos += 5; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c234); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c235(); - } - s0 = s1; - } - return s0; - } - function peg$parseCorners() { - var s0; - if (input.substr(peg$currPos, 7) === peg$c236) { - s0 = peg$c236; - peg$currPos += 7; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c237); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c238) { - s0 = peg$c238; - peg$currPos += 7; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c239); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 5) === peg$c240) { - s0 = peg$c240; - peg$currPos += 5; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c241); - } - } - } - } - return s0; - } - function peg$parseLineStyle() { - var s0; - if (input.substr(peg$currPos, 5) === peg$c242) { - s0 = peg$c242; - peg$currPos += 5; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c243); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 6) === peg$c244) { - s0 = peg$c244; - peg$currPos += 6; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c245); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 6) === peg$c246) { - s0 = peg$c246; - peg$currPos += 6; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c247); - } - } - } - } - return s0; - } - function peg$parseChar() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; - s0 = peg$parseUnescaped(); - if (s0 === peg$FAILED) { - s0 = peg$currPos; - s1 = peg$parseEscape(); - if (s1 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 34) { - s2 = peg$c248; - peg$currPos++; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c249); - } - } - if (s2 === peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 92) { - s2 = peg$c250; - peg$currPos++; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c251); - } - } - if (s2 === peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 47) { - s2 = peg$c252; - peg$currPos++; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c253); - } - } - if (s2 === peg$FAILED) { - s2 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 98) { - s3 = peg$c254; - peg$currPos++; - } - else { - s3 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c255); - } - } - if (s3 !== peg$FAILED) { - peg$savedPos = s2; - s3 = peg$c256(); - } - s2 = s3; - if (s2 === peg$FAILED) { - s2 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 102) { - s3 = peg$c257; - peg$currPos++; - } - else { - s3 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c258); - } - } - if (s3 !== peg$FAILED) { - peg$savedPos = s2; - s3 = peg$c259(); - } - s2 = s3; - if (s2 === peg$FAILED) { - s2 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 110) { - s3 = peg$c260; - peg$currPos++; - } - else { - s3 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c261); - } - } - if (s3 !== peg$FAILED) { - peg$savedPos = s2; - s3 = peg$c262(); - } - s2 = s3; - if (s2 === peg$FAILED) { - s2 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 114) { - s3 = peg$c263; - peg$currPos++; - } - else { - s3 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c264); - } - } - if (s3 !== peg$FAILED) { - peg$savedPos = s2; - s3 = peg$c265(); - } - s2 = s3; - if (s2 === peg$FAILED) { - s2 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 116) { - s3 = peg$c266; - peg$currPos++; - } - else { - s3 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c267); - } - } - if (s3 !== peg$FAILED) { - peg$savedPos = s2; - s3 = peg$c268(); - } - s2 = s3; - if (s2 === peg$FAILED) { - s2 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 118) { - s3 = peg$c269; - peg$currPos++; - } - else { - s3 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c270); - } - } - if (s3 !== peg$FAILED) { - peg$savedPos = s2; - s3 = peg$c271(); - } - s2 = s3; - if (s2 === peg$FAILED) { - s2 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 117) { - s3 = peg$c272; - peg$currPos++; - } - else { - s3 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c273); - } - } - if (s3 !== peg$FAILED) { - s4 = peg$currPos; - s5 = peg$currPos; - s6 = peg$parseHexDigit(); - if (s6 !== peg$FAILED) { - s7 = peg$parseHexDigit(); - if (s7 !== peg$FAILED) { - s8 = peg$parseHexDigit(); - if (s8 !== peg$FAILED) { - s9 = peg$parseHexDigit(); - if (s9 !== peg$FAILED) { - s6 = [s6, s7, s8, s9]; - s5 = s6; - } - else { - peg$currPos = s5; - s5 = peg$FAILED; - } - } - else { - peg$currPos = s5; - s5 = peg$FAILED; - } - } - else { - peg$currPos = s5; - s5 = peg$FAILED; - } - } - else { - peg$currPos = s5; - s5 = peg$FAILED; - } - if (s5 !== peg$FAILED) { - s4 = input.substring(s4, peg$currPos); - } - else { - s4 = s5; - } - if (s4 !== peg$FAILED) { - peg$savedPos = s2; - s3 = peg$c274(s4); - s2 = s3; - } - else { - peg$currPos = s2; - s2 = peg$FAILED; - } - } - else { - peg$currPos = s2; - s2 = peg$FAILED; - } - } - } - } - } - } - } - } - } - } - if (s2 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c275(s2); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - return s0; - } - function peg$parseNull() { - var s0, s1; - s0 = peg$currPos; - if (input.substr(peg$currPos, 4) === peg$c276) { - s1 = peg$c276; - peg$currPos += 4; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c277); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c278(); - } - s0 = s1; - return s0; - } - function peg$parseUndefined() { - var s0, s1; - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c279) { - s1 = peg$c279; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c280); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c281(); - } - s0 = s1; - return s0; - } - function peg$parseEscape() { - var s0; - if (input.charCodeAt(peg$currPos) === 92) { - s0 = peg$c250; - peg$currPos++; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c251); - } - } - return s0; - } - function peg$parseQuoteMark() { - var s0; - if (input.charCodeAt(peg$currPos) === 34) { - s0 = peg$c248; - peg$currPos++; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c249); - } - } - return s0; - } - function peg$parseUnescaped() { - var s0; - if (peg$c282.test(input.charAt(peg$currPos))) { - s0 = input.charAt(peg$currPos); - peg$currPos++; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c283); - } - } - return s0; - } - function peg$parseActionLabelChar() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; - s0 = peg$parseActionLabelUnescaped(); - if (s0 === peg$FAILED) { - s0 = peg$currPos; - s1 = peg$parseEscape(); - if (s1 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 39) { - s2 = peg$c284; - peg$currPos++; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c285); - } - } - if (s2 === peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 92) { - s2 = peg$c250; - peg$currPos++; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c251); - } - } - if (s2 === peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 47) { - s2 = peg$c252; - peg$currPos++; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c253); - } - } - if (s2 === peg$FAILED) { - s2 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 98) { - s3 = peg$c254; - peg$currPos++; - } - else { - s3 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c255); - } - } - if (s3 !== peg$FAILED) { - peg$savedPos = s2; - s3 = peg$c256(); - } - s2 = s3; - if (s2 === peg$FAILED) { - s2 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 102) { - s3 = peg$c257; - peg$currPos++; - } - else { - s3 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c258); - } - } - if (s3 !== peg$FAILED) { - peg$savedPos = s2; - s3 = peg$c259(); - } - s2 = s3; - if (s2 === peg$FAILED) { - s2 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 110) { - s3 = peg$c260; - peg$currPos++; - } - else { - s3 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c261); - } - } - if (s3 !== peg$FAILED) { - peg$savedPos = s2; - s3 = peg$c262(); - } - s2 = s3; - if (s2 === peg$FAILED) { - s2 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 114) { - s3 = peg$c263; - peg$currPos++; - } - else { - s3 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c264); - } - } - if (s3 !== peg$FAILED) { - peg$savedPos = s2; - s3 = peg$c265(); - } - s2 = s3; - if (s2 === peg$FAILED) { - s2 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 116) { - s3 = peg$c266; - peg$currPos++; - } - else { - s3 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c267); - } - } - if (s3 !== peg$FAILED) { - peg$savedPos = s2; - s3 = peg$c268(); - } - s2 = s3; - if (s2 === peg$FAILED) { - s2 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 118) { - s3 = peg$c269; - peg$currPos++; - } - else { - s3 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c270); - } - } - if (s3 !== peg$FAILED) { - peg$savedPos = s2; - s3 = peg$c271(); - } - s2 = s3; - if (s2 === peg$FAILED) { - s2 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 117) { - s3 = peg$c272; - peg$currPos++; - } - else { - s3 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c273); - } - } - if (s3 !== peg$FAILED) { - s4 = peg$currPos; - s5 = peg$currPos; - s6 = peg$parseHexDigit(); - if (s6 !== peg$FAILED) { - s7 = peg$parseHexDigit(); - if (s7 !== peg$FAILED) { - s8 = peg$parseHexDigit(); - if (s8 !== peg$FAILED) { - s9 = peg$parseHexDigit(); - if (s9 !== peg$FAILED) { - s6 = [s6, s7, s8, s9]; - s5 = s6; - } - else { - peg$currPos = s5; - s5 = peg$FAILED; - } - } - else { - peg$currPos = s5; - s5 = peg$FAILED; - } - } - else { - peg$currPos = s5; - s5 = peg$FAILED; - } - } - else { - peg$currPos = s5; - s5 = peg$FAILED; - } - if (s5 !== peg$FAILED) { - s4 = input.substring(s4, peg$currPos); - } - else { - s4 = s5; - } - if (s4 !== peg$FAILED) { - peg$savedPos = s2; - s3 = peg$c274(s4); - s2 = s3; - } - else { - peg$currPos = s2; - s2 = peg$FAILED; - } - } - else { - peg$currPos = s2; - s2 = peg$FAILED; - } - } - } - } - } - } - } - } - } - } - if (s2 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c275(s2); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - return s0; - } - function peg$parseActionLabelQuoteMark() { - var s0; - if (input.charCodeAt(peg$currPos) === 39) { - s0 = peg$c284; - peg$currPos++; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c285); - } - } - return s0; - } - function peg$parseActionLabelUnescaped() { - var s0; - if (peg$c286.test(input.charAt(peg$currPos))) { - s0 = input.charAt(peg$currPos); - peg$currPos++; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c287); - } - } - return s0; - } - function peg$parseActionLabel() { - var s0, s1, s2, s3; - peg$silentFails++; - s0 = peg$currPos; - s1 = peg$parseActionLabelQuoteMark(); - if (s1 !== peg$FAILED) { - s2 = []; - s3 = peg$parseActionLabelChar(); - while (s3 !== peg$FAILED) { - s2.push(s3); - s3 = peg$parseActionLabelChar(); - } - if (s2 !== peg$FAILED) { - s3 = peg$parseActionLabelQuoteMark(); - if (s3 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c289(s2); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c288); - } - } - return s0; - } - function peg$parseLineTerminator() { - var s0; - if (peg$c290.test(input.charAt(peg$currPos))) { - s0 = input.charAt(peg$currPos); - peg$currPos++; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c291); - } - } - return s0; - } - function peg$parseBlockCommentTail() { - var s0, s1, s2; - if (input.substr(peg$currPos, 2) === peg$c294) { - s0 = peg$c294; - peg$currPos += 2; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c295); - } - } - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.length > peg$currPos) { - s1 = input.charAt(peg$currPos); - peg$currPos++; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c296); - } - } - if (s1 !== peg$FAILED) { - s2 = peg$parseBlockCommentTail(); - if (s2 !== peg$FAILED) { - s1 = [s1, s2]; - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - return s0; - } - function peg$parseBlockComment() { - var s0, s1, s2; - peg$silentFails++; - s0 = peg$currPos; - if (input.substr(peg$currPos, 2) === peg$c298) { - s1 = peg$c298; - peg$currPos += 2; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c299); - } - } - if (s1 !== peg$FAILED) { - s2 = peg$parseBlockCommentTail(); - if (s2 !== peg$FAILED) { - s1 = [s1, s2]; - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c297); - } - } - return s0; - } - function peg$parseEOF() { - var s0, s1; - s0 = peg$currPos; - peg$silentFails++; - if (input.length > peg$currPos) { - s1 = input.charAt(peg$currPos); - peg$currPos++; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c296); - } - } - peg$silentFails--; - if (s1 === peg$FAILED) { - s0 = void 0; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseLineCommentTail() { - var s0, s1, s2; - s0 = peg$parseLineTerminator(); - if (s0 === peg$FAILED) { - s0 = peg$parseEOF(); - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.length > peg$currPos) { - s1 = input.charAt(peg$currPos); - peg$currPos++; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c296); - } - } - if (s1 !== peg$FAILED) { - s2 = peg$parseLineCommentTail(); - if (s2 !== peg$FAILED) { - s1 = [s1, s2]; - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - } - return s0; - } - function peg$parseLineComment() { - var s0, s1, s2; - peg$silentFails++; - s0 = peg$currPos; - if (input.substr(peg$currPos, 2) === peg$c301) { - s1 = peg$c301; - peg$currPos += 2; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c302); - } - } - if (s1 !== peg$FAILED) { - s2 = peg$parseLineCommentTail(); - if (s2 !== peg$FAILED) { - s1 = [s1, s2]; - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c300); - } - } - return s0; - } - function peg$parseWS() { - var s0, s1, s2; - peg$silentFails++; - s0 = peg$currPos; - s1 = peg$parseBlockComment(); - if (s1 !== peg$FAILED) { - s2 = peg$parseWS(); - if (s2 === peg$FAILED) { - s2 = null; - } - if (s2 !== peg$FAILED) { - s1 = [s1, s2]; - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - if (s0 === peg$FAILED) { - s0 = peg$currPos; - s1 = peg$parseLineComment(); - if (s1 !== peg$FAILED) { - s2 = peg$parseWS(); - if (s2 === peg$FAILED) { - s2 = null; - } - if (s2 !== peg$FAILED) { - s1 = [s1, s2]; - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - if (s0 === peg$FAILED) { - s0 = peg$currPos; - s1 = []; - if (peg$c304.test(input.charAt(peg$currPos))) { - s2 = input.charAt(peg$currPos); - peg$currPos++; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c305); - } - } - if (s2 !== peg$FAILED) { - while (s2 !== peg$FAILED) { - s1.push(s2); - if (peg$c304.test(input.charAt(peg$currPos))) { - s2 = input.charAt(peg$currPos); - peg$currPos++; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c305); - } - } - } - } - else { - s1 = peg$FAILED; - } - if (s1 !== peg$FAILED) { - s2 = peg$parseWS(); - if (s2 === peg$FAILED) { - s2 = null; - } - if (s2 !== peg$FAILED) { - s1 = [s1, s2]; - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c303); - } - } - return s0; - } - function peg$parseString() { - var s0, s1, s2, s3; - peg$silentFails++; - s0 = peg$currPos; - s1 = peg$parseQuoteMark(); - if (s1 !== peg$FAILED) { - s2 = []; - s3 = peg$parseChar(); - while (s3 !== peg$FAILED) { - s2.push(s3); - s3 = peg$parseChar(); - } - if (s2 !== peg$FAILED) { - s3 = peg$parseQuoteMark(); - if (s3 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c289(s2); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c306); - } - } - return s0; - } - function peg$parseAtomFirstLetter() { - var s0; - if (peg$c307.test(input.charAt(peg$currPos))) { - s0 = input.charAt(peg$currPos); - peg$currPos++; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c308); - } - } - return s0; - } - function peg$parseAtomLetter() { - var s0; - if (peg$c309.test(input.charAt(peg$currPos))) { - s0 = input.charAt(peg$currPos); - peg$currPos++; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c310); - } - } - return s0; - } - function peg$parseAtom() { - var s0, s1, s2, s3; - peg$silentFails++; - s0 = peg$currPos; - s1 = peg$parseAtomFirstLetter(); - if (s1 !== peg$FAILED) { - s2 = []; - s3 = peg$parseAtomLetter(); - while (s3 !== peg$FAILED) { - s2.push(s3); - s3 = peg$parseAtomLetter(); - } - if (s2 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c312(s1, s2); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c311); - } - } - return s0; - } - function peg$parseLabel() { - var s0; - peg$silentFails++; - s0 = peg$parseAtom(); - if (s0 === peg$FAILED) { - s0 = peg$parseString(); - } - peg$silentFails--; - if (s0 === peg$FAILED) { - if (peg$silentFails === 0) { - peg$fail(peg$c313); - } - } - return s0; - } - function peg$parseIntegerLiteral() { - var s0, s1, s2, s3; - if (input.charCodeAt(peg$currPos) === 48) { - s0 = peg$c314; - peg$currPos++; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c315); - } - } - if (s0 === peg$FAILED) { - s0 = peg$currPos; - s1 = peg$parseNonZeroDigit(); - if (s1 !== peg$FAILED) { - s2 = []; - s3 = peg$parseDecimalDigit(); - while (s3 !== peg$FAILED) { - s2.push(s3); - s3 = peg$parseDecimalDigit(); - } - if (s2 !== peg$FAILED) { - s1 = [s1, s2]; - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - return s0; - } - function peg$parseDecimalDigit() { - var s0; - if (peg$c316.test(input.charAt(peg$currPos))) { - s0 = input.charAt(peg$currPos); - peg$currPos++; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c317); - } - } - return s0; - } - function peg$parseNonZeroDigit() { - var s0; - if (peg$c318.test(input.charAt(peg$currPos))) { - s0 = input.charAt(peg$currPos); - peg$currPos++; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c319); - } - } - return s0; - } - function peg$parseHexDigit() { - var s0; - if (peg$c320.test(input.charAt(peg$currPos))) { - s0 = input.charAt(peg$currPos); - peg$currPos++; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c321); - } - } - return s0; - } - function peg$parseBinaryDigit() { - var s0; - if (peg$c322.test(input.charAt(peg$currPos))) { - s0 = input.charAt(peg$currPos); - peg$currPos++; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c323); - } - } - return s0; - } - function peg$parseOctalDigit() { - var s0; - if (peg$c322.test(input.charAt(peg$currPos))) { - s0 = input.charAt(peg$currPos); - peg$currPos++; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c323); - } - } - return s0; - } - function peg$parseNonNegNumber() { - var s0, s1, s2, s3, s4; - peg$silentFails++; - s0 = peg$currPos; - s1 = peg$parseIntegerLiteral(); - if (s1 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 46) { - s2 = peg$c325; - peg$currPos++; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c326); - } - } - if (s2 !== peg$FAILED) { - s3 = []; - s4 = peg$parseDecimalDigit(); - while (s4 !== peg$FAILED) { - s3.push(s4); - s4 = peg$parseDecimalDigit(); - } - if (s3 !== peg$FAILED) { - s4 = peg$parseWS(); - if (s4 === peg$FAILED) { - s4 = null; - } - if (s4 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c327(); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - if (s0 === peg$FAILED) { - s0 = peg$currPos; - s1 = peg$parseIntegerLiteral(); - if (s1 !== peg$FAILED) { - s2 = peg$parseWS(); - if (s2 === peg$FAILED) { - s2 = null; - } - if (s2 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c327(); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c324); - } - } - return s0; - } - function peg$parseJsNumericLiteral() { - var s0, s1; - peg$silentFails++; - s0 = peg$currPos; - s1 = peg$parseJsHexIntegerLiteral(); - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c329(s1); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - s1 = peg$parseJsBinaryIntegerLiteral(); - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c329(s1); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - s1 = peg$parseNonJsOctalIntegerLiteral(); - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c329(s1); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - s1 = peg$parseJsDecimalLiteral(); - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c329(s1); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 3) === peg$c330) { - s1 = peg$c330; - peg$currPos += 3; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c331); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c332(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 16) === peg$c333) { - s1 = peg$c333; - peg$currPos += 16; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c334); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c335(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 11) === peg$c336) { - s1 = peg$c336; - peg$currPos += 11; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c337); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c335(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 11) === peg$c338) { - s1 = peg$c338; - peg$currPos += 11; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c339); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c335(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 6) === peg$c340) { - s1 = peg$c340; - peg$currPos += 6; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c341); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c335(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c342) { - s1 = peg$c342; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c343); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c335(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 4) === peg$c344) { - s1 = peg$c344; - peg$currPos += 4; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c345); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c335(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 2) === peg$c346) { - s1 = peg$c346; - peg$currPos += 2; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c347); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c335(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c348) { - s1 = peg$c348; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c349); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c350(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 8) === peg$c351) { - s1 = peg$c351; - peg$currPos += 8; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c352); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c350(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 4) === peg$c353) { - s1 = peg$c353; - peg$currPos += 4; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c354); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c350(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 3) === peg$c355) { - s1 = peg$c355; - peg$currPos += 3; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c356); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c350(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 8734) { - s1 = peg$c357; - peg$currPos++; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c358); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c350(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 7) === peg$c359) { - s1 = peg$c359; - peg$currPos += 7; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c360); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c361(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 2) === peg$c362) { - s1 = peg$c362; - peg$currPos += 2; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c363); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c361(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 949) { - s1 = peg$c364; - peg$currPos++; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c365); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c361(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 2) === peg$c366) { - s1 = peg$c366; - peg$currPos += 2; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c367); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c368(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 2) === peg$c369) { - s1 = peg$c369; - peg$currPos += 2; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c370); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c368(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 960) { - s1 = peg$c371; - peg$currPos++; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c372); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c368(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 11) === peg$c373) { - s1 = peg$c373; - peg$currPos += 11; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c374); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c375(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 69) { - s1 = peg$c376; - peg$currPos++; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c377); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c375(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 101) { - s1 = peg$c378; - peg$currPos++; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c379); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c375(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 400) { - s1 = peg$c380; - peg$currPos++; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c381); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c375(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 8455) { - s1 = peg$c382; - peg$currPos++; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c383); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c375(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 5) === peg$c384) { - s1 = peg$c384; - peg$currPos += 5; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c385); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c386(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 8) === peg$c387) { - s1 = peg$c387; - peg$currPos += 8; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c388); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c389(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 3) === peg$c390) { - s1 = peg$c390; - peg$currPos += 3; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c391); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c392(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 7) === peg$c393) { - s1 = peg$c393; - peg$currPos += 7; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c394); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c392(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 4) === peg$c395) { - s1 = peg$c395; - peg$currPos += 4; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c396); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c397(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 8) === peg$c398) { - s1 = peg$c398; - peg$currPos += 8; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c399); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c397(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 5) === peg$c400) { - s1 = peg$c400; - peg$currPos += 5; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c401); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c402(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 6) === peg$c403) { - s1 = peg$c403; - peg$currPos += 6; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c404); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c405(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 10) === peg$c406) { - s1 = peg$c406; - peg$currPos += 10; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c407); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c408(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 10) === peg$c409) { - s1 = peg$c409; - peg$currPos += 10; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c410); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c411(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c412) { - s1 = peg$c412; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c413); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c414(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c415) { - s1 = peg$c415; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c416); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c417(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 3) === peg$c418) { - s1 = peg$c418; - peg$currPos += 3; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c419); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c420(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 2) === peg$c421) { - s1 = peg$c421; - peg$currPos += 2; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c422); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c420(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 2) === peg$c423) { - s1 = peg$c423; - peg$currPos += 2; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c424); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c420(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 981) { - s1 = peg$c425; - peg$currPos++; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c426); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c420(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 966) { - s1 = peg$c427; - peg$currPos++; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c428); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c420(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 13) === peg$c429) { - s1 = peg$c429; - peg$currPos += 13; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c430); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c431(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 947) { - s1 = peg$c432; - peg$currPos++; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c433); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c431(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 2) === peg$c434) { - s1 = peg$c434; - peg$currPos += 2; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c435); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c431(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 947) { - s1 = peg$c432; - peg$currPos++; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c433); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c431(); - } - s0 = s1; - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c328); - } - } - return s0; - } - function peg$parseJsDecimalLiteral() { - var s0, s1, s2, s3, s4; - s0 = peg$currPos; - s1 = peg$parseJsDecimalIntegerLiteral(); - if (s1 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 46) { - s2 = peg$c325; - peg$currPos++; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c326); - } - } - if (s2 !== peg$FAILED) { - s3 = []; - s4 = peg$parseDecimalDigit(); - while (s4 !== peg$FAILED) { - s3.push(s4); - s4 = peg$parseDecimalDigit(); - } - if (s3 !== peg$FAILED) { - s4 = peg$parseJsNExponentPart(); - if (s4 === peg$FAILED) { - s4 = null; - } - if (s4 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c327(); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 46) { - s1 = peg$c325; - peg$currPos++; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c326); - } - } - if (s1 !== peg$FAILED) { - s2 = []; - s3 = peg$parseDecimalDigit(); - if (s3 !== peg$FAILED) { - while (s3 !== peg$FAILED) { - s2.push(s3); - s3 = peg$parseDecimalDigit(); - } - } - else { - s2 = peg$FAILED; - } - if (s2 !== peg$FAILED) { - s3 = peg$parseJsNExponentPart(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c327(); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - if (s0 === peg$FAILED) { - s0 = peg$currPos; - s1 = peg$parseJsDecimalIntegerLiteral(); - if (s1 !== peg$FAILED) { - s2 = peg$parseJsNExponentPart(); - if (s2 === peg$FAILED) { - s2 = null; - } - if (s2 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c327(); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - } - return s0; - } - function peg$parseJsDecimalIntegerLiteral() { - var s0, s1, s2, s3; - if (input.charCodeAt(peg$currPos) === 48) { - s0 = peg$c314; - peg$currPos++; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c315); - } - } - if (s0 === peg$FAILED) { - s0 = peg$currPos; - s1 = peg$parseNonZeroDigit(); - if (s1 !== peg$FAILED) { - s2 = []; - s3 = peg$parseDecimalDigit(); - while (s3 !== peg$FAILED) { - s2.push(s3); - s3 = peg$parseDecimalDigit(); - } - if (s2 !== peg$FAILED) { - s1 = [s1, s2]; - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - return s0; - } - function peg$parseJsNExponentPart() { - var s0, s1, s2; - s0 = peg$currPos; - s1 = peg$parseJsNExponentIndicator(); - if (s1 !== peg$FAILED) { - s2 = peg$parseJsNSignedInteger(); - if (s2 !== peg$FAILED) { - s1 = [s1, s2]; - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseJsNExponentIndicator() { - var s0; - if (input.substr(peg$currPos, 1).toLowerCase() === peg$c378) { - s0 = input.charAt(peg$currPos); - peg$currPos++; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c436); - } - } - return s0; - } - function peg$parseJsNSignedInteger() { - var s0, s1, s2, s3; - s0 = peg$currPos; - if (peg$c437.test(input.charAt(peg$currPos))) { - s1 = input.charAt(peg$currPos); - peg$currPos++; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c438); - } - } - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - s2 = []; - s3 = peg$parseDecimalDigit(); - if (s3 !== peg$FAILED) { - while (s3 !== peg$FAILED) { - s2.push(s3); - s3 = peg$parseDecimalDigit(); - } - } - else { - s2 = peg$FAILED; - } - if (s2 !== peg$FAILED) { - s1 = [s1, s2]; - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseJsHexIntegerLiteral() { - var s0, s1, s2, s3, s4; - s0 = peg$currPos; - if (input.substr(peg$currPos, 2).toLowerCase() === peg$c439) { - s1 = input.substr(peg$currPos, 2); - peg$currPos += 2; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c440); - } - } - if (s1 !== peg$FAILED) { - s2 = peg$currPos; - s3 = []; - s4 = peg$parseHexDigit(); - if (s4 !== peg$FAILED) { - while (s4 !== peg$FAILED) { - s3.push(s4); - s4 = peg$parseHexDigit(); - } - } - else { - s3 = peg$FAILED; - } - if (s3 !== peg$FAILED) { - s2 = input.substring(s2, peg$currPos); - } - else { - s2 = s3; - } - if (s2 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c441(s2); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseJsBinaryIntegerLiteral() { - var s0, s1, s2, s3, s4; - s0 = peg$currPos; - if (input.substr(peg$currPos, 2).toLowerCase() === peg$c442) { - s1 = input.substr(peg$currPos, 2); - peg$currPos += 2; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c443); - } - } - if (s1 !== peg$FAILED) { - s2 = peg$currPos; - s3 = []; - s4 = peg$parseBinaryDigit(); - if (s4 !== peg$FAILED) { - while (s4 !== peg$FAILED) { - s3.push(s4); - s4 = peg$parseBinaryDigit(); - } - } - else { - s3 = peg$FAILED; - } - if (s3 !== peg$FAILED) { - s2 = input.substring(s2, peg$currPos); - } - else { - s2 = s3; - } - if (s2 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c444(s2); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseNonJsOctalIntegerLiteral() { - var s0, s1, s2, s3, s4; - s0 = peg$currPos; - if (input.substr(peg$currPos, 2).toLowerCase() === peg$c445) { - s1 = input.substr(peg$currPos, 2); - peg$currPos += 2; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c446); - } - } - if (s1 !== peg$FAILED) { - s2 = peg$currPos; - s3 = []; - s4 = peg$parseOctalDigit(); - if (s4 !== peg$FAILED) { - while (s4 !== peg$FAILED) { - s3.push(s4); - s4 = peg$parseOctalDigit(); - } - } - else { - s3 = peg$FAILED; - } - if (s3 !== peg$FAILED) { - s2 = input.substring(s2, peg$currPos); - } - else { - s2 = s3; - } - if (s2 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c447(s2); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseSemVer() { - var s0, s1, s2, s3, s4, s5; - s0 = peg$currPos; - s1 = peg$parseIntegerLiteral(); - if (s1 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 46) { - s2 = peg$c325; - peg$currPos++; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c326); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseIntegerLiteral(); - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 46) { - s4 = peg$c325; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c326); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseIntegerLiteral(); - if (s5 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c448(s1, s3, s5); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseUrlProtocol() { - var s0; - if (input.substr(peg$currPos, 7) === peg$c459) { - s0 = peg$c459; - peg$currPos += 7; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c460); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 8) === peg$c461) { - s0 = peg$c461; - peg$currPos += 8; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c462); - } - } - } - return s0; - } - function peg$parseURL() { - var s0, s1, s2, s3; - s0 = peg$currPos; - s1 = peg$parseUrlProtocol(); - if (s1 !== peg$FAILED) { - s2 = []; - if (peg$c463.test(input.charAt(peg$currPos))) { - s3 = input.charAt(peg$currPos); - peg$currPos++; - } - else { - s3 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c464); - } - } - if (s3 !== peg$FAILED) { - while (s3 !== peg$FAILED) { - s2.push(s3); - if (peg$c463.test(input.charAt(peg$currPos))) { - s3 = input.charAt(peg$currPos); - peg$currPos++; - } - else { - s3 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c464); - } - } - } - } - else { - s2 = peg$FAILED; - } - if (s2 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c465(); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseSvgColorLabel() { - var s0, s1; - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c466) { - s1 = peg$c466; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c467); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c468(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c469) { - s1 = peg$c469; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c470); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c468(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 12) === peg$c471) { - s1 = peg$c471; - peg$currPos += 12; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c472); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c473(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 12) === peg$c474) { - s1 = peg$c474; - peg$currPos += 12; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c475); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c473(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 10) === peg$c476) { - s1 = peg$c476; - peg$currPos += 10; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c477); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c478(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 10) === peg$c479) { - s1 = peg$c479; - peg$currPos += 10; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c480); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c478(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 4) === peg$c481) { - s1 = peg$c481; - peg$currPos += 4; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c482); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c483(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 4) === peg$c484) { - s1 = peg$c484; - peg$currPos += 4; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c485); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c483(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 5) === peg$c486) { - s1 = peg$c486; - peg$currPos += 5; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c487); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c488(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 5) === peg$c489) { - s1 = peg$c489; - peg$currPos += 5; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c490); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c488(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 5) === peg$c491) { - s1 = peg$c491; - peg$currPos += 5; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c492); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c493(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 5) === peg$c494) { - s1 = peg$c494; - peg$currPos += 5; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c495); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c493(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 6) === peg$c496) { - s1 = peg$c496; - peg$currPos += 6; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c497); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c498(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 6) === peg$c499) { - s1 = peg$c499; - peg$currPos += 6; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c500); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c498(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 5) === peg$c501) { - s1 = peg$c501; - peg$currPos += 5; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c502); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c503(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 5) === peg$c504) { - s1 = peg$c504; - peg$currPos += 5; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c505); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c503(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 14) === peg$c506) { - s1 = peg$c506; - peg$currPos += 14; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c507); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c508(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 14) === peg$c509) { - s1 = peg$c509; - peg$currPos += 14; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c510); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c508(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 10) === peg$c511) { - s1 = peg$c511; - peg$currPos += 10; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c512); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c513(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 10) === peg$c514) { - s1 = peg$c514; - peg$currPos += 10; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c515); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c513(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 4) === peg$c516) { - s1 = peg$c516; - peg$currPos += 4; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c517); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c518(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 4) === peg$c519) { - s1 = peg$c519; - peg$currPos += 4; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c520); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c518(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 5) === peg$c521) { - s1 = peg$c521; - peg$currPos += 5; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c522); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c523(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 5) === peg$c524) { - s1 = peg$c524; - peg$currPos += 5; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c525); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c523(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c526) { - s1 = peg$c526; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c527); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c528(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c529) { - s1 = peg$c529; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c530); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c528(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c531) { - s1 = peg$c531; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c532); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c533(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c534) { - s1 = peg$c534; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c535); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c533(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 10) === peg$c536) { - s1 = peg$c536; - peg$currPos += 10; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c537); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c538(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 10) === peg$c539) { - s1 = peg$c539; - peg$currPos += 10; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c540); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c538(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c541) { - s1 = peg$c541; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c542); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c543(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c544) { - s1 = peg$c544; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c545); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c543(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 5) === peg$c546) { - s1 = peg$c546; - peg$currPos += 5; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c547); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c548(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 5) === peg$c549) { - s1 = peg$c549; - peg$currPos += 5; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c550); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c548(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 14) === peg$c551) { - s1 = peg$c551; - peg$currPos += 14; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c552); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c553(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 14) === peg$c554) { - s1 = peg$c554; - peg$currPos += 14; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c555); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c553(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 8) === peg$c556) { - s1 = peg$c556; - peg$currPos += 8; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c557); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c558(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 8) === peg$c559) { - s1 = peg$c559; - peg$currPos += 8; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c560); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c558(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 7) === peg$c561) { - s1 = peg$c561; - peg$currPos += 7; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c562); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c563(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 7) === peg$c564) { - s1 = peg$c564; - peg$currPos += 7; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c565); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c563(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 4) === peg$c566) { - s1 = peg$c566; - peg$currPos += 4; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c567); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c483(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 4) === peg$c568) { - s1 = peg$c568; - peg$currPos += 4; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c569); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c483(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 8) === peg$c570) { - s1 = peg$c570; - peg$currPos += 8; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c571); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c572(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 8) === peg$c573) { - s1 = peg$c573; - peg$currPos += 8; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c574); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c572(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 8) === peg$c575) { - s1 = peg$c575; - peg$currPos += 8; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c576); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c577(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 8) === peg$c578) { - s1 = peg$c578; - peg$currPos += 8; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c579); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c577(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 13) === peg$c580) { - s1 = peg$c580; - peg$currPos += 13; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c581); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c582(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 13) === peg$c583) { - s1 = peg$c583; - peg$currPos += 13; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c584); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c582(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 8) === peg$c585) { - s1 = peg$c585; - peg$currPos += 8; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c586); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c587(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 8) === peg$c588) { - s1 = peg$c588; - peg$currPos += 8; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c589); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c587(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 8) === peg$c590) { - s1 = peg$c590; - peg$currPos += 8; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c591); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c587(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 8) === peg$c592) { - s1 = peg$c592; - peg$currPos += 8; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c593); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c587(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c594) { - s1 = peg$c594; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c595); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c596(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c597) { - s1 = peg$c597; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c598); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c596(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c599) { - s1 = peg$c599; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c600); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c601(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c602) { - s1 = peg$c602; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c603); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c601(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 11) === peg$c604) { - s1 = peg$c604; - peg$currPos += 11; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c605); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c606(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 11) === peg$c607) { - s1 = peg$c607; - peg$currPos += 11; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c608); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c606(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 14) === peg$c609) { - s1 = peg$c609; - peg$currPos += 14; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c610); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c611(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 14) === peg$c612) { - s1 = peg$c612; - peg$currPos += 14; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c613); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c611(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 10) === peg$c614) { - s1 = peg$c614; - peg$currPos += 10; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c615); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c616(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 10) === peg$c617) { - s1 = peg$c617; - peg$currPos += 10; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c618); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c616(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 10) === peg$c619) { - s1 = peg$c619; - peg$currPos += 10; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c620); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c621(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 10) === peg$c622) { - s1 = peg$c622; - peg$currPos += 10; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c623); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c621(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 7) === peg$c624) { - s1 = peg$c624; - peg$currPos += 7; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c625); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c626(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 7) === peg$c627) { - s1 = peg$c627; - peg$currPos += 7; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c628); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c626(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 10) === peg$c629) { - s1 = peg$c629; - peg$currPos += 10; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c630); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c631(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 10) === peg$c632) { - s1 = peg$c632; - peg$currPos += 10; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c633); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c631(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 12) === peg$c634) { - s1 = peg$c634; - peg$currPos += 12; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c635); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c636(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 12) === peg$c637) { - s1 = peg$c637; - peg$currPos += 12; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c638); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c636(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 13) === peg$c639) { - s1 = peg$c639; - peg$currPos += 13; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c640); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c641(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 13) === peg$c642) { - s1 = peg$c642; - peg$currPos += 13; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c643); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c641(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 13) === peg$c644) { - s1 = peg$c644; - peg$currPos += 13; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c645); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c646(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 13) === peg$c647) { - s1 = peg$c647; - peg$currPos += 13; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c648); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c646(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 13) === peg$c649) { - s1 = peg$c649; - peg$currPos += 13; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c650); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c646(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 13) === peg$c651) { - s1 = peg$c651; - peg$currPos += 13; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c652); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c646(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 13) === peg$c653) { - s1 = peg$c653; - peg$currPos += 13; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c654); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c655(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 13) === peg$c656) { - s1 = peg$c656; - peg$currPos += 13; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c657); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c655(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 10) === peg$c658) { - s1 = peg$c658; - peg$currPos += 10; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c659); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c660(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 10) === peg$c661) { - s1 = peg$c661; - peg$currPos += 10; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c662); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c660(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 8) === peg$c663) { - s1 = peg$c663; - peg$currPos += 8; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c664); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c665(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 8) === peg$c666) { - s1 = peg$c666; - peg$currPos += 8; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c667); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c665(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 11) === peg$c668) { - s1 = peg$c668; - peg$currPos += 11; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c669); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c670(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 11) === peg$c671) { - s1 = peg$c671; - peg$currPos += 11; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c672); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c670(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 7) === peg$c673) { - s1 = peg$c673; - peg$currPos += 7; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c674); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c675(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 7) === peg$c676) { - s1 = peg$c676; - peg$currPos += 7; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c677); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c675(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 7) === peg$c678) { - s1 = peg$c678; - peg$currPos += 7; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c679); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c675(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 7) === peg$c680) { - s1 = peg$c680; - peg$currPos += 7; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c681); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c675(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 10) === peg$c682) { - s1 = peg$c682; - peg$currPos += 10; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c683); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c684(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 10) === peg$c685) { - s1 = peg$c685; - peg$currPos += 10; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c686); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c684(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c687) { - s1 = peg$c687; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c688); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c689(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c690) { - s1 = peg$c690; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c691); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c689(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 11) === peg$c692) { - s1 = peg$c692; - peg$currPos += 11; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c693); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c694(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 11) === peg$c695) { - s1 = peg$c695; - peg$currPos += 11; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c696); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c694(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 11) === peg$c697) { - s1 = peg$c697; - peg$currPos += 11; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c698); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c699(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 11) === peg$c700) { - s1 = peg$c700; - peg$currPos += 11; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c701); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c699(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 7) === peg$c702) { - s1 = peg$c702; - peg$currPos += 7; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c703); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c704(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 7) === peg$c705) { - s1 = peg$c705; - peg$currPos += 7; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c706); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c704(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c707) { - s1 = peg$c707; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c708); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c709(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c710) { - s1 = peg$c710; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c711); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c709(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 10) === peg$c712) { - s1 = peg$c712; - peg$currPos += 10; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c713); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c714(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 10) === peg$c715) { - s1 = peg$c715; - peg$currPos += 10; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c716); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c714(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c717) { - s1 = peg$c717; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c718); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c719(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c720) { - s1 = peg$c720; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c721); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c719(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 4) === peg$c722) { - s1 = peg$c722; - peg$currPos += 4; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c723); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c724(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 4) === peg$c725) { - s1 = peg$c725; - peg$currPos += 4; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c726); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c724(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 4) === peg$c727) { - s1 = peg$c727; - peg$currPos += 4; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c728); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c729(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 4) === peg$c730) { - s1 = peg$c730; - peg$currPos += 4; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c731); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c729(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 4) === peg$c732) { - s1 = peg$c732; - peg$currPos += 4; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c733); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c729(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 4) === peg$c734) { - s1 = peg$c734; - peg$currPos += 4; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c735); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c729(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 11) === peg$c736) { - s1 = peg$c736; - peg$currPos += 11; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c737); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c738(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 11) === peg$c739) { - s1 = peg$c739; - peg$currPos += 11; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c740); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c738(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 5) === peg$c741) { - s1 = peg$c741; - peg$currPos += 5; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c742); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c743(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 5) === peg$c744) { - s1 = peg$c744; - peg$currPos += 5; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c745); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c743(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 8) === peg$c746) { - s1 = peg$c746; - peg$currPos += 8; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c747); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c748(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 8) === peg$c749) { - s1 = peg$c749; - peg$currPos += 8; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c750); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c748(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 7) === peg$c751) { - s1 = peg$c751; - peg$currPos += 7; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c752); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c753(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 7) === peg$c754) { - s1 = peg$c754; - peg$currPos += 7; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c755); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c753(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c756) { - s1 = peg$c756; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c757); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c758(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c759) { - s1 = peg$c759; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c760); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c758(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 6) === peg$c761) { - s1 = peg$c761; - peg$currPos += 6; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c762); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c763(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 6) === peg$c764) { - s1 = peg$c764; - peg$currPos += 6; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c765); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c763(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 5) === peg$c766) { - s1 = peg$c766; - peg$currPos += 5; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c767); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c768(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 5) === peg$c769) { - s1 = peg$c769; - peg$currPos += 5; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c770); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c768(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 5) === peg$c771) { - s1 = peg$c771; - peg$currPos += 5; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c772); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c773(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 5) === peg$c774) { - s1 = peg$c774; - peg$currPos += 5; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c775); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c773(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 13) === peg$c776) { - s1 = peg$c776; - peg$currPos += 13; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c777); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c778(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 13) === peg$c779) { - s1 = peg$c779; - peg$currPos += 13; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c780); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c778(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 8) === peg$c781) { - s1 = peg$c781; - peg$currPos += 8; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c782); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c783(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 8) === peg$c784) { - s1 = peg$c784; - peg$currPos += 8; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c785); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c783(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c786) { - s1 = peg$c786; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c787); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c788(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c789) { - s1 = peg$c789; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c790); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c788(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 12) === peg$c791) { - s1 = peg$c791; - peg$currPos += 12; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c792); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c793(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 12) === peg$c794) { - s1 = peg$c794; - peg$currPos += 12; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c795); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c793(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c796) { - s1 = peg$c796; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c797); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c798(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c799) { - s1 = peg$c799; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c800); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c798(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 10) === peg$c801) { - s1 = peg$c801; - peg$currPos += 10; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c802); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c803(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 10) === peg$c804) { - s1 = peg$c804; - peg$currPos += 10; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c805); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c803(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c806) { - s1 = peg$c806; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c807); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c808(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c809) { - s1 = peg$c809; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c810); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c808(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 20) === peg$c811) { - s1 = peg$c811; - peg$currPos += 20; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c812); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c813(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 20) === peg$c814) { - s1 = peg$c814; - peg$currPos += 20; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c815); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c813(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c816) { - s1 = peg$c816; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c817); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c818(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c819) { - s1 = peg$c819; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c820); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c818(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c821) { - s1 = peg$c821; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c822); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c818(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c823) { - s1 = peg$c823; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c824); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c818(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 10) === peg$c825) { - s1 = peg$c825; - peg$currPos += 10; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c826); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c827(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 10) === peg$c828) { - s1 = peg$c828; - peg$currPos += 10; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c829); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c827(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c830) { - s1 = peg$c830; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c831); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c832(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c833) { - s1 = peg$c833; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c834); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c832(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 11) === peg$c835) { - s1 = peg$c835; - peg$currPos += 11; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c836); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c837(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 11) === peg$c838) { - s1 = peg$c838; - peg$currPos += 11; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c839); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c837(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 13) === peg$c840) { - s1 = peg$c840; - peg$currPos += 13; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c841); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c842(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 13) === peg$c843) { - s1 = peg$c843; - peg$currPos += 13; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c844); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c842(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 12) === peg$c845) { - s1 = peg$c845; - peg$currPos += 12; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c846); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c847(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 12) === peg$c848) { - s1 = peg$c848; - peg$currPos += 12; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c849); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c847(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 14) === peg$c850) { - s1 = peg$c850; - peg$currPos += 14; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c851); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c852(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 14) === peg$c853) { - s1 = peg$c853; - peg$currPos += 14; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c854); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c852(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 14) === peg$c855) { - s1 = peg$c855; - peg$currPos += 14; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c856); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c852(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 14) === peg$c857) { - s1 = peg$c857; - peg$currPos += 14; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c858); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c852(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 14) === peg$c859) { - s1 = peg$c859; - peg$currPos += 14; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c860); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c861(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 14) === peg$c862) { - s1 = peg$c862; - peg$currPos += 14; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c863); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c861(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 11) === peg$c864) { - s1 = peg$c864; - peg$currPos += 11; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c865); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c866(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 11) === peg$c867) { - s1 = peg$c867; - peg$currPos += 11; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c868); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c866(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c869) { - s1 = peg$c869; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c870); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c871(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c872) { - s1 = peg$c872; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c873); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c871(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 4) === peg$c874) { - s1 = peg$c874; - peg$currPos += 4; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c875); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c876(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 4) === peg$c877) { - s1 = peg$c877; - peg$currPos += 4; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c878); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c876(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 5) === peg$c879) { - s1 = peg$c879; - peg$currPos += 5; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c880); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c881(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 5) === peg$c882) { - s1 = peg$c882; - peg$currPos += 5; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c883); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c881(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 7) === peg$c884) { - s1 = peg$c884; - peg$currPos += 7; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c885); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c704(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 7) === peg$c886) { - s1 = peg$c886; - peg$currPos += 7; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c887); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c704(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 6) === peg$c888) { - s1 = peg$c888; - peg$currPos += 6; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c889); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c890(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 6) === peg$c891) { - s1 = peg$c891; - peg$currPos += 6; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c892); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c890(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 16) === peg$c893) { - s1 = peg$c893; - peg$currPos += 16; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c894); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c895(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 16) === peg$c896) { - s1 = peg$c896; - peg$currPos += 16; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c897); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c895(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 10) === peg$c898) { - s1 = peg$c898; - peg$currPos += 10; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c899); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c900(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 10) === peg$c901) { - s1 = peg$c901; - peg$currPos += 10; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c902); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c900(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 12) === peg$c903) { - s1 = peg$c903; - peg$currPos += 12; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c904); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c905(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 12) === peg$c906) { - s1 = peg$c906; - peg$currPos += 12; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c907); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c905(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 12) === peg$c908) { - s1 = peg$c908; - peg$currPos += 12; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c909); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c910(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 12) === peg$c911) { - s1 = peg$c911; - peg$currPos += 12; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c912); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c910(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 14) === peg$c913) { - s1 = peg$c913; - peg$currPos += 14; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c914); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c915(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 14) === peg$c916) { - s1 = peg$c916; - peg$currPos += 14; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c917); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c915(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 15) === peg$c918) { - s1 = peg$c918; - peg$currPos += 15; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c919); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c920(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 15) === peg$c921) { - s1 = peg$c921; - peg$currPos += 15; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c922); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c920(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 17) === peg$c923) { - s1 = peg$c923; - peg$currPos += 17; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c924); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c925(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 17) === peg$c926) { - s1 = peg$c926; - peg$currPos += 17; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c927); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c925(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 15) === peg$c928) { - s1 = peg$c928; - peg$currPos += 15; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c929); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c930(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 15) === peg$c931) { - s1 = peg$c931; - peg$currPos += 15; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c932); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c930(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 15) === peg$c933) { - s1 = peg$c933; - peg$currPos += 15; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c934); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c935(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 15) === peg$c936) { - s1 = peg$c936; - peg$currPos += 15; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c937); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c935(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 12) === peg$c938) { - s1 = peg$c938; - peg$currPos += 12; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c939); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c940(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 12) === peg$c941) { - s1 = peg$c941; - peg$currPos += 12; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c942); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c940(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c943) { - s1 = peg$c943; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c944); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c945(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c946) { - s1 = peg$c946; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c947); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c945(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c948) { - s1 = peg$c948; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c949); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c950(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c951) { - s1 = peg$c951; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c952); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c950(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 8) === peg$c953) { - s1 = peg$c953; - peg$currPos += 8; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c954); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c955(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 8) === peg$c956) { - s1 = peg$c956; - peg$currPos += 8; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c957); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c955(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 11) === peg$c958) { - s1 = peg$c958; - peg$currPos += 11; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c959); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c960(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 11) === peg$c961) { - s1 = peg$c961; - peg$currPos += 11; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c962); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c960(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 4) === peg$c963) { - s1 = peg$c963; - peg$currPos += 4; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c964); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c965(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 4) === peg$c966) { - s1 = peg$c966; - peg$currPos += 4; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c967); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c965(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 7) === peg$c968) { - s1 = peg$c968; - peg$currPos += 7; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c969); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c970(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 7) === peg$c971) { - s1 = peg$c971; - peg$currPos += 7; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c972); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c970(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c973) { - s1 = peg$c973; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c974); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c975(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c976) { - s1 = peg$c976; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c977); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c975(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 5) === peg$c978) { - s1 = peg$c978; - peg$currPos += 5; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c979); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c980(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 5) === peg$c981) { - s1 = peg$c981; - peg$currPos += 5; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c982); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c980(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c983) { - s1 = peg$c983; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c984); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c985(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c986) { - s1 = peg$c986; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c987); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c985(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 6) === peg$c988) { - s1 = peg$c988; - peg$currPos += 6; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c989); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c990(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 6) === peg$c991) { - s1 = peg$c991; - peg$currPos += 6; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c992); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c990(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 6) === peg$c993) { - s1 = peg$c993; - peg$currPos += 6; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c994); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c995(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 6) === peg$c996) { - s1 = peg$c996; - peg$currPos += 6; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c997); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c995(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 13) === peg$c998) { - s1 = peg$c998; - peg$currPos += 13; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c999); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1000(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 13) === peg$c1001) { - s1 = peg$c1001; - peg$currPos += 13; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1002); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1000(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c1003) { - s1 = peg$c1003; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1004); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1005(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c1006) { - s1 = peg$c1006; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1007); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1005(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 13) === peg$c1008) { - s1 = peg$c1008; - peg$currPos += 13; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1009); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1010(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 13) === peg$c1011) { - s1 = peg$c1011; - peg$currPos += 13; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1012); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1010(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 13) === peg$c1013) { - s1 = peg$c1013; - peg$currPos += 13; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1014); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1015(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 13) === peg$c1016) { - s1 = peg$c1016; - peg$currPos += 13; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1017); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1015(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 10) === peg$c1018) { - s1 = peg$c1018; - peg$currPos += 10; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1019); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1020(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 10) === peg$c1021) { - s1 = peg$c1021; - peg$currPos += 10; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1022); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1020(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c1023) { - s1 = peg$c1023; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1024); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1025(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c1026) { - s1 = peg$c1026; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1027); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1025(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 4) === peg$c1028) { - s1 = peg$c1028; - peg$currPos += 4; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1029); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1030(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 4) === peg$c1031) { - s1 = peg$c1031; - peg$currPos += 4; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1032); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1030(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 4) === peg$c1033) { - s1 = peg$c1033; - peg$currPos += 4; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1034); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1035(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 4) === peg$c1036) { - s1 = peg$c1036; - peg$currPos += 4; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1037); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1035(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 4) === peg$c1038) { - s1 = peg$c1038; - peg$currPos += 4; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1039); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1040(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 4) === peg$c1041) { - s1 = peg$c1041; - peg$currPos += 4; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1042); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1040(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 10) === peg$c1043) { - s1 = peg$c1043; - peg$currPos += 10; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1044); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1045(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 10) === peg$c1046) { - s1 = peg$c1046; - peg$currPos += 10; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1047); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1045(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 6) === peg$c1048) { - s1 = peg$c1048; - peg$currPos += 6; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1049); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1050(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 6) === peg$c1051) { - s1 = peg$c1051; - peg$currPos += 6; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1052); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1050(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 3) === peg$c1053) { - s1 = peg$c1053; - peg$currPos += 3; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1054); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1055(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 3) === peg$c1056) { - s1 = peg$c1056; - peg$currPos += 3; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1057); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1055(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c1058) { - s1 = peg$c1058; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1059); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1060(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c1061) { - s1 = peg$c1061; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1062); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1060(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c1063) { - s1 = peg$c1063; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1064); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1065(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c1066) { - s1 = peg$c1066; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1067); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1065(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 11) === peg$c1068) { - s1 = peg$c1068; - peg$currPos += 11; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1069); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1070(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 11) === peg$c1071) { - s1 = peg$c1071; - peg$currPos += 11; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1072); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1070(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 6) === peg$c1073) { - s1 = peg$c1073; - peg$currPos += 6; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1074); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1075(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 6) === peg$c1076) { - s1 = peg$c1076; - peg$currPos += 6; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1077); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1075(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 10) === peg$c1078) { - s1 = peg$c1078; - peg$currPos += 10; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1079); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1080(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 10) === peg$c1081) { - s1 = peg$c1081; - peg$currPos += 10; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1082); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1080(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 8) === peg$c1083) { - s1 = peg$c1083; - peg$currPos += 8; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1084); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1085(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 8) === peg$c1086) { - s1 = peg$c1086; - peg$currPos += 8; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1087); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1085(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 8) === peg$c1088) { - s1 = peg$c1088; - peg$currPos += 8; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1089); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1090(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 8) === peg$c1091) { - s1 = peg$c1091; - peg$currPos += 8; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1092); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1090(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 6) === peg$c1093) { - s1 = peg$c1093; - peg$currPos += 6; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1094); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1095(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 6) === peg$c1096) { - s1 = peg$c1096; - peg$currPos += 6; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1097); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1095(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 6) === peg$c1098) { - s1 = peg$c1098; - peg$currPos += 6; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1099); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1100(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 6) === peg$c1101) { - s1 = peg$c1101; - peg$currPos += 6; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1102); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1100(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 7) === peg$c1103) { - s1 = peg$c1103; - peg$currPos += 7; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1104); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1105(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 7) === peg$c1106) { - s1 = peg$c1106; - peg$currPos += 7; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1107); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1105(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c1108) { - s1 = peg$c1108; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1109); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1110(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c1111) { - s1 = peg$c1111; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1112); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1110(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c1113) { - s1 = peg$c1113; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1114); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1115(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c1116) { - s1 = peg$c1116; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1117); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1115(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c1118) { - s1 = peg$c1118; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1119); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1115(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c1120) { - s1 = peg$c1120; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1121); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1115(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 4) === peg$c1122) { - s1 = peg$c1122; - peg$currPos += 4; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1123); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1124(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 4) === peg$c1125) { - s1 = peg$c1125; - peg$currPos += 4; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1126); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1124(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 11) === peg$c1127) { - s1 = peg$c1127; - peg$currPos += 11; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1128); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1129(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 11) === peg$c1130) { - s1 = peg$c1130; - peg$currPos += 11; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1131); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1129(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c1132) { - s1 = peg$c1132; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1133); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1134(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c1135) { - s1 = peg$c1135; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1136); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1134(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 3) === peg$c1137) { - s1 = peg$c1137; - peg$currPos += 3; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1138); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1139(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 3) === peg$c1140) { - s1 = peg$c1140; - peg$currPos += 3; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1141); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1139(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 4) === peg$c1142) { - s1 = peg$c1142; - peg$currPos += 4; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1143); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1144(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 4) === peg$c1145) { - s1 = peg$c1145; - peg$currPos += 4; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1146); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1144(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 7) === peg$c1147) { - s1 = peg$c1147; - peg$currPos += 7; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1148); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1149(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 7) === peg$c1150) { - s1 = peg$c1150; - peg$currPos += 7; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1151); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1149(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 6) === peg$c1152) { - s1 = peg$c1152; - peg$currPos += 6; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1153); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1154(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 6) === peg$c1155) { - s1 = peg$c1155; - peg$currPos += 6; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1156); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1154(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c1157) { - s1 = peg$c1157; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1158); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1159(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c1160) { - s1 = peg$c1160; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1161); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1159(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 6) === peg$c1162) { - s1 = peg$c1162; - peg$currPos += 6; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1163); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1164(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 6) === peg$c1165) { - s1 = peg$c1165; - peg$currPos += 6; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1166); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1164(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 5) === peg$c1167) { - s1 = peg$c1167; - peg$currPos += 5; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1168); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1169(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 5) === peg$c1170) { - s1 = peg$c1170; - peg$currPos += 5; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1171); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1169(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 10) === peg$c1172) { - s1 = peg$c1172; - peg$currPos += 10; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1173); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1174(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 10) === peg$c1175) { - s1 = peg$c1175; - peg$currPos += 10; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1176); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1174(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 5) === peg$c1177) { - s1 = peg$c1177; - peg$currPos += 5; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1178); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1179(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 5) === peg$c1180) { - s1 = peg$c1180; - peg$currPos += 5; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1181); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1179(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 11) === peg$c1182) { - s1 = peg$c1182; - peg$currPos += 11; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1183); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1184(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 11) === peg$c1185) { - s1 = peg$c1185; - peg$currPos += 11; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1186); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1184(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 6) === peg$c1187) { - s1 = peg$c1187; - peg$currPos += 6; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1188); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1189(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 6) === peg$c1190) { - s1 = peg$c1190; - peg$currPos += 6; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1191); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1189(); - } - s0 = s1; - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - return s0; - } - function peg$parseSvgColor() { - var s0, s1, s2; - s0 = peg$currPos; - s1 = peg$parseSvgColorLabel(); - if (s1 !== peg$FAILED) { - s2 = peg$parseWS(); - if (s2 === peg$FAILED) { - s2 = null; - } - if (s2 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1192(s1); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseRgb3() { - var s0, s1, s2, s3, s4, s5; - s0 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 35) { - s1 = peg$c1193; - peg$currPos++; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1194); - } - } - if (s1 !== peg$FAILED) { - s2 = peg$parseHexDigit(); - if (s2 !== peg$FAILED) { - s3 = peg$parseHexDigit(); - if (s3 !== peg$FAILED) { - s4 = peg$parseHexDigit(); - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1195(s2, s3, s4); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseRgb6() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8; - s0 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 35) { - s1 = peg$c1193; - peg$currPos++; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1194); - } - } - if (s1 !== peg$FAILED) { - s2 = peg$parseHexDigit(); - if (s2 !== peg$FAILED) { - s3 = peg$parseHexDigit(); - if (s3 !== peg$FAILED) { - s4 = peg$parseHexDigit(); - if (s4 !== peg$FAILED) { - s5 = peg$parseHexDigit(); - if (s5 !== peg$FAILED) { - s6 = peg$parseHexDigit(); - if (s6 !== peg$FAILED) { - s7 = peg$parseHexDigit(); - if (s7 !== peg$FAILED) { - s8 = peg$parseWS(); - if (s8 === peg$FAILED) { - s8 = null; - } - if (s8 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1196(s2, s3, s4, s5, s6, s7); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseRgba4() { - var s0, s1, s2, s3, s4, s5, s6; - s0 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 35) { - s1 = peg$c1193; - peg$currPos++; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1194); - } - } - if (s1 !== peg$FAILED) { - s2 = peg$parseHexDigit(); - if (s2 !== peg$FAILED) { - s3 = peg$parseHexDigit(); - if (s3 !== peg$FAILED) { - s4 = peg$parseHexDigit(); - if (s4 !== peg$FAILED) { - s5 = peg$parseHexDigit(); - if (s5 !== peg$FAILED) { - s6 = peg$parseWS(); - if (s6 === peg$FAILED) { - s6 = null; - } - if (s6 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1197(s2, s3, s4, s5); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseRgba8() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10; - s0 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 35) { - s1 = peg$c1193; - peg$currPos++; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1194); - } - } - if (s1 !== peg$FAILED) { - s2 = peg$parseHexDigit(); - if (s2 !== peg$FAILED) { - s3 = peg$parseHexDigit(); - if (s3 !== peg$FAILED) { - s4 = peg$parseHexDigit(); - if (s4 !== peg$FAILED) { - s5 = peg$parseHexDigit(); - if (s5 !== peg$FAILED) { - s6 = peg$parseHexDigit(); - if (s6 !== peg$FAILED) { - s7 = peg$parseHexDigit(); - if (s7 !== peg$FAILED) { - s8 = peg$parseHexDigit(); - if (s8 !== peg$FAILED) { - s9 = peg$parseHexDigit(); - if (s9 !== peg$FAILED) { - s10 = peg$parseWS(); - if (s10 === peg$FAILED) { - s10 = null; - } - if (s10 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1198(s2, s3, s4, s5, s6, s7, s8, s9); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseColor() { - var s0; - peg$silentFails++; - s0 = peg$parseSvgColor(); - if (s0 === peg$FAILED) { - s0 = peg$parseRgba8(); - if (s0 === peg$FAILED) { - s0 = peg$parseRgb6(); - if (s0 === peg$FAILED) { - s0 = peg$parseRgba4(); - if (s0 === peg$FAILED) { - s0 = peg$parseRgb3(); - } - } - } - } - peg$silentFails--; - if (s0 === peg$FAILED) { - if (peg$silentFails === 0) { - peg$fail(peg$c1199); - } - } - return s0; - } - function peg$parseArrowItemKey() { - var s0; - if (input.substr(peg$currPos, 9) === peg$c1200) { - s0 = peg$c1200; - peg$currPos += 9; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1201); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 10) === peg$c1202) { - s0 = peg$c1202; - peg$currPos += 10; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1203); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 10) === peg$c1204) { - s0 = peg$c1204; - peg$currPos += 10; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1205); - } - } - } - } - return s0; - } - function peg$parseArrowItem() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - s2 = peg$parseArrowItemKey(); - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1206; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1207); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - s6 = peg$parseLabel(); - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s8 = peg$c1208; - peg$currPos++; - } - else { - s8 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1209); - } - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1210(s2, s6); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseSingleEdgeColor() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; - peg$silentFails++; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 10) === peg$c1212) { - s2 = peg$c1212; - peg$currPos += 10; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1213); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1206; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1207); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - s6 = peg$parseColor(); - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s8 = peg$c1208; - peg$currPos++; - } - else { - s8 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1209); - } - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1214(s6); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1211); - } - } - return s0; - } - function peg$parseTransitionLineStyle() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; - peg$silentFails++; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 10) === peg$c1216) { - s2 = peg$c1216; - peg$currPos += 10; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1217); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1206; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1207); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - s6 = peg$parseLineStyle(); - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s8 = peg$c1208; - peg$currPos++; - } - else { - s8 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1209); - } - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1218(s6); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1215); - } - } - return s0; - } - function peg$parseArrowItems() { - var s0, s1; - s0 = peg$parseSingleEdgeColor(); - if (s0 === peg$FAILED) { - s0 = peg$parseTransitionLineStyle(); - if (s0 === peg$FAILED) { - s0 = []; - s1 = peg$parseArrowItem(); - if (s1 !== peg$FAILED) { - while (s1 !== peg$FAILED) { - s0.push(s1); - s1 = peg$parseArrowItem(); - } - } - else { - s0 = peg$FAILED; - } - } - } - return s0; - } - function peg$parseArrowDesc() { - var s0, s1, s2, s3, s4, s5; - s0 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 123) { - s1 = peg$c1219; - peg$currPos++; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1220); - } - } - if (s1 !== peg$FAILED) { - s2 = peg$parseWS(); - if (s2 === peg$FAILED) { - s2 = null; - } - if (s2 !== peg$FAILED) { - s3 = peg$parseArrowItems(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - s4 = peg$parseWS(); - if (s4 === peg$FAILED) { - s4 = null; - } - if (s4 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 125) { - s5 = peg$c1221; - peg$currPos++; - } - else { - s5 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1222); - } - } - if (s5 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1223(s3); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseArrowProbability() { - var s0, s1, s2; - s0 = peg$currPos; - s1 = peg$parseNonNegNumber(); - if (s1 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 37) { - s2 = peg$c1224; - peg$currPos++; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1225); - } - } - if (s2 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1226(s1); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseLabelList() { - var s0, s1, s2, s3, s4, s5, s6; - s0 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 91) { - s1 = peg$c11; - peg$currPos++; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c12); - } - } - if (s1 !== peg$FAILED) { - s2 = peg$parseWS(); - if (s2 === peg$FAILED) { - s2 = null; - } - if (s2 !== peg$FAILED) { - s3 = []; - s4 = peg$currPos; - s5 = peg$parseLabel(); - if (s5 !== peg$FAILED) { - s6 = peg$parseWS(); - if (s6 === peg$FAILED) { - s6 = null; - } - if (s6 !== peg$FAILED) { - s5 = [s5, s6]; - s4 = s5; - } - else { - peg$currPos = s4; - s4 = peg$FAILED; - } - } - else { - peg$currPos = s4; - s4 = peg$FAILED; - } - while (s4 !== peg$FAILED) { - s3.push(s4); - s4 = peg$currPos; - s5 = peg$parseLabel(); - if (s5 !== peg$FAILED) { - s6 = peg$parseWS(); - if (s6 === peg$FAILED) { - s6 = null; - } - if (s6 !== peg$FAILED) { - s5 = [s5, s6]; - s4 = s5; - } - else { - peg$currPos = s4; - s4 = peg$FAILED; - } - } - else { - peg$currPos = s4; - s4 = peg$FAILED; - } - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 93) { - s4 = peg$c13; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c14); - } - } - if (s4 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1227(s3); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseLabelOrLabelList() { - var s0; - s0 = peg$parseLabelList(); - if (s0 === peg$FAILED) { - s0 = peg$parseLabel(); - } - return s0; - } - function peg$parseStripe() { - var s0, s1, s2, s3, s4; - s0 = peg$currPos; - if (input.substr(peg$currPos, 2) === peg$c1228) { - s1 = peg$c1228; - peg$currPos += 2; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1229); - } - } - if (s1 !== peg$FAILED) { - s2 = peg$parseNonZeroDigit(); - if (s2 !== peg$FAILED) { - s3 = []; - s4 = peg$parseDecimalDigit(); - while (s4 !== peg$FAILED) { - s3.push(s4); - s4 = peg$parseDecimalDigit(); - } - if (s3 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1230(s2, s3); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 2) === peg$c1231) { - s1 = peg$c1231; - peg$currPos += 2; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1232); - } - } - if (s1 !== peg$FAILED) { - s2 = peg$parseNonZeroDigit(); - if (s2 !== peg$FAILED) { - s3 = []; - s4 = peg$parseDecimalDigit(); - while (s4 !== peg$FAILED) { - s3.push(s4); - s4 = peg$parseDecimalDigit(); - } - if (s3 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1233(s2, s3); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - return s0; - } - function peg$parseCycle() { - var s0, s1, s2, s3, s4; - s0 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 43) { - s1 = peg$c1234; - peg$currPos++; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1235); - } - } - if (s1 !== peg$FAILED) { - s2 = peg$parseNonZeroDigit(); - if (s2 !== peg$FAILED) { - s3 = []; - s4 = peg$parseDecimalDigit(); - while (s4 !== peg$FAILED) { - s3.push(s4); - s4 = peg$parseDecimalDigit(); - } - if (s3 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1236(s2, s3); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 45) { - s1 = peg$c1237; - peg$currPos++; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1238); - } - } - if (s1 !== peg$FAILED) { - s2 = peg$parseNonZeroDigit(); - if (s2 !== peg$FAILED) { - s3 = []; - s4 = peg$parseDecimalDigit(); - while (s4 !== peg$FAILED) { - s3.push(s4); - s4 = peg$parseDecimalDigit(); - } - if (s3 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1239(s2, s3); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 2) === peg$c1240) { - s1 = peg$c1240; - peg$currPos += 2; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1241); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1242(); - } - s0 = s1; - } - } - return s0; - } - function peg$parseArrowTarget() { - var s0; - s0 = peg$parseStripe(); - if (s0 === peg$FAILED) { - s0 = peg$parseCycle(); - if (s0 === peg$FAILED) { - s0 = peg$parseLabelList(); - if (s0 === peg$FAILED) { - s0 = peg$parseLabel(); - } - } - } - return s0; - } - function peg$parseSubexp() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12, s13, s14, s15, s16, s17, s18; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - s2 = peg$parseActionLabel(); - if (s2 === peg$FAILED) { - s2 = null; - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - s4 = peg$parseArrowProbability(); - if (s4 === peg$FAILED) { - s4 = null; - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - s6 = peg$parseArrowDesc(); - if (s6 === peg$FAILED) { - s6 = null; - } - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - s8 = peg$parseArrow(); - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - s10 = peg$parseArrowDesc(); - if (s10 === peg$FAILED) { - s10 = null; - } - if (s10 !== peg$FAILED) { - s11 = peg$parseWS(); - if (s11 === peg$FAILED) { - s11 = null; - } - if (s11 !== peg$FAILED) { - s12 = peg$parseArrowProbability(); - if (s12 === peg$FAILED) { - s12 = null; - } - if (s12 !== peg$FAILED) { - s13 = peg$parseWS(); - if (s13 === peg$FAILED) { - s13 = null; - } - if (s13 !== peg$FAILED) { - s14 = peg$parseActionLabel(); - if (s14 === peg$FAILED) { - s14 = null; - } - if (s14 !== peg$FAILED) { - s15 = peg$parseWS(); - if (s15 === peg$FAILED) { - s15 = null; - } - if (s15 !== peg$FAILED) { - s16 = peg$parseArrowTarget(); - if (s16 !== peg$FAILED) { - s17 = peg$parseWS(); - if (s17 === peg$FAILED) { - s17 = null; - } - if (s17 !== peg$FAILED) { - s18 = peg$parseSubexp(); - if (s18 === peg$FAILED) { - s18 = null; - } - if (s18 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1243(s2, s4, s6, s8, s10, s12, s14, s16, s18); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseExp() { - var s0, s1, s2, s3, s4, s5; - s0 = peg$currPos; - s1 = peg$parseArrowTarget(); - if (s1 !== peg$FAILED) { - s2 = peg$parseSubexp(); - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s4 = peg$c1208; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1209); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1244(s1, s2); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseValidationKey() { - var s0; - if (input.substr(peg$currPos, 9) === peg$c1245) { - s0 = peg$c1245; - peg$currPos += 9; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1246); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 4) === peg$c1247) { - s0 = peg$c1247; - peg$currPos += 4; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1248); - } - } - } - return s0; - } - function peg$parseValidationItem() { - var s0, s1, s2, s3, s4; - s0 = peg$currPos; - s1 = peg$parseValidationKey(); - if (s1 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s2 = peg$c1206; - peg$currPos++; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1207); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseLabel(); - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s4 = peg$c1208; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1209); - } - } - if (s4 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1249(s1, s3); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseValidationItems() { - var s0, s1; - s0 = []; - s1 = peg$parseValidationItem(); - if (s1 !== peg$FAILED) { - while (s1 !== peg$FAILED) { - s0.push(s1); - s1 = peg$parseValidationItem(); - } - } - else { - s0 = peg$FAILED; - } - return s0; - } - function peg$parseConfigValidation() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 10) === peg$c1250) { - s2 = peg$c1250; - peg$currPos += 10; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1251); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1206; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1207); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 123) { - s6 = peg$c1219; - peg$currPos++; - } - else { - s6 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1220); - } - } - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - s8 = peg$parseValidationItems(); - if (s8 === peg$FAILED) { - s8 = null; - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - if (input.substr(peg$currPos, 2) === peg$c1252) { - s10 = peg$c1252; - peg$currPos += 2; - } - else { - s10 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1253); - } - } - if (s10 !== peg$FAILED) { - s11 = peg$parseWS(); - if (s11 === peg$FAILED) { - s11 = null; - } - if (s11 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1254(s8); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseGvizLayout() { - var s0; - if (input.substr(peg$currPos, 3) === peg$c1255) { - s0 = peg$c1255; - peg$currPos += 3; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1256); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 5) === peg$c1257) { - s0 = peg$c1257; - peg$currPos += 5; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1258); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 3) === peg$c1259) { - s0 = peg$c1259; - peg$currPos += 3; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1260); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 5) === peg$c1261) { - s0 = peg$c1261; - peg$currPos += 5; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1262); - } - } - } - } - } - return s0; - } - function peg$parseStateItems() { - var s0, s1; - s0 = []; - s1 = peg$parseStateDeclarationItem(); - if (s1 !== peg$FAILED) { - while (s1 !== peg$FAILED) { - s0.push(s1); - s1 = peg$parseStateDeclarationItem(); - } - } - else { - s0 = peg$FAILED; - } - return s0; - } - function peg$parseConfigState() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 5) === peg$c1263) { - s2 = peg$c1263; - peg$currPos += 5; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1264); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1206; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1207); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 123) { - s6 = peg$c1219; - peg$currPos++; - } - else { - s6 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1220); - } - } - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - s8 = peg$parseStateItems(); - if (s8 === peg$FAILED) { - s8 = null; - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - if (input.substr(peg$currPos, 2) === peg$c1252) { - s10 = peg$c1252; - peg$currPos += 2; - } - else { - s10 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1253); - } - } - if (s10 !== peg$FAILED) { - s11 = peg$parseWS(); - if (s11 === peg$FAILED) { - s11 = null; - } - if (s11 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1265(s8); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseConfigStartState() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 11) === peg$c1266) { - s2 = peg$c1266; - peg$currPos += 11; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1267); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1206; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1207); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 123) { - s6 = peg$c1219; - peg$currPos++; - } - else { - s6 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1220); - } - } - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - s8 = peg$parseStateItems(); - if (s8 === peg$FAILED) { - s8 = null; - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - if (input.substr(peg$currPos, 2) === peg$c1252) { - s10 = peg$c1252; - peg$currPos += 2; - } - else { - s10 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1253); - } - } - if (s10 !== peg$FAILED) { - s11 = peg$parseWS(); - if (s11 === peg$FAILED) { - s11 = null; - } - if (s11 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1268(s8); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseConfigEndState() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 9) === peg$c1269) { - s2 = peg$c1269; - peg$currPos += 9; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1270); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1206; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1207); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 123) { - s6 = peg$c1219; - peg$currPos++; - } - else { - s6 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1220); - } - } - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - s8 = peg$parseStateItems(); - if (s8 === peg$FAILED) { - s8 = null; - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - if (input.substr(peg$currPos, 2) === peg$c1252) { - s10 = peg$c1252; - peg$currPos += 2; - } - else { - s10 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1253); - } - } - if (s10 !== peg$FAILED) { - s11 = peg$parseWS(); - if (s11 === peg$FAILED) { - s11 = null; - } - if (s11 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1271(s8); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseConfigActiveState() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 12) === peg$c1272) { - s2 = peg$c1272; - peg$currPos += 12; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1273); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1206; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1207); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 123) { - s6 = peg$c1219; - peg$currPos++; - } - else { - s6 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1220); - } - } - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - s8 = peg$parseStateItems(); - if (s8 === peg$FAILED) { - s8 = null; - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - if (input.substr(peg$currPos, 2) === peg$c1252) { - s10 = peg$c1252; - peg$currPos += 2; - } - else { - s10 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1253); - } - } - if (s10 !== peg$FAILED) { - s11 = peg$parseWS(); - if (s11 === peg$FAILED) { - s11 = null; - } - if (s11 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1274(s8); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseConfigTerminalState() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 14) === peg$c1275) { - s2 = peg$c1275; - peg$currPos += 14; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1276); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1206; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1207); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 123) { - s6 = peg$c1219; - peg$currPos++; - } - else { - s6 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1220); - } - } - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - s8 = peg$parseStateItems(); - if (s8 === peg$FAILED) { - s8 = null; - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - if (input.substr(peg$currPos, 2) === peg$c1252) { - s10 = peg$c1252; - peg$currPos += 2; - } - else { - s10 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1253); - } - } - if (s10 !== peg$FAILED) { - s11 = peg$parseWS(); - if (s11 === peg$FAILED) { - s11 = null; - } - if (s11 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1277(s8); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseConfigHookedState() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 12) === peg$c1278) { - s2 = peg$c1278; - peg$currPos += 12; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1279); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1206; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1207); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 123) { - s6 = peg$c1219; - peg$currPos++; - } - else { - s6 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1220); - } - } - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - s8 = peg$parseStateItems(); - if (s8 === peg$FAILED) { - s8 = null; - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - if (input.substr(peg$currPos, 2) === peg$c1252) { - s10 = peg$c1252; - peg$currPos += 2; - } - else { - s10 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1253); - } - } - if (s10 !== peg$FAILED) { - s11 = peg$parseWS(); - if (s11 === peg$FAILED) { - s11 = null; - } - if (s11 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1280(s8); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseConfigAnyState() { - var s0; - s0 = peg$parseConfigState(); - if (s0 === peg$FAILED) { - s0 = peg$parseConfigStartState(); - if (s0 === peg$FAILED) { - s0 = peg$parseConfigEndState(); - if (s0 === peg$FAILED) { - s0 = peg$parseConfigActiveState(); - if (s0 === peg$FAILED) { - s0 = peg$parseConfigTerminalState(); - if (s0 === peg$FAILED) { - s0 = peg$parseConfigHookedState(); - } - } - } - } - } - return s0; - } - function peg$parseActionKey() { - var s0; - if (input.substr(peg$currPos, 9) === peg$c1245) { - s0 = peg$c1245; - peg$currPos += 9; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1246); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 4) === peg$c1247) { - s0 = peg$c1247; - peg$currPos += 4; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1248); - } - } - } - return s0; - } - function peg$parseActionItem() { - var s0, s1, s2, s3, s4; - s0 = peg$currPos; - s1 = peg$parseActionKey(); - if (s1 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s2 = peg$c1206; - peg$currPos++; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1207); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseLabel(); - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s4 = peg$c1208; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1209); - } - } - if (s4 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1281(s1, s3); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseActionItems() { - var s0, s1; - s0 = []; - s1 = peg$parseActionItem(); - if (s1 !== peg$FAILED) { - while (s1 !== peg$FAILED) { - s0.push(s1); - s1 = peg$parseActionItem(); - } - } - else { - s0 = peg$FAILED; - } - return s0; - } - function peg$parseConfigAction() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 6) === peg$c1282) { - s2 = peg$c1282; - peg$currPos += 6; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1283); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1206; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1207); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 123) { - s6 = peg$c1219; - peg$currPos++; - } - else { - s6 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1220); - } - } - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - s8 = peg$parseActionItems(); - if (s8 === peg$FAILED) { - s8 = null; - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - if (input.substr(peg$currPos, 2) === peg$c1252) { - s10 = peg$c1252; - peg$currPos += 2; - } - else { - s10 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1253); - } - } - if (s10 !== peg$FAILED) { - s11 = peg$parseWS(); - if (s11 === peg$FAILED) { - s11 = null; - } - if (s11 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1284(s8); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseTransitionKey() { - var s0; - if (input.substr(peg$currPos, 9) === peg$c1245) { - s0 = peg$c1245; - peg$currPos += 9; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1246); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 4) === peg$c1247) { - s0 = peg$c1247; - peg$currPos += 4; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1248); - } - } - } - return s0; - } - function peg$parseTransitionItem() { - var s0, s1, s2, s3, s4; - s0 = peg$currPos; - s1 = peg$parseTransitionKey(); - if (s1 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s2 = peg$c1206; - peg$currPos++; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1207); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseLabel(); - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s4 = peg$c1208; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1209); - } - } - if (s4 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1285(s1, s3); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseTransitionItems() { - var s0, s1; - s0 = peg$parseGraphDefaultEdgeColor(); - if (s0 === peg$FAILED) { - s0 = []; - s1 = peg$parseTransitionItem(); - if (s1 !== peg$FAILED) { - while (s1 !== peg$FAILED) { - s0.push(s1); - s1 = peg$parseTransitionItem(); - } - } - else { - s0 = peg$FAILED; - } - } - return s0; - } - function peg$parseGraphDefaultEdgeColor() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; - peg$silentFails++; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 10) === peg$c1212) { - s2 = peg$c1212; - peg$currPos += 10; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1213); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1206; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1207); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - s6 = peg$parseColor(); - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s8 = peg$c1208; - peg$currPos++; - } - else { - s8 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1209); - } - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1287(s6); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1286); - } - } - return s0; - } - function peg$parseConfigTransition() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 10) === peg$c1288) { - s2 = peg$c1288; - peg$currPos += 10; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1289); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1206; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1207); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 123) { - s6 = peg$c1219; - peg$currPos++; - } - else { - s6 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1220); - } - } - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - s8 = peg$parseTransitionItems(); - if (s8 === peg$FAILED) { - s8 = null; - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - if (input.substr(peg$currPos, 2) === peg$c1252) { - s10 = peg$c1252; - peg$currPos += 2; - } - else { - s10 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1253); - } - } - if (s10 !== peg$FAILED) { - s11 = peg$parseWS(); - if (s11 === peg$FAILED) { - s11 = null; - } - if (s11 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1290(s8); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseConfigGraphLayout() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 12) === peg$c1291) { - s2 = peg$c1291; - peg$currPos += 12; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1292); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1206; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1207); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - s6 = peg$parseGvizLayout(); - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s8 = peg$c1208; - peg$currPos++; - } - else { - s8 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1209); - } - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1293(s6); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseConfigStartNodes() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 12) === peg$c1294) { - s2 = peg$c1294; - peg$currPos += 12; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1295); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1206; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1207); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - s6 = peg$parseLabelList(); - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s8 = peg$c1208; - peg$currPos++; - } - else { - s8 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1209); - } - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1296(s6); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseConfigEndNodes() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 10) === peg$c1297) { - s2 = peg$c1297; - peg$currPos += 10; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1298); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1206; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1207); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - s6 = peg$parseLabelList(); - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s8 = peg$c1208; - peg$currPos++; - } - else { - s8 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1209); - } - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1299(s6); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseConfigGraphBgColor() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 14) === peg$c1300) { - s2 = peg$c1300; - peg$currPos += 14; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1301); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1206; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1207); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - s6 = peg$parseColor(); - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s8 = peg$c1208; - peg$currPos++; - } - else { - s8 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1209); - } - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1302(s6); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseConfig() { - var s0; - peg$silentFails++; - s0 = peg$parseConfigGraphLayout(); - if (s0 === peg$FAILED) { - s0 = peg$parseConfigStartNodes(); - if (s0 === peg$FAILED) { - s0 = peg$parseConfigEndNodes(); - if (s0 === peg$FAILED) { - s0 = peg$parseConfigTransition(); - if (s0 === peg$FAILED) { - s0 = peg$parseConfigAction(); - if (s0 === peg$FAILED) { - s0 = peg$parseConfigAnyState(); - if (s0 === peg$FAILED) { - s0 = peg$parseConfigValidation(); - if (s0 === peg$FAILED) { - s0 = peg$parseConfigGraphBgColor(); - } - } - } - } - } - } - } - peg$silentFails--; - if (s0 === peg$FAILED) { - if (peg$silentFails === 0) { - peg$fail(peg$c1303); - } - } - return s0; - } - function peg$parseLicenseOrLabelOrList() { - var s0; - if (input.substr(peg$currPos, 3) === peg$c1304) { - s0 = peg$c1304; - peg$currPos += 3; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1305); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 12) === peg$c1306) { - s0 = peg$c1306; - peg$currPos += 12; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1307); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 12) === peg$c1308) { - s0 = peg$c1308; - peg$currPos += 12; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1309); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 10) === peg$c1310) { - s0 = peg$c1310; - peg$currPos += 10; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1311); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 11) === peg$c1312) { - s0 = peg$c1312; - peg$currPos += 11; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1313); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 13) === peg$c1314) { - s0 = peg$c1314; - peg$currPos += 13; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1315); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 6) === peg$c1316) { - s0 = peg$c1316; - peg$currPos += 6; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1317); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 6) === peg$c1318) { - s0 = peg$c1318; - peg$currPos += 6; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1319); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 9) === peg$c1320) { - s0 = peg$c1320; - peg$currPos += 9; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1321); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 9) === peg$c1322) { - s0 = peg$c1322; - peg$currPos += 9; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1323); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c1324) { - s0 = peg$c1324; - peg$currPos += 7; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1325); - } - } - if (s0 === peg$FAILED) { - s0 = peg$parseLabel(); - if (s0 === peg$FAILED) { - s0 = peg$parseLabelList(); - } - } - } - } - } - } - } - } - } - } - } - } - return s0; - } - function peg$parseDirection() { - var s0; - peg$silentFails++; - if (input.substr(peg$currPos, 2) === peg$c1327) { - s0 = peg$c1327; - peg$currPos += 2; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1328); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 5) === peg$c1329) { - s0 = peg$c1329; - peg$currPos += 5; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1330); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 4) === peg$c1331) { - s0 = peg$c1331; - peg$currPos += 4; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1332); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 4) === peg$c1333) { - s0 = peg$c1333; - peg$currPos += 4; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1334); - } - } - } - } - } - peg$silentFails--; - if (s0 === peg$FAILED) { - if (peg$silentFails === 0) { - peg$fail(peg$c1326); - } - } - return s0; - } - function peg$parseHookDefinition() { - var s0; - peg$silentFails++; - if (input.substr(peg$currPos, 4) === peg$c1336) { - s0 = peg$c1336; - peg$currPos += 4; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1337); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 6) === peg$c1338) { - s0 = peg$c1338; - peg$currPos += 6; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1339); - } - } - } - peg$silentFails--; - if (s0 === peg$FAILED) { - if (peg$silentFails === 0) { - peg$fail(peg$c1335); - } - } - return s0; - } - function peg$parseMachineAuthor() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 14) === peg$c1340) { - s2 = peg$c1340; - peg$currPos += 14; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1341); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1206; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1207); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - s6 = peg$parseLabelOrLabelList(); - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s8 = peg$c1208; - peg$currPos++; - } - else { - s8 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1209); - } - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1342(s6); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseMachineContributor() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 19) === peg$c1343) { - s2 = peg$c1343; - peg$currPos += 19; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1344); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1206; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1207); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - s6 = peg$parseLabelOrLabelList(); - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s8 = peg$c1208; - peg$currPos++; - } - else { - s8 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1209); - } - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1345(s6); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseMachineComment() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 15) === peg$c1346) { - s2 = peg$c1346; - peg$currPos += 15; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1347); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1206; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1207); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - s6 = peg$parseLabelOrLabelList(); - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s8 = peg$c1208; - peg$currPos++; - } - else { - s8 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1209); - } - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1348(s6); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseMachineDefinition() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 18) === peg$c1349) { - s2 = peg$c1349; - peg$currPos += 18; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1350); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1206; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1207); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - s6 = peg$parseURL(); - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s8 = peg$c1208; - peg$currPos++; - } - else { - s8 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1209); - } - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1351(s6); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseMachineName() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 12) === peg$c1352) { - s2 = peg$c1352; - peg$currPos += 12; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1353); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1206; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1207); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - s6 = peg$parseLabel(); - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s8 = peg$c1208; - peg$currPos++; - } - else { - s8 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1209); - } - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1354(s6); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseMachineVersion() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 15) === peg$c1358) { - s2 = peg$c1358; - peg$currPos += 15; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1359); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1206; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1207); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - s6 = peg$parseSemVer(); - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s8 = peg$c1208; - peg$currPos++; - } - else { - s8 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1209); - } - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1360(s6); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseMachineLicense() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 15) === peg$c1361) { - s2 = peg$c1361; - peg$currPos += 15; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1362); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1206; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1207); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - s6 = peg$parseLicenseOrLabelOrList(); - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s8 = peg$c1208; - peg$currPos++; - } - else { - s8 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1209); - } - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1363(s6); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseMachineLanguage() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 16) === peg$c1364) { - s2 = peg$c1364; - peg$currPos += 16; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1365); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1206; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1207); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - s6 = peg$parseLabel(); - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s8 = peg$c1208; - peg$currPos++; - } - else { - s8 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1209); - } - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1366(s6); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseFslVersion() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 11) === peg$c1367) { - s2 = peg$c1367; - peg$currPos += 11; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1368); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1206; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1207); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - s6 = peg$parseSemVer(); - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s8 = peg$c1208; - peg$currPos++; - } - else { - s8 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1209); - } - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1369(s6); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseMachineTheme() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 5) === peg$c1370) { - s2 = peg$c1370; - peg$currPos += 5; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1371); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1206; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1207); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - s6 = peg$parseThemeOrThemeList(); - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s8 = peg$c1208; - peg$currPos++; - } - else { - s8 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1209); - } - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1372(s6); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseMachineFlow() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 4) === peg$c1373) { - s2 = peg$c1373; - peg$currPos += 4; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1374); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1206; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1207); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - s6 = peg$parseDirection(); - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s8 = peg$c1208; - peg$currPos++; - } - else { - s8 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1209); - } - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1375(s6); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseMachineHookDefinition() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 5) === peg$c1376) { - s2 = peg$c1376; - peg$currPos += 5; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1377); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1206; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1207); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - s6 = peg$parseHookDefinition(); - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s8 = peg$c1208; - peg$currPos++; - } - else { - s8 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1209); - } - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1378(s6); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseDotPreamble() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 12) === peg$c1379) { - s2 = peg$c1379; - peg$currPos += 12; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1380); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1206; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1207); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - s6 = peg$parseString(); - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s8 = peg$c1208; - peg$currPos++; - } - else { - s8 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1209); - } - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1381(s6); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseMachineAttribute() { - var s0; - peg$silentFails++; - s0 = peg$parseFslVersion(); - if (s0 === peg$FAILED) { - s0 = peg$parseMachineName(); - if (s0 === peg$FAILED) { - s0 = peg$parseMachineAuthor(); - if (s0 === peg$FAILED) { - s0 = peg$parseMachineContributor(); - if (s0 === peg$FAILED) { - s0 = peg$parseMachineComment(); - if (s0 === peg$FAILED) { - s0 = peg$parseMachineDefinition(); - if (s0 === peg$FAILED) { - s0 = peg$parseMachineVersion(); - if (s0 === peg$FAILED) { - s0 = peg$parseMachineLicense(); - if (s0 === peg$FAILED) { - s0 = peg$parseMachineLanguage(); - if (s0 === peg$FAILED) { - s0 = peg$parseMachineTheme(); - if (s0 === peg$FAILED) { - s0 = peg$parseDotPreamble(); - if (s0 === peg$FAILED) { - s0 = peg$parseMachineFlow(); - if (s0 === peg$FAILED) { - s0 = peg$parseMachineHookDefinition(); - } - } - } - } - } - } - } - } - } - } - } - } - peg$silentFails--; - if (s0 === peg$FAILED) { - if (peg$silentFails === 0) { - peg$fail(peg$c1382); - } - } - return s0; - } - function peg$parsePropertyVal() { - var s0; - s0 = peg$parseString(); - if (s0 === peg$FAILED) { - s0 = peg$parseBoolean(); - if (s0 === peg$FAILED) { - s0 = peg$parseJsNumericLiteral(); - if (s0 === peg$FAILED) { - s0 = peg$parseNull(); - if (s0 === peg$FAILED) { - s0 = peg$parseUndefined(); - } - } - } - } - return s0; - } - function peg$parseSdStateLabel() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; - peg$silentFails++; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 5) === peg$c1383) { - s2 = peg$c1383; - peg$currPos += 5; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1384); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1206; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1207); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - s6 = peg$parseLabel(); - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s8 = peg$c1208; - peg$currPos++; - } - else { - s8 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1209); - } - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1385(s6); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1199); - } - } - return s0; - } - function peg$parseSdStateColor() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; - peg$silentFails++; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 5) === peg$c1386) { - s2 = peg$c1386; - peg$currPos += 5; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1387); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1206; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1207); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - s6 = peg$parseColor(); - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s8 = peg$c1208; - peg$currPos++; - } - else { - s8 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1209); - } - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1388(s6); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1199); - } - } - return s0; - } - function peg$parseSdStateTextColor() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; - peg$silentFails++; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 10) === peg$c1390) { - s2 = peg$c1390; - peg$currPos += 10; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1391); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1206; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1207); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - s6 = peg$parseColor(); - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s8 = peg$c1208; - peg$currPos++; - } - else { - s8 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1209); - } - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1392(s6); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1389); - } - } - return s0; - } - function peg$parseSdStateBackgroundColor() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; - peg$silentFails++; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 16) === peg$c1394) { - s2 = peg$c1394; - peg$currPos += 16; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1395); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1206; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1207); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - s6 = peg$parseColor(); - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s8 = peg$c1208; - peg$currPos++; - } - else { - s8 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1209); - } - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1396(s6); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1393); - } - } - return s0; - } - function peg$parseSdStateBorderColor() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; - peg$silentFails++; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 12) === peg$c1398) { - s2 = peg$c1398; - peg$currPos += 12; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1399); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1206; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1207); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - s6 = peg$parseColor(); - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s8 = peg$c1208; - peg$currPos++; - } - else { - s8 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1209); - } - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1400(s6); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1397); - } - } - return s0; - } - function peg$parseSdStateShape() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; - peg$silentFails++; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 5) === peg$c1402) { - s2 = peg$c1402; - peg$currPos += 5; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1403); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1206; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1207); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - s6 = peg$parseGvizShape(); - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s8 = peg$c1208; - peg$currPos++; - } - else { - s8 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1209); - } - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1404(s6); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1401); - } - } - return s0; - } - function peg$parseSdStateCorners() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; - peg$silentFails++; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c1406) { - s2 = peg$c1406; - peg$currPos += 7; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1407); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1206; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1207); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - s6 = peg$parseCorners(); - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s8 = peg$c1208; - peg$currPos++; - } - else { - s8 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1209); - } - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1408(s6); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1405); - } - } - return s0; - } - function peg$parseSdStateLineStyle() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; - peg$silentFails++; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 10) === peg$c1216) { - s2 = peg$c1216; - peg$currPos += 10; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1217); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1206; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1207); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - s6 = peg$parseLineStyle(); - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s8 = peg$c1208; - peg$currPos++; - } - else { - s8 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1209); - } - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1410(s6); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - if (s0 === peg$FAILED) { - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 9) === peg$c1411) { - s2 = peg$c1411; - peg$currPos += 9; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1412); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1206; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1207); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - s6 = peg$parseLineStyle(); - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s8 = peg$c1208; - peg$currPos++; - } - else { - s8 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1209); - } - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1410(s6); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1409); - } - } - return s0; - } - function peg$parseSdStateProperty() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12, s13; - peg$silentFails++; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 8) === peg$c1414) { - s2 = peg$c1414; - peg$currPos += 8; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1415); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1206; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1207); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - s6 = peg$parseAtom(); - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 !== peg$FAILED) { - s8 = peg$parsePropertyVal(); - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s10 = peg$c1208; - peg$currPos++; - } - else { - s10 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1209); - } - } - if (s10 !== peg$FAILED) { - s11 = peg$parseWS(); - if (s11 === peg$FAILED) { - s11 = null; - } - if (s11 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1416(s6, s8); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - if (s0 === peg$FAILED) { - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 8) === peg$c1414) { - s2 = peg$c1414; - peg$currPos += 8; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1415); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1206; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1207); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - s6 = peg$parseAtom(); - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 !== peg$FAILED) { - s8 = peg$parsePropertyVal(); - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 !== peg$FAILED) { - if (input.substr(peg$currPos, 8) === peg$c1417) { - s10 = peg$c1417; - peg$currPos += 8; - } - else { - s10 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1418); - } - } - if (s10 !== peg$FAILED) { - s11 = peg$parseWS(); - if (s11 === peg$FAILED) { - s11 = null; - } - if (s11 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s12 = peg$c1208; - peg$currPos++; - } - else { - s12 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1209); - } - } - if (s12 !== peg$FAILED) { - s13 = peg$parseWS(); - if (s13 === peg$FAILED) { - s13 = null; - } - if (s13 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1419(s6, s8); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1413); - } - } - return s0; - } - function peg$parseStateDeclarationItem() { - var s0; - s0 = peg$parseSdStateLabel(); - if (s0 === peg$FAILED) { - s0 = peg$parseSdStateColor(); - if (s0 === peg$FAILED) { - s0 = peg$parseSdStateTextColor(); - if (s0 === peg$FAILED) { - s0 = peg$parseSdStateBackgroundColor(); - if (s0 === peg$FAILED) { - s0 = peg$parseSdStateBorderColor(); - if (s0 === peg$FAILED) { - s0 = peg$parseSdStateShape(); - if (s0 === peg$FAILED) { - s0 = peg$parseSdStateCorners(); - if (s0 === peg$FAILED) { - s0 = peg$parseSdStateLineStyle(); - if (s0 === peg$FAILED) { - s0 = peg$parseSdStateProperty(); - } - } - } - } - } - } - } - } - return s0; - } - function peg$parseStateDeclarationDesc() { - var s0, s1, s2, s3, s4, s5; - s0 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 123) { - s1 = peg$c1219; - peg$currPos++; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1220); - } - } - if (s1 !== peg$FAILED) { - s2 = peg$parseWS(); - if (s2 === peg$FAILED) { - s2 = null; - } - if (s2 !== peg$FAILED) { - s3 = []; - s4 = peg$parseStateDeclarationItem(); - while (s4 !== peg$FAILED) { - s3.push(s4); - s4 = peg$parseStateDeclarationItem(); - } - if (s3 !== peg$FAILED) { - s4 = peg$parseWS(); - if (s4 === peg$FAILED) { - s4 = null; - } - if (s4 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 125) { - s5 = peg$c1221; - peg$currPos++; - } - else { - s5 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1222); - } - } - if (s5 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1223(s3); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseStateDeclaration() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 5) === peg$c1263) { - s2 = peg$c1263; - peg$currPos += 5; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1264); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 !== peg$FAILED) { - s4 = peg$parseLabel(); - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s6 = peg$c1206; - peg$currPos++; - } - else { - s6 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1207); - } - } - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - s8 = peg$parseStateDeclarationDesc(); - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s10 = peg$c1208; - peg$currPos++; - } - else { - s10 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1209); - } - } - if (s10 !== peg$FAILED) { - s11 = peg$parseWS(); - if (s11 === peg$FAILED) { - s11 = null; - } - if (s11 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1420(s4, s8); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseNamedList() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 38) { - s2 = peg$c1421; - peg$currPos++; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1422); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - s4 = peg$parseLabel(); - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s6 = peg$c1206; - peg$currPos++; - } - else { - s6 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1207); - } - } - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - s8 = peg$parseLabelOrLabelList(); - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s10 = peg$c1208; - peg$currPos++; - } - else { - s10 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1209); - } - } - if (s10 !== peg$FAILED) { - s11 = peg$parseWS(); - if (s11 === peg$FAILED) { - s11 = null; - } - if (s11 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1423(s4, s8); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseMachineProperty() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12, s13; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 8) === peg$c1414) { - s2 = peg$c1414; - peg$currPos += 8; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1415); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 !== peg$FAILED) { - s4 = peg$parseLabel(); - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 !== peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c3) { - s6 = peg$c3; - peg$currPos += 7; - } - else { - s6 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c4); - } - } - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 !== peg$FAILED) { - s8 = peg$parsePropertyVal(); - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 !== peg$FAILED) { - if (input.substr(peg$currPos, 8) === peg$c1417) { - s10 = peg$c1417; - peg$currPos += 8; - } - else { - s10 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1418); - } - } - if (s10 !== peg$FAILED) { - s11 = peg$parseWS(); - if (s11 === peg$FAILED) { - s11 = null; - } - if (s11 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s12 = peg$c1208; - peg$currPos++; - } - else { - s12 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1209); - } - } - if (s12 !== peg$FAILED) { - s13 = peg$parseWS(); - if (s13 === peg$FAILED) { - s13 = null; - } - if (s13 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1424(s4, s8); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - if (s0 === peg$FAILED) { - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 8) === peg$c1414) { - s2 = peg$c1414; - peg$currPos += 8; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1415); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 !== peg$FAILED) { - s4 = peg$parseLabel(); - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 !== peg$FAILED) { - if (input.substr(peg$currPos, 8) === peg$c1417) { - s6 = peg$c1417; - peg$currPos += 8; - } - else { - s6 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1418); - } - } - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s8 = peg$c1208; - peg$currPos++; - } - else { - s8 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1209); - } - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1425(s4); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - if (s0 === peg$FAILED) { - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 8) === peg$c1414) { - s2 = peg$c1414; - peg$currPos += 8; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1415); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 !== peg$FAILED) { - s4 = peg$parseLabel(); - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 !== peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c3) { - s6 = peg$c3; - peg$currPos += 7; - } - else { - s6 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c4); - } - } - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 !== peg$FAILED) { - s8 = peg$parsePropertyVal(); - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s10 = peg$c1208; - peg$currPos++; - } - else { - s10 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1209); - } - } - if (s10 !== peg$FAILED) { - s11 = peg$parseWS(); - if (s11 === peg$FAILED) { - s11 = null; - } - if (s11 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1426(s4, s8); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - if (s0 === peg$FAILED) { - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 8) === peg$c1414) { - s2 = peg$c1414; - peg$currPos += 8; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1415); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 !== peg$FAILED) { - s4 = peg$parseLabel(); - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s6 = peg$c1208; - peg$currPos++; - } - else { - s6 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1209); - } - } - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1427(s4); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - } - } - return s0; - } - function peg$parseRegularArrangeDeclaration() { - var s0, s1, s2, s3, s4, s5, s6; - s0 = peg$currPos; - if (input.substr(peg$currPos, 7) === peg$c1428) { - s1 = peg$c1428; - peg$currPos += 7; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1429); - } - } - if (s1 !== peg$FAILED) { - s2 = peg$parseWS(); - if (s2 === peg$FAILED) { - s2 = null; - } - if (s2 !== peg$FAILED) { - s3 = peg$parseLabelOrLabelList(); - if (s3 !== peg$FAILED) { - s4 = peg$parseWS(); - if (s4 === peg$FAILED) { - s4 = null; - } - if (s4 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s5 = peg$c1208; - peg$currPos++; - } - else { - s5 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1209); - } - } - if (s5 !== peg$FAILED) { - s6 = peg$parseWS(); - if (s6 === peg$FAILED) { - s6 = null; - } - if (s6 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1430(s3); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseArrangeStartDeclaration() { - var s0, s1, s2, s3, s4, s5, s6; - s0 = peg$currPos; - if (input.substr(peg$currPos, 13) === peg$c1431) { - s1 = peg$c1431; - peg$currPos += 13; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1432); - } - } - if (s1 !== peg$FAILED) { - s2 = peg$parseWS(); - if (s2 === peg$FAILED) { - s2 = null; - } - if (s2 !== peg$FAILED) { - s3 = peg$parseLabelOrLabelList(); - if (s3 !== peg$FAILED) { - s4 = peg$parseWS(); - if (s4 === peg$FAILED) { - s4 = null; - } - if (s4 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s5 = peg$c1208; - peg$currPos++; - } - else { - s5 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1209); - } - } - if (s5 !== peg$FAILED) { - s6 = peg$parseWS(); - if (s6 === peg$FAILED) { - s6 = null; - } - if (s6 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1433(s3); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseArrangeEndDeclaration() { - var s0, s1, s2, s3, s4, s5, s6; - s0 = peg$currPos; - if (input.substr(peg$currPos, 11) === peg$c1434) { - s1 = peg$c1434; - peg$currPos += 11; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1435); - } - } - if (s1 !== peg$FAILED) { - s2 = peg$parseWS(); - if (s2 === peg$FAILED) { - s2 = null; - } - if (s2 !== peg$FAILED) { - s3 = peg$parseLabelOrLabelList(); - if (s3 !== peg$FAILED) { - s4 = peg$parseWS(); - if (s4 === peg$FAILED) { - s4 = null; - } - if (s4 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s5 = peg$c1208; - peg$currPos++; - } - else { - s5 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1209); - } - } - if (s5 !== peg$FAILED) { - s6 = peg$parseWS(); - if (s6 === peg$FAILED) { - s6 = null; - } - if (s6 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1436(s3); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseArrangeDeclaration() { - var s0; - peg$silentFails++; - s0 = peg$parseArrangeStartDeclaration(); - if (s0 === peg$FAILED) { - s0 = peg$parseArrangeEndDeclaration(); - if (s0 === peg$FAILED) { - s0 = peg$parseRegularArrangeDeclaration(); - } - } - peg$silentFails--; - if (s0 === peg$FAILED) { - if (peg$silentFails === 0) { - peg$fail(peg$c1437); - } - } - return s0; - } - function peg$parseTerm() { - var s0; - s0 = peg$parseExp(); - if (s0 === peg$FAILED) { - s0 = peg$parseStateDeclaration(); - if (s0 === peg$FAILED) { - s0 = peg$parseArrangeDeclaration(); - if (s0 === peg$FAILED) { - s0 = peg$parseNamedList(); - if (s0 === peg$FAILED) { - s0 = peg$parseMachineAttribute(); - if (s0 === peg$FAILED) { - s0 = peg$parseMachineProperty(); - if (s0 === peg$FAILED) { - s0 = peg$parseConfig(); - } - } - } - } - } - } - return s0; - } - function peg$parseTermList() { - var s0, s1; - s0 = []; - s1 = peg$parseTerm(); - while (s1 !== peg$FAILED) { - s0.push(s1); - s1 = peg$parseTerm(); - } - return s0; - } - peg$result = peg$startRuleFunction(); - if (peg$result !== peg$FAILED && peg$currPos === input.length) { - return peg$result; - } - else { - if (peg$result !== peg$FAILED && peg$currPos < input.length) { - peg$fail(peg$endExpectation()); - } - throw peg$buildStructuredError(peg$maxFailExpected, peg$maxFailPos < input.length ? input.charAt(peg$maxFailPos) : null, peg$maxFailPos < input.length - ? peg$computeLocation(peg$maxFailPos, peg$maxFailPos + 1) - : peg$computeLocation(peg$maxFailPos, peg$maxFailPos)); - } - } + /* + * Generated by PEG.js 0.10.0. + * + * http://pegjs.org/ + */ + function peg$subclass(child, parent) { + function ctor() { this.constructor = child; } + ctor.prototype = parent.prototype; + child.prototype = new ctor(); + } + function peg$SyntaxError(message, expected, found, location) { + this.message = message; + this.expected = expected; + this.found = found; + this.location = location; + this.name = "SyntaxError"; + if (typeof Error.captureStackTrace === "function") { + Error.captureStackTrace(this, peg$SyntaxError); + } + } + peg$subclass(peg$SyntaxError, Error); + peg$SyntaxError.buildMessage = function (expected, found) { + var DESCRIBE_EXPECTATION_FNS = { + literal: function (expectation) { + return "\"" + literalEscape(expectation.text) + "\""; + }, + "class": function (expectation) { + var escapedParts = "", i; + for (i = 0; i < expectation.parts.length; i++) { + escapedParts += expectation.parts[i] instanceof Array + ? classEscape(expectation.parts[i][0]) + "-" + classEscape(expectation.parts[i][1]) + : classEscape(expectation.parts[i]); + } + return "[" + (expectation.inverted ? "^" : "") + escapedParts + "]"; + }, + any: function (expectation) { + return "any character"; + }, + end: function (expectation) { + return "end of input"; + }, + other: function (expectation) { + return expectation.description; + } + }; + function hex(ch) { + return ch.charCodeAt(0).toString(16).toUpperCase(); + } + function literalEscape(s) { + return s + .replace(/\\/g, '\\\\') + .replace(/"/g, '\\"') + .replace(/\0/g, '\\0') + .replace(/\t/g, '\\t') + .replace(/\n/g, '\\n') + .replace(/\r/g, '\\r') + .replace(/[\x00-\x0F]/g, function (ch) { return '\\x0' + hex(ch); }) + .replace(/[\x10-\x1F\x7F-\x9F]/g, function (ch) { return '\\x' + hex(ch); }); + } + function classEscape(s) { + return s + .replace(/\\/g, '\\\\') + .replace(/\]/g, '\\]') + .replace(/\^/g, '\\^') + .replace(/-/g, '\\-') + .replace(/\0/g, '\\0') + .replace(/\t/g, '\\t') + .replace(/\n/g, '\\n') + .replace(/\r/g, '\\r') + .replace(/[\x00-\x0F]/g, function (ch) { return '\\x0' + hex(ch); }) + .replace(/[\x10-\x1F\x7F-\x9F]/g, function (ch) { return '\\x' + hex(ch); }); + } + function describeExpectation(expectation) { + return DESCRIBE_EXPECTATION_FNS[expectation.type](expectation); + } + function describeExpected(expected) { + var descriptions = new Array(expected.length), i, j; + for (i = 0; i < expected.length; i++) { + descriptions[i] = describeExpectation(expected[i]); + } + descriptions.sort(); + if (descriptions.length > 0) { + for (i = 1, j = 1; i < descriptions.length; i++) { + if (descriptions[i - 1] !== descriptions[i]) { + descriptions[j] = descriptions[i]; + j++; + } + } + descriptions.length = j; + } + switch (descriptions.length) { + case 1: + return descriptions[0]; + case 2: + return descriptions[0] + " or " + descriptions[1]; + default: + return descriptions.slice(0, -1).join(", ") + + ", or " + + descriptions[descriptions.length - 1]; + } + } + function describeFound(found) { + return found ? "\"" + literalEscape(found) + "\"" : "end of input"; + } + return "Expected " + describeExpected(expected) + " but " + describeFound(found) + " found."; + }; + function peg$parse(input, options) { + options = options !== void 0 ? options : {}; + var peg$FAILED = {}, peg$startRuleFunctions = { Document: peg$parseDocument }, peg$startRuleFunction = peg$parseDocument, peg$c0 = function (e) { return e; }, peg$c1 = "none", peg$c2 = peg$literalExpectation("none", false), peg$c3 = "default", peg$c4 = peg$literalExpectation("default", false), peg$c5 = "modern", peg$c6 = peg$literalExpectation("modern", false), peg$c7 = "ocean", peg$c8 = peg$literalExpectation("ocean", false), peg$c9 = "bold", peg$c10 = peg$literalExpectation("bold", false), peg$c11 = "[", peg$c12 = peg$literalExpectation("[", false), peg$c13 = "]", peg$c14 = peg$literalExpectation("]", false), peg$c15 = function (ths, th) { const themes = ths.map(t => t[0]); themes.push(th); return themes; }, peg$c16 = function (th) { return [th]; }, peg$c17 = "box3d", peg$c18 = peg$literalExpectation("box3d", false), peg$c19 = "polygon", peg$c20 = peg$literalExpectation("polygon", false), peg$c21 = "ellipse", peg$c22 = peg$literalExpectation("ellipse", false), peg$c23 = "oval", peg$c24 = peg$literalExpectation("oval", false), peg$c25 = "circle", peg$c26 = peg$literalExpectation("circle", false), peg$c27 = "point", peg$c28 = peg$literalExpectation("point", false), peg$c29 = "egg", peg$c30 = peg$literalExpectation("egg", false), peg$c31 = "triangle", peg$c32 = peg$literalExpectation("triangle", false), peg$c33 = "plaintext", peg$c34 = peg$literalExpectation("plaintext", false), peg$c35 = "plain", peg$c36 = peg$literalExpectation("plain", false), peg$c37 = "diamond", peg$c38 = peg$literalExpectation("diamond", false), peg$c39 = "trapezium", peg$c40 = peg$literalExpectation("trapezium", false), peg$c41 = "parallelogram", peg$c42 = peg$literalExpectation("parallelogram", false), peg$c43 = "house", peg$c44 = peg$literalExpectation("house", false), peg$c45 = "pentagon", peg$c46 = peg$literalExpectation("pentagon", false), peg$c47 = "hexagon", peg$c48 = peg$literalExpectation("hexagon", false), peg$c49 = "septagon", peg$c50 = peg$literalExpectation("septagon", false), peg$c51 = "octagon", peg$c52 = peg$literalExpectation("octagon", false), peg$c53 = "doublecircle", peg$c54 = peg$literalExpectation("doublecircle", false), peg$c55 = "doubleoctagon", peg$c56 = peg$literalExpectation("doubleoctagon", false), peg$c57 = "tripleoctagon", peg$c58 = peg$literalExpectation("tripleoctagon", false), peg$c59 = "invtriangle", peg$c60 = peg$literalExpectation("invtriangle", false), peg$c61 = "invtrapezium", peg$c62 = peg$literalExpectation("invtrapezium", false), peg$c63 = "invhouse", peg$c64 = peg$literalExpectation("invhouse", false), peg$c65 = "Mdiamond", peg$c66 = peg$literalExpectation("Mdiamond", false), peg$c67 = "Msquare", peg$c68 = peg$literalExpectation("Msquare", false), peg$c69 = "Mcircle", peg$c70 = peg$literalExpectation("Mcircle", false), peg$c71 = "rectangle", peg$c72 = peg$literalExpectation("rectangle", false), peg$c73 = "rect", peg$c74 = peg$literalExpectation("rect", false), peg$c75 = "square", peg$c76 = peg$literalExpectation("square", false), peg$c77 = "star", peg$c78 = peg$literalExpectation("star", false), peg$c79 = "underline", peg$c80 = peg$literalExpectation("underline", false), peg$c81 = "cylinder", peg$c82 = peg$literalExpectation("cylinder", false), peg$c83 = "note", peg$c84 = peg$literalExpectation("note", false), peg$c85 = "tab", peg$c86 = peg$literalExpectation("tab", false), peg$c87 = "folder", peg$c88 = peg$literalExpectation("folder", false), peg$c89 = "box", peg$c90 = peg$literalExpectation("box", false), peg$c91 = "component", peg$c92 = peg$literalExpectation("component", false), peg$c93 = "promoter", peg$c94 = peg$literalExpectation("promoter", false), peg$c95 = "cds", peg$c96 = peg$literalExpectation("cds", false), peg$c97 = "terminator", peg$c98 = peg$literalExpectation("terminator", false), peg$c99 = "utr", peg$c100 = peg$literalExpectation("utr", false), peg$c101 = "primersite", peg$c102 = peg$literalExpectation("primersite", false), peg$c103 = "restrictionsite", peg$c104 = peg$literalExpectation("restrictionsite", false), peg$c105 = "fivepoverhang", peg$c106 = peg$literalExpectation("fivepoverhang", false), peg$c107 = "threepoverhang", peg$c108 = peg$literalExpectation("threepoverhang", false), peg$c109 = "noverhang", peg$c110 = peg$literalExpectation("noverhang", false), peg$c111 = "assembly", peg$c112 = peg$literalExpectation("assembly", false), peg$c113 = "signature", peg$c114 = peg$literalExpectation("signature", false), peg$c115 = "insulator", peg$c116 = peg$literalExpectation("insulator", false), peg$c117 = "ribosite", peg$c118 = peg$literalExpectation("ribosite", false), peg$c119 = "rnastab", peg$c120 = peg$literalExpectation("rnastab", false), peg$c121 = "proteasesite", peg$c122 = peg$literalExpectation("proteasesite", false), peg$c123 = "proteinstab", peg$c124 = peg$literalExpectation("proteinstab", false), peg$c125 = "rpromoter", peg$c126 = peg$literalExpectation("rpromoter", false), peg$c127 = "rarrow", peg$c128 = peg$literalExpectation("rarrow", false), peg$c129 = "larrow", peg$c130 = peg$literalExpectation("larrow", false), peg$c131 = "lpromoter", peg$c132 = peg$literalExpectation("lpromoter", false), peg$c133 = "record", peg$c134 = peg$literalExpectation("record", false), peg$c135 = peg$otherExpectation("forward light arrow ->"), peg$c136 = "->", peg$c137 = peg$literalExpectation("->", false), peg$c138 = "\u2192", peg$c139 = peg$literalExpectation("\u2192", false), peg$c140 = function () { return "->"; }, peg$c141 = peg$otherExpectation("two way light arrow <->"), peg$c142 = "<->", peg$c143 = peg$literalExpectation("<->", false), peg$c144 = "\u2194", peg$c145 = peg$literalExpectation("\u2194", false), peg$c146 = function () { return "<->"; }, peg$c147 = peg$otherExpectation("back light arrow <-"), peg$c148 = "<-", peg$c149 = peg$literalExpectation("<-", false), peg$c150 = "\u2190", peg$c151 = peg$literalExpectation("\u2190", false), peg$c152 = function () { return "<-"; }, peg$c153 = peg$otherExpectation("forward fat arrow =>"), peg$c154 = "=>", peg$c155 = peg$literalExpectation("=>", false), peg$c156 = "\u21D2", peg$c157 = peg$literalExpectation("\u21D2", false), peg$c158 = function () { return "=>"; }, peg$c159 = peg$otherExpectation("two way fat arrow <=>"), peg$c160 = "<=>", peg$c161 = peg$literalExpectation("<=>", false), peg$c162 = "\u21D4", peg$c163 = peg$literalExpectation("\u21D4", false), peg$c164 = function () { return "<=>"; }, peg$c165 = peg$otherExpectation("back fat arrow <="), peg$c166 = "<=", peg$c167 = peg$literalExpectation("<=", false), peg$c168 = "\u21D0", peg$c169 = peg$literalExpectation("\u21D0", false), peg$c170 = function () { return "<="; }, peg$c171 = peg$otherExpectation("forward tilde arrow ~>"), peg$c172 = "~>", peg$c173 = peg$literalExpectation("~>", false), peg$c174 = "\u219B", peg$c175 = peg$literalExpectation("\u219B", false), peg$c176 = function () { return "~>"; }, peg$c177 = peg$otherExpectation("two way tilde arrow <~>"), peg$c178 = "<~>", peg$c179 = peg$literalExpectation("<~>", false), peg$c180 = "\u21AE", peg$c181 = peg$literalExpectation("\u21AE", false), peg$c182 = function () { return "<~>"; }, peg$c183 = peg$otherExpectation("back tilde arrow <~"), peg$c184 = "<~", peg$c185 = peg$literalExpectation("<~", false), peg$c186 = "\u219A", peg$c187 = peg$literalExpectation("\u219A", false), peg$c188 = function () { return "<~"; }, peg$c189 = peg$otherExpectation("light fat arrow <-=>"), peg$c190 = "<-=>", peg$c191 = peg$literalExpectation("<-=>", false), peg$c192 = "\u2190\u21D2", peg$c193 = peg$literalExpectation("\u2190\u21D2", false), peg$c194 = function () { return "<-=>"; }, peg$c195 = peg$otherExpectation("light tilde arrow <-~>"), peg$c196 = "<-~>", peg$c197 = peg$literalExpectation("<-~>", false), peg$c198 = "\u2190\u219B", peg$c199 = peg$literalExpectation("\u2190\u219B", false), peg$c200 = function () { return "<-~>"; }, peg$c201 = peg$otherExpectation("fat light arrow <=->"), peg$c202 = "<=->", peg$c203 = peg$literalExpectation("<=->", false), peg$c204 = "\u21D0\u2192", peg$c205 = peg$literalExpectation("\u21D0\u2192", false), peg$c206 = function () { return "<=->"; }, peg$c207 = peg$otherExpectation("fat tilde arrow <=~>"), peg$c208 = "<=~>", peg$c209 = peg$literalExpectation("<=~>", false), peg$c210 = "\u21D0\u219B", peg$c211 = peg$literalExpectation("\u21D0\u219B", false), peg$c212 = function () { return "<=~>"; }, peg$c213 = peg$otherExpectation("tilde light arrow <~->"), peg$c214 = "<~->", peg$c215 = peg$literalExpectation("<~->", false), peg$c216 = "\u219A\u2192", peg$c217 = peg$literalExpectation("\u219A\u2192", false), peg$c218 = function () { return "<~->"; }, peg$c219 = peg$otherExpectation("tilde fat arrow <~=>"), peg$c220 = "<~=>", peg$c221 = peg$literalExpectation("<~=>", false), peg$c222 = "\u219A\u21D2", peg$c223 = peg$literalExpectation("\u219A\u21D2", false), peg$c224 = function () { return "<~=>"; }, peg$c225 = peg$otherExpectation("light arrow"), peg$c226 = peg$otherExpectation("fat arrow"), peg$c227 = peg$otherExpectation("tilde arrow"), peg$c228 = peg$otherExpectation("mixed arrow"), peg$c229 = peg$otherExpectation("arrow"), peg$c230 = "true", peg$c231 = peg$literalExpectation("true", false), peg$c232 = function () { return true; }, peg$c233 = "false", peg$c234 = peg$literalExpectation("false", false), peg$c235 = function () { return false; }, peg$c236 = "regular", peg$c237 = peg$literalExpectation("regular", false), peg$c238 = "rounded", peg$c239 = peg$literalExpectation("rounded", false), peg$c240 = "lined", peg$c241 = peg$literalExpectation("lined", false), peg$c242 = "solid", peg$c243 = peg$literalExpectation("solid", false), peg$c244 = "dotted", peg$c245 = peg$literalExpectation("dotted", false), peg$c246 = "dashed", peg$c247 = peg$literalExpectation("dashed", false), peg$c248 = "\"", peg$c249 = peg$literalExpectation("\"", false), peg$c250 = "\\", peg$c251 = peg$literalExpectation("\\", false), peg$c252 = "/", peg$c253 = peg$literalExpectation("/", false), peg$c254 = "b", peg$c255 = peg$literalExpectation("b", false), peg$c256 = function () { return "\b"; }, peg$c257 = "f", peg$c258 = peg$literalExpectation("f", false), peg$c259 = function () { return "\f"; }, peg$c260 = "n", peg$c261 = peg$literalExpectation("n", false), peg$c262 = function () { return "\n"; }, peg$c263 = "r", peg$c264 = peg$literalExpectation("r", false), peg$c265 = function () { return "\r"; }, peg$c266 = "t", peg$c267 = peg$literalExpectation("t", false), peg$c268 = function () { return "\t"; }, peg$c269 = "v", peg$c270 = peg$literalExpectation("v", false), peg$c271 = function () { return "\v"; }, peg$c272 = "u", peg$c273 = peg$literalExpectation("u", false), peg$c274 = function (digits) { + return String.fromCharCode(parseInt(digits, 16)); + }, peg$c275 = function (Sequence) { return Sequence; }, peg$c276 = "null", peg$c277 = peg$literalExpectation("null", false), peg$c278 = function () { return null; }, peg$c279 = "undefined", peg$c280 = peg$literalExpectation("undefined", false), peg$c281 = function () { return undefined; }, peg$c282 = /^[\0-!#-[\]-\uFFFF]/, peg$c283 = peg$classExpectation([["\0", "!"], ["#", "["], ["]", "\uFFFF"]], false, false), peg$c284 = "'", peg$c285 = peg$literalExpectation("'", false), peg$c286 = /^[ -&(-[\]-\uFFFF]/, peg$c287 = peg$classExpectation([[" ", "&"], ["(", "["], ["]", "\uFFFF"]], false, false), peg$c288 = peg$otherExpectation("action label"), peg$c289 = function (chars) { return chars.join(""); }, peg$c290 = /^[\n\r\u2028\u2029]/, peg$c291 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029"], false, false), peg$c294 = "*/", peg$c295 = peg$literalExpectation("*/", false), peg$c296 = peg$anyExpectation(), peg$c297 = peg$otherExpectation("block comment"), peg$c298 = "/*", peg$c299 = peg$literalExpectation("/*", false), peg$c300 = peg$otherExpectation("line comment"), peg$c301 = "//", peg$c302 = peg$literalExpectation("//", false), peg$c303 = peg$otherExpectation("whitespace"), peg$c304 = /^[ \t\r\n\x0B]/, peg$c305 = peg$classExpectation([" ", "\t", "\r", "\n", "\x0B"], false, false), peg$c306 = peg$otherExpectation("string"), peg$c307 = /^[0-9a-zA-Z._!$\^*!?,\x80-\uFFFF]/, peg$c308 = peg$classExpectation([["0", "9"], ["a", "z"], ["A", "Z"], ".", "_", "!", "$", "^", "*", "!", "?", ",", ["\x80", "\uFFFF"]], false, false), peg$c309 = /^[0-9a-zA-Z.+_\^()*&$#@!?,\x80-\uFFFF]/, peg$c310 = peg$classExpectation([["0", "9"], ["a", "z"], ["A", "Z"], ".", "+", "_", "^", "(", ")", "*", "&", "$", "#", "@", "!", "?", ",", ["\x80", "\uFFFF"]], false, false), peg$c311 = peg$otherExpectation("atom"), peg$c312 = function (firstletter, text) { + return firstletter + ((text || []).join('')); + }, peg$c313 = peg$otherExpectation("label"), peg$c314 = "0", peg$c315 = peg$literalExpectation("0", false), peg$c316 = /^[0-9]/, peg$c317 = peg$classExpectation([["0", "9"]], false, false), peg$c318 = /^[1-9]/, peg$c319 = peg$classExpectation([["1", "9"]], false, false), peg$c320 = /^[0-9a-f]/i, peg$c321 = peg$classExpectation([["0", "9"], ["a", "f"]], false, true), peg$c322 = /^[0-1]/, peg$c323 = peg$classExpectation([["0", "1"]], false, false), peg$c324 = peg$otherExpectation("nonneg number"), peg$c325 = ".", peg$c326 = peg$literalExpectation(".", false), peg$c327 = function () { return parseFloat(text()); }, peg$c328 = peg$otherExpectation("number"), peg$c329 = function (literal) { return literal; }, peg$c330 = "NaN", peg$c331 = peg$literalExpectation("NaN", false), peg$c332 = function () { return NaN; }, peg$c333 = "NegativeInfinity", peg$c334 = peg$literalExpectation("NegativeInfinity", false), peg$c335 = function () { return Number.NEGATIVE_INFINITY; }, peg$c336 = "NegativeInf", peg$c337 = peg$literalExpectation("NegativeInf", false), peg$c338 = "NegInfinity", peg$c339 = peg$literalExpectation("NegInfinity", false), peg$c340 = "NegInf", peg$c341 = peg$literalExpectation("NegInf", false), peg$c342 = "NInfinity", peg$c343 = peg$literalExpectation("NInfinity", false), peg$c344 = "NInf", peg$c345 = peg$literalExpectation("NInf", false), peg$c346 = "-\u221E", peg$c347 = peg$literalExpectation("-\u221E", false), peg$c348 = "PInfinity", peg$c349 = peg$literalExpectation("PInfinity", false), peg$c350 = function () { return Number.POSITIVE_INFINITY; }, peg$c351 = "Infinity", peg$c352 = peg$literalExpectation("Infinity", false), peg$c353 = "PInf", peg$c354 = peg$literalExpectation("PInf", false), peg$c355 = "Inf", peg$c356 = peg$literalExpectation("Inf", false), peg$c357 = "\u221E", peg$c358 = peg$literalExpectation("\u221E", false), peg$c359 = "Epsilon", peg$c360 = peg$literalExpectation("Epsilon", false), peg$c361 = function () { return Number.EPSILON; }, peg$c362 = "\uD835\uDF00", peg$c363 = peg$literalExpectation("\uD835\uDF00", false), peg$c364 = "\u03B5", peg$c365 = peg$literalExpectation("\u03B5", false), peg$c366 = "Pi", peg$c367 = peg$literalExpectation("Pi", false), peg$c368 = function () { return Math.PI; }, peg$c369 = "\uD835\uDF0B", peg$c370 = peg$literalExpectation("\uD835\uDF0B", false), peg$c371 = "\u03C0", peg$c372 = peg$literalExpectation("\u03C0", false), peg$c373 = "EulerNumber", peg$c374 = peg$literalExpectation("EulerNumber", false), peg$c375 = function () { return Math.E; }, peg$c376 = "E", peg$c377 = peg$literalExpectation("E", false), peg$c378 = "e", peg$c379 = peg$literalExpectation("e", false), peg$c380 = "\u0190", peg$c381 = peg$literalExpectation("\u0190", false), peg$c382 = "\u2107", peg$c383 = peg$literalExpectation("\u2107", false), peg$c384 = "Root2", peg$c385 = peg$literalExpectation("Root2", false), peg$c386 = function () { return Math.SQRT2; }, peg$c387 = "RootHalf", peg$c388 = peg$literalExpectation("RootHalf", false), peg$c389 = function () { return Math.SQRT1_2; }, peg$c390 = "Ln2", peg$c391 = peg$literalExpectation("Ln2", false), peg$c392 = function () { return Math.LN2; }, peg$c393 = "NatLog2", peg$c394 = peg$literalExpectation("NatLog2", false), peg$c395 = "Ln10", peg$c396 = peg$literalExpectation("Ln10", false), peg$c397 = function () { return Math.LN10; }, peg$c398 = "NatLog10", peg$c399 = peg$literalExpectation("NatLog10", false), peg$c400 = "Log2E", peg$c401 = peg$literalExpectation("Log2E", false), peg$c402 = function () { return Math.LOG2E; }, peg$c403 = "Log10E", peg$c404 = peg$literalExpectation("Log10E", false), peg$c405 = function () { return Math.LOG10E; }, peg$c406 = "MaxSafeInt", peg$c407 = peg$literalExpectation("MaxSafeInt", false), peg$c408 = function () { return Number.MAX_SAFE_INTEGER; }, peg$c409 = "MinSafeInt", peg$c410 = peg$literalExpectation("MinSafeInt", false), peg$c411 = function () { return Number.MIN_SAFE_INTEGER; }, peg$c412 = "MaxPosNum", peg$c413 = peg$literalExpectation("MaxPosNum", false), peg$c414 = function () { return Number.MAX_VALUE; }, peg$c415 = "MinPosNum", peg$c416 = peg$literalExpectation("MinPosNum", false), peg$c417 = function () { return Number.MIN_VALUE; }, peg$c418 = "Phi", peg$c419 = peg$literalExpectation("Phi", false), peg$c420 = function () { return 1.61803398874989484820; }, peg$c421 = "\uD835\uDF11", peg$c422 = peg$literalExpectation("\uD835\uDF11", false), peg$c423 = "\uD835\uDF19", peg$c424 = peg$literalExpectation("\uD835\uDF19", false), peg$c425 = "\u03D5", peg$c426 = peg$literalExpectation("\u03D5", false), peg$c427 = "\u03C6", peg$c428 = peg$literalExpectation("\u03C6", false), peg$c429 = "EulerConstant", peg$c430 = peg$literalExpectation("EulerConstant", false), peg$c431 = function () { return 0.57721566490153286060; }, peg$c432 = "\u03B3", peg$c433 = peg$literalExpectation("\u03B3", false), peg$c434 = "\uD835\uDEFE", peg$c435 = peg$literalExpectation("\uD835\uDEFE", false), peg$c436 = peg$literalExpectation("e", true), peg$c437 = /^[+\-]/, peg$c438 = peg$classExpectation(["+", "-"], false, false), peg$c439 = "0x", peg$c440 = peg$literalExpectation("0x", true), peg$c441 = function (digits) { + return parseInt(digits, 16); + }, peg$c442 = "0b", peg$c443 = peg$literalExpectation("0b", true), peg$c444 = function (digits) { + return parseInt(digits, 2); + }, peg$c445 = "0o", peg$c446 = peg$literalExpectation("0o", true), peg$c447 = function (digits) { + return parseInt(digits, 8); + }, peg$c448 = function (major, minor, patch) { + return { + major: parseInt(major, 10), + minor: parseInt(minor, 10), + patch: parseInt(patch, 10), + full: text() + }; + }, peg$c459 = "http://", peg$c460 = peg$literalExpectation("http://", false), peg$c461 = "https://", peg$c462 = peg$literalExpectation("https://", false), peg$c463 = /^[a-zA-Z0-9!*'():;@&=+$,\/?#[\]_.~\-]/, peg$c464 = peg$classExpectation([["a", "z"], ["A", "Z"], ["0", "9"], "!", "*", "'", "(", ")", ":", ";", "@", "&", "=", "+", "$", ",", "/", "?", "#", "[", "]", "_", ".", "~", "-"], false, false), peg$c465 = function (protocol) { return text(); }, peg$c466 = "aliceblue", peg$c467 = peg$literalExpectation("aliceblue", false), peg$c468 = function () { return '#f0f8ffff'; }, peg$c469 = "AliceBlue", peg$c470 = peg$literalExpectation("AliceBlue", false), peg$c471 = "antiquewhite", peg$c472 = peg$literalExpectation("antiquewhite", false), peg$c473 = function () { return '#faebd7ff'; }, peg$c474 = "AntiqueWhite", peg$c475 = peg$literalExpectation("AntiqueWhite", false), peg$c476 = "aquamarine", peg$c477 = peg$literalExpectation("aquamarine", false), peg$c478 = function () { return '#7fffd4ff'; }, peg$c479 = "Aquamarine", peg$c480 = peg$literalExpectation("Aquamarine", false), peg$c481 = "aqua", peg$c482 = peg$literalExpectation("aqua", false), peg$c483 = function () { return '#00ffffff'; }, peg$c484 = "Aqua", peg$c485 = peg$literalExpectation("Aqua", false), peg$c486 = "azure", peg$c487 = peg$literalExpectation("azure", false), peg$c488 = function () { return '#f0ffffff'; }, peg$c489 = "Azure", peg$c490 = peg$literalExpectation("Azure", false), peg$c491 = "beige", peg$c492 = peg$literalExpectation("beige", false), peg$c493 = function () { return '#f5f5dcff'; }, peg$c494 = "Beige", peg$c495 = peg$literalExpectation("Beige", false), peg$c496 = "bisque", peg$c497 = peg$literalExpectation("bisque", false), peg$c498 = function () { return '#ffe4c4ff'; }, peg$c499 = "Bisque", peg$c500 = peg$literalExpectation("Bisque", false), peg$c501 = "black", peg$c502 = peg$literalExpectation("black", false), peg$c503 = function () { return '#000000ff'; }, peg$c504 = "Black", peg$c505 = peg$literalExpectation("Black", false), peg$c506 = "blanchedalmond", peg$c507 = peg$literalExpectation("blanchedalmond", false), peg$c508 = function () { return '#ffebcdff'; }, peg$c509 = "BlanchedAlmond", peg$c510 = peg$literalExpectation("BlanchedAlmond", false), peg$c511 = "blueviolet", peg$c512 = peg$literalExpectation("blueviolet", false), peg$c513 = function () { return '#8a2be2ff'; }, peg$c514 = "BlueViolet", peg$c515 = peg$literalExpectation("BlueViolet", false), peg$c516 = "blue", peg$c517 = peg$literalExpectation("blue", false), peg$c518 = function () { return '#0000ffff'; }, peg$c519 = "Blue", peg$c520 = peg$literalExpectation("Blue", false), peg$c521 = "brown", peg$c522 = peg$literalExpectation("brown", false), peg$c523 = function () { return '#a52a2aff'; }, peg$c524 = "Brown", peg$c525 = peg$literalExpectation("Brown", false), peg$c526 = "burlywood", peg$c527 = peg$literalExpectation("burlywood", false), peg$c528 = function () { return '#deb887ff'; }, peg$c529 = "BurlyWood", peg$c530 = peg$literalExpectation("BurlyWood", false), peg$c531 = "cadetblue", peg$c532 = peg$literalExpectation("cadetblue", false), peg$c533 = function () { return '#5f9ea0ff'; }, peg$c534 = "CadetBlue", peg$c535 = peg$literalExpectation("CadetBlue", false), peg$c536 = "chartreuse", peg$c537 = peg$literalExpectation("chartreuse", false), peg$c538 = function () { return '#7fff00ff'; }, peg$c539 = "Chartreuse", peg$c540 = peg$literalExpectation("Chartreuse", false), peg$c541 = "chocolate", peg$c542 = peg$literalExpectation("chocolate", false), peg$c543 = function () { return '#d2691eff'; }, peg$c544 = "Chocolate", peg$c545 = peg$literalExpectation("Chocolate", false), peg$c546 = "coral", peg$c547 = peg$literalExpectation("coral", false), peg$c548 = function () { return '#ff7f50ff'; }, peg$c549 = "Coral", peg$c550 = peg$literalExpectation("Coral", false), peg$c551 = "cornflowerblue", peg$c552 = peg$literalExpectation("cornflowerblue", false), peg$c553 = function () { return '#6495edff'; }, peg$c554 = "CornflowerBlue", peg$c555 = peg$literalExpectation("CornflowerBlue", false), peg$c556 = "cornsilk", peg$c557 = peg$literalExpectation("cornsilk", false), peg$c558 = function () { return '#fff8dcff'; }, peg$c559 = "Cornsilk", peg$c560 = peg$literalExpectation("Cornsilk", false), peg$c561 = "crimson", peg$c562 = peg$literalExpectation("crimson", false), peg$c563 = function () { return '#dc143cff'; }, peg$c564 = "Crimson", peg$c565 = peg$literalExpectation("Crimson", false), peg$c566 = "cyan", peg$c567 = peg$literalExpectation("cyan", false), peg$c568 = "Cyan", peg$c569 = peg$literalExpectation("Cyan", false), peg$c570 = "darkblue", peg$c571 = peg$literalExpectation("darkblue", false), peg$c572 = function () { return '#00008bff'; }, peg$c573 = "DarkBlue", peg$c574 = peg$literalExpectation("DarkBlue", false), peg$c575 = "darkcyan", peg$c576 = peg$literalExpectation("darkcyan", false), peg$c577 = function () { return '#008b8bff'; }, peg$c578 = "DarkCyan", peg$c579 = peg$literalExpectation("DarkCyan", false), peg$c580 = "darkgoldenrod", peg$c581 = peg$literalExpectation("darkgoldenrod", false), peg$c582 = function () { return '#b8860bff'; }, peg$c583 = "DarkGoldenRod", peg$c584 = peg$literalExpectation("DarkGoldenRod", false), peg$c585 = "darkgray", peg$c586 = peg$literalExpectation("darkgray", false), peg$c587 = function () { return '#a9a9a9ff'; }, peg$c588 = "DarkGray", peg$c589 = peg$literalExpectation("DarkGray", false), peg$c590 = "darkgrey", peg$c591 = peg$literalExpectation("darkgrey", false), peg$c592 = "DarkGrey", peg$c593 = peg$literalExpectation("DarkGrey", false), peg$c594 = "darkgreen", peg$c595 = peg$literalExpectation("darkgreen", false), peg$c596 = function () { return '#006400ff'; }, peg$c597 = "DarkGreen", peg$c598 = peg$literalExpectation("DarkGreen", false), peg$c599 = "darkkhaki", peg$c600 = peg$literalExpectation("darkkhaki", false), peg$c601 = function () { return '#bdb76bff'; }, peg$c602 = "DarkKhaki", peg$c603 = peg$literalExpectation("DarkKhaki", false), peg$c604 = "darkmagenta", peg$c605 = peg$literalExpectation("darkmagenta", false), peg$c606 = function () { return '#8b008bff'; }, peg$c607 = "DarkMagenta", peg$c608 = peg$literalExpectation("DarkMagenta", false), peg$c609 = "darkolivegreen", peg$c610 = peg$literalExpectation("darkolivegreen", false), peg$c611 = function () { return '#556b2fff'; }, peg$c612 = "DarkOliveGreen", peg$c613 = peg$literalExpectation("DarkOliveGreen", false), peg$c614 = "darkorange", peg$c615 = peg$literalExpectation("darkorange", false), peg$c616 = function () { return '#ff8c00ff'; }, peg$c617 = "Darkorange", peg$c618 = peg$literalExpectation("Darkorange", false), peg$c619 = "darkorchid", peg$c620 = peg$literalExpectation("darkorchid", false), peg$c621 = function () { return '#9932ccff'; }, peg$c622 = "DarkOrchid", peg$c623 = peg$literalExpectation("DarkOrchid", false), peg$c624 = "darkred", peg$c625 = peg$literalExpectation("darkred", false), peg$c626 = function () { return '#8b0000ff'; }, peg$c627 = "DarkRed", peg$c628 = peg$literalExpectation("DarkRed", false), peg$c629 = "darksalmon", peg$c630 = peg$literalExpectation("darksalmon", false), peg$c631 = function () { return '#e9967aff'; }, peg$c632 = "DarkSalmon", peg$c633 = peg$literalExpectation("DarkSalmon", false), peg$c634 = "darkseagreen", peg$c635 = peg$literalExpectation("darkseagreen", false), peg$c636 = function () { return '#8fbc8fff'; }, peg$c637 = "DarkSeaGreen", peg$c638 = peg$literalExpectation("DarkSeaGreen", false), peg$c639 = "darkslateblue", peg$c640 = peg$literalExpectation("darkslateblue", false), peg$c641 = function () { return '#483d8bff'; }, peg$c642 = "DarkSlateBlue", peg$c643 = peg$literalExpectation("DarkSlateBlue", false), peg$c644 = "darkslategray", peg$c645 = peg$literalExpectation("darkslategray", false), peg$c646 = function () { return '#2f4f4fff'; }, peg$c647 = "DarkSlateGray", peg$c648 = peg$literalExpectation("DarkSlateGray", false), peg$c649 = "darkslategrey", peg$c650 = peg$literalExpectation("darkslategrey", false), peg$c651 = "DarkSlateGrey", peg$c652 = peg$literalExpectation("DarkSlateGrey", false), peg$c653 = "darkturquoise", peg$c654 = peg$literalExpectation("darkturquoise", false), peg$c655 = function () { return '#00ced1ff'; }, peg$c656 = "DarkTurquoise", peg$c657 = peg$literalExpectation("DarkTurquoise", false), peg$c658 = "darkviolet", peg$c659 = peg$literalExpectation("darkviolet", false), peg$c660 = function () { return '#9400d3ff'; }, peg$c661 = "DarkViolet", peg$c662 = peg$literalExpectation("DarkViolet", false), peg$c663 = "deeppink", peg$c664 = peg$literalExpectation("deeppink", false), peg$c665 = function () { return '#ff1493ff'; }, peg$c666 = "DeepPink", peg$c667 = peg$literalExpectation("DeepPink", false), peg$c668 = "deepskyblue", peg$c669 = peg$literalExpectation("deepskyblue", false), peg$c670 = function () { return '#00bfffff'; }, peg$c671 = "DeepSkyBlue", peg$c672 = peg$literalExpectation("DeepSkyBlue", false), peg$c673 = "dimgray", peg$c674 = peg$literalExpectation("dimgray", false), peg$c675 = function () { return '#696969ff'; }, peg$c676 = "DimGray", peg$c677 = peg$literalExpectation("DimGray", false), peg$c678 = "dimgrey", peg$c679 = peg$literalExpectation("dimgrey", false), peg$c680 = "DimGrey", peg$c681 = peg$literalExpectation("DimGrey", false), peg$c682 = "dodgerblue", peg$c683 = peg$literalExpectation("dodgerblue", false), peg$c684 = function () { return '#1e90ffff'; }, peg$c685 = "DodgerBlue", peg$c686 = peg$literalExpectation("DodgerBlue", false), peg$c687 = "firebrick", peg$c688 = peg$literalExpectation("firebrick", false), peg$c689 = function () { return '#b22222ff'; }, peg$c690 = "FireBrick", peg$c691 = peg$literalExpectation("FireBrick", false), peg$c692 = "floralwhite", peg$c693 = peg$literalExpectation("floralwhite", false), peg$c694 = function () { return '#fffaf0ff'; }, peg$c695 = "FloralWhite", peg$c696 = peg$literalExpectation("FloralWhite", false), peg$c697 = "forestgreen", peg$c698 = peg$literalExpectation("forestgreen", false), peg$c699 = function () { return '#228b22ff'; }, peg$c700 = "ForestGreen", peg$c701 = peg$literalExpectation("ForestGreen", false), peg$c702 = "fuchsia", peg$c703 = peg$literalExpectation("fuchsia", false), peg$c704 = function () { return '#ff00ffff'; }, peg$c705 = "Fuchsia", peg$c706 = peg$literalExpectation("Fuchsia", false), peg$c707 = "gainsboro", peg$c708 = peg$literalExpectation("gainsboro", false), peg$c709 = function () { return '#dcdcdcff'; }, peg$c710 = "Gainsboro", peg$c711 = peg$literalExpectation("Gainsboro", false), peg$c712 = "ghostwhite", peg$c713 = peg$literalExpectation("ghostwhite", false), peg$c714 = function () { return '#f8f8ffff'; }, peg$c715 = "GhostWhite", peg$c716 = peg$literalExpectation("GhostWhite", false), peg$c717 = "goldenrod", peg$c718 = peg$literalExpectation("goldenrod", false), peg$c719 = function () { return '#daa520ff'; }, peg$c720 = "GoldenRod", peg$c721 = peg$literalExpectation("GoldenRod", false), peg$c722 = "gold", peg$c723 = peg$literalExpectation("gold", false), peg$c724 = function () { return '#ffd700ff'; }, peg$c725 = "Gold", peg$c726 = peg$literalExpectation("Gold", false), peg$c727 = "gray", peg$c728 = peg$literalExpectation("gray", false), peg$c729 = function () { return '#808080ff'; }, peg$c730 = "Gray", peg$c731 = peg$literalExpectation("Gray", false), peg$c732 = "grey", peg$c733 = peg$literalExpectation("grey", false), peg$c734 = "Grey", peg$c735 = peg$literalExpectation("Grey", false), peg$c736 = "greenyellow", peg$c737 = peg$literalExpectation("greenyellow", false), peg$c738 = function () { return '#adff2fff'; }, peg$c739 = "GreenYellow", peg$c740 = peg$literalExpectation("GreenYellow", false), peg$c741 = "green", peg$c742 = peg$literalExpectation("green", false), peg$c743 = function () { return '#008000ff'; }, peg$c744 = "Green", peg$c745 = peg$literalExpectation("Green", false), peg$c746 = "honeydew", peg$c747 = peg$literalExpectation("honeydew", false), peg$c748 = function () { return '#f0fff0ff'; }, peg$c749 = "HoneyDew", peg$c750 = peg$literalExpectation("HoneyDew", false), peg$c751 = "hotpink", peg$c752 = peg$literalExpectation("hotpink", false), peg$c753 = function () { return '#ff69b4ff'; }, peg$c754 = "HotPink", peg$c755 = peg$literalExpectation("HotPink", false), peg$c756 = "indianred", peg$c757 = peg$literalExpectation("indianred", false), peg$c758 = function () { return '#cd5c5cff'; }, peg$c759 = "IndianRed", peg$c760 = peg$literalExpectation("IndianRed", false), peg$c761 = "indigo", peg$c762 = peg$literalExpectation("indigo", false), peg$c763 = function () { return '#4b0082ff'; }, peg$c764 = "Indigo", peg$c765 = peg$literalExpectation("Indigo", false), peg$c766 = "ivory", peg$c767 = peg$literalExpectation("ivory", false), peg$c768 = function () { return '#fffff0ff'; }, peg$c769 = "Ivory", peg$c770 = peg$literalExpectation("Ivory", false), peg$c771 = "khaki", peg$c772 = peg$literalExpectation("khaki", false), peg$c773 = function () { return '#f0e68cff'; }, peg$c774 = "Khaki", peg$c775 = peg$literalExpectation("Khaki", false), peg$c776 = "lavenderblush", peg$c777 = peg$literalExpectation("lavenderblush", false), peg$c778 = function () { return '#fff0f5ff'; }, peg$c779 = "LavenderBlush", peg$c780 = peg$literalExpectation("LavenderBlush", false), peg$c781 = "lavender", peg$c782 = peg$literalExpectation("lavender", false), peg$c783 = function () { return '#e6e6faff'; }, peg$c784 = "Lavender", peg$c785 = peg$literalExpectation("Lavender", false), peg$c786 = "lawngreen", peg$c787 = peg$literalExpectation("lawngreen", false), peg$c788 = function () { return '#7cfc00ff'; }, peg$c789 = "LawnGreen", peg$c790 = peg$literalExpectation("LawnGreen", false), peg$c791 = "lemonchiffon", peg$c792 = peg$literalExpectation("lemonchiffon", false), peg$c793 = function () { return '#fffacdff'; }, peg$c794 = "LemonChiffon", peg$c795 = peg$literalExpectation("LemonChiffon", false), peg$c796 = "lightblue", peg$c797 = peg$literalExpectation("lightblue", false), peg$c798 = function () { return '#add8e6ff'; }, peg$c799 = "LightBlue", peg$c800 = peg$literalExpectation("LightBlue", false), peg$c801 = "lightcoral", peg$c802 = peg$literalExpectation("lightcoral", false), peg$c803 = function () { return '#f08080ff'; }, peg$c804 = "LightCoral", peg$c805 = peg$literalExpectation("LightCoral", false), peg$c806 = "lightcyan", peg$c807 = peg$literalExpectation("lightcyan", false), peg$c808 = function () { return '#e0ffffff'; }, peg$c809 = "LightCyan", peg$c810 = peg$literalExpectation("LightCyan", false), peg$c811 = "lightgoldenrodyellow", peg$c812 = peg$literalExpectation("lightgoldenrodyellow", false), peg$c813 = function () { return '#fafad2ff'; }, peg$c814 = "LightGoldenRodYellow", peg$c815 = peg$literalExpectation("LightGoldenRodYellow", false), peg$c816 = "lightgray", peg$c817 = peg$literalExpectation("lightgray", false), peg$c818 = function () { return '#d3d3d3ff'; }, peg$c819 = "LightGray", peg$c820 = peg$literalExpectation("LightGray", false), peg$c821 = "lightgrey", peg$c822 = peg$literalExpectation("lightgrey", false), peg$c823 = "LightGrey", peg$c824 = peg$literalExpectation("LightGrey", false), peg$c825 = "lightgreen", peg$c826 = peg$literalExpectation("lightgreen", false), peg$c827 = function () { return '#90ee90ff'; }, peg$c828 = "LightGreen", peg$c829 = peg$literalExpectation("LightGreen", false), peg$c830 = "lightpink", peg$c831 = peg$literalExpectation("lightpink", false), peg$c832 = function () { return '#ffb6c1ff'; }, peg$c833 = "LightPink", peg$c834 = peg$literalExpectation("LightPink", false), peg$c835 = "lightsalmon", peg$c836 = peg$literalExpectation("lightsalmon", false), peg$c837 = function () { return '#ffa07aff'; }, peg$c838 = "LightSalmon", peg$c839 = peg$literalExpectation("LightSalmon", false), peg$c840 = "lightseagreen", peg$c841 = peg$literalExpectation("lightseagreen", false), peg$c842 = function () { return '#20b2aaff'; }, peg$c843 = "LightSeaGreen", peg$c844 = peg$literalExpectation("LightSeaGreen", false), peg$c845 = "lightskyblue", peg$c846 = peg$literalExpectation("lightskyblue", false), peg$c847 = function () { return '#87cefaff'; }, peg$c848 = "LightSkyBlue", peg$c849 = peg$literalExpectation("LightSkyBlue", false), peg$c850 = "lightslategray", peg$c851 = peg$literalExpectation("lightslategray", false), peg$c852 = function () { return '#778899ff'; }, peg$c853 = "LightSlateGray", peg$c854 = peg$literalExpectation("LightSlateGray", false), peg$c855 = "lightslategrey", peg$c856 = peg$literalExpectation("lightslategrey", false), peg$c857 = "LightSlateGrey", peg$c858 = peg$literalExpectation("LightSlateGrey", false), peg$c859 = "lightsteelblue", peg$c860 = peg$literalExpectation("lightsteelblue", false), peg$c861 = function () { return '#b0c4deff'; }, peg$c862 = "LightSteelBlue", peg$c863 = peg$literalExpectation("LightSteelBlue", false), peg$c864 = "lightyellow", peg$c865 = peg$literalExpectation("lightyellow", false), peg$c866 = function () { return '#ffffe0ff'; }, peg$c867 = "LightYellow", peg$c868 = peg$literalExpectation("LightYellow", false), peg$c869 = "limegreen", peg$c870 = peg$literalExpectation("limegreen", false), peg$c871 = function () { return '#32cd32ff'; }, peg$c872 = "LimeGreen", peg$c873 = peg$literalExpectation("LimeGreen", false), peg$c874 = "lime", peg$c875 = peg$literalExpectation("lime", false), peg$c876 = function () { return '#00ff00ff'; }, peg$c877 = "Lime", peg$c878 = peg$literalExpectation("Lime", false), peg$c879 = "linen", peg$c880 = peg$literalExpectation("linen", false), peg$c881 = function () { return '#faf0e6ff'; }, peg$c882 = "Linen", peg$c883 = peg$literalExpectation("Linen", false), peg$c884 = "magenta", peg$c885 = peg$literalExpectation("magenta", false), peg$c886 = "Magenta", peg$c887 = peg$literalExpectation("Magenta", false), peg$c888 = "maroon", peg$c889 = peg$literalExpectation("maroon", false), peg$c890 = function () { return '#800000ff'; }, peg$c891 = "Maroon", peg$c892 = peg$literalExpectation("Maroon", false), peg$c893 = "mediumaquamarine", peg$c894 = peg$literalExpectation("mediumaquamarine", false), peg$c895 = function () { return '#66cdaaff'; }, peg$c896 = "MediumAquaMarine", peg$c897 = peg$literalExpectation("MediumAquaMarine", false), peg$c898 = "mediumblue", peg$c899 = peg$literalExpectation("mediumblue", false), peg$c900 = function () { return '#0000cdff'; }, peg$c901 = "MediumBlue", peg$c902 = peg$literalExpectation("MediumBlue", false), peg$c903 = "mediumorchid", peg$c904 = peg$literalExpectation("mediumorchid", false), peg$c905 = function () { return '#ba55d3ff'; }, peg$c906 = "MediumOrchid", peg$c907 = peg$literalExpectation("MediumOrchid", false), peg$c908 = "mediumpurple", peg$c909 = peg$literalExpectation("mediumpurple", false), peg$c910 = function () { return '#9370d8ff'; }, peg$c911 = "MediumPurple", peg$c912 = peg$literalExpectation("MediumPurple", false), peg$c913 = "mediumseagreen", peg$c914 = peg$literalExpectation("mediumseagreen", false), peg$c915 = function () { return '#3cb371ff'; }, peg$c916 = "MediumSeaGreen", peg$c917 = peg$literalExpectation("MediumSeaGreen", false), peg$c918 = "mediumslateblue", peg$c919 = peg$literalExpectation("mediumslateblue", false), peg$c920 = function () { return '#7b68eeff'; }, peg$c921 = "MediumSlateBlue", peg$c922 = peg$literalExpectation("MediumSlateBlue", false), peg$c923 = "mediumspringgreen", peg$c924 = peg$literalExpectation("mediumspringgreen", false), peg$c925 = function () { return '#00fa9aff'; }, peg$c926 = "MediumSpringGreen", peg$c927 = peg$literalExpectation("MediumSpringGreen", false), peg$c928 = "mediumturquoise", peg$c929 = peg$literalExpectation("mediumturquoise", false), peg$c930 = function () { return '#48d1ccff'; }, peg$c931 = "MediumTurquoise", peg$c932 = peg$literalExpectation("MediumTurquoise", false), peg$c933 = "mediumvioletred", peg$c934 = peg$literalExpectation("mediumvioletred", false), peg$c935 = function () { return '#c71585ff'; }, peg$c936 = "MediumVioletRed", peg$c937 = peg$literalExpectation("MediumVioletRed", false), peg$c938 = "midnightblue", peg$c939 = peg$literalExpectation("midnightblue", false), peg$c940 = function () { return '#191970ff'; }, peg$c941 = "MidnightBlue", peg$c942 = peg$literalExpectation("MidnightBlue", false), peg$c943 = "mintcream", peg$c944 = peg$literalExpectation("mintcream", false), peg$c945 = function () { return '#f5fffaff'; }, peg$c946 = "MintCream", peg$c947 = peg$literalExpectation("MintCream", false), peg$c948 = "mistyrose", peg$c949 = peg$literalExpectation("mistyrose", false), peg$c950 = function () { return '#ffe4e1ff'; }, peg$c951 = "MistyRose", peg$c952 = peg$literalExpectation("MistyRose", false), peg$c953 = "moccasin", peg$c954 = peg$literalExpectation("moccasin", false), peg$c955 = function () { return '#ffe4b5ff'; }, peg$c956 = "Moccasin", peg$c957 = peg$literalExpectation("Moccasin", false), peg$c958 = "navajowhite", peg$c959 = peg$literalExpectation("navajowhite", false), peg$c960 = function () { return '#ffdeadff'; }, peg$c961 = "NavajoWhite", peg$c962 = peg$literalExpectation("NavajoWhite", false), peg$c963 = "navy", peg$c964 = peg$literalExpectation("navy", false), peg$c965 = function () { return '#000080ff'; }, peg$c966 = "Navy", peg$c967 = peg$literalExpectation("Navy", false), peg$c968 = "oldlace", peg$c969 = peg$literalExpectation("oldlace", false), peg$c970 = function () { return '#fdf5e6ff'; }, peg$c971 = "OldLace", peg$c972 = peg$literalExpectation("OldLace", false), peg$c973 = "olivedrab", peg$c974 = peg$literalExpectation("olivedrab", false), peg$c975 = function () { return '#6b8e23ff'; }, peg$c976 = "OliveDrab", peg$c977 = peg$literalExpectation("OliveDrab", false), peg$c978 = "olive", peg$c979 = peg$literalExpectation("olive", false), peg$c980 = function () { return '#808000ff'; }, peg$c981 = "Olive", peg$c982 = peg$literalExpectation("Olive", false), peg$c983 = "orangered", peg$c984 = peg$literalExpectation("orangered", false), peg$c985 = function () { return '#ff4500ff'; }, peg$c986 = "OrangeRed", peg$c987 = peg$literalExpectation("OrangeRed", false), peg$c988 = "orange", peg$c989 = peg$literalExpectation("orange", false), peg$c990 = function () { return '#ffa500ff'; }, peg$c991 = "Orange", peg$c992 = peg$literalExpectation("Orange", false), peg$c993 = "orchid", peg$c994 = peg$literalExpectation("orchid", false), peg$c995 = function () { return '#da70d6ff'; }, peg$c996 = "Orchid", peg$c997 = peg$literalExpectation("Orchid", false), peg$c998 = "palegoldenrod", peg$c999 = peg$literalExpectation("palegoldenrod", false), peg$c1000 = function () { return '#eee8aaff'; }, peg$c1001 = "PaleGoldenRod", peg$c1002 = peg$literalExpectation("PaleGoldenRod", false), peg$c1003 = "palegreen", peg$c1004 = peg$literalExpectation("palegreen", false), peg$c1005 = function () { return '#98fb98ff'; }, peg$c1006 = "PaleGreen", peg$c1007 = peg$literalExpectation("PaleGreen", false), peg$c1008 = "paleturquoise", peg$c1009 = peg$literalExpectation("paleturquoise", false), peg$c1010 = function () { return '#afeeeeff'; }, peg$c1011 = "PaleTurquoise", peg$c1012 = peg$literalExpectation("PaleTurquoise", false), peg$c1013 = "palevioletred", peg$c1014 = peg$literalExpectation("palevioletred", false), peg$c1015 = function () { return '#d87093ff'; }, peg$c1016 = "PaleVioletRed", peg$c1017 = peg$literalExpectation("PaleVioletRed", false), peg$c1018 = "papayawhip", peg$c1019 = peg$literalExpectation("papayawhip", false), peg$c1020 = function () { return '#ffefd5ff'; }, peg$c1021 = "PapayaWhip", peg$c1022 = peg$literalExpectation("PapayaWhip", false), peg$c1023 = "peachpuff", peg$c1024 = peg$literalExpectation("peachpuff", false), peg$c1025 = function () { return '#ffdab9ff'; }, peg$c1026 = "PeachPuff", peg$c1027 = peg$literalExpectation("PeachPuff", false), peg$c1028 = "peru", peg$c1029 = peg$literalExpectation("peru", false), peg$c1030 = function () { return '#cd853fff'; }, peg$c1031 = "Peru", peg$c1032 = peg$literalExpectation("Peru", false), peg$c1033 = "pink", peg$c1034 = peg$literalExpectation("pink", false), peg$c1035 = function () { return '#ffc0cbff'; }, peg$c1036 = "Pink", peg$c1037 = peg$literalExpectation("Pink", false), peg$c1038 = "plum", peg$c1039 = peg$literalExpectation("plum", false), peg$c1040 = function () { return '#dda0ddff'; }, peg$c1041 = "Plum", peg$c1042 = peg$literalExpectation("Plum", false), peg$c1043 = "powderblue", peg$c1044 = peg$literalExpectation("powderblue", false), peg$c1045 = function () { return '#b0e0e6ff'; }, peg$c1046 = "PowderBlue", peg$c1047 = peg$literalExpectation("PowderBlue", false), peg$c1048 = "purple", peg$c1049 = peg$literalExpectation("purple", false), peg$c1050 = function () { return '#800080ff'; }, peg$c1051 = "Purple", peg$c1052 = peg$literalExpectation("Purple", false), peg$c1053 = "red", peg$c1054 = peg$literalExpectation("red", false), peg$c1055 = function () { return '#ff0000ff'; }, peg$c1056 = "Red", peg$c1057 = peg$literalExpectation("Red", false), peg$c1058 = "rosybrown", peg$c1059 = peg$literalExpectation("rosybrown", false), peg$c1060 = function () { return '#bc8f8fff'; }, peg$c1061 = "RosyBrown", peg$c1062 = peg$literalExpectation("RosyBrown", false), peg$c1063 = "royalblue", peg$c1064 = peg$literalExpectation("royalblue", false), peg$c1065 = function () { return '#4169e1ff'; }, peg$c1066 = "RoyalBlue", peg$c1067 = peg$literalExpectation("RoyalBlue", false), peg$c1068 = "saddlebrown", peg$c1069 = peg$literalExpectation("saddlebrown", false), peg$c1070 = function () { return '#8b4513ff'; }, peg$c1071 = "SaddleBrown", peg$c1072 = peg$literalExpectation("SaddleBrown", false), peg$c1073 = "salmon", peg$c1074 = peg$literalExpectation("salmon", false), peg$c1075 = function () { return '#fa8072ff'; }, peg$c1076 = "Salmon", peg$c1077 = peg$literalExpectation("Salmon", false), peg$c1078 = "sandybrown", peg$c1079 = peg$literalExpectation("sandybrown", false), peg$c1080 = function () { return '#f4a460ff'; }, peg$c1081 = "SandyBrown", peg$c1082 = peg$literalExpectation("SandyBrown", false), peg$c1083 = "seagreen", peg$c1084 = peg$literalExpectation("seagreen", false), peg$c1085 = function () { return '#2e8b57ff'; }, peg$c1086 = "SeaGreen", peg$c1087 = peg$literalExpectation("SeaGreen", false), peg$c1088 = "seashell", peg$c1089 = peg$literalExpectation("seashell", false), peg$c1090 = function () { return '#fff5eeff'; }, peg$c1091 = "SeaShell", peg$c1092 = peg$literalExpectation("SeaShell", false), peg$c1093 = "sienna", peg$c1094 = peg$literalExpectation("sienna", false), peg$c1095 = function () { return '#a0522dff'; }, peg$c1096 = "Sienna", peg$c1097 = peg$literalExpectation("Sienna", false), peg$c1098 = "silver", peg$c1099 = peg$literalExpectation("silver", false), peg$c1100 = function () { return '#c0c0c0ff'; }, peg$c1101 = "Silver", peg$c1102 = peg$literalExpectation("Silver", false), peg$c1103 = "skyblue", peg$c1104 = peg$literalExpectation("skyblue", false), peg$c1105 = function () { return '#87ceebff'; }, peg$c1106 = "SkyBlue", peg$c1107 = peg$literalExpectation("SkyBlue", false), peg$c1108 = "slateblue", peg$c1109 = peg$literalExpectation("slateblue", false), peg$c1110 = function () { return '#6a5acdff'; }, peg$c1111 = "SlateBlue", peg$c1112 = peg$literalExpectation("SlateBlue", false), peg$c1113 = "slategray", peg$c1114 = peg$literalExpectation("slategray", false), peg$c1115 = function () { return '#708090ff'; }, peg$c1116 = "SlateGray", peg$c1117 = peg$literalExpectation("SlateGray", false), peg$c1118 = "slategrey", peg$c1119 = peg$literalExpectation("slategrey", false), peg$c1120 = "SlateGrey", peg$c1121 = peg$literalExpectation("SlateGrey", false), peg$c1122 = "snow", peg$c1123 = peg$literalExpectation("snow", false), peg$c1124 = function () { return '#fffafaff'; }, peg$c1125 = "Snow", peg$c1126 = peg$literalExpectation("Snow", false), peg$c1127 = "springgreen", peg$c1128 = peg$literalExpectation("springgreen", false), peg$c1129 = function () { return '#00ff7fff'; }, peg$c1130 = "SpringGreen", peg$c1131 = peg$literalExpectation("SpringGreen", false), peg$c1132 = "steelblue", peg$c1133 = peg$literalExpectation("steelblue", false), peg$c1134 = function () { return '#4682b4ff'; }, peg$c1135 = "SteelBlue", peg$c1136 = peg$literalExpectation("SteelBlue", false), peg$c1137 = "tan", peg$c1138 = peg$literalExpectation("tan", false), peg$c1139 = function () { return '#d2b48cff'; }, peg$c1140 = "Tan", peg$c1141 = peg$literalExpectation("Tan", false), peg$c1142 = "teal", peg$c1143 = peg$literalExpectation("teal", false), peg$c1144 = function () { return '#008080ff'; }, peg$c1145 = "Teal", peg$c1146 = peg$literalExpectation("Teal", false), peg$c1147 = "thistle", peg$c1148 = peg$literalExpectation("thistle", false), peg$c1149 = function () { return '#d8bfd8ff'; }, peg$c1150 = "Thistle", peg$c1151 = peg$literalExpectation("Thistle", false), peg$c1152 = "tomato", peg$c1153 = peg$literalExpectation("tomato", false), peg$c1154 = function () { return '#ff6347ff'; }, peg$c1155 = "Tomato", peg$c1156 = peg$literalExpectation("Tomato", false), peg$c1157 = "turquoise", peg$c1158 = peg$literalExpectation("turquoise", false), peg$c1159 = function () { return '#40e0d0ff'; }, peg$c1160 = "Turquoise", peg$c1161 = peg$literalExpectation("Turquoise", false), peg$c1162 = "violet", peg$c1163 = peg$literalExpectation("violet", false), peg$c1164 = function () { return '#ee82eeff'; }, peg$c1165 = "Violet", peg$c1166 = peg$literalExpectation("Violet", false), peg$c1167 = "wheat", peg$c1168 = peg$literalExpectation("wheat", false), peg$c1169 = function () { return '#f5deb3ff'; }, peg$c1170 = "Wheat", peg$c1171 = peg$literalExpectation("Wheat", false), peg$c1172 = "whitesmoke", peg$c1173 = peg$literalExpectation("whitesmoke", false), peg$c1174 = function () { return '#f5f5f5ff'; }, peg$c1175 = "WhiteSmoke", peg$c1176 = peg$literalExpectation("WhiteSmoke", false), peg$c1177 = "white", peg$c1178 = peg$literalExpectation("white", false), peg$c1179 = function () { return '#ffffffff'; }, peg$c1180 = "White", peg$c1181 = peg$literalExpectation("White", false), peg$c1182 = "yellowgreen", peg$c1183 = peg$literalExpectation("yellowgreen", false), peg$c1184 = function () { return '#9acd32ff'; }, peg$c1185 = "YellowGreen", peg$c1186 = peg$literalExpectation("YellowGreen", false), peg$c1187 = "yellow", peg$c1188 = peg$literalExpectation("yellow", false), peg$c1189 = function () { return '#ffff00ff'; }, peg$c1190 = "Yellow", peg$c1191 = peg$literalExpectation("Yellow", false), peg$c1192 = function (lab) { return lab; }, peg$c1193 = "#", peg$c1194 = peg$literalExpectation("#", false), peg$c1195 = function (r, g, b) { + return `#${r}${r}${g}${g}${b}${b}ff`; + }, peg$c1196 = function (r1, r2, g1, g2, b1, b2) { + return `#${r1}${r2}${g1}${g2}${b1}${b2}ff`; + }, peg$c1197 = function (r, g, b, a) { + return `#${r}${r}${g}${g}${b}${b}${a}${a}`; + }, peg$c1198 = function (r1, r2, g1, g2, b1, b2, a1, a2) { + return `#${r1}${r2}${g1}${g2}${b1}${b2}${a1}${a2}`; + }, peg$c1199 = peg$otherExpectation("color"), peg$c1200 = "arc_label", peg$c1201 = peg$literalExpectation("arc_label", false), peg$c1202 = "head_label", peg$c1203 = peg$literalExpectation("head_label", false), peg$c1204 = "tail_label", peg$c1205 = peg$literalExpectation("tail_label", false), peg$c1206 = ":", peg$c1207 = peg$literalExpectation(":", false), peg$c1208 = ";", peg$c1209 = peg$literalExpectation(";", false), peg$c1210 = function (key, value) { return { key: key, value: value }; }, peg$c1211 = peg$otherExpectation("single edge color"), peg$c1212 = "edge_color", peg$c1213 = peg$literalExpectation("edge_color", false), peg$c1214 = function (value) { return { key: 'single_edge_color', value: value }; }, peg$c1215 = peg$otherExpectation("transition line style"), peg$c1216 = "line-style", peg$c1217 = peg$literalExpectation("line-style", false), peg$c1218 = function (value) { return { key: 'transition_line_style', value: value }; }, peg$c1219 = "{", peg$c1220 = peg$literalExpectation("{", false), peg$c1221 = "}", peg$c1222 = peg$literalExpectation("}", false), peg$c1223 = function (items) { return items; }, peg$c1224 = "%", peg$c1225 = peg$literalExpectation("%", false), peg$c1226 = function (value) { return { key: 'arrow probability', value: value }; }, peg$c1227 = function (names) { return names.map(i => i[0]); }, peg$c1228 = "+|", peg$c1229 = peg$literalExpectation("+|", false), peg$c1230 = function (nzd, dd) { return { key: 'stripe', value: parseInt(`${nzd}${dd}`, 10) }; }, peg$c1231 = "-|", peg$c1232 = peg$literalExpectation("-|", false), peg$c1233 = function (nzd, dd) { return { key: 'stripe', value: -1 * parseInt(`${nzd}${dd}`, 10) }; }, peg$c1234 = "+", peg$c1235 = peg$literalExpectation("+", false), peg$c1236 = function (nzd, dd) { return { key: 'cycle', value: parseInt(`${nzd}${dd}`, 10) }; }, peg$c1237 = "-", peg$c1238 = peg$literalExpectation("-", false), peg$c1239 = function (nzd, dd) { return { key: 'cycle', value: -1 * parseInt(`${nzd}${dd}`, 10) }; }, peg$c1240 = "+0", peg$c1241 = peg$literalExpectation("+0", false), peg$c1242 = function () { return { key: 'cycle', value: 0 }; }, peg$c1243 = function (r_action, r_prob, l_desc, arrow, r_desc, l_prob, l_action, label, tail) { + // Reminder: remove this type and the one in Exp if you want to work in pegjs online + // TODO: properly type this + const base = { kind: arrow, to: label }; + if (tail && (tail !== [])) { + base.se = tail; + } + if (l_desc) { + base.l_desc = l_desc; + } + if (r_desc) { + base.r_desc = r_desc; + } + if (l_action) { + base.l_action = l_action; + } + if (r_action) { + base.r_action = r_action; + } + if (l_prob) { + base.l_probability = l_prob.value; + } + if (r_prob) { + base.r_probability = r_prob.value; + } + return base; + }, peg$c1244 = function (label, se) { + // Reminder: remove this type and the one in subexp if you want to work in pegjs online + // TODO: properly type this + const base = { key: 'transition', from: label }; + if (se && (se !== [])) { + base.se = se; + } + return base; + }, peg$c1245 = "whargarbl", peg$c1246 = peg$literalExpectation("whargarbl", false), peg$c1247 = "todo", peg$c1248 = peg$literalExpectation("todo", false), peg$c1249 = function (validationkey, value) { return { key: validationkey, value: value }; }, peg$c1250 = "validation", peg$c1251 = peg$literalExpectation("validation", false), peg$c1252 = "};", peg$c1253 = peg$literalExpectation("};", false), peg$c1254 = function (validation_items) { + return { config_kind: "validation", config_items: validation_items || [] }; + }, peg$c1255 = "dot", peg$c1256 = peg$literalExpectation("dot", false), peg$c1257 = "circo", peg$c1258 = peg$literalExpectation("circo", false), peg$c1259 = "fdp", peg$c1260 = peg$literalExpectation("fdp", false), peg$c1261 = "neato", peg$c1262 = peg$literalExpectation("neato", false), peg$c1263 = "state", peg$c1264 = peg$literalExpectation("state", false), peg$c1265 = function (state_items) { + return { key: "default_state_config", value: state_items || [] }; + }, peg$c1266 = "start_state", peg$c1267 = peg$literalExpectation("start_state", false), peg$c1268 = function (state_items) { + return { key: "default_start_state_config", value: state_items || [] }; + }, peg$c1269 = "end_state", peg$c1270 = peg$literalExpectation("end_state", false), peg$c1271 = function (state_items) { + return { key: "default_end_state_config", value: state_items || [] }; + }, peg$c1272 = "active_state", peg$c1273 = peg$literalExpectation("active_state", false), peg$c1274 = function (state_items) { + return { key: "default_active_state_config", value: state_items || [] }; + }, peg$c1275 = "terminal_state", peg$c1276 = peg$literalExpectation("terminal_state", false), peg$c1277 = function (state_items) { + return { key: "default_terminal_state_config", value: state_items || [] }; + }, peg$c1278 = "hooked_state", peg$c1279 = peg$literalExpectation("hooked_state", false), peg$c1280 = function (state_items) { + return { key: "default_hooked_state_config", value: state_items || [] }; + }, peg$c1281 = function (actionkey, value) { return { key: actionkey, value: value }; }, peg$c1282 = "action", peg$c1283 = peg$literalExpectation("action", false), peg$c1284 = function (action_items) { + return { config_kind: "action", config_items: action_items || [] }; + }, peg$c1285 = function (key, value) { return { key, value }; }, peg$c1286 = peg$otherExpectation("graph default edge color"), peg$c1287 = function (value) { return { key: 'graph_default_edge_color', value }; }, peg$c1288 = "transition", peg$c1289 = peg$literalExpectation("transition", false), peg$c1290 = function (transition_items) { + return { config_kind: "transition", config_items: transition_items || [] }; + }, peg$c1291 = "graph_layout", peg$c1292 = peg$literalExpectation("graph_layout", false), peg$c1293 = function (value) { return { key: "graph_layout", value: value }; }, peg$c1294 = "start_states", peg$c1295 = peg$literalExpectation("start_states", false), peg$c1296 = function (value) { return { key: "start_states", value: value }; }, peg$c1297 = "end_states", peg$c1298 = peg$literalExpectation("end_states", false), peg$c1299 = function (value) { return { key: "end_states", value: value }; }, peg$c1300 = "graph_bg_color", peg$c1301 = peg$literalExpectation("graph_bg_color", false), peg$c1302 = function (value) { return { key: "graph_bg_color", value: value }; }, peg$c1303 = peg$otherExpectation("configuration"), peg$c1304 = "MIT", peg$c1305 = peg$literalExpectation("MIT", false), peg$c1306 = "BSD 2-clause", peg$c1307 = peg$literalExpectation("BSD 2-clause", false), peg$c1308 = "BSD 3-clause", peg$c1309 = peg$literalExpectation("BSD 3-clause", false), peg$c1310 = "Apache 2.0", peg$c1311 = peg$literalExpectation("Apache 2.0", false), peg$c1312 = "Mozilla 2.0", peg$c1313 = peg$literalExpectation("Mozilla 2.0", false), peg$c1314 = "Public domain", peg$c1315 = peg$literalExpectation("Public domain", false), peg$c1316 = "GPL v2", peg$c1317 = peg$literalExpectation("GPL v2", false), peg$c1318 = "GPL v3", peg$c1319 = peg$literalExpectation("GPL v3", false), peg$c1320 = "LGPL v2.1", peg$c1321 = peg$literalExpectation("LGPL v2.1", false), peg$c1322 = "LGPL v3.0", peg$c1323 = peg$literalExpectation("LGPL v3.0", false), peg$c1324 = "Unknown", peg$c1325 = peg$literalExpectation("Unknown", false), peg$c1326 = peg$otherExpectation("direction"), peg$c1327 = "up", peg$c1328 = peg$literalExpectation("up", false), peg$c1329 = "right", peg$c1330 = peg$literalExpectation("right", false), peg$c1331 = "down", peg$c1332 = peg$literalExpectation("down", false), peg$c1333 = "left", peg$c1334 = peg$literalExpectation("left", false), peg$c1335 = peg$otherExpectation("hook definition (open/closed)"), peg$c1336 = "open", peg$c1337 = peg$literalExpectation("open", false), peg$c1338 = "closed", peg$c1339 = peg$literalExpectation("closed", false), peg$c1340 = "machine_author", peg$c1341 = peg$literalExpectation("machine_author", false), peg$c1342 = function (value) { return { key: "machine_author", value }; }, peg$c1343 = "machine_contributor", peg$c1344 = peg$literalExpectation("machine_contributor", false), peg$c1345 = function (value) { return { key: "machine_contributor", value }; }, peg$c1346 = "machine_comment", peg$c1347 = peg$literalExpectation("machine_comment", false), peg$c1348 = function (value) { return { key: "machine_comment", value }; }, peg$c1349 = "machine_definition", peg$c1350 = peg$literalExpectation("machine_definition", false), peg$c1351 = function (value) { return { key: "machine_definition", value }; }, peg$c1352 = "machine_name", peg$c1353 = peg$literalExpectation("machine_name", false), peg$c1354 = function (value) { return { key: "machine_name", value }; }, peg$c1358 = "machine_version", peg$c1359 = peg$literalExpectation("machine_version", false), peg$c1360 = function (value) { return { key: "machine_version", value }; }, peg$c1361 = "machine_license", peg$c1362 = peg$literalExpectation("machine_license", false), peg$c1363 = function (value) { return { key: "machine_license", value }; }, peg$c1364 = "machine_language", peg$c1365 = peg$literalExpectation("machine_language", false), peg$c1366 = function (value) { return { key: "machine_language", value }; }, peg$c1367 = "fsl_version", peg$c1368 = peg$literalExpectation("fsl_version", false), peg$c1369 = function (value) { return { key: "fsl_version", value }; }, peg$c1370 = "theme", peg$c1371 = peg$literalExpectation("theme", false), peg$c1372 = function (value) { return { key: "theme", value }; }, peg$c1373 = "flow", peg$c1374 = peg$literalExpectation("flow", false), peg$c1375 = function (value) { return { key: "flow", value }; }, peg$c1376 = "hooks", peg$c1377 = peg$literalExpectation("hooks", false), peg$c1378 = function (value) { return { key: "hook_definition", value }; }, peg$c1379 = "dot_preamble", peg$c1380 = peg$literalExpectation("dot_preamble", false), peg$c1381 = function (value) { return { key: "dot_preamble", value }; }, peg$c1382 = peg$otherExpectation("machine attribute"), peg$c1383 = "label", peg$c1384 = peg$literalExpectation("label", false), peg$c1385 = function (value) { return { key: 'state-label', value }; }, peg$c1386 = "color", peg$c1387 = peg$literalExpectation("color", false), peg$c1388 = function (value) { return { key: 'color', value }; }, peg$c1389 = peg$otherExpectation("text color"), peg$c1390 = "text-color", peg$c1391 = peg$literalExpectation("text-color", false), peg$c1392 = function (value) { return { key: 'text-color', value }; }, peg$c1393 = peg$otherExpectation("background color"), peg$c1394 = "background-color", peg$c1395 = peg$literalExpectation("background-color", false), peg$c1396 = function (value) { return { key: 'background-color', value }; }, peg$c1397 = peg$otherExpectation("border color"), peg$c1398 = "border-color", peg$c1399 = peg$literalExpectation("border-color", false), peg$c1400 = function (value) { return { key: 'border-color', value }; }, peg$c1401 = peg$otherExpectation("shape"), peg$c1402 = "shape", peg$c1403 = peg$literalExpectation("shape", false), peg$c1404 = function (value) { return { key: 'shape', value }; }, peg$c1405 = peg$otherExpectation("corners"), peg$c1406 = "corners", peg$c1407 = peg$literalExpectation("corners", false), peg$c1408 = function (value) { return { key: 'corners', value }; }, peg$c1409 = peg$otherExpectation("linestyle"), peg$c1410 = function (value) { return { key: 'line-style', value }; }, peg$c1411 = "linestyle", peg$c1412 = peg$literalExpectation("linestyle", false), peg$c1413 = peg$otherExpectation("state property"), peg$c1414 = "property", peg$c1415 = peg$literalExpectation("property", false), peg$c1416 = function (name, value) { + return { key: 'state_property', name, value }; + }, peg$c1417 = "required", peg$c1418 = peg$literalExpectation("required", false), peg$c1419 = function (name, value) { + return { key: 'state_property', name, value, required: true }; + }, peg$c1420 = function (name, value) { return { key: 'state_declaration', name, value }; }, peg$c1421 = "&", peg$c1422 = peg$literalExpectation("&", false), peg$c1423 = function (name, value) { return { key: 'named_list', name, value }; }, peg$c1424 = function (name, default_value) { return { key: 'property_definition', name, default_value, required: true }; }, peg$c1425 = function (name) { return { key: 'property_definition', name, required: true }; }, peg$c1426 = function (name, default_value) { return { key: 'property_definition', name, default_value }; }, peg$c1427 = function (name) { return { key: 'property_definition', name }; }, peg$c1428 = "arrange", peg$c1429 = peg$literalExpectation("arrange", false), peg$c1430 = function (value) { return { key: 'arrange_declaration', value }; }, peg$c1431 = "arrange-start", peg$c1432 = peg$literalExpectation("arrange-start", false), peg$c1433 = function (value) { return { key: 'arrange_start_declaration', value }; }, peg$c1434 = "arrange-end", peg$c1435 = peg$literalExpectation("arrange-end", false), peg$c1436 = function (value) { return { key: 'arrange_end_declaration', value }; }, peg$c1437 = peg$otherExpectation("arrange declaration"), peg$currPos = 0, peg$savedPos = 0, peg$posDetailsCache = [{ line: 1, column: 1 }], peg$maxFailPos = 0, peg$maxFailExpected = [], peg$silentFails = 0, peg$result; + if ("startRule" in options) { + if (!(options.startRule in peg$startRuleFunctions)) { + throw new Error("Can't start parsing from rule \"" + options.startRule + "\"."); + } + peg$startRuleFunction = peg$startRuleFunctions[options.startRule]; + } + function text() { + return input.substring(peg$savedPos, peg$currPos); + } + function peg$literalExpectation(text, ignoreCase) { + return { type: "literal", text: text, ignoreCase: ignoreCase }; + } + function peg$classExpectation(parts, inverted, ignoreCase) { + return { type: "class", parts: parts, inverted: inverted, ignoreCase: ignoreCase }; + } + function peg$anyExpectation() { + return { type: "any" }; + } + function peg$endExpectation() { + return { type: "end" }; + } + function peg$otherExpectation(description) { + return { type: "other", description: description }; + } + function peg$computePosDetails(pos) { + var details = peg$posDetailsCache[pos], p; + if (details) { + return details; + } + else { + p = pos - 1; + while (!peg$posDetailsCache[p]) { + p--; + } + details = peg$posDetailsCache[p]; + details = { + line: details.line, + column: details.column + }; + while (p < pos) { + if (input.charCodeAt(p) === 10) { + details.line++; + details.column = 1; + } + else { + details.column++; + } + p++; + } + peg$posDetailsCache[pos] = details; + return details; + } + } + function peg$computeLocation(startPos, endPos) { + var startPosDetails = peg$computePosDetails(startPos), endPosDetails = peg$computePosDetails(endPos); + return { + start: { + offset: startPos, + line: startPosDetails.line, + column: startPosDetails.column + }, + end: { + offset: endPos, + line: endPosDetails.line, + column: endPosDetails.column + } + }; + } + function peg$fail(expected) { + if (peg$currPos < peg$maxFailPos) { + return; + } + if (peg$currPos > peg$maxFailPos) { + peg$maxFailPos = peg$currPos; + peg$maxFailExpected = []; + } + peg$maxFailExpected.push(expected); + } + function peg$buildStructuredError(expected, found, location) { + return new peg$SyntaxError(peg$SyntaxError.buildMessage(expected, found), expected, found, location); + } + function peg$parseDocument() { + var s0, s1, s2, s3; + s0 = peg$currPos; + s1 = peg$parseWS(); + if (s1 === peg$FAILED) { + s1 = null; + } + if (s1 !== peg$FAILED) { + s2 = peg$parseTermList(); + if (s2 !== peg$FAILED) { + s3 = peg$parseWS(); + if (s3 === peg$FAILED) { + s3 = null; + } + if (s3 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c0(s2); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + return s0; + } + function peg$parseTheme() { + var s0; + if (input.substr(peg$currPos, 4) === peg$c1) { + s0 = peg$c1; + peg$currPos += 4; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c2); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 7) === peg$c3) { + s0 = peg$c3; + peg$currPos += 7; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c4); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 6) === peg$c5) { + s0 = peg$c5; + peg$currPos += 6; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c6); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 5) === peg$c7) { + s0 = peg$c7; + peg$currPos += 5; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c8); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 4) === peg$c9) { + s0 = peg$c9; + peg$currPos += 4; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c10); + } + } + } + } + } + } + return s0; + } + function peg$parseThemeOrThemeList() { + var s0, s1, s2, s3, s4, s5, s6; + s0 = peg$currPos; + if (input.charCodeAt(peg$currPos) === 91) { + s1 = peg$c11; + peg$currPos++; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c12); + } + } + if (s1 !== peg$FAILED) { + s2 = peg$parseWS(); + if (s2 === peg$FAILED) { + s2 = null; + } + if (s2 !== peg$FAILED) { + s3 = []; + s4 = peg$currPos; + s5 = peg$parseTheme(); + if (s5 !== peg$FAILED) { + s6 = peg$parseWS(); + if (s6 !== peg$FAILED) { + s5 = [s5, s6]; + s4 = s5; + } + else { + peg$currPos = s4; + s4 = peg$FAILED; + } + } + else { + peg$currPos = s4; + s4 = peg$FAILED; + } + while (s4 !== peg$FAILED) { + s3.push(s4); + s4 = peg$currPos; + s5 = peg$parseTheme(); + if (s5 !== peg$FAILED) { + s6 = peg$parseWS(); + if (s6 !== peg$FAILED) { + s5 = [s5, s6]; + s4 = s5; + } + else { + peg$currPos = s4; + s4 = peg$FAILED; + } + } + else { + peg$currPos = s4; + s4 = peg$FAILED; + } + } + if (s3 !== peg$FAILED) { + s4 = peg$parseTheme(); + if (s4 === peg$FAILED) { + s4 = null; + } + if (s4 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 93) { + s5 = peg$c13; + peg$currPos++; + } + else { + s5 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c14); + } + } + if (s5 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c15(s3, s4); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + if (s0 === peg$FAILED) { + s0 = peg$currPos; + s1 = peg$parseTheme(); + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c16(s1); + } + s0 = s1; + } + return s0; + } + function peg$parseGvizShape() { + var s0; + if (input.substr(peg$currPos, 5) === peg$c17) { + s0 = peg$c17; + peg$currPos += 5; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c18); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 7) === peg$c19) { + s0 = peg$c19; + peg$currPos += 7; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c20); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 7) === peg$c21) { + s0 = peg$c21; + peg$currPos += 7; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c22); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 4) === peg$c23) { + s0 = peg$c23; + peg$currPos += 4; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c24); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 6) === peg$c25) { + s0 = peg$c25; + peg$currPos += 6; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c26); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 5) === peg$c27) { + s0 = peg$c27; + peg$currPos += 5; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c28); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 3) === peg$c29) { + s0 = peg$c29; + peg$currPos += 3; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c30); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 8) === peg$c31) { + s0 = peg$c31; + peg$currPos += 8; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c32); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 9) === peg$c33) { + s0 = peg$c33; + peg$currPos += 9; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c34); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 5) === peg$c35) { + s0 = peg$c35; + peg$currPos += 5; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c36); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 7) === peg$c37) { + s0 = peg$c37; + peg$currPos += 7; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c38); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 9) === peg$c39) { + s0 = peg$c39; + peg$currPos += 9; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c40); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 13) === peg$c41) { + s0 = peg$c41; + peg$currPos += 13; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c42); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 5) === peg$c43) { + s0 = peg$c43; + peg$currPos += 5; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c44); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 8) === peg$c45) { + s0 = peg$c45; + peg$currPos += 8; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c46); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 7) === peg$c47) { + s0 = peg$c47; + peg$currPos += 7; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c48); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 8) === peg$c49) { + s0 = peg$c49; + peg$currPos += 8; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c50); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 7) === peg$c51) { + s0 = peg$c51; + peg$currPos += 7; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c52); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 12) === peg$c53) { + s0 = peg$c53; + peg$currPos += 12; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c54); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 13) === peg$c55) { + s0 = peg$c55; + peg$currPos += 13; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c56); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 13) === peg$c57) { + s0 = peg$c57; + peg$currPos += 13; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c58); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 11) === peg$c59) { + s0 = peg$c59; + peg$currPos += 11; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c60); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 12) === peg$c61) { + s0 = peg$c61; + peg$currPos += 12; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c62); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 8) === peg$c63) { + s0 = peg$c63; + peg$currPos += 8; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c64); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 8) === peg$c65) { + s0 = peg$c65; + peg$currPos += 8; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c66); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 7) === peg$c67) { + s0 = peg$c67; + peg$currPos += 7; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c68); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 7) === peg$c69) { + s0 = peg$c69; + peg$currPos += 7; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c70); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 9) === peg$c71) { + s0 = peg$c71; + peg$currPos += 9; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c72); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 4) === peg$c73) { + s0 = peg$c73; + peg$currPos += 4; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c74); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 6) === peg$c75) { + s0 = peg$c75; + peg$currPos += 6; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c76); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 4) === peg$c77) { + s0 = peg$c77; + peg$currPos += 4; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c78); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 4) === peg$c1) { + s0 = peg$c1; + peg$currPos += 4; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c2); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 9) === peg$c79) { + s0 = peg$c79; + peg$currPos += 9; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c80); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 8) === peg$c81) { + s0 = peg$c81; + peg$currPos += 8; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c82); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 4) === peg$c83) { + s0 = peg$c83; + peg$currPos += 4; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c84); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 3) === peg$c85) { + s0 = peg$c85; + peg$currPos += 3; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c86); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 6) === peg$c87) { + s0 = peg$c87; + peg$currPos += 6; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c88); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 3) === peg$c89) { + s0 = peg$c89; + peg$currPos += 3; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c90); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 9) === peg$c91) { + s0 = peg$c91; + peg$currPos += 9; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c92); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 8) === peg$c93) { + s0 = peg$c93; + peg$currPos += 8; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c94); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 3) === peg$c95) { + s0 = peg$c95; + peg$currPos += 3; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c96); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 10) === peg$c97) { + s0 = peg$c97; + peg$currPos += 10; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c98); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 3) === peg$c99) { + s0 = peg$c99; + peg$currPos += 3; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c100); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 10) === peg$c101) { + s0 = peg$c101; + peg$currPos += 10; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c102); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 15) === peg$c103) { + s0 = peg$c103; + peg$currPos += 15; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c104); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 13) === peg$c105) { + s0 = peg$c105; + peg$currPos += 13; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c106); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 14) === peg$c107) { + s0 = peg$c107; + peg$currPos += 14; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c108); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 9) === peg$c109) { + s0 = peg$c109; + peg$currPos += 9; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c110); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 8) === peg$c111) { + s0 = peg$c111; + peg$currPos += 8; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c112); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 9) === peg$c113) { + s0 = peg$c113; + peg$currPos += 9; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c114); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 9) === peg$c115) { + s0 = peg$c115; + peg$currPos += 9; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c116); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 8) === peg$c117) { + s0 = peg$c117; + peg$currPos += 8; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c118); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 7) === peg$c119) { + s0 = peg$c119; + peg$currPos += 7; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c120); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 12) === peg$c121) { + s0 = peg$c121; + peg$currPos += 12; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c122); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 11) === peg$c123) { + s0 = peg$c123; + peg$currPos += 11; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c124); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 9) === peg$c125) { + s0 = peg$c125; + peg$currPos += 9; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c126); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 6) === peg$c127) { + s0 = peg$c127; + peg$currPos += 6; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c128); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 6) === peg$c129) { + s0 = peg$c129; + peg$currPos += 6; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c130); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 9) === peg$c131) { + s0 = peg$c131; + peg$currPos += 9; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c132); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 6) === peg$c133) { + s0 = peg$c133; + peg$currPos += 6; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c134); + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + return s0; + } + function peg$parseForwardLightArrow() { + var s0, s1; + peg$silentFails++; + if (input.substr(peg$currPos, 2) === peg$c136) { + s0 = peg$c136; + peg$currPos += 2; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c137); + } + } + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.charCodeAt(peg$currPos) === 8594) { + s1 = peg$c138; + peg$currPos++; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c139); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c140(); + } + s0 = s1; + } + peg$silentFails--; + if (s0 === peg$FAILED) { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c135); + } + } + return s0; + } + function peg$parseTwoWayLightArrow() { + var s0, s1; + peg$silentFails++; + if (input.substr(peg$currPos, 3) === peg$c142) { + s0 = peg$c142; + peg$currPos += 3; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c143); + } + } + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.charCodeAt(peg$currPos) === 8596) { + s1 = peg$c144; + peg$currPos++; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c145); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c146(); + } + s0 = s1; + } + peg$silentFails--; + if (s0 === peg$FAILED) { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c141); + } + } + return s0; + } + function peg$parseBackLightArrow() { + var s0, s1; + peg$silentFails++; + if (input.substr(peg$currPos, 2) === peg$c148) { + s0 = peg$c148; + peg$currPos += 2; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c149); + } + } + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.charCodeAt(peg$currPos) === 8592) { + s1 = peg$c150; + peg$currPos++; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c151); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c152(); + } + s0 = s1; + } + peg$silentFails--; + if (s0 === peg$FAILED) { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c147); + } + } + return s0; + } + function peg$parseForwardFatArrow() { + var s0, s1; + peg$silentFails++; + if (input.substr(peg$currPos, 2) === peg$c154) { + s0 = peg$c154; + peg$currPos += 2; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c155); + } + } + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.charCodeAt(peg$currPos) === 8658) { + s1 = peg$c156; + peg$currPos++; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c157); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c158(); + } + s0 = s1; + } + peg$silentFails--; + if (s0 === peg$FAILED) { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c153); + } + } + return s0; + } + function peg$parseTwoWayFatArrow() { + var s0, s1; + peg$silentFails++; + if (input.substr(peg$currPos, 3) === peg$c160) { + s0 = peg$c160; + peg$currPos += 3; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c161); + } + } + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.charCodeAt(peg$currPos) === 8660) { + s1 = peg$c162; + peg$currPos++; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c163); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c164(); + } + s0 = s1; + } + peg$silentFails--; + if (s0 === peg$FAILED) { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c159); + } + } + return s0; + } + function peg$parseBackFatArrow() { + var s0, s1; + peg$silentFails++; + if (input.substr(peg$currPos, 2) === peg$c166) { + s0 = peg$c166; + peg$currPos += 2; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c167); + } + } + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.charCodeAt(peg$currPos) === 8656) { + s1 = peg$c168; + peg$currPos++; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c169); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c170(); + } + s0 = s1; + } + peg$silentFails--; + if (s0 === peg$FAILED) { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c165); + } + } + return s0; + } + function peg$parseForwardTildeArrow() { + var s0, s1; + peg$silentFails++; + if (input.substr(peg$currPos, 2) === peg$c172) { + s0 = peg$c172; + peg$currPos += 2; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c173); + } + } + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.charCodeAt(peg$currPos) === 8603) { + s1 = peg$c174; + peg$currPos++; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c175); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c176(); + } + s0 = s1; + } + peg$silentFails--; + if (s0 === peg$FAILED) { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c171); + } + } + return s0; + } + function peg$parseTwoWayTildeArrow() { + var s0, s1; + peg$silentFails++; + if (input.substr(peg$currPos, 3) === peg$c178) { + s0 = peg$c178; + peg$currPos += 3; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c179); + } + } + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.charCodeAt(peg$currPos) === 8622) { + s1 = peg$c180; + peg$currPos++; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c181); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c182(); + } + s0 = s1; + } + peg$silentFails--; + if (s0 === peg$FAILED) { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c177); + } + } + return s0; + } + function peg$parseBackTildeArrow() { + var s0, s1; + peg$silentFails++; + if (input.substr(peg$currPos, 2) === peg$c184) { + s0 = peg$c184; + peg$currPos += 2; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c185); + } + } + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.charCodeAt(peg$currPos) === 8602) { + s1 = peg$c186; + peg$currPos++; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c187); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c188(); + } + s0 = s1; + } + peg$silentFails--; + if (s0 === peg$FAILED) { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c183); + } + } + return s0; + } + function peg$parseLightFatArrow() { + var s0, s1; + peg$silentFails++; + if (input.substr(peg$currPos, 4) === peg$c190) { + s0 = peg$c190; + peg$currPos += 4; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c191); + } + } + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 2) === peg$c192) { + s1 = peg$c192; + peg$currPos += 2; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c193); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c194(); + } + s0 = s1; + } + peg$silentFails--; + if (s0 === peg$FAILED) { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c189); + } + } + return s0; + } + function peg$parseLightTildeArrow() { + var s0, s1; + peg$silentFails++; + if (input.substr(peg$currPos, 4) === peg$c196) { + s0 = peg$c196; + peg$currPos += 4; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c197); + } + } + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 2) === peg$c198) { + s1 = peg$c198; + peg$currPos += 2; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c199); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c200(); + } + s0 = s1; + } + peg$silentFails--; + if (s0 === peg$FAILED) { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c195); + } + } + return s0; + } + function peg$parseFatLightArrow() { + var s0, s1; + peg$silentFails++; + if (input.substr(peg$currPos, 4) === peg$c202) { + s0 = peg$c202; + peg$currPos += 4; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c203); + } + } + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 2) === peg$c204) { + s1 = peg$c204; + peg$currPos += 2; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c205); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c206(); + } + s0 = s1; + } + peg$silentFails--; + if (s0 === peg$FAILED) { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c201); + } + } + return s0; + } + function peg$parseFatTildeArrow() { + var s0, s1; + peg$silentFails++; + if (input.substr(peg$currPos, 4) === peg$c208) { + s0 = peg$c208; + peg$currPos += 4; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c209); + } + } + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 2) === peg$c210) { + s1 = peg$c210; + peg$currPos += 2; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c211); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c212(); + } + s0 = s1; + } + peg$silentFails--; + if (s0 === peg$FAILED) { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c207); + } + } + return s0; + } + function peg$parseTildeLightArrow() { + var s0, s1; + peg$silentFails++; + if (input.substr(peg$currPos, 4) === peg$c214) { + s0 = peg$c214; + peg$currPos += 4; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c215); + } + } + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 2) === peg$c216) { + s1 = peg$c216; + peg$currPos += 2; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c217); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c218(); + } + s0 = s1; + } + peg$silentFails--; + if (s0 === peg$FAILED) { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c213); + } + } + return s0; + } + function peg$parseTildeFatArrow() { + var s0, s1; + peg$silentFails++; + if (input.substr(peg$currPos, 4) === peg$c220) { + s0 = peg$c220; + peg$currPos += 4; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c221); + } + } + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 2) === peg$c222) { + s1 = peg$c222; + peg$currPos += 2; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c223); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c224(); + } + s0 = s1; + } + peg$silentFails--; + if (s0 === peg$FAILED) { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c219); + } + } + return s0; + } + function peg$parseLightArrow() { + var s0; + peg$silentFails++; + s0 = peg$parseForwardLightArrow(); + if (s0 === peg$FAILED) { + s0 = peg$parseTwoWayLightArrow(); + if (s0 === peg$FAILED) { + s0 = peg$parseBackLightArrow(); + } + } + peg$silentFails--; + if (s0 === peg$FAILED) { + if (peg$silentFails === 0) { + peg$fail(peg$c225); + } + } + return s0; + } + function peg$parseFatArrow() { + var s0; + peg$silentFails++; + s0 = peg$parseForwardFatArrow(); + if (s0 === peg$FAILED) { + s0 = peg$parseTwoWayFatArrow(); + if (s0 === peg$FAILED) { + s0 = peg$parseBackFatArrow(); + } + } + peg$silentFails--; + if (s0 === peg$FAILED) { + if (peg$silentFails === 0) { + peg$fail(peg$c226); + } + } + return s0; + } + function peg$parseTildeArrow() { + var s0; + peg$silentFails++; + s0 = peg$parseForwardTildeArrow(); + if (s0 === peg$FAILED) { + s0 = peg$parseTwoWayTildeArrow(); + if (s0 === peg$FAILED) { + s0 = peg$parseBackTildeArrow(); + } + } + peg$silentFails--; + if (s0 === peg$FAILED) { + if (peg$silentFails === 0) { + peg$fail(peg$c227); + } + } + return s0; + } + function peg$parseMixedArrow() { + var s0; + peg$silentFails++; + s0 = peg$parseLightFatArrow(); + if (s0 === peg$FAILED) { + s0 = peg$parseLightTildeArrow(); + if (s0 === peg$FAILED) { + s0 = peg$parseFatLightArrow(); + if (s0 === peg$FAILED) { + s0 = peg$parseFatTildeArrow(); + if (s0 === peg$FAILED) { + s0 = peg$parseTildeLightArrow(); + if (s0 === peg$FAILED) { + s0 = peg$parseTildeFatArrow(); + } + } + } + } + } + peg$silentFails--; + if (s0 === peg$FAILED) { + if (peg$silentFails === 0) { + peg$fail(peg$c228); + } + } + return s0; + } + function peg$parseArrow() { + var s0; + peg$silentFails++; + s0 = peg$parseMixedArrow(); + if (s0 === peg$FAILED) { + s0 = peg$parseLightArrow(); + if (s0 === peg$FAILED) { + s0 = peg$parseFatArrow(); + if (s0 === peg$FAILED) { + s0 = peg$parseTildeArrow(); + } + } + } + peg$silentFails--; + if (s0 === peg$FAILED) { + if (peg$silentFails === 0) { + peg$fail(peg$c229); + } + } + return s0; + } + function peg$parseBoolean() { + var s0, s1; + s0 = peg$currPos; + if (input.substr(peg$currPos, 4) === peg$c230) { + s1 = peg$c230; + peg$currPos += 4; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c231); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c232(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 5) === peg$c233) { + s1 = peg$c233; + peg$currPos += 5; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c234); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c235(); + } + s0 = s1; + } + return s0; + } + function peg$parseCorners() { + var s0; + if (input.substr(peg$currPos, 7) === peg$c236) { + s0 = peg$c236; + peg$currPos += 7; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c237); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 7) === peg$c238) { + s0 = peg$c238; + peg$currPos += 7; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c239); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 5) === peg$c240) { + s0 = peg$c240; + peg$currPos += 5; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c241); + } + } + } + } + return s0; + } + function peg$parseLineStyle() { + var s0; + if (input.substr(peg$currPos, 5) === peg$c242) { + s0 = peg$c242; + peg$currPos += 5; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c243); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 6) === peg$c244) { + s0 = peg$c244; + peg$currPos += 6; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c245); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 6) === peg$c246) { + s0 = peg$c246; + peg$currPos += 6; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c247); + } + } + } + } + return s0; + } + function peg$parseChar() { + var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; + s0 = peg$parseUnescaped(); + if (s0 === peg$FAILED) { + s0 = peg$currPos; + s1 = peg$parseEscape(); + if (s1 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 34) { + s2 = peg$c248; + peg$currPos++; + } + else { + s2 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c249); + } + } + if (s2 === peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 92) { + s2 = peg$c250; + peg$currPos++; + } + else { + s2 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c251); + } + } + if (s2 === peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 47) { + s2 = peg$c252; + peg$currPos++; + } + else { + s2 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c253); + } + } + if (s2 === peg$FAILED) { + s2 = peg$currPos; + if (input.charCodeAt(peg$currPos) === 98) { + s3 = peg$c254; + peg$currPos++; + } + else { + s3 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c255); + } + } + if (s3 !== peg$FAILED) { + peg$savedPos = s2; + s3 = peg$c256(); + } + s2 = s3; + if (s2 === peg$FAILED) { + s2 = peg$currPos; + if (input.charCodeAt(peg$currPos) === 102) { + s3 = peg$c257; + peg$currPos++; + } + else { + s3 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c258); + } + } + if (s3 !== peg$FAILED) { + peg$savedPos = s2; + s3 = peg$c259(); + } + s2 = s3; + if (s2 === peg$FAILED) { + s2 = peg$currPos; + if (input.charCodeAt(peg$currPos) === 110) { + s3 = peg$c260; + peg$currPos++; + } + else { + s3 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c261); + } + } + if (s3 !== peg$FAILED) { + peg$savedPos = s2; + s3 = peg$c262(); + } + s2 = s3; + if (s2 === peg$FAILED) { + s2 = peg$currPos; + if (input.charCodeAt(peg$currPos) === 114) { + s3 = peg$c263; + peg$currPos++; + } + else { + s3 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c264); + } + } + if (s3 !== peg$FAILED) { + peg$savedPos = s2; + s3 = peg$c265(); + } + s2 = s3; + if (s2 === peg$FAILED) { + s2 = peg$currPos; + if (input.charCodeAt(peg$currPos) === 116) { + s3 = peg$c266; + peg$currPos++; + } + else { + s3 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c267); + } + } + if (s3 !== peg$FAILED) { + peg$savedPos = s2; + s3 = peg$c268(); + } + s2 = s3; + if (s2 === peg$FAILED) { + s2 = peg$currPos; + if (input.charCodeAt(peg$currPos) === 118) { + s3 = peg$c269; + peg$currPos++; + } + else { + s3 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c270); + } + } + if (s3 !== peg$FAILED) { + peg$savedPos = s2; + s3 = peg$c271(); + } + s2 = s3; + if (s2 === peg$FAILED) { + s2 = peg$currPos; + if (input.charCodeAt(peg$currPos) === 117) { + s3 = peg$c272; + peg$currPos++; + } + else { + s3 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c273); + } + } + if (s3 !== peg$FAILED) { + s4 = peg$currPos; + s5 = peg$currPos; + s6 = peg$parseHexDigit(); + if (s6 !== peg$FAILED) { + s7 = peg$parseHexDigit(); + if (s7 !== peg$FAILED) { + s8 = peg$parseHexDigit(); + if (s8 !== peg$FAILED) { + s9 = peg$parseHexDigit(); + if (s9 !== peg$FAILED) { + s6 = [s6, s7, s8, s9]; + s5 = s6; + } + else { + peg$currPos = s5; + s5 = peg$FAILED; + } + } + else { + peg$currPos = s5; + s5 = peg$FAILED; + } + } + else { + peg$currPos = s5; + s5 = peg$FAILED; + } + } + else { + peg$currPos = s5; + s5 = peg$FAILED; + } + if (s5 !== peg$FAILED) { + s4 = input.substring(s4, peg$currPos); + } + else { + s4 = s5; + } + if (s4 !== peg$FAILED) { + peg$savedPos = s2; + s3 = peg$c274(s4); + s2 = s3; + } + else { + peg$currPos = s2; + s2 = peg$FAILED; + } + } + else { + peg$currPos = s2; + s2 = peg$FAILED; + } + } + } + } + } + } + } + } + } + } + if (s2 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c275(s2); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + return s0; + } + function peg$parseNull() { + var s0, s1; + s0 = peg$currPos; + if (input.substr(peg$currPos, 4) === peg$c276) { + s1 = peg$c276; + peg$currPos += 4; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c277); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c278(); + } + s0 = s1; + return s0; + } + function peg$parseUndefined() { + var s0, s1; + s0 = peg$currPos; + if (input.substr(peg$currPos, 9) === peg$c279) { + s1 = peg$c279; + peg$currPos += 9; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c280); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c281(); + } + s0 = s1; + return s0; + } + function peg$parseEscape() { + var s0; + if (input.charCodeAt(peg$currPos) === 92) { + s0 = peg$c250; + peg$currPos++; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c251); + } + } + return s0; + } + function peg$parseQuoteMark() { + var s0; + if (input.charCodeAt(peg$currPos) === 34) { + s0 = peg$c248; + peg$currPos++; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c249); + } + } + return s0; + } + function peg$parseUnescaped() { + var s0; + if (peg$c282.test(input.charAt(peg$currPos))) { + s0 = input.charAt(peg$currPos); + peg$currPos++; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c283); + } + } + return s0; + } + function peg$parseActionLabelChar() { + var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; + s0 = peg$parseActionLabelUnescaped(); + if (s0 === peg$FAILED) { + s0 = peg$currPos; + s1 = peg$parseEscape(); + if (s1 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 39) { + s2 = peg$c284; + peg$currPos++; + } + else { + s2 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c285); + } + } + if (s2 === peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 92) { + s2 = peg$c250; + peg$currPos++; + } + else { + s2 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c251); + } + } + if (s2 === peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 47) { + s2 = peg$c252; + peg$currPos++; + } + else { + s2 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c253); + } + } + if (s2 === peg$FAILED) { + s2 = peg$currPos; + if (input.charCodeAt(peg$currPos) === 98) { + s3 = peg$c254; + peg$currPos++; + } + else { + s3 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c255); + } + } + if (s3 !== peg$FAILED) { + peg$savedPos = s2; + s3 = peg$c256(); + } + s2 = s3; + if (s2 === peg$FAILED) { + s2 = peg$currPos; + if (input.charCodeAt(peg$currPos) === 102) { + s3 = peg$c257; + peg$currPos++; + } + else { + s3 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c258); + } + } + if (s3 !== peg$FAILED) { + peg$savedPos = s2; + s3 = peg$c259(); + } + s2 = s3; + if (s2 === peg$FAILED) { + s2 = peg$currPos; + if (input.charCodeAt(peg$currPos) === 110) { + s3 = peg$c260; + peg$currPos++; + } + else { + s3 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c261); + } + } + if (s3 !== peg$FAILED) { + peg$savedPos = s2; + s3 = peg$c262(); + } + s2 = s3; + if (s2 === peg$FAILED) { + s2 = peg$currPos; + if (input.charCodeAt(peg$currPos) === 114) { + s3 = peg$c263; + peg$currPos++; + } + else { + s3 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c264); + } + } + if (s3 !== peg$FAILED) { + peg$savedPos = s2; + s3 = peg$c265(); + } + s2 = s3; + if (s2 === peg$FAILED) { + s2 = peg$currPos; + if (input.charCodeAt(peg$currPos) === 116) { + s3 = peg$c266; + peg$currPos++; + } + else { + s3 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c267); + } + } + if (s3 !== peg$FAILED) { + peg$savedPos = s2; + s3 = peg$c268(); + } + s2 = s3; + if (s2 === peg$FAILED) { + s2 = peg$currPos; + if (input.charCodeAt(peg$currPos) === 118) { + s3 = peg$c269; + peg$currPos++; + } + else { + s3 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c270); + } + } + if (s3 !== peg$FAILED) { + peg$savedPos = s2; + s3 = peg$c271(); + } + s2 = s3; + if (s2 === peg$FAILED) { + s2 = peg$currPos; + if (input.charCodeAt(peg$currPos) === 117) { + s3 = peg$c272; + peg$currPos++; + } + else { + s3 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c273); + } + } + if (s3 !== peg$FAILED) { + s4 = peg$currPos; + s5 = peg$currPos; + s6 = peg$parseHexDigit(); + if (s6 !== peg$FAILED) { + s7 = peg$parseHexDigit(); + if (s7 !== peg$FAILED) { + s8 = peg$parseHexDigit(); + if (s8 !== peg$FAILED) { + s9 = peg$parseHexDigit(); + if (s9 !== peg$FAILED) { + s6 = [s6, s7, s8, s9]; + s5 = s6; + } + else { + peg$currPos = s5; + s5 = peg$FAILED; + } + } + else { + peg$currPos = s5; + s5 = peg$FAILED; + } + } + else { + peg$currPos = s5; + s5 = peg$FAILED; + } + } + else { + peg$currPos = s5; + s5 = peg$FAILED; + } + if (s5 !== peg$FAILED) { + s4 = input.substring(s4, peg$currPos); + } + else { + s4 = s5; + } + if (s4 !== peg$FAILED) { + peg$savedPos = s2; + s3 = peg$c274(s4); + s2 = s3; + } + else { + peg$currPos = s2; + s2 = peg$FAILED; + } + } + else { + peg$currPos = s2; + s2 = peg$FAILED; + } + } + } + } + } + } + } + } + } + } + if (s2 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c275(s2); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + return s0; + } + function peg$parseActionLabelQuoteMark() { + var s0; + if (input.charCodeAt(peg$currPos) === 39) { + s0 = peg$c284; + peg$currPos++; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c285); + } + } + return s0; + } + function peg$parseActionLabelUnescaped() { + var s0; + if (peg$c286.test(input.charAt(peg$currPos))) { + s0 = input.charAt(peg$currPos); + peg$currPos++; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c287); + } + } + return s0; + } + function peg$parseActionLabel() { + var s0, s1, s2, s3; + peg$silentFails++; + s0 = peg$currPos; + s1 = peg$parseActionLabelQuoteMark(); + if (s1 !== peg$FAILED) { + s2 = []; + s3 = peg$parseActionLabelChar(); + while (s3 !== peg$FAILED) { + s2.push(s3); + s3 = peg$parseActionLabelChar(); + } + if (s2 !== peg$FAILED) { + s3 = peg$parseActionLabelQuoteMark(); + if (s3 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c289(s2); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + peg$silentFails--; + if (s0 === peg$FAILED) { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c288); + } + } + return s0; + } + function peg$parseLineTerminator() { + var s0; + if (peg$c290.test(input.charAt(peg$currPos))) { + s0 = input.charAt(peg$currPos); + peg$currPos++; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c291); + } + } + return s0; + } + function peg$parseBlockCommentTail() { + var s0, s1, s2; + if (input.substr(peg$currPos, 2) === peg$c294) { + s0 = peg$c294; + peg$currPos += 2; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c295); + } + } + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.length > peg$currPos) { + s1 = input.charAt(peg$currPos); + peg$currPos++; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c296); + } + } + if (s1 !== peg$FAILED) { + s2 = peg$parseBlockCommentTail(); + if (s2 !== peg$FAILED) { + s1 = [s1, s2]; + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + return s0; + } + function peg$parseBlockComment() { + var s0, s1, s2; + peg$silentFails++; + s0 = peg$currPos; + if (input.substr(peg$currPos, 2) === peg$c298) { + s1 = peg$c298; + peg$currPos += 2; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c299); + } + } + if (s1 !== peg$FAILED) { + s2 = peg$parseBlockCommentTail(); + if (s2 !== peg$FAILED) { + s1 = [s1, s2]; + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + peg$silentFails--; + if (s0 === peg$FAILED) { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c297); + } + } + return s0; + } + function peg$parseEOF() { + var s0, s1; + s0 = peg$currPos; + peg$silentFails++; + if (input.length > peg$currPos) { + s1 = input.charAt(peg$currPos); + peg$currPos++; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c296); + } + } + peg$silentFails--; + if (s1 === peg$FAILED) { + s0 = void 0; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + return s0; + } + function peg$parseLineCommentTail() { + var s0, s1, s2; + s0 = peg$parseLineTerminator(); + if (s0 === peg$FAILED) { + s0 = peg$parseEOF(); + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.length > peg$currPos) { + s1 = input.charAt(peg$currPos); + peg$currPos++; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c296); + } + } + if (s1 !== peg$FAILED) { + s2 = peg$parseLineCommentTail(); + if (s2 !== peg$FAILED) { + s1 = [s1, s2]; + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + } + return s0; + } + function peg$parseLineComment() { + var s0, s1, s2; + peg$silentFails++; + s0 = peg$currPos; + if (input.substr(peg$currPos, 2) === peg$c301) { + s1 = peg$c301; + peg$currPos += 2; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c302); + } + } + if (s1 !== peg$FAILED) { + s2 = peg$parseLineCommentTail(); + if (s2 !== peg$FAILED) { + s1 = [s1, s2]; + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + peg$silentFails--; + if (s0 === peg$FAILED) { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c300); + } + } + return s0; + } + function peg$parseWS() { + var s0, s1, s2; + peg$silentFails++; + s0 = peg$currPos; + s1 = peg$parseBlockComment(); + if (s1 !== peg$FAILED) { + s2 = peg$parseWS(); + if (s2 === peg$FAILED) { + s2 = null; + } + if (s2 !== peg$FAILED) { + s1 = [s1, s2]; + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + if (s0 === peg$FAILED) { + s0 = peg$currPos; + s1 = peg$parseLineComment(); + if (s1 !== peg$FAILED) { + s2 = peg$parseWS(); + if (s2 === peg$FAILED) { + s2 = null; + } + if (s2 !== peg$FAILED) { + s1 = [s1, s2]; + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + if (s0 === peg$FAILED) { + s0 = peg$currPos; + s1 = []; + if (peg$c304.test(input.charAt(peg$currPos))) { + s2 = input.charAt(peg$currPos); + peg$currPos++; + } + else { + s2 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c305); + } + } + if (s2 !== peg$FAILED) { + while (s2 !== peg$FAILED) { + s1.push(s2); + if (peg$c304.test(input.charAt(peg$currPos))) { + s2 = input.charAt(peg$currPos); + peg$currPos++; + } + else { + s2 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c305); + } + } + } + } + else { + s1 = peg$FAILED; + } + if (s1 !== peg$FAILED) { + s2 = peg$parseWS(); + if (s2 === peg$FAILED) { + s2 = null; + } + if (s2 !== peg$FAILED) { + s1 = [s1, s2]; + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + } + peg$silentFails--; + if (s0 === peg$FAILED) { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c303); + } + } + return s0; + } + function peg$parseString() { + var s0, s1, s2, s3; + peg$silentFails++; + s0 = peg$currPos; + s1 = peg$parseQuoteMark(); + if (s1 !== peg$FAILED) { + s2 = []; + s3 = peg$parseChar(); + while (s3 !== peg$FAILED) { + s2.push(s3); + s3 = peg$parseChar(); + } + if (s2 !== peg$FAILED) { + s3 = peg$parseQuoteMark(); + if (s3 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c289(s2); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + peg$silentFails--; + if (s0 === peg$FAILED) { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c306); + } + } + return s0; + } + function peg$parseAtomFirstLetter() { + var s0; + if (peg$c307.test(input.charAt(peg$currPos))) { + s0 = input.charAt(peg$currPos); + peg$currPos++; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c308); + } + } + return s0; + } + function peg$parseAtomLetter() { + var s0; + if (peg$c309.test(input.charAt(peg$currPos))) { + s0 = input.charAt(peg$currPos); + peg$currPos++; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c310); + } + } + return s0; + } + function peg$parseAtom() { + var s0, s1, s2, s3; + peg$silentFails++; + s0 = peg$currPos; + s1 = peg$parseAtomFirstLetter(); + if (s1 !== peg$FAILED) { + s2 = []; + s3 = peg$parseAtomLetter(); + while (s3 !== peg$FAILED) { + s2.push(s3); + s3 = peg$parseAtomLetter(); + } + if (s2 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c312(s1, s2); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + peg$silentFails--; + if (s0 === peg$FAILED) { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c311); + } + } + return s0; + } + function peg$parseLabel() { + var s0; + peg$silentFails++; + s0 = peg$parseAtom(); + if (s0 === peg$FAILED) { + s0 = peg$parseString(); + } + peg$silentFails--; + if (s0 === peg$FAILED) { + if (peg$silentFails === 0) { + peg$fail(peg$c313); + } + } + return s0; + } + function peg$parseIntegerLiteral() { + var s0, s1, s2, s3; + if (input.charCodeAt(peg$currPos) === 48) { + s0 = peg$c314; + peg$currPos++; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c315); + } + } + if (s0 === peg$FAILED) { + s0 = peg$currPos; + s1 = peg$parseNonZeroDigit(); + if (s1 !== peg$FAILED) { + s2 = []; + s3 = peg$parseDecimalDigit(); + while (s3 !== peg$FAILED) { + s2.push(s3); + s3 = peg$parseDecimalDigit(); + } + if (s2 !== peg$FAILED) { + s1 = [s1, s2]; + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + return s0; + } + function peg$parseDecimalDigit() { + var s0; + if (peg$c316.test(input.charAt(peg$currPos))) { + s0 = input.charAt(peg$currPos); + peg$currPos++; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c317); + } + } + return s0; + } + function peg$parseNonZeroDigit() { + var s0; + if (peg$c318.test(input.charAt(peg$currPos))) { + s0 = input.charAt(peg$currPos); + peg$currPos++; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c319); + } + } + return s0; + } + function peg$parseHexDigit() { + var s0; + if (peg$c320.test(input.charAt(peg$currPos))) { + s0 = input.charAt(peg$currPos); + peg$currPos++; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c321); + } + } + return s0; + } + function peg$parseBinaryDigit() { + var s0; + if (peg$c322.test(input.charAt(peg$currPos))) { + s0 = input.charAt(peg$currPos); + peg$currPos++; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c323); + } + } + return s0; + } + function peg$parseOctalDigit() { + var s0; + if (peg$c322.test(input.charAt(peg$currPos))) { + s0 = input.charAt(peg$currPos); + peg$currPos++; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c323); + } + } + return s0; + } + function peg$parseNonNegNumber() { + var s0, s1, s2, s3, s4; + peg$silentFails++; + s0 = peg$currPos; + s1 = peg$parseIntegerLiteral(); + if (s1 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 46) { + s2 = peg$c325; + peg$currPos++; + } + else { + s2 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c326); + } + } + if (s2 !== peg$FAILED) { + s3 = []; + s4 = peg$parseDecimalDigit(); + while (s4 !== peg$FAILED) { + s3.push(s4); + s4 = peg$parseDecimalDigit(); + } + if (s3 !== peg$FAILED) { + s4 = peg$parseWS(); + if (s4 === peg$FAILED) { + s4 = null; + } + if (s4 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c327(); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + if (s0 === peg$FAILED) { + s0 = peg$currPos; + s1 = peg$parseIntegerLiteral(); + if (s1 !== peg$FAILED) { + s2 = peg$parseWS(); + if (s2 === peg$FAILED) { + s2 = null; + } + if (s2 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c327(); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + peg$silentFails--; + if (s0 === peg$FAILED) { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c324); + } + } + return s0; + } + function peg$parseJsNumericLiteral() { + var s0, s1; + peg$silentFails++; + s0 = peg$currPos; + s1 = peg$parseJsHexIntegerLiteral(); + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c329(s1); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + s1 = peg$parseJsBinaryIntegerLiteral(); + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c329(s1); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + s1 = peg$parseNonJsOctalIntegerLiteral(); + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c329(s1); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + s1 = peg$parseJsDecimalLiteral(); + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c329(s1); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 3) === peg$c330) { + s1 = peg$c330; + peg$currPos += 3; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c331); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c332(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 16) === peg$c333) { + s1 = peg$c333; + peg$currPos += 16; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c334); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c335(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 11) === peg$c336) { + s1 = peg$c336; + peg$currPos += 11; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c337); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c335(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 11) === peg$c338) { + s1 = peg$c338; + peg$currPos += 11; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c339); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c335(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 6) === peg$c340) { + s1 = peg$c340; + peg$currPos += 6; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c341); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c335(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 9) === peg$c342) { + s1 = peg$c342; + peg$currPos += 9; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c343); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c335(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 4) === peg$c344) { + s1 = peg$c344; + peg$currPos += 4; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c345); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c335(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 2) === peg$c346) { + s1 = peg$c346; + peg$currPos += 2; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c347); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c335(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 9) === peg$c348) { + s1 = peg$c348; + peg$currPos += 9; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c349); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c350(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 8) === peg$c351) { + s1 = peg$c351; + peg$currPos += 8; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c352); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c350(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 4) === peg$c353) { + s1 = peg$c353; + peg$currPos += 4; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c354); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c350(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 3) === peg$c355) { + s1 = peg$c355; + peg$currPos += 3; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c356); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c350(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.charCodeAt(peg$currPos) === 8734) { + s1 = peg$c357; + peg$currPos++; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c358); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c350(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 7) === peg$c359) { + s1 = peg$c359; + peg$currPos += 7; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c360); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c361(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 2) === peg$c362) { + s1 = peg$c362; + peg$currPos += 2; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c363); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c361(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.charCodeAt(peg$currPos) === 949) { + s1 = peg$c364; + peg$currPos++; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c365); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c361(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 2) === peg$c366) { + s1 = peg$c366; + peg$currPos += 2; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c367); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c368(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 2) === peg$c369) { + s1 = peg$c369; + peg$currPos += 2; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c370); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c368(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.charCodeAt(peg$currPos) === 960) { + s1 = peg$c371; + peg$currPos++; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c372); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c368(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 11) === peg$c373) { + s1 = peg$c373; + peg$currPos += 11; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c374); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c375(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.charCodeAt(peg$currPos) === 69) { + s1 = peg$c376; + peg$currPos++; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c377); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c375(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.charCodeAt(peg$currPos) === 101) { + s1 = peg$c378; + peg$currPos++; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c379); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c375(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.charCodeAt(peg$currPos) === 400) { + s1 = peg$c380; + peg$currPos++; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c381); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c375(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.charCodeAt(peg$currPos) === 8455) { + s1 = peg$c382; + peg$currPos++; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c383); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c375(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 5) === peg$c384) { + s1 = peg$c384; + peg$currPos += 5; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c385); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c386(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 8) === peg$c387) { + s1 = peg$c387; + peg$currPos += 8; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c388); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c389(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 3) === peg$c390) { + s1 = peg$c390; + peg$currPos += 3; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c391); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c392(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 7) === peg$c393) { + s1 = peg$c393; + peg$currPos += 7; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c394); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c392(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 4) === peg$c395) { + s1 = peg$c395; + peg$currPos += 4; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c396); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c397(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 8) === peg$c398) { + s1 = peg$c398; + peg$currPos += 8; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c399); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c397(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 5) === peg$c400) { + s1 = peg$c400; + peg$currPos += 5; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c401); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c402(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 6) === peg$c403) { + s1 = peg$c403; + peg$currPos += 6; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c404); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c405(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 10) === peg$c406) { + s1 = peg$c406; + peg$currPos += 10; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c407); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c408(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 10) === peg$c409) { + s1 = peg$c409; + peg$currPos += 10; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c410); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c411(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 9) === peg$c412) { + s1 = peg$c412; + peg$currPos += 9; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c413); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c414(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 9) === peg$c415) { + s1 = peg$c415; + peg$currPos += 9; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c416); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c417(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 3) === peg$c418) { + s1 = peg$c418; + peg$currPos += 3; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c419); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c420(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 2) === peg$c421) { + s1 = peg$c421; + peg$currPos += 2; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c422); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c420(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 2) === peg$c423) { + s1 = peg$c423; + peg$currPos += 2; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c424); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c420(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.charCodeAt(peg$currPos) === 981) { + s1 = peg$c425; + peg$currPos++; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c426); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c420(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.charCodeAt(peg$currPos) === 966) { + s1 = peg$c427; + peg$currPos++; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c428); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c420(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 13) === peg$c429) { + s1 = peg$c429; + peg$currPos += 13; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c430); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c431(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.charCodeAt(peg$currPos) === 947) { + s1 = peg$c432; + peg$currPos++; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c433); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c431(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 2) === peg$c434) { + s1 = peg$c434; + peg$currPos += 2; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c435); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c431(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.charCodeAt(peg$currPos) === 947) { + s1 = peg$c432; + peg$currPos++; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c433); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c431(); + } + s0 = s1; + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + peg$silentFails--; + if (s0 === peg$FAILED) { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c328); + } + } + return s0; + } + function peg$parseJsDecimalLiteral() { + var s0, s1, s2, s3, s4; + s0 = peg$currPos; + s1 = peg$parseJsDecimalIntegerLiteral(); + if (s1 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 46) { + s2 = peg$c325; + peg$currPos++; + } + else { + s2 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c326); + } + } + if (s2 !== peg$FAILED) { + s3 = []; + s4 = peg$parseDecimalDigit(); + while (s4 !== peg$FAILED) { + s3.push(s4); + s4 = peg$parseDecimalDigit(); + } + if (s3 !== peg$FAILED) { + s4 = peg$parseJsNExponentPart(); + if (s4 === peg$FAILED) { + s4 = null; + } + if (s4 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c327(); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.charCodeAt(peg$currPos) === 46) { + s1 = peg$c325; + peg$currPos++; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c326); + } + } + if (s1 !== peg$FAILED) { + s2 = []; + s3 = peg$parseDecimalDigit(); + if (s3 !== peg$FAILED) { + while (s3 !== peg$FAILED) { + s2.push(s3); + s3 = peg$parseDecimalDigit(); + } + } + else { + s2 = peg$FAILED; + } + if (s2 !== peg$FAILED) { + s3 = peg$parseJsNExponentPart(); + if (s3 === peg$FAILED) { + s3 = null; + } + if (s3 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c327(); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + if (s0 === peg$FAILED) { + s0 = peg$currPos; + s1 = peg$parseJsDecimalIntegerLiteral(); + if (s1 !== peg$FAILED) { + s2 = peg$parseJsNExponentPart(); + if (s2 === peg$FAILED) { + s2 = null; + } + if (s2 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c327(); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + } + return s0; + } + function peg$parseJsDecimalIntegerLiteral() { + var s0, s1, s2, s3; + if (input.charCodeAt(peg$currPos) === 48) { + s0 = peg$c314; + peg$currPos++; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c315); + } + } + if (s0 === peg$FAILED) { + s0 = peg$currPos; + s1 = peg$parseNonZeroDigit(); + if (s1 !== peg$FAILED) { + s2 = []; + s3 = peg$parseDecimalDigit(); + while (s3 !== peg$FAILED) { + s2.push(s3); + s3 = peg$parseDecimalDigit(); + } + if (s2 !== peg$FAILED) { + s1 = [s1, s2]; + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + return s0; + } + function peg$parseJsNExponentPart() { + var s0, s1, s2; + s0 = peg$currPos; + s1 = peg$parseJsNExponentIndicator(); + if (s1 !== peg$FAILED) { + s2 = peg$parseJsNSignedInteger(); + if (s2 !== peg$FAILED) { + s1 = [s1, s2]; + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + return s0; + } + function peg$parseJsNExponentIndicator() { + var s0; + if (input.substr(peg$currPos, 1).toLowerCase() === peg$c378) { + s0 = input.charAt(peg$currPos); + peg$currPos++; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c436); + } + } + return s0; + } + function peg$parseJsNSignedInteger() { + var s0, s1, s2, s3; + s0 = peg$currPos; + if (peg$c437.test(input.charAt(peg$currPos))) { + s1 = input.charAt(peg$currPos); + peg$currPos++; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c438); + } + } + if (s1 === peg$FAILED) { + s1 = null; + } + if (s1 !== peg$FAILED) { + s2 = []; + s3 = peg$parseDecimalDigit(); + if (s3 !== peg$FAILED) { + while (s3 !== peg$FAILED) { + s2.push(s3); + s3 = peg$parseDecimalDigit(); + } + } + else { + s2 = peg$FAILED; + } + if (s2 !== peg$FAILED) { + s1 = [s1, s2]; + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + return s0; + } + function peg$parseJsHexIntegerLiteral() { + var s0, s1, s2, s3, s4; + s0 = peg$currPos; + if (input.substr(peg$currPos, 2).toLowerCase() === peg$c439) { + s1 = input.substr(peg$currPos, 2); + peg$currPos += 2; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c440); + } + } + if (s1 !== peg$FAILED) { + s2 = peg$currPos; + s3 = []; + s4 = peg$parseHexDigit(); + if (s4 !== peg$FAILED) { + while (s4 !== peg$FAILED) { + s3.push(s4); + s4 = peg$parseHexDigit(); + } + } + else { + s3 = peg$FAILED; + } + if (s3 !== peg$FAILED) { + s2 = input.substring(s2, peg$currPos); + } + else { + s2 = s3; + } + if (s2 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c441(s2); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + return s0; + } + function peg$parseJsBinaryIntegerLiteral() { + var s0, s1, s2, s3, s4; + s0 = peg$currPos; + if (input.substr(peg$currPos, 2).toLowerCase() === peg$c442) { + s1 = input.substr(peg$currPos, 2); + peg$currPos += 2; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c443); + } + } + if (s1 !== peg$FAILED) { + s2 = peg$currPos; + s3 = []; + s4 = peg$parseBinaryDigit(); + if (s4 !== peg$FAILED) { + while (s4 !== peg$FAILED) { + s3.push(s4); + s4 = peg$parseBinaryDigit(); + } + } + else { + s3 = peg$FAILED; + } + if (s3 !== peg$FAILED) { + s2 = input.substring(s2, peg$currPos); + } + else { + s2 = s3; + } + if (s2 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c444(s2); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + return s0; + } + function peg$parseNonJsOctalIntegerLiteral() { + var s0, s1, s2, s3, s4; + s0 = peg$currPos; + if (input.substr(peg$currPos, 2).toLowerCase() === peg$c445) { + s1 = input.substr(peg$currPos, 2); + peg$currPos += 2; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c446); + } + } + if (s1 !== peg$FAILED) { + s2 = peg$currPos; + s3 = []; + s4 = peg$parseOctalDigit(); + if (s4 !== peg$FAILED) { + while (s4 !== peg$FAILED) { + s3.push(s4); + s4 = peg$parseOctalDigit(); + } + } + else { + s3 = peg$FAILED; + } + if (s3 !== peg$FAILED) { + s2 = input.substring(s2, peg$currPos); + } + else { + s2 = s3; + } + if (s2 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c447(s2); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + return s0; + } + function peg$parseSemVer() { + var s0, s1, s2, s3, s4, s5; + s0 = peg$currPos; + s1 = peg$parseIntegerLiteral(); + if (s1 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 46) { + s2 = peg$c325; + peg$currPos++; + } + else { + s2 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c326); + } + } + if (s2 !== peg$FAILED) { + s3 = peg$parseIntegerLiteral(); + if (s3 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 46) { + s4 = peg$c325; + peg$currPos++; + } + else { + s4 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c326); + } + } + if (s4 !== peg$FAILED) { + s5 = peg$parseIntegerLiteral(); + if (s5 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c448(s1, s3, s5); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + return s0; + } + function peg$parseUrlProtocol() { + var s0; + if (input.substr(peg$currPos, 7) === peg$c459) { + s0 = peg$c459; + peg$currPos += 7; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c460); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 8) === peg$c461) { + s0 = peg$c461; + peg$currPos += 8; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c462); + } + } + } + return s0; + } + function peg$parseURL() { + var s0, s1, s2, s3; + s0 = peg$currPos; + s1 = peg$parseUrlProtocol(); + if (s1 !== peg$FAILED) { + s2 = []; + if (peg$c463.test(input.charAt(peg$currPos))) { + s3 = input.charAt(peg$currPos); + peg$currPos++; + } + else { + s3 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c464); + } + } + if (s3 !== peg$FAILED) { + while (s3 !== peg$FAILED) { + s2.push(s3); + if (peg$c463.test(input.charAt(peg$currPos))) { + s3 = input.charAt(peg$currPos); + peg$currPos++; + } + else { + s3 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c464); + } + } + } + } + else { + s2 = peg$FAILED; + } + if (s2 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c465(); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + return s0; + } + function peg$parseSvgColorLabel() { + var s0, s1; + s0 = peg$currPos; + if (input.substr(peg$currPos, 9) === peg$c466) { + s1 = peg$c466; + peg$currPos += 9; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c467); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c468(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 9) === peg$c469) { + s1 = peg$c469; + peg$currPos += 9; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c470); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c468(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 12) === peg$c471) { + s1 = peg$c471; + peg$currPos += 12; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c472); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c473(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 12) === peg$c474) { + s1 = peg$c474; + peg$currPos += 12; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c475); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c473(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 10) === peg$c476) { + s1 = peg$c476; + peg$currPos += 10; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c477); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c478(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 10) === peg$c479) { + s1 = peg$c479; + peg$currPos += 10; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c480); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c478(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 4) === peg$c481) { + s1 = peg$c481; + peg$currPos += 4; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c482); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c483(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 4) === peg$c484) { + s1 = peg$c484; + peg$currPos += 4; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c485); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c483(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 5) === peg$c486) { + s1 = peg$c486; + peg$currPos += 5; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c487); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c488(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 5) === peg$c489) { + s1 = peg$c489; + peg$currPos += 5; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c490); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c488(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 5) === peg$c491) { + s1 = peg$c491; + peg$currPos += 5; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c492); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c493(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 5) === peg$c494) { + s1 = peg$c494; + peg$currPos += 5; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c495); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c493(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 6) === peg$c496) { + s1 = peg$c496; + peg$currPos += 6; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c497); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c498(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 6) === peg$c499) { + s1 = peg$c499; + peg$currPos += 6; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c500); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c498(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 5) === peg$c501) { + s1 = peg$c501; + peg$currPos += 5; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c502); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c503(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 5) === peg$c504) { + s1 = peg$c504; + peg$currPos += 5; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c505); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c503(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 14) === peg$c506) { + s1 = peg$c506; + peg$currPos += 14; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c507); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c508(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 14) === peg$c509) { + s1 = peg$c509; + peg$currPos += 14; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c510); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c508(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 10) === peg$c511) { + s1 = peg$c511; + peg$currPos += 10; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c512); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c513(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 10) === peg$c514) { + s1 = peg$c514; + peg$currPos += 10; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c515); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c513(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 4) === peg$c516) { + s1 = peg$c516; + peg$currPos += 4; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c517); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c518(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 4) === peg$c519) { + s1 = peg$c519; + peg$currPos += 4; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c520); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c518(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 5) === peg$c521) { + s1 = peg$c521; + peg$currPos += 5; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c522); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c523(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 5) === peg$c524) { + s1 = peg$c524; + peg$currPos += 5; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c525); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c523(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 9) === peg$c526) { + s1 = peg$c526; + peg$currPos += 9; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c527); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c528(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 9) === peg$c529) { + s1 = peg$c529; + peg$currPos += 9; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c530); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c528(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 9) === peg$c531) { + s1 = peg$c531; + peg$currPos += 9; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c532); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c533(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 9) === peg$c534) { + s1 = peg$c534; + peg$currPos += 9; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c535); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c533(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 10) === peg$c536) { + s1 = peg$c536; + peg$currPos += 10; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c537); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c538(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 10) === peg$c539) { + s1 = peg$c539; + peg$currPos += 10; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c540); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c538(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 9) === peg$c541) { + s1 = peg$c541; + peg$currPos += 9; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c542); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c543(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 9) === peg$c544) { + s1 = peg$c544; + peg$currPos += 9; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c545); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c543(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 5) === peg$c546) { + s1 = peg$c546; + peg$currPos += 5; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c547); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c548(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 5) === peg$c549) { + s1 = peg$c549; + peg$currPos += 5; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c550); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c548(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 14) === peg$c551) { + s1 = peg$c551; + peg$currPos += 14; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c552); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c553(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 14) === peg$c554) { + s1 = peg$c554; + peg$currPos += 14; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c555); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c553(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 8) === peg$c556) { + s1 = peg$c556; + peg$currPos += 8; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c557); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c558(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 8) === peg$c559) { + s1 = peg$c559; + peg$currPos += 8; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c560); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c558(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 7) === peg$c561) { + s1 = peg$c561; + peg$currPos += 7; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c562); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c563(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 7) === peg$c564) { + s1 = peg$c564; + peg$currPos += 7; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c565); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c563(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 4) === peg$c566) { + s1 = peg$c566; + peg$currPos += 4; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c567); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c483(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 4) === peg$c568) { + s1 = peg$c568; + peg$currPos += 4; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c569); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c483(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 8) === peg$c570) { + s1 = peg$c570; + peg$currPos += 8; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c571); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c572(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 8) === peg$c573) { + s1 = peg$c573; + peg$currPos += 8; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c574); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c572(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 8) === peg$c575) { + s1 = peg$c575; + peg$currPos += 8; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c576); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c577(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 8) === peg$c578) { + s1 = peg$c578; + peg$currPos += 8; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c579); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c577(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 13) === peg$c580) { + s1 = peg$c580; + peg$currPos += 13; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c581); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c582(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 13) === peg$c583) { + s1 = peg$c583; + peg$currPos += 13; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c584); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c582(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 8) === peg$c585) { + s1 = peg$c585; + peg$currPos += 8; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c586); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c587(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 8) === peg$c588) { + s1 = peg$c588; + peg$currPos += 8; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c589); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c587(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 8) === peg$c590) { + s1 = peg$c590; + peg$currPos += 8; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c591); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c587(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 8) === peg$c592) { + s1 = peg$c592; + peg$currPos += 8; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c593); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c587(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 9) === peg$c594) { + s1 = peg$c594; + peg$currPos += 9; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c595); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c596(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 9) === peg$c597) { + s1 = peg$c597; + peg$currPos += 9; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c598); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c596(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 9) === peg$c599) { + s1 = peg$c599; + peg$currPos += 9; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c600); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c601(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 9) === peg$c602) { + s1 = peg$c602; + peg$currPos += 9; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c603); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c601(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 11) === peg$c604) { + s1 = peg$c604; + peg$currPos += 11; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c605); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c606(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 11) === peg$c607) { + s1 = peg$c607; + peg$currPos += 11; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c608); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c606(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 14) === peg$c609) { + s1 = peg$c609; + peg$currPos += 14; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c610); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c611(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 14) === peg$c612) { + s1 = peg$c612; + peg$currPos += 14; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c613); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c611(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 10) === peg$c614) { + s1 = peg$c614; + peg$currPos += 10; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c615); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c616(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 10) === peg$c617) { + s1 = peg$c617; + peg$currPos += 10; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c618); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c616(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 10) === peg$c619) { + s1 = peg$c619; + peg$currPos += 10; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c620); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c621(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 10) === peg$c622) { + s1 = peg$c622; + peg$currPos += 10; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c623); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c621(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 7) === peg$c624) { + s1 = peg$c624; + peg$currPos += 7; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c625); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c626(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 7) === peg$c627) { + s1 = peg$c627; + peg$currPos += 7; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c628); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c626(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 10) === peg$c629) { + s1 = peg$c629; + peg$currPos += 10; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c630); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c631(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 10) === peg$c632) { + s1 = peg$c632; + peg$currPos += 10; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c633); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c631(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 12) === peg$c634) { + s1 = peg$c634; + peg$currPos += 12; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c635); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c636(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 12) === peg$c637) { + s1 = peg$c637; + peg$currPos += 12; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c638); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c636(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 13) === peg$c639) { + s1 = peg$c639; + peg$currPos += 13; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c640); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c641(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 13) === peg$c642) { + s1 = peg$c642; + peg$currPos += 13; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c643); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c641(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 13) === peg$c644) { + s1 = peg$c644; + peg$currPos += 13; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c645); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c646(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 13) === peg$c647) { + s1 = peg$c647; + peg$currPos += 13; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c648); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c646(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 13) === peg$c649) { + s1 = peg$c649; + peg$currPos += 13; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c650); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c646(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 13) === peg$c651) { + s1 = peg$c651; + peg$currPos += 13; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c652); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c646(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 13) === peg$c653) { + s1 = peg$c653; + peg$currPos += 13; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c654); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c655(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 13) === peg$c656) { + s1 = peg$c656; + peg$currPos += 13; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c657); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c655(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 10) === peg$c658) { + s1 = peg$c658; + peg$currPos += 10; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c659); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c660(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 10) === peg$c661) { + s1 = peg$c661; + peg$currPos += 10; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c662); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c660(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 8) === peg$c663) { + s1 = peg$c663; + peg$currPos += 8; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c664); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c665(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 8) === peg$c666) { + s1 = peg$c666; + peg$currPos += 8; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c667); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c665(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 11) === peg$c668) { + s1 = peg$c668; + peg$currPos += 11; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c669); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c670(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 11) === peg$c671) { + s1 = peg$c671; + peg$currPos += 11; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c672); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c670(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 7) === peg$c673) { + s1 = peg$c673; + peg$currPos += 7; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c674); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c675(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 7) === peg$c676) { + s1 = peg$c676; + peg$currPos += 7; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c677); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c675(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 7) === peg$c678) { + s1 = peg$c678; + peg$currPos += 7; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c679); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c675(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 7) === peg$c680) { + s1 = peg$c680; + peg$currPos += 7; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c681); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c675(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 10) === peg$c682) { + s1 = peg$c682; + peg$currPos += 10; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c683); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c684(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 10) === peg$c685) { + s1 = peg$c685; + peg$currPos += 10; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c686); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c684(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 9) === peg$c687) { + s1 = peg$c687; + peg$currPos += 9; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c688); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c689(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 9) === peg$c690) { + s1 = peg$c690; + peg$currPos += 9; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c691); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c689(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 11) === peg$c692) { + s1 = peg$c692; + peg$currPos += 11; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c693); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c694(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 11) === peg$c695) { + s1 = peg$c695; + peg$currPos += 11; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c696); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c694(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 11) === peg$c697) { + s1 = peg$c697; + peg$currPos += 11; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c698); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c699(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 11) === peg$c700) { + s1 = peg$c700; + peg$currPos += 11; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c701); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c699(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 7) === peg$c702) { + s1 = peg$c702; + peg$currPos += 7; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c703); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c704(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 7) === peg$c705) { + s1 = peg$c705; + peg$currPos += 7; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c706); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c704(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 9) === peg$c707) { + s1 = peg$c707; + peg$currPos += 9; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c708); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c709(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 9) === peg$c710) { + s1 = peg$c710; + peg$currPos += 9; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c711); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c709(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 10) === peg$c712) { + s1 = peg$c712; + peg$currPos += 10; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c713); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c714(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 10) === peg$c715) { + s1 = peg$c715; + peg$currPos += 10; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c716); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c714(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 9) === peg$c717) { + s1 = peg$c717; + peg$currPos += 9; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c718); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c719(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 9) === peg$c720) { + s1 = peg$c720; + peg$currPos += 9; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c721); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c719(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 4) === peg$c722) { + s1 = peg$c722; + peg$currPos += 4; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c723); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c724(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 4) === peg$c725) { + s1 = peg$c725; + peg$currPos += 4; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c726); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c724(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 4) === peg$c727) { + s1 = peg$c727; + peg$currPos += 4; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c728); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c729(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 4) === peg$c730) { + s1 = peg$c730; + peg$currPos += 4; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c731); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c729(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 4) === peg$c732) { + s1 = peg$c732; + peg$currPos += 4; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c733); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c729(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 4) === peg$c734) { + s1 = peg$c734; + peg$currPos += 4; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c735); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c729(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 11) === peg$c736) { + s1 = peg$c736; + peg$currPos += 11; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c737); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c738(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 11) === peg$c739) { + s1 = peg$c739; + peg$currPos += 11; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c740); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c738(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 5) === peg$c741) { + s1 = peg$c741; + peg$currPos += 5; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c742); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c743(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 5) === peg$c744) { + s1 = peg$c744; + peg$currPos += 5; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c745); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c743(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 8) === peg$c746) { + s1 = peg$c746; + peg$currPos += 8; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c747); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c748(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 8) === peg$c749) { + s1 = peg$c749; + peg$currPos += 8; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c750); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c748(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 7) === peg$c751) { + s1 = peg$c751; + peg$currPos += 7; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c752); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c753(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 7) === peg$c754) { + s1 = peg$c754; + peg$currPos += 7; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c755); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c753(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 9) === peg$c756) { + s1 = peg$c756; + peg$currPos += 9; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c757); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c758(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 9) === peg$c759) { + s1 = peg$c759; + peg$currPos += 9; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c760); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c758(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 6) === peg$c761) { + s1 = peg$c761; + peg$currPos += 6; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c762); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c763(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 6) === peg$c764) { + s1 = peg$c764; + peg$currPos += 6; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c765); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c763(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 5) === peg$c766) { + s1 = peg$c766; + peg$currPos += 5; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c767); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c768(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 5) === peg$c769) { + s1 = peg$c769; + peg$currPos += 5; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c770); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c768(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 5) === peg$c771) { + s1 = peg$c771; + peg$currPos += 5; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c772); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c773(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 5) === peg$c774) { + s1 = peg$c774; + peg$currPos += 5; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c775); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c773(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 13) === peg$c776) { + s1 = peg$c776; + peg$currPos += 13; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c777); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c778(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 13) === peg$c779) { + s1 = peg$c779; + peg$currPos += 13; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c780); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c778(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 8) === peg$c781) { + s1 = peg$c781; + peg$currPos += 8; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c782); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c783(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 8) === peg$c784) { + s1 = peg$c784; + peg$currPos += 8; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c785); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c783(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 9) === peg$c786) { + s1 = peg$c786; + peg$currPos += 9; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c787); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c788(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 9) === peg$c789) { + s1 = peg$c789; + peg$currPos += 9; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c790); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c788(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 12) === peg$c791) { + s1 = peg$c791; + peg$currPos += 12; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c792); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c793(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 12) === peg$c794) { + s1 = peg$c794; + peg$currPos += 12; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c795); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c793(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 9) === peg$c796) { + s1 = peg$c796; + peg$currPos += 9; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c797); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c798(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 9) === peg$c799) { + s1 = peg$c799; + peg$currPos += 9; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c800); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c798(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 10) === peg$c801) { + s1 = peg$c801; + peg$currPos += 10; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c802); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c803(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 10) === peg$c804) { + s1 = peg$c804; + peg$currPos += 10; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c805); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c803(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 9) === peg$c806) { + s1 = peg$c806; + peg$currPos += 9; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c807); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c808(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 9) === peg$c809) { + s1 = peg$c809; + peg$currPos += 9; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c810); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c808(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 20) === peg$c811) { + s1 = peg$c811; + peg$currPos += 20; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c812); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c813(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 20) === peg$c814) { + s1 = peg$c814; + peg$currPos += 20; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c815); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c813(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 9) === peg$c816) { + s1 = peg$c816; + peg$currPos += 9; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c817); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c818(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 9) === peg$c819) { + s1 = peg$c819; + peg$currPos += 9; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c820); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c818(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 9) === peg$c821) { + s1 = peg$c821; + peg$currPos += 9; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c822); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c818(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 9) === peg$c823) { + s1 = peg$c823; + peg$currPos += 9; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c824); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c818(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 10) === peg$c825) { + s1 = peg$c825; + peg$currPos += 10; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c826); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c827(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 10) === peg$c828) { + s1 = peg$c828; + peg$currPos += 10; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c829); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c827(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 9) === peg$c830) { + s1 = peg$c830; + peg$currPos += 9; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c831); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c832(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 9) === peg$c833) { + s1 = peg$c833; + peg$currPos += 9; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c834); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c832(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 11) === peg$c835) { + s1 = peg$c835; + peg$currPos += 11; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c836); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c837(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 11) === peg$c838) { + s1 = peg$c838; + peg$currPos += 11; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c839); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c837(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 13) === peg$c840) { + s1 = peg$c840; + peg$currPos += 13; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c841); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c842(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 13) === peg$c843) { + s1 = peg$c843; + peg$currPos += 13; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c844); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c842(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 12) === peg$c845) { + s1 = peg$c845; + peg$currPos += 12; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c846); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c847(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 12) === peg$c848) { + s1 = peg$c848; + peg$currPos += 12; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c849); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c847(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 14) === peg$c850) { + s1 = peg$c850; + peg$currPos += 14; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c851); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c852(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 14) === peg$c853) { + s1 = peg$c853; + peg$currPos += 14; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c854); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c852(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 14) === peg$c855) { + s1 = peg$c855; + peg$currPos += 14; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c856); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c852(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 14) === peg$c857) { + s1 = peg$c857; + peg$currPos += 14; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c858); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c852(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 14) === peg$c859) { + s1 = peg$c859; + peg$currPos += 14; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c860); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c861(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 14) === peg$c862) { + s1 = peg$c862; + peg$currPos += 14; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c863); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c861(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 11) === peg$c864) { + s1 = peg$c864; + peg$currPos += 11; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c865); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c866(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 11) === peg$c867) { + s1 = peg$c867; + peg$currPos += 11; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c868); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c866(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 9) === peg$c869) { + s1 = peg$c869; + peg$currPos += 9; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c870); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c871(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 9) === peg$c872) { + s1 = peg$c872; + peg$currPos += 9; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c873); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c871(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 4) === peg$c874) { + s1 = peg$c874; + peg$currPos += 4; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c875); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c876(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 4) === peg$c877) { + s1 = peg$c877; + peg$currPos += 4; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c878); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c876(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 5) === peg$c879) { + s1 = peg$c879; + peg$currPos += 5; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c880); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c881(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 5) === peg$c882) { + s1 = peg$c882; + peg$currPos += 5; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c883); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c881(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 7) === peg$c884) { + s1 = peg$c884; + peg$currPos += 7; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c885); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c704(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 7) === peg$c886) { + s1 = peg$c886; + peg$currPos += 7; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c887); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c704(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 6) === peg$c888) { + s1 = peg$c888; + peg$currPos += 6; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c889); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c890(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 6) === peg$c891) { + s1 = peg$c891; + peg$currPos += 6; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c892); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c890(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 16) === peg$c893) { + s1 = peg$c893; + peg$currPos += 16; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c894); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c895(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 16) === peg$c896) { + s1 = peg$c896; + peg$currPos += 16; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c897); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c895(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 10) === peg$c898) { + s1 = peg$c898; + peg$currPos += 10; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c899); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c900(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 10) === peg$c901) { + s1 = peg$c901; + peg$currPos += 10; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c902); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c900(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 12) === peg$c903) { + s1 = peg$c903; + peg$currPos += 12; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c904); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c905(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 12) === peg$c906) { + s1 = peg$c906; + peg$currPos += 12; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c907); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c905(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 12) === peg$c908) { + s1 = peg$c908; + peg$currPos += 12; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c909); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c910(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 12) === peg$c911) { + s1 = peg$c911; + peg$currPos += 12; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c912); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c910(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 14) === peg$c913) { + s1 = peg$c913; + peg$currPos += 14; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c914); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c915(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 14) === peg$c916) { + s1 = peg$c916; + peg$currPos += 14; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c917); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c915(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 15) === peg$c918) { + s1 = peg$c918; + peg$currPos += 15; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c919); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c920(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 15) === peg$c921) { + s1 = peg$c921; + peg$currPos += 15; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c922); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c920(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 17) === peg$c923) { + s1 = peg$c923; + peg$currPos += 17; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c924); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c925(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 17) === peg$c926) { + s1 = peg$c926; + peg$currPos += 17; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c927); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c925(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 15) === peg$c928) { + s1 = peg$c928; + peg$currPos += 15; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c929); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c930(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 15) === peg$c931) { + s1 = peg$c931; + peg$currPos += 15; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c932); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c930(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 15) === peg$c933) { + s1 = peg$c933; + peg$currPos += 15; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c934); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c935(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 15) === peg$c936) { + s1 = peg$c936; + peg$currPos += 15; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c937); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c935(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 12) === peg$c938) { + s1 = peg$c938; + peg$currPos += 12; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c939); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c940(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 12) === peg$c941) { + s1 = peg$c941; + peg$currPos += 12; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c942); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c940(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 9) === peg$c943) { + s1 = peg$c943; + peg$currPos += 9; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c944); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c945(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 9) === peg$c946) { + s1 = peg$c946; + peg$currPos += 9; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c947); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c945(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 9) === peg$c948) { + s1 = peg$c948; + peg$currPos += 9; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c949); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c950(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 9) === peg$c951) { + s1 = peg$c951; + peg$currPos += 9; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c952); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c950(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 8) === peg$c953) { + s1 = peg$c953; + peg$currPos += 8; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c954); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c955(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 8) === peg$c956) { + s1 = peg$c956; + peg$currPos += 8; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c957); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c955(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 11) === peg$c958) { + s1 = peg$c958; + peg$currPos += 11; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c959); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c960(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 11) === peg$c961) { + s1 = peg$c961; + peg$currPos += 11; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c962); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c960(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 4) === peg$c963) { + s1 = peg$c963; + peg$currPos += 4; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c964); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c965(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 4) === peg$c966) { + s1 = peg$c966; + peg$currPos += 4; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c967); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c965(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 7) === peg$c968) { + s1 = peg$c968; + peg$currPos += 7; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c969); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c970(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 7) === peg$c971) { + s1 = peg$c971; + peg$currPos += 7; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c972); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c970(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 9) === peg$c973) { + s1 = peg$c973; + peg$currPos += 9; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c974); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c975(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 9) === peg$c976) { + s1 = peg$c976; + peg$currPos += 9; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c977); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c975(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 5) === peg$c978) { + s1 = peg$c978; + peg$currPos += 5; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c979); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c980(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 5) === peg$c981) { + s1 = peg$c981; + peg$currPos += 5; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c982); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c980(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 9) === peg$c983) { + s1 = peg$c983; + peg$currPos += 9; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c984); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c985(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 9) === peg$c986) { + s1 = peg$c986; + peg$currPos += 9; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c987); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c985(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 6) === peg$c988) { + s1 = peg$c988; + peg$currPos += 6; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c989); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c990(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 6) === peg$c991) { + s1 = peg$c991; + peg$currPos += 6; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c992); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c990(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 6) === peg$c993) { + s1 = peg$c993; + peg$currPos += 6; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c994); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c995(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 6) === peg$c996) { + s1 = peg$c996; + peg$currPos += 6; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c997); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c995(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 13) === peg$c998) { + s1 = peg$c998; + peg$currPos += 13; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c999); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1000(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 13) === peg$c1001) { + s1 = peg$c1001; + peg$currPos += 13; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1002); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1000(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 9) === peg$c1003) { + s1 = peg$c1003; + peg$currPos += 9; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1004); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1005(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 9) === peg$c1006) { + s1 = peg$c1006; + peg$currPos += 9; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1007); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1005(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 13) === peg$c1008) { + s1 = peg$c1008; + peg$currPos += 13; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1009); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1010(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 13) === peg$c1011) { + s1 = peg$c1011; + peg$currPos += 13; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1012); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1010(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 13) === peg$c1013) { + s1 = peg$c1013; + peg$currPos += 13; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1014); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1015(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 13) === peg$c1016) { + s1 = peg$c1016; + peg$currPos += 13; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1017); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1015(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 10) === peg$c1018) { + s1 = peg$c1018; + peg$currPos += 10; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1019); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1020(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 10) === peg$c1021) { + s1 = peg$c1021; + peg$currPos += 10; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1022); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1020(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 9) === peg$c1023) { + s1 = peg$c1023; + peg$currPos += 9; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1024); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1025(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 9) === peg$c1026) { + s1 = peg$c1026; + peg$currPos += 9; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1027); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1025(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 4) === peg$c1028) { + s1 = peg$c1028; + peg$currPos += 4; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1029); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1030(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 4) === peg$c1031) { + s1 = peg$c1031; + peg$currPos += 4; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1032); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1030(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 4) === peg$c1033) { + s1 = peg$c1033; + peg$currPos += 4; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1034); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1035(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 4) === peg$c1036) { + s1 = peg$c1036; + peg$currPos += 4; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1037); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1035(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 4) === peg$c1038) { + s1 = peg$c1038; + peg$currPos += 4; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1039); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1040(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 4) === peg$c1041) { + s1 = peg$c1041; + peg$currPos += 4; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1042); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1040(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 10) === peg$c1043) { + s1 = peg$c1043; + peg$currPos += 10; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1044); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1045(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 10) === peg$c1046) { + s1 = peg$c1046; + peg$currPos += 10; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1047); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1045(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 6) === peg$c1048) { + s1 = peg$c1048; + peg$currPos += 6; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1049); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1050(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 6) === peg$c1051) { + s1 = peg$c1051; + peg$currPos += 6; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1052); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1050(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 3) === peg$c1053) { + s1 = peg$c1053; + peg$currPos += 3; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1054); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1055(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 3) === peg$c1056) { + s1 = peg$c1056; + peg$currPos += 3; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1057); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1055(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 9) === peg$c1058) { + s1 = peg$c1058; + peg$currPos += 9; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1059); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1060(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 9) === peg$c1061) { + s1 = peg$c1061; + peg$currPos += 9; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1062); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1060(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 9) === peg$c1063) { + s1 = peg$c1063; + peg$currPos += 9; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1064); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1065(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 9) === peg$c1066) { + s1 = peg$c1066; + peg$currPos += 9; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1067); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1065(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 11) === peg$c1068) { + s1 = peg$c1068; + peg$currPos += 11; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1069); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1070(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 11) === peg$c1071) { + s1 = peg$c1071; + peg$currPos += 11; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1072); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1070(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 6) === peg$c1073) { + s1 = peg$c1073; + peg$currPos += 6; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1074); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1075(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 6) === peg$c1076) { + s1 = peg$c1076; + peg$currPos += 6; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1077); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1075(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 10) === peg$c1078) { + s1 = peg$c1078; + peg$currPos += 10; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1079); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1080(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 10) === peg$c1081) { + s1 = peg$c1081; + peg$currPos += 10; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1082); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1080(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 8) === peg$c1083) { + s1 = peg$c1083; + peg$currPos += 8; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1084); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1085(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 8) === peg$c1086) { + s1 = peg$c1086; + peg$currPos += 8; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1087); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1085(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 8) === peg$c1088) { + s1 = peg$c1088; + peg$currPos += 8; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1089); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1090(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 8) === peg$c1091) { + s1 = peg$c1091; + peg$currPos += 8; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1092); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1090(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 6) === peg$c1093) { + s1 = peg$c1093; + peg$currPos += 6; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1094); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1095(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 6) === peg$c1096) { + s1 = peg$c1096; + peg$currPos += 6; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1097); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1095(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 6) === peg$c1098) { + s1 = peg$c1098; + peg$currPos += 6; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1099); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1100(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 6) === peg$c1101) { + s1 = peg$c1101; + peg$currPos += 6; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1102); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1100(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 7) === peg$c1103) { + s1 = peg$c1103; + peg$currPos += 7; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1104); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1105(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 7) === peg$c1106) { + s1 = peg$c1106; + peg$currPos += 7; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1107); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1105(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 9) === peg$c1108) { + s1 = peg$c1108; + peg$currPos += 9; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1109); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1110(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 9) === peg$c1111) { + s1 = peg$c1111; + peg$currPos += 9; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1112); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1110(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 9) === peg$c1113) { + s1 = peg$c1113; + peg$currPos += 9; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1114); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1115(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 9) === peg$c1116) { + s1 = peg$c1116; + peg$currPos += 9; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1117); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1115(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 9) === peg$c1118) { + s1 = peg$c1118; + peg$currPos += 9; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1119); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1115(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 9) === peg$c1120) { + s1 = peg$c1120; + peg$currPos += 9; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1121); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1115(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 4) === peg$c1122) { + s1 = peg$c1122; + peg$currPos += 4; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1123); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1124(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 4) === peg$c1125) { + s1 = peg$c1125; + peg$currPos += 4; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1126); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1124(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 11) === peg$c1127) { + s1 = peg$c1127; + peg$currPos += 11; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1128); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1129(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 11) === peg$c1130) { + s1 = peg$c1130; + peg$currPos += 11; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1131); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1129(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 9) === peg$c1132) { + s1 = peg$c1132; + peg$currPos += 9; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1133); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1134(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 9) === peg$c1135) { + s1 = peg$c1135; + peg$currPos += 9; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1136); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1134(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 3) === peg$c1137) { + s1 = peg$c1137; + peg$currPos += 3; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1138); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1139(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 3) === peg$c1140) { + s1 = peg$c1140; + peg$currPos += 3; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1141); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1139(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 4) === peg$c1142) { + s1 = peg$c1142; + peg$currPos += 4; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1143); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1144(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 4) === peg$c1145) { + s1 = peg$c1145; + peg$currPos += 4; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1146); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1144(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 7) === peg$c1147) { + s1 = peg$c1147; + peg$currPos += 7; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1148); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1149(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 7) === peg$c1150) { + s1 = peg$c1150; + peg$currPos += 7; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1151); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1149(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 6) === peg$c1152) { + s1 = peg$c1152; + peg$currPos += 6; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1153); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1154(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 6) === peg$c1155) { + s1 = peg$c1155; + peg$currPos += 6; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1156); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1154(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 9) === peg$c1157) { + s1 = peg$c1157; + peg$currPos += 9; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1158); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1159(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 9) === peg$c1160) { + s1 = peg$c1160; + peg$currPos += 9; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1161); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1159(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 6) === peg$c1162) { + s1 = peg$c1162; + peg$currPos += 6; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1163); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1164(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 6) === peg$c1165) { + s1 = peg$c1165; + peg$currPos += 6; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1166); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1164(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 5) === peg$c1167) { + s1 = peg$c1167; + peg$currPos += 5; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1168); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1169(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 5) === peg$c1170) { + s1 = peg$c1170; + peg$currPos += 5; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1171); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1169(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 10) === peg$c1172) { + s1 = peg$c1172; + peg$currPos += 10; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1173); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1174(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 10) === peg$c1175) { + s1 = peg$c1175; + peg$currPos += 10; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1176); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1174(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 5) === peg$c1177) { + s1 = peg$c1177; + peg$currPos += 5; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1178); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1179(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 5) === peg$c1180) { + s1 = peg$c1180; + peg$currPos += 5; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1181); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1179(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 11) === peg$c1182) { + s1 = peg$c1182; + peg$currPos += 11; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1183); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1184(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 11) === peg$c1185) { + s1 = peg$c1185; + peg$currPos += 11; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1186); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1184(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 6) === peg$c1187) { + s1 = peg$c1187; + peg$currPos += 6; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1188); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1189(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 6) === peg$c1190) { + s1 = peg$c1190; + peg$currPos += 6; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1191); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1189(); + } + s0 = s1; + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } + return s0; + } + function peg$parseSvgColor() { + var s0, s1, s2; + s0 = peg$currPos; + s1 = peg$parseSvgColorLabel(); + if (s1 !== peg$FAILED) { + s2 = peg$parseWS(); + if (s2 === peg$FAILED) { + s2 = null; + } + if (s2 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1192(s1); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + return s0; + } + function peg$parseRgb3() { + var s0, s1, s2, s3, s4, s5; + s0 = peg$currPos; + if (input.charCodeAt(peg$currPos) === 35) { + s1 = peg$c1193; + peg$currPos++; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1194); + } + } + if (s1 !== peg$FAILED) { + s2 = peg$parseHexDigit(); + if (s2 !== peg$FAILED) { + s3 = peg$parseHexDigit(); + if (s3 !== peg$FAILED) { + s4 = peg$parseHexDigit(); + if (s4 !== peg$FAILED) { + s5 = peg$parseWS(); + if (s5 === peg$FAILED) { + s5 = null; + } + if (s5 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1195(s2, s3, s4); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + return s0; + } + function peg$parseRgb6() { + var s0, s1, s2, s3, s4, s5, s6, s7, s8; + s0 = peg$currPos; + if (input.charCodeAt(peg$currPos) === 35) { + s1 = peg$c1193; + peg$currPos++; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1194); + } + } + if (s1 !== peg$FAILED) { + s2 = peg$parseHexDigit(); + if (s2 !== peg$FAILED) { + s3 = peg$parseHexDigit(); + if (s3 !== peg$FAILED) { + s4 = peg$parseHexDigit(); + if (s4 !== peg$FAILED) { + s5 = peg$parseHexDigit(); + if (s5 !== peg$FAILED) { + s6 = peg$parseHexDigit(); + if (s6 !== peg$FAILED) { + s7 = peg$parseHexDigit(); + if (s7 !== peg$FAILED) { + s8 = peg$parseWS(); + if (s8 === peg$FAILED) { + s8 = null; + } + if (s8 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1196(s2, s3, s4, s5, s6, s7); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + return s0; + } + function peg$parseRgba4() { + var s0, s1, s2, s3, s4, s5, s6; + s0 = peg$currPos; + if (input.charCodeAt(peg$currPos) === 35) { + s1 = peg$c1193; + peg$currPos++; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1194); + } + } + if (s1 !== peg$FAILED) { + s2 = peg$parseHexDigit(); + if (s2 !== peg$FAILED) { + s3 = peg$parseHexDigit(); + if (s3 !== peg$FAILED) { + s4 = peg$parseHexDigit(); + if (s4 !== peg$FAILED) { + s5 = peg$parseHexDigit(); + if (s5 !== peg$FAILED) { + s6 = peg$parseWS(); + if (s6 === peg$FAILED) { + s6 = null; + } + if (s6 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1197(s2, s3, s4, s5); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + return s0; + } + function peg$parseRgba8() { + var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10; + s0 = peg$currPos; + if (input.charCodeAt(peg$currPos) === 35) { + s1 = peg$c1193; + peg$currPos++; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1194); + } + } + if (s1 !== peg$FAILED) { + s2 = peg$parseHexDigit(); + if (s2 !== peg$FAILED) { + s3 = peg$parseHexDigit(); + if (s3 !== peg$FAILED) { + s4 = peg$parseHexDigit(); + if (s4 !== peg$FAILED) { + s5 = peg$parseHexDigit(); + if (s5 !== peg$FAILED) { + s6 = peg$parseHexDigit(); + if (s6 !== peg$FAILED) { + s7 = peg$parseHexDigit(); + if (s7 !== peg$FAILED) { + s8 = peg$parseHexDigit(); + if (s8 !== peg$FAILED) { + s9 = peg$parseHexDigit(); + if (s9 !== peg$FAILED) { + s10 = peg$parseWS(); + if (s10 === peg$FAILED) { + s10 = null; + } + if (s10 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1198(s2, s3, s4, s5, s6, s7, s8, s9); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + return s0; + } + function peg$parseColor() { + var s0; + peg$silentFails++; + s0 = peg$parseSvgColor(); + if (s0 === peg$FAILED) { + s0 = peg$parseRgba8(); + if (s0 === peg$FAILED) { + s0 = peg$parseRgb6(); + if (s0 === peg$FAILED) { + s0 = peg$parseRgba4(); + if (s0 === peg$FAILED) { + s0 = peg$parseRgb3(); + } + } + } + } + peg$silentFails--; + if (s0 === peg$FAILED) { + if (peg$silentFails === 0) { + peg$fail(peg$c1199); + } + } + return s0; + } + function peg$parseArrowItemKey() { + var s0; + if (input.substr(peg$currPos, 9) === peg$c1200) { + s0 = peg$c1200; + peg$currPos += 9; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1201); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 10) === peg$c1202) { + s0 = peg$c1202; + peg$currPos += 10; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1203); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 10) === peg$c1204) { + s0 = peg$c1204; + peg$currPos += 10; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1205); + } + } + } + } + return s0; + } + function peg$parseArrowItem() { + var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; + s0 = peg$currPos; + s1 = peg$parseWS(); + if (s1 === peg$FAILED) { + s1 = null; + } + if (s1 !== peg$FAILED) { + s2 = peg$parseArrowItemKey(); + if (s2 !== peg$FAILED) { + s3 = peg$parseWS(); + if (s3 === peg$FAILED) { + s3 = null; + } + if (s3 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 58) { + s4 = peg$c1206; + peg$currPos++; + } + else { + s4 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1207); + } + } + if (s4 !== peg$FAILED) { + s5 = peg$parseWS(); + if (s5 === peg$FAILED) { + s5 = null; + } + if (s5 !== peg$FAILED) { + s6 = peg$parseLabel(); + if (s6 !== peg$FAILED) { + s7 = peg$parseWS(); + if (s7 === peg$FAILED) { + s7 = null; + } + if (s7 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 59) { + s8 = peg$c1208; + peg$currPos++; + } + else { + s8 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1209); + } + } + if (s8 !== peg$FAILED) { + s9 = peg$parseWS(); + if (s9 === peg$FAILED) { + s9 = null; + } + if (s9 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1210(s2, s6); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + return s0; + } + function peg$parseSingleEdgeColor() { + var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; + peg$silentFails++; + s0 = peg$currPos; + s1 = peg$parseWS(); + if (s1 === peg$FAILED) { + s1 = null; + } + if (s1 !== peg$FAILED) { + if (input.substr(peg$currPos, 10) === peg$c1212) { + s2 = peg$c1212; + peg$currPos += 10; + } + else { + s2 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1213); + } + } + if (s2 !== peg$FAILED) { + s3 = peg$parseWS(); + if (s3 === peg$FAILED) { + s3 = null; + } + if (s3 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 58) { + s4 = peg$c1206; + peg$currPos++; + } + else { + s4 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1207); + } + } + if (s4 !== peg$FAILED) { + s5 = peg$parseWS(); + if (s5 === peg$FAILED) { + s5 = null; + } + if (s5 !== peg$FAILED) { + s6 = peg$parseColor(); + if (s6 !== peg$FAILED) { + s7 = peg$parseWS(); + if (s7 === peg$FAILED) { + s7 = null; + } + if (s7 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 59) { + s8 = peg$c1208; + peg$currPos++; + } + else { + s8 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1209); + } + } + if (s8 !== peg$FAILED) { + s9 = peg$parseWS(); + if (s9 === peg$FAILED) { + s9 = null; + } + if (s9 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1214(s6); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + peg$silentFails--; + if (s0 === peg$FAILED) { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1211); + } + } + return s0; + } + function peg$parseTransitionLineStyle() { + var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; + peg$silentFails++; + s0 = peg$currPos; + s1 = peg$parseWS(); + if (s1 === peg$FAILED) { + s1 = null; + } + if (s1 !== peg$FAILED) { + if (input.substr(peg$currPos, 10) === peg$c1216) { + s2 = peg$c1216; + peg$currPos += 10; + } + else { + s2 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1217); + } + } + if (s2 !== peg$FAILED) { + s3 = peg$parseWS(); + if (s3 === peg$FAILED) { + s3 = null; + } + if (s3 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 58) { + s4 = peg$c1206; + peg$currPos++; + } + else { + s4 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1207); + } + } + if (s4 !== peg$FAILED) { + s5 = peg$parseWS(); + if (s5 === peg$FAILED) { + s5 = null; + } + if (s5 !== peg$FAILED) { + s6 = peg$parseLineStyle(); + if (s6 !== peg$FAILED) { + s7 = peg$parseWS(); + if (s7 === peg$FAILED) { + s7 = null; + } + if (s7 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 59) { + s8 = peg$c1208; + peg$currPos++; + } + else { + s8 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1209); + } + } + if (s8 !== peg$FAILED) { + s9 = peg$parseWS(); + if (s9 === peg$FAILED) { + s9 = null; + } + if (s9 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1218(s6); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + peg$silentFails--; + if (s0 === peg$FAILED) { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1215); + } + } + return s0; + } + function peg$parseArrowItems() { + var s0, s1; + s0 = peg$parseSingleEdgeColor(); + if (s0 === peg$FAILED) { + s0 = peg$parseTransitionLineStyle(); + if (s0 === peg$FAILED) { + s0 = []; + s1 = peg$parseArrowItem(); + if (s1 !== peg$FAILED) { + while (s1 !== peg$FAILED) { + s0.push(s1); + s1 = peg$parseArrowItem(); + } + } + else { + s0 = peg$FAILED; + } + } + } + return s0; + } + function peg$parseArrowDesc() { + var s0, s1, s2, s3, s4, s5; + s0 = peg$currPos; + if (input.charCodeAt(peg$currPos) === 123) { + s1 = peg$c1219; + peg$currPos++; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1220); + } + } + if (s1 !== peg$FAILED) { + s2 = peg$parseWS(); + if (s2 === peg$FAILED) { + s2 = null; + } + if (s2 !== peg$FAILED) { + s3 = peg$parseArrowItems(); + if (s3 === peg$FAILED) { + s3 = null; + } + if (s3 !== peg$FAILED) { + s4 = peg$parseWS(); + if (s4 === peg$FAILED) { + s4 = null; + } + if (s4 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 125) { + s5 = peg$c1221; + peg$currPos++; + } + else { + s5 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1222); + } + } + if (s5 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1223(s3); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + return s0; + } + function peg$parseArrowProbability() { + var s0, s1, s2; + s0 = peg$currPos; + s1 = peg$parseNonNegNumber(); + if (s1 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 37) { + s2 = peg$c1224; + peg$currPos++; + } + else { + s2 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1225); + } + } + if (s2 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1226(s1); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + return s0; + } + function peg$parseLabelList() { + var s0, s1, s2, s3, s4, s5, s6; + s0 = peg$currPos; + if (input.charCodeAt(peg$currPos) === 91) { + s1 = peg$c11; + peg$currPos++; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c12); + } + } + if (s1 !== peg$FAILED) { + s2 = peg$parseWS(); + if (s2 === peg$FAILED) { + s2 = null; + } + if (s2 !== peg$FAILED) { + s3 = []; + s4 = peg$currPos; + s5 = peg$parseLabel(); + if (s5 !== peg$FAILED) { + s6 = peg$parseWS(); + if (s6 === peg$FAILED) { + s6 = null; + } + if (s6 !== peg$FAILED) { + s5 = [s5, s6]; + s4 = s5; + } + else { + peg$currPos = s4; + s4 = peg$FAILED; + } + } + else { + peg$currPos = s4; + s4 = peg$FAILED; + } + while (s4 !== peg$FAILED) { + s3.push(s4); + s4 = peg$currPos; + s5 = peg$parseLabel(); + if (s5 !== peg$FAILED) { + s6 = peg$parseWS(); + if (s6 === peg$FAILED) { + s6 = null; + } + if (s6 !== peg$FAILED) { + s5 = [s5, s6]; + s4 = s5; + } + else { + peg$currPos = s4; + s4 = peg$FAILED; + } + } + else { + peg$currPos = s4; + s4 = peg$FAILED; + } + } + if (s3 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 93) { + s4 = peg$c13; + peg$currPos++; + } + else { + s4 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c14); + } + } + if (s4 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1227(s3); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + return s0; + } + function peg$parseLabelOrLabelList() { + var s0; + s0 = peg$parseLabelList(); + if (s0 === peg$FAILED) { + s0 = peg$parseLabel(); + } + return s0; + } + function peg$parseStripe() { + var s0, s1, s2, s3, s4; + s0 = peg$currPos; + if (input.substr(peg$currPos, 2) === peg$c1228) { + s1 = peg$c1228; + peg$currPos += 2; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1229); + } + } + if (s1 !== peg$FAILED) { + s2 = peg$parseNonZeroDigit(); + if (s2 !== peg$FAILED) { + s3 = []; + s4 = peg$parseDecimalDigit(); + while (s4 !== peg$FAILED) { + s3.push(s4); + s4 = peg$parseDecimalDigit(); + } + if (s3 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1230(s2, s3); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 2) === peg$c1231) { + s1 = peg$c1231; + peg$currPos += 2; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1232); + } + } + if (s1 !== peg$FAILED) { + s2 = peg$parseNonZeroDigit(); + if (s2 !== peg$FAILED) { + s3 = []; + s4 = peg$parseDecimalDigit(); + while (s4 !== peg$FAILED) { + s3.push(s4); + s4 = peg$parseDecimalDigit(); + } + if (s3 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1233(s2, s3); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + return s0; + } + function peg$parseCycle() { + var s0, s1, s2, s3, s4; + s0 = peg$currPos; + if (input.charCodeAt(peg$currPos) === 43) { + s1 = peg$c1234; + peg$currPos++; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1235); + } + } + if (s1 !== peg$FAILED) { + s2 = peg$parseNonZeroDigit(); + if (s2 !== peg$FAILED) { + s3 = []; + s4 = peg$parseDecimalDigit(); + while (s4 !== peg$FAILED) { + s3.push(s4); + s4 = peg$parseDecimalDigit(); + } + if (s3 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1236(s2, s3); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.charCodeAt(peg$currPos) === 45) { + s1 = peg$c1237; + peg$currPos++; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1238); + } + } + if (s1 !== peg$FAILED) { + s2 = peg$parseNonZeroDigit(); + if (s2 !== peg$FAILED) { + s3 = []; + s4 = peg$parseDecimalDigit(); + while (s4 !== peg$FAILED) { + s3.push(s4); + s4 = peg$parseDecimalDigit(); + } + if (s3 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1239(s2, s3); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 2) === peg$c1240) { + s1 = peg$c1240; + peg$currPos += 2; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1241); + } + } + if (s1 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1242(); + } + s0 = s1; + } + } + return s0; + } + function peg$parseArrowTarget() { + var s0; + s0 = peg$parseStripe(); + if (s0 === peg$FAILED) { + s0 = peg$parseCycle(); + if (s0 === peg$FAILED) { + s0 = peg$parseLabelList(); + if (s0 === peg$FAILED) { + s0 = peg$parseLabel(); + } + } + } + return s0; + } + function peg$parseSubexp() { + var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12, s13, s14, s15, s16, s17, s18; + s0 = peg$currPos; + s1 = peg$parseWS(); + if (s1 === peg$FAILED) { + s1 = null; + } + if (s1 !== peg$FAILED) { + s2 = peg$parseActionLabel(); + if (s2 === peg$FAILED) { + s2 = null; + } + if (s2 !== peg$FAILED) { + s3 = peg$parseWS(); + if (s3 === peg$FAILED) { + s3 = null; + } + if (s3 !== peg$FAILED) { + s4 = peg$parseArrowProbability(); + if (s4 === peg$FAILED) { + s4 = null; + } + if (s4 !== peg$FAILED) { + s5 = peg$parseWS(); + if (s5 === peg$FAILED) { + s5 = null; + } + if (s5 !== peg$FAILED) { + s6 = peg$parseArrowDesc(); + if (s6 === peg$FAILED) { + s6 = null; + } + if (s6 !== peg$FAILED) { + s7 = peg$parseWS(); + if (s7 === peg$FAILED) { + s7 = null; + } + if (s7 !== peg$FAILED) { + s8 = peg$parseArrow(); + if (s8 !== peg$FAILED) { + s9 = peg$parseWS(); + if (s9 === peg$FAILED) { + s9 = null; + } + if (s9 !== peg$FAILED) { + s10 = peg$parseArrowDesc(); + if (s10 === peg$FAILED) { + s10 = null; + } + if (s10 !== peg$FAILED) { + s11 = peg$parseWS(); + if (s11 === peg$FAILED) { + s11 = null; + } + if (s11 !== peg$FAILED) { + s12 = peg$parseArrowProbability(); + if (s12 === peg$FAILED) { + s12 = null; + } + if (s12 !== peg$FAILED) { + s13 = peg$parseWS(); + if (s13 === peg$FAILED) { + s13 = null; + } + if (s13 !== peg$FAILED) { + s14 = peg$parseActionLabel(); + if (s14 === peg$FAILED) { + s14 = null; + } + if (s14 !== peg$FAILED) { + s15 = peg$parseWS(); + if (s15 === peg$FAILED) { + s15 = null; + } + if (s15 !== peg$FAILED) { + s16 = peg$parseArrowTarget(); + if (s16 !== peg$FAILED) { + s17 = peg$parseWS(); + if (s17 === peg$FAILED) { + s17 = null; + } + if (s17 !== peg$FAILED) { + s18 = peg$parseSubexp(); + if (s18 === peg$FAILED) { + s18 = null; + } + if (s18 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1243(s2, s4, s6, s8, s10, s12, s14, s16, s18); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + return s0; + } + function peg$parseExp() { + var s0, s1, s2, s3, s4, s5; + s0 = peg$currPos; + s1 = peg$parseArrowTarget(); + if (s1 !== peg$FAILED) { + s2 = peg$parseSubexp(); + if (s2 !== peg$FAILED) { + s3 = peg$parseWS(); + if (s3 === peg$FAILED) { + s3 = null; + } + if (s3 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 59) { + s4 = peg$c1208; + peg$currPos++; + } + else { + s4 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1209); + } + } + if (s4 !== peg$FAILED) { + s5 = peg$parseWS(); + if (s5 === peg$FAILED) { + s5 = null; + } + if (s5 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1244(s1, s2); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + return s0; + } + function peg$parseValidationKey() { + var s0; + if (input.substr(peg$currPos, 9) === peg$c1245) { + s0 = peg$c1245; + peg$currPos += 9; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1246); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 4) === peg$c1247) { + s0 = peg$c1247; + peg$currPos += 4; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1248); + } + } + } + return s0; + } + function peg$parseValidationItem() { + var s0, s1, s2, s3, s4; + s0 = peg$currPos; + s1 = peg$parseValidationKey(); + if (s1 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 58) { + s2 = peg$c1206; + peg$currPos++; + } + else { + s2 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1207); + } + } + if (s2 !== peg$FAILED) { + s3 = peg$parseLabel(); + if (s3 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 59) { + s4 = peg$c1208; + peg$currPos++; + } + else { + s4 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1209); + } + } + if (s4 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1249(s1, s3); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + return s0; + } + function peg$parseValidationItems() { + var s0, s1; + s0 = []; + s1 = peg$parseValidationItem(); + if (s1 !== peg$FAILED) { + while (s1 !== peg$FAILED) { + s0.push(s1); + s1 = peg$parseValidationItem(); + } + } + else { + s0 = peg$FAILED; + } + return s0; + } + function peg$parseConfigValidation() { + var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11; + s0 = peg$currPos; + s1 = peg$parseWS(); + if (s1 === peg$FAILED) { + s1 = null; + } + if (s1 !== peg$FAILED) { + if (input.substr(peg$currPos, 10) === peg$c1250) { + s2 = peg$c1250; + peg$currPos += 10; + } + else { + s2 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1251); + } + } + if (s2 !== peg$FAILED) { + s3 = peg$parseWS(); + if (s3 === peg$FAILED) { + s3 = null; + } + if (s3 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 58) { + s4 = peg$c1206; + peg$currPos++; + } + else { + s4 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1207); + } + } + if (s4 !== peg$FAILED) { + s5 = peg$parseWS(); + if (s5 === peg$FAILED) { + s5 = null; + } + if (s5 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 123) { + s6 = peg$c1219; + peg$currPos++; + } + else { + s6 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1220); + } + } + if (s6 !== peg$FAILED) { + s7 = peg$parseWS(); + if (s7 === peg$FAILED) { + s7 = null; + } + if (s7 !== peg$FAILED) { + s8 = peg$parseValidationItems(); + if (s8 === peg$FAILED) { + s8 = null; + } + if (s8 !== peg$FAILED) { + s9 = peg$parseWS(); + if (s9 === peg$FAILED) { + s9 = null; + } + if (s9 !== peg$FAILED) { + if (input.substr(peg$currPos, 2) === peg$c1252) { + s10 = peg$c1252; + peg$currPos += 2; + } + else { + s10 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1253); + } + } + if (s10 !== peg$FAILED) { + s11 = peg$parseWS(); + if (s11 === peg$FAILED) { + s11 = null; + } + if (s11 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1254(s8); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + return s0; + } + function peg$parseGvizLayout() { + var s0; + if (input.substr(peg$currPos, 3) === peg$c1255) { + s0 = peg$c1255; + peg$currPos += 3; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1256); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 5) === peg$c1257) { + s0 = peg$c1257; + peg$currPos += 5; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1258); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 3) === peg$c1259) { + s0 = peg$c1259; + peg$currPos += 3; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1260); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 5) === peg$c1261) { + s0 = peg$c1261; + peg$currPos += 5; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1262); + } + } + } + } + } + return s0; + } + function peg$parseStateItems() { + var s0, s1; + s0 = []; + s1 = peg$parseStateDeclarationItem(); + if (s1 !== peg$FAILED) { + while (s1 !== peg$FAILED) { + s0.push(s1); + s1 = peg$parseStateDeclarationItem(); + } + } + else { + s0 = peg$FAILED; + } + return s0; + } + function peg$parseConfigState() { + var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11; + s0 = peg$currPos; + s1 = peg$parseWS(); + if (s1 === peg$FAILED) { + s1 = null; + } + if (s1 !== peg$FAILED) { + if (input.substr(peg$currPos, 5) === peg$c1263) { + s2 = peg$c1263; + peg$currPos += 5; + } + else { + s2 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1264); + } + } + if (s2 !== peg$FAILED) { + s3 = peg$parseWS(); + if (s3 === peg$FAILED) { + s3 = null; + } + if (s3 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 58) { + s4 = peg$c1206; + peg$currPos++; + } + else { + s4 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1207); + } + } + if (s4 !== peg$FAILED) { + s5 = peg$parseWS(); + if (s5 === peg$FAILED) { + s5 = null; + } + if (s5 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 123) { + s6 = peg$c1219; + peg$currPos++; + } + else { + s6 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1220); + } + } + if (s6 !== peg$FAILED) { + s7 = peg$parseWS(); + if (s7 === peg$FAILED) { + s7 = null; + } + if (s7 !== peg$FAILED) { + s8 = peg$parseStateItems(); + if (s8 === peg$FAILED) { + s8 = null; + } + if (s8 !== peg$FAILED) { + s9 = peg$parseWS(); + if (s9 === peg$FAILED) { + s9 = null; + } + if (s9 !== peg$FAILED) { + if (input.substr(peg$currPos, 2) === peg$c1252) { + s10 = peg$c1252; + peg$currPos += 2; + } + else { + s10 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1253); + } + } + if (s10 !== peg$FAILED) { + s11 = peg$parseWS(); + if (s11 === peg$FAILED) { + s11 = null; + } + if (s11 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1265(s8); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + return s0; + } + function peg$parseConfigStartState() { + var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11; + s0 = peg$currPos; + s1 = peg$parseWS(); + if (s1 === peg$FAILED) { + s1 = null; + } + if (s1 !== peg$FAILED) { + if (input.substr(peg$currPos, 11) === peg$c1266) { + s2 = peg$c1266; + peg$currPos += 11; + } + else { + s2 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1267); + } + } + if (s2 !== peg$FAILED) { + s3 = peg$parseWS(); + if (s3 === peg$FAILED) { + s3 = null; + } + if (s3 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 58) { + s4 = peg$c1206; + peg$currPos++; + } + else { + s4 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1207); + } + } + if (s4 !== peg$FAILED) { + s5 = peg$parseWS(); + if (s5 === peg$FAILED) { + s5 = null; + } + if (s5 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 123) { + s6 = peg$c1219; + peg$currPos++; + } + else { + s6 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1220); + } + } + if (s6 !== peg$FAILED) { + s7 = peg$parseWS(); + if (s7 === peg$FAILED) { + s7 = null; + } + if (s7 !== peg$FAILED) { + s8 = peg$parseStateItems(); + if (s8 === peg$FAILED) { + s8 = null; + } + if (s8 !== peg$FAILED) { + s9 = peg$parseWS(); + if (s9 === peg$FAILED) { + s9 = null; + } + if (s9 !== peg$FAILED) { + if (input.substr(peg$currPos, 2) === peg$c1252) { + s10 = peg$c1252; + peg$currPos += 2; + } + else { + s10 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1253); + } + } + if (s10 !== peg$FAILED) { + s11 = peg$parseWS(); + if (s11 === peg$FAILED) { + s11 = null; + } + if (s11 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1268(s8); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + return s0; + } + function peg$parseConfigEndState() { + var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11; + s0 = peg$currPos; + s1 = peg$parseWS(); + if (s1 === peg$FAILED) { + s1 = null; + } + if (s1 !== peg$FAILED) { + if (input.substr(peg$currPos, 9) === peg$c1269) { + s2 = peg$c1269; + peg$currPos += 9; + } + else { + s2 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1270); + } + } + if (s2 !== peg$FAILED) { + s3 = peg$parseWS(); + if (s3 === peg$FAILED) { + s3 = null; + } + if (s3 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 58) { + s4 = peg$c1206; + peg$currPos++; + } + else { + s4 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1207); + } + } + if (s4 !== peg$FAILED) { + s5 = peg$parseWS(); + if (s5 === peg$FAILED) { + s5 = null; + } + if (s5 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 123) { + s6 = peg$c1219; + peg$currPos++; + } + else { + s6 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1220); + } + } + if (s6 !== peg$FAILED) { + s7 = peg$parseWS(); + if (s7 === peg$FAILED) { + s7 = null; + } + if (s7 !== peg$FAILED) { + s8 = peg$parseStateItems(); + if (s8 === peg$FAILED) { + s8 = null; + } + if (s8 !== peg$FAILED) { + s9 = peg$parseWS(); + if (s9 === peg$FAILED) { + s9 = null; + } + if (s9 !== peg$FAILED) { + if (input.substr(peg$currPos, 2) === peg$c1252) { + s10 = peg$c1252; + peg$currPos += 2; + } + else { + s10 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1253); + } + } + if (s10 !== peg$FAILED) { + s11 = peg$parseWS(); + if (s11 === peg$FAILED) { + s11 = null; + } + if (s11 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1271(s8); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + return s0; + } + function peg$parseConfigActiveState() { + var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11; + s0 = peg$currPos; + s1 = peg$parseWS(); + if (s1 === peg$FAILED) { + s1 = null; + } + if (s1 !== peg$FAILED) { + if (input.substr(peg$currPos, 12) === peg$c1272) { + s2 = peg$c1272; + peg$currPos += 12; + } + else { + s2 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1273); + } + } + if (s2 !== peg$FAILED) { + s3 = peg$parseWS(); + if (s3 === peg$FAILED) { + s3 = null; + } + if (s3 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 58) { + s4 = peg$c1206; + peg$currPos++; + } + else { + s4 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1207); + } + } + if (s4 !== peg$FAILED) { + s5 = peg$parseWS(); + if (s5 === peg$FAILED) { + s5 = null; + } + if (s5 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 123) { + s6 = peg$c1219; + peg$currPos++; + } + else { + s6 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1220); + } + } + if (s6 !== peg$FAILED) { + s7 = peg$parseWS(); + if (s7 === peg$FAILED) { + s7 = null; + } + if (s7 !== peg$FAILED) { + s8 = peg$parseStateItems(); + if (s8 === peg$FAILED) { + s8 = null; + } + if (s8 !== peg$FAILED) { + s9 = peg$parseWS(); + if (s9 === peg$FAILED) { + s9 = null; + } + if (s9 !== peg$FAILED) { + if (input.substr(peg$currPos, 2) === peg$c1252) { + s10 = peg$c1252; + peg$currPos += 2; + } + else { + s10 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1253); + } + } + if (s10 !== peg$FAILED) { + s11 = peg$parseWS(); + if (s11 === peg$FAILED) { + s11 = null; + } + if (s11 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1274(s8); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + return s0; + } + function peg$parseConfigTerminalState() { + var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11; + s0 = peg$currPos; + s1 = peg$parseWS(); + if (s1 === peg$FAILED) { + s1 = null; + } + if (s1 !== peg$FAILED) { + if (input.substr(peg$currPos, 14) === peg$c1275) { + s2 = peg$c1275; + peg$currPos += 14; + } + else { + s2 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1276); + } + } + if (s2 !== peg$FAILED) { + s3 = peg$parseWS(); + if (s3 === peg$FAILED) { + s3 = null; + } + if (s3 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 58) { + s4 = peg$c1206; + peg$currPos++; + } + else { + s4 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1207); + } + } + if (s4 !== peg$FAILED) { + s5 = peg$parseWS(); + if (s5 === peg$FAILED) { + s5 = null; + } + if (s5 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 123) { + s6 = peg$c1219; + peg$currPos++; + } + else { + s6 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1220); + } + } + if (s6 !== peg$FAILED) { + s7 = peg$parseWS(); + if (s7 === peg$FAILED) { + s7 = null; + } + if (s7 !== peg$FAILED) { + s8 = peg$parseStateItems(); + if (s8 === peg$FAILED) { + s8 = null; + } + if (s8 !== peg$FAILED) { + s9 = peg$parseWS(); + if (s9 === peg$FAILED) { + s9 = null; + } + if (s9 !== peg$FAILED) { + if (input.substr(peg$currPos, 2) === peg$c1252) { + s10 = peg$c1252; + peg$currPos += 2; + } + else { + s10 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1253); + } + } + if (s10 !== peg$FAILED) { + s11 = peg$parseWS(); + if (s11 === peg$FAILED) { + s11 = null; + } + if (s11 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1277(s8); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + return s0; + } + function peg$parseConfigHookedState() { + var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11; + s0 = peg$currPos; + s1 = peg$parseWS(); + if (s1 === peg$FAILED) { + s1 = null; + } + if (s1 !== peg$FAILED) { + if (input.substr(peg$currPos, 12) === peg$c1278) { + s2 = peg$c1278; + peg$currPos += 12; + } + else { + s2 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1279); + } + } + if (s2 !== peg$FAILED) { + s3 = peg$parseWS(); + if (s3 === peg$FAILED) { + s3 = null; + } + if (s3 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 58) { + s4 = peg$c1206; + peg$currPos++; + } + else { + s4 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1207); + } + } + if (s4 !== peg$FAILED) { + s5 = peg$parseWS(); + if (s5 === peg$FAILED) { + s5 = null; + } + if (s5 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 123) { + s6 = peg$c1219; + peg$currPos++; + } + else { + s6 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1220); + } + } + if (s6 !== peg$FAILED) { + s7 = peg$parseWS(); + if (s7 === peg$FAILED) { + s7 = null; + } + if (s7 !== peg$FAILED) { + s8 = peg$parseStateItems(); + if (s8 === peg$FAILED) { + s8 = null; + } + if (s8 !== peg$FAILED) { + s9 = peg$parseWS(); + if (s9 === peg$FAILED) { + s9 = null; + } + if (s9 !== peg$FAILED) { + if (input.substr(peg$currPos, 2) === peg$c1252) { + s10 = peg$c1252; + peg$currPos += 2; + } + else { + s10 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1253); + } + } + if (s10 !== peg$FAILED) { + s11 = peg$parseWS(); + if (s11 === peg$FAILED) { + s11 = null; + } + if (s11 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1280(s8); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + return s0; + } + function peg$parseConfigAnyState() { + var s0; + s0 = peg$parseConfigState(); + if (s0 === peg$FAILED) { + s0 = peg$parseConfigStartState(); + if (s0 === peg$FAILED) { + s0 = peg$parseConfigEndState(); + if (s0 === peg$FAILED) { + s0 = peg$parseConfigActiveState(); + if (s0 === peg$FAILED) { + s0 = peg$parseConfigTerminalState(); + if (s0 === peg$FAILED) { + s0 = peg$parseConfigHookedState(); + } + } + } + } + } + return s0; + } + function peg$parseActionKey() { + var s0; + if (input.substr(peg$currPos, 9) === peg$c1245) { + s0 = peg$c1245; + peg$currPos += 9; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1246); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 4) === peg$c1247) { + s0 = peg$c1247; + peg$currPos += 4; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1248); + } + } + } + return s0; + } + function peg$parseActionItem() { + var s0, s1, s2, s3, s4; + s0 = peg$currPos; + s1 = peg$parseActionKey(); + if (s1 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 58) { + s2 = peg$c1206; + peg$currPos++; + } + else { + s2 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1207); + } + } + if (s2 !== peg$FAILED) { + s3 = peg$parseLabel(); + if (s3 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 59) { + s4 = peg$c1208; + peg$currPos++; + } + else { + s4 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1209); + } + } + if (s4 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1281(s1, s3); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + return s0; + } + function peg$parseActionItems() { + var s0, s1; + s0 = []; + s1 = peg$parseActionItem(); + if (s1 !== peg$FAILED) { + while (s1 !== peg$FAILED) { + s0.push(s1); + s1 = peg$parseActionItem(); + } + } + else { + s0 = peg$FAILED; + } + return s0; + } + function peg$parseConfigAction() { + var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11; + s0 = peg$currPos; + s1 = peg$parseWS(); + if (s1 === peg$FAILED) { + s1 = null; + } + if (s1 !== peg$FAILED) { + if (input.substr(peg$currPos, 6) === peg$c1282) { + s2 = peg$c1282; + peg$currPos += 6; + } + else { + s2 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1283); + } + } + if (s2 !== peg$FAILED) { + s3 = peg$parseWS(); + if (s3 === peg$FAILED) { + s3 = null; + } + if (s3 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 58) { + s4 = peg$c1206; + peg$currPos++; + } + else { + s4 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1207); + } + } + if (s4 !== peg$FAILED) { + s5 = peg$parseWS(); + if (s5 === peg$FAILED) { + s5 = null; + } + if (s5 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 123) { + s6 = peg$c1219; + peg$currPos++; + } + else { + s6 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1220); + } + } + if (s6 !== peg$FAILED) { + s7 = peg$parseWS(); + if (s7 === peg$FAILED) { + s7 = null; + } + if (s7 !== peg$FAILED) { + s8 = peg$parseActionItems(); + if (s8 === peg$FAILED) { + s8 = null; + } + if (s8 !== peg$FAILED) { + s9 = peg$parseWS(); + if (s9 === peg$FAILED) { + s9 = null; + } + if (s9 !== peg$FAILED) { + if (input.substr(peg$currPos, 2) === peg$c1252) { + s10 = peg$c1252; + peg$currPos += 2; + } + else { + s10 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1253); + } + } + if (s10 !== peg$FAILED) { + s11 = peg$parseWS(); + if (s11 === peg$FAILED) { + s11 = null; + } + if (s11 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1284(s8); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + return s0; + } + function peg$parseTransitionKey() { + var s0; + if (input.substr(peg$currPos, 9) === peg$c1245) { + s0 = peg$c1245; + peg$currPos += 9; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1246); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 4) === peg$c1247) { + s0 = peg$c1247; + peg$currPos += 4; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1248); + } + } + } + return s0; + } + function peg$parseTransitionItem() { + var s0, s1, s2, s3, s4; + s0 = peg$currPos; + s1 = peg$parseTransitionKey(); + if (s1 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 58) { + s2 = peg$c1206; + peg$currPos++; + } + else { + s2 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1207); + } + } + if (s2 !== peg$FAILED) { + s3 = peg$parseLabel(); + if (s3 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 59) { + s4 = peg$c1208; + peg$currPos++; + } + else { + s4 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1209); + } + } + if (s4 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1285(s1, s3); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + return s0; + } + function peg$parseTransitionItems() { + var s0, s1; + s0 = peg$parseGraphDefaultEdgeColor(); + if (s0 === peg$FAILED) { + s0 = []; + s1 = peg$parseTransitionItem(); + if (s1 !== peg$FAILED) { + while (s1 !== peg$FAILED) { + s0.push(s1); + s1 = peg$parseTransitionItem(); + } + } + else { + s0 = peg$FAILED; + } + } + return s0; + } + function peg$parseGraphDefaultEdgeColor() { + var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; + peg$silentFails++; + s0 = peg$currPos; + s1 = peg$parseWS(); + if (s1 === peg$FAILED) { + s1 = null; + } + if (s1 !== peg$FAILED) { + if (input.substr(peg$currPos, 10) === peg$c1212) { + s2 = peg$c1212; + peg$currPos += 10; + } + else { + s2 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1213); + } + } + if (s2 !== peg$FAILED) { + s3 = peg$parseWS(); + if (s3 === peg$FAILED) { + s3 = null; + } + if (s3 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 58) { + s4 = peg$c1206; + peg$currPos++; + } + else { + s4 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1207); + } + } + if (s4 !== peg$FAILED) { + s5 = peg$parseWS(); + if (s5 === peg$FAILED) { + s5 = null; + } + if (s5 !== peg$FAILED) { + s6 = peg$parseColor(); + if (s6 !== peg$FAILED) { + s7 = peg$parseWS(); + if (s7 === peg$FAILED) { + s7 = null; + } + if (s7 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 59) { + s8 = peg$c1208; + peg$currPos++; + } + else { + s8 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1209); + } + } + if (s8 !== peg$FAILED) { + s9 = peg$parseWS(); + if (s9 === peg$FAILED) { + s9 = null; + } + if (s9 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1287(s6); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + peg$silentFails--; + if (s0 === peg$FAILED) { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1286); + } + } + return s0; + } + function peg$parseConfigTransition() { + var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11; + s0 = peg$currPos; + s1 = peg$parseWS(); + if (s1 === peg$FAILED) { + s1 = null; + } + if (s1 !== peg$FAILED) { + if (input.substr(peg$currPos, 10) === peg$c1288) { + s2 = peg$c1288; + peg$currPos += 10; + } + else { + s2 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1289); + } + } + if (s2 !== peg$FAILED) { + s3 = peg$parseWS(); + if (s3 === peg$FAILED) { + s3 = null; + } + if (s3 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 58) { + s4 = peg$c1206; + peg$currPos++; + } + else { + s4 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1207); + } + } + if (s4 !== peg$FAILED) { + s5 = peg$parseWS(); + if (s5 === peg$FAILED) { + s5 = null; + } + if (s5 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 123) { + s6 = peg$c1219; + peg$currPos++; + } + else { + s6 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1220); + } + } + if (s6 !== peg$FAILED) { + s7 = peg$parseWS(); + if (s7 === peg$FAILED) { + s7 = null; + } + if (s7 !== peg$FAILED) { + s8 = peg$parseTransitionItems(); + if (s8 === peg$FAILED) { + s8 = null; + } + if (s8 !== peg$FAILED) { + s9 = peg$parseWS(); + if (s9 === peg$FAILED) { + s9 = null; + } + if (s9 !== peg$FAILED) { + if (input.substr(peg$currPos, 2) === peg$c1252) { + s10 = peg$c1252; + peg$currPos += 2; + } + else { + s10 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1253); + } + } + if (s10 !== peg$FAILED) { + s11 = peg$parseWS(); + if (s11 === peg$FAILED) { + s11 = null; + } + if (s11 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1290(s8); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + return s0; + } + function peg$parseConfigGraphLayout() { + var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; + s0 = peg$currPos; + s1 = peg$parseWS(); + if (s1 === peg$FAILED) { + s1 = null; + } + if (s1 !== peg$FAILED) { + if (input.substr(peg$currPos, 12) === peg$c1291) { + s2 = peg$c1291; + peg$currPos += 12; + } + else { + s2 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1292); + } + } + if (s2 !== peg$FAILED) { + s3 = peg$parseWS(); + if (s3 === peg$FAILED) { + s3 = null; + } + if (s3 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 58) { + s4 = peg$c1206; + peg$currPos++; + } + else { + s4 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1207); + } + } + if (s4 !== peg$FAILED) { + s5 = peg$parseWS(); + if (s5 === peg$FAILED) { + s5 = null; + } + if (s5 !== peg$FAILED) { + s6 = peg$parseGvizLayout(); + if (s6 !== peg$FAILED) { + s7 = peg$parseWS(); + if (s7 === peg$FAILED) { + s7 = null; + } + if (s7 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 59) { + s8 = peg$c1208; + peg$currPos++; + } + else { + s8 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1209); + } + } + if (s8 !== peg$FAILED) { + s9 = peg$parseWS(); + if (s9 === peg$FAILED) { + s9 = null; + } + if (s9 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1293(s6); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + return s0; + } + function peg$parseConfigStartNodes() { + var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; + s0 = peg$currPos; + s1 = peg$parseWS(); + if (s1 === peg$FAILED) { + s1 = null; + } + if (s1 !== peg$FAILED) { + if (input.substr(peg$currPos, 12) === peg$c1294) { + s2 = peg$c1294; + peg$currPos += 12; + } + else { + s2 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1295); + } + } + if (s2 !== peg$FAILED) { + s3 = peg$parseWS(); + if (s3 === peg$FAILED) { + s3 = null; + } + if (s3 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 58) { + s4 = peg$c1206; + peg$currPos++; + } + else { + s4 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1207); + } + } + if (s4 !== peg$FAILED) { + s5 = peg$parseWS(); + if (s5 === peg$FAILED) { + s5 = null; + } + if (s5 !== peg$FAILED) { + s6 = peg$parseLabelList(); + if (s6 !== peg$FAILED) { + s7 = peg$parseWS(); + if (s7 === peg$FAILED) { + s7 = null; + } + if (s7 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 59) { + s8 = peg$c1208; + peg$currPos++; + } + else { + s8 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1209); + } + } + if (s8 !== peg$FAILED) { + s9 = peg$parseWS(); + if (s9 === peg$FAILED) { + s9 = null; + } + if (s9 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1296(s6); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + return s0; + } + function peg$parseConfigEndNodes() { + var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; + s0 = peg$currPos; + s1 = peg$parseWS(); + if (s1 === peg$FAILED) { + s1 = null; + } + if (s1 !== peg$FAILED) { + if (input.substr(peg$currPos, 10) === peg$c1297) { + s2 = peg$c1297; + peg$currPos += 10; + } + else { + s2 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1298); + } + } + if (s2 !== peg$FAILED) { + s3 = peg$parseWS(); + if (s3 === peg$FAILED) { + s3 = null; + } + if (s3 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 58) { + s4 = peg$c1206; + peg$currPos++; + } + else { + s4 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1207); + } + } + if (s4 !== peg$FAILED) { + s5 = peg$parseWS(); + if (s5 === peg$FAILED) { + s5 = null; + } + if (s5 !== peg$FAILED) { + s6 = peg$parseLabelList(); + if (s6 !== peg$FAILED) { + s7 = peg$parseWS(); + if (s7 === peg$FAILED) { + s7 = null; + } + if (s7 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 59) { + s8 = peg$c1208; + peg$currPos++; + } + else { + s8 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1209); + } + } + if (s8 !== peg$FAILED) { + s9 = peg$parseWS(); + if (s9 === peg$FAILED) { + s9 = null; + } + if (s9 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1299(s6); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + return s0; + } + function peg$parseConfigGraphBgColor() { + var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; + s0 = peg$currPos; + s1 = peg$parseWS(); + if (s1 === peg$FAILED) { + s1 = null; + } + if (s1 !== peg$FAILED) { + if (input.substr(peg$currPos, 14) === peg$c1300) { + s2 = peg$c1300; + peg$currPos += 14; + } + else { + s2 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1301); + } + } + if (s2 !== peg$FAILED) { + s3 = peg$parseWS(); + if (s3 === peg$FAILED) { + s3 = null; + } + if (s3 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 58) { + s4 = peg$c1206; + peg$currPos++; + } + else { + s4 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1207); + } + } + if (s4 !== peg$FAILED) { + s5 = peg$parseWS(); + if (s5 === peg$FAILED) { + s5 = null; + } + if (s5 !== peg$FAILED) { + s6 = peg$parseColor(); + if (s6 !== peg$FAILED) { + s7 = peg$parseWS(); + if (s7 === peg$FAILED) { + s7 = null; + } + if (s7 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 59) { + s8 = peg$c1208; + peg$currPos++; + } + else { + s8 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1209); + } + } + if (s8 !== peg$FAILED) { + s9 = peg$parseWS(); + if (s9 === peg$FAILED) { + s9 = null; + } + if (s9 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1302(s6); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + return s0; + } + function peg$parseConfig() { + var s0; + peg$silentFails++; + s0 = peg$parseConfigGraphLayout(); + if (s0 === peg$FAILED) { + s0 = peg$parseConfigStartNodes(); + if (s0 === peg$FAILED) { + s0 = peg$parseConfigEndNodes(); + if (s0 === peg$FAILED) { + s0 = peg$parseConfigTransition(); + if (s0 === peg$FAILED) { + s0 = peg$parseConfigAction(); + if (s0 === peg$FAILED) { + s0 = peg$parseConfigAnyState(); + if (s0 === peg$FAILED) { + s0 = peg$parseConfigValidation(); + if (s0 === peg$FAILED) { + s0 = peg$parseConfigGraphBgColor(); + } + } + } + } + } + } + } + peg$silentFails--; + if (s0 === peg$FAILED) { + if (peg$silentFails === 0) { + peg$fail(peg$c1303); + } + } + return s0; + } + function peg$parseLicenseOrLabelOrList() { + var s0; + if (input.substr(peg$currPos, 3) === peg$c1304) { + s0 = peg$c1304; + peg$currPos += 3; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1305); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 12) === peg$c1306) { + s0 = peg$c1306; + peg$currPos += 12; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1307); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 12) === peg$c1308) { + s0 = peg$c1308; + peg$currPos += 12; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1309); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 10) === peg$c1310) { + s0 = peg$c1310; + peg$currPos += 10; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1311); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 11) === peg$c1312) { + s0 = peg$c1312; + peg$currPos += 11; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1313); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 13) === peg$c1314) { + s0 = peg$c1314; + peg$currPos += 13; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1315); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 6) === peg$c1316) { + s0 = peg$c1316; + peg$currPos += 6; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1317); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 6) === peg$c1318) { + s0 = peg$c1318; + peg$currPos += 6; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1319); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 9) === peg$c1320) { + s0 = peg$c1320; + peg$currPos += 9; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1321); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 9) === peg$c1322) { + s0 = peg$c1322; + peg$currPos += 9; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1323); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 7) === peg$c1324) { + s0 = peg$c1324; + peg$currPos += 7; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1325); + } + } + if (s0 === peg$FAILED) { + s0 = peg$parseLabel(); + if (s0 === peg$FAILED) { + s0 = peg$parseLabelList(); + } + } + } + } + } + } + } + } + } + } + } + } + return s0; + } + function peg$parseDirection() { + var s0; + peg$silentFails++; + if (input.substr(peg$currPos, 2) === peg$c1327) { + s0 = peg$c1327; + peg$currPos += 2; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1328); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 5) === peg$c1329) { + s0 = peg$c1329; + peg$currPos += 5; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1330); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 4) === peg$c1331) { + s0 = peg$c1331; + peg$currPos += 4; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1332); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 4) === peg$c1333) { + s0 = peg$c1333; + peg$currPos += 4; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1334); + } + } + } + } + } + peg$silentFails--; + if (s0 === peg$FAILED) { + if (peg$silentFails === 0) { + peg$fail(peg$c1326); + } + } + return s0; + } + function peg$parseHookDefinition() { + var s0; + peg$silentFails++; + if (input.substr(peg$currPos, 4) === peg$c1336) { + s0 = peg$c1336; + peg$currPos += 4; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1337); + } + } + if (s0 === peg$FAILED) { + if (input.substr(peg$currPos, 6) === peg$c1338) { + s0 = peg$c1338; + peg$currPos += 6; + } + else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1339); + } + } + } + peg$silentFails--; + if (s0 === peg$FAILED) { + if (peg$silentFails === 0) { + peg$fail(peg$c1335); + } + } + return s0; + } + function peg$parseMachineAuthor() { + var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; + s0 = peg$currPos; + s1 = peg$parseWS(); + if (s1 === peg$FAILED) { + s1 = null; + } + if (s1 !== peg$FAILED) { + if (input.substr(peg$currPos, 14) === peg$c1340) { + s2 = peg$c1340; + peg$currPos += 14; + } + else { + s2 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1341); + } + } + if (s2 !== peg$FAILED) { + s3 = peg$parseWS(); + if (s3 === peg$FAILED) { + s3 = null; + } + if (s3 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 58) { + s4 = peg$c1206; + peg$currPos++; + } + else { + s4 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1207); + } + } + if (s4 !== peg$FAILED) { + s5 = peg$parseWS(); + if (s5 === peg$FAILED) { + s5 = null; + } + if (s5 !== peg$FAILED) { + s6 = peg$parseLabelOrLabelList(); + if (s6 !== peg$FAILED) { + s7 = peg$parseWS(); + if (s7 === peg$FAILED) { + s7 = null; + } + if (s7 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 59) { + s8 = peg$c1208; + peg$currPos++; + } + else { + s8 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1209); + } + } + if (s8 !== peg$FAILED) { + s9 = peg$parseWS(); + if (s9 === peg$FAILED) { + s9 = null; + } + if (s9 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1342(s6); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + return s0; + } + function peg$parseMachineContributor() { + var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; + s0 = peg$currPos; + s1 = peg$parseWS(); + if (s1 === peg$FAILED) { + s1 = null; + } + if (s1 !== peg$FAILED) { + if (input.substr(peg$currPos, 19) === peg$c1343) { + s2 = peg$c1343; + peg$currPos += 19; + } + else { + s2 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1344); + } + } + if (s2 !== peg$FAILED) { + s3 = peg$parseWS(); + if (s3 === peg$FAILED) { + s3 = null; + } + if (s3 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 58) { + s4 = peg$c1206; + peg$currPos++; + } + else { + s4 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1207); + } + } + if (s4 !== peg$FAILED) { + s5 = peg$parseWS(); + if (s5 === peg$FAILED) { + s5 = null; + } + if (s5 !== peg$FAILED) { + s6 = peg$parseLabelOrLabelList(); + if (s6 !== peg$FAILED) { + s7 = peg$parseWS(); + if (s7 === peg$FAILED) { + s7 = null; + } + if (s7 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 59) { + s8 = peg$c1208; + peg$currPos++; + } + else { + s8 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1209); + } + } + if (s8 !== peg$FAILED) { + s9 = peg$parseWS(); + if (s9 === peg$FAILED) { + s9 = null; + } + if (s9 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1345(s6); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + return s0; + } + function peg$parseMachineComment() { + var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; + s0 = peg$currPos; + s1 = peg$parseWS(); + if (s1 === peg$FAILED) { + s1 = null; + } + if (s1 !== peg$FAILED) { + if (input.substr(peg$currPos, 15) === peg$c1346) { + s2 = peg$c1346; + peg$currPos += 15; + } + else { + s2 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1347); + } + } + if (s2 !== peg$FAILED) { + s3 = peg$parseWS(); + if (s3 === peg$FAILED) { + s3 = null; + } + if (s3 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 58) { + s4 = peg$c1206; + peg$currPos++; + } + else { + s4 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1207); + } + } + if (s4 !== peg$FAILED) { + s5 = peg$parseWS(); + if (s5 === peg$FAILED) { + s5 = null; + } + if (s5 !== peg$FAILED) { + s6 = peg$parseLabelOrLabelList(); + if (s6 !== peg$FAILED) { + s7 = peg$parseWS(); + if (s7 === peg$FAILED) { + s7 = null; + } + if (s7 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 59) { + s8 = peg$c1208; + peg$currPos++; + } + else { + s8 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1209); + } + } + if (s8 !== peg$FAILED) { + s9 = peg$parseWS(); + if (s9 === peg$FAILED) { + s9 = null; + } + if (s9 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1348(s6); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + return s0; + } + function peg$parseMachineDefinition() { + var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; + s0 = peg$currPos; + s1 = peg$parseWS(); + if (s1 === peg$FAILED) { + s1 = null; + } + if (s1 !== peg$FAILED) { + if (input.substr(peg$currPos, 18) === peg$c1349) { + s2 = peg$c1349; + peg$currPos += 18; + } + else { + s2 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1350); + } + } + if (s2 !== peg$FAILED) { + s3 = peg$parseWS(); + if (s3 === peg$FAILED) { + s3 = null; + } + if (s3 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 58) { + s4 = peg$c1206; + peg$currPos++; + } + else { + s4 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1207); + } + } + if (s4 !== peg$FAILED) { + s5 = peg$parseWS(); + if (s5 === peg$FAILED) { + s5 = null; + } + if (s5 !== peg$FAILED) { + s6 = peg$parseURL(); + if (s6 !== peg$FAILED) { + s7 = peg$parseWS(); + if (s7 === peg$FAILED) { + s7 = null; + } + if (s7 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 59) { + s8 = peg$c1208; + peg$currPos++; + } + else { + s8 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1209); + } + } + if (s8 !== peg$FAILED) { + s9 = peg$parseWS(); + if (s9 === peg$FAILED) { + s9 = null; + } + if (s9 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1351(s6); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + return s0; + } + function peg$parseMachineName() { + var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; + s0 = peg$currPos; + s1 = peg$parseWS(); + if (s1 === peg$FAILED) { + s1 = null; + } + if (s1 !== peg$FAILED) { + if (input.substr(peg$currPos, 12) === peg$c1352) { + s2 = peg$c1352; + peg$currPos += 12; + } + else { + s2 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1353); + } + } + if (s2 !== peg$FAILED) { + s3 = peg$parseWS(); + if (s3 === peg$FAILED) { + s3 = null; + } + if (s3 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 58) { + s4 = peg$c1206; + peg$currPos++; + } + else { + s4 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1207); + } + } + if (s4 !== peg$FAILED) { + s5 = peg$parseWS(); + if (s5 === peg$FAILED) { + s5 = null; + } + if (s5 !== peg$FAILED) { + s6 = peg$parseLabel(); + if (s6 !== peg$FAILED) { + s7 = peg$parseWS(); + if (s7 === peg$FAILED) { + s7 = null; + } + if (s7 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 59) { + s8 = peg$c1208; + peg$currPos++; + } + else { + s8 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1209); + } + } + if (s8 !== peg$FAILED) { + s9 = peg$parseWS(); + if (s9 === peg$FAILED) { + s9 = null; + } + if (s9 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1354(s6); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + return s0; + } + function peg$parseMachineVersion() { + var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; + s0 = peg$currPos; + s1 = peg$parseWS(); + if (s1 === peg$FAILED) { + s1 = null; + } + if (s1 !== peg$FAILED) { + if (input.substr(peg$currPos, 15) === peg$c1358) { + s2 = peg$c1358; + peg$currPos += 15; + } + else { + s2 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1359); + } + } + if (s2 !== peg$FAILED) { + s3 = peg$parseWS(); + if (s3 === peg$FAILED) { + s3 = null; + } + if (s3 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 58) { + s4 = peg$c1206; + peg$currPos++; + } + else { + s4 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1207); + } + } + if (s4 !== peg$FAILED) { + s5 = peg$parseWS(); + if (s5 === peg$FAILED) { + s5 = null; + } + if (s5 !== peg$FAILED) { + s6 = peg$parseSemVer(); + if (s6 !== peg$FAILED) { + s7 = peg$parseWS(); + if (s7 === peg$FAILED) { + s7 = null; + } + if (s7 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 59) { + s8 = peg$c1208; + peg$currPos++; + } + else { + s8 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1209); + } + } + if (s8 !== peg$FAILED) { + s9 = peg$parseWS(); + if (s9 === peg$FAILED) { + s9 = null; + } + if (s9 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1360(s6); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + return s0; + } + function peg$parseMachineLicense() { + var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; + s0 = peg$currPos; + s1 = peg$parseWS(); + if (s1 === peg$FAILED) { + s1 = null; + } + if (s1 !== peg$FAILED) { + if (input.substr(peg$currPos, 15) === peg$c1361) { + s2 = peg$c1361; + peg$currPos += 15; + } + else { + s2 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1362); + } + } + if (s2 !== peg$FAILED) { + s3 = peg$parseWS(); + if (s3 === peg$FAILED) { + s3 = null; + } + if (s3 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 58) { + s4 = peg$c1206; + peg$currPos++; + } + else { + s4 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1207); + } + } + if (s4 !== peg$FAILED) { + s5 = peg$parseWS(); + if (s5 === peg$FAILED) { + s5 = null; + } + if (s5 !== peg$FAILED) { + s6 = peg$parseLicenseOrLabelOrList(); + if (s6 !== peg$FAILED) { + s7 = peg$parseWS(); + if (s7 === peg$FAILED) { + s7 = null; + } + if (s7 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 59) { + s8 = peg$c1208; + peg$currPos++; + } + else { + s8 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1209); + } + } + if (s8 !== peg$FAILED) { + s9 = peg$parseWS(); + if (s9 === peg$FAILED) { + s9 = null; + } + if (s9 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1363(s6); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + return s0; + } + function peg$parseMachineLanguage() { + var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; + s0 = peg$currPos; + s1 = peg$parseWS(); + if (s1 === peg$FAILED) { + s1 = null; + } + if (s1 !== peg$FAILED) { + if (input.substr(peg$currPos, 16) === peg$c1364) { + s2 = peg$c1364; + peg$currPos += 16; + } + else { + s2 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1365); + } + } + if (s2 !== peg$FAILED) { + s3 = peg$parseWS(); + if (s3 === peg$FAILED) { + s3 = null; + } + if (s3 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 58) { + s4 = peg$c1206; + peg$currPos++; + } + else { + s4 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1207); + } + } + if (s4 !== peg$FAILED) { + s5 = peg$parseWS(); + if (s5 === peg$FAILED) { + s5 = null; + } + if (s5 !== peg$FAILED) { + s6 = peg$parseLabel(); + if (s6 !== peg$FAILED) { + s7 = peg$parseWS(); + if (s7 === peg$FAILED) { + s7 = null; + } + if (s7 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 59) { + s8 = peg$c1208; + peg$currPos++; + } + else { + s8 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1209); + } + } + if (s8 !== peg$FAILED) { + s9 = peg$parseWS(); + if (s9 === peg$FAILED) { + s9 = null; + } + if (s9 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1366(s6); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + return s0; + } + function peg$parseFslVersion() { + var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; + s0 = peg$currPos; + s1 = peg$parseWS(); + if (s1 === peg$FAILED) { + s1 = null; + } + if (s1 !== peg$FAILED) { + if (input.substr(peg$currPos, 11) === peg$c1367) { + s2 = peg$c1367; + peg$currPos += 11; + } + else { + s2 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1368); + } + } + if (s2 !== peg$FAILED) { + s3 = peg$parseWS(); + if (s3 === peg$FAILED) { + s3 = null; + } + if (s3 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 58) { + s4 = peg$c1206; + peg$currPos++; + } + else { + s4 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1207); + } + } + if (s4 !== peg$FAILED) { + s5 = peg$parseWS(); + if (s5 === peg$FAILED) { + s5 = null; + } + if (s5 !== peg$FAILED) { + s6 = peg$parseSemVer(); + if (s6 !== peg$FAILED) { + s7 = peg$parseWS(); + if (s7 === peg$FAILED) { + s7 = null; + } + if (s7 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 59) { + s8 = peg$c1208; + peg$currPos++; + } + else { + s8 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1209); + } + } + if (s8 !== peg$FAILED) { + s9 = peg$parseWS(); + if (s9 === peg$FAILED) { + s9 = null; + } + if (s9 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1369(s6); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + return s0; + } + function peg$parseMachineTheme() { + var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; + s0 = peg$currPos; + s1 = peg$parseWS(); + if (s1 === peg$FAILED) { + s1 = null; + } + if (s1 !== peg$FAILED) { + if (input.substr(peg$currPos, 5) === peg$c1370) { + s2 = peg$c1370; + peg$currPos += 5; + } + else { + s2 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1371); + } + } + if (s2 !== peg$FAILED) { + s3 = peg$parseWS(); + if (s3 === peg$FAILED) { + s3 = null; + } + if (s3 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 58) { + s4 = peg$c1206; + peg$currPos++; + } + else { + s4 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1207); + } + } + if (s4 !== peg$FAILED) { + s5 = peg$parseWS(); + if (s5 === peg$FAILED) { + s5 = null; + } + if (s5 !== peg$FAILED) { + s6 = peg$parseThemeOrThemeList(); + if (s6 !== peg$FAILED) { + s7 = peg$parseWS(); + if (s7 === peg$FAILED) { + s7 = null; + } + if (s7 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 59) { + s8 = peg$c1208; + peg$currPos++; + } + else { + s8 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1209); + } + } + if (s8 !== peg$FAILED) { + s9 = peg$parseWS(); + if (s9 === peg$FAILED) { + s9 = null; + } + if (s9 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1372(s6); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + return s0; + } + function peg$parseMachineFlow() { + var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; + s0 = peg$currPos; + s1 = peg$parseWS(); + if (s1 === peg$FAILED) { + s1 = null; + } + if (s1 !== peg$FAILED) { + if (input.substr(peg$currPos, 4) === peg$c1373) { + s2 = peg$c1373; + peg$currPos += 4; + } + else { + s2 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1374); + } + } + if (s2 !== peg$FAILED) { + s3 = peg$parseWS(); + if (s3 === peg$FAILED) { + s3 = null; + } + if (s3 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 58) { + s4 = peg$c1206; + peg$currPos++; + } + else { + s4 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1207); + } + } + if (s4 !== peg$FAILED) { + s5 = peg$parseWS(); + if (s5 === peg$FAILED) { + s5 = null; + } + if (s5 !== peg$FAILED) { + s6 = peg$parseDirection(); + if (s6 !== peg$FAILED) { + s7 = peg$parseWS(); + if (s7 === peg$FAILED) { + s7 = null; + } + if (s7 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 59) { + s8 = peg$c1208; + peg$currPos++; + } + else { + s8 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1209); + } + } + if (s8 !== peg$FAILED) { + s9 = peg$parseWS(); + if (s9 === peg$FAILED) { + s9 = null; + } + if (s9 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1375(s6); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + return s0; + } + function peg$parseMachineHookDefinition() { + var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; + s0 = peg$currPos; + s1 = peg$parseWS(); + if (s1 === peg$FAILED) { + s1 = null; + } + if (s1 !== peg$FAILED) { + if (input.substr(peg$currPos, 5) === peg$c1376) { + s2 = peg$c1376; + peg$currPos += 5; + } + else { + s2 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1377); + } + } + if (s2 !== peg$FAILED) { + s3 = peg$parseWS(); + if (s3 === peg$FAILED) { + s3 = null; + } + if (s3 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 58) { + s4 = peg$c1206; + peg$currPos++; + } + else { + s4 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1207); + } + } + if (s4 !== peg$FAILED) { + s5 = peg$parseWS(); + if (s5 === peg$FAILED) { + s5 = null; + } + if (s5 !== peg$FAILED) { + s6 = peg$parseHookDefinition(); + if (s6 !== peg$FAILED) { + s7 = peg$parseWS(); + if (s7 === peg$FAILED) { + s7 = null; + } + if (s7 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 59) { + s8 = peg$c1208; + peg$currPos++; + } + else { + s8 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1209); + } + } + if (s8 !== peg$FAILED) { + s9 = peg$parseWS(); + if (s9 === peg$FAILED) { + s9 = null; + } + if (s9 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1378(s6); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + return s0; + } + function peg$parseDotPreamble() { + var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; + s0 = peg$currPos; + s1 = peg$parseWS(); + if (s1 === peg$FAILED) { + s1 = null; + } + if (s1 !== peg$FAILED) { + if (input.substr(peg$currPos, 12) === peg$c1379) { + s2 = peg$c1379; + peg$currPos += 12; + } + else { + s2 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1380); + } + } + if (s2 !== peg$FAILED) { + s3 = peg$parseWS(); + if (s3 === peg$FAILED) { + s3 = null; + } + if (s3 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 58) { + s4 = peg$c1206; + peg$currPos++; + } + else { + s4 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1207); + } + } + if (s4 !== peg$FAILED) { + s5 = peg$parseWS(); + if (s5 === peg$FAILED) { + s5 = null; + } + if (s5 !== peg$FAILED) { + s6 = peg$parseString(); + if (s6 !== peg$FAILED) { + s7 = peg$parseWS(); + if (s7 === peg$FAILED) { + s7 = null; + } + if (s7 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 59) { + s8 = peg$c1208; + peg$currPos++; + } + else { + s8 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1209); + } + } + if (s8 !== peg$FAILED) { + s9 = peg$parseWS(); + if (s9 === peg$FAILED) { + s9 = null; + } + if (s9 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1381(s6); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + return s0; + } + function peg$parseMachineAttribute() { + var s0; + peg$silentFails++; + s0 = peg$parseFslVersion(); + if (s0 === peg$FAILED) { + s0 = peg$parseMachineName(); + if (s0 === peg$FAILED) { + s0 = peg$parseMachineAuthor(); + if (s0 === peg$FAILED) { + s0 = peg$parseMachineContributor(); + if (s0 === peg$FAILED) { + s0 = peg$parseMachineComment(); + if (s0 === peg$FAILED) { + s0 = peg$parseMachineDefinition(); + if (s0 === peg$FAILED) { + s0 = peg$parseMachineVersion(); + if (s0 === peg$FAILED) { + s0 = peg$parseMachineLicense(); + if (s0 === peg$FAILED) { + s0 = peg$parseMachineLanguage(); + if (s0 === peg$FAILED) { + s0 = peg$parseMachineTheme(); + if (s0 === peg$FAILED) { + s0 = peg$parseDotPreamble(); + if (s0 === peg$FAILED) { + s0 = peg$parseMachineFlow(); + if (s0 === peg$FAILED) { + s0 = peg$parseMachineHookDefinition(); + } + } + } + } + } + } + } + } + } + } + } + } + peg$silentFails--; + if (s0 === peg$FAILED) { + if (peg$silentFails === 0) { + peg$fail(peg$c1382); + } + } + return s0; + } + function peg$parsePropertyVal() { + var s0; + s0 = peg$parseString(); + if (s0 === peg$FAILED) { + s0 = peg$parseBoolean(); + if (s0 === peg$FAILED) { + s0 = peg$parseJsNumericLiteral(); + if (s0 === peg$FAILED) { + s0 = peg$parseNull(); + if (s0 === peg$FAILED) { + s0 = peg$parseUndefined(); + } + } + } + } + return s0; + } + function peg$parseSdStateLabel() { + var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; + peg$silentFails++; + s0 = peg$currPos; + s1 = peg$parseWS(); + if (s1 === peg$FAILED) { + s1 = null; + } + if (s1 !== peg$FAILED) { + if (input.substr(peg$currPos, 5) === peg$c1383) { + s2 = peg$c1383; + peg$currPos += 5; + } + else { + s2 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1384); + } + } + if (s2 !== peg$FAILED) { + s3 = peg$parseWS(); + if (s3 === peg$FAILED) { + s3 = null; + } + if (s3 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 58) { + s4 = peg$c1206; + peg$currPos++; + } + else { + s4 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1207); + } + } + if (s4 !== peg$FAILED) { + s5 = peg$parseWS(); + if (s5 === peg$FAILED) { + s5 = null; + } + if (s5 !== peg$FAILED) { + s6 = peg$parseLabel(); + if (s6 !== peg$FAILED) { + s7 = peg$parseWS(); + if (s7 === peg$FAILED) { + s7 = null; + } + if (s7 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 59) { + s8 = peg$c1208; + peg$currPos++; + } + else { + s8 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1209); + } + } + if (s8 !== peg$FAILED) { + s9 = peg$parseWS(); + if (s9 === peg$FAILED) { + s9 = null; + } + if (s9 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1385(s6); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + peg$silentFails--; + if (s0 === peg$FAILED) { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1199); + } + } + return s0; + } + function peg$parseSdStateColor() { + var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; + peg$silentFails++; + s0 = peg$currPos; + s1 = peg$parseWS(); + if (s1 === peg$FAILED) { + s1 = null; + } + if (s1 !== peg$FAILED) { + if (input.substr(peg$currPos, 5) === peg$c1386) { + s2 = peg$c1386; + peg$currPos += 5; + } + else { + s2 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1387); + } + } + if (s2 !== peg$FAILED) { + s3 = peg$parseWS(); + if (s3 === peg$FAILED) { + s3 = null; + } + if (s3 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 58) { + s4 = peg$c1206; + peg$currPos++; + } + else { + s4 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1207); + } + } + if (s4 !== peg$FAILED) { + s5 = peg$parseWS(); + if (s5 === peg$FAILED) { + s5 = null; + } + if (s5 !== peg$FAILED) { + s6 = peg$parseColor(); + if (s6 !== peg$FAILED) { + s7 = peg$parseWS(); + if (s7 === peg$FAILED) { + s7 = null; + } + if (s7 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 59) { + s8 = peg$c1208; + peg$currPos++; + } + else { + s8 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1209); + } + } + if (s8 !== peg$FAILED) { + s9 = peg$parseWS(); + if (s9 === peg$FAILED) { + s9 = null; + } + if (s9 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1388(s6); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + peg$silentFails--; + if (s0 === peg$FAILED) { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1199); + } + } + return s0; + } + function peg$parseSdStateTextColor() { + var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; + peg$silentFails++; + s0 = peg$currPos; + s1 = peg$parseWS(); + if (s1 === peg$FAILED) { + s1 = null; + } + if (s1 !== peg$FAILED) { + if (input.substr(peg$currPos, 10) === peg$c1390) { + s2 = peg$c1390; + peg$currPos += 10; + } + else { + s2 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1391); + } + } + if (s2 !== peg$FAILED) { + s3 = peg$parseWS(); + if (s3 === peg$FAILED) { + s3 = null; + } + if (s3 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 58) { + s4 = peg$c1206; + peg$currPos++; + } + else { + s4 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1207); + } + } + if (s4 !== peg$FAILED) { + s5 = peg$parseWS(); + if (s5 === peg$FAILED) { + s5 = null; + } + if (s5 !== peg$FAILED) { + s6 = peg$parseColor(); + if (s6 !== peg$FAILED) { + s7 = peg$parseWS(); + if (s7 === peg$FAILED) { + s7 = null; + } + if (s7 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 59) { + s8 = peg$c1208; + peg$currPos++; + } + else { + s8 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1209); + } + } + if (s8 !== peg$FAILED) { + s9 = peg$parseWS(); + if (s9 === peg$FAILED) { + s9 = null; + } + if (s9 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1392(s6); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + peg$silentFails--; + if (s0 === peg$FAILED) { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1389); + } + } + return s0; + } + function peg$parseSdStateBackgroundColor() { + var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; + peg$silentFails++; + s0 = peg$currPos; + s1 = peg$parseWS(); + if (s1 === peg$FAILED) { + s1 = null; + } + if (s1 !== peg$FAILED) { + if (input.substr(peg$currPos, 16) === peg$c1394) { + s2 = peg$c1394; + peg$currPos += 16; + } + else { + s2 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1395); + } + } + if (s2 !== peg$FAILED) { + s3 = peg$parseWS(); + if (s3 === peg$FAILED) { + s3 = null; + } + if (s3 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 58) { + s4 = peg$c1206; + peg$currPos++; + } + else { + s4 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1207); + } + } + if (s4 !== peg$FAILED) { + s5 = peg$parseWS(); + if (s5 === peg$FAILED) { + s5 = null; + } + if (s5 !== peg$FAILED) { + s6 = peg$parseColor(); + if (s6 !== peg$FAILED) { + s7 = peg$parseWS(); + if (s7 === peg$FAILED) { + s7 = null; + } + if (s7 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 59) { + s8 = peg$c1208; + peg$currPos++; + } + else { + s8 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1209); + } + } + if (s8 !== peg$FAILED) { + s9 = peg$parseWS(); + if (s9 === peg$FAILED) { + s9 = null; + } + if (s9 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1396(s6); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + peg$silentFails--; + if (s0 === peg$FAILED) { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1393); + } + } + return s0; + } + function peg$parseSdStateBorderColor() { + var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; + peg$silentFails++; + s0 = peg$currPos; + s1 = peg$parseWS(); + if (s1 === peg$FAILED) { + s1 = null; + } + if (s1 !== peg$FAILED) { + if (input.substr(peg$currPos, 12) === peg$c1398) { + s2 = peg$c1398; + peg$currPos += 12; + } + else { + s2 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1399); + } + } + if (s2 !== peg$FAILED) { + s3 = peg$parseWS(); + if (s3 === peg$FAILED) { + s3 = null; + } + if (s3 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 58) { + s4 = peg$c1206; + peg$currPos++; + } + else { + s4 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1207); + } + } + if (s4 !== peg$FAILED) { + s5 = peg$parseWS(); + if (s5 === peg$FAILED) { + s5 = null; + } + if (s5 !== peg$FAILED) { + s6 = peg$parseColor(); + if (s6 !== peg$FAILED) { + s7 = peg$parseWS(); + if (s7 === peg$FAILED) { + s7 = null; + } + if (s7 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 59) { + s8 = peg$c1208; + peg$currPos++; + } + else { + s8 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1209); + } + } + if (s8 !== peg$FAILED) { + s9 = peg$parseWS(); + if (s9 === peg$FAILED) { + s9 = null; + } + if (s9 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1400(s6); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + peg$silentFails--; + if (s0 === peg$FAILED) { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1397); + } + } + return s0; + } + function peg$parseSdStateShape() { + var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; + peg$silentFails++; + s0 = peg$currPos; + s1 = peg$parseWS(); + if (s1 === peg$FAILED) { + s1 = null; + } + if (s1 !== peg$FAILED) { + if (input.substr(peg$currPos, 5) === peg$c1402) { + s2 = peg$c1402; + peg$currPos += 5; + } + else { + s2 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1403); + } + } + if (s2 !== peg$FAILED) { + s3 = peg$parseWS(); + if (s3 === peg$FAILED) { + s3 = null; + } + if (s3 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 58) { + s4 = peg$c1206; + peg$currPos++; + } + else { + s4 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1207); + } + } + if (s4 !== peg$FAILED) { + s5 = peg$parseWS(); + if (s5 === peg$FAILED) { + s5 = null; + } + if (s5 !== peg$FAILED) { + s6 = peg$parseGvizShape(); + if (s6 !== peg$FAILED) { + s7 = peg$parseWS(); + if (s7 === peg$FAILED) { + s7 = null; + } + if (s7 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 59) { + s8 = peg$c1208; + peg$currPos++; + } + else { + s8 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1209); + } + } + if (s8 !== peg$FAILED) { + s9 = peg$parseWS(); + if (s9 === peg$FAILED) { + s9 = null; + } + if (s9 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1404(s6); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + peg$silentFails--; + if (s0 === peg$FAILED) { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1401); + } + } + return s0; + } + function peg$parseSdStateCorners() { + var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; + peg$silentFails++; + s0 = peg$currPos; + s1 = peg$parseWS(); + if (s1 === peg$FAILED) { + s1 = null; + } + if (s1 !== peg$FAILED) { + if (input.substr(peg$currPos, 7) === peg$c1406) { + s2 = peg$c1406; + peg$currPos += 7; + } + else { + s2 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1407); + } + } + if (s2 !== peg$FAILED) { + s3 = peg$parseWS(); + if (s3 === peg$FAILED) { + s3 = null; + } + if (s3 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 58) { + s4 = peg$c1206; + peg$currPos++; + } + else { + s4 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1207); + } + } + if (s4 !== peg$FAILED) { + s5 = peg$parseWS(); + if (s5 === peg$FAILED) { + s5 = null; + } + if (s5 !== peg$FAILED) { + s6 = peg$parseCorners(); + if (s6 !== peg$FAILED) { + s7 = peg$parseWS(); + if (s7 === peg$FAILED) { + s7 = null; + } + if (s7 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 59) { + s8 = peg$c1208; + peg$currPos++; + } + else { + s8 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1209); + } + } + if (s8 !== peg$FAILED) { + s9 = peg$parseWS(); + if (s9 === peg$FAILED) { + s9 = null; + } + if (s9 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1408(s6); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + peg$silentFails--; + if (s0 === peg$FAILED) { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1405); + } + } + return s0; + } + function peg$parseSdStateLineStyle() { + var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; + peg$silentFails++; + s0 = peg$currPos; + s1 = peg$parseWS(); + if (s1 === peg$FAILED) { + s1 = null; + } + if (s1 !== peg$FAILED) { + if (input.substr(peg$currPos, 10) === peg$c1216) { + s2 = peg$c1216; + peg$currPos += 10; + } + else { + s2 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1217); + } + } + if (s2 !== peg$FAILED) { + s3 = peg$parseWS(); + if (s3 === peg$FAILED) { + s3 = null; + } + if (s3 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 58) { + s4 = peg$c1206; + peg$currPos++; + } + else { + s4 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1207); + } + } + if (s4 !== peg$FAILED) { + s5 = peg$parseWS(); + if (s5 === peg$FAILED) { + s5 = null; + } + if (s5 !== peg$FAILED) { + s6 = peg$parseLineStyle(); + if (s6 !== peg$FAILED) { + s7 = peg$parseWS(); + if (s7 === peg$FAILED) { + s7 = null; + } + if (s7 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 59) { + s8 = peg$c1208; + peg$currPos++; + } + else { + s8 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1209); + } + } + if (s8 !== peg$FAILED) { + s9 = peg$parseWS(); + if (s9 === peg$FAILED) { + s9 = null; + } + if (s9 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1410(s6); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + if (s0 === peg$FAILED) { + s0 = peg$currPos; + s1 = peg$parseWS(); + if (s1 === peg$FAILED) { + s1 = null; + } + if (s1 !== peg$FAILED) { + if (input.substr(peg$currPos, 9) === peg$c1411) { + s2 = peg$c1411; + peg$currPos += 9; + } + else { + s2 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1412); + } + } + if (s2 !== peg$FAILED) { + s3 = peg$parseWS(); + if (s3 === peg$FAILED) { + s3 = null; + } + if (s3 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 58) { + s4 = peg$c1206; + peg$currPos++; + } + else { + s4 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1207); + } + } + if (s4 !== peg$FAILED) { + s5 = peg$parseWS(); + if (s5 === peg$FAILED) { + s5 = null; + } + if (s5 !== peg$FAILED) { + s6 = peg$parseLineStyle(); + if (s6 !== peg$FAILED) { + s7 = peg$parseWS(); + if (s7 === peg$FAILED) { + s7 = null; + } + if (s7 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 59) { + s8 = peg$c1208; + peg$currPos++; + } + else { + s8 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1209); + } + } + if (s8 !== peg$FAILED) { + s9 = peg$parseWS(); + if (s9 === peg$FAILED) { + s9 = null; + } + if (s9 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1410(s6); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + peg$silentFails--; + if (s0 === peg$FAILED) { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1409); + } + } + return s0; + } + function peg$parseSdStateProperty() { + var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12, s13; + peg$silentFails++; + s0 = peg$currPos; + s1 = peg$parseWS(); + if (s1 === peg$FAILED) { + s1 = null; + } + if (s1 !== peg$FAILED) { + if (input.substr(peg$currPos, 8) === peg$c1414) { + s2 = peg$c1414; + peg$currPos += 8; + } + else { + s2 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1415); + } + } + if (s2 !== peg$FAILED) { + s3 = peg$parseWS(); + if (s3 === peg$FAILED) { + s3 = null; + } + if (s3 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 58) { + s4 = peg$c1206; + peg$currPos++; + } + else { + s4 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1207); + } + } + if (s4 !== peg$FAILED) { + s5 = peg$parseWS(); + if (s5 === peg$FAILED) { + s5 = null; + } + if (s5 !== peg$FAILED) { + s6 = peg$parseAtom(); + if (s6 !== peg$FAILED) { + s7 = peg$parseWS(); + if (s7 !== peg$FAILED) { + s8 = peg$parsePropertyVal(); + if (s8 !== peg$FAILED) { + s9 = peg$parseWS(); + if (s9 === peg$FAILED) { + s9 = null; + } + if (s9 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 59) { + s10 = peg$c1208; + peg$currPos++; + } + else { + s10 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1209); + } + } + if (s10 !== peg$FAILED) { + s11 = peg$parseWS(); + if (s11 === peg$FAILED) { + s11 = null; + } + if (s11 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1416(s6, s8); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + if (s0 === peg$FAILED) { + s0 = peg$currPos; + s1 = peg$parseWS(); + if (s1 === peg$FAILED) { + s1 = null; + } + if (s1 !== peg$FAILED) { + if (input.substr(peg$currPos, 8) === peg$c1414) { + s2 = peg$c1414; + peg$currPos += 8; + } + else { + s2 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1415); + } + } + if (s2 !== peg$FAILED) { + s3 = peg$parseWS(); + if (s3 === peg$FAILED) { + s3 = null; + } + if (s3 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 58) { + s4 = peg$c1206; + peg$currPos++; + } + else { + s4 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1207); + } + } + if (s4 !== peg$FAILED) { + s5 = peg$parseWS(); + if (s5 === peg$FAILED) { + s5 = null; + } + if (s5 !== peg$FAILED) { + s6 = peg$parseAtom(); + if (s6 !== peg$FAILED) { + s7 = peg$parseWS(); + if (s7 !== peg$FAILED) { + s8 = peg$parsePropertyVal(); + if (s8 !== peg$FAILED) { + s9 = peg$parseWS(); + if (s9 !== peg$FAILED) { + if (input.substr(peg$currPos, 8) === peg$c1417) { + s10 = peg$c1417; + peg$currPos += 8; + } + else { + s10 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1418); + } + } + if (s10 !== peg$FAILED) { + s11 = peg$parseWS(); + if (s11 === peg$FAILED) { + s11 = null; + } + if (s11 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 59) { + s12 = peg$c1208; + peg$currPos++; + } + else { + s12 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1209); + } + } + if (s12 !== peg$FAILED) { + s13 = peg$parseWS(); + if (s13 === peg$FAILED) { + s13 = null; + } + if (s13 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1419(s6, s8); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + peg$silentFails--; + if (s0 === peg$FAILED) { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1413); + } + } + return s0; + } + function peg$parseStateDeclarationItem() { + var s0; + s0 = peg$parseSdStateLabel(); + if (s0 === peg$FAILED) { + s0 = peg$parseSdStateColor(); + if (s0 === peg$FAILED) { + s0 = peg$parseSdStateTextColor(); + if (s0 === peg$FAILED) { + s0 = peg$parseSdStateBackgroundColor(); + if (s0 === peg$FAILED) { + s0 = peg$parseSdStateBorderColor(); + if (s0 === peg$FAILED) { + s0 = peg$parseSdStateShape(); + if (s0 === peg$FAILED) { + s0 = peg$parseSdStateCorners(); + if (s0 === peg$FAILED) { + s0 = peg$parseSdStateLineStyle(); + if (s0 === peg$FAILED) { + s0 = peg$parseSdStateProperty(); + } + } + } + } + } + } + } + } + return s0; + } + function peg$parseStateDeclarationDesc() { + var s0, s1, s2, s3, s4, s5; + s0 = peg$currPos; + if (input.charCodeAt(peg$currPos) === 123) { + s1 = peg$c1219; + peg$currPos++; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1220); + } + } + if (s1 !== peg$FAILED) { + s2 = peg$parseWS(); + if (s2 === peg$FAILED) { + s2 = null; + } + if (s2 !== peg$FAILED) { + s3 = []; + s4 = peg$parseStateDeclarationItem(); + while (s4 !== peg$FAILED) { + s3.push(s4); + s4 = peg$parseStateDeclarationItem(); + } + if (s3 !== peg$FAILED) { + s4 = peg$parseWS(); + if (s4 === peg$FAILED) { + s4 = null; + } + if (s4 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 125) { + s5 = peg$c1221; + peg$currPos++; + } + else { + s5 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1222); + } + } + if (s5 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1223(s3); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + return s0; + } + function peg$parseStateDeclaration() { + var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11; + s0 = peg$currPos; + s1 = peg$parseWS(); + if (s1 === peg$FAILED) { + s1 = null; + } + if (s1 !== peg$FAILED) { + if (input.substr(peg$currPos, 5) === peg$c1263) { + s2 = peg$c1263; + peg$currPos += 5; + } + else { + s2 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1264); + } + } + if (s2 !== peg$FAILED) { + s3 = peg$parseWS(); + if (s3 !== peg$FAILED) { + s4 = peg$parseLabel(); + if (s4 !== peg$FAILED) { + s5 = peg$parseWS(); + if (s5 === peg$FAILED) { + s5 = null; + } + if (s5 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 58) { + s6 = peg$c1206; + peg$currPos++; + } + else { + s6 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1207); + } + } + if (s6 !== peg$FAILED) { + s7 = peg$parseWS(); + if (s7 === peg$FAILED) { + s7 = null; + } + if (s7 !== peg$FAILED) { + s8 = peg$parseStateDeclarationDesc(); + if (s8 !== peg$FAILED) { + s9 = peg$parseWS(); + if (s9 === peg$FAILED) { + s9 = null; + } + if (s9 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 59) { + s10 = peg$c1208; + peg$currPos++; + } + else { + s10 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1209); + } + } + if (s10 !== peg$FAILED) { + s11 = peg$parseWS(); + if (s11 === peg$FAILED) { + s11 = null; + } + if (s11 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1420(s4, s8); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + return s0; + } + function peg$parseNamedList() { + var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11; + s0 = peg$currPos; + s1 = peg$parseWS(); + if (s1 === peg$FAILED) { + s1 = null; + } + if (s1 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 38) { + s2 = peg$c1421; + peg$currPos++; + } + else { + s2 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1422); + } + } + if (s2 !== peg$FAILED) { + s3 = peg$parseWS(); + if (s3 === peg$FAILED) { + s3 = null; + } + if (s3 !== peg$FAILED) { + s4 = peg$parseLabel(); + if (s4 !== peg$FAILED) { + s5 = peg$parseWS(); + if (s5 === peg$FAILED) { + s5 = null; + } + if (s5 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 58) { + s6 = peg$c1206; + peg$currPos++; + } + else { + s6 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1207); + } + } + if (s6 !== peg$FAILED) { + s7 = peg$parseWS(); + if (s7 === peg$FAILED) { + s7 = null; + } + if (s7 !== peg$FAILED) { + s8 = peg$parseLabelOrLabelList(); + if (s8 !== peg$FAILED) { + s9 = peg$parseWS(); + if (s9 === peg$FAILED) { + s9 = null; + } + if (s9 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 59) { + s10 = peg$c1208; + peg$currPos++; + } + else { + s10 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1209); + } + } + if (s10 !== peg$FAILED) { + s11 = peg$parseWS(); + if (s11 === peg$FAILED) { + s11 = null; + } + if (s11 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1423(s4, s8); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + return s0; + } + function peg$parseMachineProperty() { + var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12, s13; + s0 = peg$currPos; + s1 = peg$parseWS(); + if (s1 === peg$FAILED) { + s1 = null; + } + if (s1 !== peg$FAILED) { + if (input.substr(peg$currPos, 8) === peg$c1414) { + s2 = peg$c1414; + peg$currPos += 8; + } + else { + s2 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1415); + } + } + if (s2 !== peg$FAILED) { + s3 = peg$parseWS(); + if (s3 !== peg$FAILED) { + s4 = peg$parseLabel(); + if (s4 !== peg$FAILED) { + s5 = peg$parseWS(); + if (s5 !== peg$FAILED) { + if (input.substr(peg$currPos, 7) === peg$c3) { + s6 = peg$c3; + peg$currPos += 7; + } + else { + s6 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c4); + } + } + if (s6 !== peg$FAILED) { + s7 = peg$parseWS(); + if (s7 !== peg$FAILED) { + s8 = peg$parsePropertyVal(); + if (s8 !== peg$FAILED) { + s9 = peg$parseWS(); + if (s9 !== peg$FAILED) { + if (input.substr(peg$currPos, 8) === peg$c1417) { + s10 = peg$c1417; + peg$currPos += 8; + } + else { + s10 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1418); + } + } + if (s10 !== peg$FAILED) { + s11 = peg$parseWS(); + if (s11 === peg$FAILED) { + s11 = null; + } + if (s11 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 59) { + s12 = peg$c1208; + peg$currPos++; + } + else { + s12 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1209); + } + } + if (s12 !== peg$FAILED) { + s13 = peg$parseWS(); + if (s13 === peg$FAILED) { + s13 = null; + } + if (s13 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1424(s4, s8); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + if (s0 === peg$FAILED) { + s0 = peg$currPos; + s1 = peg$parseWS(); + if (s1 === peg$FAILED) { + s1 = null; + } + if (s1 !== peg$FAILED) { + if (input.substr(peg$currPos, 8) === peg$c1414) { + s2 = peg$c1414; + peg$currPos += 8; + } + else { + s2 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1415); + } + } + if (s2 !== peg$FAILED) { + s3 = peg$parseWS(); + if (s3 !== peg$FAILED) { + s4 = peg$parseLabel(); + if (s4 !== peg$FAILED) { + s5 = peg$parseWS(); + if (s5 !== peg$FAILED) { + if (input.substr(peg$currPos, 8) === peg$c1417) { + s6 = peg$c1417; + peg$currPos += 8; + } + else { + s6 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1418); + } + } + if (s6 !== peg$FAILED) { + s7 = peg$parseWS(); + if (s7 === peg$FAILED) { + s7 = null; + } + if (s7 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 59) { + s8 = peg$c1208; + peg$currPos++; + } + else { + s8 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1209); + } + } + if (s8 !== peg$FAILED) { + s9 = peg$parseWS(); + if (s9 === peg$FAILED) { + s9 = null; + } + if (s9 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1425(s4); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + if (s0 === peg$FAILED) { + s0 = peg$currPos; + s1 = peg$parseWS(); + if (s1 === peg$FAILED) { + s1 = null; + } + if (s1 !== peg$FAILED) { + if (input.substr(peg$currPos, 8) === peg$c1414) { + s2 = peg$c1414; + peg$currPos += 8; + } + else { + s2 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1415); + } + } + if (s2 !== peg$FAILED) { + s3 = peg$parseWS(); + if (s3 !== peg$FAILED) { + s4 = peg$parseLabel(); + if (s4 !== peg$FAILED) { + s5 = peg$parseWS(); + if (s5 !== peg$FAILED) { + if (input.substr(peg$currPos, 7) === peg$c3) { + s6 = peg$c3; + peg$currPos += 7; + } + else { + s6 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c4); + } + } + if (s6 !== peg$FAILED) { + s7 = peg$parseWS(); + if (s7 !== peg$FAILED) { + s8 = peg$parsePropertyVal(); + if (s8 !== peg$FAILED) { + s9 = peg$parseWS(); + if (s9 === peg$FAILED) { + s9 = null; + } + if (s9 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 59) { + s10 = peg$c1208; + peg$currPos++; + } + else { + s10 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1209); + } + } + if (s10 !== peg$FAILED) { + s11 = peg$parseWS(); + if (s11 === peg$FAILED) { + s11 = null; + } + if (s11 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1426(s4, s8); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + if (s0 === peg$FAILED) { + s0 = peg$currPos; + s1 = peg$parseWS(); + if (s1 === peg$FAILED) { + s1 = null; + } + if (s1 !== peg$FAILED) { + if (input.substr(peg$currPos, 8) === peg$c1414) { + s2 = peg$c1414; + peg$currPos += 8; + } + else { + s2 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1415); + } + } + if (s2 !== peg$FAILED) { + s3 = peg$parseWS(); + if (s3 !== peg$FAILED) { + s4 = peg$parseLabel(); + if (s4 !== peg$FAILED) { + s5 = peg$parseWS(); + if (s5 === peg$FAILED) { + s5 = null; + } + if (s5 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 59) { + s6 = peg$c1208; + peg$currPos++; + } + else { + s6 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1209); + } + } + if (s6 !== peg$FAILED) { + s7 = peg$parseWS(); + if (s7 === peg$FAILED) { + s7 = null; + } + if (s7 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1427(s4); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + } + } + return s0; + } + function peg$parseRegularArrangeDeclaration() { + var s0, s1, s2, s3, s4, s5, s6; + s0 = peg$currPos; + if (input.substr(peg$currPos, 7) === peg$c1428) { + s1 = peg$c1428; + peg$currPos += 7; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1429); + } + } + if (s1 !== peg$FAILED) { + s2 = peg$parseWS(); + if (s2 === peg$FAILED) { + s2 = null; + } + if (s2 !== peg$FAILED) { + s3 = peg$parseLabelOrLabelList(); + if (s3 !== peg$FAILED) { + s4 = peg$parseWS(); + if (s4 === peg$FAILED) { + s4 = null; + } + if (s4 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 59) { + s5 = peg$c1208; + peg$currPos++; + } + else { + s5 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1209); + } + } + if (s5 !== peg$FAILED) { + s6 = peg$parseWS(); + if (s6 === peg$FAILED) { + s6 = null; + } + if (s6 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1430(s3); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + return s0; + } + function peg$parseArrangeStartDeclaration() { + var s0, s1, s2, s3, s4, s5, s6; + s0 = peg$currPos; + if (input.substr(peg$currPos, 13) === peg$c1431) { + s1 = peg$c1431; + peg$currPos += 13; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1432); + } + } + if (s1 !== peg$FAILED) { + s2 = peg$parseWS(); + if (s2 === peg$FAILED) { + s2 = null; + } + if (s2 !== peg$FAILED) { + s3 = peg$parseLabelOrLabelList(); + if (s3 !== peg$FAILED) { + s4 = peg$parseWS(); + if (s4 === peg$FAILED) { + s4 = null; + } + if (s4 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 59) { + s5 = peg$c1208; + peg$currPos++; + } + else { + s5 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1209); + } + } + if (s5 !== peg$FAILED) { + s6 = peg$parseWS(); + if (s6 === peg$FAILED) { + s6 = null; + } + if (s6 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1433(s3); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + return s0; + } + function peg$parseArrangeEndDeclaration() { + var s0, s1, s2, s3, s4, s5, s6; + s0 = peg$currPos; + if (input.substr(peg$currPos, 11) === peg$c1434) { + s1 = peg$c1434; + peg$currPos += 11; + } + else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1435); + } + } + if (s1 !== peg$FAILED) { + s2 = peg$parseWS(); + if (s2 === peg$FAILED) { + s2 = null; + } + if (s2 !== peg$FAILED) { + s3 = peg$parseLabelOrLabelList(); + if (s3 !== peg$FAILED) { + s4 = peg$parseWS(); + if (s4 === peg$FAILED) { + s4 = null; + } + if (s4 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 59) { + s5 = peg$c1208; + peg$currPos++; + } + else { + s5 = peg$FAILED; + if (peg$silentFails === 0) { + peg$fail(peg$c1209); + } + } + if (s5 !== peg$FAILED) { + s6 = peg$parseWS(); + if (s6 === peg$FAILED) { + s6 = null; + } + if (s6 !== peg$FAILED) { + peg$savedPos = s0; + s1 = peg$c1436(s3); + s0 = s1; + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + } + else { + peg$currPos = s0; + s0 = peg$FAILED; + } + return s0; + } + function peg$parseArrangeDeclaration() { + var s0; + peg$silentFails++; + s0 = peg$parseArrangeStartDeclaration(); + if (s0 === peg$FAILED) { + s0 = peg$parseArrangeEndDeclaration(); + if (s0 === peg$FAILED) { + s0 = peg$parseRegularArrangeDeclaration(); + } + } + peg$silentFails--; + if (s0 === peg$FAILED) { + if (peg$silentFails === 0) { + peg$fail(peg$c1437); + } + } + return s0; + } + function peg$parseTerm() { + var s0; + s0 = peg$parseExp(); + if (s0 === peg$FAILED) { + s0 = peg$parseStateDeclaration(); + if (s0 === peg$FAILED) { + s0 = peg$parseArrangeDeclaration(); + if (s0 === peg$FAILED) { + s0 = peg$parseNamedList(); + if (s0 === peg$FAILED) { + s0 = peg$parseMachineAttribute(); + if (s0 === peg$FAILED) { + s0 = peg$parseMachineProperty(); + if (s0 === peg$FAILED) { + s0 = peg$parseConfig(); + } + } + } + } + } + } + return s0; + } + function peg$parseTermList() { + var s0, s1; + s0 = []; + s1 = peg$parseTerm(); + while (s1 !== peg$FAILED) { + s0.push(s1); + s1 = peg$parseTerm(); + } + return s0; + } + peg$result = peg$startRuleFunction(); + if (peg$result !== peg$FAILED && peg$currPos === input.length) { + return peg$result; + } + else { + if (peg$result !== peg$FAILED && peg$currPos < input.length) { + peg$fail(peg$endExpectation()); + } + throw peg$buildStructuredError(peg$maxFailExpected, peg$maxFailPos < input.length ? input.charAt(peg$maxFailPos) : null, peg$maxFailPos < input.length + ? peg$computeLocation(peg$maxFailPos, peg$maxFailPos + 1) + : peg$computeLocation(peg$maxFailPos, peg$maxFailPos)); + } + } + + const array_box_if_string = n => typeof n === 'string' ? [n] : n; + // this is explicitly about other peoples' data, so it has to be weakly typed + /* eslint-disable flowtype/no-weak-types */ + const weighted_rand_select = (options, probability_property = 'probability') => { + if (!Array.isArray(options)) { + throw new TypeError('options must be a non-empty array of objects'); + } + if (!(typeof options[0] === 'object')) { + throw new TypeError('options must be a non-empty array of objects'); + } + const frand = (cap) => Math.random() * cap, or_one = (item) => item === undefined ? 1 : item, prob_sum = options.reduce((acc, val) => acc + or_one(val[probability_property]), 0), rnd = frand(prob_sum); + let cursor = 0, cursor_sum = 0; + while ((cursor_sum += or_one(options[cursor++][probability_property])) <= rnd) { } // eslint-disable-line no-empty,fp/no-loops + return options[cursor - 1]; + }; + /* eslint-enable flowtype/no-weak-types */ + /******* + * + * Returns, for a non-negative integer argument `n`, the series `[0 .. n]`. + * + * ```typescript + * import { seq } from './jssm'; + * + * seq(5); // [0, 1, 2, 3, 4] + * seq(0); // [] + * ``` + * + */ + function seq(n) { + if (!(Number.isInteger(n))) { + throw new TypeError('seq/1 takes a non-negative integer n as an argument'); + } + if (n < 0) { + throw new TypeError('seq/1 takes a non-negative integer n as an argument'); + } + return (new Array(n)) + .fill(true) + .map((_, i) => i); + } + /******* + * + * Returns the histograph of an array as a `Map`. Makes no attempt to cope + * with deep equality; will fail for complex contents, as such. + * + * ```typescript + * import { histograph } from './jssm'; + * + * histograph( [0, 0, 1, 1, 2, 2, 1] ); // Map() + * ``` + * + */ + const histograph = (ar) => // eslint-disable-line flowtype/no-weak-types + ar.sort() + .reduce((m, v) => // TODO FIXME eslint-disable-line flowtype/no-weak-types,no-sequences + (m.set(v, (m.has(v) ? m.get(v) + 1 : 1)), m), new Map()); + const weighted_sample_select = (n, options, probability_property) => // TODO FIXME no any // eslint-disable-line flowtype/no-weak-types + seq(n) + .map((_i) => // TODO FIXME eslint-disable-line flowtype/no-weak-types + weighted_rand_select(options, probability_property)); + const weighted_histo_key = (n, opts, prob_prop, extract) => // TODO FIXME no any // eslint-disable-line flowtype/no-weak-types + histograph(weighted_sample_select(n, opts, prob_prop) + .map((s) => s[extract] // TODO FIXME eslint-disable-line flowtype/no-weak-types + )); + /******* + * + * Internal method generating names for edges for the hook lookup map. Not + * meant for external use. + * + */ + function name_bind_prop_and_state(prop, state) { + if (typeof prop !== 'string') { + throw new JssmError(undefined, `Name of property must be a string; got ${prop}`); + } + if (typeof state !== 'string') { + throw new JssmError(undefined, `Name of state must be a string; got ${prop}`); + } + return JSON.stringify([prop, state]); + } + /******* + * + * Internal method generating names for edges for the hook lookup map. Not + * meant for external use. + * + */ + const hook_name = (from, to) => JSON.stringify([from, to]); + /******* + * + * Internal method generating names for actions for the hook lookup map. Not + * meant for external use. + * + */ + const named_hook_name = (from, to, action) => JSON.stringify([from, to, action]); + /******* + * + * Reduces an array to its unique contents. Compares with `===` and makes no + * effort to deep-compare contents; two matching arrays or objects contained + * will be treated as distinct, according to javascript rules. This also means + * that `NaNs` will be ***dropped***, because they do not self-compare. + * + * ```typescript + * unique( [] ); // [] + * unique( [0,0] ); // [0] + * unique( [0,1,2, 0,1,2, 0,1,2] ); // [0,1,2] + * unique( [ [1], [1] ] ); // [ [1], [1] ] because arrays don't match + * unique( [0,NaN,2] ); // [0,2] + * ``` + * + */ + const unique = (arr) => arr.filter((v, i, a) => a.indexOf(v) === i); + /******* + * + * Lists all repeated items in an array along with their counts. Subject to + * matching rules of Map. `NaN` is manually removed because of conflict rules + * around {@link unique}. Because these are compared with `===` and because + * arrays and objects never match that way unless they're the same object, + * arrays and objects are never considered repeats. + * + * ```typescript + * find_repeated([ ]); // [] + * find_repeated([ "one" ]); // [] + * find_repeated([ "one", "two" ]); // [] + * find_repeated([ "one", "one" ]); // [ ["one", 2] ] + * find_repeated([ "one", "two", "one" ]); // [ ["one", 2] ] + * find_repeated([ 0, NaN, 0, NaN ]); // [ [0, 2] ] + * ``` + * + */ + function find_repeated(arr) { + const uniqued = unique(arr); + if (uniqued.length !== arr.length) { + const residue_keys = new Map(); + arr.forEach(k => residue_keys.set(k, residue_keys.has(k) + ? (residue_keys.get(k) + 1) + : 1)); + uniqued.forEach(k => residue_keys.set(k, residue_keys.get(k) - 1)); + return [...residue_keys.entries()] + .filter((e) => ((e[1] > 0) && (!(Number.isNaN(e[0]))))) + .map((e) => [e[0], e[1] + 1]); + } + else { + return []; + } + } - const version = "5.85.8", build_time = 1663038933181; + var reductions = { + "abkhazian" : "ab", + "аҧсуа бызшәа, аҧсшәа" : "ab", + "ab" : "ab", + "abk" : "ab", + "аҧсуа бызшәа" : "ab", + "аҧсшәа" : "ab", + "afar" : "aa", + "afaraf" : "aa", + "aa" : "aa", + "aar" : "aa", + "afrikaans" : "af", + "af" : "af", + "afr" : "af", + "akan" : "ak", + "ak" : "ak", + "aka" : "ak", + "aka + 2" : "ak", + "albanian" : "sq", + "shqip" : "sq", + "sq" : "sq", + "sqi" : "sq", + "alb" : "sq", + "sqi + 4" : "sq", + "amharic" : "am", + "አማርኛ" : "am", + "am" : "am", + "amh" : "am", + "arabic" : "ar", + "العربية" : "ar", + "ar" : "ar", + "ara" : "ar", + "ara + 30" : "ar", + "aragonese" : "an", + "aragonés" : "an", + "an" : "an", + "arg" : "an", + "armenian" : "hy", + "հայերեն" : "hy", + "hy" : "hy", + "hye" : "hy", + "arm" : "hy", + "assamese" : "as", + "অসমীয়া" : "as", + "as" : "as", + "asm" : "as", + "avaric" : "av", + "авар мацӏ, магӏарул мацӏ" : "av", + "av" : "av", + "ava" : "av", + "авар мацӏ" : "av", + "магӏарул мацӏ" : "av", + "avestan" : "ae", + "avesta" : "ae", + "ae" : "ae", + "ave" : "ae", + "aymara" : "ay", + "aymar aru" : "ay", + "ay" : "ay", + "aym" : "ay", + "aym + 2" : "ay", + "azerbaijani" : "az", + "azərbaycan dili" : "az", + "az" : "az", + "aze" : "az", + "aze + 2" : "az", + "bambara" : "bm", + "bamanankan" : "bm", + "bm" : "bm", + "bam" : "bm", + "bashkir" : "ba", + "башҡорт теле" : "ba", + "ba" : "ba", + "bak" : "ba", + "basque" : "eu", + "euskara, euskera" : "eu", + "eu" : "eu", + "eus" : "eu", + "baq" : "eu", + "euskara" : "eu", + "euskera" : "eu", + "belarusian" : "be", + "беларуская мова" : "be", + "be" : "be", + "bel" : "be", + "bengali" : "bn", + "বাংলা" : "bn", + "bn" : "bn", + "ben" : "bn", + "bihari languages" : "bh", + "भोजपुरी" : "bh", + "bh" : "bh", + "bih" : "bh", + "bislama" : "bi", + "bi" : "bi", + "bis" : "bi", + "bosnian" : "bs", + "bosanski jezik" : "bs", + "bs" : "bs", + "bos" : "bs", + "breton" : "br", + "brezhoneg" : "br", + "br" : "br", + "bre" : "br", + "bulgarian" : "bg", + "български език" : "bg", + "bg" : "bg", + "bul" : "bg", + "burmese" : "my", + "ဗမာစာ" : "my", + "my" : "my", + "mya" : "my", + "bur" : "my", + "catalan, valencian" : "ca", + "català, valencià" : "ca", + "ca" : "ca", + "cat" : "ca", + "català" : "ca", + "valencià" : "ca", + "chamorro" : "ch", + "chamoru" : "ch", + "ch" : "ch", + "cha" : "ch", + "chechen" : "ce", + "нохчийн мотт" : "ce", + "ce" : "ce", + "che" : "ce", + "chichewa, chewa, nyanja" : "ny", + "chicheŵa, chinyanja" : "ny", + "ny" : "ny", + "nya" : "ny", + "chicheŵa" : "ny", + "chinyanja" : "ny", + "chinese" : "zh", + "中文 (zhōngwén), 汉语, 漢語" : "zh", + "zh" : "zh", + "zho" : "zh", + "chi" : "zh", + "zho + 13" : "zh", + "中文 (zhōngwén)" : "zh", + "汉语" : "zh", + "漢語" : "zh", + "chuvash" : "cv", + "чӑваш чӗлхи" : "cv", + "cv" : "cv", + "chv" : "cv", + "cornish" : "kw", + "kernewek" : "kw", + "kw" : "kw", + "cor" : "kw", + "corsican" : "co", + "corsu, lingua corsa" : "co", + "co" : "co", + "cos" : "co", + "corsu" : "co", + "lingua corsa" : "co", + "cree" : "cr", + "ᓀᐦᐃᔭᐍᐏᐣ" : "cr", + "cr" : "cr", + "cre" : "cr", + "cre + 6" : "cr", + "croatian" : "hr", + "hrvatski jezik" : "hr", + "hr" : "hr", + "hrv" : "hr", + "czech" : "cs", + "čeština, český jazyk" : "cs", + "cs" : "cs", + "ces" : "cs", + "cze" : "cs", + "čeština" : "cs", + "český jazyk" : "cs", + "danish" : "da", + "dansk" : "da", + "da" : "da", + "dan" : "da", + "divehi, dhivehi, maldivian" : "dv", + "ދިވެހި" : "dv", + "dv" : "dv", + "div" : "dv", + "dutch, flemish" : "nl", + "nederlands, vlaams" : "nl", + "nl" : "nl", + "nld" : "nl", + "dut" : "nl", + "nederlands" : "nl", + "vlaams" : "nl", + "dzongkha" : "dz", + "རྫོང་ཁ" : "dz", + "dz" : "dz", + "dzo" : "dz", + "english" : "en", + "en" : "en", + "eng" : "en", + "esperanto" : "eo", + "eo" : "eo", + "epo" : "eo", + "estonian" : "et", + "eesti, eesti keel" : "et", + "et" : "et", + "est" : "et", + "est + 2" : "et", + "eesti" : "et", + "eesti keel" : "et", + "ewe" : "ee", + "eʋegbe" : "ee", + "ee" : "ee", + "faroese" : "fo", + "føroyskt" : "fo", + "fo" : "fo", + "fao" : "fo", + "fijian" : "fj", + "vosa vakaviti" : "fj", + "fj" : "fj", + "fij" : "fj", + "finnish" : "fi", + "suomi, suomen kieli" : "fi", + "fi" : "fi", + "fin" : "fi", + "suomi" : "fi", + "suomen kieli" : "fi", + "french" : "fr", + "français, langue française" : "fr", + "fr" : "fr", + "fra" : "fr", + "fre" : "fr", + "français" : "fr", + "langue française" : "fr", + "fulah" : "ff", + "fulfulde, pulaar, pular" : "ff", + "ff" : "ff", + "ful" : "ff", + "ful + 9" : "ff", + "fulfulde" : "ff", + "pulaar" : "ff", + "pular" : "ff", + "galician" : "gl", + "galego" : "gl", + "gl" : "gl", + "glg" : "gl", + "georgian" : "ka", + "ქართული" : "ka", + "ka" : "ka", + "kat" : "ka", + "geo" : "ka", + "german" : "de", + "deutsch" : "de", + "de" : "de", + "deu" : "de", + "ger" : "de", + "greek (modern)" : "el", + "ελληνικά" : "el", + "el" : "el", + "ell" : "el", + "gre" : "el", + "guaraní" : "gn", + "avañe'ẽ" : "gn", + "gn" : "gn", + "grn" : "gn", + "grn + 5" : "gn", + "gujarati" : "gu", + "ગુજરાતી" : "gu", + "gu" : "gu", + "guj" : "gu", + "haitian, haitian creole" : "ht", + "kreyòl ayisyen" : "ht", + "ht" : "ht", + "hat" : "ht", + "hausa" : "ha", + "(hausa) هَوُسَ" : "ha", + "ha" : "ha", + "hau" : "ha", + "hebrew (modern)" : "he", + "עברית" : "he", + "he" : "he", + "heb" : "he", + "herero" : "hz", + "otjiherero" : "hz", + "hz" : "hz", + "her" : "hz", + "hindi" : "hi", + "हिन्दी, हिंदी" : "hi", + "hi" : "hi", + "hin" : "hi", + "हिन्दी" : "hi", + "हिंदी" : "hi", + "hiri motu" : "ho", + "ho" : "ho", + "hmo" : "ho", + "hungarian" : "hu", + "magyar" : "hu", + "hu" : "hu", + "hun" : "hu", + "interlingua" : "ia", + "ia" : "ia", + "ina" : "ia", + "indonesian" : "id", + "bahasa indonesia" : "id", + "id" : "id", + "ind" : "id", + "interlingue" : "ie", + "originally called occidental; then interlingue after wwii" : "ie", + "ie" : "ie", + "ile" : "ie", + "irish" : "ga", + "gaeilge" : "ga", + "ga" : "ga", + "gle" : "ga", + "igbo" : "ig", + "asụsụ igbo" : "ig", + "ig" : "ig", + "ibo" : "ig", + "inupiaq" : "ik", + "iñupiaq, iñupiatun" : "ik", + "ik" : "ik", + "ipk" : "ik", + "ipk + 2" : "ik", + "iñupiaq" : "ik", + "iñupiatun" : "ik", + "ido" : "io", + "io" : "io", + "icelandic" : "is", + "íslenska" : "is", + "is" : "is", + "isl" : "is", + "ice" : "is", + "italian" : "it", + "italiano" : "it", + "it" : "it", + "ita" : "it", + "inuktitut" : "iu", + "ᐃᓄᒃᑎᑐᑦ" : "iu", + "iu" : "iu", + "iku" : "iu", + "iku + 2" : "iu", + "japanese" : "ja", + "日本語 (にほんご)" : "ja", + "ja" : "ja", + "jpn" : "ja", + "javanese" : "jv", + "ꦧꦱꦗꦮ, basa jawa" : "jv", + "jv" : "jv", + "jav" : "jv", + "ꦧꦱꦗꦮ" : "jv", + "basa jawa" : "jv", + "kalaallisut, greenlandic" : "kl", + "kalaallisut, kalaallit oqaasii" : "kl", + "kl" : "kl", + "kal" : "kl", + "kalaallisut" : "kl", + "kalaallit oqaasii" : "kl", + "kannada" : "kn", + "ಕನ್ನಡ" : "kn", + "kn" : "kn", + "kan" : "kn", + "kanuri" : "kr", + "kr" : "kr", + "kau" : "kr", + "kau + 3" : "kr", + "kashmiri" : "ks", + "कश्मीरी, كشميري‎" : "ks", + "ks" : "ks", + "kas" : "ks", + "कश्मीरी" : "ks", + "كشميري‎" : "ks", + "kazakh" : "kk", + "қазақ тілі" : "kk", + "kk" : "kk", + "kaz" : "kk", + "central khmer" : "km", + "ខ្មែរ, ខេមរភាសា, ភាសាខ្មែរ" : "km", + "km" : "km", + "khm" : "km", + "ខ្មែរ" : "km", + "ខេមរភាសា" : "km", + "ភាសាខ្មែរ" : "km", + "kikuyu, gikuyu" : "ki", + "gĩkũyũ" : "ki", + "ki" : "ki", + "kik" : "ki", + "kinyarwanda" : "rw", + "ikinyarwanda" : "rw", + "rw" : "rw", + "kin" : "rw", + "kirghiz, kyrgyz" : "ky", + "кыргызча, кыргыз тили" : "ky", + "ky" : "ky", + "kir" : "ky", + "кыргызча" : "ky", + "кыргыз тили" : "ky", + "komi" : "kv", + "коми кыв" : "kv", + "kv" : "kv", + "kom" : "kv", + "kom + 2" : "kv", + "kongo" : "kg", + "kikongo" : "kg", + "kg" : "kg", + "kon" : "kg", + "kon + 3" : "kg", + "korean" : "ko", + "한국어" : "ko", + "ko" : "ko", + "kor" : "ko", + "kurdish" : "ku", + "kurdî, كوردی‎" : "ku", + "ku" : "ku", + "kur" : "ku", + "kur + 3" : "ku", + "kurdî" : "ku", + "كوردی‎" : "ku", + "kuanyama, kwanyama" : "kj", + "kuanyama" : "kj", + "kj" : "kj", + "kua" : "kj", + "latin" : "la", + "latine, lingua latina" : "la", + "la" : "la", + "lat" : "la", + "latine" : "la", + "lingua latina" : "la", + "luxembourgish, letzeburgesch" : "lb", + "lëtzebuergesch" : "lb", + "lb" : "lb", + "ltz" : "lb", + "ganda" : "lg", + "luganda" : "lg", + "lg" : "lg", + "lug" : "lg", + "limburgan, limburger, limburgish" : "li", + "limburgs" : "li", + "li" : "li", + "lim" : "li", + "lingala" : "ln", + "lingála" : "ln", + "ln" : "ln", + "lin" : "ln", + "lao" : "lo", + "ພາສາລາວ" : "lo", + "lo" : "lo", + "lithuanian" : "lt", + "lietuvių kalba" : "lt", + "lt" : "lt", + "lit" : "lt", + "luba-katanga" : "lu", + "kiluba" : "lu", + "lu" : "lu", + "lub" : "lu", + "latvian" : "lv", + "latviešu valoda" : "lv", + "lv" : "lv", + "lav" : "lv", + "lav + 2" : "lv", + "manx" : "gv", + "gaelg, gailck" : "gv", + "gv" : "gv", + "glv" : "gv", + "gaelg" : "gv", + "gailck" : "gv", + "macedonian" : "mk", + "македонски јазик" : "mk", + "mk" : "mk", + "mkd" : "mk", + "mac" : "mk", + "malagasy" : "mg", + "fiteny malagasy" : "mg", + "mg" : "mg", + "mlg" : "mg", + "mlg + 10" : "mg", + "malay" : "ms", + "bahasa melayu, بهاس ملايو‎" : "ms", + "ms" : "ms", + "msa" : "ms", + "may" : "ms", + "msa + 13" : "ms", + "bahasa melayu" : "ms", + "بهاس ملايو‎" : "ms", + "malayalam" : "ml", + "മലയാളം" : "ml", + "ml" : "ml", + "mal" : "ml", + "maltese" : "mt", + "malti" : "mt", + "mt" : "mt", + "mlt" : "mt", + "maori" : "mi", + "te reo māori" : "mi", + "mi" : "mi", + "mri" : "mi", + "mao" : "mi", + "marathi" : "mr", + "मराठी" : "mr", + "mr" : "mr", + "mar" : "mr", + "marshallese" : "mh", + "kajin m̧ajeļ" : "mh", + "mh" : "mh", + "mah" : "mh", + "mongolian" : "mn", + "монгол хэл" : "mn", + "mn" : "mn", + "mon" : "mn", + "mon + 2" : "mn", + "nauru" : "na", + "dorerin naoero" : "na", + "na" : "na", + "nau" : "na", + "navajo, navaho" : "nv", + "diné bizaad" : "nv", + "nv" : "nv", + "nav" : "nv", + "north ndebele" : "nd", + "isindebele" : "nr", + "nd" : "nd", + "nde" : "nd", + "nepali" : "ne", + "नेपाली" : "ne", + "ne" : "ne", + "nep" : "ne", + "ndonga" : "ng", + "owambo" : "ng", + "ng" : "ng", + "ndo" : "ng", + "norwegian bokmål" : "nb", + "norsk bokmål" : "nb", + "nb" : "nb", + "nob" : "nb", + "norwegian nynorsk" : "nn", + "norsk nynorsk" : "nn", + "nn" : "nn", + "nno" : "nn", + "norwegian" : "no", + "norsk" : "no", + "no" : "no", + "nor" : "no", + "nor + 2" : "no", + "sichuan yi, nuosu" : "ii", + "ꆈꌠ꒿ nuosuhxop" : "ii", + "ii" : "ii", + "iii" : "ii", + "south ndebele" : "nr", + "nr" : "nr", + "nbl" : "nr", + "occitan" : "oc", + "occitan, lenga d'òc" : "oc", + "oc" : "oc", + "oci" : "oc", + "lenga d'òc" : "oc", + "ojibwa" : "oj", + "ᐊᓂᔑᓈᐯᒧᐎᓐ" : "oj", + "oj" : "oj", + "oji" : "oj", + "oji + 7" : "oj", + "church slavic, church slavonic, old church slavonic, old slavonic, old bulgarian" : "cu", + "ѩзыкъ словѣньскъ" : "cu", + "cu" : "cu", + "chu" : "cu", + "oromo" : "om", + "afaan oromoo" : "om", + "om" : "om", + "orm" : "om", + "orm + 4" : "om", + "oriya" : "or", + "ଓଡ଼ିଆ" : "or", + "or" : "or", + "ori" : "or", + "ossetian, ossetic" : "os", + "ирон æвзаг" : "os", + "os" : "os", + "oss" : "os", + "panjabi, punjabi" : "pa", + "ਪੰਜਾਬੀ" : "pa", + "pa" : "pa", + "pan" : "pa", + "pali" : "pi", + "पाऴि" : "pi", + "pi" : "pi", + "pli" : "pi", + "persian" : "fa", + "فارسی" : "fa", + "fa" : "fa", + "fas" : "fa", + "per" : "fa", + "fas + 2" : "fa", + "polish" : "pl", + "język polski, polszczyzna" : "pl", + "pl" : "pl", + "pol" : "pl", + "język polski" : "pl", + "polszczyzna" : "pl", + "pashto, pushto" : "ps", + "پښتو" : "ps", + "ps" : "ps", + "pus" : "ps", + "pus + 3" : "ps", + "portuguese" : "pt", + "português" : "pt", + "pt" : "pt", + "por" : "pt", + "quechua" : "qu", + "runa simi, kichwa" : "qu", + "qu" : "qu", + "que" : "qu", + "que + 44" : "qu", + "runa simi" : "qu", + "kichwa" : "qu", + "romansh" : "rm", + "rumantsch grischun" : "rm", + "rm" : "rm", + "roh" : "rm", + "rundi" : "rn", + "ikirundi" : "rn", + "rn" : "rn", + "run" : "rn", + "romanian, moldavian, moldovan" : "ro", + "română" : "ro", + "ro" : "ro", + "ron" : "ro", + "rum" : "ro", + "russian" : "ru", + "русский" : "ru", + "ru" : "ru", + "rus" : "ru", + "sanskrit" : "sa", + "संस्कृतम्" : "sa", + "sa" : "sa", + "san" : "sa", + "sardinian" : "sc", + "sardu" : "sc", + "sc" : "sc", + "srd" : "sc", + "srd + 4" : "sc", + "sindhi" : "sd", + "सिन्धी, سنڌي، سندھی‎" : "sd", + "sd" : "sd", + "snd" : "sd", + "सिन्धी" : "sd", + "سنڌي، سندھی‎" : "sd", + "northern sami" : "se", + "davvisámegiella" : "se", + "se" : "se", + "sme" : "se", + "samoan" : "sm", + "gagana fa'a samoa" : "sm", + "sm" : "sm", + "smo" : "sm", + "sango" : "sg", + "yângâ tî sängö" : "sg", + "sg" : "sg", + "sag" : "sg", + "serbian" : "sr", + "српски језик" : "sr", + "sr" : "sr", + "srp" : "sr", + "gaelic, scottish gaelic" : "gd", + "gàidhlig" : "gd", + "gd" : "gd", + "gla" : "gd", + "shona" : "sn", + "chishona" : "sn", + "sn" : "sn", + "sna" : "sn", + "sinhala, sinhalese" : "si", + "සිංහල" : "si", + "si" : "si", + "sin" : "si", + "slovak" : "sk", + "slovenčina, slovenský jazyk" : "sk", + "sk" : "sk", + "slk" : "sk", + "slo" : "sk", + "slovenčina" : "sk", + "slovenský jazyk" : "sk", + "slovenian" : "sl", + "slovenski jezik, slovenščina" : "sl", + "sl" : "sl", + "slv" : "sl", + "slovenski jezik" : "sl", + "slovenščina" : "sl", + "somali" : "so", + "soomaaliga, af soomaali" : "so", + "so" : "so", + "som" : "so", + "soomaaliga" : "so", + "af soomaali" : "so", + "southern sotho" : "st", + "sesotho" : "st", + "st" : "st", + "sot" : "st", + "spanish, castilian" : "es", + "español" : "es", + "es" : "es", + "spa" : "es", + "sundanese" : "su", + "basa sunda" : "su", + "su" : "su", + "sun" : "su", + "swahili" : "sw", + "kiswahili" : "sw", + "sw" : "sw", + "swa" : "sw", + "swa + 2" : "sw", + "swati" : "ss", + "siswati" : "ss", + "ss" : "ss", + "ssw" : "ss", + "swedish" : "sv", + "svenska" : "sv", + "sv" : "sv", + "swe" : "sv", + "tamil" : "ta", + "தமிழ்" : "ta", + "ta" : "ta", + "tam" : "ta", + "telugu" : "te", + "తెలుగు" : "te", + "te" : "te", + "tel" : "te", + "tajik" : "tg", + "тоҷикӣ, toçikī, تاجیکی‎" : "tg", + "tg" : "tg", + "tgk" : "tg", + "тоҷикӣ" : "tg", + "toçikī" : "tg", + "تاجیکی‎" : "tg", + "thai" : "th", + "ไทย" : "th", + "th" : "th", + "tha" : "th", + "tigrinya" : "ti", + "ትግርኛ" : "ti", + "ti" : "ti", + "tir" : "ti", + "tibetan" : "bo", + "བོད་ཡིག" : "bo", + "bo" : "bo", + "bod" : "bo", + "tib" : "bo", + "turkmen" : "tk", + "türkmen, түркмен" : "tk", + "tk" : "tk", + "tuk" : "tk", + "türkmen" : "tk", + "түркмен" : "tk", + "tagalog" : "tl", + "wikang tagalog" : "tl", + "tl" : "tl", + "tgl" : "tl", + "tswana" : "tn", + "setswana" : "tn", + "tn" : "tn", + "tsn" : "tn", + "tonga (tonga islands)" : "to", + "faka tonga" : "to", + "to" : "to", + "ton" : "to", + "turkish" : "tr", + "türkçe" : "tr", + "tr" : "tr", + "tur" : "tr", + "tsonga" : "ts", + "xitsonga" : "ts", + "ts" : "ts", + "tso" : "ts", + "tatar" : "tt", + "татар теле, tatar tele" : "tt", + "tt" : "tt", + "tat" : "tt", + "татар теле" : "tt", + "tatar tele" : "tt", + "twi" : "tw", + "tw" : "tw", + "tahitian" : "ty", + "reo tahiti" : "ty", + "ty" : "ty", + "tah" : "ty", + "uighur, uyghur" : "ug", + "ئۇيغۇرچە‎, uyghurche" : "ug", + "ug" : "ug", + "uig" : "ug", + "ئۇيغۇرچە‎" : "ug", + "uyghurche" : "ug", + "ukrainian" : "uk", + "українська" : "uk", + "uk" : "uk", + "ukr" : "uk", + "urdu" : "ur", + "اردو" : "ur", + "ur" : "ur", + "urd" : "ur", + "uzbek" : "uz", + "oʻzbek, ўзбек, أۇزبېك‎" : "uz", + "uz" : "uz", + "uzb" : "uz", + "uzb + 2" : "uz", + "oʻzbek" : "uz", + "ўзбек" : "uz", + "أۇزبېك‎" : "uz", + "venda" : "ve", + "tshivenḓa" : "ve", + "ve" : "ve", + "ven" : "ve", + "vietnamese" : "vi", + "tiếng việt" : "vi", + "vi" : "vi", + "vie" : "vi", + "volapük" : "vo", + "vo" : "vo", + "vol" : "vo", + "walloon" : "wa", + "walon" : "wa", + "wa" : "wa", + "wln" : "wa", + "welsh" : "cy", + "cymraeg" : "cy", + "cy" : "cy", + "cym" : "cy", + "wel" : "cy", + "wolof" : "wo", + "wollof" : "wo", + "wo" : "wo", + "wol" : "wo", + "western frisian" : "fy", + "frysk" : "fy", + "fy" : "fy", + "fry" : "fy", + "xhosa" : "xh", + "isixhosa" : "xh", + "xh" : "xh", + "xho" : "xh", + "yiddish" : "yi", + "ייִדיש" : "yi", + "yi" : "yi", + "yid" : "yi", + "yid + 2" : "yi", + "yoruba" : "yo", + "yorùbá" : "yo", + "yo" : "yo", + "yor" : "yo", + "zhuang, chuang" : "za", + "saɯ cueŋƅ, saw cuengh" : "za", + "za" : "za", + "zha" : "za", + "zha + 16" : "za", + "saɯ cueŋƅ" : "za", + "saw cuengh" : "za", + "zulu" : "zu", + "isizulu" : "zu", + "zu" : "zu", + "zul" : "zu" + }; + + + + + + function reduce(from) { + return reductions[from.toLowerCase()]; + } - // whargarbl lots of these return arrays could/should be sets - const theme_mapping = new Map(); - theme_mapping.set('default', default_theme); - theme_mapping.set('modern', modern_theme); - theme_mapping.set('ocean', ocean_theme); - theme_mapping.set('plain', plain_theme); - theme_mapping.set('bold', bold_theme); - const { shapes, gviz_shapes, named_colors } = constants; - /********* - * - * Internal method meant to perform factory assembly of an edge. Not meant for - * external use. - * - * @internal - * - * @typeparam mDT The type of the machine data member; usually omitted - * - */ - // TODO add at-param to docblock - function makeTransition(this_se, from, to, isRight, _wasList, _wasIndex) { - const kind = isRight - ? arrow_right_kind(this_se.kind) - : arrow_left_kind(this_se.kind), edge = { - from, - to, - kind, - forced_only: kind === 'forced', - main_path: kind === 'main' - }; - // if ((wasList !== undefined) && (wasIndex === undefined)) { throw new JssmError(undefined, `Must have an index if transition was in a list"); } - // if ((wasIndex !== undefined) && (wasList === undefined)) { throw new JssmError(undefined, `Must be in a list if transition has an index"); } - /* - if (typeof edge.to === 'object') { - - if (edge.to.key === 'cycle') { - if (wasList === undefined) { throw new JssmError(undefined, "Must have a waslist if a to is type cycle"); } - const nextIndex = wrapBy(wasIndex, edge.to.value, wasList.length); - edge.to = wasList[nextIndex]; - } - - } - */ - const action = isRight ? 'r_action' : 'l_action', probability = isRight ? 'r_probability' : 'l_probability'; - if (this_se[action]) { - edge.action = this_se[action]; - } - if (this_se[probability]) { - edge.probability = this_se[probability]; - } - return edge; - } - /********* - * - * This method wraps the parser call that comes from the peg grammar, - * {@link parse}. Generally neither this nor that should be used directly - * unless you mean to develop plugins or extensions for the machine. - * - * Parses the intermediate representation of a compiled string down to a - * machine configuration object. If you're using this (probably don't,) you're - * probably also using {@link compile} and {@link Machine.constructor}. - * - * ```typescript - * import { parse, compile, Machine } from 'jssm'; - * - * const intermediate = wrap_parse('a -> b;', {}); - * // [ {key:'transition', from:'a', se:{kind:'->',to:'b'}} ] - * - * const cfg = compile(intermediate); - * // { start_states:['a'], transitions: [{ from:'a', to:'b', kind:'legal', forced_only:false, main_path:false }] } - * - * const machine = new Machine(cfg); - * // Machine { _instance_name: undefined, _state: 'a', ... - * ``` - * - * This method is mostly for plugin and intermediate tool authors, or people - * who need to work with the machine's intermediate representation. - * - * # Hey! - * - * Most people looking at this want either the `sm` operator or method `from`, - * which perform all the steps in the chain. The library's author mostly uses - * operator `sm`, and mostly falls back to `.from` when needing to parse - * strings dynamically instead of from template literals. - * - * Operator {@link sm}: - * - * ```typescript - * import { sm } from 'jssm'; - * - * const lswitch = sm`on <=> off;`; - * ``` - * - * Method {@link from}: - * - * ```typescript - * import * as jssm from 'jssm'; - * - * const toggle = jssm.from('up <=> down;'); - * ``` - * - * `wrap_parse` itself is an internal convenience method for alting out an - * object as the options call. Not generally meant for external use. - * - * @param input The FSL code to be evaluated - * - * @param options Things to control about the instance - * - */ - function wrap_parse(input, options) { - return peg$parse(input, options || {}); - } - /********* - * - * Internal method performing one step in compiling rules for transitions. Not - * generally meant for external use. - * - * @internal - * - * @typeparam mDT The type of the machine data member; usually omitted - * - */ - function compile_rule_transition_step(acc, from, to, this_se, next_se) { - const edges = []; - const uFrom = (Array.isArray(from) ? from : [from]), uTo = (Array.isArray(to) ? to : [to]); - uFrom.map((f) => { - uTo.map((t) => { - const right = makeTransition(this_se, f, t, true); - if (right.kind !== 'none') { - edges.push(right); - } - const left = makeTransition(this_se, t, f, false); - if (left.kind !== 'none') { - edges.push(left); - } - }); - }); - const new_acc = acc.concat(edges); - if (next_se) { - return compile_rule_transition_step(new_acc, to, next_se.to, next_se, next_se.se); - } - else { - return new_acc; - } - } - /********* - * - * Internal method performing one step in compiling rules for transitions. Not - * generally meant for external use. - * - * @internal - * - */ - function compile_rule_handle_transition(rule) { - return compile_rule_transition_step([], rule.from, rule.se.to, rule.se, rule.se.se); - } - /********* - * - * Internal method performing one step in compiling rules for transitions. Not - * generally meant for external use. - * - * @internal - * - */ - function compile_rule_handler(rule) { - if (rule.key === 'transition') { - return { agg_as: 'transition', val: compile_rule_handle_transition(rule) }; - } - if (rule.key === 'machine_language') { - return { agg_as: 'machine_language', val: reduce(rule.value) }; - } - // manually rehandled to make `undefined` as a property safe - if (rule.key === 'property_definition') { - const ret = { agg_as: 'property_definition', val: { name: rule.name } }; - if (rule.hasOwnProperty('default_value')) { - ret.val.default_value = rule.default_value; - } - if (rule.hasOwnProperty('required')) { - ret.val.required = rule.required; - } - return ret; - } - // state properties are in here - if (rule.key === 'state_declaration') { - if (!rule.name) { - throw new JssmError(undefined, 'State declarations must have a name'); - } - return { agg_as: 'state_declaration', val: { state: rule.name, declarations: rule.value } }; - } - if (['arrange_declaration', 'arrange_start_declaration', - 'arrange_end_declaration'].includes(rule.key)) { - return { agg_as: rule.key, val: [rule.value] }; - } - // things that can only exist once and are just a value under their own name - const tautologies = [ - 'graph_layout', 'start_states', 'end_states', 'machine_name', 'machine_version', - 'machine_comment', 'machine_author', 'machine_contributor', 'machine_definition', - 'machine_reference', 'machine_license', 'fsl_version', 'state_config', 'theme', - 'flow', 'dot_preamble', 'default_state_config', 'default_start_state_config', - 'default_end_state_config', 'default_hooked_state_config', - 'default_active_state_config', 'default_terminal_state_config' - ]; - if (tautologies.includes(rule.key)) { - return { agg_as: rule.key, val: rule.value }; - } - throw new JssmError(undefined, `compile_rule_handler: Unknown rule: ${JSON.stringify(rule)}`); - } - /********* - * - * Compile a machine's JSON intermediate representation to a config object. If - * you're using this (probably don't,) you're probably also using - * {@link parse} to get the IR, and the object constructor - * {@link Machine.construct} to turn the config object into a workable machine. - * - * ```typescript - * import { parse, compile, Machine } from 'jssm'; - * - * const intermediate = parse('a -> b;'); - * // [ {key:'transition', from:'a', se:{kind:'->',to:'b'}} ] - * - * const cfg = compile(intermediate); - * // { start_states:['a'], transitions: [{ from:'a', to:'b', kind:'legal', forced_only:false, main_path:false }] } - * - * const machine = new Machine(cfg); - * // Machine { _instance_name: undefined, _state: 'a', ... - * ``` - * - * This method is mostly for plugin and intermediate tool authors, or people - * who need to work with the machine's intermediate representation. - * - * # Hey! - * - * Most people looking at this want either the `sm` operator or method `from`, - * which perform all the steps in the chain. The library's author mostly uses - * operator `sm`, and mostly falls back to `.from` when needing to parse - * strings dynamically instead of from template literals. - * - * Operator {@link sm}: - * - * ```typescript - * import { sm } from 'jssm'; - * - * const lswitch = sm`on <=> off;`; - * ``` - * - * Method {@link from}: - * - * ```typescript - * import * as jssm from 'jssm'; - * - * const toggle = jssm.from('up <=> down;'); - * ``` - * - * @typeparam mDT The type of the machine data member; usually omitted - * - * @param tree The parse tree to be boiled down into a machine config - * - */ - function compile(tree) { - const results = { - graph_layout: [], - transition: [], - start_states: [], - end_states: [], - state_config: [], - state_declaration: [], - fsl_version: [], - machine_author: [], - machine_comment: [], - machine_contributor: [], - machine_definition: [], - machine_language: [], - machine_license: [], - machine_name: [], - machine_reference: [], - property_definition: [], - state_property: {}, - theme: [], - flow: [], - dot_preamble: [], - arrange_declaration: [], - arrange_start_declaration: [], - arrange_end_declaration: [], - machine_version: [], - default_state_config: [], - default_active_state_config: [], - default_hooked_state_config: [], - default_terminal_state_config: [], - default_start_state_config: [], - default_end_state_config: [], - }; - tree.map((tr) => { - const rule = compile_rule_handler(tr), agg_as = rule.agg_as, val = rule.val; // TODO FIXME no any - results[agg_as] = results[agg_as].concat(val); - }); - const property_keys = results['property_definition'].map(pd => pd.name), repeat_props = find_repeated(property_keys); - if (repeat_props.length) { - throw new JssmError(undefined, `Cannot repeat property definitions. Saw ${JSON.stringify(repeat_props)}`); - } - const assembled_transitions = [].concat(...results['transition']); - const result_cfg = { - start_states: results.start_states.length ? results.start_states : [assembled_transitions[0].from], - end_states: results.end_states, - transitions: assembled_transitions, - state_property: [], - }; - const oneOnlyKeys = [ - 'graph_layout', 'machine_name', 'machine_version', 'machine_comment', - 'fsl_version', 'machine_license', 'machine_definition', 'machine_language', - 'flow', 'dot_preamble' - ]; - oneOnlyKeys.map((oneOnlyKey) => { - if (results[oneOnlyKey].length > 1) { - throw new JssmError(undefined, `May only have one ${oneOnlyKey} statement maximum: ${JSON.stringify(results[oneOnlyKey])}`); - } - else { - if (results[oneOnlyKey].length) { - result_cfg[oneOnlyKey] = results[oneOnlyKey][0]; - } - } - }); - ['arrange_declaration', 'arrange_start_declaration', 'arrange_end_declaration', - 'machine_author', 'machine_contributor', 'machine_reference', 'theme', - 'state_declaration', 'property_definition', 'default_state_config', - 'default_start_state_config', 'default_end_state_config', - 'default_hooked_state_config', 'default_terminal_state_config', - 'default_active_state_config'].map((multiKey) => { - if (results[multiKey].length) { - result_cfg[multiKey] = results[multiKey]; - } - }); - // re-walk state declarations, already wrapped up, to get state properties, - // which go out in a different datastructure - results.state_declaration.forEach(sd => { - sd.declarations.forEach(decl => { - if (decl.key === 'state_property') { - const label = name_bind_prop_and_state(decl.name, sd.state); - if (result_cfg.state_property.findIndex(c => c.name === label) !== -1) { - throw new JssmError(undefined, `A state may only bind a property once (${sd.state} re-binds ${decl.name})`); - } - else { - result_cfg.state_property.push({ name: label, default_value: decl.value }); - } - } - }); - }); - return result_cfg; - } - /********* - * - * An internal convenience wrapper for parsing then compiling a machine string. - * Not generally meant for external use. Please see {@link compile} or - * {@link sm}. - * - * @typeparam mDT The type of the machine data member; usually omitted - * - * @param plan The FSL code to be evaluated and built into a machine config - * - */ - function make(plan) { - return compile(wrap_parse(plan)); - } - /********* - * - * An internal method meant to take a series of declarations and fold them into - * a single multi-faceted declaration, in the process of building a state. Not - * generally meant for external use. - * - * @internal - * - */ - function transfer_state_properties(state_decl) { - state_decl.declarations.map((d) => { - switch (d.key) { - case 'shape': - state_decl.shape = d.value; - break; - case 'color': - state_decl.color = d.value; - break; - case 'corners': - state_decl.corners = d.value; - break; - case 'line-style': - state_decl.lineStyle = d.value; - break; - case 'text-color': - state_decl.textColor = d.value; - break; - case 'background-color': - state_decl.backgroundColor = d.value; - break; - case 'state-label': - state_decl.stateLabel = d.value; - break; - case 'border-color': - state_decl.borderColor = d.value; - break; - case 'state_property': - state_decl.property = { name: d.name, value: d.value }; - break; - default: throw new JssmError(undefined, `Unknown state property: '${JSON.stringify(d)}'`); - } - }); - return state_decl; - } - function state_style_condense(jssk) { - const state_style = {}; - if (Array.isArray(jssk)) { - jssk.forEach((key, i) => { - if (typeof key !== 'object') { - throw new JssmError(this, `invalid state item ${i} in state_style_condense list: ${JSON.stringify(key)}`); - } - switch (key.key) { - case 'shape': - if (state_style.shape !== undefined) { - throw new JssmError(this, `cannot redefine 'shape' in state_style_condense, already defined`); - } - state_style.shape = key.value; - break; - case 'color': - if (state_style.color !== undefined) { - throw new JssmError(this, `cannot redefine 'color' in state_style_condense, already defined`); - } - state_style.color = key.value; - break; - case 'text-color': - if (state_style.textColor !== undefined) { - throw new JssmError(this, `cannot redefine 'text-color' in state_style_condense, already defined`); - } - state_style.textColor = key.value; - break; - case 'corners': - if (state_style.corners !== undefined) { - throw new JssmError(this, `cannot redefine 'corners' in state_style_condense, already defined`); - } - state_style.corners = key.value; - break; - case 'line-style': - if (state_style.lineStyle !== undefined) { - throw new JssmError(this, `cannot redefine 'line-style' in state_style_condense, already defined`); - } - state_style.lineStyle = key.value; - break; - case 'background-color': - if (state_style.backgroundColor !== undefined) { - throw new JssmError(this, `cannot redefine 'background-color' in state_style_condense, already defined`); - } - state_style.backgroundColor = key.value; - break; - case 'state-label': - if (state_style.stateLabel !== undefined) { - throw new JssmError(this, `cannot redefine 'state-label' in state_style_condense, already defined`); - } - state_style.stateLabel = key.value; - break; - case 'border-color': - if (state_style.borderColor !== undefined) { - throw new JssmError(this, `cannot redefine 'border-color' in state_style_condense, already defined`); - } - state_style.borderColor = key.value; - break; - default: - // TODO do that trick to assert this list is complete - throw new JssmError(this, `unknown state style key in condense: ${key.key}`); - } - }); - } - else if (jssk === undefined) ; - else { - throw new JssmError(this, 'state_style_condense received a non-array'); - } - return state_style; - } - // TODO add a lotta docblock here - class Machine { - // whargarbl this badly needs to be broken up, monolith master - constructor({ start_states, end_states = [], complete = [], transitions, machine_author, machine_comment, machine_contributor, machine_definition, machine_language, machine_license, machine_name, machine_version, state_declaration, property_definition, state_property, fsl_version, dot_preamble = undefined, arrange_declaration = [], arrange_start_declaration = [], arrange_end_declaration = [], theme = ['default'], flow = 'down', graph_layout = 'dot', instance_name, history, data, default_state_config, default_active_state_config, default_hooked_state_config, default_terminal_state_config, default_start_state_config, default_end_state_config }) { - this._instance_name = instance_name; - this._state = start_states[0]; - this._states = new Map(); - this._state_declarations = new Map(); - this._edges = []; - this._edge_map = new Map(); - this._named_transitions = new Map(); - this._actions = new Map(); - this._reverse_actions = new Map(); - this._reverse_action_targets = new Map(); // todo - this._start_states = new Set(start_states); - this._end_states = new Set(end_states); // todo consider what to do about incorporating complete too - this._machine_author = array_box_if_string(machine_author); - this._machine_comment = machine_comment; - this._machine_contributor = array_box_if_string(machine_contributor); - this._machine_definition = machine_definition; - this._machine_language = machine_language; - this._machine_license = machine_license; - this._machine_name = machine_name; - this._machine_version = machine_version; - this._raw_state_declaration = state_declaration || []; - this._fsl_version = fsl_version; - this._arrange_declaration = arrange_declaration; - this._arrange_start_declaration = arrange_start_declaration; - this._arrange_end_declaration = arrange_end_declaration; - this._dot_preamble = dot_preamble; - this._themes = theme; - this._flow = flow; - this._graph_layout = graph_layout; - this._has_hooks = false; - this._has_basic_hooks = false; - this._has_named_hooks = false; - this._has_entry_hooks = false; - this._has_exit_hooks = false; - this._has_global_action_hooks = false; - this._has_transition_hooks = true; - // no need for a boolean for single hooks, just test for undefinedness - this._hooks = new Map(); - this._named_hooks = new Map(); - this._entry_hooks = new Map(); - this._exit_hooks = new Map(); - this._global_action_hooks = new Map(); - this._any_action_hook = undefined; - this._standard_transition_hook = undefined; - this._main_transition_hook = undefined; - this._forced_transition_hook = undefined; - this._any_transition_hook = undefined; - this._has_post_hooks = false; - this._has_post_basic_hooks = false; - this._has_post_named_hooks = false; - this._has_post_entry_hooks = false; - this._has_post_exit_hooks = false; - this._has_post_global_action_hooks = false; - this._has_post_transition_hooks = true; - // no need for a boolean for single hooks, just test for undefinedness - this._post_hooks = new Map(); - this._post_named_hooks = new Map(); - this._post_entry_hooks = new Map(); - this._post_exit_hooks = new Map(); - this._post_global_action_hooks = new Map(); - this._post_any_action_hook = undefined; - this._post_standard_transition_hook = undefined; - this._post_main_transition_hook = undefined; - this._post_forced_transition_hook = undefined; - this._post_any_transition_hook = undefined; - this._data = data; - this._property_keys = new Set(); - this._default_properties = new Map(); - this._state_properties = new Map(); - this._required_properties = new Set(); - this._state_style = state_style_condense(default_state_config); - this._active_state_style = state_style_condense(default_active_state_config); - this._hooked_state_style = state_style_condense(default_hooked_state_config); - this._terminal_state_style = state_style_condense(default_terminal_state_config); - this._start_state_style = state_style_condense(default_start_state_config); - this._end_state_style = state_style_condense(default_end_state_config); - this._history_length = history || 0; - this._history = new circular_buffer(this._history_length); - this._state_labels = new Map(); - // consolidate the state declarations - if (state_declaration) { - state_declaration.map((state_decl) => { - if (this._state_declarations.has(state_decl.state)) { // no repeats - throw new JssmError(this, `Added the same state declaration twice: ${JSON.stringify(state_decl.state)}`); - } - this._state_declarations.set(state_decl.state, transfer_state_properties(state_decl)); - }); - } - // walk the decls for labels; aggregate them when found - [...this._state_declarations].map(sd => { - const [key, decl] = sd, labelled = decl.declarations.filter(d => d.key === 'state-label'); - if (labelled.length > 1) { - throw new JssmError(this, `state ${key} may only have one state-label; has ${labelled.length}`); - } - if (labelled.length === 1) { - this._state_labels.set(key, labelled[0].value); - } - }); - // walk the transitions - transitions.map((tr) => { - if (tr.from === undefined) { - throw new JssmError(this, `transition must define 'from': ${JSON.stringify(tr)}`); - } - if (tr.to === undefined) { - throw new JssmError(this, `transition must define 'to': ${JSON.stringify(tr)}`); - } - // get the cursors. what a mess - const cursor_from = this._states.get(tr.from) - || { name: tr.from, from: [], to: [], complete: complete.includes(tr.from) }; - if (!(this._states.has(tr.from))) { - this._new_state(cursor_from); - } - const cursor_to = this._states.get(tr.to) - || { name: tr.to, from: [], to: [], complete: complete.includes(tr.to) }; - if (!(this._states.has(tr.to))) { - this._new_state(cursor_to); - } - // guard against existing connections being re-added - if (cursor_from.to.includes(tr.to)) { - throw new JssmError(this, `already has ${JSON.stringify(tr.from)} to ${JSON.stringify(tr.to)}`); - } - else { - cursor_from.to.push(tr.to); - cursor_to.from.push(tr.from); - } - // add the edge; note its id - this._edges.push(tr); - const thisEdgeId = this._edges.length - 1; - // guard against repeating a transition name - if (tr.name) { - if (this._named_transitions.has(tr.name)) { - throw new JssmError(this, `named transition "${JSON.stringify(tr.name)}" already created`); - } - else { - this._named_transitions.set(tr.name, thisEdgeId); - } - } - // set up the mapping, so that edges can be looked up by endpoint pairs - const from_mapping = this._edge_map.get(tr.from) || new Map(); - if (!(this._edge_map.has(tr.from))) { - this._edge_map.set(tr.from, from_mapping); - } - // const to_mapping = from_mapping.get(tr.to); - from_mapping.set(tr.to, thisEdgeId); // already checked that this mapping doesn't exist, above - // set up the action mapping, so that actions can be looked up by origin - if (tr.action) { - // forward mapping first by action name - let actionMap = this._actions.get(tr.action); - if (!(actionMap)) { - actionMap = new Map(); - this._actions.set(tr.action, actionMap); - } - if (actionMap.has(tr.from)) { - throw new JssmError(this, `action ${JSON.stringify(tr.action)} already attached to origin ${JSON.stringify(tr.from)}`); - } - else { - actionMap.set(tr.from, thisEdgeId); - } - // reverse mapping first by state origin name - let rActionMap = this._reverse_actions.get(tr.from); - if (!(rActionMap)) { - rActionMap = new Map(); - this._reverse_actions.set(tr.from, rActionMap); - } - // no need to test for reverse mapping pre-presence; - // forward mapping already covers collisions - rActionMap.set(tr.action, thisEdgeId); - // reverse mapping first by state target name - if (!(this._reverse_action_targets.has(tr.to))) { - this._reverse_action_targets.set(tr.to, new Map()); - } - /* todo comeback - fundamental problem is roActionMap needs to be a multimap - const roActionMap = this._reverse_action_targets.get(tr.to); // wasteful - already did has - refactor - if (roActionMap) { - if (roActionMap.has(tr.action)) { - throw new JssmError(this, `ro-action ${tr.to} already attached to action ${tr.action}`); + /********* + * + * Internal method meant to perform factory assembly of an edge. Not meant for + * external use. + * + * @internal + * + * @typeparam mDT The type of the machine data member; usually omitted + * + */ + // TODO add at-param to docblock + function makeTransition(this_se, from, to, isRight, _wasList, _wasIndex) { + const kind = isRight + ? arrow_right_kind(this_se.kind) + : arrow_left_kind(this_se.kind), edge = { + from, + to, + kind, + forced_only: kind === 'forced', + main_path: kind === 'main' + }; + // if ((wasList !== undefined) && (wasIndex === undefined)) { throw new JssmError(undefined, `Must have an index if transition was in a list"); } + // if ((wasIndex !== undefined) && (wasList === undefined)) { throw new JssmError(undefined, `Must be in a list if transition has an index"); } + /* + if (typeof edge.to === 'object') { + + if (edge.to.key === 'cycle') { + if (wasList === undefined) { throw new JssmError(undefined, "Must have a waslist if a to is type cycle"); } + const nextIndex = wrapBy(wasIndex, edge.to.value, wasList.length); + edge.to = wasList[nextIndex]; + } + + } + */ + const action = isRight ? 'r_action' : 'l_action', probability = isRight ? 'r_probability' : 'l_probability'; + if (this_se[action]) { + edge.action = this_se[action]; + } + if (this_se[probability]) { + edge.probability = this_se[probability]; + } + return edge; + } + /********* + * + * This method wraps the parser call that comes from the peg grammar, + * {@link parse}. Generally neither this nor that should be used directly + * unless you mean to develop plugins or extensions for the machine. + * + * Parses the intermediate representation of a compiled string down to a + * machine configuration object. If you're using this (probably don't,) you're + * probably also using {@link compile} and {@link Machine.constructor}. + * + * ```typescript + * import { parse, compile, Machine } from 'jssm'; + * + * const intermediate = wrap_parse('a -> b;', {}); + * // [ {key:'transition', from:'a', se:{kind:'->',to:'b'}} ] + * + * const cfg = compile(intermediate); + * // { start_states:['a'], transitions: [{ from:'a', to:'b', kind:'legal', forced_only:false, main_path:false }] } + * + * const machine = new Machine(cfg); + * // Machine { _instance_name: undefined, _state: 'a', ... + * ``` + * + * This method is mostly for plugin and intermediate tool authors, or people + * who need to work with the machine's intermediate representation. + * + * # Hey! + * + * Most people looking at this want either the `sm` operator or method `from`, + * which perform all the steps in the chain. The library's author mostly uses + * operator `sm`, and mostly falls back to `.from` when needing to parse + * strings dynamically instead of from template literals. + * + * Operator {@link sm}: + * + * ```typescript + * import { sm } from 'jssm'; + * + * const lswitch = sm`on <=> off;`; + * ``` + * + * Method {@link from}: + * + * ```typescript + * import * as jssm from 'jssm'; + * + * const toggle = jssm.from('up <=> down;'); + * ``` + * + * `wrap_parse` itself is an internal convenience method for alting out an + * object as the options call. Not generally meant for external use. + * + * @param input The FSL code to be evaluated + * + * @param options Things to control about the instance + * + */ + function wrap_parse(input, options) { + return peg$parse(input, options || {}); + } + /********* + * + * Internal method performing one step in compiling rules for transitions. Not + * generally meant for external use. + * + * @internal + * + * @typeparam mDT The type of the machine data member; usually omitted + * + */ + function compile_rule_transition_step(acc, from, to, this_se, next_se) { + const edges = []; + const uFrom = (Array.isArray(from) ? from : [from]), uTo = (Array.isArray(to) ? to : [to]); + uFrom.map((f) => { + uTo.map((t) => { + const right = makeTransition(this_se, f, t, true); + if (right.kind !== 'none') { + edges.push(right); + } + const left = makeTransition(this_se, t, f, false); + if (left.kind !== 'none') { + edges.push(left); + } + }); + }); + const new_acc = acc.concat(edges); + if (next_se) { + return compile_rule_transition_step(new_acc, to, next_se.to, next_se, next_se.se); + } + else { + return new_acc; + } + } + /********* + * + * Internal method performing one step in compiling rules for transitions. Not + * generally meant for external use. + * + * @internal + * + */ + function compile_rule_handle_transition(rule) { + return compile_rule_transition_step([], rule.from, rule.se.to, rule.se, rule.se.se); + } + /********* + * + * Internal method performing one step in compiling rules for transitions. Not + * generally meant for external use. + * + * @internal + * + */ + function compile_rule_handler(rule) { + if (rule.key === 'transition') { + return { agg_as: 'transition', val: compile_rule_handle_transition(rule) }; + } + if (rule.key === 'machine_language') { + return { agg_as: 'machine_language', val: reduce(rule.value) }; + } + // manually rehandled to make `undefined` as a property safe + if (rule.key === 'property_definition') { + const ret = { agg_as: 'property_definition', val: { name: rule.name } }; + if (rule.hasOwnProperty('default_value')) { + ret.val.default_value = rule.default_value; + } + if (rule.hasOwnProperty('required')) { + ret.val.required = rule.required; + } + return ret; + } + // state properties are in here + if (rule.key === 'state_declaration') { + if (!rule.name) { + throw new JssmError(undefined, 'State declarations must have a name'); + } + return { agg_as: 'state_declaration', val: { state: rule.name, declarations: rule.value } }; + } + if (['arrange_declaration', 'arrange_start_declaration', + 'arrange_end_declaration'].includes(rule.key)) { + return { agg_as: rule.key, val: [rule.value] }; + } + // things that can only exist once and are just a value under their own name + const tautologies = [ + 'graph_layout', 'start_states', 'end_states', 'machine_name', 'machine_version', + 'machine_comment', 'machine_author', 'machine_contributor', 'machine_definition', + 'machine_reference', 'machine_license', 'fsl_version', 'state_config', 'theme', + 'flow', 'dot_preamble', 'default_state_config', 'default_start_state_config', + 'default_end_state_config', 'default_hooked_state_config', + 'default_active_state_config', 'default_terminal_state_config' + ]; + if (tautologies.includes(rule.key)) { + return { agg_as: rule.key, val: rule.value }; + } + throw new JssmError(undefined, `compile_rule_handler: Unknown rule: ${JSON.stringify(rule)}`); + } + /********* + * + * Compile a machine's JSON intermediate representation to a config object. If + * you're using this (probably don't,) you're probably also using + * {@link parse} to get the IR, and the object constructor + * {@link Machine.construct} to turn the config object into a workable machine. + * + * ```typescript + * import { parse, compile, Machine } from 'jssm'; + * + * const intermediate = parse('a -> b;'); + * // [ {key:'transition', from:'a', se:{kind:'->',to:'b'}} ] + * + * const cfg = compile(intermediate); + * // { start_states:['a'], transitions: [{ from:'a', to:'b', kind:'legal', forced_only:false, main_path:false }] } + * + * const machine = new Machine(cfg); + * // Machine { _instance_name: undefined, _state: 'a', ... + * ``` + * + * This method is mostly for plugin and intermediate tool authors, or people + * who need to work with the machine's intermediate representation. + * + * # Hey! + * + * Most people looking at this want either the `sm` operator or method `from`, + * which perform all the steps in the chain. The library's author mostly uses + * operator `sm`, and mostly falls back to `.from` when needing to parse + * strings dynamically instead of from template literals. + * + * Operator {@link sm}: + * + * ```typescript + * import { sm } from 'jssm'; + * + * const lswitch = sm`on <=> off;`; + * ``` + * + * Method {@link from}: + * + * ```typescript + * import * as jssm from 'jssm'; + * + * const toggle = jssm.from('up <=> down;'); + * ``` + * + * @typeparam mDT The type of the machine data member; usually omitted + * + * @param tree The parse tree to be boiled down into a machine config + * + */ + function compile(tree) { + const results = { + graph_layout: [], + transition: [], + start_states: [], + end_states: [], + state_config: [], + state_declaration: [], + fsl_version: [], + machine_author: [], + machine_comment: [], + machine_contributor: [], + machine_definition: [], + machine_language: [], + machine_license: [], + machine_name: [], + machine_reference: [], + property_definition: [], + state_property: {}, + theme: [], + flow: [], + dot_preamble: [], + arrange_declaration: [], + arrange_start_declaration: [], + arrange_end_declaration: [], + machine_version: [], + default_state_config: [], + default_active_state_config: [], + default_hooked_state_config: [], + default_terminal_state_config: [], + default_start_state_config: [], + default_end_state_config: [], + }; + tree.map((tr) => { + const rule = compile_rule_handler(tr), agg_as = rule.agg_as, val = rule.val; // TODO FIXME no any + results[agg_as] = results[agg_as].concat(val); + }); + const property_keys = results['property_definition'].map(pd => pd.name), repeat_props = find_repeated(property_keys); + if (repeat_props.length) { + throw new JssmError(undefined, `Cannot repeat property definitions. Saw ${JSON.stringify(repeat_props)}`); + } + const assembled_transitions = [].concat(...results['transition']); + const result_cfg = { + start_states: results.start_states.length ? results.start_states : [assembled_transitions[0].from], + end_states: results.end_states, + transitions: assembled_transitions, + state_property: [], + }; + const oneOnlyKeys = [ + 'graph_layout', 'machine_name', 'machine_version', 'machine_comment', + 'fsl_version', 'machine_license', 'machine_definition', 'machine_language', + 'flow', 'dot_preamble' + ]; + oneOnlyKeys.map((oneOnlyKey) => { + if (results[oneOnlyKey].length > 1) { + throw new JssmError(undefined, `May only have one ${oneOnlyKey} statement maximum: ${JSON.stringify(results[oneOnlyKey])}`); + } + else { + if (results[oneOnlyKey].length) { + result_cfg[oneOnlyKey] = results[oneOnlyKey][0]; + } + } + }); + ['arrange_declaration', 'arrange_start_declaration', 'arrange_end_declaration', + 'machine_author', 'machine_contributor', 'machine_reference', 'theme', + 'state_declaration', 'property_definition', 'default_state_config', + 'default_start_state_config', 'default_end_state_config', + 'default_hooked_state_config', 'default_terminal_state_config', + 'default_active_state_config'].map((multiKey) => { + if (results[multiKey].length) { + result_cfg[multiKey] = results[multiKey]; + } + }); + // re-walk state declarations, already wrapped up, to get state properties, + // which go out in a different datastructure + results.state_declaration.forEach(sd => { + sd.declarations.forEach(decl => { + if (decl.key === 'state_property') { + const label = name_bind_prop_and_state(decl.name, sd.state); + if (result_cfg.state_property.findIndex(c => c.name === label) !== -1) { + throw new JssmError(undefined, `A state may only bind a property once (${sd.state} re-binds ${decl.name})`); + } + else { + result_cfg.state_property.push({ name: label, default_value: decl.value }); + } + } + }); + }); + return result_cfg; + } + /********* + * + * An internal convenience wrapper for parsing then compiling a machine string. + * Not generally meant for external use. Please see {@link compile} or + * {@link sm}. + * + * @typeparam mDT The type of the machine data member; usually omitted + * + * @param plan The FSL code to be evaluated and built into a machine config + * + */ + function make(plan) { + return compile(wrap_parse(plan)); + } + + const base_state_style$5 = { + shape: 'rectangle', + backgroundColor: 'white', + textColor: 'black', + borderColor: 'black' + }; + const base_active_state_style$5 = { + textColor: 'white', + backgroundColor: 'dodgerblue4' + }; + const base_hooked_state_style$5 = { + shape: 'component' + }; + const base_terminal_state_style$5 = { + textColor: 'white', + backgroundColor: 'crimson' + }; + const base_active_terminal_state_style$5 = { + textColor: 'white', + backgroundColor: 'indigo' + }; + const base_start_state_style$5 = { + backgroundColor: 'yellow' + }; + const base_active_start_state_style$5 = { + backgroundColor: 'yellowgreen' + }; + const base_active_hooked_state_style$5 = { + backgroundColor: 'yellowgreen' + }; + const base_end_state_style$5 = { + textColor: 'white', + backgroundColor: 'darkolivegreen' + }; + const base_active_end_state_style$5 = { + textColor: 'white', + backgroundColor: 'darkgreen' + }; + const base_theme = { + name: 'base', + state: base_state_style$5, + start: base_start_state_style$5, + end: base_end_state_style$5, + terminal: base_terminal_state_style$5, + hooked: base_hooked_state_style$5, + active: base_active_state_style$5, + active_start: base_active_start_state_style$5, + active_end: base_active_end_state_style$5, + active_terminal: base_active_terminal_state_style$5, + active_hooked: base_active_hooked_state_style$5, + legal: undefined, + main: undefined, + forced: undefined, + action: undefined, + graph: undefined, + title: undefined // TODO FIXME + }; + + const base_state_style$4 = { + shape: 'rectangle', + backgroundColor: 'white', + textColor: 'black', + borderColor: 'black' + }; + const base_active_state_style$4 = { + textColor: 'white', + backgroundColor: 'dodgerblue4' + }; + const base_hooked_state_style$4 = { + shape: 'component' + }; + const base_terminal_state_style$4 = { + textColor: 'white', + backgroundColor: 'crimson' + }; + const base_active_terminal_state_style$4 = { + textColor: 'white', + backgroundColor: 'indigo' + }; + const base_start_state_style$4 = { + backgroundColor: 'yellow' + }; + const base_active_start_state_style$4 = { + backgroundColor: 'yellowgreen' + }; + const base_active_hooked_state_style$4 = { + backgroundColor: 'yellowgreen' + }; + const base_end_state_style$4 = { + textColor: 'white', + backgroundColor: 'darkolivegreen' + }; + const base_active_end_state_style$4 = { + textColor: 'white', + backgroundColor: 'darkgreen' + }; + const default_theme = { + name: 'default', + state: base_state_style$4, + start: base_start_state_style$4, + end: base_end_state_style$4, + terminal: base_terminal_state_style$4, + hooked: base_hooked_state_style$4, + active: base_active_state_style$4, + active_start: base_active_start_state_style$4, + active_end: base_active_end_state_style$4, + active_terminal: base_active_terminal_state_style$4, + active_hooked: base_active_hooked_state_style$4, + legal: undefined, + main: undefined, + forced: undefined, + action: undefined, + graph: undefined, + title: undefined // TODO FIXME + }; + + const base_state_style$3 = { + shape: 'rectangle', + backgroundColor: 'khaki', + textColor: 'black', + borderColor: 'black' + }; + const base_active_state_style$3 = { + textColor: 'white', + backgroundColor: 'dodgerblue4' + }; + const base_hooked_state_style$3 = { + shape: 'component' + }; + const base_terminal_state_style$3 = { + textColor: 'white', + backgroundColor: 'crimson' + }; + const base_active_terminal_state_style$3 = { + textColor: 'white', + backgroundColor: 'indigo' + }; + const base_start_state_style$3 = { + backgroundColor: 'yellow' + }; + const base_active_start_state_style$3 = { + backgroundColor: 'yellowgreen' + }; + const base_active_hooked_state_style$3 = { + backgroundColor: 'yellowgreen' + }; + const base_end_state_style$3 = { + textColor: 'white', + backgroundColor: 'darkolivegreen' + }; + const base_active_end_state_style$3 = { + textColor: 'white', + backgroundColor: 'darkgreen' + }; + const modern_theme = { + name: 'modern', + state: base_state_style$3, + start: base_start_state_style$3, + end: base_end_state_style$3, + terminal: base_terminal_state_style$3, + hooked: base_hooked_state_style$3, + active: base_active_state_style$3, + active_start: base_active_start_state_style$3, + active_end: base_active_end_state_style$3, + active_terminal: base_active_terminal_state_style$3, + active_hooked: base_active_hooked_state_style$3, + legal: undefined, + main: undefined, + forced: undefined, + action: undefined, + graph: undefined, + title: undefined // TODO FIXME + }; + + const base_state_style$2 = { + backgroundColor: 'cadetblue1', + }; + const base_active_state_style$2 = { + textColor: 'white', + backgroundColor: 'deepskyblue' + }; + const base_hooked_state_style$2 = { + shape: 'component', + backgroundColor: 'mediumaquamarine' + }; + const base_terminal_state_style$2 = { + textColor: 'white', + backgroundColor: 'darkviolet' + }; + const base_active_terminal_state_style$2 = { + textColor: 'white', + backgroundColor: 'deeppink' + }; + const base_start_state_style$2 = { + backgroundColor: 'darkseagreen1' + }; + const base_active_start_state_style$2 = { + backgroundColor: 'aquamarine' + }; + const base_active_hooked_state_style$2 = { + backgroundColor: 'aquamarine' + }; + const base_end_state_style$2 = { + textColor: 'white', + backgroundColor: 'chartreuse1' + }; + const base_active_end_state_style$2 = { + textColor: 'white', + backgroundColor: 'darkgreen' + }; + const ocean_theme = { + name: 'ocean', + state: base_state_style$2, + start: base_start_state_style$2, + end: base_end_state_style$2, + terminal: base_terminal_state_style$2, + hooked: base_hooked_state_style$2, + active: base_active_state_style$2, + active_start: base_active_start_state_style$2, + active_end: base_active_end_state_style$2, + active_terminal: base_active_terminal_state_style$2, + active_hooked: base_active_hooked_state_style$2, + legal: undefined, + main: undefined, + forced: undefined, + action: undefined, + graph: undefined, + title: undefined // TODO FIXME + }; + + const base_state_style$1 = { + textColor: 'black', + backgroundColor: 'transparent', + shape: 'plaintext' + }; + const base_active_state_style$1 = { + textColor: 'black', + backgroundColor: 'transparent', + shape: 'plaintext' + }; + const base_hooked_state_style$1 = { + textColor: 'black', + backgroundColor: 'transparent', + shape: 'plaintext' + }; + const base_terminal_state_style$1 = { + textColor: 'black', + backgroundColor: 'transparent', + shape: 'plaintext' + }; + const base_active_terminal_state_style$1 = { + textColor: 'black', + backgroundColor: 'transparent', + shape: 'plaintext' + }; + const base_start_state_style$1 = { + textColor: 'black', + backgroundColor: 'transparent', + shape: 'plaintext' + }; + const base_active_start_state_style$1 = { + textColor: 'black', + backgroundColor: 'transparent', + shape: 'plaintext' + }; + const base_active_hooked_state_style$1 = { + textColor: 'black', + backgroundColor: 'transparent', + shape: 'plaintext' + }; + const base_end_state_style$1 = { + textColor: 'black', + backgroundColor: 'transparent', + shape: 'plaintext' + }; + const base_active_end_state_style$1 = { + textColor: 'black', + backgroundColor: 'transparent', + shape: 'plaintext' + }; + const plain_theme = { + name: 'plain', + state: base_state_style$1, + start: base_start_state_style$1, + end: base_end_state_style$1, + terminal: base_terminal_state_style$1, + hooked: base_hooked_state_style$1, + active: base_active_state_style$1, + active_start: base_active_start_state_style$1, + active_end: base_active_end_state_style$1, + active_terminal: base_active_terminal_state_style$1, + active_hooked: base_active_hooked_state_style$1, + legal: undefined, + main: undefined, + forced: undefined, + action: undefined, + graph: undefined, + title: undefined // TODO FIXME + }; + + const base_state_style = { + shape: 'rectangle', + backgroundColor: 'khaki', + textColor: 'black', + borderColor: 'black' + }; + const base_active_state_style = { + textColor: 'white', + backgroundColor: 'dodgerblue4' + }; + const base_hooked_state_style = { + shape: 'component' + }; + const base_terminal_state_style = { + textColor: 'white', + backgroundColor: 'crimson' + }; + const base_active_terminal_state_style = { + textColor: 'white', + backgroundColor: 'indigo' + }; + const base_start_state_style = { + backgroundColor: 'yellow' + }; + const base_active_start_state_style = { + backgroundColor: 'yellowgreen' + }; + const base_active_hooked_state_style = { + backgroundColor: 'yellowgreen' + }; + const base_end_state_style = { + textColor: 'white', + backgroundColor: 'darkolivegreen' + }; + const base_active_end_state_style = { + textColor: 'white', + backgroundColor: 'darkgreen' + }; + const bold_theme = { + name: 'bold', + state: base_state_style, + start: base_start_state_style, + end: base_end_state_style, + terminal: base_terminal_state_style, + hooked: base_hooked_state_style, + active: base_active_state_style, + active_start: base_active_start_state_style, + active_end: base_active_end_state_style, + active_terminal: base_active_terminal_state_style, + active_hooked: base_active_hooked_state_style, + legal: undefined, + main: undefined, + forced: undefined, + action: undefined, + graph: undefined, + title: undefined // TODO FIXME + }; + + const NegInfinity = Number.NEGATIVE_INFINITY, PosInfinity = Number.POSITIVE_INFINITY, Epsilon = Number.EPSILON, Pi = Math.PI, E = Math.E, Root2 = Math.SQRT2, RootHalf = Math.SQRT1_2, Ln2 = Math.LN2, Ln10 = Math.LN10, Log2E = Math.LOG2E, Log10E = Math.LOG10E, MaxSafeInt = Number.MAX_SAFE_INTEGER, MinSafeInt = Number.MIN_SAFE_INTEGER, MaxPosNum = Number.MAX_VALUE, MinPosNum = Number.MIN_VALUE, Phi = 1.61803398874989484820, EulerC = 0.57721566490153286060; + const gviz_shapes$1 = [ + "box3d", + "polygon", + "ellipse", + "oval", + "circle", + "point", + "egg", + "triangle", + "plaintext", + "plain", + "diamond", + "trapezium", + "parallelogram", + "house", + "pentagon", + "hexagon", + "septagon", + "octagon", + "doublecircle", + "doubleoctagon", + "tripleoctagon", + "invtriangle", + "invtrapezium", + "invhouse", + "Mdiamond", + "Msquare", + "Mcircle", + "rectangle", + "rect", + "square", + "star", + "none", + "underline", + "cylinder", + "note", + "tab", + "folder", + "box", + "component", + "promoter", + "cds", + "terminator", + "utr", + "primersite", + "restrictionsite", + "fivepoverhang", + "threepoverhang", + "noverhang", + "assembly", + "signature", + "insulator", + "ribosite", + "rnastab", + "proteasesite", + "proteinstab", + "rpromoter", + "rarrow", + "larrow", + "lpromoter", + "record" + ]; + const shapes$1 = gviz_shapes$1; + const named_colors$1 = [ + "AliceBlue", "AntiqueWhite", "Aqua", "Aquamarine", "Azure", "Beige", + "Bisque", "Black", "BlanchedAlmond", "Blue", "BlueViolet", "Brown", + "BurlyWood", "CadetBlue", "Chartreuse", "Chocolate", "Coral", + "CornflowerBlue", "Cornsilk", "Crimson", "Cyan", "DarkBlue", "DarkCyan", + "DarkGoldenRod", "DarkGray", "DarkGrey", "DarkGreen", "DarkKhaki", + "DarkMagenta", "DarkOliveGreen", "Darkorange", "DarkOrchid", "DarkRed", + "DarkSalmon", "DarkSeaGreen", "DarkSlateBlue", "DarkSlateGray", + "DarkSlateGrey", "DarkTurquoise", "DarkViolet", "DeepPink", "DeepSkyBlue", + "DimGray", "DimGrey", "DodgerBlue", "FireBrick", "FloralWhite", "ForestGreen", + "Fuchsia", "Gainsboro", "GhostWhite", "Gold", "GoldenRod", "Gray", "Grey", + "Green", "GreenYellow", "HoneyDew", "HotPink", "IndianRed", "Indigo", "Ivory", + "Khaki", "Lavender", "LavenderBlush", "LawnGreen", "LemonChiffon", + "LightBlue", "LightCoral", "LightCyan", "LightGoldenRodYellow", "LightGray", + "LightGrey", "LightGreen", "LightPink", "LightSalmon", "LightSeaGreen", + "LightSkyBlue", "LightSlateGray", "LightSlateGrey", "LightSteelBlue", + "LightYellow", "Lime", "LimeGreen", "Linen", "Magenta", "Maroon", + "MediumAquaMarine", "MediumBlue", "MediumOrchid", "MediumPurple", + "MediumSeaGreen", "MediumSlateBlue", "MediumSpringGreen", "MediumTurquoise", + "MediumVioletRed", "MidnightBlue", "MintCream", "MistyRose", "Moccasin", + "NavajoWhite", "Navy", "OldLace", "Olive", "OliveDrab", "Orange", "OrangeRed", + "Orchid", "PaleGoldenRod", "PaleGreen", "PaleTurquoise", "PaleVioletRed", + "PapayaWhip", "PeachPuff", "Peru", "Pink", "Plum", "PowderBlue", "Purple", + "Red", "RosyBrown", "RoyalBlue", "SaddleBrown", "Salmon", "SandyBrown", + "SeaGreen", "SeaShell", "Sienna", "Silver", "SkyBlue", "SlateBlue", + "SlateGray", "SlateGrey", "Snow", "SpringGreen", "SteelBlue", "Tan", "Teal", + "Thistle", "Tomato", "Turquoise", "Violet", "Wheat", "White", "WhiteSmoke", + "Yellow", "YellowGreen" + ]; + + var constants = /*#__PURE__*/Object.freeze({ + __proto__: null, + NegInfinity: NegInfinity, + PosInfinity: PosInfinity, + Epsilon: Epsilon, + Pi: Pi, + E: E, + Root2: Root2, + RootHalf: RootHalf, + Ln2: Ln2, + Ln10: Ln10, + Log2E: Log2E, + Log10E: Log10E, + MaxSafeInt: MaxSafeInt, + MinSafeInt: MinSafeInt, + MaxPosNum: MaxPosNum, + MinPosNum: MinPosNum, + Phi: Phi, + EulerC: EulerC, + gviz_shapes: gviz_shapes$1, + shapes: shapes$1, + named_colors: named_colors$1 + }); + + const version = "5.85.9", build_time = 1663041756792; + + // whargarbl lots of these return arrays could/should be sets + const theme_mapping = new Map(); + theme_mapping.set('default', default_theme); + theme_mapping.set('modern', modern_theme); + theme_mapping.set('ocean', ocean_theme); + theme_mapping.set('plain', plain_theme); + theme_mapping.set('bold', bold_theme); + const { shapes, gviz_shapes, named_colors } = constants; + /********* + * + * An internal method meant to take a series of declarations and fold them into + * a single multi-faceted declaration, in the process of building a state. Not + * generally meant for external use. + * + * @internal + * + */ + function transfer_state_properties(state_decl) { + state_decl.declarations.map((d) => { + switch (d.key) { + case 'shape': + state_decl.shape = d.value; + break; + case 'color': + state_decl.color = d.value; + break; + case 'corners': + state_decl.corners = d.value; + break; + case 'line-style': + state_decl.lineStyle = d.value; + break; + case 'text-color': + state_decl.textColor = d.value; + break; + case 'background-color': + state_decl.backgroundColor = d.value; + break; + case 'state-label': + state_decl.stateLabel = d.value; + break; + case 'border-color': + state_decl.borderColor = d.value; + break; + case 'state_property': + state_decl.property = { name: d.name, value: d.value }; + break; + default: throw new JssmError(undefined, `Unknown state property: '${JSON.stringify(d)}'`); + } + }); + return state_decl; + } + function state_style_condense(jssk) { + const state_style = {}; + if (Array.isArray(jssk)) { + jssk.forEach((key, i) => { + if (typeof key !== 'object') { + throw new JssmError(this, `invalid state item ${i} in state_style_condense list: ${JSON.stringify(key)}`); + } + switch (key.key) { + case 'shape': + if (state_style.shape !== undefined) { + throw new JssmError(this, `cannot redefine 'shape' in state_style_condense, already defined`); + } + state_style.shape = key.value; + break; + case 'color': + if (state_style.color !== undefined) { + throw new JssmError(this, `cannot redefine 'color' in state_style_condense, already defined`); + } + state_style.color = key.value; + break; + case 'text-color': + if (state_style.textColor !== undefined) { + throw new JssmError(this, `cannot redefine 'text-color' in state_style_condense, already defined`); + } + state_style.textColor = key.value; + break; + case 'corners': + if (state_style.corners !== undefined) { + throw new JssmError(this, `cannot redefine 'corners' in state_style_condense, already defined`); + } + state_style.corners = key.value; + break; + case 'line-style': + if (state_style.lineStyle !== undefined) { + throw new JssmError(this, `cannot redefine 'line-style' in state_style_condense, already defined`); + } + state_style.lineStyle = key.value; + break; + case 'background-color': + if (state_style.backgroundColor !== undefined) { + throw new JssmError(this, `cannot redefine 'background-color' in state_style_condense, already defined`); + } + state_style.backgroundColor = key.value; + break; + case 'state-label': + if (state_style.stateLabel !== undefined) { + throw new JssmError(this, `cannot redefine 'state-label' in state_style_condense, already defined`); + } + state_style.stateLabel = key.value; + break; + case 'border-color': + if (state_style.borderColor !== undefined) { + throw new JssmError(this, `cannot redefine 'border-color' in state_style_condense, already defined`); + } + state_style.borderColor = key.value; + break; + default: + // TODO do that trick to assert this list is complete + throw new JssmError(this, `unknown state style key in condense: ${key.key}`); + } + }); + } + else if (jssk === undefined) ; + else { + throw new JssmError(this, 'state_style_condense received a non-array'); + } + return state_style; + } + // TODO add a lotta docblock here + class Machine { + // whargarbl this badly needs to be broken up, monolith master + constructor({ start_states, end_states = [], complete = [], transitions, machine_author, machine_comment, machine_contributor, machine_definition, machine_language, machine_license, machine_name, machine_version, state_declaration, property_definition, state_property, fsl_version, dot_preamble = undefined, arrange_declaration = [], arrange_start_declaration = [], arrange_end_declaration = [], theme = ['default'], flow = 'down', graph_layout = 'dot', instance_name, history, data, default_state_config, default_active_state_config, default_hooked_state_config, default_terminal_state_config, default_start_state_config, default_end_state_config }) { + this._instance_name = instance_name; + this._state = start_states[0]; + this._states = new Map(); + this._state_declarations = new Map(); + this._edges = []; + this._edge_map = new Map(); + this._named_transitions = new Map(); + this._actions = new Map(); + this._reverse_actions = new Map(); + this._reverse_action_targets = new Map(); // todo + this._start_states = new Set(start_states); + this._end_states = new Set(end_states); // todo consider what to do about incorporating complete too + this._machine_author = array_box_if_string(machine_author); + this._machine_comment = machine_comment; + this._machine_contributor = array_box_if_string(machine_contributor); + this._machine_definition = machine_definition; + this._machine_language = machine_language; + this._machine_license = machine_license; + this._machine_name = machine_name; + this._machine_version = machine_version; + this._raw_state_declaration = state_declaration || []; + this._fsl_version = fsl_version; + this._arrange_declaration = arrange_declaration; + this._arrange_start_declaration = arrange_start_declaration; + this._arrange_end_declaration = arrange_end_declaration; + this._dot_preamble = dot_preamble; + this._themes = theme; + this._flow = flow; + this._graph_layout = graph_layout; + this._has_hooks = false; + this._has_basic_hooks = false; + this._has_named_hooks = false; + this._has_entry_hooks = false; + this._has_exit_hooks = false; + this._has_global_action_hooks = false; + this._has_transition_hooks = true; + // no need for a boolean for single hooks, just test for undefinedness + this._hooks = new Map(); + this._named_hooks = new Map(); + this._entry_hooks = new Map(); + this._exit_hooks = new Map(); + this._global_action_hooks = new Map(); + this._any_action_hook = undefined; + this._standard_transition_hook = undefined; + this._main_transition_hook = undefined; + this._forced_transition_hook = undefined; + this._any_transition_hook = undefined; + this._has_post_hooks = false; + this._has_post_basic_hooks = false; + this._has_post_named_hooks = false; + this._has_post_entry_hooks = false; + this._has_post_exit_hooks = false; + this._has_post_global_action_hooks = false; + this._has_post_transition_hooks = true; + // no need for a boolean for single hooks, just test for undefinedness + this._post_hooks = new Map(); + this._post_named_hooks = new Map(); + this._post_entry_hooks = new Map(); + this._post_exit_hooks = new Map(); + this._post_global_action_hooks = new Map(); + this._post_any_action_hook = undefined; + this._post_standard_transition_hook = undefined; + this._post_main_transition_hook = undefined; + this._post_forced_transition_hook = undefined; + this._post_any_transition_hook = undefined; + this._data = data; + this._property_keys = new Set(); + this._default_properties = new Map(); + this._state_properties = new Map(); + this._required_properties = new Set(); + this._state_style = state_style_condense(default_state_config); + this._active_state_style = state_style_condense(default_active_state_config); + this._hooked_state_style = state_style_condense(default_hooked_state_config); + this._terminal_state_style = state_style_condense(default_terminal_state_config); + this._start_state_style = state_style_condense(default_start_state_config); + this._end_state_style = state_style_condense(default_end_state_config); + this._history_length = history || 0; + this._history = new circular_buffer(this._history_length); + this._state_labels = new Map(); + // consolidate the state declarations + if (state_declaration) { + state_declaration.map((state_decl) => { + if (this._state_declarations.has(state_decl.state)) { // no repeats + throw new JssmError(this, `Added the same state declaration twice: ${JSON.stringify(state_decl.state)}`); + } + this._state_declarations.set(state_decl.state, transfer_state_properties(state_decl)); + }); + } + // walk the decls for labels; aggregate them when found + [...this._state_declarations].map(sd => { + const [key, decl] = sd, labelled = decl.declarations.filter(d => d.key === 'state-label'); + if (labelled.length > 1) { + throw new JssmError(this, `state ${key} may only have one state-label; has ${labelled.length}`); + } + if (labelled.length === 1) { + this._state_labels.set(key, labelled[0].value); + } + }); + // walk the transitions + transitions.map((tr) => { + if (tr.from === undefined) { + throw new JssmError(this, `transition must define 'from': ${JSON.stringify(tr)}`); + } + if (tr.to === undefined) { + throw new JssmError(this, `transition must define 'to': ${JSON.stringify(tr)}`); + } + // get the cursors. what a mess + const cursor_from = this._states.get(tr.from) + || { name: tr.from, from: [], to: [], complete: complete.includes(tr.from) }; + if (!(this._states.has(tr.from))) { + this._new_state(cursor_from); + } + const cursor_to = this._states.get(tr.to) + || { name: tr.to, from: [], to: [], complete: complete.includes(tr.to) }; + if (!(this._states.has(tr.to))) { + this._new_state(cursor_to); + } + // guard against existing connections being re-added + if (cursor_from.to.includes(tr.to)) { + throw new JssmError(this, `already has ${JSON.stringify(tr.from)} to ${JSON.stringify(tr.to)}`); + } + else { + cursor_from.to.push(tr.to); + cursor_to.from.push(tr.from); + } + // add the edge; note its id + this._edges.push(tr); + const thisEdgeId = this._edges.length - 1; + // guard against repeating a transition name + if (tr.name) { + if (this._named_transitions.has(tr.name)) { + throw new JssmError(this, `named transition "${JSON.stringify(tr.name)}" already created`); + } + else { + this._named_transitions.set(tr.name, thisEdgeId); + } + } + // set up the mapping, so that edges can be looked up by endpoint pairs + const from_mapping = this._edge_map.get(tr.from) || new Map(); + if (!(this._edge_map.has(tr.from))) { + this._edge_map.set(tr.from, from_mapping); + } + // const to_mapping = from_mapping.get(tr.to); + from_mapping.set(tr.to, thisEdgeId); // already checked that this mapping doesn't exist, above + // set up the action mapping, so that actions can be looked up by origin + if (tr.action) { + // forward mapping first by action name + let actionMap = this._actions.get(tr.action); + if (!(actionMap)) { + actionMap = new Map(); + this._actions.set(tr.action, actionMap); + } + if (actionMap.has(tr.from)) { + throw new JssmError(this, `action ${JSON.stringify(tr.action)} already attached to origin ${JSON.stringify(tr.from)}`); + } + else { + actionMap.set(tr.from, thisEdgeId); + } + // reverse mapping first by state origin name + let rActionMap = this._reverse_actions.get(tr.from); + if (!(rActionMap)) { + rActionMap = new Map(); + this._reverse_actions.set(tr.from, rActionMap); + } + // no need to test for reverse mapping pre-presence; + // forward mapping already covers collisions + rActionMap.set(tr.action, thisEdgeId); + // reverse mapping first by state target name + if (!(this._reverse_action_targets.has(tr.to))) { + this._reverse_action_targets.set(tr.to, new Map()); + } + /* todo comeback + fundamental problem is roActionMap needs to be a multimap + const roActionMap = this._reverse_action_targets.get(tr.to); // wasteful - already did has - refactor + if (roActionMap) { + if (roActionMap.has(tr.action)) { + throw new JssmError(this, `ro-action ${tr.to} already attached to action ${tr.action}`); + } else { + roActionMap.set(tr.action, thisEdgeId); + } } else { - roActionMap.set(tr.action, thisEdgeId); - } - } else { - throw new JssmError(this, `should be impossible - flow doesn\'t know .set precedes .get yet again. severe error?'); - } - */ - } - }); - if (Array.isArray(property_definition)) { - property_definition.forEach(pr => { - this._property_keys.add(pr.name); - if (pr.hasOwnProperty('default_value')) { - this._default_properties.set(pr.name, pr.default_value); - } - if (pr.hasOwnProperty('required') && (pr.required === true)) { - this._required_properties.add(pr.name); - } - }); - } - if (Array.isArray(state_property)) { - state_property.forEach(sp => { - this._state_properties.set(sp.name, sp.default_value); - }); - } - // done building, do checks - // assert all props are valid - this._state_properties.forEach((_value, key) => { - const inside = JSON.parse(key); - if (Array.isArray(inside)) { - const j_property = inside[0]; - if (typeof j_property === 'string') { - const j_state = inside[1]; - if (typeof j_state === 'string') { - if (!(this.known_prop(j_property))) { - throw new JssmError(this, `State "${j_state}" has property "${j_property}" which is not globally declared`); - } - } - } - } - }); - // assert all required properties are serviced - this._required_properties.forEach(dp_key => { - if (this._default_properties.has(dp_key)) { - throw new JssmError(this, `The property "${dp_key}" is required, but also has a default; these conflict`); - } - this.states().forEach(s => { - const bound_name = name_bind_prop_and_state(dp_key, s); - if (!(this._state_properties.has(bound_name))) { - throw new JssmError(this, `State "${s}" is missing required property "${dp_key}"`); - } - }); - }); - // assert chosen starting state is valid - if (!(this.has_state(this.state()))) { - throw new JssmError(this, `Current start state "${this.state()}" does not exist`); - } - // assert all starting states are valid - start_states.forEach((ss, ssi) => { - if (!(this.has_state(ss))) { - throw new JssmError(this, `Start state ${ssi} "${ss}" does not exist`); - } - }); - // assert chosen starting state is valid - if (!(start_states.length === this._start_states.size)) { - throw new JssmError(this, `Start states cannot be repeated`); - } - } - /******** - * - * Internal method for fabricating states. Not meant for external use. - * - * @internal - * - */ - _new_state(state_config) { - if (this._states.has(state_config.name)) { - throw new JssmError(this, `state ${JSON.stringify(state_config.name)} already exists`); - } - this._states.set(state_config.name, state_config); - return state_config.name; - } - /********* - * - * Get the current state of a machine. - * - * ```typescript - * import * as jssm from 'jssm'; - * - * const lswitch = jssm.from('on <=> off;'); - * console.log( lswitch.state() ); // 'on' - * - * lswitch.transition('off'); - * console.log( lswitch.state() ); // 'off' - * ``` - * - * @typeparam mDT The type of the machine data member; usually omitted - * - */ - state() { - return this._state; - } - /********* - * - * Get the label for a given state, if any; return `undefined` otherwise. - * - * ```typescript - * import * as jssm from 'jssm'; - * - * const lswitch = jssm.from('a -> b; state a: { label: "Foo!"; };'); - * console.log( lswitch.label_for('a') ); // 'Foo!' - * console.log( lswitch.label_for('b') ); // undefined - * ``` - * - * See also {@link display_text}. - * - * @typeparam mDT The type of the machine data member; usually omitted - * - */ - label_for(state) { - return this._state_labels.get(state); - } - /********* - * - * Get whatever the node should show as text. - * - * Currently, this means to get the label for a given state, if any; - * otherwise to return the node's name. However, this definition is expected - * to grow with time, and it is currently considered ill-advised to manually - * parse this text. - * - * See also {@link label_for}. - * - * ```typescript - * import * as jssm from 'jssm'; - * - * const lswitch = jssm.from('a -> b; state a: { label: "Foo!"; };'); - * console.log( lswitch.display_text('a') ); // 'Foo!' - * console.log( lswitch.display_text('b') ); // 'b' - * ``` - * - * @typeparam mDT The type of the machine data member; usually omitted - * - */ - display_text(state) { - var _a; - return (_a = this._state_labels.get(state)) !== null && _a !== void 0 ? _a : state; - } - /********* - * - * Get the current data of a machine. - * - * ```typescript - * import * as jssm from 'jssm'; - * - * const lswitch = jssm.from('on <=> off;', {data: 1}); - * console.log( lswitch.data() ); // 1 - * ``` - * - * @typeparam mDT The type of the machine data member; usually omitted - * - */ - data() { - return this._data; - } - // NEEDS_DOCS - /********* - * - * Get the current value of a given property name. - * - * ```typescript - * - * ``` - * - * @param name The relevant property name to look up - * - * @returns The value behind the prop name. Because functional props are - * evaluated as getters, this can be anything. - * - */ - prop(name) { - const bound_name = name_bind_prop_and_state(name, this.state()); - if (this._state_properties.has(bound_name)) { - return this._state_properties.get(bound_name); - } - else if (this._default_properties.has(name)) { - return this._default_properties.get(name); - } - else { - return undefined; - } - } - // NEEDS_DOCS - /********* - * - * Get the current value of a given property name. If missing on the state - * and without a global default, throw, unlike {@link prop}, which would - * return `undefined` instead. - * - * ```typescript - * - * ``` - * - * @param name The relevant property name to look up - * - * @returns The value behind the prop name. Because functional props are - * evaluated as getters, this can be anything. - * - */ - strict_prop(name) { - const bound_name = name_bind_prop_and_state(name, this.state()); - if (this._state_properties.has(bound_name)) { - return this._state_properties.get(bound_name); - } - else if (this._default_properties.has(name)) { - return this._default_properties.get(name); - } - else { - throw new JssmError(this, `Strictly requested a prop '${name}' which doesn't exist on current state '${this.state()}' and has no default`); - } - } - // NEEDS_DOCS - // COMEBACK add prop_map, sparse_props and strict_props to doc text when implemented - /********* - * - * Get the current value of every prop, as an object. If no current definition - * exists for a prop - that is, if the prop was defined without a default and - * the current state also doesn't define the prop - then that prop will be listed - * in the returned object with a value of `undefined`. - * - * ```typescript - * const traffic_light = sm` - * - * property can_go default true; - * property hesitate default true; - * property stop_first default false; - * - * Off -> Red => Green => Yellow => Red; - * [Red Yellow Green] ~> [Off FlashingRed]; - * FlashingRed -> Red; - * - * state Red: { property stop_first true; property can_go false; }; - * state Off: { property stop_first true; }; - * state FlashingRed: { property stop_first true; }; - * state Green: { property hesitate false; }; - * - * `; - * - * traffic_light.state(); // Off - * traffic_light.props(); // { can_go: true, hesitate: true, stop_first: true; } - * - * traffic_light.go('Red'); - * traffic_light.props(); // { can_go: false, hesitate: true, stop_first: true; } - * - * traffic_light.go('Green'); - * traffic_light.props(); // { can_go: true, hesitate: false, stop_first: false; } - * ``` - * - */ - props() { - const ret = {}; - this.known_props().forEach(p => ret[p] = this.prop(p)); - return ret; - } - // NEEDS_DOCS - // TODO COMEBACK - /********* - * - * Get the current value of every prop, as an object. Compare - * {@link prop_map}, which returns a `Map`. - * - * ```typescript - * - * ``` - * - */ - // sparse_props(name: string): object { - // } - // NEEDS_DOCS - // TODO COMEBACK - /********* - * - * Get the current value of every prop, as an object. Compare - * {@link prop_map}, which returns a `Map`. Akin to {@link strict_prop}, - * this throws if a required prop is missing. - * - * ```typescript - * - * ``` - * - */ - // strict_props(name: string): object { - // } - /********* - * - * Check whether a given string is a known property's name. - * - * ```typescript - * const example = sm`property foo default 1; a->b;`; - * - * example.known_prop('foo'); // true - * example.known_prop('bar'); // false - * ``` - * - * @param prop_name The relevant property name to look up - * - */ - known_prop(prop_name) { - return this._property_keys.has(prop_name); - } - // NEEDS_DOCS - /********* - * - * List all known property names. If you'd also like values, use - * {@link props} instead. The order of the properties is not defined, and - * the properties generally will not be sorted. - * - * ```typescript - * ``` - * - */ - known_props() { - return [...this._property_keys]; - } - /******** - * - * Check whether a given state is a valid start state (either because it was - * explicitly named as such, or because it was the first mentioned state.) - * - * ```typescript - * import { sm, is_start_state } from 'jssm'; - * - * const example = sm`a -> b;`; - * - * console.log( final_test.is_start_state('a') ); // true - * console.log( final_test.is_start_state('b') ); // false - * - * const example = sm`start_states: [a b]; a -> b;`; - * - * console.log( final_test.is_start_state('a') ); // true - * console.log( final_test.is_start_state('b') ); // true - * ``` - * - * @typeparam mDT The type of the machine data member; usually omitted - * - * @param whichState The name of the state to check - * - */ - is_start_state(whichState) { - return this._start_states.has(whichState); - } - /******** - * - * Check whether a given state is a valid start state (either because it was - * explicitly named as such, or because it was the first mentioned state.) - * - * ```typescript - * import { sm, is_end_state } from 'jssm'; - * - * const example = sm`a -> b;`; - * - * console.log( final_test.is_start_state('a') ); // false - * console.log( final_test.is_start_state('b') ); // true - * - * const example = sm`end_states: [a b]; a -> b;`; - * - * console.log( final_test.is_start_state('a') ); // true - * console.log( final_test.is_start_state('b') ); // true - * ``` - * - * @typeparam mDT The type of the machine data member; usually omitted - * - * @param whichState The name of the state to check - * - */ - is_end_state(whichState) { - return this._end_states.has(whichState); - } - /******** - * - * Check whether a given state is final (either has no exits or is marked - * `complete`.) - * - * ```typescript - * import { sm, state_is_final } from 'jssm'; - * - * const final_test = sm`first -> second;`; - * - * console.log( final_test.state_is_final('first') ); // false - * console.log( final_test.state_is_final('second') ); // true - * ``` - * - * @typeparam mDT The type of the machine data member; usually omitted - * - * @param whichState The name of the state to check for finality - * - */ - state_is_final(whichState) { - return ((this.state_is_terminal(whichState)) || (this.state_is_complete(whichState))); - } - /******** - * - * Check whether the current state is final (either has no exits or is marked - * `complete`.) - * - * ```typescript - * import { sm, is_final } from 'jssm'; - * - * const final_test = sm`first -> second;`; - * - * console.log( final_test.is_final() ); // false - * state.transition('second'); - * console.log( final_test.is_final() ); // true - * ``` - * - */ - is_final() { - // return ((!this.is_changing()) && this.state_is_final(this.state())); - return this.state_is_final(this.state()); - } - /******** - * - * Serialize the current machine, including all defining state but not the - * machine string, to a structure. This means you will need the machine - * string to recreate (to not waste repeated space;) if you want the machine - * string embedded, call {@link serialize_with_string} instead. - * - * @typeparam mDT The type of the machine data member; usually omitted - * - */ - serialize(comment) { - return { - comment, - state: this._state, - data: this._data, - jssm_version: version, - history: this._history.toArray(), - history_capacity: this._history.capacity, - timestamp: new Date().getTime(), - }; - } - graph_layout() { - return this._graph_layout; - } - dot_preamble() { - return this._dot_preamble; - } - machine_author() { - return this._machine_author; - } - machine_comment() { - return this._machine_comment; - } - machine_contributor() { - return this._machine_contributor; - } - machine_definition() { - return this._machine_definition; - } - machine_language() { - return this._machine_language; - } - machine_license() { - return this._machine_license; - } - machine_name() { - return this._machine_name; - } - machine_version() { - return this._machine_version; - } - raw_state_declarations() { - return this._raw_state_declaration; - } - state_declaration(which) { - return this._state_declarations.get(which); - } - state_declarations() { - return this._state_declarations; - } - fsl_version() { - return this._fsl_version; - } - machine_state() { - return { - internal_state_impl_version: 1, - actions: this._actions, - edge_map: this._edge_map, - edges: this._edges, - named_transitions: this._named_transitions, - reverse_actions: this._reverse_actions, - // reverse_action_targets : this._reverse_action_targets, - state: this._state, - states: this._states - }; - } - /********* - * - * List all the states known by the machine. Please note that the order of - * these states is not guaranteed. - * - * ```typescript - * import * as jssm from 'jssm'; - * - * const lswitch = jssm.from('on <=> off;'); - * console.log( lswitch.states() ); // ['on', 'off'] - * ``` - * - * @typeparam mDT The type of the machine data member; usually omitted - * - */ - states() { - return Array.from(this._states.keys()); - } - state_for(whichState) { - const state = this._states.get(whichState); - if (state) { - return state; - } - else { - throw new JssmError(this, 'No such state', { requested_state: whichState }); - } - } - /********* - * - * Check whether the machine knows a given state. - * - * ```typescript - * import * as jssm from 'jssm'; - * - * const lswitch = jssm.from('on <=> off;'); - * - * console.log( lswitch.has_state('off') ); // true - * console.log( lswitch.has_state('dance') ); // false - * ``` - * - * @typeparam mDT The type of the machine data member; usually omitted - * - * @param whichState The state to be checked for extance - * - */ - has_state(whichState) { - return this._states.get(whichState) !== undefined; - } - /********* - * - * Lists all edges of a machine. - * - * ```typescript - * import { sm } from 'jssm'; - * - * const lswitch = sm`on 'toggle' <=> 'toggle' off;`; - * - * lswitch.list_edges(); - * [ - * { - * from: 'on', - * to: 'off', - * kind: 'main', - * forced_only: false, - * main_path: true, - * action: 'toggle' - * }, - * { - * from: 'off', - * to: 'on', - * kind: 'main', - * forced_only: false, - * main_path: true, - * action: 'toggle' - * } - * ] - * ``` - * - * @typeparam mDT The type of the machine data member; usually omitted - * - */ - list_edges() { - return this._edges; - } - list_named_transitions() { - return this._named_transitions; - } - list_actions() { - return Array.from(this._actions.keys()); - } - get uses_actions() { - return Array.from(this._actions.keys()).length > 0; - } - all_themes() { - return [...theme_mapping.keys()]; // constructor sets this to "default" otherwise - } - // This will always return an array of FSL themes; the reason we spuriously - // add the single type is that the setter and getter need matching accept/return - // types, and the setter can take both as a convenience - get themes() { - return this._themes; // constructor sets this to "default" otherwise - } - set themes(to) { - if (typeof to === 'string') { - this._themes = [to]; - } - else { - this._themes = to; - } - } - flow() { - return this._flow; - } - get_transition_by_state_names(from, to) { - const emg = this._edge_map.get(from); - if (emg) { - return emg.get(to); - } - else { - return undefined; - } - } - lookup_transition_for(from, to) { - const id = this.get_transition_by_state_names(from, to); - return ((id === undefined) || (id === null)) ? undefined : this._edges[id]; - } - /******** - * - * List all transitions attached to the current state, sorted by entrance and - * exit. The order of each sublist is not defined. A node could appear in - * both lists. - * - * ```typescript - * import { sm } from 'jssm'; - * - * const light = sm`red 'next' -> green 'next' -> yellow 'next' -> red; [red yellow green] 'shutdown' ~> off 'start' -> red;`; - * - * light.state(); // 'red' - * light.list_transitions(); // { entrances: [ 'yellow', 'off' ], exits: [ 'green', 'off' ] } - * ``` - * - * @typeparam mDT The type of the machine data member; usually omitted - * - * @param whichState The state whose transitions to have listed - * - */ - list_transitions(whichState = this.state()) { - return { entrances: this.list_entrances(whichState), exits: this.list_exits(whichState) }; - } - /******** - * - * List all entrances attached to the current state. Please note that the - * order of the list is not defined. - * - * ```typescript - * import { sm } from 'jssm'; - * - * const light = sm`red 'next' -> green 'next' -> yellow 'next' -> red; [red yellow green] 'shutdown' ~> off 'start' -> red;`; - * - * light.state(); // 'red' - * light.list_entrances(); // [ 'yellow', 'off' ] - * ``` - * - * @typeparam mDT The type of the machine data member; usually omitted - * - * @param whichState The state whose entrances to have listed - * - */ - list_entrances(whichState = this.state()) { - return (this._states.get(whichState) - || { from: undefined }).from - || []; - } - /******** - * - * List all exits attached to the current state. Please note that the order - * of the list is not defined. - * - * ```typescript - * import { sm } from 'jssm'; - * - * const light = sm`red 'next' -> green 'next' -> yellow 'next' -> red; [red yellow green] 'shutdown' ~> off 'start' -> red;`; - * - * light.state(); // 'red' - * light.list_exits(); // [ 'green', 'off' ] - * ``` - * - * @typeparam mDT The type of the machine data member; usually omitted - * - * @param whichState The state whose exits to have listed - * - */ - list_exits(whichState = this.state()) { - return (this._states.get(whichState) - || { to: undefined }).to - || []; - } - probable_exits_for(whichState) { - const wstate = this._states.get(whichState); - if (!(wstate)) { - throw new JssmError(this, `No such state ${JSON.stringify(whichState)} in probable_exits_for`); - } - const wstate_to = wstate.to, wtf // wstate_to_filtered -> wtf - = wstate_to - .map((ws) => this.lookup_transition_for(this.state(), ws)) - .filter(Boolean); - return wtf; - } - probabilistic_transition() { - const selected = weighted_rand_select(this.probable_exits_for(this.state())); - return this.transition(selected.to); - } - probabilistic_walk(n) { - return seq(n) - .map(() => { - const state_was = this.state(); - this.probabilistic_transition(); - return state_was; - }) - .concat([this.state()]); - } - probabilistic_histo_walk(n) { - return histograph(this.probabilistic_walk(n)); - } - /******** - * - * List all actions available from this state. Please note that the order of - * the actions is not guaranteed. - * - * ```typescript - * import { sm } from 'jssm'; - * - * const machine = sm` - * red 'next' -> green 'next' -> yellow 'next' -> red; - * [red yellow green] 'shutdown' ~> off 'start' -> red; - * `; - * - * console.log( machine.state() ); // logs 'red' - * console.log( machine.actions() ); // logs ['next', 'shutdown'] - * - * machine.action('next'); // true - * console.log( machine.state() ); // logs 'green' - * console.log( machine.actions() ); // logs ['next', 'shutdown'] - * - * machine.action('shutdown'); // true - * console.log( machine.state() ); // logs 'off' - * console.log( machine.actions() ); // logs ['start'] - * - * machine.action('start'); // true - * console.log( machine.state() ); // logs 'red' - * console.log( machine.actions() ); // logs ['next', 'shutdown'] - * ``` - * - * @typeparam mDT The type of the machine data member; usually omitted - * - * @param whichState The state whose actions to have listed - * - */ - actions(whichState = this.state()) { - const wstate = this._reverse_actions.get(whichState); - if (wstate) { - return Array.from(wstate.keys()); - } - else { - throw new JssmError(this, `No such state ${JSON.stringify(whichState)}`); - } - } - /******** - * - * List all states that have a specific action attached. Please note that - * the order of the states is not guaranteed. - * - * ```typescript - * import { sm } from 'jssm'; - * - * const machine = sm` - * red 'next' -> green 'next' -> yellow 'next' -> red; - * [red yellow green] 'shutdown' ~> off 'start' -> red; - * `; - * - * console.log( machine.list_states_having_action('next') ); // ['red', 'green', 'yellow'] - * console.log( machine.list_states_having_action('start') ); // ['off'] - * ``` - * - * @typeparam mDT The type of the machine data member; usually omitted - * - * @param whichState The action to be checked for associated states - * - */ - list_states_having_action(whichState) { - const wstate = this._actions.get(whichState); - if (wstate) { - return Array.from(wstate.keys()); - } - else { - throw new JssmError(this, `No such state ${JSON.stringify(whichState)}`); - } - } - // comeback - /* - list_entrance_actions(whichState: mNT = this.state() ) : Array { - return [... (this._reverse_action_targets.get(whichState) || new Map()).values()] // wasteful - .map( (edgeId:any) => (this._edges[edgeId] : any)) // whargarbl burn out any - .filter( (o:any) => o.to === whichState) - .map( filtered => filtered.from ); - } - */ - list_exit_actions(whichState = this.state()) { - const ra_base = this._reverse_actions.get(whichState); - if (!(ra_base)) { - throw new JssmError(this, `No such state ${JSON.stringify(whichState)}`); - } - return Array.from(ra_base.values()) - .map((edgeId) => this._edges[edgeId]) - .filter((o) => o.from === whichState) - .map((filtered) => filtered.action); - } - probable_action_exits(whichState = this.state()) { - const ra_base = this._reverse_actions.get(whichState); - if (!(ra_base)) { - throw new JssmError(this, `No such state ${JSON.stringify(whichState)}`); - } - return Array.from(ra_base.values()) - .map((edgeId) => this._edges[edgeId]) - .filter((o) => o.from === whichState) - .map((filtered) => ({ - action: filtered.action, - probability: filtered.probability - })); - } - // TODO FIXME test that is_unenterable on non-state throws - is_unenterable(whichState) { - if (!(this.has_state(whichState))) { - throw new JssmError(this, `No such state ${whichState}`); - } - return this.list_entrances(whichState).length === 0; - } - has_unenterables() { - return this.states().some((x) => this.is_unenterable(x)); - } - is_terminal() { - return this.state_is_terminal(this.state()); - } - // TODO FIXME test that state_is_terminal on non-state throws - state_is_terminal(whichState) { - if (!(this.has_state(whichState))) { - throw new JssmError(this, `No such state ${whichState}`); - } - return this.list_exits(whichState).length === 0; - } - has_terminals() { - return this.states().some((x) => this.state_is_terminal(x)); - } - is_complete() { - return this.state_is_complete(this.state()); - } - state_is_complete(whichState) { - const wstate = this._states.get(whichState); - if (wstate) { - return wstate.complete; - } - else { - throw new JssmError(this, `No such state ${JSON.stringify(whichState)}`); - } - } - has_completes() { - return this.states().some((x) => this.state_is_complete(x)); - } - // basic toolable hook call. convenience wrappers will follow, like - // hook(from, to, handler) and exit_hook(from, handler) and etc - set_hook(HookDesc) { - switch (HookDesc.kind) { - case 'hook': - this._hooks.set(hook_name(HookDesc.from, HookDesc.to), HookDesc.handler); - this._has_hooks = true; - this._has_basic_hooks = true; - break; - case 'named': - this._named_hooks.set(named_hook_name(HookDesc.from, HookDesc.to, HookDesc.action), HookDesc.handler); - this._has_hooks = true; - this._has_named_hooks = true; - break; - case 'global action': - this._global_action_hooks.set(HookDesc.action, HookDesc.handler); - this._has_hooks = true; - this._has_global_action_hooks = true; - break; - case 'any action': - this._any_action_hook = HookDesc.handler; - this._has_hooks = true; - break; - case 'standard transition': - this._standard_transition_hook = HookDesc.handler; - this._has_transition_hooks = true; - this._has_hooks = true; - break; - case 'main transition': - this._main_transition_hook = HookDesc.handler; - this._has_transition_hooks = true; - this._has_hooks = true; - break; - case 'forced transition': - this._forced_transition_hook = HookDesc.handler; - this._has_transition_hooks = true; - this._has_hooks = true; - break; - case 'any transition': - this._any_transition_hook = HookDesc.handler; - this._has_hooks = true; - break; - case 'entry': - this._entry_hooks.set(HookDesc.to, HookDesc.handler); - this._has_hooks = true; - this._has_entry_hooks = true; - break; - case 'exit': - this._exit_hooks.set(HookDesc.from, HookDesc.handler); - this._has_hooks = true; - this._has_exit_hooks = true; - break; - case 'post hook': - this._post_hooks.set(hook_name(HookDesc.from, HookDesc.to), HookDesc.handler); - this._has_post_hooks = true; - this._has_post_basic_hooks = true; - break; - case 'post named': - this._post_named_hooks.set(named_hook_name(HookDesc.from, HookDesc.to, HookDesc.action), HookDesc.handler); - this._has_post_hooks = true; - this._has_post_named_hooks = true; - break; - case 'post global action': - this._post_global_action_hooks.set(HookDesc.action, HookDesc.handler); - this._has_post_hooks = true; - this._has_post_global_action_hooks = true; - break; - case 'post any action': - this._post_any_action_hook = HookDesc.handler; - this._has_post_hooks = true; - break; - case 'post standard transition': - this._post_standard_transition_hook = HookDesc.handler; - this._has_post_transition_hooks = true; - this._has_post_hooks = true; - break; - case 'post main transition': - this._post_main_transition_hook = HookDesc.handler; - this._has_post_transition_hooks = true; - this._has_post_hooks = true; - break; - case 'post forced transition': - this._post_forced_transition_hook = HookDesc.handler; - this._has_post_transition_hooks = true; - this._has_post_hooks = true; - break; - case 'post any transition': - this._post_any_transition_hook = HookDesc.handler; - this._has_post_hooks = true; - break; - case 'post entry': - this._post_entry_hooks.set(HookDesc.to, HookDesc.handler); - this._has_post_entry_hooks = true; - this._has_post_hooks = true; - break; - case 'post exit': - this._post_exit_hooks.set(HookDesc.from, HookDesc.handler); - this._has_post_exit_hooks = true; - this._has_post_hooks = true; - break; - default: - throw new JssmError(this, `Unknown hook type ${HookDesc.kind}, should be impossible`); - } - } - hook(from, to, handler) { - this.set_hook({ kind: 'hook', from, to, handler }); - return this; - } - hook_action(from, to, action, handler) { - this.set_hook({ kind: 'named', from, to, action, handler }); - return this; - } - hook_global_action(action, handler) { - this.set_hook({ kind: 'global action', action, handler }); - return this; - } - hook_any_action(handler) { - this.set_hook({ kind: 'any action', handler }); - return this; - } - hook_standard_transition(handler) { - this.set_hook({ kind: 'standard transition', handler }); - return this; - } - hook_main_transition(handler) { - this.set_hook({ kind: 'main transition', handler }); - return this; - } - hook_forced_transition(handler) { - this.set_hook({ kind: 'forced transition', handler }); - return this; - } - hook_any_transition(handler) { - this.set_hook({ kind: 'any transition', handler }); - return this; - } - hook_entry(to, handler) { - this.set_hook({ kind: 'entry', to, handler }); - return this; - } - hook_exit(from, handler) { - this.set_hook({ kind: 'exit', from, handler }); - return this; - } - post_hook(from, to, handler) { - this.set_hook({ kind: 'post hook', from, to, handler }); - return this; - } - post_hook_action(from, to, action, handler) { - this.set_hook({ kind: 'post named', from, to, action, handler }); - return this; - } - post_hook_global_action(action, handler) { - this.set_hook({ kind: 'post global action', action, handler }); - return this; - } - post_hook_any_action(handler) { - this.set_hook({ kind: 'post any action', handler }); - return this; - } - post_hook_standard_transition(handler) { - this.set_hook({ kind: 'post standard transition', handler }); - return this; - } - post_hook_main_transition(handler) { - this.set_hook({ kind: 'post main transition', handler }); - return this; - } - post_hook_forced_transition(handler) { - this.set_hook({ kind: 'post forced transition', handler }); - return this; - } - post_hook_any_transition(handler) { - this.set_hook({ kind: 'post any transition', handler }); - return this; - } - post_hook_entry(to, handler) { - this.set_hook({ kind: 'post entry', to, handler }); - return this; - } - post_hook_exit(from, handler) { - this.set_hook({ kind: 'post exit', from, handler }); - return this; - } - // remove_hook(HookDesc: HookDescription) { - // throw new JssmError(this, 'TODO: Should remove hook here'); - // } - edges_between(from, to) { - return this._edges.filter(edge => ((edge.from === from) && (edge.to === to))); - } - transition_impl(newStateOrAction, newData, wasForced, wasAction) { - // TODO the forced-ness behavior needs to be cleaned up a lot here - // TODO all the callbacks are wrong on forced, action, etc - let valid = false, trans_type, newState, fromAction = undefined; - if (wasForced) { - if (this.valid_force_transition(newStateOrAction, newData)) { - valid = true; - trans_type = 'forced'; - newState = newStateOrAction; - } - } - else if (wasAction) { - if (this.valid_action(newStateOrAction, newData)) { - const edge = this.current_action_edge_for(newStateOrAction); - valid = true; - trans_type = edge.kind; - newState = edge.to; - fromAction = newStateOrAction; - } - } - else { - if (this.valid_transition(newStateOrAction, newData)) { - if (this._has_transition_hooks) { - trans_type = this.edges_between(this._state, newStateOrAction)[0].kind; // TODO this won't do the right thing if various edges have different types - } - valid = true; - newState = newStateOrAction; - } - } - const hook_args = { - data: this._data, - action: fromAction, - from: this._state, - to: newState, - forced: wasForced, - trans_type - }; - if (valid) { - if (this._has_hooks) { - function update_fields(res) { - if (res.hasOwnProperty('data')) { - hook_args.data = res.data; - data_changed = true; - } - } - let data_changed = false; - if (wasAction) { - // 1. any action hook - const outcome = abstract_hook_step(this._any_action_hook, hook_args); - if (outcome.pass === false) { - return false; - } - update_fields(outcome); - // 2. global specific action hook - const outcome2 = abstract_hook_step(this._global_action_hooks.get(newStateOrAction), hook_args); - if (outcome2.pass === false) { - return false; - } - update_fields(outcome2); - } - // 3. any transition hook - if (this._any_transition_hook !== undefined) { - const outcome = abstract_hook_step(this._any_transition_hook, hook_args); - if (outcome.pass === false) { - return false; - } - update_fields(outcome); - } - // 4. exit hook - if (this._has_exit_hooks) { - const outcome = abstract_hook_step(this._exit_hooks.get(this._state), hook_args); - if (outcome.pass === false) { - return false; - } - update_fields(outcome); - } - // 5. named transition / action hook - if (this._has_named_hooks) { - if (wasAction) { - const nhn = named_hook_name(this._state, newState, newStateOrAction), outcome = abstract_hook_step(this._named_hooks.get(nhn), hook_args); - if (outcome.pass === false) { - return false; - } - update_fields(outcome); - } - } - // 6. regular hook - if (this._has_basic_hooks) { - const hn = hook_name(this._state, newState), outcome = abstract_hook_step(this._hooks.get(hn), hook_args); - if (outcome.pass === false) { - return false; - } - update_fields(outcome); - } - // 7. edge type hook - // 7a. standard transition hook - if (trans_type === 'legal') { - const outcome = abstract_hook_step(this._standard_transition_hook, hook_args); - if (outcome.pass === false) { - return false; - } - update_fields(outcome); - } - // 7b. main type hook - if (trans_type === 'main') { - const outcome = abstract_hook_step(this._main_transition_hook, hook_args); - if (outcome.pass === false) { - return false; - } - update_fields(outcome); - } - // 7c. forced transition hook - if (trans_type === 'forced') { - const outcome = abstract_hook_step(this._forced_transition_hook, hook_args); - if (outcome.pass === false) { - return false; - } - update_fields(outcome); - } - // 8. entry hook - if (this._has_entry_hooks) { - const outcome = abstract_hook_step(this._entry_hooks.get(newState), hook_args); - if (outcome.pass === false) { - return false; - } - update_fields(outcome); - } - // all hooks passed! let's now establish the result - if (this._history_length) { - this._history.shove([this._state, this._data]); - } - this._state = newState; - if (data_changed) { - this._data = hook_args.data; - } - // success fallthrough to posthooks; intentionally no return here - // look for "posthooks begin here" - // or without hooks - } - else { - if (this._history_length) { - this._history.shove([this._state, this._data]); - } - this._state = newState; - // success fallthrough to posthooks; intentionally no return here - // look for "posthooks begin here" - } - // not valid - } - else { - return false; - } - // posthooks begin here - if (this._has_post_hooks) { - if (wasAction) { - // 1. any action posthook - if (this._post_any_action_hook !== undefined) { - this._post_any_action_hook(hook_args); - } - // 2. global specific action hook - const pgah = this._post_global_action_hooks.get(hook_args.action); - if (pgah !== undefined) { - pgah(hook_args); - } - } - // 3. any transition hook - if (this._post_any_transition_hook !== undefined) { - this._post_any_transition_hook(hook_args); - } - // 4. exit hook - if (this._has_post_exit_hooks) { - const peh = this._post_exit_hooks.get(hook_args.from); // todo this is probably from instead - if (peh !== undefined) { - peh(hook_args); - } - } - // 5. named transition / action hook - if (this._has_post_named_hooks) { - if (wasAction) { - const nhn = named_hook_name(hook_args.from, hook_args.to, hook_args.action), pnh = this._post_named_hooks.get(nhn); - if (pnh !== undefined) { - pnh(hook_args); - } - } - } - // 6. regular hook - if (this._has_post_basic_hooks) { - const hook = this._post_hooks.get(hook_name(hook_args.from, hook_args.to)); - if (hook !== undefined) { - hook(hook_args); - } - } - // 7. edge type hook - // 7a. standard transition hook - if (trans_type === 'legal') { - if (this._post_standard_transition_hook !== undefined) { - this._post_standard_transition_hook(hook_args); - } - } - // 7b. main type hook - if (trans_type === 'main') { - if (this._post_main_transition_hook !== undefined) { - this._post_main_transition_hook(hook_args); - } - } - // 7c. forced transition hook - if (trans_type === 'forced') { - if (this._post_forced_transition_hook !== undefined) { - this._post_forced_transition_hook(hook_args); - } - } - // 8. entry hook - if (this._has_post_entry_hooks) { - const hook = this._post_entry_hooks.get(hook_args.to); - if (hook !== undefined) { - hook(hook_args); - } - } - } - return true; - } - /********* - * - * Get a truncated history of the recent states and data of the machine. - * Turned off by default; configure with `.from('...', {data: 5})` by length, - * or set `.history_length` at runtime. - * - * History *does not contain the current state*. If you want that, call - * `.history_inclusive` instead. - * - * ```typescript - * const foo = jssm.from( - * "a 'next' -> b 'next' -> c 'next' -> d 'next' -> e;", - * { history: 3 } - * ); - * - * foo.action('next'); - * foo.action('next'); - * foo.action('next'); - * foo.action('next'); - * - * foo.history; // [ ['b',undefined], ['c',undefined], ['d',undefined] ] - * ``` - * - * Notice that the machine's current state, `e`, is not in the returned list. - * - * @typeparam mDT The type of the machine data member; usually omitted - * - */ - get history() { - return this._history.toArray(); - } - /********* - * - * Get a truncated history of the recent states and data of the machine, - * including the current state. Turned off by default; configure with - * `.from('...', {data: 5})` by length, or set `.history_length` at runtime. - * - * History inclusive contains the current state. If you only want past - * states, call `.history` instead. - * - * The list returned will be one longer than the history buffer kept, as the - * history buffer kept gets the current state added to it to produce this - * list. - * - * ```typescript - * const foo = jssm.from( - * "a 'next' -> b 'next' -> c 'next' -> d 'next' -> e;", - * { history: 3 } - * ); - * - * foo.action('next'); - * foo.action('next'); - * foo.action('next'); - * foo.action('next'); - * - * foo.history_inclusive; // [ ['b',undefined], ['c',undefined], ['d',undefined], ['e',undefined] ] - * ``` - * - * Notice that the machine's current state, `e`, is in the returned list. - * - * @typeparam mDT The type of the machine data member; usually omitted - * - */ - get history_inclusive() { - const ret = this._history.toArray(); - ret.push([this.state(), this.data()]); - return ret; - } - /********* - * - * Find out how long a history this machine is keeping. Defaults to zero. - * Settable directly. - * - * ```typescript - * const foo = jssm.from("a -> b;"); - * foo.history_length; // 0 - * - * const bar = jssm.from("a -> b;", { history: 3 }); - * foo.history_length; // 3 - * foo.history_length = 5; - * foo.history_length; // 5 - * ``` - * - * @typeparam mDT The type of the machine data member; usually omitted - * - */ - get history_length() { - return this._history_length; - } - set history_length(to) { - this._history_length = to; - this._history.resize(to, true); - } - /******** - * - * Instruct the machine to complete an action. Synonym for {@link do}. - * - * ```typescript - * const light = sm`red 'next' -> green 'next' -> yellow 'next' -> red; [red yellow green] 'shutdown' ~> off 'start' -> red;`; - * - * light.state(); // 'red' - * light.action('next'); // true - * light.state(); // 'green' - * ``` - * - * @typeparam mDT The type of the machine data member; usually omitted - * - * @param actionName The action to engage - * - * @param newData The data change to insert during the action - * - */ - action(actionName, newData) { - return this.transition_impl(actionName, newData, false, true); - } - /******** - * - * Get the standard style for a single state. ***Does not*** include - * composition from an applied theme, or things from the underlying base - * stylesheet; only the modifications applied by this machine. - * - * ```typescript - * const light = sm`a -> b;`; - * console.log(light.standard_state_style); - * // {} - * - * const light = sm`a -> b; state: { shape: circle; };`; - * console.log(light.standard_state_style); - * // { shape: 'circle' } - * ``` - * - * @typeparam mDT The type of the machine data member; usually omitted - * - */ - get standard_state_style() { - return this._state_style; - } - /******** - * - * Get the hooked state style. ***Does not*** include - * composition from an applied theme, or things from the underlying base - * stylesheet; only the modifications applied by this machine. - * - * The hooked style is only applied to nodes which have a named hook in the - * graph. Open hooks set through the external API aren't graphed, because - * that would be literally every node. - * - * ```typescript - * const light = sm`a -> b;`; - * console.log(light.hooked_state_style); - * // {} - * - * const light = sm`a -> b; hooked_state: { shape: circle; };`; - * console.log(light.hooked_state_style); - * // { shape: 'circle' } - * ``` - * - * @typeparam mDT The type of the machine data member; usually omitted - * - */ - get hooked_state_style() { - return this._hooked_state_style; - } - /******** - * - * Get the start state style. ***Does not*** include composition from an - * applied theme, or things from the underlying base stylesheet; only the - * modifications applied by this machine. - * - * Start states are defined by the directive `start_states`, or in absentia, - * are the first mentioned state. - * - * ```typescript - * const light = sm`a -> b;`; - * console.log(light.start_state_style); - * // {} - * - * const light = sm`a -> b; start_state: { shape: circle; };`; - * console.log(light.start_state_style); - * // { shape: 'circle' } - * ``` - * - * @typeparam mDT The type of the machine data member; usually omitted - * - */ - get start_state_style() { - return this._start_state_style; - } - /******** - * - * Get the end state style. ***Does not*** include - * composition from an applied theme, or things from the underlying base - * stylesheet; only the modifications applied by this machine. - * - * End states are defined in the directive `end_states`, and are distinct - * from terminal states. End states are voluntary successful endpoints for a - * process. Terminal states are states that cannot be exited. By example, - * most error states are terminal states, but not end states. Also, since - * some end states can be exited and are determined by hooks, such as - * recursive or iterative nodes, there is such a thing as an end state that - * is not a terminal state. - * - * ```typescript - * const light = sm`a -> b;`; - * console.log(light.standard_state_style); - * // {} - * - * const light = sm`a -> b; end_state: { shape: circle; };`; - * console.log(light.standard_state_style); - * // { shape: 'circle' } - * ``` - * - * @typeparam mDT The type of the machine data member; usually omitted - * - */ - get end_state_style() { - return this._end_state_style; - } - /******** - * - * Get the terminal state style. ***Does not*** include - * composition from an applied theme, or things from the underlying base - * stylesheet; only the modifications applied by this machine. - * - * Terminal state styles are automatically determined by the machine. Any - * state without a valid exit transition is terminal. - * - * ```typescript - * const light = sm`a -> b;`; - * console.log(light.terminal_state_style); - * // {} - * - * const light = sm`a -> b; terminal_state: { shape: circle; };`; - * console.log(light.terminal_state_style); - * // { shape: 'circle' } - * ``` - * - * @typeparam mDT The type of the machine data member; usually omitted - * - */ - get terminal_state_style() { - return this._terminal_state_style; - } - /******** - * - * Get the style for the active state. ***Does not*** include - * composition from an applied theme, or things from the underlying base - * stylesheet; only the modifications applied by this machine. - * - * ```typescript - * const light = sm`a -> b;`; - * console.log(light.active_state_style); - * // {} - * - * const light = sm`a -> b; active_state: { shape: circle; };`; - * console.log(light.active_state_style); - * // { shape: 'circle' } - * ``` - * - * @typeparam mDT The type of the machine data member; usually omitted - * - */ - get active_state_style() { - return this._active_state_style; - } - /* - */ - // TODO COMEBACK IMPLEMENTME FIXME - // has_hooks(state: StateType): false { - // return false; - // } - /******** - * - * Gets the composite style for a specific node by individually imposing the - * style layers on a given object, after determining which layers are - * appropriate. - * - * The order of composition is base, then theme, then user content. Each - * item in the stack will be composited independently. First, the base state - * style, then the theme state style, then the user state style. - * - * After the three state styles, we'll composite the hooked styles; then the - * terminal styles; then the start styles; then the end styles; finally, the - * active styles. Remember, last wins. - * - * The base state style must exist. All other styles are optional. - * - * @typeparam mDT The type of the machine data member; usually omitted - * - */ - style_for(state) { - // first look up the themes - const themes = []; - this._themes.forEach(th => { - const theme_impl = theme_mapping.get(th); - if (theme_impl !== undefined) { - themes.push(theme_impl); - } - }); - // basic state style - const layers = [base_theme.state]; - themes.reverse().map(theme => { - if (theme.state) { - layers.push(theme.state); - } - }); - if (this._state_style) { - layers.push(this._state_style); - } - // hooked state style - // if (this.has_hooks(state)) { - // layers.push(base_theme.hooked); - // themes.map(theme => { - // if (theme.hooked) { layers.push(theme.hooked); } - // }); - // if (this._hooked_state_style) { layers.push(this._hooked_state_style); } - // } - // terminal state style - if (this.state_is_terminal(state)) { - layers.push(base_theme.terminal); - themes.map(theme => { - if (theme.terminal) { - layers.push(theme.terminal); - } - }); - if (this._terminal_state_style) { - layers.push(this._terminal_state_style); - } - } - // start state style - if (this.is_start_state(state)) { - layers.push(base_theme.start); - themes.map(theme => { - if (theme.start) { - layers.push(theme.start); - } - }); - if (this._start_state_style) { - layers.push(this._start_state_style); - } - } - // end state style - if (this.is_end_state(state)) { - layers.push(base_theme.end); - themes.map(theme => { - if (theme.end) { - layers.push(theme.end); - } - }); - if (this._end_state_style) { - layers.push(this._end_state_style); - } - } - // active state style - if (this.state() === state) { - layers.push(base_theme.active); - themes.map(theme => { - if (theme.active) { - layers.push(theme.active); - } - }); - if (this._active_state_style) { - layers.push(this._active_state_style); - } - } - const individual_style = {}, decl = this._state_declarations.get(state); - individual_style.color = decl === null || decl === void 0 ? void 0 : decl.color; - individual_style.textColor = decl === null || decl === void 0 ? void 0 : decl.textColor; - individual_style.borderColor = decl === null || decl === void 0 ? void 0 : decl.borderColor; - individual_style.backgroundColor = decl === null || decl === void 0 ? void 0 : decl.backgroundColor; - individual_style.lineStyle = decl === null || decl === void 0 ? void 0 : decl.lineStyle; - individual_style.corners = decl === null || decl === void 0 ? void 0 : decl.corners; - individual_style.shape = decl === null || decl === void 0 ? void 0 : decl.shape; - layers.push(individual_style); - return layers.reduce((acc, cur) => { - const composite_state = acc; - Object.keys(cur).forEach(key => { var _a; return composite_state[key] = (_a = cur[key]) !== null && _a !== void 0 ? _a : composite_state[key]; }); - return composite_state; - }, {}); - } - /******** - * - * Instruct the machine to complete an action. Synonym for {@link action}. - * - * ```typescript - * const light = sm` - * off 'start' -> red; - * red 'next' -> green 'next' -> yellow 'next' -> red; - * [red yellow green] 'shutdown' ~> off; - * `; - * - * light.state(); // 'off' - * light.do('start'); // true - * light.state(); // 'red' - * light.do('next'); // true - * light.state(); // 'green' - * light.do('next'); // true - * light.state(); // 'yellow' - * light.do('dance'); // !! false - no such action - * light.state(); // 'yellow' - * light.do('start'); // !! false - yellow does not have the action start - * light.state(); // 'yellow' - * ``` - * - * @typeparam mDT The type of the machine data member; usually omitted - * - * @param actionName The action to engage - * - * @param newData The data change to insert during the action - * - */ - do(actionName, newData) { - return this.transition_impl(actionName, newData, false, true); - } - /******** - * - * Instruct the machine to complete a transition. Synonym for {@link go}. - * - * ```typescript - * const light = sm` - * off 'start' -> red; - * red 'next' -> green 'next' -> yellow 'next' -> red; - * [red yellow green] 'shutdown' ~> off; - * `; - * - * light.state(); // 'off' - * light.go('red'); // true - * light.state(); // 'red' - * light.go('green'); // true - * light.state(); // 'green' - * light.go('blue'); // !! false - no such state - * light.state(); // 'green' - * light.go('red'); // !! false - green may not go directly to red, only to yellow - * light.state(); // 'green' - * ``` - * - * @typeparam mDT The type of the machine data member; usually omitted - * - * @param newState The state to switch to - * - * @param newData The data change to insert during the transition - * - */ - transition(newState, newData) { - return this.transition_impl(newState, newData, false, false); - } - /******** - * - * Instruct the machine to complete a transition. Synonym for {@link transition}. - * - * ```typescript - * const light = sm`red -> green -> yellow -> red; [red yellow green] 'shutdown' ~> off 'start' -> red;`; - * - * light.state(); // 'red' - * light.go('green'); // true - * light.state(); // 'green' - * ``` - * - * @typeparam mDT The type of the machine data member; usually omitted - * - * @param newState The state to switch to - * - * @param newData The data change to insert during the transition - * - */ - go(newState, newData) { - return this.transition_impl(newState, newData, false, false); - } - /******** - * - * Instruct the machine to complete a forced transition (which will reject if - * called with a normal {@link transition} call.) - * - * ```typescript - * const light = sm`red -> green -> yellow -> red; [red yellow green] 'shutdown' ~> off 'start' -> red;`; - * - * light.state(); // 'red' - * light.transition('off'); // false - * light.state(); // 'red' - * light.force_transition('off'); // true - * light.state(); // 'off' - * ``` - * - * @typeparam mDT The type of the machine data member; usually omitted - * - * @param newState The state to switch to - * - * @param newData The data change to insert during the transition - * - */ - force_transition(newState, newData) { - return this.transition_impl(newState, newData, true, false); - } - current_action_for(action) { - const action_base = this._actions.get(action); - return action_base - ? action_base.get(this.state()) - : undefined; - } - current_action_edge_for(action) { - const idx = this.current_action_for(action); - if ((idx === undefined) || (idx === null)) { - throw new JssmError(this, `No such action ${JSON.stringify(action)}`); - } - return this._edges[idx]; - } - valid_action(action, _newData) { - // todo whargarbl implement data stuff - // todo major incomplete whargarbl comeback - return this.current_action_for(action) !== undefined; - } - valid_transition(newState, _newData) { - // todo whargarbl implement data stuff - // todo major incomplete whargarbl comeback - const transition_for = this.lookup_transition_for(this.state(), newState); - if (!(transition_for)) { - return false; - } - if (transition_for.forced_only) { - return false; - } - return true; - } - valid_force_transition(newState, _newData) { - // todo whargarbl implement data stuff - // todo major incomplete whargarbl comeback - return (this.lookup_transition_for(this.state(), newState) !== undefined); - } - instance_name() { - return this._instance_name; - } - /* eslint-disable no-use-before-define */ - /* eslint-disable class-methods-use-this */ - sm(template_strings, ...remainder /* , arguments */) { - return sm(template_strings, ...remainder); - } - } - /********* - * - * Create a state machine from a template string. This is one of the two main - * paths for working with JSSM, alongside {@link from}. - * - * Use this method when you want to work directly and conveniently with a - * constant template expression. Use `.from` when you want to pull from - * dynamic strings. - * - * - * ```typescript - * import * as jssm from 'jssm'; - * - * const lswitch = jssm.from('on <=> off;'); - * ``` - * - * @typeparam mDT The type of the machine data member; usually omitted - * - * @param template_strings The assembled code - * - * @param remainder The mechanic for template argument insertion - * - */ - function sm(template_strings, ...remainder /* , arguments */) { - // foo`a${1}b${2}c` will come in as (['a','b','c'],1,2) - // this includes when a and c are empty strings - // therefore template_strings will always have one more el than template_args - // therefore map the smaller container and toss the last one on on the way out - return new Machine(make(template_strings.reduce( - // in general avoiding `arguments` is smart. however with the template - // string notation, as designed, it's not really worth the hassle - /* eslint-disable prefer-rest-params */ - (acc, val, idx) => `${acc}${remainder[idx - 1]}${val}` // arguments[0] is never loaded, so args doesn't need to be gated - /* eslint-enable prefer-rest-params */ - ))); - } - /********* - * - * Create a state machine from an implementation string. This is one of the - * two main paths for working with JSSM, alongside {@link sm}. - * - * Use this method when you want to conveniently pull a state machine from a - * string dynamically. Use operator `sm` when you just want to work with a - * template expression. - * - * ```typescript - * import * as jssm from 'jssm'; - * - * const lswitch = jssm.from('on <=> off;'); - * ``` - * - * @typeparam mDT The type of the machine data member; usually omitted - * - * @param MachineAsString The FSL code to evaluate - * - * @param ExtraConstructorFields Extra non-code configuration to pass at creation time - * - */ - function from(MachineAsString, ExtraConstructorFields) { - const to_decorate = make(MachineAsString); - if (ExtraConstructorFields !== undefined) { - Object.keys(ExtraConstructorFields).map(key => to_decorate[key] = ExtraConstructorFields[key]); - } - return new Machine(to_decorate); - } - function is_hook_complex_result(hr) { - if (typeof hr === 'object') { - if (typeof hr.pass === 'boolean') { - return true; - } - } - return false; - } - function is_hook_rejection(hr) { - if (hr === true) { - return false; - } - if (hr === undefined) { - return false; - } - if (hr === false) { - return true; - } - if (is_hook_complex_result(hr)) { - return (!(hr.pass)); - } - throw new TypeError('unknown hook rejection type result'); - } - function abstract_hook_step(maybe_hook, hook_args) { - if (maybe_hook !== undefined) { - const result = maybe_hook(hook_args); - if (result === undefined) { - return { pass: true }; - } - if (result === true) { - return { pass: true }; - } - if (result === false) { - return { pass: false }; - } - if (is_hook_complex_result(result)) { - return result; - } - throw new TypeError(`Unknown hook result type ${result}`); - } - else { - return { pass: true }; - } - } - function deserialize(machine_string, ser) { - const machine = from(machine_string, { data: ser.data, history: ser.history_capacity }); - machine._state = ser.state; - ser.history.forEach(history_item => machine._history.push(history_item)); - return machine; - } + throw new JssmError(this, `should be impossible - flow doesn\'t know .set precedes .get yet again. severe error?'); + } + */ + } + }); + if (Array.isArray(property_definition)) { + property_definition.forEach(pr => { + this._property_keys.add(pr.name); + if (pr.hasOwnProperty('default_value')) { + this._default_properties.set(pr.name, pr.default_value); + } + if (pr.hasOwnProperty('required') && (pr.required === true)) { + this._required_properties.add(pr.name); + } + }); + } + if (Array.isArray(state_property)) { + state_property.forEach(sp => { + this._state_properties.set(sp.name, sp.default_value); + }); + } + // done building, do checks + // assert all props are valid + this._state_properties.forEach((_value, key) => { + const inside = JSON.parse(key); + if (Array.isArray(inside)) { + const j_property = inside[0]; + if (typeof j_property === 'string') { + const j_state = inside[1]; + if (typeof j_state === 'string') { + if (!(this.known_prop(j_property))) { + throw new JssmError(this, `State "${j_state}" has property "${j_property}" which is not globally declared`); + } + } + } + } + }); + // assert all required properties are serviced + this._required_properties.forEach(dp_key => { + if (this._default_properties.has(dp_key)) { + throw new JssmError(this, `The property "${dp_key}" is required, but also has a default; these conflict`); + } + this.states().forEach(s => { + const bound_name = name_bind_prop_and_state(dp_key, s); + if (!(this._state_properties.has(bound_name))) { + throw new JssmError(this, `State "${s}" is missing required property "${dp_key}"`); + } + }); + }); + // assert chosen starting state is valid + if (!(this.has_state(this.state()))) { + throw new JssmError(this, `Current start state "${this.state()}" does not exist`); + } + // assert all starting states are valid + start_states.forEach((ss, ssi) => { + if (!(this.has_state(ss))) { + throw new JssmError(this, `Start state ${ssi} "${ss}" does not exist`); + } + }); + // assert chosen starting state is valid + if (!(start_states.length === this._start_states.size)) { + throw new JssmError(this, `Start states cannot be repeated`); + } + } + /******** + * + * Internal method for fabricating states. Not meant for external use. + * + * @internal + * + */ + _new_state(state_config) { + if (this._states.has(state_config.name)) { + throw new JssmError(this, `state ${JSON.stringify(state_config.name)} already exists`); + } + this._states.set(state_config.name, state_config); + return state_config.name; + } + /********* + * + * Get the current state of a machine. + * + * ```typescript + * import * as jssm from 'jssm'; + * + * const lswitch = jssm.from('on <=> off;'); + * console.log( lswitch.state() ); // 'on' + * + * lswitch.transition('off'); + * console.log( lswitch.state() ); // 'off' + * ``` + * + * @typeparam mDT The type of the machine data member; usually omitted + * + */ + state() { + return this._state; + } + /********* + * + * Get the label for a given state, if any; return `undefined` otherwise. + * + * ```typescript + * import * as jssm from 'jssm'; + * + * const lswitch = jssm.from('a -> b; state a: { label: "Foo!"; };'); + * console.log( lswitch.label_for('a') ); // 'Foo!' + * console.log( lswitch.label_for('b') ); // undefined + * ``` + * + * See also {@link display_text}. + * + * @typeparam mDT The type of the machine data member; usually omitted + * + */ + label_for(state) { + return this._state_labels.get(state); + } + /********* + * + * Get whatever the node should show as text. + * + * Currently, this means to get the label for a given state, if any; + * otherwise to return the node's name. However, this definition is expected + * to grow with time, and it is currently considered ill-advised to manually + * parse this text. + * + * See also {@link label_for}. + * + * ```typescript + * import * as jssm from 'jssm'; + * + * const lswitch = jssm.from('a -> b; state a: { label: "Foo!"; };'); + * console.log( lswitch.display_text('a') ); // 'Foo!' + * console.log( lswitch.display_text('b') ); // 'b' + * ``` + * + * @typeparam mDT The type of the machine data member; usually omitted + * + */ + display_text(state) { + var _a; + return (_a = this._state_labels.get(state)) !== null && _a !== void 0 ? _a : state; + } + /********* + * + * Get the current data of a machine. + * + * ```typescript + * import * as jssm from 'jssm'; + * + * const lswitch = jssm.from('on <=> off;', {data: 1}); + * console.log( lswitch.data() ); // 1 + * ``` + * + * @typeparam mDT The type of the machine data member; usually omitted + * + */ + data() { + return this._data; + } + // NEEDS_DOCS + /********* + * + * Get the current value of a given property name. + * + * ```typescript + * + * ``` + * + * @param name The relevant property name to look up + * + * @returns The value behind the prop name. Because functional props are + * evaluated as getters, this can be anything. + * + */ + prop(name) { + const bound_name = name_bind_prop_and_state(name, this.state()); + if (this._state_properties.has(bound_name)) { + return this._state_properties.get(bound_name); + } + else if (this._default_properties.has(name)) { + return this._default_properties.get(name); + } + else { + return undefined; + } + } + // NEEDS_DOCS + /********* + * + * Get the current value of a given property name. If missing on the state + * and without a global default, throw, unlike {@link prop}, which would + * return `undefined` instead. + * + * ```typescript + * + * ``` + * + * @param name The relevant property name to look up + * + * @returns The value behind the prop name. Because functional props are + * evaluated as getters, this can be anything. + * + */ + strict_prop(name) { + const bound_name = name_bind_prop_and_state(name, this.state()); + if (this._state_properties.has(bound_name)) { + return this._state_properties.get(bound_name); + } + else if (this._default_properties.has(name)) { + return this._default_properties.get(name); + } + else { + throw new JssmError(this, `Strictly requested a prop '${name}' which doesn't exist on current state '${this.state()}' and has no default`); + } + } + // NEEDS_DOCS + // COMEBACK add prop_map, sparse_props and strict_props to doc text when implemented + /********* + * + * Get the current value of every prop, as an object. If no current definition + * exists for a prop - that is, if the prop was defined without a default and + * the current state also doesn't define the prop - then that prop will be listed + * in the returned object with a value of `undefined`. + * + * ```typescript + * const traffic_light = sm` + * + * property can_go default true; + * property hesitate default true; + * property stop_first default false; + * + * Off -> Red => Green => Yellow => Red; + * [Red Yellow Green] ~> [Off FlashingRed]; + * FlashingRed -> Red; + * + * state Red: { property stop_first true; property can_go false; }; + * state Off: { property stop_first true; }; + * state FlashingRed: { property stop_first true; }; + * state Green: { property hesitate false; }; + * + * `; + * + * traffic_light.state(); // Off + * traffic_light.props(); // { can_go: true, hesitate: true, stop_first: true; } + * + * traffic_light.go('Red'); + * traffic_light.props(); // { can_go: false, hesitate: true, stop_first: true; } + * + * traffic_light.go('Green'); + * traffic_light.props(); // { can_go: true, hesitate: false, stop_first: false; } + * ``` + * + */ + props() { + const ret = {}; + this.known_props().forEach(p => ret[p] = this.prop(p)); + return ret; + } + // NEEDS_DOCS + // TODO COMEBACK + /********* + * + * Get the current value of every prop, as an object. Compare + * {@link prop_map}, which returns a `Map`. + * + * ```typescript + * + * ``` + * + */ + // sparse_props(name: string): object { + // } + // NEEDS_DOCS + // TODO COMEBACK + /********* + * + * Get the current value of every prop, as an object. Compare + * {@link prop_map}, which returns a `Map`. Akin to {@link strict_prop}, + * this throws if a required prop is missing. + * + * ```typescript + * + * ``` + * + */ + // strict_props(name: string): object { + // } + /********* + * + * Check whether a given string is a known property's name. + * + * ```typescript + * const example = sm`property foo default 1; a->b;`; + * + * example.known_prop('foo'); // true + * example.known_prop('bar'); // false + * ``` + * + * @param prop_name The relevant property name to look up + * + */ + known_prop(prop_name) { + return this._property_keys.has(prop_name); + } + // NEEDS_DOCS + /********* + * + * List all known property names. If you'd also like values, use + * {@link props} instead. The order of the properties is not defined, and + * the properties generally will not be sorted. + * + * ```typescript + * ``` + * + */ + known_props() { + return [...this._property_keys]; + } + /******** + * + * Check whether a given state is a valid start state (either because it was + * explicitly named as such, or because it was the first mentioned state.) + * + * ```typescript + * import { sm, is_start_state } from 'jssm'; + * + * const example = sm`a -> b;`; + * + * console.log( final_test.is_start_state('a') ); // true + * console.log( final_test.is_start_state('b') ); // false + * + * const example = sm`start_states: [a b]; a -> b;`; + * + * console.log( final_test.is_start_state('a') ); // true + * console.log( final_test.is_start_state('b') ); // true + * ``` + * + * @typeparam mDT The type of the machine data member; usually omitted + * + * @param whichState The name of the state to check + * + */ + is_start_state(whichState) { + return this._start_states.has(whichState); + } + /******** + * + * Check whether a given state is a valid start state (either because it was + * explicitly named as such, or because it was the first mentioned state.) + * + * ```typescript + * import { sm, is_end_state } from 'jssm'; + * + * const example = sm`a -> b;`; + * + * console.log( final_test.is_start_state('a') ); // false + * console.log( final_test.is_start_state('b') ); // true + * + * const example = sm`end_states: [a b]; a -> b;`; + * + * console.log( final_test.is_start_state('a') ); // true + * console.log( final_test.is_start_state('b') ); // true + * ``` + * + * @typeparam mDT The type of the machine data member; usually omitted + * + * @param whichState The name of the state to check + * + */ + is_end_state(whichState) { + return this._end_states.has(whichState); + } + /******** + * + * Check whether a given state is final (either has no exits or is marked + * `complete`.) + * + * ```typescript + * import { sm, state_is_final } from 'jssm'; + * + * const final_test = sm`first -> second;`; + * + * console.log( final_test.state_is_final('first') ); // false + * console.log( final_test.state_is_final('second') ); // true + * ``` + * + * @typeparam mDT The type of the machine data member; usually omitted + * + * @param whichState The name of the state to check for finality + * + */ + state_is_final(whichState) { + return ((this.state_is_terminal(whichState)) || (this.state_is_complete(whichState))); + } + /******** + * + * Check whether the current state is final (either has no exits or is marked + * `complete`.) + * + * ```typescript + * import { sm, is_final } from 'jssm'; + * + * const final_test = sm`first -> second;`; + * + * console.log( final_test.is_final() ); // false + * state.transition('second'); + * console.log( final_test.is_final() ); // true + * ``` + * + */ + is_final() { + // return ((!this.is_changing()) && this.state_is_final(this.state())); + return this.state_is_final(this.state()); + } + /******** + * + * Serialize the current machine, including all defining state but not the + * machine string, to a structure. This means you will need the machine + * string to recreate (to not waste repeated space;) if you want the machine + * string embedded, call {@link serialize_with_string} instead. + * + * @typeparam mDT The type of the machine data member; usually omitted + * + */ + serialize(comment) { + return { + comment, + state: this._state, + data: this._data, + jssm_version: version, + history: this._history.toArray(), + history_capacity: this._history.capacity, + timestamp: new Date().getTime(), + }; + } + graph_layout() { + return this._graph_layout; + } + dot_preamble() { + return this._dot_preamble; + } + machine_author() { + return this._machine_author; + } + machine_comment() { + return this._machine_comment; + } + machine_contributor() { + return this._machine_contributor; + } + machine_definition() { + return this._machine_definition; + } + machine_language() { + return this._machine_language; + } + machine_license() { + return this._machine_license; + } + machine_name() { + return this._machine_name; + } + machine_version() { + return this._machine_version; + } + raw_state_declarations() { + return this._raw_state_declaration; + } + state_declaration(which) { + return this._state_declarations.get(which); + } + state_declarations() { + return this._state_declarations; + } + fsl_version() { + return this._fsl_version; + } + machine_state() { + return { + internal_state_impl_version: 1, + actions: this._actions, + edge_map: this._edge_map, + edges: this._edges, + named_transitions: this._named_transitions, + reverse_actions: this._reverse_actions, + // reverse_action_targets : this._reverse_action_targets, + state: this._state, + states: this._states + }; + } + /********* + * + * List all the states known by the machine. Please note that the order of + * these states is not guaranteed. + * + * ```typescript + * import * as jssm from 'jssm'; + * + * const lswitch = jssm.from('on <=> off;'); + * console.log( lswitch.states() ); // ['on', 'off'] + * ``` + * + * @typeparam mDT The type of the machine data member; usually omitted + * + */ + states() { + return Array.from(this._states.keys()); + } + state_for(whichState) { + const state = this._states.get(whichState); + if (state) { + return state; + } + else { + throw new JssmError(this, 'No such state', { requested_state: whichState }); + } + } + /********* + * + * Check whether the machine knows a given state. + * + * ```typescript + * import * as jssm from 'jssm'; + * + * const lswitch = jssm.from('on <=> off;'); + * + * console.log( lswitch.has_state('off') ); // true + * console.log( lswitch.has_state('dance') ); // false + * ``` + * + * @typeparam mDT The type of the machine data member; usually omitted + * + * @param whichState The state to be checked for extance + * + */ + has_state(whichState) { + return this._states.get(whichState) !== undefined; + } + /********* + * + * Lists all edges of a machine. + * + * ```typescript + * import { sm } from 'jssm'; + * + * const lswitch = sm`on 'toggle' <=> 'toggle' off;`; + * + * lswitch.list_edges(); + * [ + * { + * from: 'on', + * to: 'off', + * kind: 'main', + * forced_only: false, + * main_path: true, + * action: 'toggle' + * }, + * { + * from: 'off', + * to: 'on', + * kind: 'main', + * forced_only: false, + * main_path: true, + * action: 'toggle' + * } + * ] + * ``` + * + * @typeparam mDT The type of the machine data member; usually omitted + * + */ + list_edges() { + return this._edges; + } + list_named_transitions() { + return this._named_transitions; + } + list_actions() { + return Array.from(this._actions.keys()); + } + get uses_actions() { + return Array.from(this._actions.keys()).length > 0; + } + all_themes() { + return [...theme_mapping.keys()]; // constructor sets this to "default" otherwise + } + // This will always return an array of FSL themes; the reason we spuriously + // add the single type is that the setter and getter need matching accept/return + // types, and the setter can take both as a convenience + get themes() { + return this._themes; // constructor sets this to "default" otherwise + } + set themes(to) { + if (typeof to === 'string') { + this._themes = [to]; + } + else { + this._themes = to; + } + } + flow() { + return this._flow; + } + get_transition_by_state_names(from, to) { + const emg = this._edge_map.get(from); + if (emg) { + return emg.get(to); + } + else { + return undefined; + } + } + lookup_transition_for(from, to) { + const id = this.get_transition_by_state_names(from, to); + return ((id === undefined) || (id === null)) ? undefined : this._edges[id]; + } + /******** + * + * List all transitions attached to the current state, sorted by entrance and + * exit. The order of each sublist is not defined. A node could appear in + * both lists. + * + * ```typescript + * import { sm } from 'jssm'; + * + * const light = sm`red 'next' -> green 'next' -> yellow 'next' -> red; [red yellow green] 'shutdown' ~> off 'start' -> red;`; + * + * light.state(); // 'red' + * light.list_transitions(); // { entrances: [ 'yellow', 'off' ], exits: [ 'green', 'off' ] } + * ``` + * + * @typeparam mDT The type of the machine data member; usually omitted + * + * @param whichState The state whose transitions to have listed + * + */ + list_transitions(whichState = this.state()) { + return { entrances: this.list_entrances(whichState), exits: this.list_exits(whichState) }; + } + /******** + * + * List all entrances attached to the current state. Please note that the + * order of the list is not defined. + * + * ```typescript + * import { sm } from 'jssm'; + * + * const light = sm`red 'next' -> green 'next' -> yellow 'next' -> red; [red yellow green] 'shutdown' ~> off 'start' -> red;`; + * + * light.state(); // 'red' + * light.list_entrances(); // [ 'yellow', 'off' ] + * ``` + * + * @typeparam mDT The type of the machine data member; usually omitted + * + * @param whichState The state whose entrances to have listed + * + */ + list_entrances(whichState = this.state()) { + return (this._states.get(whichState) + || { from: undefined }).from + || []; + } + /******** + * + * List all exits attached to the current state. Please note that the order + * of the list is not defined. + * + * ```typescript + * import { sm } from 'jssm'; + * + * const light = sm`red 'next' -> green 'next' -> yellow 'next' -> red; [red yellow green] 'shutdown' ~> off 'start' -> red;`; + * + * light.state(); // 'red' + * light.list_exits(); // [ 'green', 'off' ] + * ``` + * + * @typeparam mDT The type of the machine data member; usually omitted + * + * @param whichState The state whose exits to have listed + * + */ + list_exits(whichState = this.state()) { + return (this._states.get(whichState) + || { to: undefined }).to + || []; + } + probable_exits_for(whichState) { + const wstate = this._states.get(whichState); + if (!(wstate)) { + throw new JssmError(this, `No such state ${JSON.stringify(whichState)} in probable_exits_for`); + } + const wstate_to = wstate.to, wtf // wstate_to_filtered -> wtf + = wstate_to + .map((ws) => this.lookup_transition_for(this.state(), ws)) + .filter(Boolean); + return wtf; + } + probabilistic_transition() { + const selected = weighted_rand_select(this.probable_exits_for(this.state())); + return this.transition(selected.to); + } + probabilistic_walk(n) { + return seq(n) + .map(() => { + const state_was = this.state(); + this.probabilistic_transition(); + return state_was; + }) + .concat([this.state()]); + } + probabilistic_histo_walk(n) { + return histograph(this.probabilistic_walk(n)); + } + /******** + * + * List all actions available from this state. Please note that the order of + * the actions is not guaranteed. + * + * ```typescript + * import { sm } from 'jssm'; + * + * const machine = sm` + * red 'next' -> green 'next' -> yellow 'next' -> red; + * [red yellow green] 'shutdown' ~> off 'start' -> red; + * `; + * + * console.log( machine.state() ); // logs 'red' + * console.log( machine.actions() ); // logs ['next', 'shutdown'] + * + * machine.action('next'); // true + * console.log( machine.state() ); // logs 'green' + * console.log( machine.actions() ); // logs ['next', 'shutdown'] + * + * machine.action('shutdown'); // true + * console.log( machine.state() ); // logs 'off' + * console.log( machine.actions() ); // logs ['start'] + * + * machine.action('start'); // true + * console.log( machine.state() ); // logs 'red' + * console.log( machine.actions() ); // logs ['next', 'shutdown'] + * ``` + * + * @typeparam mDT The type of the machine data member; usually omitted + * + * @param whichState The state whose actions to have listed + * + */ + actions(whichState = this.state()) { + const wstate = this._reverse_actions.get(whichState); + if (wstate) { + return Array.from(wstate.keys()); + } + else { + throw new JssmError(this, `No such state ${JSON.stringify(whichState)}`); + } + } + /******** + * + * List all states that have a specific action attached. Please note that + * the order of the states is not guaranteed. + * + * ```typescript + * import { sm } from 'jssm'; + * + * const machine = sm` + * red 'next' -> green 'next' -> yellow 'next' -> red; + * [red yellow green] 'shutdown' ~> off 'start' -> red; + * `; + * + * console.log( machine.list_states_having_action('next') ); // ['red', 'green', 'yellow'] + * console.log( machine.list_states_having_action('start') ); // ['off'] + * ``` + * + * @typeparam mDT The type of the machine data member; usually omitted + * + * @param whichState The action to be checked for associated states + * + */ + list_states_having_action(whichState) { + const wstate = this._actions.get(whichState); + if (wstate) { + return Array.from(wstate.keys()); + } + else { + throw new JssmError(this, `No such state ${JSON.stringify(whichState)}`); + } + } + // comeback + /* + list_entrance_actions(whichState: mNT = this.state() ) : Array { + return [... (this._reverse_action_targets.get(whichState) || new Map()).values()] // wasteful + .map( (edgeId:any) => (this._edges[edgeId] : any)) // whargarbl burn out any + .filter( (o:any) => o.to === whichState) + .map( filtered => filtered.from ); + } + */ + list_exit_actions(whichState = this.state()) { + const ra_base = this._reverse_actions.get(whichState); + if (!(ra_base)) { + throw new JssmError(this, `No such state ${JSON.stringify(whichState)}`); + } + return Array.from(ra_base.values()) + .map((edgeId) => this._edges[edgeId]) + .filter((o) => o.from === whichState) + .map((filtered) => filtered.action); + } + probable_action_exits(whichState = this.state()) { + const ra_base = this._reverse_actions.get(whichState); + if (!(ra_base)) { + throw new JssmError(this, `No such state ${JSON.stringify(whichState)}`); + } + return Array.from(ra_base.values()) + .map((edgeId) => this._edges[edgeId]) + .filter((o) => o.from === whichState) + .map((filtered) => ({ + action: filtered.action, + probability: filtered.probability + })); + } + // TODO FIXME test that is_unenterable on non-state throws + is_unenterable(whichState) { + if (!(this.has_state(whichState))) { + throw new JssmError(this, `No such state ${whichState}`); + } + return this.list_entrances(whichState).length === 0; + } + has_unenterables() { + return this.states().some((x) => this.is_unenterable(x)); + } + is_terminal() { + return this.state_is_terminal(this.state()); + } + // TODO FIXME test that state_is_terminal on non-state throws + state_is_terminal(whichState) { + if (!(this.has_state(whichState))) { + throw new JssmError(this, `No such state ${whichState}`); + } + return this.list_exits(whichState).length === 0; + } + has_terminals() { + return this.states().some((x) => this.state_is_terminal(x)); + } + is_complete() { + return this.state_is_complete(this.state()); + } + state_is_complete(whichState) { + const wstate = this._states.get(whichState); + if (wstate) { + return wstate.complete; + } + else { + throw new JssmError(this, `No such state ${JSON.stringify(whichState)}`); + } + } + has_completes() { + return this.states().some((x) => this.state_is_complete(x)); + } + // basic toolable hook call. convenience wrappers will follow, like + // hook(from, to, handler) and exit_hook(from, handler) and etc + set_hook(HookDesc) { + switch (HookDesc.kind) { + case 'hook': + this._hooks.set(hook_name(HookDesc.from, HookDesc.to), HookDesc.handler); + this._has_hooks = true; + this._has_basic_hooks = true; + break; + case 'named': + this._named_hooks.set(named_hook_name(HookDesc.from, HookDesc.to, HookDesc.action), HookDesc.handler); + this._has_hooks = true; + this._has_named_hooks = true; + break; + case 'global action': + this._global_action_hooks.set(HookDesc.action, HookDesc.handler); + this._has_hooks = true; + this._has_global_action_hooks = true; + break; + case 'any action': + this._any_action_hook = HookDesc.handler; + this._has_hooks = true; + break; + case 'standard transition': + this._standard_transition_hook = HookDesc.handler; + this._has_transition_hooks = true; + this._has_hooks = true; + break; + case 'main transition': + this._main_transition_hook = HookDesc.handler; + this._has_transition_hooks = true; + this._has_hooks = true; + break; + case 'forced transition': + this._forced_transition_hook = HookDesc.handler; + this._has_transition_hooks = true; + this._has_hooks = true; + break; + case 'any transition': + this._any_transition_hook = HookDesc.handler; + this._has_hooks = true; + break; + case 'entry': + this._entry_hooks.set(HookDesc.to, HookDesc.handler); + this._has_hooks = true; + this._has_entry_hooks = true; + break; + case 'exit': + this._exit_hooks.set(HookDesc.from, HookDesc.handler); + this._has_hooks = true; + this._has_exit_hooks = true; + break; + case 'post hook': + this._post_hooks.set(hook_name(HookDesc.from, HookDesc.to), HookDesc.handler); + this._has_post_hooks = true; + this._has_post_basic_hooks = true; + break; + case 'post named': + this._post_named_hooks.set(named_hook_name(HookDesc.from, HookDesc.to, HookDesc.action), HookDesc.handler); + this._has_post_hooks = true; + this._has_post_named_hooks = true; + break; + case 'post global action': + this._post_global_action_hooks.set(HookDesc.action, HookDesc.handler); + this._has_post_hooks = true; + this._has_post_global_action_hooks = true; + break; + case 'post any action': + this._post_any_action_hook = HookDesc.handler; + this._has_post_hooks = true; + break; + case 'post standard transition': + this._post_standard_transition_hook = HookDesc.handler; + this._has_post_transition_hooks = true; + this._has_post_hooks = true; + break; + case 'post main transition': + this._post_main_transition_hook = HookDesc.handler; + this._has_post_transition_hooks = true; + this._has_post_hooks = true; + break; + case 'post forced transition': + this._post_forced_transition_hook = HookDesc.handler; + this._has_post_transition_hooks = true; + this._has_post_hooks = true; + break; + case 'post any transition': + this._post_any_transition_hook = HookDesc.handler; + this._has_post_hooks = true; + break; + case 'post entry': + this._post_entry_hooks.set(HookDesc.to, HookDesc.handler); + this._has_post_entry_hooks = true; + this._has_post_hooks = true; + break; + case 'post exit': + this._post_exit_hooks.set(HookDesc.from, HookDesc.handler); + this._has_post_exit_hooks = true; + this._has_post_hooks = true; + break; + default: + throw new JssmError(this, `Unknown hook type ${HookDesc.kind}, should be impossible`); + } + } + hook(from, to, handler) { + this.set_hook({ kind: 'hook', from, to, handler }); + return this; + } + hook_action(from, to, action, handler) { + this.set_hook({ kind: 'named', from, to, action, handler }); + return this; + } + hook_global_action(action, handler) { + this.set_hook({ kind: 'global action', action, handler }); + return this; + } + hook_any_action(handler) { + this.set_hook({ kind: 'any action', handler }); + return this; + } + hook_standard_transition(handler) { + this.set_hook({ kind: 'standard transition', handler }); + return this; + } + hook_main_transition(handler) { + this.set_hook({ kind: 'main transition', handler }); + return this; + } + hook_forced_transition(handler) { + this.set_hook({ kind: 'forced transition', handler }); + return this; + } + hook_any_transition(handler) { + this.set_hook({ kind: 'any transition', handler }); + return this; + } + hook_entry(to, handler) { + this.set_hook({ kind: 'entry', to, handler }); + return this; + } + hook_exit(from, handler) { + this.set_hook({ kind: 'exit', from, handler }); + return this; + } + post_hook(from, to, handler) { + this.set_hook({ kind: 'post hook', from, to, handler }); + return this; + } + post_hook_action(from, to, action, handler) { + this.set_hook({ kind: 'post named', from, to, action, handler }); + return this; + } + post_hook_global_action(action, handler) { + this.set_hook({ kind: 'post global action', action, handler }); + return this; + } + post_hook_any_action(handler) { + this.set_hook({ kind: 'post any action', handler }); + return this; + } + post_hook_standard_transition(handler) { + this.set_hook({ kind: 'post standard transition', handler }); + return this; + } + post_hook_main_transition(handler) { + this.set_hook({ kind: 'post main transition', handler }); + return this; + } + post_hook_forced_transition(handler) { + this.set_hook({ kind: 'post forced transition', handler }); + return this; + } + post_hook_any_transition(handler) { + this.set_hook({ kind: 'post any transition', handler }); + return this; + } + post_hook_entry(to, handler) { + this.set_hook({ kind: 'post entry', to, handler }); + return this; + } + post_hook_exit(from, handler) { + this.set_hook({ kind: 'post exit', from, handler }); + return this; + } + // remove_hook(HookDesc: HookDescription) { + // throw new JssmError(this, 'TODO: Should remove hook here'); + // } + edges_between(from, to) { + return this._edges.filter(edge => ((edge.from === from) && (edge.to === to))); + } + transition_impl(newStateOrAction, newData, wasForced, wasAction) { + // TODO the forced-ness behavior needs to be cleaned up a lot here + // TODO all the callbacks are wrong on forced, action, etc + let valid = false, trans_type, newState, fromAction = undefined; + if (wasForced) { + if (this.valid_force_transition(newStateOrAction, newData)) { + valid = true; + trans_type = 'forced'; + newState = newStateOrAction; + } + } + else if (wasAction) { + if (this.valid_action(newStateOrAction, newData)) { + const edge = this.current_action_edge_for(newStateOrAction); + valid = true; + trans_type = edge.kind; + newState = edge.to; + fromAction = newStateOrAction; + } + } + else { + if (this.valid_transition(newStateOrAction, newData)) { + if (this._has_transition_hooks) { + trans_type = this.edges_between(this._state, newStateOrAction)[0].kind; // TODO this won't do the right thing if various edges have different types + } + valid = true; + newState = newStateOrAction; + } + } + const hook_args = { + data: this._data, + action: fromAction, + from: this._state, + to: newState, + forced: wasForced, + trans_type + }; + if (valid) { + if (this._has_hooks) { + function update_fields(res) { + if (res.hasOwnProperty('data')) { + hook_args.data = res.data; + data_changed = true; + } + } + let data_changed = false; + if (wasAction) { + // 1. any action hook + const outcome = abstract_hook_step(this._any_action_hook, hook_args); + if (outcome.pass === false) { + return false; + } + update_fields(outcome); + // 2. global specific action hook + const outcome2 = abstract_hook_step(this._global_action_hooks.get(newStateOrAction), hook_args); + if (outcome2.pass === false) { + return false; + } + update_fields(outcome2); + } + // 3. any transition hook + if (this._any_transition_hook !== undefined) { + const outcome = abstract_hook_step(this._any_transition_hook, hook_args); + if (outcome.pass === false) { + return false; + } + update_fields(outcome); + } + // 4. exit hook + if (this._has_exit_hooks) { + const outcome = abstract_hook_step(this._exit_hooks.get(this._state), hook_args); + if (outcome.pass === false) { + return false; + } + update_fields(outcome); + } + // 5. named transition / action hook + if (this._has_named_hooks) { + if (wasAction) { + const nhn = named_hook_name(this._state, newState, newStateOrAction), outcome = abstract_hook_step(this._named_hooks.get(nhn), hook_args); + if (outcome.pass === false) { + return false; + } + update_fields(outcome); + } + } + // 6. regular hook + if (this._has_basic_hooks) { + const hn = hook_name(this._state, newState), outcome = abstract_hook_step(this._hooks.get(hn), hook_args); + if (outcome.pass === false) { + return false; + } + update_fields(outcome); + } + // 7. edge type hook + // 7a. standard transition hook + if (trans_type === 'legal') { + const outcome = abstract_hook_step(this._standard_transition_hook, hook_args); + if (outcome.pass === false) { + return false; + } + update_fields(outcome); + } + // 7b. main type hook + if (trans_type === 'main') { + const outcome = abstract_hook_step(this._main_transition_hook, hook_args); + if (outcome.pass === false) { + return false; + } + update_fields(outcome); + } + // 7c. forced transition hook + if (trans_type === 'forced') { + const outcome = abstract_hook_step(this._forced_transition_hook, hook_args); + if (outcome.pass === false) { + return false; + } + update_fields(outcome); + } + // 8. entry hook + if (this._has_entry_hooks) { + const outcome = abstract_hook_step(this._entry_hooks.get(newState), hook_args); + if (outcome.pass === false) { + return false; + } + update_fields(outcome); + } + // all hooks passed! let's now establish the result + if (this._history_length) { + this._history.shove([this._state, this._data]); + } + this._state = newState; + if (data_changed) { + this._data = hook_args.data; + } + // success fallthrough to posthooks; intentionally no return here + // look for "posthooks begin here" + // or without hooks + } + else { + if (this._history_length) { + this._history.shove([this._state, this._data]); + } + this._state = newState; + // success fallthrough to posthooks; intentionally no return here + // look for "posthooks begin here" + } + // not valid + } + else { + return false; + } + // posthooks begin here + if (this._has_post_hooks) { + if (wasAction) { + // 1. any action posthook + if (this._post_any_action_hook !== undefined) { + this._post_any_action_hook(hook_args); + } + // 2. global specific action hook + const pgah = this._post_global_action_hooks.get(hook_args.action); + if (pgah !== undefined) { + pgah(hook_args); + } + } + // 3. any transition hook + if (this._post_any_transition_hook !== undefined) { + this._post_any_transition_hook(hook_args); + } + // 4. exit hook + if (this._has_post_exit_hooks) { + const peh = this._post_exit_hooks.get(hook_args.from); // todo this is probably from instead + if (peh !== undefined) { + peh(hook_args); + } + } + // 5. named transition / action hook + if (this._has_post_named_hooks) { + if (wasAction) { + const nhn = named_hook_name(hook_args.from, hook_args.to, hook_args.action), pnh = this._post_named_hooks.get(nhn); + if (pnh !== undefined) { + pnh(hook_args); + } + } + } + // 6. regular hook + if (this._has_post_basic_hooks) { + const hook = this._post_hooks.get(hook_name(hook_args.from, hook_args.to)); + if (hook !== undefined) { + hook(hook_args); + } + } + // 7. edge type hook + // 7a. standard transition hook + if (trans_type === 'legal') { + if (this._post_standard_transition_hook !== undefined) { + this._post_standard_transition_hook(hook_args); + } + } + // 7b. main type hook + if (trans_type === 'main') { + if (this._post_main_transition_hook !== undefined) { + this._post_main_transition_hook(hook_args); + } + } + // 7c. forced transition hook + if (trans_type === 'forced') { + if (this._post_forced_transition_hook !== undefined) { + this._post_forced_transition_hook(hook_args); + } + } + // 8. entry hook + if (this._has_post_entry_hooks) { + const hook = this._post_entry_hooks.get(hook_args.to); + if (hook !== undefined) { + hook(hook_args); + } + } + } + return true; + } + /********* + * + * Get a truncated history of the recent states and data of the machine. + * Turned off by default; configure with `.from('...', {data: 5})` by length, + * or set `.history_length` at runtime. + * + * History *does not contain the current state*. If you want that, call + * `.history_inclusive` instead. + * + * ```typescript + * const foo = jssm.from( + * "a 'next' -> b 'next' -> c 'next' -> d 'next' -> e;", + * { history: 3 } + * ); + * + * foo.action('next'); + * foo.action('next'); + * foo.action('next'); + * foo.action('next'); + * + * foo.history; // [ ['b',undefined], ['c',undefined], ['d',undefined] ] + * ``` + * + * Notice that the machine's current state, `e`, is not in the returned list. + * + * @typeparam mDT The type of the machine data member; usually omitted + * + */ + get history() { + return this._history.toArray(); + } + /********* + * + * Get a truncated history of the recent states and data of the machine, + * including the current state. Turned off by default; configure with + * `.from('...', {data: 5})` by length, or set `.history_length` at runtime. + * + * History inclusive contains the current state. If you only want past + * states, call `.history` instead. + * + * The list returned will be one longer than the history buffer kept, as the + * history buffer kept gets the current state added to it to produce this + * list. + * + * ```typescript + * const foo = jssm.from( + * "a 'next' -> b 'next' -> c 'next' -> d 'next' -> e;", + * { history: 3 } + * ); + * + * foo.action('next'); + * foo.action('next'); + * foo.action('next'); + * foo.action('next'); + * + * foo.history_inclusive; // [ ['b',undefined], ['c',undefined], ['d',undefined], ['e',undefined] ] + * ``` + * + * Notice that the machine's current state, `e`, is in the returned list. + * + * @typeparam mDT The type of the machine data member; usually omitted + * + */ + get history_inclusive() { + const ret = this._history.toArray(); + ret.push([this.state(), this.data()]); + return ret; + } + /********* + * + * Find out how long a history this machine is keeping. Defaults to zero. + * Settable directly. + * + * ```typescript + * const foo = jssm.from("a -> b;"); + * foo.history_length; // 0 + * + * const bar = jssm.from("a -> b;", { history: 3 }); + * foo.history_length; // 3 + * foo.history_length = 5; + * foo.history_length; // 5 + * ``` + * + * @typeparam mDT The type of the machine data member; usually omitted + * + */ + get history_length() { + return this._history_length; + } + set history_length(to) { + this._history_length = to; + this._history.resize(to, true); + } + /******** + * + * Instruct the machine to complete an action. Synonym for {@link do}. + * + * ```typescript + * const light = sm`red 'next' -> green 'next' -> yellow 'next' -> red; [red yellow green] 'shutdown' ~> off 'start' -> red;`; + * + * light.state(); // 'red' + * light.action('next'); // true + * light.state(); // 'green' + * ``` + * + * @typeparam mDT The type of the machine data member; usually omitted + * + * @param actionName The action to engage + * + * @param newData The data change to insert during the action + * + */ + action(actionName, newData) { + return this.transition_impl(actionName, newData, false, true); + } + /******** + * + * Get the standard style for a single state. ***Does not*** include + * composition from an applied theme, or things from the underlying base + * stylesheet; only the modifications applied by this machine. + * + * ```typescript + * const light = sm`a -> b;`; + * console.log(light.standard_state_style); + * // {} + * + * const light = sm`a -> b; state: { shape: circle; };`; + * console.log(light.standard_state_style); + * // { shape: 'circle' } + * ``` + * + * @typeparam mDT The type of the machine data member; usually omitted + * + */ + get standard_state_style() { + return this._state_style; + } + /******** + * + * Get the hooked state style. ***Does not*** include + * composition from an applied theme, or things from the underlying base + * stylesheet; only the modifications applied by this machine. + * + * The hooked style is only applied to nodes which have a named hook in the + * graph. Open hooks set through the external API aren't graphed, because + * that would be literally every node. + * + * ```typescript + * const light = sm`a -> b;`; + * console.log(light.hooked_state_style); + * // {} + * + * const light = sm`a -> b; hooked_state: { shape: circle; };`; + * console.log(light.hooked_state_style); + * // { shape: 'circle' } + * ``` + * + * @typeparam mDT The type of the machine data member; usually omitted + * + */ + get hooked_state_style() { + return this._hooked_state_style; + } + /******** + * + * Get the start state style. ***Does not*** include composition from an + * applied theme, or things from the underlying base stylesheet; only the + * modifications applied by this machine. + * + * Start states are defined by the directive `start_states`, or in absentia, + * are the first mentioned state. + * + * ```typescript + * const light = sm`a -> b;`; + * console.log(light.start_state_style); + * // {} + * + * const light = sm`a -> b; start_state: { shape: circle; };`; + * console.log(light.start_state_style); + * // { shape: 'circle' } + * ``` + * + * @typeparam mDT The type of the machine data member; usually omitted + * + */ + get start_state_style() { + return this._start_state_style; + } + /******** + * + * Get the end state style. ***Does not*** include + * composition from an applied theme, or things from the underlying base + * stylesheet; only the modifications applied by this machine. + * + * End states are defined in the directive `end_states`, and are distinct + * from terminal states. End states are voluntary successful endpoints for a + * process. Terminal states are states that cannot be exited. By example, + * most error states are terminal states, but not end states. Also, since + * some end states can be exited and are determined by hooks, such as + * recursive or iterative nodes, there is such a thing as an end state that + * is not a terminal state. + * + * ```typescript + * const light = sm`a -> b;`; + * console.log(light.standard_state_style); + * // {} + * + * const light = sm`a -> b; end_state: { shape: circle; };`; + * console.log(light.standard_state_style); + * // { shape: 'circle' } + * ``` + * + * @typeparam mDT The type of the machine data member; usually omitted + * + */ + get end_state_style() { + return this._end_state_style; + } + /******** + * + * Get the terminal state style. ***Does not*** include + * composition from an applied theme, or things from the underlying base + * stylesheet; only the modifications applied by this machine. + * + * Terminal state styles are automatically determined by the machine. Any + * state without a valid exit transition is terminal. + * + * ```typescript + * const light = sm`a -> b;`; + * console.log(light.terminal_state_style); + * // {} + * + * const light = sm`a -> b; terminal_state: { shape: circle; };`; + * console.log(light.terminal_state_style); + * // { shape: 'circle' } + * ``` + * + * @typeparam mDT The type of the machine data member; usually omitted + * + */ + get terminal_state_style() { + return this._terminal_state_style; + } + /******** + * + * Get the style for the active state. ***Does not*** include + * composition from an applied theme, or things from the underlying base + * stylesheet; only the modifications applied by this machine. + * + * ```typescript + * const light = sm`a -> b;`; + * console.log(light.active_state_style); + * // {} + * + * const light = sm`a -> b; active_state: { shape: circle; };`; + * console.log(light.active_state_style); + * // { shape: 'circle' } + * ``` + * + * @typeparam mDT The type of the machine data member; usually omitted + * + */ + get active_state_style() { + return this._active_state_style; + } + /* + */ + // TODO COMEBACK IMPLEMENTME FIXME + // has_hooks(state: StateType): false { + // return false; + // } + /******** + * + * Gets the composite style for a specific node by individually imposing the + * style layers on a given object, after determining which layers are + * appropriate. + * + * The order of composition is base, then theme, then user content. Each + * item in the stack will be composited independently. First, the base state + * style, then the theme state style, then the user state style. + * + * After the three state styles, we'll composite the hooked styles; then the + * terminal styles; then the start styles; then the end styles; finally, the + * active styles. Remember, last wins. + * + * The base state style must exist. All other styles are optional. + * + * @typeparam mDT The type of the machine data member; usually omitted + * + */ + style_for(state) { + // first look up the themes + const themes = []; + this._themes.forEach(th => { + const theme_impl = theme_mapping.get(th); + if (theme_impl !== undefined) { + themes.push(theme_impl); + } + }); + // basic state style + const layers = [base_theme.state]; + themes.reverse().map(theme => { + if (theme.state) { + layers.push(theme.state); + } + }); + if (this._state_style) { + layers.push(this._state_style); + } + // hooked state style + // if (this.has_hooks(state)) { + // layers.push(base_theme.hooked); + // themes.map(theme => { + // if (theme.hooked) { layers.push(theme.hooked); } + // }); + // if (this._hooked_state_style) { layers.push(this._hooked_state_style); } + // } + // terminal state style + if (this.state_is_terminal(state)) { + layers.push(base_theme.terminal); + themes.map(theme => { + if (theme.terminal) { + layers.push(theme.terminal); + } + }); + if (this._terminal_state_style) { + layers.push(this._terminal_state_style); + } + } + // start state style + if (this.is_start_state(state)) { + layers.push(base_theme.start); + themes.map(theme => { + if (theme.start) { + layers.push(theme.start); + } + }); + if (this._start_state_style) { + layers.push(this._start_state_style); + } + } + // end state style + if (this.is_end_state(state)) { + layers.push(base_theme.end); + themes.map(theme => { + if (theme.end) { + layers.push(theme.end); + } + }); + if (this._end_state_style) { + layers.push(this._end_state_style); + } + } + // active state style + if (this.state() === state) { + layers.push(base_theme.active); + themes.map(theme => { + if (theme.active) { + layers.push(theme.active); + } + }); + if (this._active_state_style) { + layers.push(this._active_state_style); + } + } + const individual_style = {}, decl = this._state_declarations.get(state); + individual_style.color = decl === null || decl === void 0 ? void 0 : decl.color; + individual_style.textColor = decl === null || decl === void 0 ? void 0 : decl.textColor; + individual_style.borderColor = decl === null || decl === void 0 ? void 0 : decl.borderColor; + individual_style.backgroundColor = decl === null || decl === void 0 ? void 0 : decl.backgroundColor; + individual_style.lineStyle = decl === null || decl === void 0 ? void 0 : decl.lineStyle; + individual_style.corners = decl === null || decl === void 0 ? void 0 : decl.corners; + individual_style.shape = decl === null || decl === void 0 ? void 0 : decl.shape; + layers.push(individual_style); + return layers.reduce((acc, cur) => { + const composite_state = acc; + Object.keys(cur).forEach(key => { var _a; return composite_state[key] = (_a = cur[key]) !== null && _a !== void 0 ? _a : composite_state[key]; }); + return composite_state; + }, {}); + } + /******** + * + * Instruct the machine to complete an action. Synonym for {@link action}. + * + * ```typescript + * const light = sm` + * off 'start' -> red; + * red 'next' -> green 'next' -> yellow 'next' -> red; + * [red yellow green] 'shutdown' ~> off; + * `; + * + * light.state(); // 'off' + * light.do('start'); // true + * light.state(); // 'red' + * light.do('next'); // true + * light.state(); // 'green' + * light.do('next'); // true + * light.state(); // 'yellow' + * light.do('dance'); // !! false - no such action + * light.state(); // 'yellow' + * light.do('start'); // !! false - yellow does not have the action start + * light.state(); // 'yellow' + * ``` + * + * @typeparam mDT The type of the machine data member; usually omitted + * + * @param actionName The action to engage + * + * @param newData The data change to insert during the action + * + */ + do(actionName, newData) { + return this.transition_impl(actionName, newData, false, true); + } + /******** + * + * Instruct the machine to complete a transition. Synonym for {@link go}. + * + * ```typescript + * const light = sm` + * off 'start' -> red; + * red 'next' -> green 'next' -> yellow 'next' -> red; + * [red yellow green] 'shutdown' ~> off; + * `; + * + * light.state(); // 'off' + * light.go('red'); // true + * light.state(); // 'red' + * light.go('green'); // true + * light.state(); // 'green' + * light.go('blue'); // !! false - no such state + * light.state(); // 'green' + * light.go('red'); // !! false - green may not go directly to red, only to yellow + * light.state(); // 'green' + * ``` + * + * @typeparam mDT The type of the machine data member; usually omitted + * + * @param newState The state to switch to + * + * @param newData The data change to insert during the transition + * + */ + transition(newState, newData) { + return this.transition_impl(newState, newData, false, false); + } + /******** + * + * Instruct the machine to complete a transition. Synonym for {@link transition}. + * + * ```typescript + * const light = sm`red -> green -> yellow -> red; [red yellow green] 'shutdown' ~> off 'start' -> red;`; + * + * light.state(); // 'red' + * light.go('green'); // true + * light.state(); // 'green' + * ``` + * + * @typeparam mDT The type of the machine data member; usually omitted + * + * @param newState The state to switch to + * + * @param newData The data change to insert during the transition + * + */ + go(newState, newData) { + return this.transition_impl(newState, newData, false, false); + } + /******** + * + * Instruct the machine to complete a forced transition (which will reject if + * called with a normal {@link transition} call.) + * + * ```typescript + * const light = sm`red -> green -> yellow -> red; [red yellow green] 'shutdown' ~> off 'start' -> red;`; + * + * light.state(); // 'red' + * light.transition('off'); // false + * light.state(); // 'red' + * light.force_transition('off'); // true + * light.state(); // 'off' + * ``` + * + * @typeparam mDT The type of the machine data member; usually omitted + * + * @param newState The state to switch to + * + * @param newData The data change to insert during the transition + * + */ + force_transition(newState, newData) { + return this.transition_impl(newState, newData, true, false); + } + current_action_for(action) { + const action_base = this._actions.get(action); + return action_base + ? action_base.get(this.state()) + : undefined; + } + current_action_edge_for(action) { + const idx = this.current_action_for(action); + if ((idx === undefined) || (idx === null)) { + throw new JssmError(this, `No such action ${JSON.stringify(action)}`); + } + return this._edges[idx]; + } + valid_action(action, _newData) { + // todo whargarbl implement data stuff + // todo major incomplete whargarbl comeback + return this.current_action_for(action) !== undefined; + } + valid_transition(newState, _newData) { + // todo whargarbl implement data stuff + // todo major incomplete whargarbl comeback + const transition_for = this.lookup_transition_for(this.state(), newState); + if (!(transition_for)) { + return false; + } + if (transition_for.forced_only) { + return false; + } + return true; + } + valid_force_transition(newState, _newData) { + // todo whargarbl implement data stuff + // todo major incomplete whargarbl comeback + return (this.lookup_transition_for(this.state(), newState) !== undefined); + } + instance_name() { + return this._instance_name; + } + /* eslint-disable no-use-before-define */ + /* eslint-disable class-methods-use-this */ + sm(template_strings, ...remainder /* , arguments */) { + return sm(template_strings, ...remainder); + } + } + /********* + * + * Create a state machine from a template string. This is one of the two main + * paths for working with JSSM, alongside {@link from}. + * + * Use this method when you want to work directly and conveniently with a + * constant template expression. Use `.from` when you want to pull from + * dynamic strings. + * + * + * ```typescript + * import * as jssm from 'jssm'; + * + * const lswitch = jssm.from('on <=> off;'); + * ``` + * + * @typeparam mDT The type of the machine data member; usually omitted + * + * @param template_strings The assembled code + * + * @param remainder The mechanic for template argument insertion + * + */ + function sm(template_strings, ...remainder /* , arguments */) { + // foo`a${1}b${2}c` will come in as (['a','b','c'],1,2) + // this includes when a and c are empty strings + // therefore template_strings will always have one more el than template_args + // therefore map the smaller container and toss the last one on on the way out + return new Machine(make(template_strings.reduce( + // in general avoiding `arguments` is smart. however with the template + // string notation, as designed, it's not really worth the hassle + /* eslint-disable prefer-rest-params */ + (acc, val, idx) => `${acc}${remainder[idx - 1]}${val}` // arguments[0] is never loaded, so args doesn't need to be gated + /* eslint-enable prefer-rest-params */ + ))); + } + /********* + * + * Create a state machine from an implementation string. This is one of the + * two main paths for working with JSSM, alongside {@link sm}. + * + * Use this method when you want to conveniently pull a state machine from a + * string dynamically. Use operator `sm` when you just want to work with a + * template expression. + * + * ```typescript + * import * as jssm from 'jssm'; + * + * const lswitch = jssm.from('on <=> off;'); + * ``` + * + * @typeparam mDT The type of the machine data member; usually omitted + * + * @param MachineAsString The FSL code to evaluate + * + * @param ExtraConstructorFields Extra non-code configuration to pass at creation time + * + */ + function from(MachineAsString, ExtraConstructorFields) { + const to_decorate = make(MachineAsString); + if (ExtraConstructorFields !== undefined) { + Object.keys(ExtraConstructorFields).map(key => to_decorate[key] = ExtraConstructorFields[key]); + } + return new Machine(to_decorate); + } + function is_hook_complex_result(hr) { + if (typeof hr === 'object') { + if (typeof hr.pass === 'boolean') { + return true; + } + } + return false; + } + function is_hook_rejection(hr) { + if (hr === true) { + return false; + } + if (hr === undefined) { + return false; + } + if (hr === false) { + return true; + } + if (is_hook_complex_result(hr)) { + return (!(hr.pass)); + } + throw new TypeError('unknown hook rejection type result'); + } + function abstract_hook_step(maybe_hook, hook_args) { + if (maybe_hook !== undefined) { + const result = maybe_hook(hook_args); + if (result === undefined) { + return { pass: true }; + } + if (result === true) { + return { pass: true }; + } + if (result === false) { + return { pass: false }; + } + if (is_hook_complex_result(result)) { + return result; + } + throw new TypeError(`Unknown hook result type ${result}`); + } + else { + return { pass: true }; + } + } + function deserialize(machine_string, ser) { + const machine = from(machine_string, { data: ser.data, history: ser.history_capacity }); + machine._state = ser.state; + ser.history.forEach(history_item => machine._history.push(history_item)); + return machine; + } - exports.FslDirections = FslDirections; - exports.Machine = Machine; - exports.abstract_hook_step = abstract_hook_step; - exports.arrow_direction = arrow_direction; - exports.arrow_left_kind = arrow_left_kind; - exports.arrow_right_kind = arrow_right_kind; - exports.build_time = build_time; - exports.compile = compile; - exports.constants = constants; - exports.deserialize = deserialize; - exports.find_repeated = find_repeated; - exports.from = from; - exports.gviz_shapes = gviz_shapes; - exports.histograph = histograph; - exports.is_hook_complex_result = is_hook_complex_result; - exports.is_hook_rejection = is_hook_rejection; - exports.make = make; - exports.named_colors = named_colors; - exports.parse = wrap_parse; - exports.seq = seq; - exports.shapes = shapes; - exports.sm = sm; - exports.state_style_condense = state_style_condense; - exports.transfer_state_properties = transfer_state_properties; - exports.unique = unique; - exports.version = version; - exports.weighted_histo_key = weighted_histo_key; - exports.weighted_rand_select = weighted_rand_select; - exports.weighted_sample_select = weighted_sample_select; + exports.FslDirections = FslDirections; + exports.Machine = Machine; + exports.abstract_hook_step = abstract_hook_step; + exports.arrow_direction = arrow_direction; + exports.arrow_left_kind = arrow_left_kind; + exports.arrow_right_kind = arrow_right_kind; + exports.build_time = build_time; + exports.compile = compile; + exports.constants = constants; + exports.deserialize = deserialize; + exports.find_repeated = find_repeated; + exports.from = from; + exports.gviz_shapes = gviz_shapes; + exports.histograph = histograph; + exports.is_hook_complex_result = is_hook_complex_result; + exports.is_hook_rejection = is_hook_rejection; + exports.make = make; + exports.named_colors = named_colors; + exports.parse = wrap_parse; + exports.seq = seq; + exports.shapes = shapes; + exports.sm = sm; + exports.state_style_condense = state_style_condense; + exports.transfer_state_properties = transfer_state_properties; + exports.unique = unique; + exports.version = version; + exports.weighted_histo_key = weighted_histo_key; + exports.weighted_rand_select = weighted_rand_select; + exports.weighted_sample_select = weighted_sample_select; - Object.defineProperty(exports, '__esModule', { value: true }); + Object.defineProperty(exports, '__esModule', { value: true }); - return exports; + return exports; })({}); diff --git a/docs/docs/assets/search.js b/docs/docs/assets/search.js index 1e5af4ad..86407397 100644 --- a/docs/docs/assets/search.js +++ b/docs/docs/assets/search.js @@ -1 +1 @@ -window.searchData = JSON.parse("{\"kinds\":{\"2\":\"Module\",\"4\":\"Namespace\",\"32\":\"Variable\",\"64\":\"Function\",\"128\":\"Class\",\"512\":\"Constructor\",\"1024\":\"Property\",\"2048\":\"Method\",\"65536\":\"Type literal\",\"262144\":\"Accessor\",\"4194304\":\"Type alias\",\"16777216\":\"Reference\"},\"rows\":[{\"id\":0,\"kind\":2,\"name\":\"jssm\",\"url\":\"modules/jssm.html\",\"classes\":\"tsd-kind-module\"},{\"id\":1,\"kind\":64,\"name\":\"transfer_state_properties\",\"url\":\"modules/jssm.html#transfer_state_properties\",\"classes\":\"tsd-kind-function tsd-parent-kind-module\",\"parent\":\"jssm\"},{\"id\":2,\"kind\":128,\"name\":\"Machine\",\"url\":\"classes/jssm.Machine.html\",\"classes\":\"tsd-kind-class tsd-parent-kind-module tsd-has-type-parameter\",\"parent\":\"jssm\"},{\"id\":3,\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/jssm.Machine.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class tsd-has-type-parameter\",\"parent\":\"jssm.Machine\"},{\"id\":4,\"kind\":1024,\"name\":\"_state\",\"url\":\"classes/jssm.Machine.html#_state\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":5,\"kind\":1024,\"name\":\"_states\",\"url\":\"classes/jssm.Machine.html#_states\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":6,\"kind\":1024,\"name\":\"_edges\",\"url\":\"classes/jssm.Machine.html#_edges\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":7,\"kind\":1024,\"name\":\"_edge_map\",\"url\":\"classes/jssm.Machine.html#_edge_map\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":8,\"kind\":1024,\"name\":\"_named_transitions\",\"url\":\"classes/jssm.Machine.html#_named_transitions\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":9,\"kind\":1024,\"name\":\"_actions\",\"url\":\"classes/jssm.Machine.html#_actions\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":10,\"kind\":1024,\"name\":\"_reverse_actions\",\"url\":\"classes/jssm.Machine.html#_reverse_actions\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":11,\"kind\":1024,\"name\":\"_reverse_action_targets\",\"url\":\"classes/jssm.Machine.html#_reverse_action_targets\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":12,\"kind\":1024,\"name\":\"_start_states\",\"url\":\"classes/jssm.Machine.html#_start_states\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":13,\"kind\":1024,\"name\":\"_end_states\",\"url\":\"classes/jssm.Machine.html#_end_states\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":14,\"kind\":1024,\"name\":\"_machine_author\",\"url\":\"classes/jssm.Machine.html#_machine_author\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":15,\"kind\":1024,\"name\":\"_machine_comment\",\"url\":\"classes/jssm.Machine.html#_machine_comment\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":16,\"kind\":1024,\"name\":\"_machine_contributor\",\"url\":\"classes/jssm.Machine.html#_machine_contributor\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":17,\"kind\":1024,\"name\":\"_machine_definition\",\"url\":\"classes/jssm.Machine.html#_machine_definition\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":18,\"kind\":1024,\"name\":\"_machine_language\",\"url\":\"classes/jssm.Machine.html#_machine_language\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":19,\"kind\":1024,\"name\":\"_machine_license\",\"url\":\"classes/jssm.Machine.html#_machine_license\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":20,\"kind\":1024,\"name\":\"_machine_name\",\"url\":\"classes/jssm.Machine.html#_machine_name\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":21,\"kind\":1024,\"name\":\"_machine_version\",\"url\":\"classes/jssm.Machine.html#_machine_version\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":22,\"kind\":1024,\"name\":\"_fsl_version\",\"url\":\"classes/jssm.Machine.html#_fsl_version\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":23,\"kind\":1024,\"name\":\"_raw_state_declaration\",\"url\":\"classes/jssm.Machine.html#_raw_state_declaration\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":24,\"kind\":1024,\"name\":\"_state_declarations\",\"url\":\"classes/jssm.Machine.html#_state_declarations\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":25,\"kind\":1024,\"name\":\"_instance_name\",\"url\":\"classes/jssm.Machine.html#_instance_name\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":26,\"kind\":1024,\"name\":\"_data\",\"url\":\"classes/jssm.Machine.html#_data\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":27,\"kind\":1024,\"name\":\"_graph_layout\",\"url\":\"classes/jssm.Machine.html#_graph_layout\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":28,\"kind\":1024,\"name\":\"_dot_preamble\",\"url\":\"classes/jssm.Machine.html#_dot_preamble\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":29,\"kind\":1024,\"name\":\"_arrange_declaration\",\"url\":\"classes/jssm.Machine.html#_arrange_declaration\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":30,\"kind\":1024,\"name\":\"_arrange_start_declaration\",\"url\":\"classes/jssm.Machine.html#_arrange_start_declaration\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":31,\"kind\":1024,\"name\":\"_arrange_end_declaration\",\"url\":\"classes/jssm.Machine.html#_arrange_end_declaration\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":32,\"kind\":1024,\"name\":\"_themes\",\"url\":\"classes/jssm.Machine.html#_themes\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":33,\"kind\":1024,\"name\":\"_flow\",\"url\":\"classes/jssm.Machine.html#_flow\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":34,\"kind\":1024,\"name\":\"_has_hooks\",\"url\":\"classes/jssm.Machine.html#_has_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":35,\"kind\":1024,\"name\":\"_has_basic_hooks\",\"url\":\"classes/jssm.Machine.html#_has_basic_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":36,\"kind\":1024,\"name\":\"_has_named_hooks\",\"url\":\"classes/jssm.Machine.html#_has_named_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":37,\"kind\":1024,\"name\":\"_has_entry_hooks\",\"url\":\"classes/jssm.Machine.html#_has_entry_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":38,\"kind\":1024,\"name\":\"_has_exit_hooks\",\"url\":\"classes/jssm.Machine.html#_has_exit_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":39,\"kind\":1024,\"name\":\"_has_global_action_hooks\",\"url\":\"classes/jssm.Machine.html#_has_global_action_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":40,\"kind\":1024,\"name\":\"_has_transition_hooks\",\"url\":\"classes/jssm.Machine.html#_has_transition_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":41,\"kind\":1024,\"name\":\"_hooks\",\"url\":\"classes/jssm.Machine.html#_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":42,\"kind\":1024,\"name\":\"_named_hooks\",\"url\":\"classes/jssm.Machine.html#_named_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":43,\"kind\":1024,\"name\":\"_entry_hooks\",\"url\":\"classes/jssm.Machine.html#_entry_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":44,\"kind\":1024,\"name\":\"_exit_hooks\",\"url\":\"classes/jssm.Machine.html#_exit_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":45,\"kind\":1024,\"name\":\"_global_action_hooks\",\"url\":\"classes/jssm.Machine.html#_global_action_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":46,\"kind\":1024,\"name\":\"_any_action_hook\",\"url\":\"classes/jssm.Machine.html#_any_action_hook\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":47,\"kind\":1024,\"name\":\"_standard_transition_hook\",\"url\":\"classes/jssm.Machine.html#_standard_transition_hook\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":48,\"kind\":1024,\"name\":\"_main_transition_hook\",\"url\":\"classes/jssm.Machine.html#_main_transition_hook\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":49,\"kind\":1024,\"name\":\"_forced_transition_hook\",\"url\":\"classes/jssm.Machine.html#_forced_transition_hook\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":50,\"kind\":1024,\"name\":\"_any_transition_hook\",\"url\":\"classes/jssm.Machine.html#_any_transition_hook\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":51,\"kind\":1024,\"name\":\"_has_post_hooks\",\"url\":\"classes/jssm.Machine.html#_has_post_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":52,\"kind\":1024,\"name\":\"_has_post_basic_hooks\",\"url\":\"classes/jssm.Machine.html#_has_post_basic_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":53,\"kind\":1024,\"name\":\"_has_post_named_hooks\",\"url\":\"classes/jssm.Machine.html#_has_post_named_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":54,\"kind\":1024,\"name\":\"_has_post_entry_hooks\",\"url\":\"classes/jssm.Machine.html#_has_post_entry_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":55,\"kind\":1024,\"name\":\"_has_post_exit_hooks\",\"url\":\"classes/jssm.Machine.html#_has_post_exit_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":56,\"kind\":1024,\"name\":\"_has_post_global_action_hooks\",\"url\":\"classes/jssm.Machine.html#_has_post_global_action_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":57,\"kind\":1024,\"name\":\"_has_post_transition_hooks\",\"url\":\"classes/jssm.Machine.html#_has_post_transition_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":58,\"kind\":1024,\"name\":\"_post_hooks\",\"url\":\"classes/jssm.Machine.html#_post_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":59,\"kind\":1024,\"name\":\"_post_named_hooks\",\"url\":\"classes/jssm.Machine.html#_post_named_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":60,\"kind\":1024,\"name\":\"_post_entry_hooks\",\"url\":\"classes/jssm.Machine.html#_post_entry_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":61,\"kind\":1024,\"name\":\"_post_exit_hooks\",\"url\":\"classes/jssm.Machine.html#_post_exit_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":62,\"kind\":1024,\"name\":\"_post_global_action_hooks\",\"url\":\"classes/jssm.Machine.html#_post_global_action_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":63,\"kind\":1024,\"name\":\"_post_any_action_hook\",\"url\":\"classes/jssm.Machine.html#_post_any_action_hook\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":64,\"kind\":1024,\"name\":\"_post_standard_transition_hook\",\"url\":\"classes/jssm.Machine.html#_post_standard_transition_hook\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":65,\"kind\":1024,\"name\":\"_post_main_transition_hook\",\"url\":\"classes/jssm.Machine.html#_post_main_transition_hook\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":66,\"kind\":1024,\"name\":\"_post_forced_transition_hook\",\"url\":\"classes/jssm.Machine.html#_post_forced_transition_hook\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":67,\"kind\":1024,\"name\":\"_post_any_transition_hook\",\"url\":\"classes/jssm.Machine.html#_post_any_transition_hook\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":68,\"kind\":1024,\"name\":\"_property_keys\",\"url\":\"classes/jssm.Machine.html#_property_keys\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":69,\"kind\":1024,\"name\":\"_default_properties\",\"url\":\"classes/jssm.Machine.html#_default_properties\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":70,\"kind\":1024,\"name\":\"_state_properties\",\"url\":\"classes/jssm.Machine.html#_state_properties\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":71,\"kind\":1024,\"name\":\"_required_properties\",\"url\":\"classes/jssm.Machine.html#_required_properties\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":72,\"kind\":1024,\"name\":\"_history\",\"url\":\"classes/jssm.Machine.html#_history\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":73,\"kind\":1024,\"name\":\"_history_length\",\"url\":\"classes/jssm.Machine.html#_history_length\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":74,\"kind\":1024,\"name\":\"_state_style\",\"url\":\"classes/jssm.Machine.html#_state_style\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":75,\"kind\":1024,\"name\":\"_active_state_style\",\"url\":\"classes/jssm.Machine.html#_active_state_style\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":76,\"kind\":1024,\"name\":\"_hooked_state_style\",\"url\":\"classes/jssm.Machine.html#_hooked_state_style\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":77,\"kind\":1024,\"name\":\"_terminal_state_style\",\"url\":\"classes/jssm.Machine.html#_terminal_state_style\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":78,\"kind\":1024,\"name\":\"_start_state_style\",\"url\":\"classes/jssm.Machine.html#_start_state_style\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":79,\"kind\":1024,\"name\":\"_end_state_style\",\"url\":\"classes/jssm.Machine.html#_end_state_style\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":80,\"kind\":1024,\"name\":\"_state_labels\",\"url\":\"classes/jssm.Machine.html#_state_labels\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":81,\"kind\":2048,\"name\":\"_new_state\",\"url\":\"classes/jssm.Machine.html#_new_state\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":82,\"kind\":2048,\"name\":\"state\",\"url\":\"classes/jssm.Machine.html#state\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":83,\"kind\":2048,\"name\":\"label_for\",\"url\":\"classes/jssm.Machine.html#label_for\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":84,\"kind\":2048,\"name\":\"display_text\",\"url\":\"classes/jssm.Machine.html#display_text\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":85,\"kind\":2048,\"name\":\"data\",\"url\":\"classes/jssm.Machine.html#data\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":86,\"kind\":2048,\"name\":\"prop\",\"url\":\"classes/jssm.Machine.html#prop\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":87,\"kind\":2048,\"name\":\"strict_prop\",\"url\":\"classes/jssm.Machine.html#strict_prop\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":88,\"kind\":2048,\"name\":\"props\",\"url\":\"classes/jssm.Machine.html#props\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":89,\"kind\":2048,\"name\":\"known_prop\",\"url\":\"classes/jssm.Machine.html#known_prop\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":90,\"kind\":2048,\"name\":\"known_props\",\"url\":\"classes/jssm.Machine.html#known_props\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":91,\"kind\":2048,\"name\":\"is_start_state\",\"url\":\"classes/jssm.Machine.html#is_start_state\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":92,\"kind\":2048,\"name\":\"is_end_state\",\"url\":\"classes/jssm.Machine.html#is_end_state\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":93,\"kind\":2048,\"name\":\"state_is_final\",\"url\":\"classes/jssm.Machine.html#state_is_final\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":94,\"kind\":2048,\"name\":\"is_final\",\"url\":\"classes/jssm.Machine.html#is_final\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":95,\"kind\":2048,\"name\":\"serialize\",\"url\":\"classes/jssm.Machine.html#serialize\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":96,\"kind\":2048,\"name\":\"graph_layout\",\"url\":\"classes/jssm.Machine.html#graph_layout\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":97,\"kind\":2048,\"name\":\"dot_preamble\",\"url\":\"classes/jssm.Machine.html#dot_preamble\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":98,\"kind\":2048,\"name\":\"machine_author\",\"url\":\"classes/jssm.Machine.html#machine_author\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":99,\"kind\":2048,\"name\":\"machine_comment\",\"url\":\"classes/jssm.Machine.html#machine_comment\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":100,\"kind\":2048,\"name\":\"machine_contributor\",\"url\":\"classes/jssm.Machine.html#machine_contributor\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":101,\"kind\":2048,\"name\":\"machine_definition\",\"url\":\"classes/jssm.Machine.html#machine_definition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":102,\"kind\":2048,\"name\":\"machine_language\",\"url\":\"classes/jssm.Machine.html#machine_language\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":103,\"kind\":2048,\"name\":\"machine_license\",\"url\":\"classes/jssm.Machine.html#machine_license\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":104,\"kind\":2048,\"name\":\"machine_name\",\"url\":\"classes/jssm.Machine.html#machine_name\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":105,\"kind\":2048,\"name\":\"machine_version\",\"url\":\"classes/jssm.Machine.html#machine_version\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":106,\"kind\":2048,\"name\":\"raw_state_declarations\",\"url\":\"classes/jssm.Machine.html#raw_state_declarations\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":107,\"kind\":2048,\"name\":\"state_declaration\",\"url\":\"classes/jssm.Machine.html#state_declaration\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":108,\"kind\":2048,\"name\":\"state_declarations\",\"url\":\"classes/jssm.Machine.html#state_declarations\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":109,\"kind\":2048,\"name\":\"fsl_version\",\"url\":\"classes/jssm.Machine.html#fsl_version\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":110,\"kind\":2048,\"name\":\"machine_state\",\"url\":\"classes/jssm.Machine.html#machine_state\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":111,\"kind\":2048,\"name\":\"states\",\"url\":\"classes/jssm.Machine.html#states\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":112,\"kind\":2048,\"name\":\"state_for\",\"url\":\"classes/jssm.Machine.html#state_for\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":113,\"kind\":2048,\"name\":\"has_state\",\"url\":\"classes/jssm.Machine.html#has_state\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":114,\"kind\":2048,\"name\":\"list_edges\",\"url\":\"classes/jssm.Machine.html#list_edges\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":115,\"kind\":2048,\"name\":\"list_named_transitions\",\"url\":\"classes/jssm.Machine.html#list_named_transitions\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":116,\"kind\":2048,\"name\":\"list_actions\",\"url\":\"classes/jssm.Machine.html#list_actions\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":117,\"kind\":262144,\"name\":\"uses_actions\",\"url\":\"classes/jssm.Machine.html#uses_actions\",\"classes\":\"tsd-kind-get-signature tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":118,\"kind\":2048,\"name\":\"all_themes\",\"url\":\"classes/jssm.Machine.html#all_themes\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":119,\"kind\":262144,\"name\":\"themes\",\"url\":\"classes/jssm.Machine.html#themes\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":120,\"kind\":2048,\"name\":\"flow\",\"url\":\"classes/jssm.Machine.html#flow\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":121,\"kind\":2048,\"name\":\"get_transition_by_state_names\",\"url\":\"classes/jssm.Machine.html#get_transition_by_state_names\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":122,\"kind\":2048,\"name\":\"lookup_transition_for\",\"url\":\"classes/jssm.Machine.html#lookup_transition_for\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":123,\"kind\":2048,\"name\":\"list_transitions\",\"url\":\"classes/jssm.Machine.html#list_transitions\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":124,\"kind\":2048,\"name\":\"list_entrances\",\"url\":\"classes/jssm.Machine.html#list_entrances\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":125,\"kind\":2048,\"name\":\"list_exits\",\"url\":\"classes/jssm.Machine.html#list_exits\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":126,\"kind\":2048,\"name\":\"probable_exits_for\",\"url\":\"classes/jssm.Machine.html#probable_exits_for\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":127,\"kind\":2048,\"name\":\"probabilistic_transition\",\"url\":\"classes/jssm.Machine.html#probabilistic_transition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":128,\"kind\":2048,\"name\":\"probabilistic_walk\",\"url\":\"classes/jssm.Machine.html#probabilistic_walk\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":129,\"kind\":2048,\"name\":\"probabilistic_histo_walk\",\"url\":\"classes/jssm.Machine.html#probabilistic_histo_walk\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":130,\"kind\":2048,\"name\":\"actions\",\"url\":\"classes/jssm.Machine.html#actions\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":131,\"kind\":2048,\"name\":\"list_states_having_action\",\"url\":\"classes/jssm.Machine.html#list_states_having_action\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":132,\"kind\":2048,\"name\":\"list_exit_actions\",\"url\":\"classes/jssm.Machine.html#list_exit_actions\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":133,\"kind\":2048,\"name\":\"probable_action_exits\",\"url\":\"classes/jssm.Machine.html#probable_action_exits\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":134,\"kind\":2048,\"name\":\"is_unenterable\",\"url\":\"classes/jssm.Machine.html#is_unenterable\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":135,\"kind\":2048,\"name\":\"has_unenterables\",\"url\":\"classes/jssm.Machine.html#has_unenterables\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":136,\"kind\":2048,\"name\":\"is_terminal\",\"url\":\"classes/jssm.Machine.html#is_terminal\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":137,\"kind\":2048,\"name\":\"state_is_terminal\",\"url\":\"classes/jssm.Machine.html#state_is_terminal\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":138,\"kind\":2048,\"name\":\"has_terminals\",\"url\":\"classes/jssm.Machine.html#has_terminals\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":139,\"kind\":2048,\"name\":\"is_complete\",\"url\":\"classes/jssm.Machine.html#is_complete\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":140,\"kind\":2048,\"name\":\"state_is_complete\",\"url\":\"classes/jssm.Machine.html#state_is_complete\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":141,\"kind\":2048,\"name\":\"has_completes\",\"url\":\"classes/jssm.Machine.html#has_completes\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":142,\"kind\":2048,\"name\":\"set_hook\",\"url\":\"classes/jssm.Machine.html#set_hook\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":143,\"kind\":2048,\"name\":\"hook\",\"url\":\"classes/jssm.Machine.html#hook\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":144,\"kind\":2048,\"name\":\"hook_action\",\"url\":\"classes/jssm.Machine.html#hook_action\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":145,\"kind\":2048,\"name\":\"hook_global_action\",\"url\":\"classes/jssm.Machine.html#hook_global_action\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":146,\"kind\":2048,\"name\":\"hook_any_action\",\"url\":\"classes/jssm.Machine.html#hook_any_action\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":147,\"kind\":2048,\"name\":\"hook_standard_transition\",\"url\":\"classes/jssm.Machine.html#hook_standard_transition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":148,\"kind\":2048,\"name\":\"hook_main_transition\",\"url\":\"classes/jssm.Machine.html#hook_main_transition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":149,\"kind\":2048,\"name\":\"hook_forced_transition\",\"url\":\"classes/jssm.Machine.html#hook_forced_transition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":150,\"kind\":2048,\"name\":\"hook_any_transition\",\"url\":\"classes/jssm.Machine.html#hook_any_transition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":151,\"kind\":2048,\"name\":\"hook_entry\",\"url\":\"classes/jssm.Machine.html#hook_entry\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":152,\"kind\":2048,\"name\":\"hook_exit\",\"url\":\"classes/jssm.Machine.html#hook_exit\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":153,\"kind\":2048,\"name\":\"post_hook\",\"url\":\"classes/jssm.Machine.html#post_hook\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":154,\"kind\":2048,\"name\":\"post_hook_action\",\"url\":\"classes/jssm.Machine.html#post_hook_action\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":155,\"kind\":2048,\"name\":\"post_hook_global_action\",\"url\":\"classes/jssm.Machine.html#post_hook_global_action\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":156,\"kind\":2048,\"name\":\"post_hook_any_action\",\"url\":\"classes/jssm.Machine.html#post_hook_any_action\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":157,\"kind\":2048,\"name\":\"post_hook_standard_transition\",\"url\":\"classes/jssm.Machine.html#post_hook_standard_transition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":158,\"kind\":2048,\"name\":\"post_hook_main_transition\",\"url\":\"classes/jssm.Machine.html#post_hook_main_transition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":159,\"kind\":2048,\"name\":\"post_hook_forced_transition\",\"url\":\"classes/jssm.Machine.html#post_hook_forced_transition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":160,\"kind\":2048,\"name\":\"post_hook_any_transition\",\"url\":\"classes/jssm.Machine.html#post_hook_any_transition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":161,\"kind\":2048,\"name\":\"post_hook_entry\",\"url\":\"classes/jssm.Machine.html#post_hook_entry\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":162,\"kind\":2048,\"name\":\"post_hook_exit\",\"url\":\"classes/jssm.Machine.html#post_hook_exit\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":163,\"kind\":2048,\"name\":\"edges_between\",\"url\":\"classes/jssm.Machine.html#edges_between\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":164,\"kind\":2048,\"name\":\"transition_impl\",\"url\":\"classes/jssm.Machine.html#transition_impl\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":165,\"kind\":262144,\"name\":\"history\",\"url\":\"classes/jssm.Machine.html#history\",\"classes\":\"tsd-kind-get-signature tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":166,\"kind\":262144,\"name\":\"history_inclusive\",\"url\":\"classes/jssm.Machine.html#history_inclusive\",\"classes\":\"tsd-kind-get-signature tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":167,\"kind\":262144,\"name\":\"history_length\",\"url\":\"classes/jssm.Machine.html#history_length\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":168,\"kind\":2048,\"name\":\"action\",\"url\":\"classes/jssm.Machine.html#action\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":169,\"kind\":262144,\"name\":\"standard_state_style\",\"url\":\"classes/jssm.Machine.html#standard_state_style\",\"classes\":\"tsd-kind-get-signature tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":170,\"kind\":262144,\"name\":\"hooked_state_style\",\"url\":\"classes/jssm.Machine.html#hooked_state_style\",\"classes\":\"tsd-kind-get-signature tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":171,\"kind\":262144,\"name\":\"start_state_style\",\"url\":\"classes/jssm.Machine.html#start_state_style\",\"classes\":\"tsd-kind-get-signature tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":172,\"kind\":262144,\"name\":\"end_state_style\",\"url\":\"classes/jssm.Machine.html#end_state_style\",\"classes\":\"tsd-kind-get-signature tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":173,\"kind\":262144,\"name\":\"terminal_state_style\",\"url\":\"classes/jssm.Machine.html#terminal_state_style\",\"classes\":\"tsd-kind-get-signature tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":174,\"kind\":262144,\"name\":\"active_state_style\",\"url\":\"classes/jssm.Machine.html#active_state_style\",\"classes\":\"tsd-kind-get-signature tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":175,\"kind\":2048,\"name\":\"style_for\",\"url\":\"classes/jssm.Machine.html#style_for\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":176,\"kind\":2048,\"name\":\"do\",\"url\":\"classes/jssm.Machine.html#do\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":177,\"kind\":2048,\"name\":\"transition\",\"url\":\"classes/jssm.Machine.html#transition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":178,\"kind\":2048,\"name\":\"go\",\"url\":\"classes/jssm.Machine.html#go\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":179,\"kind\":2048,\"name\":\"force_transition\",\"url\":\"classes/jssm.Machine.html#force_transition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":180,\"kind\":2048,\"name\":\"current_action_for\",\"url\":\"classes/jssm.Machine.html#current_action_for\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":181,\"kind\":2048,\"name\":\"current_action_edge_for\",\"url\":\"classes/jssm.Machine.html#current_action_edge_for\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":182,\"kind\":2048,\"name\":\"valid_action\",\"url\":\"classes/jssm.Machine.html#valid_action\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":183,\"kind\":2048,\"name\":\"valid_transition\",\"url\":\"classes/jssm.Machine.html#valid_transition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":184,\"kind\":2048,\"name\":\"valid_force_transition\",\"url\":\"classes/jssm.Machine.html#valid_force_transition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":185,\"kind\":2048,\"name\":\"instance_name\",\"url\":\"classes/jssm.Machine.html#instance_name\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":186,\"kind\":2048,\"name\":\"sm\",\"url\":\"classes/jssm.Machine.html#sm\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":187,\"kind\":64,\"name\":\"deserialize\",\"url\":\"modules/jssm.html#deserialize\",\"classes\":\"tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter\",\"parent\":\"jssm\"},{\"id\":188,\"kind\":64,\"name\":\"make\",\"url\":\"modules/jssm.html#make\",\"classes\":\"tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter\",\"parent\":\"jssm\"},{\"id\":189,\"kind\":64,\"name\":\"parse\",\"url\":\"modules/jssm.html#parse\",\"classes\":\"tsd-kind-function tsd-parent-kind-module\",\"parent\":\"jssm\"},{\"id\":190,\"kind\":64,\"name\":\"compile\",\"url\":\"modules/jssm.html#compile\",\"classes\":\"tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter\",\"parent\":\"jssm\"},{\"id\":191,\"kind\":64,\"name\":\"sm\",\"url\":\"modules/jssm.html#sm\",\"classes\":\"tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter\",\"parent\":\"jssm\"},{\"id\":192,\"kind\":64,\"name\":\"from\",\"url\":\"modules/jssm.html#from\",\"classes\":\"tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter\",\"parent\":\"jssm\"},{\"id\":193,\"kind\":32,\"name\":\"shapes\",\"url\":\"modules/jssm.html#shapes\",\"classes\":\"tsd-kind-variable tsd-parent-kind-module\",\"parent\":\"jssm\"},{\"id\":194,\"kind\":32,\"name\":\"gviz_shapes\",\"url\":\"modules/jssm.html#gviz_shapes\",\"classes\":\"tsd-kind-variable tsd-parent-kind-module\",\"parent\":\"jssm\"},{\"id\":195,\"kind\":32,\"name\":\"named_colors\",\"url\":\"modules/jssm.html#named_colors\",\"classes\":\"tsd-kind-variable tsd-parent-kind-module\",\"parent\":\"jssm\"},{\"id\":196,\"kind\":64,\"name\":\"is_hook_rejection\",\"url\":\"modules/jssm.html#is_hook_rejection\",\"classes\":\"tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter\",\"parent\":\"jssm\"},{\"id\":197,\"kind\":64,\"name\":\"is_hook_complex_result\",\"url\":\"modules/jssm.html#is_hook_complex_result\",\"classes\":\"tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter\",\"parent\":\"jssm\"},{\"id\":198,\"kind\":64,\"name\":\"abstract_hook_step\",\"url\":\"modules/jssm.html#abstract_hook_step\",\"classes\":\"tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter\",\"parent\":\"jssm\"},{\"id\":199,\"kind\":64,\"name\":\"state_style_condense\",\"url\":\"modules/jssm.html#state_style_condense\",\"classes\":\"tsd-kind-function tsd-parent-kind-module\",\"parent\":\"jssm\"},{\"id\":200,\"kind\":2,\"name\":\"jssm_types\",\"url\":\"modules/jssm_types.html\",\"classes\":\"tsd-kind-module\"},{\"id\":201,\"kind\":4194304,\"name\":\"JssmColor\",\"url\":\"modules/jssm_types.html#JssmColor\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module\",\"parent\":\"jssm_types\"},{\"id\":202,\"kind\":4194304,\"name\":\"JssmShape\",\"url\":\"modules/jssm_types.html#JssmShape\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module\",\"parent\":\"jssm_types\"},{\"id\":203,\"kind\":4194304,\"name\":\"JssmTransition\",\"url\":\"modules/jssm_types.html#JssmTransition\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module tsd-has-type-parameter\",\"parent\":\"jssm_types\"},{\"id\":204,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types.html#JssmTransition.__type-18\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types.JssmTransition\"},{\"id\":205,\"kind\":1024,\"name\":\"from\",\"url\":\"modules/jssm_types.html#JssmTransition.__type-18.from-2\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmTransition.__type\"},{\"id\":206,\"kind\":1024,\"name\":\"to\",\"url\":\"modules/jssm_types.html#JssmTransition.__type-18.to-2\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmTransition.__type\"},{\"id\":207,\"kind\":1024,\"name\":\"name\",\"url\":\"modules/jssm_types.html#JssmTransition.__type-18.name-8\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmTransition.__type\"},{\"id\":208,\"kind\":1024,\"name\":\"action\",\"url\":\"modules/jssm_types.html#JssmTransition.__type-18.action-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmTransition.__type\"},{\"id\":209,\"kind\":1024,\"name\":\"check\",\"url\":\"modules/jssm_types.html#JssmTransition.__type-18.check-2\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmTransition.__type\"},{\"id\":210,\"kind\":1024,\"name\":\"probability\",\"url\":\"modules/jssm_types.html#JssmTransition.__type-18.probability\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmTransition.__type\"},{\"id\":211,\"kind\":1024,\"name\":\"kind\",\"url\":\"modules/jssm_types.html#JssmTransition.__type-18.kind-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmTransition.__type\"},{\"id\":212,\"kind\":1024,\"name\":\"forced_only\",\"url\":\"modules/jssm_types.html#JssmTransition.__type-18.forced_only\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmTransition.__type\"},{\"id\":213,\"kind\":1024,\"name\":\"main_path\",\"url\":\"modules/jssm_types.html#JssmTransition.__type-18.main_path\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmTransition.__type\"},{\"id\":214,\"kind\":4194304,\"name\":\"JssmTransitions\",\"url\":\"modules/jssm_types.html#JssmTransitions\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module tsd-has-type-parameter\",\"parent\":\"jssm_types\"},{\"id\":215,\"kind\":4194304,\"name\":\"JssmTransitionList\",\"url\":\"modules/jssm_types.html#JssmTransitionList\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module\",\"parent\":\"jssm_types\"},{\"id\":216,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types.html#JssmTransitionList.__type-19\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types.JssmTransitionList\"},{\"id\":217,\"kind\":1024,\"name\":\"entrances\",\"url\":\"modules/jssm_types.html#JssmTransitionList.__type-19.entrances\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmTransitionList.__type\"},{\"id\":218,\"kind\":1024,\"name\":\"exits\",\"url\":\"modules/jssm_types.html#JssmTransitionList.__type-19.exits\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmTransitionList.__type\"},{\"id\":219,\"kind\":4194304,\"name\":\"JssmTransitionRule\",\"url\":\"modules/jssm_types.html#JssmTransitionRule\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module\",\"parent\":\"jssm_types\"},{\"id\":220,\"kind\":4194304,\"name\":\"JssmArrow\",\"url\":\"modules/jssm_types.html#JssmArrow\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module\",\"parent\":\"jssm_types\"},{\"id\":221,\"kind\":4194304,\"name\":\"JssmArrowKind\",\"url\":\"modules/jssm_types.html#JssmArrowKind\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module\",\"parent\":\"jssm_types\"},{\"id\":222,\"kind\":4194304,\"name\":\"JssmArrowDirection\",\"url\":\"modules/jssm_types.html#JssmArrowDirection\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module\",\"parent\":\"jssm_types\"},{\"id\":223,\"kind\":4194304,\"name\":\"JssmGenericConfig\",\"url\":\"modules/jssm_types.html#JssmGenericConfig\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module tsd-has-type-parameter\",\"parent\":\"jssm_types\"},{\"id\":224,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types.JssmGenericConfig\"},{\"id\":225,\"kind\":1024,\"name\":\"graph_layout\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.graph_layout\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":226,\"kind\":1024,\"name\":\"complete\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.complete\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":227,\"kind\":1024,\"name\":\"transitions\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.transitions\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":228,\"kind\":1024,\"name\":\"theme\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.theme\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":229,\"kind\":1024,\"name\":\"flow\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.flow\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":230,\"kind\":1024,\"name\":\"name\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.name-2\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":231,\"kind\":1024,\"name\":\"data\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.data-2\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":232,\"kind\":1024,\"name\":\"nodes\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.nodes\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":233,\"kind\":1024,\"name\":\"check\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.check\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":234,\"kind\":1024,\"name\":\"history\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.history\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":235,\"kind\":1024,\"name\":\"min_exits\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.min_exits\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":236,\"kind\":1024,\"name\":\"max_exits\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.max_exits\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":237,\"kind\":1024,\"name\":\"allow_islands\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.allow_islands\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":238,\"kind\":1024,\"name\":\"allow_force\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.allow_force\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":239,\"kind\":1024,\"name\":\"actions\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.actions\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":240,\"kind\":1024,\"name\":\"simplify_bidi\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.simplify_bidi\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":241,\"kind\":1024,\"name\":\"dot_preamble\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.dot_preamble\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":242,\"kind\":1024,\"name\":\"start_states\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.start_states\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":243,\"kind\":1024,\"name\":\"end_states\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.end_states\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":244,\"kind\":1024,\"name\":\"state_declaration\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.state_declaration\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":245,\"kind\":1024,\"name\":\"property_definition\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.property_definition\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":246,\"kind\":1024,\"name\":\"state_property\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.state_property\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":247,\"kind\":1024,\"name\":\"arrange_declaration\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.arrange_declaration\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":248,\"kind\":1024,\"name\":\"arrange_start_declaration\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.arrange_start_declaration\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":249,\"kind\":1024,\"name\":\"arrange_end_declaration\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.arrange_end_declaration\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":250,\"kind\":1024,\"name\":\"machine_author\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.machine_author\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":251,\"kind\":1024,\"name\":\"machine_comment\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.machine_comment\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":252,\"kind\":1024,\"name\":\"machine_contributor\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.machine_contributor\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":253,\"kind\":1024,\"name\":\"machine_definition\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.machine_definition\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":254,\"kind\":1024,\"name\":\"machine_language\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.machine_language\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":255,\"kind\":1024,\"name\":\"machine_license\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.machine_license\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":256,\"kind\":1024,\"name\":\"machine_name\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.machine_name\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":257,\"kind\":1024,\"name\":\"machine_version\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.machine_version\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":258,\"kind\":1024,\"name\":\"fsl_version\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.fsl_version\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":259,\"kind\":1024,\"name\":\"auto_api\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.auto_api\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":260,\"kind\":1024,\"name\":\"instance_name\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.instance_name\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":261,\"kind\":1024,\"name\":\"default_state_config\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.default_state_config\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":262,\"kind\":1024,\"name\":\"default_start_state_config\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.default_start_state_config\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":263,\"kind\":1024,\"name\":\"default_end_state_config\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.default_end_state_config\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":264,\"kind\":1024,\"name\":\"default_hooked_state_config\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.default_hooked_state_config\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":265,\"kind\":1024,\"name\":\"default_terminal_state_config\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.default_terminal_state_config\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":266,\"kind\":1024,\"name\":\"default_active_state_config\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.default_active_state_config\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":267,\"kind\":4194304,\"name\":\"JssmGenericState\",\"url\":\"modules/jssm_types.html#JssmGenericState\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module\",\"parent\":\"jssm_types\"},{\"id\":268,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types.html#JssmGenericState.__type-10\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types.JssmGenericState\"},{\"id\":269,\"kind\":1024,\"name\":\"from\",\"url\":\"modules/jssm_types.html#JssmGenericState.__type-10.from-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericState.__type\"},{\"id\":270,\"kind\":1024,\"name\":\"name\",\"url\":\"modules/jssm_types.html#JssmGenericState.__type-10.name-4\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericState.__type\"},{\"id\":271,\"kind\":1024,\"name\":\"to\",\"url\":\"modules/jssm_types.html#JssmGenericState.__type-10.to-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericState.__type\"},{\"id\":272,\"kind\":1024,\"name\":\"complete\",\"url\":\"modules/jssm_types.html#JssmGenericState.__type-10.complete-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericState.__type\"},{\"id\":273,\"kind\":4194304,\"name\":\"JssmGenericMachine\",\"url\":\"modules/jssm_types.html#JssmGenericMachine\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module tsd-has-type-parameter\",\"parent\":\"jssm_types\"},{\"id\":274,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types.html#JssmGenericMachine.__type-9\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types.JssmGenericMachine\"},{\"id\":275,\"kind\":1024,\"name\":\"name\",\"url\":\"modules/jssm_types.html#JssmGenericMachine.__type-9.name-3\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericMachine.__type\"},{\"id\":276,\"kind\":1024,\"name\":\"state\",\"url\":\"modules/jssm_types.html#JssmGenericMachine.__type-9.state-3\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericMachine.__type\"},{\"id\":277,\"kind\":1024,\"name\":\"data\",\"url\":\"modules/jssm_types.html#JssmGenericMachine.__type-9.data-3\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericMachine.__type\"},{\"id\":278,\"kind\":1024,\"name\":\"nodes\",\"url\":\"modules/jssm_types.html#JssmGenericMachine.__type-9.nodes-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericMachine.__type\"},{\"id\":279,\"kind\":1024,\"name\":\"transitions\",\"url\":\"modules/jssm_types.html#JssmGenericMachine.__type-9.transitions-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericMachine.__type\"},{\"id\":280,\"kind\":1024,\"name\":\"check\",\"url\":\"modules/jssm_types.html#JssmGenericMachine.__type-9.check-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericMachine.__type\"},{\"id\":281,\"kind\":1024,\"name\":\"min_transitions\",\"url\":\"modules/jssm_types.html#JssmGenericMachine.__type-9.min_transitions\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericMachine.__type\"},{\"id\":282,\"kind\":1024,\"name\":\"max_transitions\",\"url\":\"modules/jssm_types.html#JssmGenericMachine.__type-9.max_transitions\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericMachine.__type\"},{\"id\":283,\"kind\":1024,\"name\":\"allow_empty\",\"url\":\"modules/jssm_types.html#JssmGenericMachine.__type-9.allow_empty\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericMachine.__type\"},{\"id\":284,\"kind\":1024,\"name\":\"allow_islands\",\"url\":\"modules/jssm_types.html#JssmGenericMachine.__type-9.allow_islands-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericMachine.__type\"},{\"id\":285,\"kind\":1024,\"name\":\"allow_force\",\"url\":\"modules/jssm_types.html#JssmGenericMachine.__type-9.allow_force-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericMachine.__type\"},{\"id\":286,\"kind\":1024,\"name\":\"keep_history\",\"url\":\"modules/jssm_types.html#JssmGenericMachine.__type-9.keep_history\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericMachine.__type\"},{\"id\":287,\"kind\":4194304,\"name\":\"JssmParseTree\",\"url\":\"modules/jssm_types.html#JssmParseTree\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module\",\"parent\":\"jssm_types\"},{\"id\":288,\"kind\":4194304,\"name\":\"JssmCompileSe\",\"url\":\"modules/jssm_types.html#JssmCompileSe\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module\",\"parent\":\"jssm_types\"},{\"id\":289,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types.html#JssmCompileSe.__type-5\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types.JssmCompileSe\"},{\"id\":290,\"kind\":1024,\"name\":\"to\",\"url\":\"modules/jssm_types.html#JssmCompileSe.__type-5.to\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmCompileSe.__type\"},{\"id\":291,\"kind\":1024,\"name\":\"se\",\"url\":\"modules/jssm_types.html#JssmCompileSe.__type-5.se\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmCompileSe.__type\"},{\"id\":292,\"kind\":1024,\"name\":\"kind\",\"url\":\"modules/jssm_types.html#JssmCompileSe.__type-5.kind\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmCompileSe.__type\"},{\"id\":293,\"kind\":1024,\"name\":\"l_action\",\"url\":\"modules/jssm_types.html#JssmCompileSe.__type-5.l_action\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmCompileSe.__type\"},{\"id\":294,\"kind\":1024,\"name\":\"r_action\",\"url\":\"modules/jssm_types.html#JssmCompileSe.__type-5.r_action\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmCompileSe.__type\"},{\"id\":295,\"kind\":1024,\"name\":\"l_probability\",\"url\":\"modules/jssm_types.html#JssmCompileSe.__type-5.l_probability\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmCompileSe.__type\"},{\"id\":296,\"kind\":1024,\"name\":\"r_probability\",\"url\":\"modules/jssm_types.html#JssmCompileSe.__type-5.r_probability\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmCompileSe.__type\"},{\"id\":297,\"kind\":4194304,\"name\":\"JssmCompileSeStart\",\"url\":\"modules/jssm_types.html#JssmCompileSeStart\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module tsd-has-type-parameter\",\"parent\":\"jssm_types\"},{\"id\":298,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types.html#JssmCompileSeStart.__type-6\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types.JssmCompileSeStart\"},{\"id\":299,\"kind\":1024,\"name\":\"from\",\"url\":\"modules/jssm_types.html#JssmCompileSeStart.__type-6.from\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmCompileSeStart.__type\"},{\"id\":300,\"kind\":1024,\"name\":\"se\",\"url\":\"modules/jssm_types.html#JssmCompileSeStart.__type-6.se-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmCompileSeStart.__type\"},{\"id\":301,\"kind\":1024,\"name\":\"key\",\"url\":\"modules/jssm_types.html#JssmCompileSeStart.__type-6.key\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmCompileSeStart.__type\"},{\"id\":302,\"kind\":1024,\"name\":\"value\",\"url\":\"modules/jssm_types.html#JssmCompileSeStart.__type-6.value\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmCompileSeStart.__type\"},{\"id\":303,\"kind\":1024,\"name\":\"name\",\"url\":\"modules/jssm_types.html#JssmCompileSeStart.__type-6.name-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmCompileSeStart.__type\"},{\"id\":304,\"kind\":1024,\"name\":\"state\",\"url\":\"modules/jssm_types.html#JssmCompileSeStart.__type-6.state-2\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmCompileSeStart.__type\"},{\"id\":305,\"kind\":1024,\"name\":\"default_value\",\"url\":\"modules/jssm_types.html#JssmCompileSeStart.__type-6.default_value\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmCompileSeStart.__type\"},{\"id\":306,\"kind\":1024,\"name\":\"required\",\"url\":\"modules/jssm_types.html#JssmCompileSeStart.__type-6.required\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmCompileSeStart.__type\"},{\"id\":307,\"kind\":4194304,\"name\":\"JssmCompileRule\",\"url\":\"modules/jssm_types.html#JssmCompileRule\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module\",\"parent\":\"jssm_types\"},{\"id\":308,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types.html#JssmCompileRule.__type-4\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types.JssmCompileRule\"},{\"id\":309,\"kind\":1024,\"name\":\"agg_as\",\"url\":\"modules/jssm_types.html#JssmCompileRule.__type-4.agg_as\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmCompileRule.__type\"},{\"id\":310,\"kind\":1024,\"name\":\"val\",\"url\":\"modules/jssm_types.html#JssmCompileRule.__type-4.val\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmCompileRule.__type\"},{\"id\":311,\"kind\":4194304,\"name\":\"JssmPermitted\",\"url\":\"modules/jssm_types.html#JssmPermitted\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module\",\"parent\":\"jssm_types\"},{\"id\":312,\"kind\":4194304,\"name\":\"JssmPermittedOpt\",\"url\":\"modules/jssm_types.html#JssmPermittedOpt\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module\",\"parent\":\"jssm_types\"},{\"id\":313,\"kind\":4194304,\"name\":\"JssmResult\",\"url\":\"modules/jssm_types.html#JssmResult\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module\",\"parent\":\"jssm_types\"},{\"id\":314,\"kind\":4194304,\"name\":\"JssmStateDeclaration\",\"url\":\"modules/jssm_types.html#JssmStateDeclaration\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module\",\"parent\":\"jssm_types\"},{\"id\":315,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types.html#JssmStateDeclaration.__type-15\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types.JssmStateDeclaration\"},{\"id\":316,\"kind\":1024,\"name\":\"declarations\",\"url\":\"modules/jssm_types.html#JssmStateDeclaration.__type-15.declarations\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmStateDeclaration.__type\"},{\"id\":317,\"kind\":1024,\"name\":\"shape\",\"url\":\"modules/jssm_types.html#JssmStateDeclaration.__type-15.shape\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmStateDeclaration.__type\"},{\"id\":318,\"kind\":1024,\"name\":\"color\",\"url\":\"modules/jssm_types.html#JssmStateDeclaration.__type-15.color\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmStateDeclaration.__type\"},{\"id\":319,\"kind\":1024,\"name\":\"corners\",\"url\":\"modules/jssm_types.html#JssmStateDeclaration.__type-15.corners\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmStateDeclaration.__type\"},{\"id\":320,\"kind\":1024,\"name\":\"lineStyle\",\"url\":\"modules/jssm_types.html#JssmStateDeclaration.__type-15.lineStyle\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmStateDeclaration.__type\"},{\"id\":321,\"kind\":1024,\"name\":\"stateLabel\",\"url\":\"modules/jssm_types.html#JssmStateDeclaration.__type-15.stateLabel\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmStateDeclaration.__type\"},{\"id\":322,\"kind\":1024,\"name\":\"textColor\",\"url\":\"modules/jssm_types.html#JssmStateDeclaration.__type-15.textColor\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmStateDeclaration.__type\"},{\"id\":323,\"kind\":1024,\"name\":\"backgroundColor\",\"url\":\"modules/jssm_types.html#JssmStateDeclaration.__type-15.backgroundColor\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmStateDeclaration.__type\"},{\"id\":324,\"kind\":1024,\"name\":\"borderColor\",\"url\":\"modules/jssm_types.html#JssmStateDeclaration.__type-15.borderColor\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmStateDeclaration.__type\"},{\"id\":325,\"kind\":1024,\"name\":\"state\",\"url\":\"modules/jssm_types.html#JssmStateDeclaration.__type-15.state-6\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmStateDeclaration.__type\"},{\"id\":326,\"kind\":1024,\"name\":\"property\",\"url\":\"modules/jssm_types.html#JssmStateDeclaration.__type-15.property\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmStateDeclaration.__type\"},{\"id\":327,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types.html#JssmStateDeclaration.__type-15.__type-16\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmStateDeclaration.__type\"},{\"id\":328,\"kind\":1024,\"name\":\"name\",\"url\":\"modules/jssm_types.html#JssmStateDeclaration.__type-15.__type-16.name-6\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmStateDeclaration.__type.__type\"},{\"id\":329,\"kind\":1024,\"name\":\"value\",\"url\":\"modules/jssm_types.html#JssmStateDeclaration.__type-15.__type-16.value-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmStateDeclaration.__type.__type\"},{\"id\":330,\"kind\":4194304,\"name\":\"JssmStateDeclarationRule\",\"url\":\"modules/jssm_types.html#JssmStateDeclarationRule\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module\",\"parent\":\"jssm_types\"},{\"id\":331,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types.html#JssmStateDeclarationRule.__type-17\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types.JssmStateDeclarationRule\"},{\"id\":332,\"kind\":1024,\"name\":\"key\",\"url\":\"modules/jssm_types.html#JssmStateDeclarationRule.__type-17.key-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmStateDeclarationRule.__type\"},{\"id\":333,\"kind\":1024,\"name\":\"value\",\"url\":\"modules/jssm_types.html#JssmStateDeclarationRule.__type-17.value-2\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmStateDeclarationRule.__type\"},{\"id\":334,\"kind\":1024,\"name\":\"name\",\"url\":\"modules/jssm_types.html#JssmStateDeclarationRule.__type-17.name-7\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmStateDeclarationRule.__type\"},{\"id\":335,\"kind\":4194304,\"name\":\"JssmStateConfig\",\"url\":\"modules/jssm_types.html#JssmStateConfig\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module\",\"parent\":\"jssm_types\"},{\"id\":336,\"kind\":4194304,\"name\":\"JssmStateStyleKey\",\"url\":\"modules/jssm_types.html#JssmStateStyleKey\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module\",\"parent\":\"jssm_types\"},{\"id\":337,\"kind\":4194304,\"name\":\"JssmStateStyleKeyList\",\"url\":\"modules/jssm_types.html#JssmStateStyleKeyList\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module\",\"parent\":\"jssm_types\"},{\"id\":338,\"kind\":4194304,\"name\":\"JssmBaseTheme\",\"url\":\"modules/jssm_types.html#JssmBaseTheme\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module\",\"parent\":\"jssm_types\"},{\"id\":339,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types.html#JssmBaseTheme.__type-3\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types.JssmBaseTheme\"},{\"id\":340,\"kind\":1024,\"name\":\"name\",\"url\":\"modules/jssm_types.html#JssmBaseTheme.__type-3.name\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmBaseTheme.__type\"},{\"id\":341,\"kind\":1024,\"name\":\"state\",\"url\":\"modules/jssm_types.html#JssmBaseTheme.__type-3.state-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmBaseTheme.__type\"},{\"id\":342,\"kind\":1024,\"name\":\"hooked\",\"url\":\"modules/jssm_types.html#JssmBaseTheme.__type-3.hooked\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmBaseTheme.__type\"},{\"id\":343,\"kind\":1024,\"name\":\"start\",\"url\":\"modules/jssm_types.html#JssmBaseTheme.__type-3.start\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmBaseTheme.__type\"},{\"id\":344,\"kind\":1024,\"name\":\"end\",\"url\":\"modules/jssm_types.html#JssmBaseTheme.__type-3.end\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmBaseTheme.__type\"},{\"id\":345,\"kind\":1024,\"name\":\"terminal\",\"url\":\"modules/jssm_types.html#JssmBaseTheme.__type-3.terminal\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmBaseTheme.__type\"},{\"id\":346,\"kind\":1024,\"name\":\"active\",\"url\":\"modules/jssm_types.html#JssmBaseTheme.__type-3.active\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmBaseTheme.__type\"},{\"id\":347,\"kind\":1024,\"name\":\"active_hooked\",\"url\":\"modules/jssm_types.html#JssmBaseTheme.__type-3.active_hooked\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmBaseTheme.__type\"},{\"id\":348,\"kind\":1024,\"name\":\"active_start\",\"url\":\"modules/jssm_types.html#JssmBaseTheme.__type-3.active_start\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmBaseTheme.__type\"},{\"id\":349,\"kind\":1024,\"name\":\"active_end\",\"url\":\"modules/jssm_types.html#JssmBaseTheme.__type-3.active_end\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmBaseTheme.__type\"},{\"id\":350,\"kind\":1024,\"name\":\"active_terminal\",\"url\":\"modules/jssm_types.html#JssmBaseTheme.__type-3.active_terminal\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmBaseTheme.__type\"},{\"id\":351,\"kind\":1024,\"name\":\"graph\",\"url\":\"modules/jssm_types.html#JssmBaseTheme.__type-3.graph\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmBaseTheme.__type\"},{\"id\":352,\"kind\":1024,\"name\":\"legal\",\"url\":\"modules/jssm_types.html#JssmBaseTheme.__type-3.legal\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmBaseTheme.__type\"},{\"id\":353,\"kind\":1024,\"name\":\"main\",\"url\":\"modules/jssm_types.html#JssmBaseTheme.__type-3.main\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmBaseTheme.__type\"},{\"id\":354,\"kind\":1024,\"name\":\"forced\",\"url\":\"modules/jssm_types.html#JssmBaseTheme.__type-3.forced\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmBaseTheme.__type\"},{\"id\":355,\"kind\":1024,\"name\":\"action\",\"url\":\"modules/jssm_types.html#JssmBaseTheme.__type-3.action\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmBaseTheme.__type\"},{\"id\":356,\"kind\":1024,\"name\":\"title\",\"url\":\"modules/jssm_types.html#JssmBaseTheme.__type-3.title\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmBaseTheme.__type\"},{\"id\":357,\"kind\":4194304,\"name\":\"JssmTheme\",\"url\":\"modules/jssm_types.html#JssmTheme\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module\",\"parent\":\"jssm_types\"},{\"id\":358,\"kind\":4194304,\"name\":\"JssmLayout\",\"url\":\"modules/jssm_types.html#JssmLayout\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module\",\"parent\":\"jssm_types\"},{\"id\":359,\"kind\":4194304,\"name\":\"JssmHistory\",\"url\":\"modules/jssm_types.html#JssmHistory\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module tsd-has-type-parameter\",\"parent\":\"jssm_types\"},{\"id\":360,\"kind\":4194304,\"name\":\"JssmSerialization\",\"url\":\"modules/jssm_types.html#JssmSerialization\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module tsd-has-type-parameter\",\"parent\":\"jssm_types\"},{\"id\":361,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types.html#JssmSerialization.__type-14\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types.JssmSerialization\"},{\"id\":362,\"kind\":1024,\"name\":\"jssm_version\",\"url\":\"modules/jssm_types.html#JssmSerialization.__type-14.jssm_version\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmSerialization.__type\"},{\"id\":363,\"kind\":1024,\"name\":\"timestamp\",\"url\":\"modules/jssm_types.html#JssmSerialization.__type-14.timestamp\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmSerialization.__type\"},{\"id\":364,\"kind\":1024,\"name\":\"comment\",\"url\":\"modules/jssm_types.html#JssmSerialization.__type-14.comment\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmSerialization.__type\"},{\"id\":365,\"kind\":1024,\"name\":\"state\",\"url\":\"modules/jssm_types.html#JssmSerialization.__type-14.state-5\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmSerialization.__type\"},{\"id\":366,\"kind\":1024,\"name\":\"history\",\"url\":\"modules/jssm_types.html#JssmSerialization.__type-14.history-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmSerialization.__type\"},{\"id\":367,\"kind\":1024,\"name\":\"history_capacity\",\"url\":\"modules/jssm_types.html#JssmSerialization.__type-14.history_capacity\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmSerialization.__type\"},{\"id\":368,\"kind\":1024,\"name\":\"data\",\"url\":\"modules/jssm_types.html#JssmSerialization.__type-14.data-4\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmSerialization.__type\"},{\"id\":369,\"kind\":4194304,\"name\":\"JssmPropertyDefinition\",\"url\":\"modules/jssm_types.html#JssmPropertyDefinition\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module\",\"parent\":\"jssm_types\"},{\"id\":370,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types.html#JssmPropertyDefinition.__type-13\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types.JssmPropertyDefinition\"},{\"id\":371,\"kind\":1024,\"name\":\"name\",\"url\":\"modules/jssm_types.html#JssmPropertyDefinition.__type-13.name-5\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmPropertyDefinition.__type\"},{\"id\":372,\"kind\":1024,\"name\":\"default_value\",\"url\":\"modules/jssm_types.html#JssmPropertyDefinition.__type-13.default_value-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmPropertyDefinition.__type\"},{\"id\":373,\"kind\":1024,\"name\":\"required\",\"url\":\"modules/jssm_types.html#JssmPropertyDefinition.__type-13.required-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmPropertyDefinition.__type\"},{\"id\":374,\"kind\":4194304,\"name\":\"JssmParseFunctionType\",\"url\":\"modules/jssm_types.html#JssmParseFunctionType\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module\",\"parent\":\"jssm_types\"},{\"id\":375,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types.html#JssmParseFunctionType.__type-12\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types.JssmParseFunctionType\"},{\"id\":376,\"kind\":4194304,\"name\":\"JssmMachineInternalState\",\"url\":\"modules/jssm_types.html#JssmMachineInternalState\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module tsd-has-type-parameter\",\"parent\":\"jssm_types\"},{\"id\":377,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types.html#JssmMachineInternalState.__type-11\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types.JssmMachineInternalState\"},{\"id\":378,\"kind\":1024,\"name\":\"internal_state_impl_version\",\"url\":\"modules/jssm_types.html#JssmMachineInternalState.__type-11.internal_state_impl_version\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmMachineInternalState.__type\"},{\"id\":379,\"kind\":1024,\"name\":\"state\",\"url\":\"modules/jssm_types.html#JssmMachineInternalState.__type-11.state-4\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmMachineInternalState.__type\"},{\"id\":380,\"kind\":1024,\"name\":\"states\",\"url\":\"modules/jssm_types.html#JssmMachineInternalState.__type-11.states\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmMachineInternalState.__type\"},{\"id\":381,\"kind\":1024,\"name\":\"named_transitions\",\"url\":\"modules/jssm_types.html#JssmMachineInternalState.__type-11.named_transitions\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmMachineInternalState.__type\"},{\"id\":382,\"kind\":1024,\"name\":\"edge_map\",\"url\":\"modules/jssm_types.html#JssmMachineInternalState.__type-11.edge_map\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmMachineInternalState.__type\"},{\"id\":383,\"kind\":1024,\"name\":\"actions\",\"url\":\"modules/jssm_types.html#JssmMachineInternalState.__type-11.actions-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmMachineInternalState.__type\"},{\"id\":384,\"kind\":1024,\"name\":\"reverse_actions\",\"url\":\"modules/jssm_types.html#JssmMachineInternalState.__type-11.reverse_actions\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmMachineInternalState.__type\"},{\"id\":385,\"kind\":1024,\"name\":\"edges\",\"url\":\"modules/jssm_types.html#JssmMachineInternalState.__type-11.edges\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmMachineInternalState.__type\"},{\"id\":386,\"kind\":4194304,\"name\":\"JssmErrorExtendedInfo\",\"url\":\"modules/jssm_types.html#JssmErrorExtendedInfo\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module\",\"parent\":\"jssm_types\"},{\"id\":387,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types.html#JssmErrorExtendedInfo.__type-7\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types.JssmErrorExtendedInfo\"},{\"id\":388,\"kind\":1024,\"name\":\"requested_state\",\"url\":\"modules/jssm_types.html#JssmErrorExtendedInfo.__type-7.requested_state\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmErrorExtendedInfo.__type\"},{\"id\":389,\"kind\":32,\"name\":\"FslDirections\",\"url\":\"modules/jssm_types.html#FslDirections\",\"classes\":\"tsd-kind-variable tsd-parent-kind-module\",\"parent\":\"jssm_types\"},{\"id\":390,\"kind\":4194304,\"name\":\"FslDirection\",\"url\":\"modules/jssm_types.html#FslDirection\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module\",\"parent\":\"jssm_types\"},{\"id\":391,\"kind\":32,\"name\":\"FslThemes\",\"url\":\"modules/jssm_types.html#FslThemes\",\"classes\":\"tsd-kind-variable tsd-parent-kind-module\",\"parent\":\"jssm_types\"},{\"id\":392,\"kind\":4194304,\"name\":\"FslTheme\",\"url\":\"modules/jssm_types.html#FslTheme\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module\",\"parent\":\"jssm_types\"},{\"id\":393,\"kind\":4194304,\"name\":\"HookDescription\",\"url\":\"modules/jssm_types.html#HookDescription\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module tsd-has-type-parameter\",\"parent\":\"jssm_types\"},{\"id\":394,\"kind\":4194304,\"name\":\"HookHandler\",\"url\":\"modules/jssm_types.html#HookHandler\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module tsd-has-type-parameter\",\"parent\":\"jssm_types\"},{\"id\":395,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types.html#HookHandler.__type-2\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types.HookHandler\"},{\"id\":396,\"kind\":4194304,\"name\":\"HookContext\",\"url\":\"modules/jssm_types.html#HookContext\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module tsd-has-type-parameter\",\"parent\":\"jssm_types\"},{\"id\":397,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types.html#HookContext.__type-1\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types.HookContext\"},{\"id\":398,\"kind\":1024,\"name\":\"data\",\"url\":\"modules/jssm_types.html#HookContext.__type-1.data-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.HookContext.__type\"},{\"id\":399,\"kind\":4194304,\"name\":\"HookResult\",\"url\":\"modules/jssm_types.html#HookResult\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module tsd-has-type-parameter\",\"parent\":\"jssm_types\"},{\"id\":400,\"kind\":4194304,\"name\":\"HookComplexResult\",\"url\":\"modules/jssm_types.html#HookComplexResult\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module tsd-has-type-parameter\",\"parent\":\"jssm_types\"},{\"id\":401,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types.html#HookComplexResult.__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types.HookComplexResult\"},{\"id\":402,\"kind\":1024,\"name\":\"pass\",\"url\":\"modules/jssm_types.html#HookComplexResult.__type.pass\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.HookComplexResult.__type\"},{\"id\":403,\"kind\":1024,\"name\":\"state\",\"url\":\"modules/jssm_types.html#HookComplexResult.__type.state\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.HookComplexResult.__type\"},{\"id\":404,\"kind\":1024,\"name\":\"data\",\"url\":\"modules/jssm_types.html#HookComplexResult.__type.data\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.HookComplexResult.__type\"},{\"id\":405,\"kind\":2,\"name\":\"jssm_constants\",\"url\":\"modules/jssm_constants.html\",\"classes\":\"tsd-kind-module\"},{\"id\":406,\"kind\":32,\"name\":\"NegInfinity\",\"url\":\"modules/jssm_constants.html#NegInfinity\",\"classes\":\"tsd-kind-variable tsd-parent-kind-module\",\"parent\":\"jssm_constants\"},{\"id\":407,\"kind\":32,\"name\":\"PosInfinity\",\"url\":\"modules/jssm_constants.html#PosInfinity\",\"classes\":\"tsd-kind-variable tsd-parent-kind-module\",\"parent\":\"jssm_constants\"},{\"id\":408,\"kind\":32,\"name\":\"Epsilon\",\"url\":\"modules/jssm_constants.html#Epsilon\",\"classes\":\"tsd-kind-variable tsd-parent-kind-module\",\"parent\":\"jssm_constants\"},{\"id\":409,\"kind\":32,\"name\":\"Pi\",\"url\":\"modules/jssm_constants.html#Pi\",\"classes\":\"tsd-kind-variable tsd-parent-kind-module\",\"parent\":\"jssm_constants\"},{\"id\":410,\"kind\":32,\"name\":\"E\",\"url\":\"modules/jssm_constants.html#E\",\"classes\":\"tsd-kind-variable tsd-parent-kind-module\",\"parent\":\"jssm_constants\"},{\"id\":411,\"kind\":32,\"name\":\"Root2\",\"url\":\"modules/jssm_constants.html#Root2\",\"classes\":\"tsd-kind-variable tsd-parent-kind-module\",\"parent\":\"jssm_constants\"},{\"id\":412,\"kind\":32,\"name\":\"RootHalf\",\"url\":\"modules/jssm_constants.html#RootHalf\",\"classes\":\"tsd-kind-variable tsd-parent-kind-module\",\"parent\":\"jssm_constants\"},{\"id\":413,\"kind\":32,\"name\":\"Ln2\",\"url\":\"modules/jssm_constants.html#Ln2\",\"classes\":\"tsd-kind-variable tsd-parent-kind-module\",\"parent\":\"jssm_constants\"},{\"id\":414,\"kind\":32,\"name\":\"Ln10\",\"url\":\"modules/jssm_constants.html#Ln10\",\"classes\":\"tsd-kind-variable tsd-parent-kind-module\",\"parent\":\"jssm_constants\"},{\"id\":415,\"kind\":32,\"name\":\"Log2E\",\"url\":\"modules/jssm_constants.html#Log2E\",\"classes\":\"tsd-kind-variable tsd-parent-kind-module\",\"parent\":\"jssm_constants\"},{\"id\":416,\"kind\":32,\"name\":\"Log10E\",\"url\":\"modules/jssm_constants.html#Log10E\",\"classes\":\"tsd-kind-variable tsd-parent-kind-module\",\"parent\":\"jssm_constants\"},{\"id\":417,\"kind\":32,\"name\":\"MaxSafeInt\",\"url\":\"modules/jssm_constants.html#MaxSafeInt\",\"classes\":\"tsd-kind-variable tsd-parent-kind-module\",\"parent\":\"jssm_constants\"},{\"id\":418,\"kind\":32,\"name\":\"MinSafeInt\",\"url\":\"modules/jssm_constants.html#MinSafeInt\",\"classes\":\"tsd-kind-variable tsd-parent-kind-module\",\"parent\":\"jssm_constants\"},{\"id\":419,\"kind\":32,\"name\":\"MaxPosNum\",\"url\":\"modules/jssm_constants.html#MaxPosNum\",\"classes\":\"tsd-kind-variable tsd-parent-kind-module\",\"parent\":\"jssm_constants\"},{\"id\":420,\"kind\":32,\"name\":\"MinPosNum\",\"url\":\"modules/jssm_constants.html#MinPosNum\",\"classes\":\"tsd-kind-variable tsd-parent-kind-module\",\"parent\":\"jssm_constants\"},{\"id\":421,\"kind\":32,\"name\":\"Phi\",\"url\":\"modules/jssm_constants.html#Phi\",\"classes\":\"tsd-kind-variable tsd-parent-kind-module\",\"parent\":\"jssm_constants\"},{\"id\":422,\"kind\":32,\"name\":\"EulerC\",\"url\":\"modules/jssm_constants.html#EulerC\",\"classes\":\"tsd-kind-variable tsd-parent-kind-module\",\"parent\":\"jssm_constants\"},{\"id\":423,\"kind\":32,\"name\":\"gviz_shapes\",\"url\":\"modules/jssm_constants.html#gviz_shapes\",\"classes\":\"tsd-kind-variable tsd-parent-kind-module\",\"parent\":\"jssm_constants\"},{\"id\":424,\"kind\":32,\"name\":\"shapes\",\"url\":\"modules/jssm_constants.html#shapes\",\"classes\":\"tsd-kind-variable tsd-parent-kind-module\",\"parent\":\"jssm_constants\"},{\"id\":425,\"kind\":32,\"name\":\"named_colors\",\"url\":\"modules/jssm_constants.html#named_colors\",\"classes\":\"tsd-kind-variable tsd-parent-kind-module\",\"parent\":\"jssm_constants\"},{\"id\":426,\"kind\":2,\"name\":\"jssm_error\",\"url\":\"modules/jssm_error.html\",\"classes\":\"tsd-kind-module\"},{\"id\":427,\"kind\":128,\"name\":\"JssmError\",\"url\":\"classes/jssm_error.JssmError.html\",\"classes\":\"tsd-kind-class tsd-parent-kind-module\",\"parent\":\"jssm_error\"},{\"id\":428,\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/jssm_error.JssmError.html#__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-class\",\"parent\":\"jssm_error.JssmError\"},{\"id\":429,\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/jssm_error.JssmError.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite\",\"parent\":\"jssm_error.JssmError\"},{\"id\":430,\"kind\":1024,\"name\":\"message\",\"url\":\"classes/jssm_error.JssmError.html#message\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-overwrite\",\"parent\":\"jssm_error.JssmError\"},{\"id\":431,\"kind\":1024,\"name\":\"base_message\",\"url\":\"classes/jssm_error.JssmError.html#base_message\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm_error.JssmError\"},{\"id\":432,\"kind\":1024,\"name\":\"requested_state\",\"url\":\"classes/jssm_error.JssmError.html#requested_state\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm_error.JssmError\"},{\"id\":433,\"kind\":2,\"name\":\"jssm_util\",\"url\":\"modules/jssm_util.html\",\"classes\":\"tsd-kind-module\"},{\"id\":434,\"kind\":64,\"name\":\"seq\",\"url\":\"modules/jssm_util.html#seq\",\"classes\":\"tsd-kind-function tsd-parent-kind-module\",\"parent\":\"jssm_util\"},{\"id\":435,\"kind\":64,\"name\":\"unique\",\"url\":\"modules/jssm_util.html#unique\",\"classes\":\"tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter\",\"parent\":\"jssm_util\"},{\"id\":436,\"kind\":64,\"name\":\"find_repeated\",\"url\":\"modules/jssm_util.html#find_repeated\",\"classes\":\"tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter\",\"parent\":\"jssm_util\"},{\"id\":437,\"kind\":64,\"name\":\"arr_uniq_p\",\"url\":\"modules/jssm_util.html#arr_uniq_p\",\"classes\":\"tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter\",\"parent\":\"jssm_util\"},{\"id\":438,\"kind\":32,\"name\":\"histograph\",\"url\":\"modules/jssm_util.html#histograph\",\"classes\":\"tsd-kind-variable tsd-parent-kind-module\",\"parent\":\"jssm_util\"},{\"id\":439,\"kind\":32,\"name\":\"weighted_histo_key\",\"url\":\"modules/jssm_util.html#weighted_histo_key\",\"classes\":\"tsd-kind-variable tsd-parent-kind-module\",\"parent\":\"jssm_util\"},{\"id\":440,\"kind\":32,\"name\":\"weighted_rand_select\",\"url\":\"modules/jssm_util.html#weighted_rand_select\",\"classes\":\"tsd-kind-variable tsd-parent-kind-module\",\"parent\":\"jssm_util\"},{\"id\":441,\"kind\":32,\"name\":\"weighted_sample_select\",\"url\":\"modules/jssm_util.html#weighted_sample_select\",\"classes\":\"tsd-kind-variable tsd-parent-kind-module\",\"parent\":\"jssm_util\"},{\"id\":442,\"kind\":64,\"name\":\"array_box_if_string\",\"url\":\"modules/jssm_util.html#array_box_if_string\",\"classes\":\"tsd-kind-function tsd-parent-kind-module\",\"parent\":\"jssm_util\"},{\"id\":443,\"kind\":64,\"name\":\"name_bind_prop_and_state\",\"url\":\"modules/jssm_util.html#name_bind_prop_and_state\",\"classes\":\"tsd-kind-function tsd-parent-kind-module\",\"parent\":\"jssm_util\"},{\"id\":444,\"kind\":64,\"name\":\"hook_name\",\"url\":\"modules/jssm_util.html#hook_name\",\"classes\":\"tsd-kind-function tsd-parent-kind-module\",\"parent\":\"jssm_util\"},{\"id\":445,\"kind\":64,\"name\":\"named_hook_name\",\"url\":\"modules/jssm_util.html#named_hook_name\",\"classes\":\"tsd-kind-function tsd-parent-kind-module\",\"parent\":\"jssm_util\"},{\"id\":446,\"kind\":64,\"name\":\"make_mulberry_rand\",\"url\":\"modules/jssm_util.html#make_mulberry_rand\",\"classes\":\"tsd-kind-function tsd-parent-kind-module\",\"parent\":\"jssm_util\"},{\"id\":447,\"kind\":2,\"name\":\"version\",\"url\":\"modules/version.html\",\"classes\":\"tsd-kind-module\"},{\"id\":448,\"kind\":32,\"name\":\"version\",\"url\":\"modules/version.html#version-1\",\"classes\":\"tsd-kind-variable tsd-parent-kind-module\",\"parent\":\"version\"},{\"id\":449,\"kind\":32,\"name\":\"build_time\",\"url\":\"modules/version.html#build_time\",\"classes\":\"tsd-kind-variable tsd-parent-kind-module\",\"parent\":\"version\"},{\"id\":450,\"kind\":16777216,\"name\":\"version\",\"url\":\"modules/jssm.html#version\",\"classes\":\"tsd-kind-reference tsd-parent-kind-module\",\"parent\":\"jssm\"},{\"id\":451,\"kind\":16777216,\"name\":\"build_time\",\"url\":\"modules/jssm.html#build_time\",\"classes\":\"tsd-kind-reference tsd-parent-kind-module\",\"parent\":\"jssm\"},{\"id\":452,\"kind\":64,\"name\":\"arrow_direction\",\"url\":\"modules/jssm.html#arrow_direction\",\"classes\":\"tsd-kind-function tsd-parent-kind-module\",\"parent\":\"jssm\"},{\"id\":453,\"kind\":64,\"name\":\"arrow_left_kind\",\"url\":\"modules/jssm.html#arrow_left_kind\",\"classes\":\"tsd-kind-function tsd-parent-kind-module\",\"parent\":\"jssm\"},{\"id\":454,\"kind\":64,\"name\":\"arrow_right_kind\",\"url\":\"modules/jssm.html#arrow_right_kind\",\"classes\":\"tsd-kind-function tsd-parent-kind-module\",\"parent\":\"jssm\"},{\"id\":455,\"kind\":16777216,\"name\":\"seq\",\"url\":\"modules/jssm.html#seq\",\"classes\":\"tsd-kind-reference tsd-parent-kind-module\",\"parent\":\"jssm\"},{\"id\":456,\"kind\":16777216,\"name\":\"unique\",\"url\":\"modules/jssm.html#unique\",\"classes\":\"tsd-kind-reference tsd-parent-kind-module\",\"parent\":\"jssm\"},{\"id\":457,\"kind\":16777216,\"name\":\"find_repeated\",\"url\":\"modules/jssm.html#find_repeated\",\"classes\":\"tsd-kind-reference tsd-parent-kind-module\",\"parent\":\"jssm\"},{\"id\":458,\"kind\":16777216,\"name\":\"weighted_rand_select\",\"url\":\"modules/jssm.html#weighted_rand_select\",\"classes\":\"tsd-kind-reference tsd-parent-kind-module\",\"parent\":\"jssm\"},{\"id\":459,\"kind\":16777216,\"name\":\"histograph\",\"url\":\"modules/jssm.html#histograph\",\"classes\":\"tsd-kind-reference tsd-parent-kind-module\",\"parent\":\"jssm\"},{\"id\":460,\"kind\":16777216,\"name\":\"weighted_sample_select\",\"url\":\"modules/jssm.html#weighted_sample_select\",\"classes\":\"tsd-kind-reference tsd-parent-kind-module\",\"parent\":\"jssm\"},{\"id\":461,\"kind\":16777216,\"name\":\"weighted_histo_key\",\"url\":\"modules/jssm.html#weighted_histo_key\",\"classes\":\"tsd-kind-reference tsd-parent-kind-module\",\"parent\":\"jssm\"},{\"id\":462,\"kind\":16777216,\"name\":\"constants\",\"url\":\"modules/jssm.html#constants\",\"classes\":\"tsd-kind-reference tsd-parent-kind-module\",\"parent\":\"jssm\"},{\"id\":463,\"kind\":16777216,\"name\":\"FslDirections\",\"url\":\"modules/jssm.html#FslDirections\",\"classes\":\"tsd-kind-reference tsd-parent-kind-module\",\"parent\":\"jssm\"},{\"id\":464,\"kind\":4,\"name\":\"\",\"url\":\"modules/jssm._internal_.html\",\"classes\":\"tsd-kind-namespace tsd-parent-kind-module\",\"parent\":\"jssm\"},{\"id\":465,\"kind\":4,\"name\":\"\",\"url\":\"modules/jssm_types._internal_.html\",\"classes\":\"tsd-kind-namespace tsd-parent-kind-module\",\"parent\":\"jssm_types\"},{\"id\":466,\"kind\":4194304,\"name\":\"StateType\",\"url\":\"modules/jssm_types._internal_.html#StateType\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace\",\"parent\":\"jssm_types.\"},{\"id\":467,\"kind\":4194304,\"name\":\"JssmTransitionCycle\",\"url\":\"modules/jssm_types._internal_.html#JssmTransitionCycle\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace\",\"parent\":\"jssm_types.\"},{\"id\":468,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#JssmTransitionCycle.__type-20\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..JssmTransitionCycle\"},{\"id\":469,\"kind\":1024,\"name\":\"key\",\"url\":\"modules/jssm_types._internal_.html#JssmTransitionCycle.__type-20.key-8\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..JssmTransitionCycle.__type\"},{\"id\":470,\"kind\":1024,\"name\":\"value\",\"url\":\"modules/jssm_types._internal_.html#JssmTransitionCycle.__type-20.value-8\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..JssmTransitionCycle.__type\"},{\"id\":471,\"kind\":4194304,\"name\":\"JssmSuccess\",\"url\":\"modules/jssm_types._internal_.html#JssmSuccess\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace\",\"parent\":\"jssm_types.\"},{\"id\":472,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#JssmSuccess.__type-19\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..JssmSuccess\"},{\"id\":473,\"kind\":1024,\"name\":\"success\",\"url\":\"modules/jssm_types._internal_.html#JssmSuccess.__type-19.success-2\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..JssmSuccess.__type\"},{\"id\":474,\"kind\":4194304,\"name\":\"JssmFailure\",\"url\":\"modules/jssm_types._internal_.html#JssmFailure\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace\",\"parent\":\"jssm_types.\"},{\"id\":475,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#JssmFailure.__type-8\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..JssmFailure\"},{\"id\":476,\"kind\":1024,\"name\":\"success\",\"url\":\"modules/jssm_types._internal_.html#JssmFailure.__type-8.success\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..JssmFailure.__type\"},{\"id\":477,\"kind\":1024,\"name\":\"error\",\"url\":\"modules/jssm_types._internal_.html#JssmFailure.__type-8.error\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..JssmFailure.__type\"},{\"id\":478,\"kind\":4194304,\"name\":\"JssmIncomplete\",\"url\":\"modules/jssm_types._internal_.html#JssmIncomplete\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace\",\"parent\":\"jssm_types.\"},{\"id\":479,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#JssmIncomplete.__type-9\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..JssmIncomplete\"},{\"id\":480,\"kind\":1024,\"name\":\"success\",\"url\":\"modules/jssm_types._internal_.html#JssmIncomplete.__type-9.success-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..JssmIncomplete.__type\"},{\"id\":481,\"kind\":4194304,\"name\":\"JssmStateStyleShape\",\"url\":\"modules/jssm_types._internal_.html#JssmStateStyleShape\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace\",\"parent\":\"jssm_types.\"},{\"id\":482,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#JssmStateStyleShape.__type-16\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..JssmStateStyleShape\"},{\"id\":483,\"kind\":1024,\"name\":\"key\",\"url\":\"modules/jssm_types._internal_.html#JssmStateStyleShape.__type-16.key-5\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..JssmStateStyleShape.__type\"},{\"id\":484,\"kind\":1024,\"name\":\"value\",\"url\":\"modules/jssm_types._internal_.html#JssmStateStyleShape.__type-16.value-5\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..JssmStateStyleShape.__type\"},{\"id\":485,\"kind\":4194304,\"name\":\"JssmStateStyleColor\",\"url\":\"modules/jssm_types._internal_.html#JssmStateStyleColor\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace\",\"parent\":\"jssm_types.\"},{\"id\":486,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#JssmStateStyleColor.__type-13\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..JssmStateStyleColor\"},{\"id\":487,\"kind\":1024,\"name\":\"key\",\"url\":\"modules/jssm_types._internal_.html#JssmStateStyleColor.__type-13.key-2\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..JssmStateStyleColor.__type\"},{\"id\":488,\"kind\":1024,\"name\":\"value\",\"url\":\"modules/jssm_types._internal_.html#JssmStateStyleColor.__type-13.value-2\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..JssmStateStyleColor.__type\"},{\"id\":489,\"kind\":4194304,\"name\":\"JssmStateStyleTextColor\",\"url\":\"modules/jssm_types._internal_.html#JssmStateStyleTextColor\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace\",\"parent\":\"jssm_types.\"},{\"id\":490,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#JssmStateStyleTextColor.__type-18\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..JssmStateStyleTextColor\"},{\"id\":491,\"kind\":1024,\"name\":\"key\",\"url\":\"modules/jssm_types._internal_.html#JssmStateStyleTextColor.__type-18.key-7\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..JssmStateStyleTextColor.__type\"},{\"id\":492,\"kind\":1024,\"name\":\"value\",\"url\":\"modules/jssm_types._internal_.html#JssmStateStyleTextColor.__type-18.value-7\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..JssmStateStyleTextColor.__type\"},{\"id\":493,\"kind\":4194304,\"name\":\"JssmStateStyleCorners\",\"url\":\"modules/jssm_types._internal_.html#JssmStateStyleCorners\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace\",\"parent\":\"jssm_types.\"},{\"id\":494,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#JssmStateStyleCorners.__type-14\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..JssmStateStyleCorners\"},{\"id\":495,\"kind\":1024,\"name\":\"key\",\"url\":\"modules/jssm_types._internal_.html#JssmStateStyleCorners.__type-14.key-3\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..JssmStateStyleCorners.__type\"},{\"id\":496,\"kind\":1024,\"name\":\"value\",\"url\":\"modules/jssm_types._internal_.html#JssmStateStyleCorners.__type-14.value-3\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..JssmStateStyleCorners.__type\"},{\"id\":497,\"kind\":4194304,\"name\":\"JssmStateStyleLineStyle\",\"url\":\"modules/jssm_types._internal_.html#JssmStateStyleLineStyle\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace\",\"parent\":\"jssm_types.\"},{\"id\":498,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#JssmStateStyleLineStyle.__type-15\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..JssmStateStyleLineStyle\"},{\"id\":499,\"kind\":1024,\"name\":\"key\",\"url\":\"modules/jssm_types._internal_.html#JssmStateStyleLineStyle.__type-15.key-4\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..JssmStateStyleLineStyle.__type\"},{\"id\":500,\"kind\":1024,\"name\":\"value\",\"url\":\"modules/jssm_types._internal_.html#JssmStateStyleLineStyle.__type-15.value-4\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..JssmStateStyleLineStyle.__type\"},{\"id\":501,\"kind\":4194304,\"name\":\"JssmStateStyleBackgroundColor\",\"url\":\"modules/jssm_types._internal_.html#JssmStateStyleBackgroundColor\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace\",\"parent\":\"jssm_types.\"},{\"id\":502,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#JssmStateStyleBackgroundColor.__type-11\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..JssmStateStyleBackgroundColor\"},{\"id\":503,\"kind\":1024,\"name\":\"key\",\"url\":\"modules/jssm_types._internal_.html#JssmStateStyleBackgroundColor.__type-11.key\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..JssmStateStyleBackgroundColor.__type\"},{\"id\":504,\"kind\":1024,\"name\":\"value\",\"url\":\"modules/jssm_types._internal_.html#JssmStateStyleBackgroundColor.__type-11.value\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..JssmStateStyleBackgroundColor.__type\"},{\"id\":505,\"kind\":4194304,\"name\":\"JssmStateStyleStateLabel\",\"url\":\"modules/jssm_types._internal_.html#JssmStateStyleStateLabel\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace\",\"parent\":\"jssm_types.\"},{\"id\":506,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#JssmStateStyleStateLabel.__type-17\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..JssmStateStyleStateLabel\"},{\"id\":507,\"kind\":1024,\"name\":\"key\",\"url\":\"modules/jssm_types._internal_.html#JssmStateStyleStateLabel.__type-17.key-6\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..JssmStateStyleStateLabel.__type\"},{\"id\":508,\"kind\":1024,\"name\":\"value\",\"url\":\"modules/jssm_types._internal_.html#JssmStateStyleStateLabel.__type-17.value-6\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..JssmStateStyleStateLabel.__type\"},{\"id\":509,\"kind\":4194304,\"name\":\"JssmStateStyleBorderColor\",\"url\":\"modules/jssm_types._internal_.html#JssmStateStyleBorderColor\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace\",\"parent\":\"jssm_types.\"},{\"id\":510,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#JssmStateStyleBorderColor.__type-12\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..JssmStateStyleBorderColor\"},{\"id\":511,\"kind\":1024,\"name\":\"key\",\"url\":\"modules/jssm_types._internal_.html#JssmStateStyleBorderColor.__type-12.key-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..JssmStateStyleBorderColor.__type\"},{\"id\":512,\"kind\":1024,\"name\":\"value\",\"url\":\"modules/jssm_types._internal_.html#JssmStateStyleBorderColor.__type-12.value-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..JssmStateStyleBorderColor.__type\"},{\"id\":513,\"kind\":4194304,\"name\":\"BasicHookDescription\",\"url\":\"modules/jssm_types._internal_.html#BasicHookDescription\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace tsd-has-type-parameter\",\"parent\":\"jssm_types.\"},{\"id\":514,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#BasicHookDescription.__type-2\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..BasicHookDescription\"},{\"id\":515,\"kind\":1024,\"name\":\"kind\",\"url\":\"modules/jssm_types._internal_.html#BasicHookDescription.__type-2.kind-2\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..BasicHookDescription.__type\"},{\"id\":516,\"kind\":1024,\"name\":\"from\",\"url\":\"modules/jssm_types._internal_.html#BasicHookDescription.__type-2.from\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..BasicHookDescription.__type\"},{\"id\":517,\"kind\":1024,\"name\":\"to\",\"url\":\"modules/jssm_types._internal_.html#BasicHookDescription.__type-2.to\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..BasicHookDescription.__type\"},{\"id\":518,\"kind\":1024,\"name\":\"handler\",\"url\":\"modules/jssm_types._internal_.html#BasicHookDescription.__type-2.handler-2\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..BasicHookDescription.__type\"},{\"id\":519,\"kind\":4194304,\"name\":\"HookDescriptionWithAction\",\"url\":\"modules/jssm_types._internal_.html#HookDescriptionWithAction\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace tsd-has-type-parameter\",\"parent\":\"jssm_types.\"},{\"id\":520,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#HookDescriptionWithAction.__type-7\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..HookDescriptionWithAction\"},{\"id\":521,\"kind\":1024,\"name\":\"kind\",\"url\":\"modules/jssm_types._internal_.html#HookDescriptionWithAction.__type-7.kind-7\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..HookDescriptionWithAction.__type\"},{\"id\":522,\"kind\":1024,\"name\":\"from\",\"url\":\"modules/jssm_types._internal_.html#HookDescriptionWithAction.__type-7.from-2\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..HookDescriptionWithAction.__type\"},{\"id\":523,\"kind\":1024,\"name\":\"to\",\"url\":\"modules/jssm_types._internal_.html#HookDescriptionWithAction.__type-7.to-2\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..HookDescriptionWithAction.__type\"},{\"id\":524,\"kind\":1024,\"name\":\"action\",\"url\":\"modules/jssm_types._internal_.html#HookDescriptionWithAction.__type-7.action-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..HookDescriptionWithAction.__type\"},{\"id\":525,\"kind\":1024,\"name\":\"handler\",\"url\":\"modules/jssm_types._internal_.html#HookDescriptionWithAction.__type-7.handler-7\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..HookDescriptionWithAction.__type\"},{\"id\":526,\"kind\":4194304,\"name\":\"GlobalActionHook\",\"url\":\"modules/jssm_types._internal_.html#GlobalActionHook\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace tsd-has-type-parameter\",\"parent\":\"jssm_types.\"},{\"id\":527,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#GlobalActionHook.__type-6\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..GlobalActionHook\"},{\"id\":528,\"kind\":1024,\"name\":\"kind\",\"url\":\"modules/jssm_types._internal_.html#GlobalActionHook.__type-6.kind-6\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..GlobalActionHook.__type\"},{\"id\":529,\"kind\":1024,\"name\":\"action\",\"url\":\"modules/jssm_types._internal_.html#GlobalActionHook.__type-6.action\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..GlobalActionHook.__type\"},{\"id\":530,\"kind\":1024,\"name\":\"handler\",\"url\":\"modules/jssm_types._internal_.html#GlobalActionHook.__type-6.handler-6\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..GlobalActionHook.__type\"},{\"id\":531,\"kind\":4194304,\"name\":\"AnyActionHook\",\"url\":\"modules/jssm_types._internal_.html#AnyActionHook\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace tsd-has-type-parameter\",\"parent\":\"jssm_types.\"},{\"id\":532,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#AnyActionHook.__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..AnyActionHook\"},{\"id\":533,\"kind\":1024,\"name\":\"kind\",\"url\":\"modules/jssm_types._internal_.html#AnyActionHook.__type.kind\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..AnyActionHook.__type\"},{\"id\":534,\"kind\":1024,\"name\":\"handler\",\"url\":\"modules/jssm_types._internal_.html#AnyActionHook.__type.handler\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..AnyActionHook.__type\"},{\"id\":535,\"kind\":4194304,\"name\":\"StandardTransitionHook\",\"url\":\"modules/jssm_types._internal_.html#StandardTransitionHook\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace tsd-has-type-parameter\",\"parent\":\"jssm_types.\"},{\"id\":536,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#StandardTransitionHook.__type-34\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..StandardTransitionHook\"},{\"id\":537,\"kind\":1024,\"name\":\"kind\",\"url\":\"modules/jssm_types._internal_.html#StandardTransitionHook.__type-34.kind-19\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..StandardTransitionHook.__type\"},{\"id\":538,\"kind\":1024,\"name\":\"handler\",\"url\":\"modules/jssm_types._internal_.html#StandardTransitionHook.__type-34.handler-19\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..StandardTransitionHook.__type\"},{\"id\":539,\"kind\":4194304,\"name\":\"MainTransitionHook\",\"url\":\"modules/jssm_types._internal_.html#MainTransitionHook\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace tsd-has-type-parameter\",\"parent\":\"jssm_types.\"},{\"id\":540,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#MainTransitionHook.__type-22\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..MainTransitionHook\"},{\"id\":541,\"kind\":1024,\"name\":\"kind\",\"url\":\"modules/jssm_types._internal_.html#MainTransitionHook.__type-22.kind-8\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..MainTransitionHook.__type\"},{\"id\":542,\"kind\":1024,\"name\":\"handler\",\"url\":\"modules/jssm_types._internal_.html#MainTransitionHook.__type-22.handler-8\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..MainTransitionHook.__type\"},{\"id\":543,\"kind\":4194304,\"name\":\"ForcedTransitionHook\",\"url\":\"modules/jssm_types._internal_.html#ForcedTransitionHook\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace tsd-has-type-parameter\",\"parent\":\"jssm_types.\"},{\"id\":544,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#ForcedTransitionHook.__type-5\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..ForcedTransitionHook\"},{\"id\":545,\"kind\":1024,\"name\":\"kind\",\"url\":\"modules/jssm_types._internal_.html#ForcedTransitionHook.__type-5.kind-5\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..ForcedTransitionHook.__type\"},{\"id\":546,\"kind\":1024,\"name\":\"handler\",\"url\":\"modules/jssm_types._internal_.html#ForcedTransitionHook.__type-5.handler-5\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..ForcedTransitionHook.__type\"},{\"id\":547,\"kind\":4194304,\"name\":\"AnyTransitionHook\",\"url\":\"modules/jssm_types._internal_.html#AnyTransitionHook\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace tsd-has-type-parameter\",\"parent\":\"jssm_types.\"},{\"id\":548,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#AnyTransitionHook.__type-1\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..AnyTransitionHook\"},{\"id\":549,\"kind\":1024,\"name\":\"kind\",\"url\":\"modules/jssm_types._internal_.html#AnyTransitionHook.__type-1.kind-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..AnyTransitionHook.__type\"},{\"id\":550,\"kind\":1024,\"name\":\"handler\",\"url\":\"modules/jssm_types._internal_.html#AnyTransitionHook.__type-1.handler-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..AnyTransitionHook.__type\"},{\"id\":551,\"kind\":4194304,\"name\":\"EntryHook\",\"url\":\"modules/jssm_types._internal_.html#EntryHook\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace tsd-has-type-parameter\",\"parent\":\"jssm_types.\"},{\"id\":552,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#EntryHook.__type-3\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..EntryHook\"},{\"id\":553,\"kind\":1024,\"name\":\"kind\",\"url\":\"modules/jssm_types._internal_.html#EntryHook.__type-3.kind-3\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..EntryHook.__type\"},{\"id\":554,\"kind\":1024,\"name\":\"to\",\"url\":\"modules/jssm_types._internal_.html#EntryHook.__type-3.to-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..EntryHook.__type\"},{\"id\":555,\"kind\":1024,\"name\":\"handler\",\"url\":\"modules/jssm_types._internal_.html#EntryHook.__type-3.handler-3\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..EntryHook.__type\"},{\"id\":556,\"kind\":4194304,\"name\":\"ExitHook\",\"url\":\"modules/jssm_types._internal_.html#ExitHook\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace tsd-has-type-parameter\",\"parent\":\"jssm_types.\"},{\"id\":557,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#ExitHook.__type-4\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..ExitHook\"},{\"id\":558,\"kind\":1024,\"name\":\"kind\",\"url\":\"modules/jssm_types._internal_.html#ExitHook.__type-4.kind-4\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..ExitHook.__type\"},{\"id\":559,\"kind\":1024,\"name\":\"from\",\"url\":\"modules/jssm_types._internal_.html#ExitHook.__type-4.from-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..ExitHook.__type\"},{\"id\":560,\"kind\":1024,\"name\":\"handler\",\"url\":\"modules/jssm_types._internal_.html#ExitHook.__type-4.handler-4\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..ExitHook.__type\"},{\"id\":561,\"kind\":4194304,\"name\":\"PostBasicHookDescription\",\"url\":\"modules/jssm_types._internal_.html#PostBasicHookDescription\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace tsd-has-type-parameter\",\"parent\":\"jssm_types.\"},{\"id\":562,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#PostBasicHookDescription.__type-25\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..PostBasicHookDescription\"},{\"id\":563,\"kind\":1024,\"name\":\"kind\",\"url\":\"modules/jssm_types._internal_.html#PostBasicHookDescription.__type-25.kind-11\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..PostBasicHookDescription.__type\"},{\"id\":564,\"kind\":1024,\"name\":\"from\",\"url\":\"modules/jssm_types._internal_.html#PostBasicHookDescription.__type-25.from-3\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..PostBasicHookDescription.__type\"},{\"id\":565,\"kind\":1024,\"name\":\"to\",\"url\":\"modules/jssm_types._internal_.html#PostBasicHookDescription.__type-25.to-3\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..PostBasicHookDescription.__type\"},{\"id\":566,\"kind\":1024,\"name\":\"handler\",\"url\":\"modules/jssm_types._internal_.html#PostBasicHookDescription.__type-25.handler-11\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..PostBasicHookDescription.__type\"},{\"id\":567,\"kind\":4194304,\"name\":\"PostHookDescriptionWithAction\",\"url\":\"modules/jssm_types._internal_.html#PostHookDescriptionWithAction\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace tsd-has-type-parameter\",\"parent\":\"jssm_types.\"},{\"id\":568,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#PostHookDescriptionWithAction.__type-30\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..PostHookDescriptionWithAction\"},{\"id\":569,\"kind\":1024,\"name\":\"kind\",\"url\":\"modules/jssm_types._internal_.html#PostHookDescriptionWithAction.__type-30.kind-16\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..PostHookDescriptionWithAction.__type\"},{\"id\":570,\"kind\":1024,\"name\":\"from\",\"url\":\"modules/jssm_types._internal_.html#PostHookDescriptionWithAction.__type-30.from-5\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..PostHookDescriptionWithAction.__type\"},{\"id\":571,\"kind\":1024,\"name\":\"to\",\"url\":\"modules/jssm_types._internal_.html#PostHookDescriptionWithAction.__type-30.to-5\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..PostHookDescriptionWithAction.__type\"},{\"id\":572,\"kind\":1024,\"name\":\"action\",\"url\":\"modules/jssm_types._internal_.html#PostHookDescriptionWithAction.__type-30.action-3\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..PostHookDescriptionWithAction.__type\"},{\"id\":573,\"kind\":1024,\"name\":\"handler\",\"url\":\"modules/jssm_types._internal_.html#PostHookDescriptionWithAction.__type-30.handler-16\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..PostHookDescriptionWithAction.__type\"},{\"id\":574,\"kind\":4194304,\"name\":\"PostGlobalActionHook\",\"url\":\"modules/jssm_types._internal_.html#PostGlobalActionHook\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace tsd-has-type-parameter\",\"parent\":\"jssm_types.\"},{\"id\":575,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#PostGlobalActionHook.__type-29\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..PostGlobalActionHook\"},{\"id\":576,\"kind\":1024,\"name\":\"kind\",\"url\":\"modules/jssm_types._internal_.html#PostGlobalActionHook.__type-29.kind-15\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..PostGlobalActionHook.__type\"},{\"id\":577,\"kind\":1024,\"name\":\"action\",\"url\":\"modules/jssm_types._internal_.html#PostGlobalActionHook.__type-29.action-2\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..PostGlobalActionHook.__type\"},{\"id\":578,\"kind\":1024,\"name\":\"handler\",\"url\":\"modules/jssm_types._internal_.html#PostGlobalActionHook.__type-29.handler-15\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..PostGlobalActionHook.__type\"},{\"id\":579,\"kind\":4194304,\"name\":\"PostAnyActionHook\",\"url\":\"modules/jssm_types._internal_.html#PostAnyActionHook\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace tsd-has-type-parameter\",\"parent\":\"jssm_types.\"},{\"id\":580,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#PostAnyActionHook.__type-23\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..PostAnyActionHook\"},{\"id\":581,\"kind\":1024,\"name\":\"kind\",\"url\":\"modules/jssm_types._internal_.html#PostAnyActionHook.__type-23.kind-9\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..PostAnyActionHook.__type\"},{\"id\":582,\"kind\":1024,\"name\":\"handler\",\"url\":\"modules/jssm_types._internal_.html#PostAnyActionHook.__type-23.handler-9\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..PostAnyActionHook.__type\"},{\"id\":583,\"kind\":4194304,\"name\":\"PostStandardTransitionHook\",\"url\":\"modules/jssm_types._internal_.html#PostStandardTransitionHook\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace tsd-has-type-parameter\",\"parent\":\"jssm_types.\"},{\"id\":584,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#PostStandardTransitionHook.__type-33\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..PostStandardTransitionHook\"},{\"id\":585,\"kind\":1024,\"name\":\"kind\",\"url\":\"modules/jssm_types._internal_.html#PostStandardTransitionHook.__type-33.kind-18\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..PostStandardTransitionHook.__type\"},{\"id\":586,\"kind\":1024,\"name\":\"handler\",\"url\":\"modules/jssm_types._internal_.html#PostStandardTransitionHook.__type-33.handler-18\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..PostStandardTransitionHook.__type\"},{\"id\":587,\"kind\":4194304,\"name\":\"PostMainTransitionHook\",\"url\":\"modules/jssm_types._internal_.html#PostMainTransitionHook\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace tsd-has-type-parameter\",\"parent\":\"jssm_types.\"},{\"id\":588,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#PostMainTransitionHook.__type-32\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..PostMainTransitionHook\"},{\"id\":589,\"kind\":1024,\"name\":\"kind\",\"url\":\"modules/jssm_types._internal_.html#PostMainTransitionHook.__type-32.kind-17\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..PostMainTransitionHook.__type\"},{\"id\":590,\"kind\":1024,\"name\":\"handler\",\"url\":\"modules/jssm_types._internal_.html#PostMainTransitionHook.__type-32.handler-17\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..PostMainTransitionHook.__type\"},{\"id\":591,\"kind\":4194304,\"name\":\"PostForcedTransitionHook\",\"url\":\"modules/jssm_types._internal_.html#PostForcedTransitionHook\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace tsd-has-type-parameter\",\"parent\":\"jssm_types.\"},{\"id\":592,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#PostForcedTransitionHook.__type-28\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..PostForcedTransitionHook\"},{\"id\":593,\"kind\":1024,\"name\":\"kind\",\"url\":\"modules/jssm_types._internal_.html#PostForcedTransitionHook.__type-28.kind-14\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..PostForcedTransitionHook.__type\"},{\"id\":594,\"kind\":1024,\"name\":\"handler\",\"url\":\"modules/jssm_types._internal_.html#PostForcedTransitionHook.__type-28.handler-14\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..PostForcedTransitionHook.__type\"},{\"id\":595,\"kind\":4194304,\"name\":\"PostAnyTransitionHook\",\"url\":\"modules/jssm_types._internal_.html#PostAnyTransitionHook\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace tsd-has-type-parameter\",\"parent\":\"jssm_types.\"},{\"id\":596,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#PostAnyTransitionHook.__type-24\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..PostAnyTransitionHook\"},{\"id\":597,\"kind\":1024,\"name\":\"kind\",\"url\":\"modules/jssm_types._internal_.html#PostAnyTransitionHook.__type-24.kind-10\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..PostAnyTransitionHook.__type\"},{\"id\":598,\"kind\":1024,\"name\":\"handler\",\"url\":\"modules/jssm_types._internal_.html#PostAnyTransitionHook.__type-24.handler-10\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..PostAnyTransitionHook.__type\"},{\"id\":599,\"kind\":4194304,\"name\":\"PostEntryHook\",\"url\":\"modules/jssm_types._internal_.html#PostEntryHook\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace tsd-has-type-parameter\",\"parent\":\"jssm_types.\"},{\"id\":600,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#PostEntryHook.__type-26\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..PostEntryHook\"},{\"id\":601,\"kind\":1024,\"name\":\"kind\",\"url\":\"modules/jssm_types._internal_.html#PostEntryHook.__type-26.kind-12\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..PostEntryHook.__type\"},{\"id\":602,\"kind\":1024,\"name\":\"to\",\"url\":\"modules/jssm_types._internal_.html#PostEntryHook.__type-26.to-4\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..PostEntryHook.__type\"},{\"id\":603,\"kind\":1024,\"name\":\"handler\",\"url\":\"modules/jssm_types._internal_.html#PostEntryHook.__type-26.handler-12\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..PostEntryHook.__type\"},{\"id\":604,\"kind\":4194304,\"name\":\"PostExitHook\",\"url\":\"modules/jssm_types._internal_.html#PostExitHook\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace tsd-has-type-parameter\",\"parent\":\"jssm_types.\"},{\"id\":605,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#PostExitHook.__type-27\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..PostExitHook\"},{\"id\":606,\"kind\":1024,\"name\":\"kind\",\"url\":\"modules/jssm_types._internal_.html#PostExitHook.__type-27.kind-13\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..PostExitHook.__type\"},{\"id\":607,\"kind\":1024,\"name\":\"from\",\"url\":\"modules/jssm_types._internal_.html#PostExitHook.__type-27.from-4\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..PostExitHook.__type\"},{\"id\":608,\"kind\":1024,\"name\":\"handler\",\"url\":\"modules/jssm_types._internal_.html#PostExitHook.__type-27.handler-13\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..PostExitHook.__type\"},{\"id\":609,\"kind\":4194304,\"name\":\"JssmTransitionPermitterMaybeArray\",\"url\":\"modules/jssm_types._internal_.html#JssmTransitionPermitterMaybeArray\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace tsd-has-type-parameter\",\"parent\":\"jssm_types.\"},{\"id\":610,\"kind\":4194304,\"name\":\"JssmStatePermitterMaybeArray\",\"url\":\"modules/jssm_types._internal_.html#JssmStatePermitterMaybeArray\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace tsd-has-type-parameter\",\"parent\":\"jssm_types.\"},{\"id\":611,\"kind\":4194304,\"name\":\"JssmCorner\",\"url\":\"modules/jssm_types._internal_.html#JssmCorner\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace\",\"parent\":\"jssm_types.\"},{\"id\":612,\"kind\":4194304,\"name\":\"JssmLineStyle\",\"url\":\"modules/jssm_types._internal_.html#JssmLineStyle\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace\",\"parent\":\"jssm_types.\"},{\"id\":613,\"kind\":4194304,\"name\":\"JssmTransitionPermitter\",\"url\":\"modules/jssm_types._internal_.html#JssmTransitionPermitter\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace tsd-has-type-parameter\",\"parent\":\"jssm_types.\"},{\"id\":614,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#JssmTransitionPermitter.__type-21\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..JssmTransitionPermitter\"},{\"id\":615,\"kind\":4194304,\"name\":\"JssmStatePermitter\",\"url\":\"modules/jssm_types._internal_.html#JssmStatePermitter\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace tsd-has-type-parameter\",\"parent\":\"jssm_types.\"},{\"id\":616,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#JssmStatePermitter.__type-10\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..JssmStatePermitter\"},{\"id\":617,\"kind\":4194304,\"name\":\"PostHookHandler\",\"url\":\"modules/jssm_types._internal_.html#PostHookHandler\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace tsd-has-type-parameter\",\"parent\":\"jssm_types.\"},{\"id\":618,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#PostHookHandler.__type-31\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..PostHookHandler\"},{\"id\":619,\"kind\":4,\"name\":\"\",\"url\":\"modules/jssm_error._internal_.html\",\"classes\":\"tsd-kind-namespace tsd-parent-kind-module\",\"parent\":\"jssm_error\"},{\"id\":620,\"kind\":2048,\"name\":\"Page: What are state machines?\",\"url\":\"pages/WhatAreStateMachines.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\"},{\"id\":621,\"kind\":2048,\"name\":\"Page: ☕ Quick Start\",\"url\":\"pages/GettingStarted.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\"},{\"id\":622,\"kind\":2048,\"name\":\"Page: Language reference\",\"url\":\"pages/LanguageReference.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\"},{\"id\":623,\"kind\":2048,\"name\":\"Page: API reference\",\"url\":\"pages/todo.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\"},{\"id\":624,\"kind\":2048,\"name\":\"Page: Example machines\",\"url\":\"pages/ExampleMachines.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\"},{\"id\":625,\"kind\":2048,\"name\":\"Page: React\",\"url\":\"pages/todo.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\"},{\"id\":626,\"kind\":2048,\"name\":\"Page: Vue\",\"url\":\"pages/todo.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\"},{\"id\":627,\"kind\":2048,\"name\":\"Page: Angular\",\"url\":\"pages/todo.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\"},{\"id\":628,\"kind\":2048,\"name\":\"Page: Node\",\"url\":\"pages/todo.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\"},{\"id\":629,\"kind\":2048,\"name\":\"Page: Node\",\"url\":\"pages/todo.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\"},{\"id\":630,\"kind\":2048,\"name\":\"Page: Typescript\",\"url\":\"pages/todo.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\"},{\"id\":631,\"kind\":2048,\"name\":\"Page: The browser\",\"url\":\"pages/todo.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\"},{\"id\":632,\"kind\":2048,\"name\":\"Page: AWS Lambda\",\"url\":\"pages/todo.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\"},{\"id\":633,\"kind\":2048,\"name\":\"Page: SQL\",\"url\":\"pages/todo.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\"},{\"id\":634,\"kind\":2048,\"name\":\"Page: Rollup\",\"url\":\"pages/todo.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\"},{\"id\":635,\"kind\":2048,\"name\":\"Page: Webpack\",\"url\":\"pages/todo.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\"},{\"id\":636,\"kind\":2048,\"name\":\"Page: CDN\",\"url\":\"pages/todo.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\"},{\"id\":637,\"kind\":2048,\"name\":\"Page: Local files\",\"url\":\"pages/todo.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\"},{\"id\":638,\"kind\":2048,\"name\":\"Page: Let's make a large machine\",\"url\":\"pages/todo.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\"},{\"id\":639,\"kind\":2048,\"name\":\"Page: Publishing\",\"url\":\"pages/todo.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\"},{\"id\":640,\"kind\":2048,\"name\":\"Page: Theme, style, color\",\"url\":\"pages/Styling.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\"},{\"id\":641,\"kind\":2048,\"name\":\"Page: Feature comparison\",\"url\":\"pages/FeatureComparison.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\"},{\"id\":642,\"kind\":2048,\"name\":\"Page: LOC Shootout\",\"url\":\"pages/Shootout.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\"},{\"id\":643,\"kind\":2048,\"name\":\"Page: Live Editor\",\"url\":\"pages/live_editor.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\"},{\"id\":644,\"kind\":2048,\"name\":\"Page: Github Action\",\"url\":\"pages/todo.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\"},{\"id\":645,\"kind\":2048,\"name\":\"Page: CLI\",\"url\":\"pages/todo.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\"},{\"id\":646,\"kind\":2048,\"name\":\"Page: Community\",\"url\":\"pages/community.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\"},{\"id\":647,\"kind\":2048,\"name\":\"Page: Changelog\",\"url\":\"pages/CHANGELOG.long.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\"}],\"index\":{\"version\":\"2.3.9\",\"fields\":[\"name\",\"parent\"],\"fieldVectors\":[[\"name/0\",[0,31.15]],[\"parent/0\",[]],[\"name/1\",[1,62.497]],[\"parent/1\",[0,2.958]],[\"name/2\",[2,57.238]],[\"parent/2\",[0,2.958]],[\"name/3\",[3,57.238]],[\"parent/3\",[4,1.23]],[\"name/4\",[5,62.497]],[\"parent/4\",[4,1.23]],[\"name/5\",[6,62.497]],[\"parent/5\",[4,1.23]],[\"name/6\",[7,62.497]],[\"parent/6\",[4,1.23]],[\"name/7\",[8,62.497]],[\"parent/7\",[4,1.23]],[\"name/8\",[9,62.497]],[\"parent/8\",[4,1.23]],[\"name/9\",[10,62.497]],[\"parent/9\",[4,1.23]],[\"name/10\",[11,62.497]],[\"parent/10\",[4,1.23]],[\"name/11\",[12,62.497]],[\"parent/11\",[4,1.23]],[\"name/12\",[13,62.497]],[\"parent/12\",[4,1.23]],[\"name/13\",[14,62.497]],[\"parent/13\",[4,1.23]],[\"name/14\",[15,62.497]],[\"parent/14\",[4,1.23]],[\"name/15\",[16,62.497]],[\"parent/15\",[4,1.23]],[\"name/16\",[17,62.497]],[\"parent/16\",[4,1.23]],[\"name/17\",[18,62.497]],[\"parent/17\",[4,1.23]],[\"name/18\",[19,62.497]],[\"parent/18\",[4,1.23]],[\"name/19\",[20,62.497]],[\"parent/19\",[4,1.23]],[\"name/20\",[21,62.497]],[\"parent/20\",[4,1.23]],[\"name/21\",[22,62.497]],[\"parent/21\",[4,1.23]],[\"name/22\",[23,62.497]],[\"parent/22\",[4,1.23]],[\"name/23\",[24,62.497]],[\"parent/23\",[4,1.23]],[\"name/24\",[25,62.497]],[\"parent/24\",[4,1.23]],[\"name/25\",[26,62.497]],[\"parent/25\",[4,1.23]],[\"name/26\",[27,62.497]],[\"parent/26\",[4,1.23]],[\"name/27\",[28,62.497]],[\"parent/27\",[4,1.23]],[\"name/28\",[29,62.497]],[\"parent/28\",[4,1.23]],[\"name/29\",[30,62.497]],[\"parent/29\",[4,1.23]],[\"name/30\",[31,62.497]],[\"parent/30\",[4,1.23]],[\"name/31\",[32,62.497]],[\"parent/31\",[4,1.23]],[\"name/32\",[33,62.497]],[\"parent/32\",[4,1.23]],[\"name/33\",[34,62.497]],[\"parent/33\",[4,1.23]],[\"name/34\",[35,62.497]],[\"parent/34\",[4,1.23]],[\"name/35\",[36,62.497]],[\"parent/35\",[4,1.23]],[\"name/36\",[37,62.497]],[\"parent/36\",[4,1.23]],[\"name/37\",[38,62.497]],[\"parent/37\",[4,1.23]],[\"name/38\",[39,62.497]],[\"parent/38\",[4,1.23]],[\"name/39\",[40,62.497]],[\"parent/39\",[4,1.23]],[\"name/40\",[41,62.497]],[\"parent/40\",[4,1.23]],[\"name/41\",[42,62.497]],[\"parent/41\",[4,1.23]],[\"name/42\",[43,62.497]],[\"parent/42\",[4,1.23]],[\"name/43\",[44,62.497]],[\"parent/43\",[4,1.23]],[\"name/44\",[45,62.497]],[\"parent/44\",[4,1.23]],[\"name/45\",[46,62.497]],[\"parent/45\",[4,1.23]],[\"name/46\",[47,62.497]],[\"parent/46\",[4,1.23]],[\"name/47\",[48,62.497]],[\"parent/47\",[4,1.23]],[\"name/48\",[49,62.497]],[\"parent/48\",[4,1.23]],[\"name/49\",[50,62.497]],[\"parent/49\",[4,1.23]],[\"name/50\",[51,62.497]],[\"parent/50\",[4,1.23]],[\"name/51\",[52,62.497]],[\"parent/51\",[4,1.23]],[\"name/52\",[53,62.497]],[\"parent/52\",[4,1.23]],[\"name/53\",[54,62.497]],[\"parent/53\",[4,1.23]],[\"name/54\",[55,62.497]],[\"parent/54\",[4,1.23]],[\"name/55\",[56,62.497]],[\"parent/55\",[4,1.23]],[\"name/56\",[57,62.497]],[\"parent/56\",[4,1.23]],[\"name/57\",[58,62.497]],[\"parent/57\",[4,1.23]],[\"name/58\",[59,62.497]],[\"parent/58\",[4,1.23]],[\"name/59\",[60,62.497]],[\"parent/59\",[4,1.23]],[\"name/60\",[61,62.497]],[\"parent/60\",[4,1.23]],[\"name/61\",[62,62.497]],[\"parent/61\",[4,1.23]],[\"name/62\",[63,62.497]],[\"parent/62\",[4,1.23]],[\"name/63\",[64,62.497]],[\"parent/63\",[4,1.23]],[\"name/64\",[65,62.497]],[\"parent/64\",[4,1.23]],[\"name/65\",[66,62.497]],[\"parent/65\",[4,1.23]],[\"name/66\",[67,62.497]],[\"parent/66\",[4,1.23]],[\"name/67\",[68,62.497]],[\"parent/67\",[4,1.23]],[\"name/68\",[69,62.497]],[\"parent/68\",[4,1.23]],[\"name/69\",[70,62.497]],[\"parent/69\",[4,1.23]],[\"name/70\",[71,62.497]],[\"parent/70\",[4,1.23]],[\"name/71\",[72,62.497]],[\"parent/71\",[4,1.23]],[\"name/72\",[73,62.497]],[\"parent/72\",[4,1.23]],[\"name/73\",[74,62.497]],[\"parent/73\",[4,1.23]],[\"name/74\",[75,62.497]],[\"parent/74\",[4,1.23]],[\"name/75\",[76,62.497]],[\"parent/75\",[4,1.23]],[\"name/76\",[77,62.497]],[\"parent/76\",[4,1.23]],[\"name/77\",[78,62.497]],[\"parent/77\",[4,1.23]],[\"name/78\",[79,62.497]],[\"parent/78\",[4,1.23]],[\"name/79\",[80,62.497]],[\"parent/79\",[4,1.23]],[\"name/80\",[81,62.497]],[\"parent/80\",[4,1.23]],[\"name/81\",[82,62.497]],[\"parent/81\",[4,1.23]],[\"name/82\",[83,43.492]],[\"parent/82\",[4,1.23]],[\"name/83\",[84,62.497]],[\"parent/83\",[4,1.23]],[\"name/84\",[85,62.497]],[\"parent/84\",[4,1.23]],[\"name/85\",[86,47.399]],[\"parent/85\",[4,1.23]],[\"name/86\",[87,62.497]],[\"parent/86\",[4,1.23]],[\"name/87\",[88,62.497]],[\"parent/87\",[4,1.23]],[\"name/88\",[89,62.497]],[\"parent/88\",[4,1.23]],[\"name/89\",[90,62.497]],[\"parent/89\",[4,1.23]],[\"name/90\",[91,62.497]],[\"parent/90\",[4,1.23]],[\"name/91\",[92,62.497]],[\"parent/91\",[4,1.23]],[\"name/92\",[93,62.497]],[\"parent/92\",[4,1.23]],[\"name/93\",[94,62.497]],[\"parent/93\",[4,1.23]],[\"name/94\",[95,62.497]],[\"parent/94\",[4,1.23]],[\"name/95\",[96,62.497]],[\"parent/95\",[4,1.23]],[\"name/96\",[97,57.238]],[\"parent/96\",[4,1.23]],[\"name/97\",[98,57.238]],[\"parent/97\",[4,1.23]],[\"name/98\",[99,57.238]],[\"parent/98\",[4,1.23]],[\"name/99\",[100,57.238]],[\"parent/99\",[4,1.23]],[\"name/100\",[101,57.238]],[\"parent/100\",[4,1.23]],[\"name/101\",[102,57.238]],[\"parent/101\",[4,1.23]],[\"name/102\",[103,57.238]],[\"parent/102\",[4,1.23]],[\"name/103\",[104,57.238]],[\"parent/103\",[4,1.23]],[\"name/104\",[105,57.238]],[\"parent/104\",[4,1.23]],[\"name/105\",[106,57.238]],[\"parent/105\",[4,1.23]],[\"name/106\",[107,62.497]],[\"parent/106\",[4,1.23]],[\"name/107\",[108,57.238]],[\"parent/107\",[4,1.23]],[\"name/108\",[109,62.497]],[\"parent/108\",[4,1.23]],[\"name/109\",[110,57.238]],[\"parent/109\",[4,1.23]],[\"name/110\",[111,62.497]],[\"parent/110\",[4,1.23]],[\"name/111\",[112,57.238]],[\"parent/111\",[4,1.23]],[\"name/112\",[113,62.497]],[\"parent/112\",[4,1.23]],[\"name/113\",[114,62.497]],[\"parent/113\",[4,1.23]],[\"name/114\",[115,62.497]],[\"parent/114\",[4,1.23]],[\"name/115\",[116,62.497]],[\"parent/115\",[4,1.23]],[\"name/116\",[117,62.497]],[\"parent/116\",[4,1.23]],[\"name/117\",[118,62.497]],[\"parent/117\",[4,1.23]],[\"name/118\",[119,62.497]],[\"parent/118\",[4,1.23]],[\"name/119\",[120,62.497]],[\"parent/119\",[4,1.23]],[\"name/120\",[121,57.238]],[\"parent/120\",[4,1.23]],[\"name/121\",[122,62.497]],[\"parent/121\",[4,1.23]],[\"name/122\",[123,62.497]],[\"parent/122\",[4,1.23]],[\"name/123\",[124,62.497]],[\"parent/123\",[4,1.23]],[\"name/124\",[125,62.497]],[\"parent/124\",[4,1.23]],[\"name/125\",[126,62.497]],[\"parent/125\",[4,1.23]],[\"name/126\",[127,62.497]],[\"parent/126\",[4,1.23]],[\"name/127\",[128,62.497]],[\"parent/127\",[4,1.23]],[\"name/128\",[129,62.497]],[\"parent/128\",[4,1.23]],[\"name/129\",[130,62.497]],[\"parent/129\",[4,1.23]],[\"name/130\",[131,53.773]],[\"parent/130\",[4,1.23]],[\"name/131\",[132,62.497]],[\"parent/131\",[4,1.23]],[\"name/132\",[133,62.497]],[\"parent/132\",[4,1.23]],[\"name/133\",[134,62.497]],[\"parent/133\",[4,1.23]],[\"name/134\",[135,62.497]],[\"parent/134\",[4,1.23]],[\"name/135\",[136,62.497]],[\"parent/135\",[4,1.23]],[\"name/136\",[137,62.497]],[\"parent/136\",[4,1.23]],[\"name/137\",[138,62.497]],[\"parent/137\",[4,1.23]],[\"name/138\",[139,62.497]],[\"parent/138\",[4,1.23]],[\"name/139\",[140,62.497]],[\"parent/139\",[4,1.23]],[\"name/140\",[141,62.497]],[\"parent/140\",[4,1.23]],[\"name/141\",[142,62.497]],[\"parent/141\",[4,1.23]],[\"name/142\",[143,62.497]],[\"parent/142\",[4,1.23]],[\"name/143\",[144,62.497]],[\"parent/143\",[4,1.23]],[\"name/144\",[145,62.497]],[\"parent/144\",[4,1.23]],[\"name/145\",[146,62.497]],[\"parent/145\",[4,1.23]],[\"name/146\",[147,62.497]],[\"parent/146\",[4,1.23]],[\"name/147\",[148,62.497]],[\"parent/147\",[4,1.23]],[\"name/148\",[149,62.497]],[\"parent/148\",[4,1.23]],[\"name/149\",[150,62.497]],[\"parent/149\",[4,1.23]],[\"name/150\",[151,62.497]],[\"parent/150\",[4,1.23]],[\"name/151\",[152,62.497]],[\"parent/151\",[4,1.23]],[\"name/152\",[153,62.497]],[\"parent/152\",[4,1.23]],[\"name/153\",[154,62.497]],[\"parent/153\",[4,1.23]],[\"name/154\",[155,62.497]],[\"parent/154\",[4,1.23]],[\"name/155\",[156,62.497]],[\"parent/155\",[4,1.23]],[\"name/156\",[157,62.497]],[\"parent/156\",[4,1.23]],[\"name/157\",[158,62.497]],[\"parent/157\",[4,1.23]],[\"name/158\",[159,62.497]],[\"parent/158\",[4,1.23]],[\"name/159\",[160,62.497]],[\"parent/159\",[4,1.23]],[\"name/160\",[161,62.497]],[\"parent/160\",[4,1.23]],[\"name/161\",[162,62.497]],[\"parent/161\",[4,1.23]],[\"name/162\",[163,62.497]],[\"parent/162\",[4,1.23]],[\"name/163\",[164,62.497]],[\"parent/163\",[4,1.23]],[\"name/164\",[165,62.497]],[\"parent/164\",[4,1.23]],[\"name/165\",[166,53.773]],[\"parent/165\",[4,1.23]],[\"name/166\",[167,62.497]],[\"parent/166\",[4,1.23]],[\"name/167\",[168,62.497]],[\"parent/167\",[4,1.23]],[\"name/168\",[169,44.637]],[\"parent/168\",[4,1.23]],[\"name/169\",[170,62.497]],[\"parent/169\",[4,1.23]],[\"name/170\",[171,62.497]],[\"parent/170\",[4,1.23]],[\"name/171\",[172,62.497]],[\"parent/171\",[4,1.23]],[\"name/172\",[173,62.497]],[\"parent/172\",[4,1.23]],[\"name/173\",[174,62.497]],[\"parent/173\",[4,1.23]],[\"name/174\",[175,62.497]],[\"parent/174\",[4,1.23]],[\"name/175\",[176,62.497]],[\"parent/175\",[4,1.23]],[\"name/176\",[177,62.497]],[\"parent/176\",[4,1.23]],[\"name/177\",[178,62.497]],[\"parent/177\",[4,1.23]],[\"name/178\",[179,62.497]],[\"parent/178\",[4,1.23]],[\"name/179\",[180,62.497]],[\"parent/179\",[4,1.23]],[\"name/180\",[181,62.497]],[\"parent/180\",[4,1.23]],[\"name/181\",[182,62.497]],[\"parent/181\",[4,1.23]],[\"name/182\",[183,62.497]],[\"parent/182\",[4,1.23]],[\"name/183\",[184,62.497]],[\"parent/183\",[4,1.23]],[\"name/184\",[185,62.497]],[\"parent/184\",[4,1.23]],[\"name/185\",[186,57.238]],[\"parent/185\",[4,1.23]],[\"name/186\",[187,57.238]],[\"parent/186\",[4,1.23]],[\"name/187\",[188,62.497]],[\"parent/187\",[0,2.958]],[\"name/188\",[189,57.238]],[\"parent/188\",[0,2.958]],[\"name/189\",[190,62.497]],[\"parent/189\",[0,2.958]],[\"name/190\",[191,62.497]],[\"parent/190\",[0,2.958]],[\"name/191\",[187,57.238]],[\"parent/191\",[0,2.958]],[\"name/192\",[192,42.462]],[\"parent/192\",[0,2.958]],[\"name/193\",[193,57.238]],[\"parent/193\",[0,2.958]],[\"name/194\",[194,57.238]],[\"parent/194\",[0,2.958]],[\"name/195\",[195,57.238]],[\"parent/195\",[0,2.958]],[\"name/196\",[196,62.497]],[\"parent/196\",[0,2.958]],[\"name/197\",[197,62.497]],[\"parent/197\",[0,2.958]],[\"name/198\",[198,62.497]],[\"parent/198\",[0,2.958]],[\"name/199\",[199,62.497]],[\"parent/199\",[0,2.958]],[\"name/200\",[200,27.593]],[\"parent/200\",[]],[\"name/201\",[201,62.497]],[\"parent/201\",[200,2.621]],[\"name/202\",[202,62.497]],[\"parent/202\",[200,2.621]],[\"name/203\",[203,62.497]],[\"parent/203\",[200,2.621]],[\"name/204\",[204,25.135]],[\"parent/204\",[205,5.936]],[\"name/205\",[192,42.462]],[\"parent/205\",[206,4.131]],[\"name/206\",[207,43.492]],[\"parent/206\",[206,4.131]],[\"name/207\",[208,43.492]],[\"parent/207\",[206,4.131]],[\"name/208\",[169,44.637]],[\"parent/208\",[206,4.131]],[\"name/209\",[209,53.773]],[\"parent/209\",[206,4.131]],[\"name/210\",[210,62.497]],[\"parent/210\",[206,4.131]],[\"name/211\",[211,34.615]],[\"parent/211\",[206,4.131]],[\"name/212\",[212,62.497]],[\"parent/212\",[206,4.131]],[\"name/213\",[213,62.497]],[\"parent/213\",[206,4.131]],[\"name/214\",[214,62.497]],[\"parent/214\",[200,2.621]],[\"name/215\",[215,62.497]],[\"parent/215\",[200,2.621]],[\"name/216\",[204,25.135]],[\"parent/216\",[216,5.936]],[\"name/217\",[217,62.497]],[\"parent/217\",[218,5.436]],[\"name/218\",[219,62.497]],[\"parent/218\",[218,5.436]],[\"name/219\",[220,62.497]],[\"parent/219\",[200,2.621]],[\"name/220\",[221,62.497]],[\"parent/220\",[200,2.621]],[\"name/221\",[222,62.497]],[\"parent/221\",[200,2.621]],[\"name/222\",[223,62.497]],[\"parent/222\",[200,2.621]],[\"name/223\",[224,62.497]],[\"parent/223\",[200,2.621]],[\"name/224\",[204,25.135]],[\"parent/224\",[225,5.936]],[\"name/225\",[97,57.238]],[\"parent/225\",[226,2.666]],[\"name/226\",[227,57.238]],[\"parent/226\",[226,2.666]],[\"name/227\",[228,57.238]],[\"parent/227\",[226,2.666]],[\"name/228\",[229,57.238]],[\"parent/228\",[226,2.666]],[\"name/229\",[121,57.238]],[\"parent/229\",[226,2.666]],[\"name/230\",[208,43.492]],[\"parent/230\",[226,2.666]],[\"name/231\",[86,47.399]],[\"parent/231\",[226,2.666]],[\"name/232\",[230,57.238]],[\"parent/232\",[226,2.666]],[\"name/233\",[209,53.773]],[\"parent/233\",[226,2.666]],[\"name/234\",[166,53.773]],[\"parent/234\",[226,2.666]],[\"name/235\",[231,62.497]],[\"parent/235\",[226,2.666]],[\"name/236\",[232,62.497]],[\"parent/236\",[226,2.666]],[\"name/237\",[233,57.238]],[\"parent/237\",[226,2.666]],[\"name/238\",[234,57.238]],[\"parent/238\",[226,2.666]],[\"name/239\",[131,53.773]],[\"parent/239\",[226,2.666]],[\"name/240\",[235,62.497]],[\"parent/240\",[226,2.666]],[\"name/241\",[98,57.238]],[\"parent/241\",[226,2.666]],[\"name/242\",[236,62.497]],[\"parent/242\",[226,2.666]],[\"name/243\",[237,62.497]],[\"parent/243\",[226,2.666]],[\"name/244\",[108,57.238]],[\"parent/244\",[226,2.666]],[\"name/245\",[238,62.497]],[\"parent/245\",[226,2.666]],[\"name/246\",[239,62.497]],[\"parent/246\",[226,2.666]],[\"name/247\",[240,62.497]],[\"parent/247\",[226,2.666]],[\"name/248\",[241,62.497]],[\"parent/248\",[226,2.666]],[\"name/249\",[242,62.497]],[\"parent/249\",[226,2.666]],[\"name/250\",[99,57.238]],[\"parent/250\",[226,2.666]],[\"name/251\",[100,57.238]],[\"parent/251\",[226,2.666]],[\"name/252\",[101,57.238]],[\"parent/252\",[226,2.666]],[\"name/253\",[102,57.238]],[\"parent/253\",[226,2.666]],[\"name/254\",[103,57.238]],[\"parent/254\",[226,2.666]],[\"name/255\",[104,57.238]],[\"parent/255\",[226,2.666]],[\"name/256\",[105,57.238]],[\"parent/256\",[226,2.666]],[\"name/257\",[106,57.238]],[\"parent/257\",[226,2.666]],[\"name/258\",[110,57.238]],[\"parent/258\",[226,2.666]],[\"name/259\",[243,62.497]],[\"parent/259\",[226,2.666]],[\"name/260\",[186,57.238]],[\"parent/260\",[226,2.666]],[\"name/261\",[244,62.497]],[\"parent/261\",[226,2.666]],[\"name/262\",[245,62.497]],[\"parent/262\",[226,2.666]],[\"name/263\",[246,62.497]],[\"parent/263\",[226,2.666]],[\"name/264\",[247,62.497]],[\"parent/264\",[226,2.666]],[\"name/265\",[248,62.497]],[\"parent/265\",[226,2.666]],[\"name/266\",[249,62.497]],[\"parent/266\",[226,2.666]],[\"name/267\",[250,62.497]],[\"parent/267\",[200,2.621]],[\"name/268\",[204,25.135]],[\"parent/268\",[251,5.936]],[\"name/269\",[192,42.462]],[\"parent/269\",[252,4.861]],[\"name/270\",[208,43.492]],[\"parent/270\",[252,4.861]],[\"name/271\",[207,43.492]],[\"parent/271\",[252,4.861]],[\"name/272\",[227,57.238]],[\"parent/272\",[252,4.861]],[\"name/273\",[253,62.497]],[\"parent/273\",[200,2.621]],[\"name/274\",[204,25.135]],[\"parent/274\",[254,5.936]],[\"name/275\",[208,43.492]],[\"parent/275\",[255,3.862]],[\"name/276\",[83,43.492]],[\"parent/276\",[255,3.862]],[\"name/277\",[86,47.399]],[\"parent/277\",[255,3.862]],[\"name/278\",[230,57.238]],[\"parent/278\",[255,3.862]],[\"name/279\",[228,57.238]],[\"parent/279\",[255,3.862]],[\"name/280\",[209,53.773]],[\"parent/280\",[255,3.862]],[\"name/281\",[256,62.497]],[\"parent/281\",[255,3.862]],[\"name/282\",[257,62.497]],[\"parent/282\",[255,3.862]],[\"name/283\",[258,62.497]],[\"parent/283\",[255,3.862]],[\"name/284\",[233,57.238]],[\"parent/284\",[255,3.862]],[\"name/285\",[234,57.238]],[\"parent/285\",[255,3.862]],[\"name/286\",[259,62.497]],[\"parent/286\",[255,3.862]],[\"name/287\",[260,62.497]],[\"parent/287\",[200,2.621]],[\"name/288\",[261,62.497]],[\"parent/288\",[200,2.621]],[\"name/289\",[204,25.135]],[\"parent/289\",[262,5.936]],[\"name/290\",[207,43.492]],[\"parent/290\",[263,4.362]],[\"name/291\",[264,57.238]],[\"parent/291\",[263,4.362]],[\"name/292\",[211,34.615]],[\"parent/292\",[263,4.362]],[\"name/293\",[265,62.497]],[\"parent/293\",[263,4.362]],[\"name/294\",[266,62.497]],[\"parent/294\",[263,4.362]],[\"name/295\",[267,62.497]],[\"parent/295\",[263,4.362]],[\"name/296\",[268,62.497]],[\"parent/296\",[263,4.362]],[\"name/297\",[269,62.497]],[\"parent/297\",[200,2.621]],[\"name/298\",[204,25.135]],[\"parent/298\",[270,5.936]],[\"name/299\",[192,42.462]],[\"parent/299\",[271,4.239]],[\"name/300\",[264,57.238]],[\"parent/300\",[271,4.239]],[\"name/301\",[272,41.525]],[\"parent/301\",[271,4.239]],[\"name/302\",[273,40.667]],[\"parent/302\",[271,4.239]],[\"name/303\",[208,43.492]],[\"parent/303\",[271,4.239]],[\"name/304\",[83,43.492]],[\"parent/304\",[271,4.239]],[\"name/305\",[274,57.238]],[\"parent/305\",[271,4.239]],[\"name/306\",[275,57.238]],[\"parent/306\",[271,4.239]],[\"name/307\",[276,62.497]],[\"parent/307\",[200,2.621]],[\"name/308\",[204,25.135]],[\"parent/308\",[277,5.936]],[\"name/309\",[278,62.497]],[\"parent/309\",[279,5.436]],[\"name/310\",[280,62.497]],[\"parent/310\",[279,5.436]],[\"name/311\",[281,62.497]],[\"parent/311\",[200,2.621]],[\"name/312\",[282,62.497]],[\"parent/312\",[200,2.621]],[\"name/313\",[283,62.497]],[\"parent/313\",[200,2.621]],[\"name/314\",[284,62.497]],[\"parent/314\",[200,2.621]],[\"name/315\",[204,25.135]],[\"parent/315\",[285,5.936]],[\"name/316\",[286,62.497]],[\"parent/316\",[287,3.862]],[\"name/317\",[288,62.497]],[\"parent/317\",[287,3.862]],[\"name/318\",[289,57.238]],[\"parent/318\",[287,3.862]],[\"name/319\",[290,62.497]],[\"parent/319\",[287,3.862]],[\"name/320\",[291,62.497]],[\"parent/320\",[287,3.862]],[\"name/321\",[292,62.497]],[\"parent/321\",[287,3.862]],[\"name/322\",[293,62.497]],[\"parent/322\",[287,3.862]],[\"name/323\",[294,62.497]],[\"parent/323\",[287,3.862]],[\"name/324\",[295,62.497]],[\"parent/324\",[287,3.862]],[\"name/325\",[83,43.492]],[\"parent/325\",[287,3.862]],[\"name/326\",[296,62.497]],[\"parent/326\",[287,3.862]],[\"name/327\",[204,25.135]],[\"parent/327\",[287,3.862]],[\"name/328\",[208,43.492]],[\"parent/328\",[297,5.436]],[\"name/329\",[273,40.667]],[\"parent/329\",[297,5.436]],[\"name/330\",[298,62.497]],[\"parent/330\",[200,2.621]],[\"name/331\",[204,25.135]],[\"parent/331\",[299,5.936]],[\"name/332\",[272,41.525]],[\"parent/332\",[300,5.107]],[\"name/333\",[273,40.667]],[\"parent/333\",[300,5.107]],[\"name/334\",[208,43.492]],[\"parent/334\",[300,5.107]],[\"name/335\",[301,62.497]],[\"parent/335\",[200,2.621]],[\"name/336\",[302,62.497]],[\"parent/336\",[200,2.621]],[\"name/337\",[303,62.497]],[\"parent/337\",[200,2.621]],[\"name/338\",[304,62.497]],[\"parent/338\",[200,2.621]],[\"name/339\",[204,25.135]],[\"parent/339\",[305,5.936]],[\"name/340\",[208,43.492]],[\"parent/340\",[306,3.533]],[\"name/341\",[83,43.492]],[\"parent/341\",[306,3.533]],[\"name/342\",[307,62.497]],[\"parent/342\",[306,3.533]],[\"name/343\",[308,57.238]],[\"parent/343\",[306,3.533]],[\"name/344\",[309,62.497]],[\"parent/344\",[306,3.533]],[\"name/345\",[310,62.497]],[\"parent/345\",[306,3.533]],[\"name/346\",[311,62.497]],[\"parent/346\",[306,3.533]],[\"name/347\",[312,62.497]],[\"parent/347\",[306,3.533]],[\"name/348\",[313,62.497]],[\"parent/348\",[306,3.533]],[\"name/349\",[314,62.497]],[\"parent/349\",[306,3.533]],[\"name/350\",[315,62.497]],[\"parent/350\",[306,3.533]],[\"name/351\",[316,62.497]],[\"parent/351\",[306,3.533]],[\"name/352\",[317,62.497]],[\"parent/352\",[306,3.533]],[\"name/353\",[318,62.497]],[\"parent/353\",[306,3.533]],[\"name/354\",[319,62.497]],[\"parent/354\",[306,3.533]],[\"name/355\",[169,44.637]],[\"parent/355\",[306,3.533]],[\"name/356\",[320,62.497]],[\"parent/356\",[306,3.533]],[\"name/357\",[321,62.497]],[\"parent/357\",[200,2.621]],[\"name/358\",[322,62.497]],[\"parent/358\",[200,2.621]],[\"name/359\",[323,62.497]],[\"parent/359\",[200,2.621]],[\"name/360\",[324,62.497]],[\"parent/360\",[200,2.621]],[\"name/361\",[204,25.135]],[\"parent/361\",[325,5.936]],[\"name/362\",[326,62.497]],[\"parent/362\",[327,4.362]],[\"name/363\",[328,62.497]],[\"parent/363\",[327,4.362]],[\"name/364\",[329,62.497]],[\"parent/364\",[327,4.362]],[\"name/365\",[83,43.492]],[\"parent/365\",[327,4.362]],[\"name/366\",[166,53.773]],[\"parent/366\",[327,4.362]],[\"name/367\",[330,62.497]],[\"parent/367\",[327,4.362]],[\"name/368\",[86,47.399]],[\"parent/368\",[327,4.362]],[\"name/369\",[331,62.497]],[\"parent/369\",[200,2.621]],[\"name/370\",[204,25.135]],[\"parent/370\",[332,5.936]],[\"name/371\",[208,43.492]],[\"parent/371\",[333,5.107]],[\"name/372\",[274,57.238]],[\"parent/372\",[333,5.107]],[\"name/373\",[275,57.238]],[\"parent/373\",[333,5.107]],[\"name/374\",[334,62.497]],[\"parent/374\",[200,2.621]],[\"name/375\",[204,25.135]],[\"parent/375\",[335,5.936]],[\"name/376\",[336,62.497]],[\"parent/376\",[200,2.621]],[\"name/377\",[204,25.135]],[\"parent/377\",[337,5.936]],[\"name/378\",[338,62.497]],[\"parent/378\",[339,4.239]],[\"name/379\",[83,43.492]],[\"parent/379\",[339,4.239]],[\"name/380\",[112,57.238]],[\"parent/380\",[339,4.239]],[\"name/381\",[340,62.497]],[\"parent/381\",[339,4.239]],[\"name/382\",[341,62.497]],[\"parent/382\",[339,4.239]],[\"name/383\",[131,53.773]],[\"parent/383\",[339,4.239]],[\"name/384\",[342,62.497]],[\"parent/384\",[339,4.239]],[\"name/385\",[343,62.497]],[\"parent/385\",[339,4.239]],[\"name/386\",[344,62.497]],[\"parent/386\",[200,2.621]],[\"name/387\",[204,25.135]],[\"parent/387\",[345,5.936]],[\"name/388\",[346,57.238]],[\"parent/388\",[347,5.936]],[\"name/389\",[348,57.238]],[\"parent/389\",[200,2.621]],[\"name/390\",[349,62.497]],[\"parent/390\",[200,2.621]],[\"name/391\",[350,62.497]],[\"parent/391\",[200,2.621]],[\"name/392\",[351,62.497]],[\"parent/392\",[200,2.621]],[\"name/393\",[352,62.497]],[\"parent/393\",[200,2.621]],[\"name/394\",[353,62.497]],[\"parent/394\",[200,2.621]],[\"name/395\",[204,25.135]],[\"parent/395\",[354,5.936]],[\"name/396\",[355,62.497]],[\"parent/396\",[200,2.621]],[\"name/397\",[204,25.135]],[\"parent/397\",[356,5.936]],[\"name/398\",[86,47.399]],[\"parent/398\",[357,5.936]],[\"name/399\",[358,62.497]],[\"parent/399\",[200,2.621]],[\"name/400\",[359,62.497]],[\"parent/400\",[200,2.621]],[\"name/401\",[204,25.135]],[\"parent/401\",[360,5.936]],[\"name/402\",[361,62.497]],[\"parent/402\",[362,5.107]],[\"name/403\",[83,43.492]],[\"parent/403\",[362,5.107]],[\"name/404\",[86,47.399]],[\"parent/404\",[362,5.107]],[\"name/405\",[363,35.083]],[\"parent/405\",[]],[\"name/406\",[364,62.497]],[\"parent/406\",[363,3.332]],[\"name/407\",[365,62.497]],[\"parent/407\",[363,3.332]],[\"name/408\",[366,62.497]],[\"parent/408\",[363,3.332]],[\"name/409\",[367,62.497]],[\"parent/409\",[363,3.332]],[\"name/410\",[368,62.497]],[\"parent/410\",[363,3.332]],[\"name/411\",[369,62.497]],[\"parent/411\",[363,3.332]],[\"name/412\",[370,62.497]],[\"parent/412\",[363,3.332]],[\"name/413\",[371,62.497]],[\"parent/413\",[363,3.332]],[\"name/414\",[372,62.497]],[\"parent/414\",[363,3.332]],[\"name/415\",[373,62.497]],[\"parent/415\",[363,3.332]],[\"name/416\",[374,62.497]],[\"parent/416\",[363,3.332]],[\"name/417\",[375,62.497]],[\"parent/417\",[363,3.332]],[\"name/418\",[376,62.497]],[\"parent/418\",[363,3.332]],[\"name/419\",[377,62.497]],[\"parent/419\",[363,3.332]],[\"name/420\",[378,62.497]],[\"parent/420\",[363,3.332]],[\"name/421\",[379,62.497]],[\"parent/421\",[363,3.332]],[\"name/422\",[380,62.497]],[\"parent/422\",[363,3.332]],[\"name/423\",[194,57.238]],[\"parent/423\",[363,3.332]],[\"name/424\",[193,57.238]],[\"parent/424\",[363,3.332]],[\"name/425\",[195,57.238]],[\"parent/425\",[363,3.332]],[\"name/426\",[381,53.773]],[\"parent/426\",[]],[\"name/427\",[382,62.497]],[\"parent/427\",[381,5.107]],[\"name/428\",[204,25.135]],[\"parent/428\",[383,4.665]],[\"name/429\",[3,57.238]],[\"parent/429\",[383,4.665]],[\"name/430\",[384,62.497]],[\"parent/430\",[383,4.665]],[\"name/431\",[385,62.497]],[\"parent/431\",[383,4.665]],[\"name/432\",[346,57.238]],[\"parent/432\",[383,4.665]],[\"name/433\",[386,39.138]],[\"parent/433\",[]],[\"name/434\",[387,57.238]],[\"parent/434\",[386,3.717]],[\"name/435\",[388,57.238]],[\"parent/435\",[386,3.717]],[\"name/436\",[389,57.238]],[\"parent/436\",[386,3.717]],[\"name/437\",[390,62.497]],[\"parent/437\",[386,3.717]],[\"name/438\",[391,57.238]],[\"parent/438\",[386,3.717]],[\"name/439\",[392,57.238]],[\"parent/439\",[386,3.717]],[\"name/440\",[393,57.238]],[\"parent/440\",[386,3.717]],[\"name/441\",[394,57.238]],[\"parent/441\",[386,3.717]],[\"name/442\",[395,62.497]],[\"parent/442\",[386,3.717]],[\"name/443\",[396,62.497]],[\"parent/443\",[386,3.717]],[\"name/444\",[397,62.497]],[\"parent/444\",[386,3.717]],[\"name/445\",[398,62.497]],[\"parent/445\",[386,3.717]],[\"name/446\",[399,62.497]],[\"parent/446\",[386,3.717]],[\"name/447\",[400,49.12]],[\"parent/447\",[]],[\"name/448\",[400,49.12]],[\"parent/448\",[400,4.665]],[\"name/449\",[401,57.238]],[\"parent/449\",[400,4.665]],[\"name/450\",[400,49.12]],[\"parent/450\",[0,2.958]],[\"name/451\",[401,57.238]],[\"parent/451\",[0,2.958]],[\"name/452\",[402,62.497]],[\"parent/452\",[0,2.958]],[\"name/453\",[403,62.497]],[\"parent/453\",[0,2.958]],[\"name/454\",[404,62.497]],[\"parent/454\",[0,2.958]],[\"name/455\",[387,57.238]],[\"parent/455\",[0,2.958]],[\"name/456\",[388,57.238]],[\"parent/456\",[0,2.958]],[\"name/457\",[389,57.238]],[\"parent/457\",[0,2.958]],[\"name/458\",[393,57.238]],[\"parent/458\",[0,2.958]],[\"name/459\",[391,57.238]],[\"parent/459\",[0,2.958]],[\"name/460\",[394,57.238]],[\"parent/460\",[0,2.958]],[\"name/461\",[392,57.238]],[\"parent/461\",[0,2.958]],[\"name/462\",[405,62.497]],[\"parent/462\",[0,2.958]],[\"name/463\",[348,57.238]],[\"parent/463\",[0,2.958]],[\"name/464\",[406,53.773]],[\"parent/464\",[0,2.958]],[\"name/465\",[406,53.773]],[\"parent/465\",[200,2.621]],[\"name/466\",[407,62.497]],[\"parent/466\",[408,2.713]],[\"name/467\",[409,62.497]],[\"parent/467\",[408,2.713]],[\"name/468\",[204,25.135]],[\"parent/468\",[410,5.936]],[\"name/469\",[272,41.525]],[\"parent/469\",[411,5.436]],[\"name/470\",[273,40.667]],[\"parent/470\",[411,5.436]],[\"name/471\",[412,62.497]],[\"parent/471\",[408,2.713]],[\"name/472\",[204,25.135]],[\"parent/472\",[413,5.936]],[\"name/473\",[414,53.773]],[\"parent/473\",[415,5.936]],[\"name/474\",[416,62.497]],[\"parent/474\",[408,2.713]],[\"name/475\",[204,25.135]],[\"parent/475\",[417,5.936]],[\"name/476\",[414,53.773]],[\"parent/476\",[418,5.436]],[\"name/477\",[419,62.497]],[\"parent/477\",[418,5.436]],[\"name/478\",[420,62.497]],[\"parent/478\",[408,2.713]],[\"name/479\",[204,25.135]],[\"parent/479\",[421,5.936]],[\"name/480\",[414,53.773]],[\"parent/480\",[422,5.936]],[\"name/481\",[423,62.497]],[\"parent/481\",[408,2.713]],[\"name/482\",[204,25.135]],[\"parent/482\",[424,5.936]],[\"name/483\",[272,41.525]],[\"parent/483\",[425,5.436]],[\"name/484\",[273,40.667]],[\"parent/484\",[425,5.436]],[\"name/485\",[426,62.497]],[\"parent/485\",[408,2.713]],[\"name/486\",[204,25.135]],[\"parent/486\",[427,5.936]],[\"name/487\",[272,41.525]],[\"parent/487\",[428,5.436]],[\"name/488\",[273,40.667]],[\"parent/488\",[428,5.436]],[\"name/489\",[429,62.497]],[\"parent/489\",[408,2.713]],[\"name/490\",[204,25.135]],[\"parent/490\",[430,5.936]],[\"name/491\",[272,41.525]],[\"parent/491\",[431,5.436]],[\"name/492\",[273,40.667]],[\"parent/492\",[431,5.436]],[\"name/493\",[432,62.497]],[\"parent/493\",[408,2.713]],[\"name/494\",[204,25.135]],[\"parent/494\",[433,5.936]],[\"name/495\",[272,41.525]],[\"parent/495\",[434,5.436]],[\"name/496\",[273,40.667]],[\"parent/496\",[434,5.436]],[\"name/497\",[435,62.497]],[\"parent/497\",[408,2.713]],[\"name/498\",[204,25.135]],[\"parent/498\",[436,5.936]],[\"name/499\",[272,41.525]],[\"parent/499\",[437,5.436]],[\"name/500\",[273,40.667]],[\"parent/500\",[437,5.436]],[\"name/501\",[438,62.497]],[\"parent/501\",[408,2.713]],[\"name/502\",[204,25.135]],[\"parent/502\",[439,5.936]],[\"name/503\",[272,41.525]],[\"parent/503\",[440,5.436]],[\"name/504\",[273,40.667]],[\"parent/504\",[440,5.436]],[\"name/505\",[441,62.497]],[\"parent/505\",[408,2.713]],[\"name/506\",[204,25.135]],[\"parent/506\",[442,5.936]],[\"name/507\",[272,41.525]],[\"parent/507\",[443,5.436]],[\"name/508\",[273,40.667]],[\"parent/508\",[443,5.436]],[\"name/509\",[444,62.497]],[\"parent/509\",[408,2.713]],[\"name/510\",[204,25.135]],[\"parent/510\",[445,5.936]],[\"name/511\",[272,41.525]],[\"parent/511\",[446,5.436]],[\"name/512\",[273,40.667]],[\"parent/512\",[446,5.436]],[\"name/513\",[447,62.497]],[\"parent/513\",[408,2.713]],[\"name/514\",[204,25.135]],[\"parent/514\",[448,5.936]],[\"name/515\",[211,34.615]],[\"parent/515\",[449,4.861]],[\"name/516\",[192,42.462]],[\"parent/516\",[449,4.861]],[\"name/517\",[207,43.492]],[\"parent/517\",[449,4.861]],[\"name/518\",[450,35.573]],[\"parent/518\",[449,4.861]],[\"name/519\",[451,62.497]],[\"parent/519\",[408,2.713]],[\"name/520\",[204,25.135]],[\"parent/520\",[452,5.936]],[\"name/521\",[211,34.615]],[\"parent/521\",[453,4.665]],[\"name/522\",[192,42.462]],[\"parent/522\",[453,4.665]],[\"name/523\",[207,43.492]],[\"parent/523\",[453,4.665]],[\"name/524\",[169,44.637]],[\"parent/524\",[453,4.665]],[\"name/525\",[450,35.573]],[\"parent/525\",[453,4.665]],[\"name/526\",[454,62.497]],[\"parent/526\",[408,2.713]],[\"name/527\",[204,25.135]],[\"parent/527\",[455,5.936]],[\"name/528\",[211,34.615]],[\"parent/528\",[456,5.107]],[\"name/529\",[169,44.637]],[\"parent/529\",[456,5.107]],[\"name/530\",[450,35.573]],[\"parent/530\",[456,5.107]],[\"name/531\",[457,62.497]],[\"parent/531\",[408,2.713]],[\"name/532\",[204,25.135]],[\"parent/532\",[458,5.936]],[\"name/533\",[211,34.615]],[\"parent/533\",[459,5.436]],[\"name/534\",[450,35.573]],[\"parent/534\",[459,5.436]],[\"name/535\",[460,62.497]],[\"parent/535\",[408,2.713]],[\"name/536\",[204,25.135]],[\"parent/536\",[461,5.936]],[\"name/537\",[211,34.615]],[\"parent/537\",[462,5.436]],[\"name/538\",[450,35.573]],[\"parent/538\",[462,5.436]],[\"name/539\",[463,62.497]],[\"parent/539\",[408,2.713]],[\"name/540\",[204,25.135]],[\"parent/540\",[464,5.936]],[\"name/541\",[211,34.615]],[\"parent/541\",[465,5.436]],[\"name/542\",[450,35.573]],[\"parent/542\",[465,5.436]],[\"name/543\",[466,62.497]],[\"parent/543\",[408,2.713]],[\"name/544\",[204,25.135]],[\"parent/544\",[467,5.936]],[\"name/545\",[211,34.615]],[\"parent/545\",[468,5.436]],[\"name/546\",[450,35.573]],[\"parent/546\",[468,5.436]],[\"name/547\",[469,62.497]],[\"parent/547\",[408,2.713]],[\"name/548\",[204,25.135]],[\"parent/548\",[470,5.936]],[\"name/549\",[211,34.615]],[\"parent/549\",[471,5.436]],[\"name/550\",[450,35.573]],[\"parent/550\",[471,5.436]],[\"name/551\",[472,62.497]],[\"parent/551\",[408,2.713]],[\"name/552\",[204,25.135]],[\"parent/552\",[473,5.936]],[\"name/553\",[211,34.615]],[\"parent/553\",[474,5.107]],[\"name/554\",[207,43.492]],[\"parent/554\",[474,5.107]],[\"name/555\",[450,35.573]],[\"parent/555\",[474,5.107]],[\"name/556\",[475,62.497]],[\"parent/556\",[408,2.713]],[\"name/557\",[204,25.135]],[\"parent/557\",[476,5.936]],[\"name/558\",[211,34.615]],[\"parent/558\",[477,5.107]],[\"name/559\",[192,42.462]],[\"parent/559\",[477,5.107]],[\"name/560\",[450,35.573]],[\"parent/560\",[477,5.107]],[\"name/561\",[478,62.497]],[\"parent/561\",[408,2.713]],[\"name/562\",[204,25.135]],[\"parent/562\",[479,5.936]],[\"name/563\",[211,34.615]],[\"parent/563\",[480,4.861]],[\"name/564\",[192,42.462]],[\"parent/564\",[480,4.861]],[\"name/565\",[207,43.492]],[\"parent/565\",[480,4.861]],[\"name/566\",[450,35.573]],[\"parent/566\",[480,4.861]],[\"name/567\",[481,62.497]],[\"parent/567\",[408,2.713]],[\"name/568\",[204,25.135]],[\"parent/568\",[482,5.936]],[\"name/569\",[211,34.615]],[\"parent/569\",[483,4.665]],[\"name/570\",[192,42.462]],[\"parent/570\",[483,4.665]],[\"name/571\",[207,43.492]],[\"parent/571\",[483,4.665]],[\"name/572\",[169,44.637]],[\"parent/572\",[483,4.665]],[\"name/573\",[450,35.573]],[\"parent/573\",[483,4.665]],[\"name/574\",[484,62.497]],[\"parent/574\",[408,2.713]],[\"name/575\",[204,25.135]],[\"parent/575\",[485,5.936]],[\"name/576\",[211,34.615]],[\"parent/576\",[486,5.107]],[\"name/577\",[169,44.637]],[\"parent/577\",[486,5.107]],[\"name/578\",[450,35.573]],[\"parent/578\",[486,5.107]],[\"name/579\",[487,62.497]],[\"parent/579\",[408,2.713]],[\"name/580\",[204,25.135]],[\"parent/580\",[488,5.936]],[\"name/581\",[211,34.615]],[\"parent/581\",[489,5.436]],[\"name/582\",[450,35.573]],[\"parent/582\",[489,5.436]],[\"name/583\",[490,62.497]],[\"parent/583\",[408,2.713]],[\"name/584\",[204,25.135]],[\"parent/584\",[491,5.936]],[\"name/585\",[211,34.615]],[\"parent/585\",[492,5.436]],[\"name/586\",[450,35.573]],[\"parent/586\",[492,5.436]],[\"name/587\",[493,62.497]],[\"parent/587\",[408,2.713]],[\"name/588\",[204,25.135]],[\"parent/588\",[494,5.936]],[\"name/589\",[211,34.615]],[\"parent/589\",[495,5.436]],[\"name/590\",[450,35.573]],[\"parent/590\",[495,5.436]],[\"name/591\",[496,62.497]],[\"parent/591\",[408,2.713]],[\"name/592\",[204,25.135]],[\"parent/592\",[497,5.936]],[\"name/593\",[211,34.615]],[\"parent/593\",[498,5.436]],[\"name/594\",[450,35.573]],[\"parent/594\",[498,5.436]],[\"name/595\",[499,62.497]],[\"parent/595\",[408,2.713]],[\"name/596\",[204,25.135]],[\"parent/596\",[500,5.936]],[\"name/597\",[211,34.615]],[\"parent/597\",[501,5.436]],[\"name/598\",[450,35.573]],[\"parent/598\",[501,5.436]],[\"name/599\",[502,62.497]],[\"parent/599\",[408,2.713]],[\"name/600\",[204,25.135]],[\"parent/600\",[503,5.936]],[\"name/601\",[211,34.615]],[\"parent/601\",[504,5.107]],[\"name/602\",[207,43.492]],[\"parent/602\",[504,5.107]],[\"name/603\",[450,35.573]],[\"parent/603\",[504,5.107]],[\"name/604\",[505,62.497]],[\"parent/604\",[408,2.713]],[\"name/605\",[204,25.135]],[\"parent/605\",[506,5.936]],[\"name/606\",[211,34.615]],[\"parent/606\",[507,5.107]],[\"name/607\",[192,42.462]],[\"parent/607\",[507,5.107]],[\"name/608\",[450,35.573]],[\"parent/608\",[507,5.107]],[\"name/609\",[508,62.497]],[\"parent/609\",[408,2.713]],[\"name/610\",[509,62.497]],[\"parent/610\",[408,2.713]],[\"name/611\",[510,62.497]],[\"parent/611\",[408,2.713]],[\"name/612\",[511,62.497]],[\"parent/612\",[408,2.713]],[\"name/613\",[512,62.497]],[\"parent/613\",[408,2.713]],[\"name/614\",[204,25.135]],[\"parent/614\",[513,5.936]],[\"name/615\",[514,62.497]],[\"parent/615\",[408,2.713]],[\"name/616\",[204,25.135]],[\"parent/616\",[515,5.936]],[\"name/617\",[516,62.497]],[\"parent/617\",[408,2.713]],[\"name/618\",[204,25.135]],[\"parent/618\",[517,5.936]],[\"name/619\",[406,53.773]],[\"parent/619\",[381,5.107]],[\"name/620\",[83,16.947,518,12.539,519,24.352,520,24.352,521,22.303]],[\"parent/620\",[]],[\"name/621\",[308,26.319,518,14.797,522,28.737,523,28.737]],[\"parent/621\",[]],[\"name/622\",[518,18.047,524,35.048,525,32.098]],[\"parent/622\",[]],[\"name/623\",[518,18.047,525,32.098,526,35.048]],[\"parent/623\",[]],[\"name/624\",[518,18.047,521,32.098,527,35.048]],[\"parent/624\",[]],[\"name/625\",[518,23.125,528,44.91]],[\"parent/625\",[]],[\"name/626\",[518,23.125,529,44.91]],[\"parent/626\",[]],[\"name/627\",[518,23.125,530,44.91]],[\"parent/627\",[]],[\"name/628\",[518,23.125,531,41.131]],[\"parent/628\",[]],[\"name/629\",[518,23.125,531,41.131]],[\"parent/629\",[]],[\"name/630\",[518,23.125,532,44.91]],[\"parent/630\",[]],[\"name/631\",[518,18.047,533,35.048,534,35.048]],[\"parent/631\",[]],[\"name/632\",[518,18.047,535,35.048,536,35.048]],[\"parent/632\",[]],[\"name/633\",[518,23.125,537,44.91]],[\"parent/633\",[]],[\"name/634\",[518,23.125,538,44.91]],[\"parent/634\",[]],[\"name/635\",[518,23.125,539,44.91]],[\"parent/635\",[]],[\"name/636\",[518,23.125,540,44.91]],[\"parent/636\",[]],[\"name/637\",[518,18.047,541,35.048,542,35.048]],[\"parent/637\",[]],[\"name/638\",[2,19.35,189,19.35,518,10.879,543,21.128,544,21.128,545,21.128]],[\"parent/638\",[]],[\"name/639\",[518,23.125,546,44.91]],[\"parent/639\",[]],[\"name/640\",[229,26.319,289,26.319,518,14.797,547,28.737]],[\"parent/640\",[]],[\"name/641\",[518,18.047,548,35.048,549,35.048]],[\"parent/641\",[]],[\"name/642\",[518,18.047,550,35.048,551,35.048]],[\"parent/642\",[]],[\"name/643\",[518,18.047,552,35.048,553,35.048]],[\"parent/643\",[]],[\"name/644\",[169,25.032,518,18.047,554,35.048]],[\"parent/644\",[]],[\"name/645\",[518,23.125,555,44.91]],[\"parent/645\",[]],[\"name/646\",[518,23.125,556,44.91]],[\"parent/646\",[]],[\"name/647\",[518,23.125,557,44.91]],[\"parent/647\",[]]],\"invertedIndex\":[[\"\",{\"_index\":522,\"name\":{\"621\":{}},\"parent\":{}}],[\"__type\",{\"_index\":204,\"name\":{\"204\":{},\"216\":{},\"224\":{},\"268\":{},\"274\":{},\"289\":{},\"298\":{},\"308\":{},\"315\":{},\"327\":{},\"331\":{},\"339\":{},\"361\":{},\"370\":{},\"375\":{},\"377\":{},\"387\":{},\"395\":{},\"397\":{},\"401\":{},\"428\":{},\"468\":{},\"472\":{},\"475\":{},\"479\":{},\"482\":{},\"486\":{},\"490\":{},\"494\":{},\"498\":{},\"502\":{},\"506\":{},\"510\":{},\"514\":{},\"520\":{},\"527\":{},\"532\":{},\"536\":{},\"540\":{},\"544\":{},\"548\":{},\"552\":{},\"557\":{},\"562\":{},\"568\":{},\"575\":{},\"580\":{},\"584\":{},\"588\":{},\"592\":{},\"596\":{},\"600\":{},\"605\":{},\"614\":{},\"616\":{},\"618\":{}},\"parent\":{}}],[\"_actions\",{\"_index\":10,\"name\":{\"9\":{}},\"parent\":{}}],[\"_active_state_style\",{\"_index\":76,\"name\":{\"75\":{}},\"parent\":{}}],[\"_any_action_hook\",{\"_index\":47,\"name\":{\"46\":{}},\"parent\":{}}],[\"_any_transition_hook\",{\"_index\":51,\"name\":{\"50\":{}},\"parent\":{}}],[\"_arrange_declaration\",{\"_index\":30,\"name\":{\"29\":{}},\"parent\":{}}],[\"_arrange_end_declaration\",{\"_index\":32,\"name\":{\"31\":{}},\"parent\":{}}],[\"_arrange_start_declaration\",{\"_index\":31,\"name\":{\"30\":{}},\"parent\":{}}],[\"_data\",{\"_index\":27,\"name\":{\"26\":{}},\"parent\":{}}],[\"_default_properties\",{\"_index\":70,\"name\":{\"69\":{}},\"parent\":{}}],[\"_dot_preamble\",{\"_index\":29,\"name\":{\"28\":{}},\"parent\":{}}],[\"_edge_map\",{\"_index\":8,\"name\":{\"7\":{}},\"parent\":{}}],[\"_edges\",{\"_index\":7,\"name\":{\"6\":{}},\"parent\":{}}],[\"_end_state_style\",{\"_index\":80,\"name\":{\"79\":{}},\"parent\":{}}],[\"_end_states\",{\"_index\":14,\"name\":{\"13\":{}},\"parent\":{}}],[\"_entry_hooks\",{\"_index\":44,\"name\":{\"43\":{}},\"parent\":{}}],[\"_exit_hooks\",{\"_index\":45,\"name\":{\"44\":{}},\"parent\":{}}],[\"_flow\",{\"_index\":34,\"name\":{\"33\":{}},\"parent\":{}}],[\"_forced_transition_hook\",{\"_index\":50,\"name\":{\"49\":{}},\"parent\":{}}],[\"_fsl_version\",{\"_index\":23,\"name\":{\"22\":{}},\"parent\":{}}],[\"_global_action_hooks\",{\"_index\":46,\"name\":{\"45\":{}},\"parent\":{}}],[\"_graph_layout\",{\"_index\":28,\"name\":{\"27\":{}},\"parent\":{}}],[\"_has_basic_hooks\",{\"_index\":36,\"name\":{\"35\":{}},\"parent\":{}}],[\"_has_entry_hooks\",{\"_index\":38,\"name\":{\"37\":{}},\"parent\":{}}],[\"_has_exit_hooks\",{\"_index\":39,\"name\":{\"38\":{}},\"parent\":{}}],[\"_has_global_action_hooks\",{\"_index\":40,\"name\":{\"39\":{}},\"parent\":{}}],[\"_has_hooks\",{\"_index\":35,\"name\":{\"34\":{}},\"parent\":{}}],[\"_has_named_hooks\",{\"_index\":37,\"name\":{\"36\":{}},\"parent\":{}}],[\"_has_post_basic_hooks\",{\"_index\":53,\"name\":{\"52\":{}},\"parent\":{}}],[\"_has_post_entry_hooks\",{\"_index\":55,\"name\":{\"54\":{}},\"parent\":{}}],[\"_has_post_exit_hooks\",{\"_index\":56,\"name\":{\"55\":{}},\"parent\":{}}],[\"_has_post_global_action_hooks\",{\"_index\":57,\"name\":{\"56\":{}},\"parent\":{}}],[\"_has_post_hooks\",{\"_index\":52,\"name\":{\"51\":{}},\"parent\":{}}],[\"_has_post_named_hooks\",{\"_index\":54,\"name\":{\"53\":{}},\"parent\":{}}],[\"_has_post_transition_hooks\",{\"_index\":58,\"name\":{\"57\":{}},\"parent\":{}}],[\"_has_transition_hooks\",{\"_index\":41,\"name\":{\"40\":{}},\"parent\":{}}],[\"_history\",{\"_index\":73,\"name\":{\"72\":{}},\"parent\":{}}],[\"_history_length\",{\"_index\":74,\"name\":{\"73\":{}},\"parent\":{}}],[\"_hooked_state_style\",{\"_index\":77,\"name\":{\"76\":{}},\"parent\":{}}],[\"_hooks\",{\"_index\":42,\"name\":{\"41\":{}},\"parent\":{}}],[\"_instance_name\",{\"_index\":26,\"name\":{\"25\":{}},\"parent\":{}}],[\"_machine_author\",{\"_index\":15,\"name\":{\"14\":{}},\"parent\":{}}],[\"_machine_comment\",{\"_index\":16,\"name\":{\"15\":{}},\"parent\":{}}],[\"_machine_contributor\",{\"_index\":17,\"name\":{\"16\":{}},\"parent\":{}}],[\"_machine_definition\",{\"_index\":18,\"name\":{\"17\":{}},\"parent\":{}}],[\"_machine_language\",{\"_index\":19,\"name\":{\"18\":{}},\"parent\":{}}],[\"_machine_license\",{\"_index\":20,\"name\":{\"19\":{}},\"parent\":{}}],[\"_machine_name\",{\"_index\":21,\"name\":{\"20\":{}},\"parent\":{}}],[\"_machine_version\",{\"_index\":22,\"name\":{\"21\":{}},\"parent\":{}}],[\"_main_transition_hook\",{\"_index\":49,\"name\":{\"48\":{}},\"parent\":{}}],[\"_named_hooks\",{\"_index\":43,\"name\":{\"42\":{}},\"parent\":{}}],[\"_named_transitions\",{\"_index\":9,\"name\":{\"8\":{}},\"parent\":{}}],[\"_new_state\",{\"_index\":82,\"name\":{\"81\":{}},\"parent\":{}}],[\"_post_any_action_hook\",{\"_index\":64,\"name\":{\"63\":{}},\"parent\":{}}],[\"_post_any_transition_hook\",{\"_index\":68,\"name\":{\"67\":{}},\"parent\":{}}],[\"_post_entry_hooks\",{\"_index\":61,\"name\":{\"60\":{}},\"parent\":{}}],[\"_post_exit_hooks\",{\"_index\":62,\"name\":{\"61\":{}},\"parent\":{}}],[\"_post_forced_transition_hook\",{\"_index\":67,\"name\":{\"66\":{}},\"parent\":{}}],[\"_post_global_action_hooks\",{\"_index\":63,\"name\":{\"62\":{}},\"parent\":{}}],[\"_post_hooks\",{\"_index\":59,\"name\":{\"58\":{}},\"parent\":{}}],[\"_post_main_transition_hook\",{\"_index\":66,\"name\":{\"65\":{}},\"parent\":{}}],[\"_post_named_hooks\",{\"_index\":60,\"name\":{\"59\":{}},\"parent\":{}}],[\"_post_standard_transition_hook\",{\"_index\":65,\"name\":{\"64\":{}},\"parent\":{}}],[\"_property_keys\",{\"_index\":69,\"name\":{\"68\":{}},\"parent\":{}}],[\"_raw_state_declaration\",{\"_index\":24,\"name\":{\"23\":{}},\"parent\":{}}],[\"_required_properties\",{\"_index\":72,\"name\":{\"71\":{}},\"parent\":{}}],[\"_reverse_action_targets\",{\"_index\":12,\"name\":{\"11\":{}},\"parent\":{}}],[\"_reverse_actions\",{\"_index\":11,\"name\":{\"10\":{}},\"parent\":{}}],[\"_standard_transition_hook\",{\"_index\":48,\"name\":{\"47\":{}},\"parent\":{}}],[\"_start_state_style\",{\"_index\":79,\"name\":{\"78\":{}},\"parent\":{}}],[\"_start_states\",{\"_index\":13,\"name\":{\"12\":{}},\"parent\":{}}],[\"_state\",{\"_index\":5,\"name\":{\"4\":{}},\"parent\":{}}],[\"_state_declarations\",{\"_index\":25,\"name\":{\"24\":{}},\"parent\":{}}],[\"_state_labels\",{\"_index\":81,\"name\":{\"80\":{}},\"parent\":{}}],[\"_state_properties\",{\"_index\":71,\"name\":{\"70\":{}},\"parent\":{}}],[\"_state_style\",{\"_index\":75,\"name\":{\"74\":{}},\"parent\":{}}],[\"_states\",{\"_index\":6,\"name\":{\"5\":{}},\"parent\":{}}],[\"_terminal_state_style\",{\"_index\":78,\"name\":{\"77\":{}},\"parent\":{}}],[\"_themes\",{\"_index\":33,\"name\":{\"32\":{}},\"parent\":{}}],[\"a\",{\"_index\":544,\"name\":{\"638\":{}},\"parent\":{}}],[\"abstract_hook_step\",{\"_index\":198,\"name\":{\"198\":{}},\"parent\":{}}],[\"action\",{\"_index\":169,\"name\":{\"168\":{},\"208\":{},\"355\":{},\"524\":{},\"529\":{},\"572\":{},\"577\":{},\"644\":{}},\"parent\":{}}],[\"actions\",{\"_index\":131,\"name\":{\"130\":{},\"239\":{},\"383\":{}},\"parent\":{}}],[\"active\",{\"_index\":311,\"name\":{\"346\":{}},\"parent\":{}}],[\"active_end\",{\"_index\":314,\"name\":{\"349\":{}},\"parent\":{}}],[\"active_hooked\",{\"_index\":312,\"name\":{\"347\":{}},\"parent\":{}}],[\"active_start\",{\"_index\":313,\"name\":{\"348\":{}},\"parent\":{}}],[\"active_state_style\",{\"_index\":175,\"name\":{\"174\":{}},\"parent\":{}}],[\"active_terminal\",{\"_index\":315,\"name\":{\"350\":{}},\"parent\":{}}],[\"agg_as\",{\"_index\":278,\"name\":{\"309\":{}},\"parent\":{}}],[\"all_themes\",{\"_index\":119,\"name\":{\"118\":{}},\"parent\":{}}],[\"allow_empty\",{\"_index\":258,\"name\":{\"283\":{}},\"parent\":{}}],[\"allow_force\",{\"_index\":234,\"name\":{\"238\":{},\"285\":{}},\"parent\":{}}],[\"allow_islands\",{\"_index\":233,\"name\":{\"237\":{},\"284\":{}},\"parent\":{}}],[\"angular\",{\"_index\":530,\"name\":{\"627\":{}},\"parent\":{}}],[\"anyactionhook\",{\"_index\":457,\"name\":{\"531\":{}},\"parent\":{}}],[\"anytransitionhook\",{\"_index\":469,\"name\":{\"547\":{}},\"parent\":{}}],[\"api\",{\"_index\":526,\"name\":{\"623\":{}},\"parent\":{}}],[\"are\",{\"_index\":520,\"name\":{\"620\":{}},\"parent\":{}}],[\"arr_uniq_p\",{\"_index\":390,\"name\":{\"437\":{}},\"parent\":{}}],[\"arrange_declaration\",{\"_index\":240,\"name\":{\"247\":{}},\"parent\":{}}],[\"arrange_end_declaration\",{\"_index\":242,\"name\":{\"249\":{}},\"parent\":{}}],[\"arrange_start_declaration\",{\"_index\":241,\"name\":{\"248\":{}},\"parent\":{}}],[\"array_box_if_string\",{\"_index\":395,\"name\":{\"442\":{}},\"parent\":{}}],[\"arrow_direction\",{\"_index\":402,\"name\":{\"452\":{}},\"parent\":{}}],[\"arrow_left_kind\",{\"_index\":403,\"name\":{\"453\":{}},\"parent\":{}}],[\"arrow_right_kind\",{\"_index\":404,\"name\":{\"454\":{}},\"parent\":{}}],[\"auto_api\",{\"_index\":243,\"name\":{\"259\":{}},\"parent\":{}}],[\"aws\",{\"_index\":535,\"name\":{\"632\":{}},\"parent\":{}}],[\"backgroundcolor\",{\"_index\":294,\"name\":{\"323\":{}},\"parent\":{}}],[\"base_message\",{\"_index\":385,\"name\":{\"431\":{}},\"parent\":{}}],[\"basichookdescription\",{\"_index\":447,\"name\":{\"513\":{}},\"parent\":{}}],[\"bordercolor\",{\"_index\":295,\"name\":{\"324\":{}},\"parent\":{}}],[\"browser\",{\"_index\":534,\"name\":{\"631\":{}},\"parent\":{}}],[\"build_time\",{\"_index\":401,\"name\":{\"449\":{},\"451\":{}},\"parent\":{}}],[\"cdn\",{\"_index\":540,\"name\":{\"636\":{}},\"parent\":{}}],[\"changelog\",{\"_index\":557,\"name\":{\"647\":{}},\"parent\":{}}],[\"check\",{\"_index\":209,\"name\":{\"209\":{},\"233\":{},\"280\":{}},\"parent\":{}}],[\"cli\",{\"_index\":555,\"name\":{\"645\":{}},\"parent\":{}}],[\"color\",{\"_index\":289,\"name\":{\"318\":{},\"640\":{}},\"parent\":{}}],[\"comment\",{\"_index\":329,\"name\":{\"364\":{}},\"parent\":{}}],[\"community\",{\"_index\":556,\"name\":{\"646\":{}},\"parent\":{}}],[\"comparison\",{\"_index\":549,\"name\":{\"641\":{}},\"parent\":{}}],[\"compile\",{\"_index\":191,\"name\":{\"190\":{}},\"parent\":{}}],[\"complete\",{\"_index\":227,\"name\":{\"226\":{},\"272\":{}},\"parent\":{}}],[\"constants\",{\"_index\":405,\"name\":{\"462\":{}},\"parent\":{}}],[\"constructor\",{\"_index\":3,\"name\":{\"3\":{},\"429\":{}},\"parent\":{}}],[\"corners\",{\"_index\":290,\"name\":{\"319\":{}},\"parent\":{}}],[\"current_action_edge_for\",{\"_index\":182,\"name\":{\"181\":{}},\"parent\":{}}],[\"current_action_for\",{\"_index\":181,\"name\":{\"180\":{}},\"parent\":{}}],[\"data\",{\"_index\":86,\"name\":{\"85\":{},\"231\":{},\"277\":{},\"368\":{},\"398\":{},\"404\":{}},\"parent\":{}}],[\"declarations\",{\"_index\":286,\"name\":{\"316\":{}},\"parent\":{}}],[\"default_active_state_config\",{\"_index\":249,\"name\":{\"266\":{}},\"parent\":{}}],[\"default_end_state_config\",{\"_index\":246,\"name\":{\"263\":{}},\"parent\":{}}],[\"default_hooked_state_config\",{\"_index\":247,\"name\":{\"264\":{}},\"parent\":{}}],[\"default_start_state_config\",{\"_index\":245,\"name\":{\"262\":{}},\"parent\":{}}],[\"default_state_config\",{\"_index\":244,\"name\":{\"261\":{}},\"parent\":{}}],[\"default_terminal_state_config\",{\"_index\":248,\"name\":{\"265\":{}},\"parent\":{}}],[\"default_value\",{\"_index\":274,\"name\":{\"305\":{},\"372\":{}},\"parent\":{}}],[\"deserialize\",{\"_index\":188,\"name\":{\"187\":{}},\"parent\":{}}],[\"display_text\",{\"_index\":85,\"name\":{\"84\":{}},\"parent\":{}}],[\"do\",{\"_index\":177,\"name\":{\"176\":{}},\"parent\":{}}],[\"dot_preamble\",{\"_index\":98,\"name\":{\"97\":{},\"241\":{}},\"parent\":{}}],[\"e\",{\"_index\":368,\"name\":{\"410\":{}},\"parent\":{}}],[\"edge_map\",{\"_index\":341,\"name\":{\"382\":{}},\"parent\":{}}],[\"edges\",{\"_index\":343,\"name\":{\"385\":{}},\"parent\":{}}],[\"edges_between\",{\"_index\":164,\"name\":{\"163\":{}},\"parent\":{}}],[\"editor\",{\"_index\":553,\"name\":{\"643\":{}},\"parent\":{}}],[\"end\",{\"_index\":309,\"name\":{\"344\":{}},\"parent\":{}}],[\"end_state_style\",{\"_index\":173,\"name\":{\"172\":{}},\"parent\":{}}],[\"end_states\",{\"_index\":237,\"name\":{\"243\":{}},\"parent\":{}}],[\"entrances\",{\"_index\":217,\"name\":{\"217\":{}},\"parent\":{}}],[\"entryhook\",{\"_index\":472,\"name\":{\"551\":{}},\"parent\":{}}],[\"epsilon\",{\"_index\":366,\"name\":{\"408\":{}},\"parent\":{}}],[\"error\",{\"_index\":419,\"name\":{\"477\":{}},\"parent\":{}}],[\"eulerc\",{\"_index\":380,\"name\":{\"422\":{}},\"parent\":{}}],[\"example\",{\"_index\":527,\"name\":{\"624\":{}},\"parent\":{}}],[\"exithook\",{\"_index\":475,\"name\":{\"556\":{}},\"parent\":{}}],[\"exits\",{\"_index\":219,\"name\":{\"218\":{}},\"parent\":{}}],[\"feature\",{\"_index\":548,\"name\":{\"641\":{}},\"parent\":{}}],[\"files\",{\"_index\":542,\"name\":{\"637\":{}},\"parent\":{}}],[\"find_repeated\",{\"_index\":389,\"name\":{\"436\":{},\"457\":{}},\"parent\":{}}],[\"flow\",{\"_index\":121,\"name\":{\"120\":{},\"229\":{}},\"parent\":{}}],[\"force_transition\",{\"_index\":180,\"name\":{\"179\":{}},\"parent\":{}}],[\"forced\",{\"_index\":319,\"name\":{\"354\":{}},\"parent\":{}}],[\"forced_only\",{\"_index\":212,\"name\":{\"212\":{}},\"parent\":{}}],[\"forcedtransitionhook\",{\"_index\":466,\"name\":{\"543\":{}},\"parent\":{}}],[\"from\",{\"_index\":192,\"name\":{\"192\":{},\"205\":{},\"269\":{},\"299\":{},\"516\":{},\"522\":{},\"559\":{},\"564\":{},\"570\":{},\"607\":{}},\"parent\":{}}],[\"fsl_version\",{\"_index\":110,\"name\":{\"109\":{},\"258\":{}},\"parent\":{}}],[\"fsldirection\",{\"_index\":349,\"name\":{\"390\":{}},\"parent\":{}}],[\"fsldirections\",{\"_index\":348,\"name\":{\"389\":{},\"463\":{}},\"parent\":{}}],[\"fsltheme\",{\"_index\":351,\"name\":{\"392\":{}},\"parent\":{}}],[\"fslthemes\",{\"_index\":350,\"name\":{\"391\":{}},\"parent\":{}}],[\"get_transition_by_state_names\",{\"_index\":122,\"name\":{\"121\":{}},\"parent\":{}}],[\"github\",{\"_index\":554,\"name\":{\"644\":{}},\"parent\":{}}],[\"globalactionhook\",{\"_index\":454,\"name\":{\"526\":{}},\"parent\":{}}],[\"go\",{\"_index\":179,\"name\":{\"178\":{}},\"parent\":{}}],[\"graph\",{\"_index\":316,\"name\":{\"351\":{}},\"parent\":{}}],[\"graph_layout\",{\"_index\":97,\"name\":{\"96\":{},\"225\":{}},\"parent\":{}}],[\"gviz_shapes\",{\"_index\":194,\"name\":{\"194\":{},\"423\":{}},\"parent\":{}}],[\"handler\",{\"_index\":450,\"name\":{\"518\":{},\"525\":{},\"530\":{},\"534\":{},\"538\":{},\"542\":{},\"546\":{},\"550\":{},\"555\":{},\"560\":{},\"566\":{},\"573\":{},\"578\":{},\"582\":{},\"586\":{},\"590\":{},\"594\":{},\"598\":{},\"603\":{},\"608\":{}},\"parent\":{}}],[\"has_completes\",{\"_index\":142,\"name\":{\"141\":{}},\"parent\":{}}],[\"has_state\",{\"_index\":114,\"name\":{\"113\":{}},\"parent\":{}}],[\"has_terminals\",{\"_index\":139,\"name\":{\"138\":{}},\"parent\":{}}],[\"has_unenterables\",{\"_index\":136,\"name\":{\"135\":{}},\"parent\":{}}],[\"histograph\",{\"_index\":391,\"name\":{\"438\":{},\"459\":{}},\"parent\":{}}],[\"history\",{\"_index\":166,\"name\":{\"165\":{},\"234\":{},\"366\":{}},\"parent\":{}}],[\"history_capacity\",{\"_index\":330,\"name\":{\"367\":{}},\"parent\":{}}],[\"history_inclusive\",{\"_index\":167,\"name\":{\"166\":{}},\"parent\":{}}],[\"history_length\",{\"_index\":168,\"name\":{\"167\":{}},\"parent\":{}}],[\"hook\",{\"_index\":144,\"name\":{\"143\":{}},\"parent\":{}}],[\"hook_action\",{\"_index\":145,\"name\":{\"144\":{}},\"parent\":{}}],[\"hook_any_action\",{\"_index\":147,\"name\":{\"146\":{}},\"parent\":{}}],[\"hook_any_transition\",{\"_index\":151,\"name\":{\"150\":{}},\"parent\":{}}],[\"hook_entry\",{\"_index\":152,\"name\":{\"151\":{}},\"parent\":{}}],[\"hook_exit\",{\"_index\":153,\"name\":{\"152\":{}},\"parent\":{}}],[\"hook_forced_transition\",{\"_index\":150,\"name\":{\"149\":{}},\"parent\":{}}],[\"hook_global_action\",{\"_index\":146,\"name\":{\"145\":{}},\"parent\":{}}],[\"hook_main_transition\",{\"_index\":149,\"name\":{\"148\":{}},\"parent\":{}}],[\"hook_name\",{\"_index\":397,\"name\":{\"444\":{}},\"parent\":{}}],[\"hook_standard_transition\",{\"_index\":148,\"name\":{\"147\":{}},\"parent\":{}}],[\"hookcomplexresult\",{\"_index\":359,\"name\":{\"400\":{}},\"parent\":{}}],[\"hookcontext\",{\"_index\":355,\"name\":{\"396\":{}},\"parent\":{}}],[\"hookdescription\",{\"_index\":352,\"name\":{\"393\":{}},\"parent\":{}}],[\"hookdescriptionwithaction\",{\"_index\":451,\"name\":{\"519\":{}},\"parent\":{}}],[\"hooked\",{\"_index\":307,\"name\":{\"342\":{}},\"parent\":{}}],[\"hooked_state_style\",{\"_index\":171,\"name\":{\"170\":{}},\"parent\":{}}],[\"hookhandler\",{\"_index\":353,\"name\":{\"394\":{}},\"parent\":{}}],[\"hookresult\",{\"_index\":358,\"name\":{\"399\":{}},\"parent\":{}}],[\"instance_name\",{\"_index\":186,\"name\":{\"185\":{},\"260\":{}},\"parent\":{}}],[\"internal\",{\"_index\":406,\"name\":{\"464\":{},\"465\":{},\"619\":{}},\"parent\":{}}],[\"internal_state_impl_version\",{\"_index\":338,\"name\":{\"378\":{}},\"parent\":{}}],[\"is_complete\",{\"_index\":140,\"name\":{\"139\":{}},\"parent\":{}}],[\"is_end_state\",{\"_index\":93,\"name\":{\"92\":{}},\"parent\":{}}],[\"is_final\",{\"_index\":95,\"name\":{\"94\":{}},\"parent\":{}}],[\"is_hook_complex_result\",{\"_index\":197,\"name\":{\"197\":{}},\"parent\":{}}],[\"is_hook_rejection\",{\"_index\":196,\"name\":{\"196\":{}},\"parent\":{}}],[\"is_start_state\",{\"_index\":92,\"name\":{\"91\":{}},\"parent\":{}}],[\"is_terminal\",{\"_index\":137,\"name\":{\"136\":{}},\"parent\":{}}],[\"is_unenterable\",{\"_index\":135,\"name\":{\"134\":{}},\"parent\":{}}],[\"jssm\",{\"_index\":0,\"name\":{\"0\":{}},\"parent\":{\"1\":{},\"2\":{},\"187\":{},\"188\":{},\"189\":{},\"190\":{},\"191\":{},\"192\":{},\"193\":{},\"194\":{},\"195\":{},\"196\":{},\"197\":{},\"198\":{},\"199\":{},\"450\":{},\"451\":{},\"452\":{},\"453\":{},\"454\":{},\"455\":{},\"456\":{},\"457\":{},\"458\":{},\"459\":{},\"460\":{},\"461\":{},\"462\":{},\"463\":{},\"464\":{}}}],[\"jssm.machine\",{\"_index\":4,\"name\":{},\"parent\":{\"3\":{},\"4\":{},\"5\":{},\"6\":{},\"7\":{},\"8\":{},\"9\":{},\"10\":{},\"11\":{},\"12\":{},\"13\":{},\"14\":{},\"15\":{},\"16\":{},\"17\":{},\"18\":{},\"19\":{},\"20\":{},\"21\":{},\"22\":{},\"23\":{},\"24\":{},\"25\":{},\"26\":{},\"27\":{},\"28\":{},\"29\":{},\"30\":{},\"31\":{},\"32\":{},\"33\":{},\"34\":{},\"35\":{},\"36\":{},\"37\":{},\"38\":{},\"39\":{},\"40\":{},\"41\":{},\"42\":{},\"43\":{},\"44\":{},\"45\":{},\"46\":{},\"47\":{},\"48\":{},\"49\":{},\"50\":{},\"51\":{},\"52\":{},\"53\":{},\"54\":{},\"55\":{},\"56\":{},\"57\":{},\"58\":{},\"59\":{},\"60\":{},\"61\":{},\"62\":{},\"63\":{},\"64\":{},\"65\":{},\"66\":{},\"67\":{},\"68\":{},\"69\":{},\"70\":{},\"71\":{},\"72\":{},\"73\":{},\"74\":{},\"75\":{},\"76\":{},\"77\":{},\"78\":{},\"79\":{},\"80\":{},\"81\":{},\"82\":{},\"83\":{},\"84\":{},\"85\":{},\"86\":{},\"87\":{},\"88\":{},\"89\":{},\"90\":{},\"91\":{},\"92\":{},\"93\":{},\"94\":{},\"95\":{},\"96\":{},\"97\":{},\"98\":{},\"99\":{},\"100\":{},\"101\":{},\"102\":{},\"103\":{},\"104\":{},\"105\":{},\"106\":{},\"107\":{},\"108\":{},\"109\":{},\"110\":{},\"111\":{},\"112\":{},\"113\":{},\"114\":{},\"115\":{},\"116\":{},\"117\":{},\"118\":{},\"119\":{},\"120\":{},\"121\":{},\"122\":{},\"123\":{},\"124\":{},\"125\":{},\"126\":{},\"127\":{},\"128\":{},\"129\":{},\"130\":{},\"131\":{},\"132\":{},\"133\":{},\"134\":{},\"135\":{},\"136\":{},\"137\":{},\"138\":{},\"139\":{},\"140\":{},\"141\":{},\"142\":{},\"143\":{},\"144\":{},\"145\":{},\"146\":{},\"147\":{},\"148\":{},\"149\":{},\"150\":{},\"151\":{},\"152\":{},\"153\":{},\"154\":{},\"155\":{},\"156\":{},\"157\":{},\"158\":{},\"159\":{},\"160\":{},\"161\":{},\"162\":{},\"163\":{},\"164\":{},\"165\":{},\"166\":{},\"167\":{},\"168\":{},\"169\":{},\"170\":{},\"171\":{},\"172\":{},\"173\":{},\"174\":{},\"175\":{},\"176\":{},\"177\":{},\"178\":{},\"179\":{},\"180\":{},\"181\":{},\"182\":{},\"183\":{},\"184\":{},\"185\":{},\"186\":{}}}],[\"jssm_constants\",{\"_index\":363,\"name\":{\"405\":{}},\"parent\":{\"406\":{},\"407\":{},\"408\":{},\"409\":{},\"410\":{},\"411\":{},\"412\":{},\"413\":{},\"414\":{},\"415\":{},\"416\":{},\"417\":{},\"418\":{},\"419\":{},\"420\":{},\"421\":{},\"422\":{},\"423\":{},\"424\":{},\"425\":{}}}],[\"jssm_error\",{\"_index\":381,\"name\":{\"426\":{}},\"parent\":{\"427\":{},\"619\":{}}}],[\"jssm_error.jssmerror\",{\"_index\":383,\"name\":{},\"parent\":{\"428\":{},\"429\":{},\"430\":{},\"431\":{},\"432\":{}}}],[\"jssm_types\",{\"_index\":200,\"name\":{\"200\":{}},\"parent\":{\"201\":{},\"202\":{},\"203\":{},\"214\":{},\"215\":{},\"219\":{},\"220\":{},\"221\":{},\"222\":{},\"223\":{},\"267\":{},\"273\":{},\"287\":{},\"288\":{},\"297\":{},\"307\":{},\"311\":{},\"312\":{},\"313\":{},\"314\":{},\"330\":{},\"335\":{},\"336\":{},\"337\":{},\"338\":{},\"357\":{},\"358\":{},\"359\":{},\"360\":{},\"369\":{},\"374\":{},\"376\":{},\"386\":{},\"389\":{},\"390\":{},\"391\":{},\"392\":{},\"393\":{},\"394\":{},\"396\":{},\"399\":{},\"400\":{},\"465\":{}}}],[\"jssm_types..anyactionhook\",{\"_index\":458,\"name\":{},\"parent\":{\"532\":{}}}],[\"jssm_types..anyactionhook.__type\",{\"_index\":459,\"name\":{},\"parent\":{\"533\":{},\"534\":{}}}],[\"jssm_types..anytransitionhook\",{\"_index\":470,\"name\":{},\"parent\":{\"548\":{}}}],[\"jssm_types..anytransitionhook.__type\",{\"_index\":471,\"name\":{},\"parent\":{\"549\":{},\"550\":{}}}],[\"jssm_types..basichookdescription\",{\"_index\":448,\"name\":{},\"parent\":{\"514\":{}}}],[\"jssm_types..basichookdescription.__type\",{\"_index\":449,\"name\":{},\"parent\":{\"515\":{},\"516\":{},\"517\":{},\"518\":{}}}],[\"jssm_types..entryhook\",{\"_index\":473,\"name\":{},\"parent\":{\"552\":{}}}],[\"jssm_types..entryhook.__type\",{\"_index\":474,\"name\":{},\"parent\":{\"553\":{},\"554\":{},\"555\":{}}}],[\"jssm_types..exithook\",{\"_index\":476,\"name\":{},\"parent\":{\"557\":{}}}],[\"jssm_types..exithook.__type\",{\"_index\":477,\"name\":{},\"parent\":{\"558\":{},\"559\":{},\"560\":{}}}],[\"jssm_types..forcedtransitionhook\",{\"_index\":467,\"name\":{},\"parent\":{\"544\":{}}}],[\"jssm_types..forcedtransitionhook.__type\",{\"_index\":468,\"name\":{},\"parent\":{\"545\":{},\"546\":{}}}],[\"jssm_types..globalactionhook\",{\"_index\":455,\"name\":{},\"parent\":{\"527\":{}}}],[\"jssm_types..globalactionhook.__type\",{\"_index\":456,\"name\":{},\"parent\":{\"528\":{},\"529\":{},\"530\":{}}}],[\"jssm_types..hookdescriptionwithaction\",{\"_index\":452,\"name\":{},\"parent\":{\"520\":{}}}],[\"jssm_types..hookdescriptionwithaction.__type\",{\"_index\":453,\"name\":{},\"parent\":{\"521\":{},\"522\":{},\"523\":{},\"524\":{},\"525\":{}}}],[\"jssm_types..jssmfailure\",{\"_index\":417,\"name\":{},\"parent\":{\"475\":{}}}],[\"jssm_types..jssmfailure.__type\",{\"_index\":418,\"name\":{},\"parent\":{\"476\":{},\"477\":{}}}],[\"jssm_types..jssmincomplete\",{\"_index\":421,\"name\":{},\"parent\":{\"479\":{}}}],[\"jssm_types..jssmincomplete.__type\",{\"_index\":422,\"name\":{},\"parent\":{\"480\":{}}}],[\"jssm_types..jssmstatepermitter\",{\"_index\":515,\"name\":{},\"parent\":{\"616\":{}}}],[\"jssm_types..jssmstatestylebackgroundcolor\",{\"_index\":439,\"name\":{},\"parent\":{\"502\":{}}}],[\"jssm_types..jssmstatestylebackgroundcolor.__type\",{\"_index\":440,\"name\":{},\"parent\":{\"503\":{},\"504\":{}}}],[\"jssm_types..jssmstatestylebordercolor\",{\"_index\":445,\"name\":{},\"parent\":{\"510\":{}}}],[\"jssm_types..jssmstatestylebordercolor.__type\",{\"_index\":446,\"name\":{},\"parent\":{\"511\":{},\"512\":{}}}],[\"jssm_types..jssmstatestylecolor\",{\"_index\":427,\"name\":{},\"parent\":{\"486\":{}}}],[\"jssm_types..jssmstatestylecolor.__type\",{\"_index\":428,\"name\":{},\"parent\":{\"487\":{},\"488\":{}}}],[\"jssm_types..jssmstatestylecorners\",{\"_index\":433,\"name\":{},\"parent\":{\"494\":{}}}],[\"jssm_types..jssmstatestylecorners.__type\",{\"_index\":434,\"name\":{},\"parent\":{\"495\":{},\"496\":{}}}],[\"jssm_types..jssmstatestylelinestyle\",{\"_index\":436,\"name\":{},\"parent\":{\"498\":{}}}],[\"jssm_types..jssmstatestylelinestyle.__type\",{\"_index\":437,\"name\":{},\"parent\":{\"499\":{},\"500\":{}}}],[\"jssm_types..jssmstatestyleshape\",{\"_index\":424,\"name\":{},\"parent\":{\"482\":{}}}],[\"jssm_types..jssmstatestyleshape.__type\",{\"_index\":425,\"name\":{},\"parent\":{\"483\":{},\"484\":{}}}],[\"jssm_types..jssmstatestylestatelabel\",{\"_index\":442,\"name\":{},\"parent\":{\"506\":{}}}],[\"jssm_types..jssmstatestylestatelabel.__type\",{\"_index\":443,\"name\":{},\"parent\":{\"507\":{},\"508\":{}}}],[\"jssm_types..jssmstatestyletextcolor\",{\"_index\":430,\"name\":{},\"parent\":{\"490\":{}}}],[\"jssm_types..jssmstatestyletextcolor.__type\",{\"_index\":431,\"name\":{},\"parent\":{\"491\":{},\"492\":{}}}],[\"jssm_types..jssmsuccess\",{\"_index\":413,\"name\":{},\"parent\":{\"472\":{}}}],[\"jssm_types..jssmsuccess.__type\",{\"_index\":415,\"name\":{},\"parent\":{\"473\":{}}}],[\"jssm_types..jssmtransitioncycle\",{\"_index\":410,\"name\":{},\"parent\":{\"468\":{}}}],[\"jssm_types..jssmtransitioncycle.__type\",{\"_index\":411,\"name\":{},\"parent\":{\"469\":{},\"470\":{}}}],[\"jssm_types..jssmtransitionpermitter\",{\"_index\":513,\"name\":{},\"parent\":{\"614\":{}}}],[\"jssm_types..maintransitionhook\",{\"_index\":464,\"name\":{},\"parent\":{\"540\":{}}}],[\"jssm_types..maintransitionhook.__type\",{\"_index\":465,\"name\":{},\"parent\":{\"541\":{},\"542\":{}}}],[\"jssm_types..postanyactionhook\",{\"_index\":488,\"name\":{},\"parent\":{\"580\":{}}}],[\"jssm_types..postanyactionhook.__type\",{\"_index\":489,\"name\":{},\"parent\":{\"581\":{},\"582\":{}}}],[\"jssm_types..postanytransitionhook\",{\"_index\":500,\"name\":{},\"parent\":{\"596\":{}}}],[\"jssm_types..postanytransitionhook.__type\",{\"_index\":501,\"name\":{},\"parent\":{\"597\":{},\"598\":{}}}],[\"jssm_types..postbasichookdescription\",{\"_index\":479,\"name\":{},\"parent\":{\"562\":{}}}],[\"jssm_types..postbasichookdescription.__type\",{\"_index\":480,\"name\":{},\"parent\":{\"563\":{},\"564\":{},\"565\":{},\"566\":{}}}],[\"jssm_types..postentryhook\",{\"_index\":503,\"name\":{},\"parent\":{\"600\":{}}}],[\"jssm_types..postentryhook.__type\",{\"_index\":504,\"name\":{},\"parent\":{\"601\":{},\"602\":{},\"603\":{}}}],[\"jssm_types..postexithook\",{\"_index\":506,\"name\":{},\"parent\":{\"605\":{}}}],[\"jssm_types..postexithook.__type\",{\"_index\":507,\"name\":{},\"parent\":{\"606\":{},\"607\":{},\"608\":{}}}],[\"jssm_types..postforcedtransitionhook\",{\"_index\":497,\"name\":{},\"parent\":{\"592\":{}}}],[\"jssm_types..postforcedtransitionhook.__type\",{\"_index\":498,\"name\":{},\"parent\":{\"593\":{},\"594\":{}}}],[\"jssm_types..postglobalactionhook\",{\"_index\":485,\"name\":{},\"parent\":{\"575\":{}}}],[\"jssm_types..postglobalactionhook.__type\",{\"_index\":486,\"name\":{},\"parent\":{\"576\":{},\"577\":{},\"578\":{}}}],[\"jssm_types..posthookdescriptionwithaction\",{\"_index\":482,\"name\":{},\"parent\":{\"568\":{}}}],[\"jssm_types..posthookdescriptionwithaction.__type\",{\"_index\":483,\"name\":{},\"parent\":{\"569\":{},\"570\":{},\"571\":{},\"572\":{},\"573\":{}}}],[\"jssm_types..posthookhandler\",{\"_index\":517,\"name\":{},\"parent\":{\"618\":{}}}],[\"jssm_types..postmaintransitionhook\",{\"_index\":494,\"name\":{},\"parent\":{\"588\":{}}}],[\"jssm_types..postmaintransitionhook.__type\",{\"_index\":495,\"name\":{},\"parent\":{\"589\":{},\"590\":{}}}],[\"jssm_types..poststandardtransitionhook\",{\"_index\":491,\"name\":{},\"parent\":{\"584\":{}}}],[\"jssm_types..poststandardtransitionhook.__type\",{\"_index\":492,\"name\":{},\"parent\":{\"585\":{},\"586\":{}}}],[\"jssm_types..standardtransitionhook\",{\"_index\":461,\"name\":{},\"parent\":{\"536\":{}}}],[\"jssm_types..standardtransitionhook.__type\",{\"_index\":462,\"name\":{},\"parent\":{\"537\":{},\"538\":{}}}],[\"jssm_types.hookcomplexresult\",{\"_index\":360,\"name\":{},\"parent\":{\"401\":{}}}],[\"jssm_types.hookcomplexresult.__type\",{\"_index\":362,\"name\":{},\"parent\":{\"402\":{},\"403\":{},\"404\":{}}}],[\"jssm_types.hookcontext\",{\"_index\":356,\"name\":{},\"parent\":{\"397\":{}}}],[\"jssm_types.hookcontext.__type\",{\"_index\":357,\"name\":{},\"parent\":{\"398\":{}}}],[\"jssm_types.hookhandler\",{\"_index\":354,\"name\":{},\"parent\":{\"395\":{}}}],[\"jssm_types.jssmbasetheme\",{\"_index\":305,\"name\":{},\"parent\":{\"339\":{}}}],[\"jssm_types.jssmbasetheme.__type\",{\"_index\":306,\"name\":{},\"parent\":{\"340\":{},\"341\":{},\"342\":{},\"343\":{},\"344\":{},\"345\":{},\"346\":{},\"347\":{},\"348\":{},\"349\":{},\"350\":{},\"351\":{},\"352\":{},\"353\":{},\"354\":{},\"355\":{},\"356\":{}}}],[\"jssm_types.jssmcompilerule\",{\"_index\":277,\"name\":{},\"parent\":{\"308\":{}}}],[\"jssm_types.jssmcompilerule.__type\",{\"_index\":279,\"name\":{},\"parent\":{\"309\":{},\"310\":{}}}],[\"jssm_types.jssmcompilese\",{\"_index\":262,\"name\":{},\"parent\":{\"289\":{}}}],[\"jssm_types.jssmcompilese.__type\",{\"_index\":263,\"name\":{},\"parent\":{\"290\":{},\"291\":{},\"292\":{},\"293\":{},\"294\":{},\"295\":{},\"296\":{}}}],[\"jssm_types.jssmcompilesestart\",{\"_index\":270,\"name\":{},\"parent\":{\"298\":{}}}],[\"jssm_types.jssmcompilesestart.__type\",{\"_index\":271,\"name\":{},\"parent\":{\"299\":{},\"300\":{},\"301\":{},\"302\":{},\"303\":{},\"304\":{},\"305\":{},\"306\":{}}}],[\"jssm_types.jssmerrorextendedinfo\",{\"_index\":345,\"name\":{},\"parent\":{\"387\":{}}}],[\"jssm_types.jssmerrorextendedinfo.__type\",{\"_index\":347,\"name\":{},\"parent\":{\"388\":{}}}],[\"jssm_types.jssmgenericconfig\",{\"_index\":225,\"name\":{},\"parent\":{\"224\":{}}}],[\"jssm_types.jssmgenericconfig.__type\",{\"_index\":226,\"name\":{},\"parent\":{\"225\":{},\"226\":{},\"227\":{},\"228\":{},\"229\":{},\"230\":{},\"231\":{},\"232\":{},\"233\":{},\"234\":{},\"235\":{},\"236\":{},\"237\":{},\"238\":{},\"239\":{},\"240\":{},\"241\":{},\"242\":{},\"243\":{},\"244\":{},\"245\":{},\"246\":{},\"247\":{},\"248\":{},\"249\":{},\"250\":{},\"251\":{},\"252\":{},\"253\":{},\"254\":{},\"255\":{},\"256\":{},\"257\":{},\"258\":{},\"259\":{},\"260\":{},\"261\":{},\"262\":{},\"263\":{},\"264\":{},\"265\":{},\"266\":{}}}],[\"jssm_types.jssmgenericmachine\",{\"_index\":254,\"name\":{},\"parent\":{\"274\":{}}}],[\"jssm_types.jssmgenericmachine.__type\",{\"_index\":255,\"name\":{},\"parent\":{\"275\":{},\"276\":{},\"277\":{},\"278\":{},\"279\":{},\"280\":{},\"281\":{},\"282\":{},\"283\":{},\"284\":{},\"285\":{},\"286\":{}}}],[\"jssm_types.jssmgenericstate\",{\"_index\":251,\"name\":{},\"parent\":{\"268\":{}}}],[\"jssm_types.jssmgenericstate.__type\",{\"_index\":252,\"name\":{},\"parent\":{\"269\":{},\"270\":{},\"271\":{},\"272\":{}}}],[\"jssm_types.jssmmachineinternalstate\",{\"_index\":337,\"name\":{},\"parent\":{\"377\":{}}}],[\"jssm_types.jssmmachineinternalstate.__type\",{\"_index\":339,\"name\":{},\"parent\":{\"378\":{},\"379\":{},\"380\":{},\"381\":{},\"382\":{},\"383\":{},\"384\":{},\"385\":{}}}],[\"jssm_types.jssmparsefunctiontype\",{\"_index\":335,\"name\":{},\"parent\":{\"375\":{}}}],[\"jssm_types.jssmpropertydefinition\",{\"_index\":332,\"name\":{},\"parent\":{\"370\":{}}}],[\"jssm_types.jssmpropertydefinition.__type\",{\"_index\":333,\"name\":{},\"parent\":{\"371\":{},\"372\":{},\"373\":{}}}],[\"jssm_types.jssmserialization\",{\"_index\":325,\"name\":{},\"parent\":{\"361\":{}}}],[\"jssm_types.jssmserialization.__type\",{\"_index\":327,\"name\":{},\"parent\":{\"362\":{},\"363\":{},\"364\":{},\"365\":{},\"366\":{},\"367\":{},\"368\":{}}}],[\"jssm_types.jssmstatedeclaration\",{\"_index\":285,\"name\":{},\"parent\":{\"315\":{}}}],[\"jssm_types.jssmstatedeclaration.__type\",{\"_index\":287,\"name\":{},\"parent\":{\"316\":{},\"317\":{},\"318\":{},\"319\":{},\"320\":{},\"321\":{},\"322\":{},\"323\":{},\"324\":{},\"325\":{},\"326\":{},\"327\":{}}}],[\"jssm_types.jssmstatedeclaration.__type.__type\",{\"_index\":297,\"name\":{},\"parent\":{\"328\":{},\"329\":{}}}],[\"jssm_types.jssmstatedeclarationrule\",{\"_index\":299,\"name\":{},\"parent\":{\"331\":{}}}],[\"jssm_types.jssmstatedeclarationrule.__type\",{\"_index\":300,\"name\":{},\"parent\":{\"332\":{},\"333\":{},\"334\":{}}}],[\"jssm_types.jssmtransition\",{\"_index\":205,\"name\":{},\"parent\":{\"204\":{}}}],[\"jssm_types.jssmtransition.__type\",{\"_index\":206,\"name\":{},\"parent\":{\"205\":{},\"206\":{},\"207\":{},\"208\":{},\"209\":{},\"210\":{},\"211\":{},\"212\":{},\"213\":{}}}],[\"jssm_types.jssmtransitionlist\",{\"_index\":216,\"name\":{},\"parent\":{\"216\":{}}}],[\"jssm_types.jssmtransitionlist.__type\",{\"_index\":218,\"name\":{},\"parent\":{\"217\":{},\"218\":{}}}],[\"jssm_util\",{\"_index\":386,\"name\":{\"433\":{}},\"parent\":{\"434\":{},\"435\":{},\"436\":{},\"437\":{},\"438\":{},\"439\":{},\"440\":{},\"441\":{},\"442\":{},\"443\":{},\"444\":{},\"445\":{},\"446\":{}}}],[\"jssm_version\",{\"_index\":326,\"name\":{\"362\":{}},\"parent\":{}}],[\"jssmarrow\",{\"_index\":221,\"name\":{\"220\":{}},\"parent\":{}}],[\"jssmarrowdirection\",{\"_index\":223,\"name\":{\"222\":{}},\"parent\":{}}],[\"jssmarrowkind\",{\"_index\":222,\"name\":{\"221\":{}},\"parent\":{}}],[\"jssmbasetheme\",{\"_index\":304,\"name\":{\"338\":{}},\"parent\":{}}],[\"jssmcolor\",{\"_index\":201,\"name\":{\"201\":{}},\"parent\":{}}],[\"jssmcompilerule\",{\"_index\":276,\"name\":{\"307\":{}},\"parent\":{}}],[\"jssmcompilese\",{\"_index\":261,\"name\":{\"288\":{}},\"parent\":{}}],[\"jssmcompilesestart\",{\"_index\":269,\"name\":{\"297\":{}},\"parent\":{}}],[\"jssmcorner\",{\"_index\":510,\"name\":{\"611\":{}},\"parent\":{}}],[\"jssmerror\",{\"_index\":382,\"name\":{\"427\":{}},\"parent\":{}}],[\"jssmerrorextendedinfo\",{\"_index\":344,\"name\":{\"386\":{}},\"parent\":{}}],[\"jssmfailure\",{\"_index\":416,\"name\":{\"474\":{}},\"parent\":{}}],[\"jssmgenericconfig\",{\"_index\":224,\"name\":{\"223\":{}},\"parent\":{}}],[\"jssmgenericmachine\",{\"_index\":253,\"name\":{\"273\":{}},\"parent\":{}}],[\"jssmgenericstate\",{\"_index\":250,\"name\":{\"267\":{}},\"parent\":{}}],[\"jssmhistory\",{\"_index\":323,\"name\":{\"359\":{}},\"parent\":{}}],[\"jssmincomplete\",{\"_index\":420,\"name\":{\"478\":{}},\"parent\":{}}],[\"jssmlayout\",{\"_index\":322,\"name\":{\"358\":{}},\"parent\":{}}],[\"jssmlinestyle\",{\"_index\":511,\"name\":{\"612\":{}},\"parent\":{}}],[\"jssmmachineinternalstate\",{\"_index\":336,\"name\":{\"376\":{}},\"parent\":{}}],[\"jssmparsefunctiontype\",{\"_index\":334,\"name\":{\"374\":{}},\"parent\":{}}],[\"jssmparsetree\",{\"_index\":260,\"name\":{\"287\":{}},\"parent\":{}}],[\"jssmpermitted\",{\"_index\":281,\"name\":{\"311\":{}},\"parent\":{}}],[\"jssmpermittedopt\",{\"_index\":282,\"name\":{\"312\":{}},\"parent\":{}}],[\"jssmpropertydefinition\",{\"_index\":331,\"name\":{\"369\":{}},\"parent\":{}}],[\"jssmresult\",{\"_index\":283,\"name\":{\"313\":{}},\"parent\":{}}],[\"jssmserialization\",{\"_index\":324,\"name\":{\"360\":{}},\"parent\":{}}],[\"jssmshape\",{\"_index\":202,\"name\":{\"202\":{}},\"parent\":{}}],[\"jssmstateconfig\",{\"_index\":301,\"name\":{\"335\":{}},\"parent\":{}}],[\"jssmstatedeclaration\",{\"_index\":284,\"name\":{\"314\":{}},\"parent\":{}}],[\"jssmstatedeclarationrule\",{\"_index\":298,\"name\":{\"330\":{}},\"parent\":{}}],[\"jssmstatepermitter\",{\"_index\":514,\"name\":{\"615\":{}},\"parent\":{}}],[\"jssmstatepermittermaybearray\",{\"_index\":509,\"name\":{\"610\":{}},\"parent\":{}}],[\"jssmstatestylebackgroundcolor\",{\"_index\":438,\"name\":{\"501\":{}},\"parent\":{}}],[\"jssmstatestylebordercolor\",{\"_index\":444,\"name\":{\"509\":{}},\"parent\":{}}],[\"jssmstatestylecolor\",{\"_index\":426,\"name\":{\"485\":{}},\"parent\":{}}],[\"jssmstatestylecorners\",{\"_index\":432,\"name\":{\"493\":{}},\"parent\":{}}],[\"jssmstatestylekey\",{\"_index\":302,\"name\":{\"336\":{}},\"parent\":{}}],[\"jssmstatestylekeylist\",{\"_index\":303,\"name\":{\"337\":{}},\"parent\":{}}],[\"jssmstatestylelinestyle\",{\"_index\":435,\"name\":{\"497\":{}},\"parent\":{}}],[\"jssmstatestyleshape\",{\"_index\":423,\"name\":{\"481\":{}},\"parent\":{}}],[\"jssmstatestylestatelabel\",{\"_index\":441,\"name\":{\"505\":{}},\"parent\":{}}],[\"jssmstatestyletextcolor\",{\"_index\":429,\"name\":{\"489\":{}},\"parent\":{}}],[\"jssmsuccess\",{\"_index\":412,\"name\":{\"471\":{}},\"parent\":{}}],[\"jssmtheme\",{\"_index\":321,\"name\":{\"357\":{}},\"parent\":{}}],[\"jssmtransition\",{\"_index\":203,\"name\":{\"203\":{}},\"parent\":{}}],[\"jssmtransitioncycle\",{\"_index\":409,\"name\":{\"467\":{}},\"parent\":{}}],[\"jssmtransitionlist\",{\"_index\":215,\"name\":{\"215\":{}},\"parent\":{}}],[\"jssmtransitionpermitter\",{\"_index\":512,\"name\":{\"613\":{}},\"parent\":{}}],[\"jssmtransitionpermittermaybearray\",{\"_index\":508,\"name\":{\"609\":{}},\"parent\":{}}],[\"jssmtransitionrule\",{\"_index\":220,\"name\":{\"219\":{}},\"parent\":{}}],[\"jssmtransitions\",{\"_index\":214,\"name\":{\"214\":{}},\"parent\":{}}],[\"keep_history\",{\"_index\":259,\"name\":{\"286\":{}},\"parent\":{}}],[\"key\",{\"_index\":272,\"name\":{\"301\":{},\"332\":{},\"469\":{},\"483\":{},\"487\":{},\"491\":{},\"495\":{},\"499\":{},\"503\":{},\"507\":{},\"511\":{}},\"parent\":{}}],[\"kind\",{\"_index\":211,\"name\":{\"211\":{},\"292\":{},\"515\":{},\"521\":{},\"528\":{},\"533\":{},\"537\":{},\"541\":{},\"545\":{},\"549\":{},\"553\":{},\"558\":{},\"563\":{},\"569\":{},\"576\":{},\"581\":{},\"585\":{},\"589\":{},\"593\":{},\"597\":{},\"601\":{},\"606\":{}},\"parent\":{}}],[\"known_prop\",{\"_index\":90,\"name\":{\"89\":{}},\"parent\":{}}],[\"known_props\",{\"_index\":91,\"name\":{\"90\":{}},\"parent\":{}}],[\"l_action\",{\"_index\":265,\"name\":{\"293\":{}},\"parent\":{}}],[\"l_probability\",{\"_index\":267,\"name\":{\"295\":{}},\"parent\":{}}],[\"label_for\",{\"_index\":84,\"name\":{\"83\":{}},\"parent\":{}}],[\"lambda\",{\"_index\":536,\"name\":{\"632\":{}},\"parent\":{}}],[\"language\",{\"_index\":524,\"name\":{\"622\":{}},\"parent\":{}}],[\"large\",{\"_index\":545,\"name\":{\"638\":{}},\"parent\":{}}],[\"legal\",{\"_index\":317,\"name\":{\"352\":{}},\"parent\":{}}],[\"let's\",{\"_index\":543,\"name\":{\"638\":{}},\"parent\":{}}],[\"linestyle\",{\"_index\":291,\"name\":{\"320\":{}},\"parent\":{}}],[\"list_actions\",{\"_index\":117,\"name\":{\"116\":{}},\"parent\":{}}],[\"list_edges\",{\"_index\":115,\"name\":{\"114\":{}},\"parent\":{}}],[\"list_entrances\",{\"_index\":125,\"name\":{\"124\":{}},\"parent\":{}}],[\"list_exit_actions\",{\"_index\":133,\"name\":{\"132\":{}},\"parent\":{}}],[\"list_exits\",{\"_index\":126,\"name\":{\"125\":{}},\"parent\":{}}],[\"list_named_transitions\",{\"_index\":116,\"name\":{\"115\":{}},\"parent\":{}}],[\"list_states_having_action\",{\"_index\":132,\"name\":{\"131\":{}},\"parent\":{}}],[\"list_transitions\",{\"_index\":124,\"name\":{\"123\":{}},\"parent\":{}}],[\"live\",{\"_index\":552,\"name\":{\"643\":{}},\"parent\":{}}],[\"ln10\",{\"_index\":372,\"name\":{\"414\":{}},\"parent\":{}}],[\"ln2\",{\"_index\":371,\"name\":{\"413\":{}},\"parent\":{}}],[\"loc\",{\"_index\":550,\"name\":{\"642\":{}},\"parent\":{}}],[\"local\",{\"_index\":541,\"name\":{\"637\":{}},\"parent\":{}}],[\"log10e\",{\"_index\":374,\"name\":{\"416\":{}},\"parent\":{}}],[\"log2e\",{\"_index\":373,\"name\":{\"415\":{}},\"parent\":{}}],[\"lookup_transition_for\",{\"_index\":123,\"name\":{\"122\":{}},\"parent\":{}}],[\"machine\",{\"_index\":2,\"name\":{\"2\":{},\"638\":{}},\"parent\":{}}],[\"machine_author\",{\"_index\":99,\"name\":{\"98\":{},\"250\":{}},\"parent\":{}}],[\"machine_comment\",{\"_index\":100,\"name\":{\"99\":{},\"251\":{}},\"parent\":{}}],[\"machine_contributor\",{\"_index\":101,\"name\":{\"100\":{},\"252\":{}},\"parent\":{}}],[\"machine_definition\",{\"_index\":102,\"name\":{\"101\":{},\"253\":{}},\"parent\":{}}],[\"machine_language\",{\"_index\":103,\"name\":{\"102\":{},\"254\":{}},\"parent\":{}}],[\"machine_license\",{\"_index\":104,\"name\":{\"103\":{},\"255\":{}},\"parent\":{}}],[\"machine_name\",{\"_index\":105,\"name\":{\"104\":{},\"256\":{}},\"parent\":{}}],[\"machine_state\",{\"_index\":111,\"name\":{\"110\":{}},\"parent\":{}}],[\"machine_version\",{\"_index\":106,\"name\":{\"105\":{},\"257\":{}},\"parent\":{}}],[\"machines\",{\"_index\":521,\"name\":{\"620\":{},\"624\":{}},\"parent\":{}}],[\"main\",{\"_index\":318,\"name\":{\"353\":{}},\"parent\":{}}],[\"main_path\",{\"_index\":213,\"name\":{\"213\":{}},\"parent\":{}}],[\"maintransitionhook\",{\"_index\":463,\"name\":{\"539\":{}},\"parent\":{}}],[\"make\",{\"_index\":189,\"name\":{\"188\":{},\"638\":{}},\"parent\":{}}],[\"make_mulberry_rand\",{\"_index\":399,\"name\":{\"446\":{}},\"parent\":{}}],[\"max_exits\",{\"_index\":232,\"name\":{\"236\":{}},\"parent\":{}}],[\"max_transitions\",{\"_index\":257,\"name\":{\"282\":{}},\"parent\":{}}],[\"maxposnum\",{\"_index\":377,\"name\":{\"419\":{}},\"parent\":{}}],[\"maxsafeint\",{\"_index\":375,\"name\":{\"417\":{}},\"parent\":{}}],[\"message\",{\"_index\":384,\"name\":{\"430\":{}},\"parent\":{}}],[\"min_exits\",{\"_index\":231,\"name\":{\"235\":{}},\"parent\":{}}],[\"min_transitions\",{\"_index\":256,\"name\":{\"281\":{}},\"parent\":{}}],[\"minposnum\",{\"_index\":378,\"name\":{\"420\":{}},\"parent\":{}}],[\"minsafeint\",{\"_index\":376,\"name\":{\"418\":{}},\"parent\":{}}],[\"name\",{\"_index\":208,\"name\":{\"207\":{},\"230\":{},\"270\":{},\"275\":{},\"303\":{},\"328\":{},\"334\":{},\"340\":{},\"371\":{}},\"parent\":{}}],[\"name_bind_prop_and_state\",{\"_index\":396,\"name\":{\"443\":{}},\"parent\":{}}],[\"named_colors\",{\"_index\":195,\"name\":{\"195\":{},\"425\":{}},\"parent\":{}}],[\"named_hook_name\",{\"_index\":398,\"name\":{\"445\":{}},\"parent\":{}}],[\"named_transitions\",{\"_index\":340,\"name\":{\"381\":{}},\"parent\":{}}],[\"neginfinity\",{\"_index\":364,\"name\":{\"406\":{}},\"parent\":{}}],[\"node\",{\"_index\":531,\"name\":{\"628\":{},\"629\":{}},\"parent\":{}}],[\"nodes\",{\"_index\":230,\"name\":{\"232\":{},\"278\":{}},\"parent\":{}}],[\"page\",{\"_index\":518,\"name\":{\"620\":{},\"621\":{},\"622\":{},\"623\":{},\"624\":{},\"625\":{},\"626\":{},\"627\":{},\"628\":{},\"629\":{},\"630\":{},\"631\":{},\"632\":{},\"633\":{},\"634\":{},\"635\":{},\"636\":{},\"637\":{},\"638\":{},\"639\":{},\"640\":{},\"641\":{},\"642\":{},\"643\":{},\"644\":{},\"645\":{},\"646\":{},\"647\":{}},\"parent\":{}}],[\"parse\",{\"_index\":190,\"name\":{\"189\":{}},\"parent\":{}}],[\"pass\",{\"_index\":361,\"name\":{\"402\":{}},\"parent\":{}}],[\"phi\",{\"_index\":379,\"name\":{\"421\":{}},\"parent\":{}}],[\"pi\",{\"_index\":367,\"name\":{\"409\":{}},\"parent\":{}}],[\"posinfinity\",{\"_index\":365,\"name\":{\"407\":{}},\"parent\":{}}],[\"post_hook\",{\"_index\":154,\"name\":{\"153\":{}},\"parent\":{}}],[\"post_hook_action\",{\"_index\":155,\"name\":{\"154\":{}},\"parent\":{}}],[\"post_hook_any_action\",{\"_index\":157,\"name\":{\"156\":{}},\"parent\":{}}],[\"post_hook_any_transition\",{\"_index\":161,\"name\":{\"160\":{}},\"parent\":{}}],[\"post_hook_entry\",{\"_index\":162,\"name\":{\"161\":{}},\"parent\":{}}],[\"post_hook_exit\",{\"_index\":163,\"name\":{\"162\":{}},\"parent\":{}}],[\"post_hook_forced_transition\",{\"_index\":160,\"name\":{\"159\":{}},\"parent\":{}}],[\"post_hook_global_action\",{\"_index\":156,\"name\":{\"155\":{}},\"parent\":{}}],[\"post_hook_main_transition\",{\"_index\":159,\"name\":{\"158\":{}},\"parent\":{}}],[\"post_hook_standard_transition\",{\"_index\":158,\"name\":{\"157\":{}},\"parent\":{}}],[\"postanyactionhook\",{\"_index\":487,\"name\":{\"579\":{}},\"parent\":{}}],[\"postanytransitionhook\",{\"_index\":499,\"name\":{\"595\":{}},\"parent\":{}}],[\"postbasichookdescription\",{\"_index\":478,\"name\":{\"561\":{}},\"parent\":{}}],[\"postentryhook\",{\"_index\":502,\"name\":{\"599\":{}},\"parent\":{}}],[\"postexithook\",{\"_index\":505,\"name\":{\"604\":{}},\"parent\":{}}],[\"postforcedtransitionhook\",{\"_index\":496,\"name\":{\"591\":{}},\"parent\":{}}],[\"postglobalactionhook\",{\"_index\":484,\"name\":{\"574\":{}},\"parent\":{}}],[\"posthookdescriptionwithaction\",{\"_index\":481,\"name\":{\"567\":{}},\"parent\":{}}],[\"posthookhandler\",{\"_index\":516,\"name\":{\"617\":{}},\"parent\":{}}],[\"postmaintransitionhook\",{\"_index\":493,\"name\":{\"587\":{}},\"parent\":{}}],[\"poststandardtransitionhook\",{\"_index\":490,\"name\":{\"583\":{}},\"parent\":{}}],[\"probabilistic_histo_walk\",{\"_index\":130,\"name\":{\"129\":{}},\"parent\":{}}],[\"probabilistic_transition\",{\"_index\":128,\"name\":{\"127\":{}},\"parent\":{}}],[\"probabilistic_walk\",{\"_index\":129,\"name\":{\"128\":{}},\"parent\":{}}],[\"probability\",{\"_index\":210,\"name\":{\"210\":{}},\"parent\":{}}],[\"probable_action_exits\",{\"_index\":134,\"name\":{\"133\":{}},\"parent\":{}}],[\"probable_exits_for\",{\"_index\":127,\"name\":{\"126\":{}},\"parent\":{}}],[\"prop\",{\"_index\":87,\"name\":{\"86\":{}},\"parent\":{}}],[\"property\",{\"_index\":296,\"name\":{\"326\":{}},\"parent\":{}}],[\"property_definition\",{\"_index\":238,\"name\":{\"245\":{}},\"parent\":{}}],[\"props\",{\"_index\":89,\"name\":{\"88\":{}},\"parent\":{}}],[\"publishing\",{\"_index\":546,\"name\":{\"639\":{}},\"parent\":{}}],[\"quick\",{\"_index\":523,\"name\":{\"621\":{}},\"parent\":{}}],[\"r_action\",{\"_index\":266,\"name\":{\"294\":{}},\"parent\":{}}],[\"r_probability\",{\"_index\":268,\"name\":{\"296\":{}},\"parent\":{}}],[\"raw_state_declarations\",{\"_index\":107,\"name\":{\"106\":{}},\"parent\":{}}],[\"react\",{\"_index\":528,\"name\":{\"625\":{}},\"parent\":{}}],[\"reference\",{\"_index\":525,\"name\":{\"622\":{},\"623\":{}},\"parent\":{}}],[\"requested_state\",{\"_index\":346,\"name\":{\"388\":{},\"432\":{}},\"parent\":{}}],[\"required\",{\"_index\":275,\"name\":{\"306\":{},\"373\":{}},\"parent\":{}}],[\"reverse_actions\",{\"_index\":342,\"name\":{\"384\":{}},\"parent\":{}}],[\"rollup\",{\"_index\":538,\"name\":{\"634\":{}},\"parent\":{}}],[\"root2\",{\"_index\":369,\"name\":{\"411\":{}},\"parent\":{}}],[\"roothalf\",{\"_index\":370,\"name\":{\"412\":{}},\"parent\":{}}],[\"se\",{\"_index\":264,\"name\":{\"291\":{},\"300\":{}},\"parent\":{}}],[\"seq\",{\"_index\":387,\"name\":{\"434\":{},\"455\":{}},\"parent\":{}}],[\"serialize\",{\"_index\":96,\"name\":{\"95\":{}},\"parent\":{}}],[\"set_hook\",{\"_index\":143,\"name\":{\"142\":{}},\"parent\":{}}],[\"shape\",{\"_index\":288,\"name\":{\"317\":{}},\"parent\":{}}],[\"shapes\",{\"_index\":193,\"name\":{\"193\":{},\"424\":{}},\"parent\":{}}],[\"shootout\",{\"_index\":551,\"name\":{\"642\":{}},\"parent\":{}}],[\"simplify_bidi\",{\"_index\":235,\"name\":{\"240\":{}},\"parent\":{}}],[\"sm\",{\"_index\":187,\"name\":{\"186\":{},\"191\":{}},\"parent\":{}}],[\"sql\",{\"_index\":537,\"name\":{\"633\":{}},\"parent\":{}}],[\"standard_state_style\",{\"_index\":170,\"name\":{\"169\":{}},\"parent\":{}}],[\"standardtransitionhook\",{\"_index\":460,\"name\":{\"535\":{}},\"parent\":{}}],[\"start\",{\"_index\":308,\"name\":{\"343\":{},\"621\":{}},\"parent\":{}}],[\"start_state_style\",{\"_index\":172,\"name\":{\"171\":{}},\"parent\":{}}],[\"start_states\",{\"_index\":236,\"name\":{\"242\":{}},\"parent\":{}}],[\"state\",{\"_index\":83,\"name\":{\"82\":{},\"276\":{},\"304\":{},\"325\":{},\"341\":{},\"365\":{},\"379\":{},\"403\":{},\"620\":{}},\"parent\":{}}],[\"state_declaration\",{\"_index\":108,\"name\":{\"107\":{},\"244\":{}},\"parent\":{}}],[\"state_declarations\",{\"_index\":109,\"name\":{\"108\":{}},\"parent\":{}}],[\"state_for\",{\"_index\":113,\"name\":{\"112\":{}},\"parent\":{}}],[\"state_is_complete\",{\"_index\":141,\"name\":{\"140\":{}},\"parent\":{}}],[\"state_is_final\",{\"_index\":94,\"name\":{\"93\":{}},\"parent\":{}}],[\"state_is_terminal\",{\"_index\":138,\"name\":{\"137\":{}},\"parent\":{}}],[\"state_property\",{\"_index\":239,\"name\":{\"246\":{}},\"parent\":{}}],[\"state_style_condense\",{\"_index\":199,\"name\":{\"199\":{}},\"parent\":{}}],[\"statelabel\",{\"_index\":292,\"name\":{\"321\":{}},\"parent\":{}}],[\"states\",{\"_index\":112,\"name\":{\"111\":{},\"380\":{}},\"parent\":{}}],[\"statetype\",{\"_index\":407,\"name\":{\"466\":{}},\"parent\":{}}],[\"strict_prop\",{\"_index\":88,\"name\":{\"87\":{}},\"parent\":{}}],[\"style\",{\"_index\":547,\"name\":{\"640\":{}},\"parent\":{}}],[\"style_for\",{\"_index\":176,\"name\":{\"175\":{}},\"parent\":{}}],[\"success\",{\"_index\":414,\"name\":{\"473\":{},\"476\":{},\"480\":{}},\"parent\":{}}],[\"terminal\",{\"_index\":310,\"name\":{\"345\":{}},\"parent\":{}}],[\"terminal_state_style\",{\"_index\":174,\"name\":{\"173\":{}},\"parent\":{}}],[\"textcolor\",{\"_index\":293,\"name\":{\"322\":{}},\"parent\":{}}],[\"the\",{\"_index\":533,\"name\":{\"631\":{}},\"parent\":{}}],[\"theme\",{\"_index\":229,\"name\":{\"228\":{},\"640\":{}},\"parent\":{}}],[\"themes\",{\"_index\":120,\"name\":{\"119\":{}},\"parent\":{}}],[\"timestamp\",{\"_index\":328,\"name\":{\"363\":{}},\"parent\":{}}],[\"title\",{\"_index\":320,\"name\":{\"356\":{}},\"parent\":{}}],[\"to\",{\"_index\":207,\"name\":{\"206\":{},\"271\":{},\"290\":{},\"517\":{},\"523\":{},\"554\":{},\"565\":{},\"571\":{},\"602\":{}},\"parent\":{}}],[\"transfer_state_properties\",{\"_index\":1,\"name\":{\"1\":{}},\"parent\":{}}],[\"transition\",{\"_index\":178,\"name\":{\"177\":{}},\"parent\":{}}],[\"transition_impl\",{\"_index\":165,\"name\":{\"164\":{}},\"parent\":{}}],[\"transitions\",{\"_index\":228,\"name\":{\"227\":{},\"279\":{}},\"parent\":{}}],[\"typescript\",{\"_index\":532,\"name\":{\"630\":{}},\"parent\":{}}],[\"unique\",{\"_index\":388,\"name\":{\"435\":{},\"456\":{}},\"parent\":{}}],[\"uses_actions\",{\"_index\":118,\"name\":{\"117\":{}},\"parent\":{}}],[\"val\",{\"_index\":280,\"name\":{\"310\":{}},\"parent\":{}}],[\"valid_action\",{\"_index\":183,\"name\":{\"182\":{}},\"parent\":{}}],[\"valid_force_transition\",{\"_index\":185,\"name\":{\"184\":{}},\"parent\":{}}],[\"valid_transition\",{\"_index\":184,\"name\":{\"183\":{}},\"parent\":{}}],[\"value\",{\"_index\":273,\"name\":{\"302\":{},\"329\":{},\"333\":{},\"470\":{},\"484\":{},\"488\":{},\"492\":{},\"496\":{},\"500\":{},\"504\":{},\"508\":{},\"512\":{}},\"parent\":{}}],[\"version\",{\"_index\":400,\"name\":{\"447\":{},\"448\":{},\"450\":{}},\"parent\":{\"448\":{},\"449\":{}}}],[\"vue\",{\"_index\":529,\"name\":{\"626\":{}},\"parent\":{}}],[\"webpack\",{\"_index\":539,\"name\":{\"635\":{}},\"parent\":{}}],[\"weighted_histo_key\",{\"_index\":392,\"name\":{\"439\":{},\"461\":{}},\"parent\":{}}],[\"weighted_rand_select\",{\"_index\":393,\"name\":{\"440\":{},\"458\":{}},\"parent\":{}}],[\"weighted_sample_select\",{\"_index\":394,\"name\":{\"441\":{},\"460\":{}},\"parent\":{}}],[\"what\",{\"_index\":519,\"name\":{\"620\":{}},\"parent\":{}}]],\"pipeline\":[]}}"); \ No newline at end of file +window.searchData = JSON.parse("{\"kinds\":{\"2\":\"Module\",\"4\":\"Namespace\",\"32\":\"Variable\",\"64\":\"Function\",\"128\":\"Class\",\"512\":\"Constructor\",\"1024\":\"Property\",\"2048\":\"Method\",\"65536\":\"Type literal\",\"262144\":\"Accessor\",\"4194304\":\"Type alias\",\"16777216\":\"Reference\"},\"rows\":[{\"id\":0,\"kind\":2,\"name\":\"jssm\",\"url\":\"modules/jssm.html\",\"classes\":\"tsd-kind-module\"},{\"id\":1,\"kind\":64,\"name\":\"transfer_state_properties\",\"url\":\"modules/jssm.html#transfer_state_properties\",\"classes\":\"tsd-kind-function tsd-parent-kind-module\",\"parent\":\"jssm\"},{\"id\":2,\"kind\":128,\"name\":\"Machine\",\"url\":\"classes/jssm.Machine.html\",\"classes\":\"tsd-kind-class tsd-parent-kind-module tsd-has-type-parameter\",\"parent\":\"jssm\"},{\"id\":3,\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/jssm.Machine.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class tsd-has-type-parameter\",\"parent\":\"jssm.Machine\"},{\"id\":4,\"kind\":1024,\"name\":\"_state\",\"url\":\"classes/jssm.Machine.html#_state\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":5,\"kind\":1024,\"name\":\"_states\",\"url\":\"classes/jssm.Machine.html#_states\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":6,\"kind\":1024,\"name\":\"_edges\",\"url\":\"classes/jssm.Machine.html#_edges\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":7,\"kind\":1024,\"name\":\"_edge_map\",\"url\":\"classes/jssm.Machine.html#_edge_map\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":8,\"kind\":1024,\"name\":\"_named_transitions\",\"url\":\"classes/jssm.Machine.html#_named_transitions\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":9,\"kind\":1024,\"name\":\"_actions\",\"url\":\"classes/jssm.Machine.html#_actions\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":10,\"kind\":1024,\"name\":\"_reverse_actions\",\"url\":\"classes/jssm.Machine.html#_reverse_actions\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":11,\"kind\":1024,\"name\":\"_reverse_action_targets\",\"url\":\"classes/jssm.Machine.html#_reverse_action_targets\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":12,\"kind\":1024,\"name\":\"_start_states\",\"url\":\"classes/jssm.Machine.html#_start_states\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":13,\"kind\":1024,\"name\":\"_end_states\",\"url\":\"classes/jssm.Machine.html#_end_states\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":14,\"kind\":1024,\"name\":\"_machine_author\",\"url\":\"classes/jssm.Machine.html#_machine_author\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":15,\"kind\":1024,\"name\":\"_machine_comment\",\"url\":\"classes/jssm.Machine.html#_machine_comment\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":16,\"kind\":1024,\"name\":\"_machine_contributor\",\"url\":\"classes/jssm.Machine.html#_machine_contributor\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":17,\"kind\":1024,\"name\":\"_machine_definition\",\"url\":\"classes/jssm.Machine.html#_machine_definition\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":18,\"kind\":1024,\"name\":\"_machine_language\",\"url\":\"classes/jssm.Machine.html#_machine_language\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":19,\"kind\":1024,\"name\":\"_machine_license\",\"url\":\"classes/jssm.Machine.html#_machine_license\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":20,\"kind\":1024,\"name\":\"_machine_name\",\"url\":\"classes/jssm.Machine.html#_machine_name\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":21,\"kind\":1024,\"name\":\"_machine_version\",\"url\":\"classes/jssm.Machine.html#_machine_version\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":22,\"kind\":1024,\"name\":\"_fsl_version\",\"url\":\"classes/jssm.Machine.html#_fsl_version\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":23,\"kind\":1024,\"name\":\"_raw_state_declaration\",\"url\":\"classes/jssm.Machine.html#_raw_state_declaration\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":24,\"kind\":1024,\"name\":\"_state_declarations\",\"url\":\"classes/jssm.Machine.html#_state_declarations\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":25,\"kind\":1024,\"name\":\"_instance_name\",\"url\":\"classes/jssm.Machine.html#_instance_name\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":26,\"kind\":1024,\"name\":\"_data\",\"url\":\"classes/jssm.Machine.html#_data\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":27,\"kind\":1024,\"name\":\"_graph_layout\",\"url\":\"classes/jssm.Machine.html#_graph_layout\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":28,\"kind\":1024,\"name\":\"_dot_preamble\",\"url\":\"classes/jssm.Machine.html#_dot_preamble\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":29,\"kind\":1024,\"name\":\"_arrange_declaration\",\"url\":\"classes/jssm.Machine.html#_arrange_declaration\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":30,\"kind\":1024,\"name\":\"_arrange_start_declaration\",\"url\":\"classes/jssm.Machine.html#_arrange_start_declaration\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":31,\"kind\":1024,\"name\":\"_arrange_end_declaration\",\"url\":\"classes/jssm.Machine.html#_arrange_end_declaration\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":32,\"kind\":1024,\"name\":\"_themes\",\"url\":\"classes/jssm.Machine.html#_themes\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":33,\"kind\":1024,\"name\":\"_flow\",\"url\":\"classes/jssm.Machine.html#_flow\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":34,\"kind\":1024,\"name\":\"_has_hooks\",\"url\":\"classes/jssm.Machine.html#_has_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":35,\"kind\":1024,\"name\":\"_has_basic_hooks\",\"url\":\"classes/jssm.Machine.html#_has_basic_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":36,\"kind\":1024,\"name\":\"_has_named_hooks\",\"url\":\"classes/jssm.Machine.html#_has_named_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":37,\"kind\":1024,\"name\":\"_has_entry_hooks\",\"url\":\"classes/jssm.Machine.html#_has_entry_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":38,\"kind\":1024,\"name\":\"_has_exit_hooks\",\"url\":\"classes/jssm.Machine.html#_has_exit_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":39,\"kind\":1024,\"name\":\"_has_global_action_hooks\",\"url\":\"classes/jssm.Machine.html#_has_global_action_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":40,\"kind\":1024,\"name\":\"_has_transition_hooks\",\"url\":\"classes/jssm.Machine.html#_has_transition_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":41,\"kind\":1024,\"name\":\"_hooks\",\"url\":\"classes/jssm.Machine.html#_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":42,\"kind\":1024,\"name\":\"_named_hooks\",\"url\":\"classes/jssm.Machine.html#_named_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":43,\"kind\":1024,\"name\":\"_entry_hooks\",\"url\":\"classes/jssm.Machine.html#_entry_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":44,\"kind\":1024,\"name\":\"_exit_hooks\",\"url\":\"classes/jssm.Machine.html#_exit_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":45,\"kind\":1024,\"name\":\"_global_action_hooks\",\"url\":\"classes/jssm.Machine.html#_global_action_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":46,\"kind\":1024,\"name\":\"_any_action_hook\",\"url\":\"classes/jssm.Machine.html#_any_action_hook\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":47,\"kind\":1024,\"name\":\"_standard_transition_hook\",\"url\":\"classes/jssm.Machine.html#_standard_transition_hook\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":48,\"kind\":1024,\"name\":\"_main_transition_hook\",\"url\":\"classes/jssm.Machine.html#_main_transition_hook\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":49,\"kind\":1024,\"name\":\"_forced_transition_hook\",\"url\":\"classes/jssm.Machine.html#_forced_transition_hook\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":50,\"kind\":1024,\"name\":\"_any_transition_hook\",\"url\":\"classes/jssm.Machine.html#_any_transition_hook\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":51,\"kind\":1024,\"name\":\"_has_post_hooks\",\"url\":\"classes/jssm.Machine.html#_has_post_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":52,\"kind\":1024,\"name\":\"_has_post_basic_hooks\",\"url\":\"classes/jssm.Machine.html#_has_post_basic_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":53,\"kind\":1024,\"name\":\"_has_post_named_hooks\",\"url\":\"classes/jssm.Machine.html#_has_post_named_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":54,\"kind\":1024,\"name\":\"_has_post_entry_hooks\",\"url\":\"classes/jssm.Machine.html#_has_post_entry_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":55,\"kind\":1024,\"name\":\"_has_post_exit_hooks\",\"url\":\"classes/jssm.Machine.html#_has_post_exit_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":56,\"kind\":1024,\"name\":\"_has_post_global_action_hooks\",\"url\":\"classes/jssm.Machine.html#_has_post_global_action_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":57,\"kind\":1024,\"name\":\"_has_post_transition_hooks\",\"url\":\"classes/jssm.Machine.html#_has_post_transition_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":58,\"kind\":1024,\"name\":\"_post_hooks\",\"url\":\"classes/jssm.Machine.html#_post_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":59,\"kind\":1024,\"name\":\"_post_named_hooks\",\"url\":\"classes/jssm.Machine.html#_post_named_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":60,\"kind\":1024,\"name\":\"_post_entry_hooks\",\"url\":\"classes/jssm.Machine.html#_post_entry_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":61,\"kind\":1024,\"name\":\"_post_exit_hooks\",\"url\":\"classes/jssm.Machine.html#_post_exit_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":62,\"kind\":1024,\"name\":\"_post_global_action_hooks\",\"url\":\"classes/jssm.Machine.html#_post_global_action_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":63,\"kind\":1024,\"name\":\"_post_any_action_hook\",\"url\":\"classes/jssm.Machine.html#_post_any_action_hook\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":64,\"kind\":1024,\"name\":\"_post_standard_transition_hook\",\"url\":\"classes/jssm.Machine.html#_post_standard_transition_hook\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":65,\"kind\":1024,\"name\":\"_post_main_transition_hook\",\"url\":\"classes/jssm.Machine.html#_post_main_transition_hook\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":66,\"kind\":1024,\"name\":\"_post_forced_transition_hook\",\"url\":\"classes/jssm.Machine.html#_post_forced_transition_hook\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":67,\"kind\":1024,\"name\":\"_post_any_transition_hook\",\"url\":\"classes/jssm.Machine.html#_post_any_transition_hook\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":68,\"kind\":1024,\"name\":\"_property_keys\",\"url\":\"classes/jssm.Machine.html#_property_keys\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":69,\"kind\":1024,\"name\":\"_default_properties\",\"url\":\"classes/jssm.Machine.html#_default_properties\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":70,\"kind\":1024,\"name\":\"_state_properties\",\"url\":\"classes/jssm.Machine.html#_state_properties\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":71,\"kind\":1024,\"name\":\"_required_properties\",\"url\":\"classes/jssm.Machine.html#_required_properties\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":72,\"kind\":1024,\"name\":\"_history\",\"url\":\"classes/jssm.Machine.html#_history\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":73,\"kind\":1024,\"name\":\"_history_length\",\"url\":\"classes/jssm.Machine.html#_history_length\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":74,\"kind\":1024,\"name\":\"_state_style\",\"url\":\"classes/jssm.Machine.html#_state_style\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":75,\"kind\":1024,\"name\":\"_active_state_style\",\"url\":\"classes/jssm.Machine.html#_active_state_style\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":76,\"kind\":1024,\"name\":\"_hooked_state_style\",\"url\":\"classes/jssm.Machine.html#_hooked_state_style\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":77,\"kind\":1024,\"name\":\"_terminal_state_style\",\"url\":\"classes/jssm.Machine.html#_terminal_state_style\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":78,\"kind\":1024,\"name\":\"_start_state_style\",\"url\":\"classes/jssm.Machine.html#_start_state_style\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":79,\"kind\":1024,\"name\":\"_end_state_style\",\"url\":\"classes/jssm.Machine.html#_end_state_style\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":80,\"kind\":1024,\"name\":\"_state_labels\",\"url\":\"classes/jssm.Machine.html#_state_labels\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":81,\"kind\":2048,\"name\":\"_new_state\",\"url\":\"classes/jssm.Machine.html#_new_state\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":82,\"kind\":2048,\"name\":\"state\",\"url\":\"classes/jssm.Machine.html#state\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":83,\"kind\":2048,\"name\":\"label_for\",\"url\":\"classes/jssm.Machine.html#label_for\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":84,\"kind\":2048,\"name\":\"display_text\",\"url\":\"classes/jssm.Machine.html#display_text\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":85,\"kind\":2048,\"name\":\"data\",\"url\":\"classes/jssm.Machine.html#data\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":86,\"kind\":2048,\"name\":\"prop\",\"url\":\"classes/jssm.Machine.html#prop\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":87,\"kind\":2048,\"name\":\"strict_prop\",\"url\":\"classes/jssm.Machine.html#strict_prop\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":88,\"kind\":2048,\"name\":\"props\",\"url\":\"classes/jssm.Machine.html#props\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":89,\"kind\":2048,\"name\":\"known_prop\",\"url\":\"classes/jssm.Machine.html#known_prop\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":90,\"kind\":2048,\"name\":\"known_props\",\"url\":\"classes/jssm.Machine.html#known_props\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":91,\"kind\":2048,\"name\":\"is_start_state\",\"url\":\"classes/jssm.Machine.html#is_start_state\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":92,\"kind\":2048,\"name\":\"is_end_state\",\"url\":\"classes/jssm.Machine.html#is_end_state\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":93,\"kind\":2048,\"name\":\"state_is_final\",\"url\":\"classes/jssm.Machine.html#state_is_final\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":94,\"kind\":2048,\"name\":\"is_final\",\"url\":\"classes/jssm.Machine.html#is_final\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":95,\"kind\":2048,\"name\":\"serialize\",\"url\":\"classes/jssm.Machine.html#serialize\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":96,\"kind\":2048,\"name\":\"graph_layout\",\"url\":\"classes/jssm.Machine.html#graph_layout\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":97,\"kind\":2048,\"name\":\"dot_preamble\",\"url\":\"classes/jssm.Machine.html#dot_preamble\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":98,\"kind\":2048,\"name\":\"machine_author\",\"url\":\"classes/jssm.Machine.html#machine_author\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":99,\"kind\":2048,\"name\":\"machine_comment\",\"url\":\"classes/jssm.Machine.html#machine_comment\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":100,\"kind\":2048,\"name\":\"machine_contributor\",\"url\":\"classes/jssm.Machine.html#machine_contributor\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":101,\"kind\":2048,\"name\":\"machine_definition\",\"url\":\"classes/jssm.Machine.html#machine_definition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":102,\"kind\":2048,\"name\":\"machine_language\",\"url\":\"classes/jssm.Machine.html#machine_language\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":103,\"kind\":2048,\"name\":\"machine_license\",\"url\":\"classes/jssm.Machine.html#machine_license\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":104,\"kind\":2048,\"name\":\"machine_name\",\"url\":\"classes/jssm.Machine.html#machine_name\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":105,\"kind\":2048,\"name\":\"machine_version\",\"url\":\"classes/jssm.Machine.html#machine_version\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":106,\"kind\":2048,\"name\":\"raw_state_declarations\",\"url\":\"classes/jssm.Machine.html#raw_state_declarations\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":107,\"kind\":2048,\"name\":\"state_declaration\",\"url\":\"classes/jssm.Machine.html#state_declaration\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":108,\"kind\":2048,\"name\":\"state_declarations\",\"url\":\"classes/jssm.Machine.html#state_declarations\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":109,\"kind\":2048,\"name\":\"fsl_version\",\"url\":\"classes/jssm.Machine.html#fsl_version\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":110,\"kind\":2048,\"name\":\"machine_state\",\"url\":\"classes/jssm.Machine.html#machine_state\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":111,\"kind\":2048,\"name\":\"states\",\"url\":\"classes/jssm.Machine.html#states\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":112,\"kind\":2048,\"name\":\"state_for\",\"url\":\"classes/jssm.Machine.html#state_for\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":113,\"kind\":2048,\"name\":\"has_state\",\"url\":\"classes/jssm.Machine.html#has_state\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":114,\"kind\":2048,\"name\":\"list_edges\",\"url\":\"classes/jssm.Machine.html#list_edges\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":115,\"kind\":2048,\"name\":\"list_named_transitions\",\"url\":\"classes/jssm.Machine.html#list_named_transitions\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":116,\"kind\":2048,\"name\":\"list_actions\",\"url\":\"classes/jssm.Machine.html#list_actions\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":117,\"kind\":262144,\"name\":\"uses_actions\",\"url\":\"classes/jssm.Machine.html#uses_actions\",\"classes\":\"tsd-kind-get-signature tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":118,\"kind\":2048,\"name\":\"all_themes\",\"url\":\"classes/jssm.Machine.html#all_themes\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":119,\"kind\":262144,\"name\":\"themes\",\"url\":\"classes/jssm.Machine.html#themes\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":120,\"kind\":2048,\"name\":\"flow\",\"url\":\"classes/jssm.Machine.html#flow\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":121,\"kind\":2048,\"name\":\"get_transition_by_state_names\",\"url\":\"classes/jssm.Machine.html#get_transition_by_state_names\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":122,\"kind\":2048,\"name\":\"lookup_transition_for\",\"url\":\"classes/jssm.Machine.html#lookup_transition_for\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":123,\"kind\":2048,\"name\":\"list_transitions\",\"url\":\"classes/jssm.Machine.html#list_transitions\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":124,\"kind\":2048,\"name\":\"list_entrances\",\"url\":\"classes/jssm.Machine.html#list_entrances\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":125,\"kind\":2048,\"name\":\"list_exits\",\"url\":\"classes/jssm.Machine.html#list_exits\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":126,\"kind\":2048,\"name\":\"probable_exits_for\",\"url\":\"classes/jssm.Machine.html#probable_exits_for\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":127,\"kind\":2048,\"name\":\"probabilistic_transition\",\"url\":\"classes/jssm.Machine.html#probabilistic_transition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":128,\"kind\":2048,\"name\":\"probabilistic_walk\",\"url\":\"classes/jssm.Machine.html#probabilistic_walk\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":129,\"kind\":2048,\"name\":\"probabilistic_histo_walk\",\"url\":\"classes/jssm.Machine.html#probabilistic_histo_walk\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":130,\"kind\":2048,\"name\":\"actions\",\"url\":\"classes/jssm.Machine.html#actions\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":131,\"kind\":2048,\"name\":\"list_states_having_action\",\"url\":\"classes/jssm.Machine.html#list_states_having_action\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":132,\"kind\":2048,\"name\":\"list_exit_actions\",\"url\":\"classes/jssm.Machine.html#list_exit_actions\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":133,\"kind\":2048,\"name\":\"probable_action_exits\",\"url\":\"classes/jssm.Machine.html#probable_action_exits\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":134,\"kind\":2048,\"name\":\"is_unenterable\",\"url\":\"classes/jssm.Machine.html#is_unenterable\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":135,\"kind\":2048,\"name\":\"has_unenterables\",\"url\":\"classes/jssm.Machine.html#has_unenterables\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":136,\"kind\":2048,\"name\":\"is_terminal\",\"url\":\"classes/jssm.Machine.html#is_terminal\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":137,\"kind\":2048,\"name\":\"state_is_terminal\",\"url\":\"classes/jssm.Machine.html#state_is_terminal\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":138,\"kind\":2048,\"name\":\"has_terminals\",\"url\":\"classes/jssm.Machine.html#has_terminals\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":139,\"kind\":2048,\"name\":\"is_complete\",\"url\":\"classes/jssm.Machine.html#is_complete\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":140,\"kind\":2048,\"name\":\"state_is_complete\",\"url\":\"classes/jssm.Machine.html#state_is_complete\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":141,\"kind\":2048,\"name\":\"has_completes\",\"url\":\"classes/jssm.Machine.html#has_completes\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":142,\"kind\":2048,\"name\":\"set_hook\",\"url\":\"classes/jssm.Machine.html#set_hook\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":143,\"kind\":2048,\"name\":\"hook\",\"url\":\"classes/jssm.Machine.html#hook\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":144,\"kind\":2048,\"name\":\"hook_action\",\"url\":\"classes/jssm.Machine.html#hook_action\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":145,\"kind\":2048,\"name\":\"hook_global_action\",\"url\":\"classes/jssm.Machine.html#hook_global_action\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":146,\"kind\":2048,\"name\":\"hook_any_action\",\"url\":\"classes/jssm.Machine.html#hook_any_action\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":147,\"kind\":2048,\"name\":\"hook_standard_transition\",\"url\":\"classes/jssm.Machine.html#hook_standard_transition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":148,\"kind\":2048,\"name\":\"hook_main_transition\",\"url\":\"classes/jssm.Machine.html#hook_main_transition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":149,\"kind\":2048,\"name\":\"hook_forced_transition\",\"url\":\"classes/jssm.Machine.html#hook_forced_transition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":150,\"kind\":2048,\"name\":\"hook_any_transition\",\"url\":\"classes/jssm.Machine.html#hook_any_transition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":151,\"kind\":2048,\"name\":\"hook_entry\",\"url\":\"classes/jssm.Machine.html#hook_entry\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":152,\"kind\":2048,\"name\":\"hook_exit\",\"url\":\"classes/jssm.Machine.html#hook_exit\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":153,\"kind\":2048,\"name\":\"post_hook\",\"url\":\"classes/jssm.Machine.html#post_hook\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":154,\"kind\":2048,\"name\":\"post_hook_action\",\"url\":\"classes/jssm.Machine.html#post_hook_action\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":155,\"kind\":2048,\"name\":\"post_hook_global_action\",\"url\":\"classes/jssm.Machine.html#post_hook_global_action\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":156,\"kind\":2048,\"name\":\"post_hook_any_action\",\"url\":\"classes/jssm.Machine.html#post_hook_any_action\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":157,\"kind\":2048,\"name\":\"post_hook_standard_transition\",\"url\":\"classes/jssm.Machine.html#post_hook_standard_transition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":158,\"kind\":2048,\"name\":\"post_hook_main_transition\",\"url\":\"classes/jssm.Machine.html#post_hook_main_transition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":159,\"kind\":2048,\"name\":\"post_hook_forced_transition\",\"url\":\"classes/jssm.Machine.html#post_hook_forced_transition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":160,\"kind\":2048,\"name\":\"post_hook_any_transition\",\"url\":\"classes/jssm.Machine.html#post_hook_any_transition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":161,\"kind\":2048,\"name\":\"post_hook_entry\",\"url\":\"classes/jssm.Machine.html#post_hook_entry\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":162,\"kind\":2048,\"name\":\"post_hook_exit\",\"url\":\"classes/jssm.Machine.html#post_hook_exit\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":163,\"kind\":2048,\"name\":\"edges_between\",\"url\":\"classes/jssm.Machine.html#edges_between\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":164,\"kind\":2048,\"name\":\"transition_impl\",\"url\":\"classes/jssm.Machine.html#transition_impl\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":165,\"kind\":262144,\"name\":\"history\",\"url\":\"classes/jssm.Machine.html#history\",\"classes\":\"tsd-kind-get-signature tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":166,\"kind\":262144,\"name\":\"history_inclusive\",\"url\":\"classes/jssm.Machine.html#history_inclusive\",\"classes\":\"tsd-kind-get-signature tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":167,\"kind\":262144,\"name\":\"history_length\",\"url\":\"classes/jssm.Machine.html#history_length\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":168,\"kind\":2048,\"name\":\"action\",\"url\":\"classes/jssm.Machine.html#action\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":169,\"kind\":262144,\"name\":\"standard_state_style\",\"url\":\"classes/jssm.Machine.html#standard_state_style\",\"classes\":\"tsd-kind-get-signature tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":170,\"kind\":262144,\"name\":\"hooked_state_style\",\"url\":\"classes/jssm.Machine.html#hooked_state_style\",\"classes\":\"tsd-kind-get-signature tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":171,\"kind\":262144,\"name\":\"start_state_style\",\"url\":\"classes/jssm.Machine.html#start_state_style\",\"classes\":\"tsd-kind-get-signature tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":172,\"kind\":262144,\"name\":\"end_state_style\",\"url\":\"classes/jssm.Machine.html#end_state_style\",\"classes\":\"tsd-kind-get-signature tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":173,\"kind\":262144,\"name\":\"terminal_state_style\",\"url\":\"classes/jssm.Machine.html#terminal_state_style\",\"classes\":\"tsd-kind-get-signature tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":174,\"kind\":262144,\"name\":\"active_state_style\",\"url\":\"classes/jssm.Machine.html#active_state_style\",\"classes\":\"tsd-kind-get-signature tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":175,\"kind\":2048,\"name\":\"style_for\",\"url\":\"classes/jssm.Machine.html#style_for\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":176,\"kind\":2048,\"name\":\"do\",\"url\":\"classes/jssm.Machine.html#do\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":177,\"kind\":2048,\"name\":\"transition\",\"url\":\"classes/jssm.Machine.html#transition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":178,\"kind\":2048,\"name\":\"go\",\"url\":\"classes/jssm.Machine.html#go\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":179,\"kind\":2048,\"name\":\"force_transition\",\"url\":\"classes/jssm.Machine.html#force_transition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":180,\"kind\":2048,\"name\":\"current_action_for\",\"url\":\"classes/jssm.Machine.html#current_action_for\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":181,\"kind\":2048,\"name\":\"current_action_edge_for\",\"url\":\"classes/jssm.Machine.html#current_action_edge_for\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":182,\"kind\":2048,\"name\":\"valid_action\",\"url\":\"classes/jssm.Machine.html#valid_action\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":183,\"kind\":2048,\"name\":\"valid_transition\",\"url\":\"classes/jssm.Machine.html#valid_transition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":184,\"kind\":2048,\"name\":\"valid_force_transition\",\"url\":\"classes/jssm.Machine.html#valid_force_transition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":185,\"kind\":2048,\"name\":\"instance_name\",\"url\":\"classes/jssm.Machine.html#instance_name\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":186,\"kind\":2048,\"name\":\"sm\",\"url\":\"classes/jssm.Machine.html#sm\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"jssm.Machine\"},{\"id\":187,\"kind\":64,\"name\":\"deserialize\",\"url\":\"modules/jssm.html#deserialize\",\"classes\":\"tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter\",\"parent\":\"jssm\"},{\"id\":188,\"kind\":64,\"name\":\"sm\",\"url\":\"modules/jssm.html#sm\",\"classes\":\"tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter\",\"parent\":\"jssm\"},{\"id\":189,\"kind\":64,\"name\":\"from\",\"url\":\"modules/jssm.html#from\",\"classes\":\"tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter\",\"parent\":\"jssm\"},{\"id\":190,\"kind\":32,\"name\":\"shapes\",\"url\":\"modules/jssm.html#shapes\",\"classes\":\"tsd-kind-variable tsd-parent-kind-module\",\"parent\":\"jssm\"},{\"id\":191,\"kind\":32,\"name\":\"gviz_shapes\",\"url\":\"modules/jssm.html#gviz_shapes\",\"classes\":\"tsd-kind-variable tsd-parent-kind-module\",\"parent\":\"jssm\"},{\"id\":192,\"kind\":32,\"name\":\"named_colors\",\"url\":\"modules/jssm.html#named_colors\",\"classes\":\"tsd-kind-variable tsd-parent-kind-module\",\"parent\":\"jssm\"},{\"id\":193,\"kind\":64,\"name\":\"is_hook_rejection\",\"url\":\"modules/jssm.html#is_hook_rejection\",\"classes\":\"tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter\",\"parent\":\"jssm\"},{\"id\":194,\"kind\":64,\"name\":\"is_hook_complex_result\",\"url\":\"modules/jssm.html#is_hook_complex_result\",\"classes\":\"tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter\",\"parent\":\"jssm\"},{\"id\":195,\"kind\":64,\"name\":\"abstract_hook_step\",\"url\":\"modules/jssm.html#abstract_hook_step\",\"classes\":\"tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter\",\"parent\":\"jssm\"},{\"id\":196,\"kind\":64,\"name\":\"state_style_condense\",\"url\":\"modules/jssm.html#state_style_condense\",\"classes\":\"tsd-kind-function tsd-parent-kind-module\",\"parent\":\"jssm\"},{\"id\":197,\"kind\":2,\"name\":\"jssm_types\",\"url\":\"modules/jssm_types.html\",\"classes\":\"tsd-kind-module\"},{\"id\":198,\"kind\":4194304,\"name\":\"JssmColor\",\"url\":\"modules/jssm_types.html#JssmColor\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module\",\"parent\":\"jssm_types\"},{\"id\":199,\"kind\":4194304,\"name\":\"JssmShape\",\"url\":\"modules/jssm_types.html#JssmShape\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module\",\"parent\":\"jssm_types\"},{\"id\":200,\"kind\":4194304,\"name\":\"JssmTransition\",\"url\":\"modules/jssm_types.html#JssmTransition\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module tsd-has-type-parameter\",\"parent\":\"jssm_types\"},{\"id\":201,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types.html#JssmTransition.__type-18\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types.JssmTransition\"},{\"id\":202,\"kind\":1024,\"name\":\"from\",\"url\":\"modules/jssm_types.html#JssmTransition.__type-18.from-2\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmTransition.__type\"},{\"id\":203,\"kind\":1024,\"name\":\"to\",\"url\":\"modules/jssm_types.html#JssmTransition.__type-18.to-2\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmTransition.__type\"},{\"id\":204,\"kind\":1024,\"name\":\"name\",\"url\":\"modules/jssm_types.html#JssmTransition.__type-18.name-8\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmTransition.__type\"},{\"id\":205,\"kind\":1024,\"name\":\"action\",\"url\":\"modules/jssm_types.html#JssmTransition.__type-18.action-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmTransition.__type\"},{\"id\":206,\"kind\":1024,\"name\":\"check\",\"url\":\"modules/jssm_types.html#JssmTransition.__type-18.check-2\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmTransition.__type\"},{\"id\":207,\"kind\":1024,\"name\":\"probability\",\"url\":\"modules/jssm_types.html#JssmTransition.__type-18.probability\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmTransition.__type\"},{\"id\":208,\"kind\":1024,\"name\":\"kind\",\"url\":\"modules/jssm_types.html#JssmTransition.__type-18.kind-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmTransition.__type\"},{\"id\":209,\"kind\":1024,\"name\":\"forced_only\",\"url\":\"modules/jssm_types.html#JssmTransition.__type-18.forced_only\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmTransition.__type\"},{\"id\":210,\"kind\":1024,\"name\":\"main_path\",\"url\":\"modules/jssm_types.html#JssmTransition.__type-18.main_path\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmTransition.__type\"},{\"id\":211,\"kind\":4194304,\"name\":\"JssmTransitions\",\"url\":\"modules/jssm_types.html#JssmTransitions\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module tsd-has-type-parameter\",\"parent\":\"jssm_types\"},{\"id\":212,\"kind\":4194304,\"name\":\"JssmTransitionList\",\"url\":\"modules/jssm_types.html#JssmTransitionList\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module\",\"parent\":\"jssm_types\"},{\"id\":213,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types.html#JssmTransitionList.__type-19\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types.JssmTransitionList\"},{\"id\":214,\"kind\":1024,\"name\":\"entrances\",\"url\":\"modules/jssm_types.html#JssmTransitionList.__type-19.entrances\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmTransitionList.__type\"},{\"id\":215,\"kind\":1024,\"name\":\"exits\",\"url\":\"modules/jssm_types.html#JssmTransitionList.__type-19.exits\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmTransitionList.__type\"},{\"id\":216,\"kind\":4194304,\"name\":\"JssmTransitionRule\",\"url\":\"modules/jssm_types.html#JssmTransitionRule\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module\",\"parent\":\"jssm_types\"},{\"id\":217,\"kind\":4194304,\"name\":\"JssmArrow\",\"url\":\"modules/jssm_types.html#JssmArrow\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module\",\"parent\":\"jssm_types\"},{\"id\":218,\"kind\":4194304,\"name\":\"JssmArrowKind\",\"url\":\"modules/jssm_types.html#JssmArrowKind\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module\",\"parent\":\"jssm_types\"},{\"id\":219,\"kind\":4194304,\"name\":\"JssmArrowDirection\",\"url\":\"modules/jssm_types.html#JssmArrowDirection\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module\",\"parent\":\"jssm_types\"},{\"id\":220,\"kind\":4194304,\"name\":\"JssmGenericConfig\",\"url\":\"modules/jssm_types.html#JssmGenericConfig\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module tsd-has-type-parameter\",\"parent\":\"jssm_types\"},{\"id\":221,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types.JssmGenericConfig\"},{\"id\":222,\"kind\":1024,\"name\":\"graph_layout\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.graph_layout\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":223,\"kind\":1024,\"name\":\"complete\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.complete\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":224,\"kind\":1024,\"name\":\"transitions\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.transitions\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":225,\"kind\":1024,\"name\":\"theme\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.theme\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":226,\"kind\":1024,\"name\":\"flow\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.flow\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":227,\"kind\":1024,\"name\":\"name\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.name-2\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":228,\"kind\":1024,\"name\":\"data\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.data-2\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":229,\"kind\":1024,\"name\":\"nodes\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.nodes\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":230,\"kind\":1024,\"name\":\"check\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.check\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":231,\"kind\":1024,\"name\":\"history\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.history\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":232,\"kind\":1024,\"name\":\"min_exits\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.min_exits\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":233,\"kind\":1024,\"name\":\"max_exits\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.max_exits\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":234,\"kind\":1024,\"name\":\"allow_islands\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.allow_islands\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":235,\"kind\":1024,\"name\":\"allow_force\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.allow_force\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":236,\"kind\":1024,\"name\":\"actions\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.actions\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":237,\"kind\":1024,\"name\":\"simplify_bidi\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.simplify_bidi\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":238,\"kind\":1024,\"name\":\"dot_preamble\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.dot_preamble\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":239,\"kind\":1024,\"name\":\"start_states\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.start_states\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":240,\"kind\":1024,\"name\":\"end_states\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.end_states\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":241,\"kind\":1024,\"name\":\"state_declaration\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.state_declaration\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":242,\"kind\":1024,\"name\":\"property_definition\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.property_definition\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":243,\"kind\":1024,\"name\":\"state_property\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.state_property\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":244,\"kind\":1024,\"name\":\"arrange_declaration\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.arrange_declaration\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":245,\"kind\":1024,\"name\":\"arrange_start_declaration\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.arrange_start_declaration\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":246,\"kind\":1024,\"name\":\"arrange_end_declaration\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.arrange_end_declaration\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":247,\"kind\":1024,\"name\":\"machine_author\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.machine_author\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":248,\"kind\":1024,\"name\":\"machine_comment\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.machine_comment\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":249,\"kind\":1024,\"name\":\"machine_contributor\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.machine_contributor\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":250,\"kind\":1024,\"name\":\"machine_definition\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.machine_definition\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":251,\"kind\":1024,\"name\":\"machine_language\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.machine_language\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":252,\"kind\":1024,\"name\":\"machine_license\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.machine_license\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":253,\"kind\":1024,\"name\":\"machine_name\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.machine_name\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":254,\"kind\":1024,\"name\":\"machine_version\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.machine_version\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":255,\"kind\":1024,\"name\":\"fsl_version\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.fsl_version\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":256,\"kind\":1024,\"name\":\"auto_api\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.auto_api\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":257,\"kind\":1024,\"name\":\"instance_name\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.instance_name\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":258,\"kind\":1024,\"name\":\"default_state_config\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.default_state_config\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":259,\"kind\":1024,\"name\":\"default_start_state_config\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.default_start_state_config\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":260,\"kind\":1024,\"name\":\"default_end_state_config\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.default_end_state_config\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":261,\"kind\":1024,\"name\":\"default_hooked_state_config\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.default_hooked_state_config\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":262,\"kind\":1024,\"name\":\"default_terminal_state_config\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.default_terminal_state_config\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":263,\"kind\":1024,\"name\":\"default_active_state_config\",\"url\":\"modules/jssm_types.html#JssmGenericConfig.__type-8.default_active_state_config\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericConfig.__type\"},{\"id\":264,\"kind\":4194304,\"name\":\"JssmGenericState\",\"url\":\"modules/jssm_types.html#JssmGenericState\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module\",\"parent\":\"jssm_types\"},{\"id\":265,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types.html#JssmGenericState.__type-10\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types.JssmGenericState\"},{\"id\":266,\"kind\":1024,\"name\":\"from\",\"url\":\"modules/jssm_types.html#JssmGenericState.__type-10.from-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericState.__type\"},{\"id\":267,\"kind\":1024,\"name\":\"name\",\"url\":\"modules/jssm_types.html#JssmGenericState.__type-10.name-4\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericState.__type\"},{\"id\":268,\"kind\":1024,\"name\":\"to\",\"url\":\"modules/jssm_types.html#JssmGenericState.__type-10.to-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericState.__type\"},{\"id\":269,\"kind\":1024,\"name\":\"complete\",\"url\":\"modules/jssm_types.html#JssmGenericState.__type-10.complete-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericState.__type\"},{\"id\":270,\"kind\":4194304,\"name\":\"JssmGenericMachine\",\"url\":\"modules/jssm_types.html#JssmGenericMachine\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module tsd-has-type-parameter\",\"parent\":\"jssm_types\"},{\"id\":271,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types.html#JssmGenericMachine.__type-9\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types.JssmGenericMachine\"},{\"id\":272,\"kind\":1024,\"name\":\"name\",\"url\":\"modules/jssm_types.html#JssmGenericMachine.__type-9.name-3\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericMachine.__type\"},{\"id\":273,\"kind\":1024,\"name\":\"state\",\"url\":\"modules/jssm_types.html#JssmGenericMachine.__type-9.state-3\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericMachine.__type\"},{\"id\":274,\"kind\":1024,\"name\":\"data\",\"url\":\"modules/jssm_types.html#JssmGenericMachine.__type-9.data-3\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericMachine.__type\"},{\"id\":275,\"kind\":1024,\"name\":\"nodes\",\"url\":\"modules/jssm_types.html#JssmGenericMachine.__type-9.nodes-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericMachine.__type\"},{\"id\":276,\"kind\":1024,\"name\":\"transitions\",\"url\":\"modules/jssm_types.html#JssmGenericMachine.__type-9.transitions-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericMachine.__type\"},{\"id\":277,\"kind\":1024,\"name\":\"check\",\"url\":\"modules/jssm_types.html#JssmGenericMachine.__type-9.check-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericMachine.__type\"},{\"id\":278,\"kind\":1024,\"name\":\"min_transitions\",\"url\":\"modules/jssm_types.html#JssmGenericMachine.__type-9.min_transitions\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericMachine.__type\"},{\"id\":279,\"kind\":1024,\"name\":\"max_transitions\",\"url\":\"modules/jssm_types.html#JssmGenericMachine.__type-9.max_transitions\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericMachine.__type\"},{\"id\":280,\"kind\":1024,\"name\":\"allow_empty\",\"url\":\"modules/jssm_types.html#JssmGenericMachine.__type-9.allow_empty\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericMachine.__type\"},{\"id\":281,\"kind\":1024,\"name\":\"allow_islands\",\"url\":\"modules/jssm_types.html#JssmGenericMachine.__type-9.allow_islands-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericMachine.__type\"},{\"id\":282,\"kind\":1024,\"name\":\"allow_force\",\"url\":\"modules/jssm_types.html#JssmGenericMachine.__type-9.allow_force-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericMachine.__type\"},{\"id\":283,\"kind\":1024,\"name\":\"keep_history\",\"url\":\"modules/jssm_types.html#JssmGenericMachine.__type-9.keep_history\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmGenericMachine.__type\"},{\"id\":284,\"kind\":4194304,\"name\":\"JssmParseTree\",\"url\":\"modules/jssm_types.html#JssmParseTree\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module tsd-has-type-parameter\",\"parent\":\"jssm_types\"},{\"id\":285,\"kind\":4194304,\"name\":\"JssmCompileSe\",\"url\":\"modules/jssm_types.html#JssmCompileSe\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module tsd-has-type-parameter\",\"parent\":\"jssm_types\"},{\"id\":286,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types.html#JssmCompileSe.__type-5\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types.JssmCompileSe\"},{\"id\":287,\"kind\":1024,\"name\":\"to\",\"url\":\"modules/jssm_types.html#JssmCompileSe.__type-5.to\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmCompileSe.__type\"},{\"id\":288,\"kind\":1024,\"name\":\"se\",\"url\":\"modules/jssm_types.html#JssmCompileSe.__type-5.se\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmCompileSe.__type\"},{\"id\":289,\"kind\":1024,\"name\":\"kind\",\"url\":\"modules/jssm_types.html#JssmCompileSe.__type-5.kind\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmCompileSe.__type\"},{\"id\":290,\"kind\":1024,\"name\":\"l_action\",\"url\":\"modules/jssm_types.html#JssmCompileSe.__type-5.l_action\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmCompileSe.__type\"},{\"id\":291,\"kind\":1024,\"name\":\"r_action\",\"url\":\"modules/jssm_types.html#JssmCompileSe.__type-5.r_action\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmCompileSe.__type\"},{\"id\":292,\"kind\":1024,\"name\":\"l_probability\",\"url\":\"modules/jssm_types.html#JssmCompileSe.__type-5.l_probability\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmCompileSe.__type\"},{\"id\":293,\"kind\":1024,\"name\":\"r_probability\",\"url\":\"modules/jssm_types.html#JssmCompileSe.__type-5.r_probability\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmCompileSe.__type\"},{\"id\":294,\"kind\":4194304,\"name\":\"JssmCompileSeStart\",\"url\":\"modules/jssm_types.html#JssmCompileSeStart\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module tsd-has-type-parameter\",\"parent\":\"jssm_types\"},{\"id\":295,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types.html#JssmCompileSeStart.__type-6\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types.JssmCompileSeStart\"},{\"id\":296,\"kind\":1024,\"name\":\"from\",\"url\":\"modules/jssm_types.html#JssmCompileSeStart.__type-6.from\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmCompileSeStart.__type\"},{\"id\":297,\"kind\":1024,\"name\":\"se\",\"url\":\"modules/jssm_types.html#JssmCompileSeStart.__type-6.se-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmCompileSeStart.__type\"},{\"id\":298,\"kind\":1024,\"name\":\"key\",\"url\":\"modules/jssm_types.html#JssmCompileSeStart.__type-6.key\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmCompileSeStart.__type\"},{\"id\":299,\"kind\":1024,\"name\":\"value\",\"url\":\"modules/jssm_types.html#JssmCompileSeStart.__type-6.value\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmCompileSeStart.__type\"},{\"id\":300,\"kind\":1024,\"name\":\"name\",\"url\":\"modules/jssm_types.html#JssmCompileSeStart.__type-6.name-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmCompileSeStart.__type\"},{\"id\":301,\"kind\":1024,\"name\":\"state\",\"url\":\"modules/jssm_types.html#JssmCompileSeStart.__type-6.state-2\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmCompileSeStart.__type\"},{\"id\":302,\"kind\":1024,\"name\":\"default_value\",\"url\":\"modules/jssm_types.html#JssmCompileSeStart.__type-6.default_value\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmCompileSeStart.__type\"},{\"id\":303,\"kind\":1024,\"name\":\"required\",\"url\":\"modules/jssm_types.html#JssmCompileSeStart.__type-6.required\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmCompileSeStart.__type\"},{\"id\":304,\"kind\":4194304,\"name\":\"JssmCompileRule\",\"url\":\"modules/jssm_types.html#JssmCompileRule\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module tsd-has-type-parameter\",\"parent\":\"jssm_types\"},{\"id\":305,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types.html#JssmCompileRule.__type-4\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types.JssmCompileRule\"},{\"id\":306,\"kind\":1024,\"name\":\"agg_as\",\"url\":\"modules/jssm_types.html#JssmCompileRule.__type-4.agg_as\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmCompileRule.__type\"},{\"id\":307,\"kind\":1024,\"name\":\"val\",\"url\":\"modules/jssm_types.html#JssmCompileRule.__type-4.val\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmCompileRule.__type\"},{\"id\":308,\"kind\":4194304,\"name\":\"JssmPermitted\",\"url\":\"modules/jssm_types.html#JssmPermitted\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module\",\"parent\":\"jssm_types\"},{\"id\":309,\"kind\":4194304,\"name\":\"JssmPermittedOpt\",\"url\":\"modules/jssm_types.html#JssmPermittedOpt\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module\",\"parent\":\"jssm_types\"},{\"id\":310,\"kind\":4194304,\"name\":\"JssmResult\",\"url\":\"modules/jssm_types.html#JssmResult\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module\",\"parent\":\"jssm_types\"},{\"id\":311,\"kind\":4194304,\"name\":\"JssmStateDeclaration\",\"url\":\"modules/jssm_types.html#JssmStateDeclaration\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module\",\"parent\":\"jssm_types\"},{\"id\":312,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types.html#JssmStateDeclaration.__type-15\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types.JssmStateDeclaration\"},{\"id\":313,\"kind\":1024,\"name\":\"declarations\",\"url\":\"modules/jssm_types.html#JssmStateDeclaration.__type-15.declarations\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmStateDeclaration.__type\"},{\"id\":314,\"kind\":1024,\"name\":\"shape\",\"url\":\"modules/jssm_types.html#JssmStateDeclaration.__type-15.shape\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmStateDeclaration.__type\"},{\"id\":315,\"kind\":1024,\"name\":\"color\",\"url\":\"modules/jssm_types.html#JssmStateDeclaration.__type-15.color\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmStateDeclaration.__type\"},{\"id\":316,\"kind\":1024,\"name\":\"corners\",\"url\":\"modules/jssm_types.html#JssmStateDeclaration.__type-15.corners\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmStateDeclaration.__type\"},{\"id\":317,\"kind\":1024,\"name\":\"lineStyle\",\"url\":\"modules/jssm_types.html#JssmStateDeclaration.__type-15.lineStyle\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmStateDeclaration.__type\"},{\"id\":318,\"kind\":1024,\"name\":\"stateLabel\",\"url\":\"modules/jssm_types.html#JssmStateDeclaration.__type-15.stateLabel\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmStateDeclaration.__type\"},{\"id\":319,\"kind\":1024,\"name\":\"textColor\",\"url\":\"modules/jssm_types.html#JssmStateDeclaration.__type-15.textColor\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmStateDeclaration.__type\"},{\"id\":320,\"kind\":1024,\"name\":\"backgroundColor\",\"url\":\"modules/jssm_types.html#JssmStateDeclaration.__type-15.backgroundColor\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmStateDeclaration.__type\"},{\"id\":321,\"kind\":1024,\"name\":\"borderColor\",\"url\":\"modules/jssm_types.html#JssmStateDeclaration.__type-15.borderColor\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmStateDeclaration.__type\"},{\"id\":322,\"kind\":1024,\"name\":\"state\",\"url\":\"modules/jssm_types.html#JssmStateDeclaration.__type-15.state-6\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmStateDeclaration.__type\"},{\"id\":323,\"kind\":1024,\"name\":\"property\",\"url\":\"modules/jssm_types.html#JssmStateDeclaration.__type-15.property\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmStateDeclaration.__type\"},{\"id\":324,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types.html#JssmStateDeclaration.__type-15.__type-16\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmStateDeclaration.__type\"},{\"id\":325,\"kind\":1024,\"name\":\"name\",\"url\":\"modules/jssm_types.html#JssmStateDeclaration.__type-15.__type-16.name-6\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmStateDeclaration.__type.__type\"},{\"id\":326,\"kind\":1024,\"name\":\"value\",\"url\":\"modules/jssm_types.html#JssmStateDeclaration.__type-15.__type-16.value-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmStateDeclaration.__type.__type\"},{\"id\":327,\"kind\":4194304,\"name\":\"JssmStateDeclarationRule\",\"url\":\"modules/jssm_types.html#JssmStateDeclarationRule\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module\",\"parent\":\"jssm_types\"},{\"id\":328,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types.html#JssmStateDeclarationRule.__type-17\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types.JssmStateDeclarationRule\"},{\"id\":329,\"kind\":1024,\"name\":\"key\",\"url\":\"modules/jssm_types.html#JssmStateDeclarationRule.__type-17.key-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmStateDeclarationRule.__type\"},{\"id\":330,\"kind\":1024,\"name\":\"value\",\"url\":\"modules/jssm_types.html#JssmStateDeclarationRule.__type-17.value-2\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmStateDeclarationRule.__type\"},{\"id\":331,\"kind\":1024,\"name\":\"name\",\"url\":\"modules/jssm_types.html#JssmStateDeclarationRule.__type-17.name-7\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmStateDeclarationRule.__type\"},{\"id\":332,\"kind\":4194304,\"name\":\"JssmStateConfig\",\"url\":\"modules/jssm_types.html#JssmStateConfig\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module\",\"parent\":\"jssm_types\"},{\"id\":333,\"kind\":4194304,\"name\":\"JssmStateStyleKey\",\"url\":\"modules/jssm_types.html#JssmStateStyleKey\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module\",\"parent\":\"jssm_types\"},{\"id\":334,\"kind\":4194304,\"name\":\"JssmStateStyleKeyList\",\"url\":\"modules/jssm_types.html#JssmStateStyleKeyList\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module\",\"parent\":\"jssm_types\"},{\"id\":335,\"kind\":4194304,\"name\":\"JssmBaseTheme\",\"url\":\"modules/jssm_types.html#JssmBaseTheme\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module\",\"parent\":\"jssm_types\"},{\"id\":336,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types.html#JssmBaseTheme.__type-3\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types.JssmBaseTheme\"},{\"id\":337,\"kind\":1024,\"name\":\"name\",\"url\":\"modules/jssm_types.html#JssmBaseTheme.__type-3.name\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmBaseTheme.__type\"},{\"id\":338,\"kind\":1024,\"name\":\"state\",\"url\":\"modules/jssm_types.html#JssmBaseTheme.__type-3.state-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmBaseTheme.__type\"},{\"id\":339,\"kind\":1024,\"name\":\"hooked\",\"url\":\"modules/jssm_types.html#JssmBaseTheme.__type-3.hooked\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmBaseTheme.__type\"},{\"id\":340,\"kind\":1024,\"name\":\"start\",\"url\":\"modules/jssm_types.html#JssmBaseTheme.__type-3.start\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmBaseTheme.__type\"},{\"id\":341,\"kind\":1024,\"name\":\"end\",\"url\":\"modules/jssm_types.html#JssmBaseTheme.__type-3.end\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmBaseTheme.__type\"},{\"id\":342,\"kind\":1024,\"name\":\"terminal\",\"url\":\"modules/jssm_types.html#JssmBaseTheme.__type-3.terminal\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmBaseTheme.__type\"},{\"id\":343,\"kind\":1024,\"name\":\"active\",\"url\":\"modules/jssm_types.html#JssmBaseTheme.__type-3.active\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmBaseTheme.__type\"},{\"id\":344,\"kind\":1024,\"name\":\"active_hooked\",\"url\":\"modules/jssm_types.html#JssmBaseTheme.__type-3.active_hooked\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmBaseTheme.__type\"},{\"id\":345,\"kind\":1024,\"name\":\"active_start\",\"url\":\"modules/jssm_types.html#JssmBaseTheme.__type-3.active_start\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmBaseTheme.__type\"},{\"id\":346,\"kind\":1024,\"name\":\"active_end\",\"url\":\"modules/jssm_types.html#JssmBaseTheme.__type-3.active_end\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmBaseTheme.__type\"},{\"id\":347,\"kind\":1024,\"name\":\"active_terminal\",\"url\":\"modules/jssm_types.html#JssmBaseTheme.__type-3.active_terminal\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmBaseTheme.__type\"},{\"id\":348,\"kind\":1024,\"name\":\"graph\",\"url\":\"modules/jssm_types.html#JssmBaseTheme.__type-3.graph\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmBaseTheme.__type\"},{\"id\":349,\"kind\":1024,\"name\":\"legal\",\"url\":\"modules/jssm_types.html#JssmBaseTheme.__type-3.legal\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmBaseTheme.__type\"},{\"id\":350,\"kind\":1024,\"name\":\"main\",\"url\":\"modules/jssm_types.html#JssmBaseTheme.__type-3.main\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmBaseTheme.__type\"},{\"id\":351,\"kind\":1024,\"name\":\"forced\",\"url\":\"modules/jssm_types.html#JssmBaseTheme.__type-3.forced\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmBaseTheme.__type\"},{\"id\":352,\"kind\":1024,\"name\":\"action\",\"url\":\"modules/jssm_types.html#JssmBaseTheme.__type-3.action\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmBaseTheme.__type\"},{\"id\":353,\"kind\":1024,\"name\":\"title\",\"url\":\"modules/jssm_types.html#JssmBaseTheme.__type-3.title\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmBaseTheme.__type\"},{\"id\":354,\"kind\":4194304,\"name\":\"JssmTheme\",\"url\":\"modules/jssm_types.html#JssmTheme\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module\",\"parent\":\"jssm_types\"},{\"id\":355,\"kind\":4194304,\"name\":\"JssmLayout\",\"url\":\"modules/jssm_types.html#JssmLayout\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module\",\"parent\":\"jssm_types\"},{\"id\":356,\"kind\":4194304,\"name\":\"JssmHistory\",\"url\":\"modules/jssm_types.html#JssmHistory\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module tsd-has-type-parameter\",\"parent\":\"jssm_types\"},{\"id\":357,\"kind\":4194304,\"name\":\"JssmSerialization\",\"url\":\"modules/jssm_types.html#JssmSerialization\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module tsd-has-type-parameter\",\"parent\":\"jssm_types\"},{\"id\":358,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types.html#JssmSerialization.__type-14\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types.JssmSerialization\"},{\"id\":359,\"kind\":1024,\"name\":\"jssm_version\",\"url\":\"modules/jssm_types.html#JssmSerialization.__type-14.jssm_version\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmSerialization.__type\"},{\"id\":360,\"kind\":1024,\"name\":\"timestamp\",\"url\":\"modules/jssm_types.html#JssmSerialization.__type-14.timestamp\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmSerialization.__type\"},{\"id\":361,\"kind\":1024,\"name\":\"comment\",\"url\":\"modules/jssm_types.html#JssmSerialization.__type-14.comment\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmSerialization.__type\"},{\"id\":362,\"kind\":1024,\"name\":\"state\",\"url\":\"modules/jssm_types.html#JssmSerialization.__type-14.state-5\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmSerialization.__type\"},{\"id\":363,\"kind\":1024,\"name\":\"history\",\"url\":\"modules/jssm_types.html#JssmSerialization.__type-14.history-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmSerialization.__type\"},{\"id\":364,\"kind\":1024,\"name\":\"history_capacity\",\"url\":\"modules/jssm_types.html#JssmSerialization.__type-14.history_capacity\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmSerialization.__type\"},{\"id\":365,\"kind\":1024,\"name\":\"data\",\"url\":\"modules/jssm_types.html#JssmSerialization.__type-14.data-4\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmSerialization.__type\"},{\"id\":366,\"kind\":4194304,\"name\":\"JssmPropertyDefinition\",\"url\":\"modules/jssm_types.html#JssmPropertyDefinition\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module\",\"parent\":\"jssm_types\"},{\"id\":367,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types.html#JssmPropertyDefinition.__type-13\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types.JssmPropertyDefinition\"},{\"id\":368,\"kind\":1024,\"name\":\"name\",\"url\":\"modules/jssm_types.html#JssmPropertyDefinition.__type-13.name-5\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmPropertyDefinition.__type\"},{\"id\":369,\"kind\":1024,\"name\":\"default_value\",\"url\":\"modules/jssm_types.html#JssmPropertyDefinition.__type-13.default_value-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmPropertyDefinition.__type\"},{\"id\":370,\"kind\":1024,\"name\":\"required\",\"url\":\"modules/jssm_types.html#JssmPropertyDefinition.__type-13.required-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmPropertyDefinition.__type\"},{\"id\":371,\"kind\":4194304,\"name\":\"JssmParseFunctionType\",\"url\":\"modules/jssm_types.html#JssmParseFunctionType\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module tsd-has-type-parameter\",\"parent\":\"jssm_types\"},{\"id\":372,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types.html#JssmParseFunctionType.__type-12\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types.JssmParseFunctionType\"},{\"id\":373,\"kind\":4194304,\"name\":\"JssmMachineInternalState\",\"url\":\"modules/jssm_types.html#JssmMachineInternalState\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module tsd-has-type-parameter\",\"parent\":\"jssm_types\"},{\"id\":374,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types.html#JssmMachineInternalState.__type-11\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types.JssmMachineInternalState\"},{\"id\":375,\"kind\":1024,\"name\":\"internal_state_impl_version\",\"url\":\"modules/jssm_types.html#JssmMachineInternalState.__type-11.internal_state_impl_version\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmMachineInternalState.__type\"},{\"id\":376,\"kind\":1024,\"name\":\"state\",\"url\":\"modules/jssm_types.html#JssmMachineInternalState.__type-11.state-4\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmMachineInternalState.__type\"},{\"id\":377,\"kind\":1024,\"name\":\"states\",\"url\":\"modules/jssm_types.html#JssmMachineInternalState.__type-11.states\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmMachineInternalState.__type\"},{\"id\":378,\"kind\":1024,\"name\":\"named_transitions\",\"url\":\"modules/jssm_types.html#JssmMachineInternalState.__type-11.named_transitions\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmMachineInternalState.__type\"},{\"id\":379,\"kind\":1024,\"name\":\"edge_map\",\"url\":\"modules/jssm_types.html#JssmMachineInternalState.__type-11.edge_map\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmMachineInternalState.__type\"},{\"id\":380,\"kind\":1024,\"name\":\"actions\",\"url\":\"modules/jssm_types.html#JssmMachineInternalState.__type-11.actions-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmMachineInternalState.__type\"},{\"id\":381,\"kind\":1024,\"name\":\"reverse_actions\",\"url\":\"modules/jssm_types.html#JssmMachineInternalState.__type-11.reverse_actions\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmMachineInternalState.__type\"},{\"id\":382,\"kind\":1024,\"name\":\"edges\",\"url\":\"modules/jssm_types.html#JssmMachineInternalState.__type-11.edges\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmMachineInternalState.__type\"},{\"id\":383,\"kind\":4194304,\"name\":\"JssmErrorExtendedInfo\",\"url\":\"modules/jssm_types.html#JssmErrorExtendedInfo\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module\",\"parent\":\"jssm_types\"},{\"id\":384,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types.html#JssmErrorExtendedInfo.__type-7\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types.JssmErrorExtendedInfo\"},{\"id\":385,\"kind\":1024,\"name\":\"requested_state\",\"url\":\"modules/jssm_types.html#JssmErrorExtendedInfo.__type-7.requested_state\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.JssmErrorExtendedInfo.__type\"},{\"id\":386,\"kind\":32,\"name\":\"FslDirections\",\"url\":\"modules/jssm_types.html#FslDirections\",\"classes\":\"tsd-kind-variable tsd-parent-kind-module\",\"parent\":\"jssm_types\"},{\"id\":387,\"kind\":4194304,\"name\":\"FslDirection\",\"url\":\"modules/jssm_types.html#FslDirection\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module\",\"parent\":\"jssm_types\"},{\"id\":388,\"kind\":32,\"name\":\"FslThemes\",\"url\":\"modules/jssm_types.html#FslThemes\",\"classes\":\"tsd-kind-variable tsd-parent-kind-module\",\"parent\":\"jssm_types\"},{\"id\":389,\"kind\":4194304,\"name\":\"FslTheme\",\"url\":\"modules/jssm_types.html#FslTheme\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module\",\"parent\":\"jssm_types\"},{\"id\":390,\"kind\":4194304,\"name\":\"HookDescription\",\"url\":\"modules/jssm_types.html#HookDescription\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module tsd-has-type-parameter\",\"parent\":\"jssm_types\"},{\"id\":391,\"kind\":4194304,\"name\":\"HookHandler\",\"url\":\"modules/jssm_types.html#HookHandler\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module tsd-has-type-parameter\",\"parent\":\"jssm_types\"},{\"id\":392,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types.html#HookHandler.__type-2\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types.HookHandler\"},{\"id\":393,\"kind\":4194304,\"name\":\"HookContext\",\"url\":\"modules/jssm_types.html#HookContext\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module tsd-has-type-parameter\",\"parent\":\"jssm_types\"},{\"id\":394,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types.html#HookContext.__type-1\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types.HookContext\"},{\"id\":395,\"kind\":1024,\"name\":\"data\",\"url\":\"modules/jssm_types.html#HookContext.__type-1.data-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.HookContext.__type\"},{\"id\":396,\"kind\":4194304,\"name\":\"HookResult\",\"url\":\"modules/jssm_types.html#HookResult\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module tsd-has-type-parameter\",\"parent\":\"jssm_types\"},{\"id\":397,\"kind\":4194304,\"name\":\"HookComplexResult\",\"url\":\"modules/jssm_types.html#HookComplexResult\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module tsd-has-type-parameter\",\"parent\":\"jssm_types\"},{\"id\":398,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types.html#HookComplexResult.__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types.HookComplexResult\"},{\"id\":399,\"kind\":1024,\"name\":\"pass\",\"url\":\"modules/jssm_types.html#HookComplexResult.__type.pass\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.HookComplexResult.__type\"},{\"id\":400,\"kind\":1024,\"name\":\"state\",\"url\":\"modules/jssm_types.html#HookComplexResult.__type.state\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.HookComplexResult.__type\"},{\"id\":401,\"kind\":1024,\"name\":\"data\",\"url\":\"modules/jssm_types.html#HookComplexResult.__type.data\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types.HookComplexResult.__type\"},{\"id\":402,\"kind\":2,\"name\":\"jssm_constants\",\"url\":\"modules/jssm_constants.html\",\"classes\":\"tsd-kind-module\"},{\"id\":403,\"kind\":32,\"name\":\"NegInfinity\",\"url\":\"modules/jssm_constants.html#NegInfinity\",\"classes\":\"tsd-kind-variable tsd-parent-kind-module\",\"parent\":\"jssm_constants\"},{\"id\":404,\"kind\":32,\"name\":\"PosInfinity\",\"url\":\"modules/jssm_constants.html#PosInfinity\",\"classes\":\"tsd-kind-variable tsd-parent-kind-module\",\"parent\":\"jssm_constants\"},{\"id\":405,\"kind\":32,\"name\":\"Epsilon\",\"url\":\"modules/jssm_constants.html#Epsilon\",\"classes\":\"tsd-kind-variable tsd-parent-kind-module\",\"parent\":\"jssm_constants\"},{\"id\":406,\"kind\":32,\"name\":\"Pi\",\"url\":\"modules/jssm_constants.html#Pi\",\"classes\":\"tsd-kind-variable tsd-parent-kind-module\",\"parent\":\"jssm_constants\"},{\"id\":407,\"kind\":32,\"name\":\"E\",\"url\":\"modules/jssm_constants.html#E\",\"classes\":\"tsd-kind-variable tsd-parent-kind-module\",\"parent\":\"jssm_constants\"},{\"id\":408,\"kind\":32,\"name\":\"Root2\",\"url\":\"modules/jssm_constants.html#Root2\",\"classes\":\"tsd-kind-variable tsd-parent-kind-module\",\"parent\":\"jssm_constants\"},{\"id\":409,\"kind\":32,\"name\":\"RootHalf\",\"url\":\"modules/jssm_constants.html#RootHalf\",\"classes\":\"tsd-kind-variable tsd-parent-kind-module\",\"parent\":\"jssm_constants\"},{\"id\":410,\"kind\":32,\"name\":\"Ln2\",\"url\":\"modules/jssm_constants.html#Ln2\",\"classes\":\"tsd-kind-variable tsd-parent-kind-module\",\"parent\":\"jssm_constants\"},{\"id\":411,\"kind\":32,\"name\":\"Ln10\",\"url\":\"modules/jssm_constants.html#Ln10\",\"classes\":\"tsd-kind-variable tsd-parent-kind-module\",\"parent\":\"jssm_constants\"},{\"id\":412,\"kind\":32,\"name\":\"Log2E\",\"url\":\"modules/jssm_constants.html#Log2E\",\"classes\":\"tsd-kind-variable tsd-parent-kind-module\",\"parent\":\"jssm_constants\"},{\"id\":413,\"kind\":32,\"name\":\"Log10E\",\"url\":\"modules/jssm_constants.html#Log10E\",\"classes\":\"tsd-kind-variable tsd-parent-kind-module\",\"parent\":\"jssm_constants\"},{\"id\":414,\"kind\":32,\"name\":\"MaxSafeInt\",\"url\":\"modules/jssm_constants.html#MaxSafeInt\",\"classes\":\"tsd-kind-variable tsd-parent-kind-module\",\"parent\":\"jssm_constants\"},{\"id\":415,\"kind\":32,\"name\":\"MinSafeInt\",\"url\":\"modules/jssm_constants.html#MinSafeInt\",\"classes\":\"tsd-kind-variable tsd-parent-kind-module\",\"parent\":\"jssm_constants\"},{\"id\":416,\"kind\":32,\"name\":\"MaxPosNum\",\"url\":\"modules/jssm_constants.html#MaxPosNum\",\"classes\":\"tsd-kind-variable tsd-parent-kind-module\",\"parent\":\"jssm_constants\"},{\"id\":417,\"kind\":32,\"name\":\"MinPosNum\",\"url\":\"modules/jssm_constants.html#MinPosNum\",\"classes\":\"tsd-kind-variable tsd-parent-kind-module\",\"parent\":\"jssm_constants\"},{\"id\":418,\"kind\":32,\"name\":\"Phi\",\"url\":\"modules/jssm_constants.html#Phi\",\"classes\":\"tsd-kind-variable tsd-parent-kind-module\",\"parent\":\"jssm_constants\"},{\"id\":419,\"kind\":32,\"name\":\"EulerC\",\"url\":\"modules/jssm_constants.html#EulerC\",\"classes\":\"tsd-kind-variable tsd-parent-kind-module\",\"parent\":\"jssm_constants\"},{\"id\":420,\"kind\":32,\"name\":\"gviz_shapes\",\"url\":\"modules/jssm_constants.html#gviz_shapes\",\"classes\":\"tsd-kind-variable tsd-parent-kind-module\",\"parent\":\"jssm_constants\"},{\"id\":421,\"kind\":32,\"name\":\"shapes\",\"url\":\"modules/jssm_constants.html#shapes\",\"classes\":\"tsd-kind-variable tsd-parent-kind-module\",\"parent\":\"jssm_constants\"},{\"id\":422,\"kind\":32,\"name\":\"named_colors\",\"url\":\"modules/jssm_constants.html#named_colors\",\"classes\":\"tsd-kind-variable tsd-parent-kind-module\",\"parent\":\"jssm_constants\"},{\"id\":423,\"kind\":2,\"name\":\"jssm_error\",\"url\":\"modules/jssm_error.html\",\"classes\":\"tsd-kind-module\"},{\"id\":424,\"kind\":128,\"name\":\"JssmError\",\"url\":\"classes/jssm_error.JssmError.html\",\"classes\":\"tsd-kind-class tsd-parent-kind-module\",\"parent\":\"jssm_error\"},{\"id\":425,\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/jssm_error.JssmError.html#__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-class\",\"parent\":\"jssm_error.JssmError\"},{\"id\":426,\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/jssm_error.JssmError.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite\",\"parent\":\"jssm_error.JssmError\"},{\"id\":427,\"kind\":1024,\"name\":\"message\",\"url\":\"classes/jssm_error.JssmError.html#message\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-overwrite\",\"parent\":\"jssm_error.JssmError\"},{\"id\":428,\"kind\":1024,\"name\":\"base_message\",\"url\":\"classes/jssm_error.JssmError.html#base_message\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm_error.JssmError\"},{\"id\":429,\"kind\":1024,\"name\":\"requested_state\",\"url\":\"classes/jssm_error.JssmError.html#requested_state\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"jssm_error.JssmError\"},{\"id\":430,\"kind\":2,\"name\":\"jssm_util\",\"url\":\"modules/jssm_util.html\",\"classes\":\"tsd-kind-module\"},{\"id\":431,\"kind\":64,\"name\":\"seq\",\"url\":\"modules/jssm_util.html#seq\",\"classes\":\"tsd-kind-function tsd-parent-kind-module\",\"parent\":\"jssm_util\"},{\"id\":432,\"kind\":64,\"name\":\"unique\",\"url\":\"modules/jssm_util.html#unique\",\"classes\":\"tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter\",\"parent\":\"jssm_util\"},{\"id\":433,\"kind\":64,\"name\":\"find_repeated\",\"url\":\"modules/jssm_util.html#find_repeated\",\"classes\":\"tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter\",\"parent\":\"jssm_util\"},{\"id\":434,\"kind\":64,\"name\":\"arr_uniq_p\",\"url\":\"modules/jssm_util.html#arr_uniq_p\",\"classes\":\"tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter\",\"parent\":\"jssm_util\"},{\"id\":435,\"kind\":32,\"name\":\"histograph\",\"url\":\"modules/jssm_util.html#histograph\",\"classes\":\"tsd-kind-variable tsd-parent-kind-module\",\"parent\":\"jssm_util\"},{\"id\":436,\"kind\":32,\"name\":\"weighted_histo_key\",\"url\":\"modules/jssm_util.html#weighted_histo_key\",\"classes\":\"tsd-kind-variable tsd-parent-kind-module\",\"parent\":\"jssm_util\"},{\"id\":437,\"kind\":32,\"name\":\"weighted_rand_select\",\"url\":\"modules/jssm_util.html#weighted_rand_select\",\"classes\":\"tsd-kind-variable tsd-parent-kind-module\",\"parent\":\"jssm_util\"},{\"id\":438,\"kind\":32,\"name\":\"weighted_sample_select\",\"url\":\"modules/jssm_util.html#weighted_sample_select\",\"classes\":\"tsd-kind-variable tsd-parent-kind-module\",\"parent\":\"jssm_util\"},{\"id\":439,\"kind\":64,\"name\":\"array_box_if_string\",\"url\":\"modules/jssm_util.html#array_box_if_string\",\"classes\":\"tsd-kind-function tsd-parent-kind-module\",\"parent\":\"jssm_util\"},{\"id\":440,\"kind\":64,\"name\":\"name_bind_prop_and_state\",\"url\":\"modules/jssm_util.html#name_bind_prop_and_state\",\"classes\":\"tsd-kind-function tsd-parent-kind-module\",\"parent\":\"jssm_util\"},{\"id\":441,\"kind\":64,\"name\":\"hook_name\",\"url\":\"modules/jssm_util.html#hook_name\",\"classes\":\"tsd-kind-function tsd-parent-kind-module\",\"parent\":\"jssm_util\"},{\"id\":442,\"kind\":64,\"name\":\"named_hook_name\",\"url\":\"modules/jssm_util.html#named_hook_name\",\"classes\":\"tsd-kind-function tsd-parent-kind-module\",\"parent\":\"jssm_util\"},{\"id\":443,\"kind\":64,\"name\":\"make_mulberry_rand\",\"url\":\"modules/jssm_util.html#make_mulberry_rand\",\"classes\":\"tsd-kind-function tsd-parent-kind-module\",\"parent\":\"jssm_util\"},{\"id\":444,\"kind\":2,\"name\":\"version\",\"url\":\"modules/version.html\",\"classes\":\"tsd-kind-module\"},{\"id\":445,\"kind\":32,\"name\":\"version\",\"url\":\"modules/version.html#version-1\",\"classes\":\"tsd-kind-variable tsd-parent-kind-module\",\"parent\":\"version\"},{\"id\":446,\"kind\":32,\"name\":\"build_time\",\"url\":\"modules/version.html#build_time\",\"classes\":\"tsd-kind-variable tsd-parent-kind-module\",\"parent\":\"version\"},{\"id\":447,\"kind\":16777216,\"name\":\"version\",\"url\":\"modules/jssm.html#version\",\"classes\":\"tsd-kind-reference tsd-parent-kind-module\",\"parent\":\"jssm\"},{\"id\":448,\"kind\":16777216,\"name\":\"build_time\",\"url\":\"modules/jssm.html#build_time\",\"classes\":\"tsd-kind-reference tsd-parent-kind-module\",\"parent\":\"jssm\"},{\"id\":449,\"kind\":64,\"name\":\"make\",\"url\":\"modules/jssm.html#make\",\"classes\":\"tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter\",\"parent\":\"jssm\"},{\"id\":450,\"kind\":64,\"name\":\"parse\",\"url\":\"modules/jssm.html#parse\",\"classes\":\"tsd-kind-function tsd-parent-kind-module\",\"parent\":\"jssm\"},{\"id\":451,\"kind\":64,\"name\":\"compile\",\"url\":\"modules/jssm.html#compile\",\"classes\":\"tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter\",\"parent\":\"jssm\"},{\"id\":452,\"kind\":64,\"name\":\"arrow_direction\",\"url\":\"modules/jssm.html#arrow_direction\",\"classes\":\"tsd-kind-function tsd-parent-kind-module\",\"parent\":\"jssm\"},{\"id\":453,\"kind\":64,\"name\":\"arrow_left_kind\",\"url\":\"modules/jssm.html#arrow_left_kind\",\"classes\":\"tsd-kind-function tsd-parent-kind-module\",\"parent\":\"jssm\"},{\"id\":454,\"kind\":64,\"name\":\"arrow_right_kind\",\"url\":\"modules/jssm.html#arrow_right_kind\",\"classes\":\"tsd-kind-function tsd-parent-kind-module\",\"parent\":\"jssm\"},{\"id\":455,\"kind\":16777216,\"name\":\"seq\",\"url\":\"modules/jssm.html#seq\",\"classes\":\"tsd-kind-reference tsd-parent-kind-module\",\"parent\":\"jssm\"},{\"id\":456,\"kind\":16777216,\"name\":\"unique\",\"url\":\"modules/jssm.html#unique\",\"classes\":\"tsd-kind-reference tsd-parent-kind-module\",\"parent\":\"jssm\"},{\"id\":457,\"kind\":16777216,\"name\":\"find_repeated\",\"url\":\"modules/jssm.html#find_repeated\",\"classes\":\"tsd-kind-reference tsd-parent-kind-module\",\"parent\":\"jssm\"},{\"id\":458,\"kind\":16777216,\"name\":\"weighted_rand_select\",\"url\":\"modules/jssm.html#weighted_rand_select\",\"classes\":\"tsd-kind-reference tsd-parent-kind-module\",\"parent\":\"jssm\"},{\"id\":459,\"kind\":16777216,\"name\":\"histograph\",\"url\":\"modules/jssm.html#histograph\",\"classes\":\"tsd-kind-reference tsd-parent-kind-module\",\"parent\":\"jssm\"},{\"id\":460,\"kind\":16777216,\"name\":\"weighted_sample_select\",\"url\":\"modules/jssm.html#weighted_sample_select\",\"classes\":\"tsd-kind-reference tsd-parent-kind-module\",\"parent\":\"jssm\"},{\"id\":461,\"kind\":16777216,\"name\":\"weighted_histo_key\",\"url\":\"modules/jssm.html#weighted_histo_key\",\"classes\":\"tsd-kind-reference tsd-parent-kind-module\",\"parent\":\"jssm\"},{\"id\":462,\"kind\":16777216,\"name\":\"constants\",\"url\":\"modules/jssm.html#constants\",\"classes\":\"tsd-kind-reference tsd-parent-kind-module\",\"parent\":\"jssm\"},{\"id\":463,\"kind\":16777216,\"name\":\"FslDirections\",\"url\":\"modules/jssm.html#FslDirections\",\"classes\":\"tsd-kind-reference tsd-parent-kind-module\",\"parent\":\"jssm\"},{\"id\":464,\"kind\":4,\"name\":\"\",\"url\":\"modules/jssm._internal_.html\",\"classes\":\"tsd-kind-namespace tsd-parent-kind-module\",\"parent\":\"jssm\"},{\"id\":465,\"kind\":4,\"name\":\"\",\"url\":\"modules/jssm_types._internal_.html\",\"classes\":\"tsd-kind-namespace tsd-parent-kind-module\",\"parent\":\"jssm_types\"},{\"id\":466,\"kind\":4194304,\"name\":\"StateType\",\"url\":\"modules/jssm_types._internal_.html#StateType\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace\",\"parent\":\"jssm_types.\"},{\"id\":467,\"kind\":4194304,\"name\":\"JssmTransitionCycle\",\"url\":\"modules/jssm_types._internal_.html#JssmTransitionCycle\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace\",\"parent\":\"jssm_types.\"},{\"id\":468,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#JssmTransitionCycle.__type-20\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..JssmTransitionCycle\"},{\"id\":469,\"kind\":1024,\"name\":\"key\",\"url\":\"modules/jssm_types._internal_.html#JssmTransitionCycle.__type-20.key-8\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..JssmTransitionCycle.__type\"},{\"id\":470,\"kind\":1024,\"name\":\"value\",\"url\":\"modules/jssm_types._internal_.html#JssmTransitionCycle.__type-20.value-8\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..JssmTransitionCycle.__type\"},{\"id\":471,\"kind\":4194304,\"name\":\"JssmSuccess\",\"url\":\"modules/jssm_types._internal_.html#JssmSuccess\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace\",\"parent\":\"jssm_types.\"},{\"id\":472,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#JssmSuccess.__type-19\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..JssmSuccess\"},{\"id\":473,\"kind\":1024,\"name\":\"success\",\"url\":\"modules/jssm_types._internal_.html#JssmSuccess.__type-19.success-2\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..JssmSuccess.__type\"},{\"id\":474,\"kind\":4194304,\"name\":\"JssmFailure\",\"url\":\"modules/jssm_types._internal_.html#JssmFailure\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace\",\"parent\":\"jssm_types.\"},{\"id\":475,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#JssmFailure.__type-8\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..JssmFailure\"},{\"id\":476,\"kind\":1024,\"name\":\"success\",\"url\":\"modules/jssm_types._internal_.html#JssmFailure.__type-8.success\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..JssmFailure.__type\"},{\"id\":477,\"kind\":1024,\"name\":\"error\",\"url\":\"modules/jssm_types._internal_.html#JssmFailure.__type-8.error\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..JssmFailure.__type\"},{\"id\":478,\"kind\":4194304,\"name\":\"JssmIncomplete\",\"url\":\"modules/jssm_types._internal_.html#JssmIncomplete\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace\",\"parent\":\"jssm_types.\"},{\"id\":479,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#JssmIncomplete.__type-9\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..JssmIncomplete\"},{\"id\":480,\"kind\":1024,\"name\":\"success\",\"url\":\"modules/jssm_types._internal_.html#JssmIncomplete.__type-9.success-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..JssmIncomplete.__type\"},{\"id\":481,\"kind\":4194304,\"name\":\"JssmStateStyleShape\",\"url\":\"modules/jssm_types._internal_.html#JssmStateStyleShape\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace\",\"parent\":\"jssm_types.\"},{\"id\":482,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#JssmStateStyleShape.__type-16\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..JssmStateStyleShape\"},{\"id\":483,\"kind\":1024,\"name\":\"key\",\"url\":\"modules/jssm_types._internal_.html#JssmStateStyleShape.__type-16.key-5\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..JssmStateStyleShape.__type\"},{\"id\":484,\"kind\":1024,\"name\":\"value\",\"url\":\"modules/jssm_types._internal_.html#JssmStateStyleShape.__type-16.value-5\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..JssmStateStyleShape.__type\"},{\"id\":485,\"kind\":4194304,\"name\":\"JssmStateStyleColor\",\"url\":\"modules/jssm_types._internal_.html#JssmStateStyleColor\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace\",\"parent\":\"jssm_types.\"},{\"id\":486,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#JssmStateStyleColor.__type-13\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..JssmStateStyleColor\"},{\"id\":487,\"kind\":1024,\"name\":\"key\",\"url\":\"modules/jssm_types._internal_.html#JssmStateStyleColor.__type-13.key-2\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..JssmStateStyleColor.__type\"},{\"id\":488,\"kind\":1024,\"name\":\"value\",\"url\":\"modules/jssm_types._internal_.html#JssmStateStyleColor.__type-13.value-2\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..JssmStateStyleColor.__type\"},{\"id\":489,\"kind\":4194304,\"name\":\"JssmStateStyleTextColor\",\"url\":\"modules/jssm_types._internal_.html#JssmStateStyleTextColor\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace\",\"parent\":\"jssm_types.\"},{\"id\":490,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#JssmStateStyleTextColor.__type-18\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..JssmStateStyleTextColor\"},{\"id\":491,\"kind\":1024,\"name\":\"key\",\"url\":\"modules/jssm_types._internal_.html#JssmStateStyleTextColor.__type-18.key-7\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..JssmStateStyleTextColor.__type\"},{\"id\":492,\"kind\":1024,\"name\":\"value\",\"url\":\"modules/jssm_types._internal_.html#JssmStateStyleTextColor.__type-18.value-7\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..JssmStateStyleTextColor.__type\"},{\"id\":493,\"kind\":4194304,\"name\":\"JssmStateStyleCorners\",\"url\":\"modules/jssm_types._internal_.html#JssmStateStyleCorners\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace\",\"parent\":\"jssm_types.\"},{\"id\":494,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#JssmStateStyleCorners.__type-14\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..JssmStateStyleCorners\"},{\"id\":495,\"kind\":1024,\"name\":\"key\",\"url\":\"modules/jssm_types._internal_.html#JssmStateStyleCorners.__type-14.key-3\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..JssmStateStyleCorners.__type\"},{\"id\":496,\"kind\":1024,\"name\":\"value\",\"url\":\"modules/jssm_types._internal_.html#JssmStateStyleCorners.__type-14.value-3\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..JssmStateStyleCorners.__type\"},{\"id\":497,\"kind\":4194304,\"name\":\"JssmStateStyleLineStyle\",\"url\":\"modules/jssm_types._internal_.html#JssmStateStyleLineStyle\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace\",\"parent\":\"jssm_types.\"},{\"id\":498,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#JssmStateStyleLineStyle.__type-15\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..JssmStateStyleLineStyle\"},{\"id\":499,\"kind\":1024,\"name\":\"key\",\"url\":\"modules/jssm_types._internal_.html#JssmStateStyleLineStyle.__type-15.key-4\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..JssmStateStyleLineStyle.__type\"},{\"id\":500,\"kind\":1024,\"name\":\"value\",\"url\":\"modules/jssm_types._internal_.html#JssmStateStyleLineStyle.__type-15.value-4\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..JssmStateStyleLineStyle.__type\"},{\"id\":501,\"kind\":4194304,\"name\":\"JssmStateStyleBackgroundColor\",\"url\":\"modules/jssm_types._internal_.html#JssmStateStyleBackgroundColor\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace\",\"parent\":\"jssm_types.\"},{\"id\":502,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#JssmStateStyleBackgroundColor.__type-11\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..JssmStateStyleBackgroundColor\"},{\"id\":503,\"kind\":1024,\"name\":\"key\",\"url\":\"modules/jssm_types._internal_.html#JssmStateStyleBackgroundColor.__type-11.key\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..JssmStateStyleBackgroundColor.__type\"},{\"id\":504,\"kind\":1024,\"name\":\"value\",\"url\":\"modules/jssm_types._internal_.html#JssmStateStyleBackgroundColor.__type-11.value\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..JssmStateStyleBackgroundColor.__type\"},{\"id\":505,\"kind\":4194304,\"name\":\"JssmStateStyleStateLabel\",\"url\":\"modules/jssm_types._internal_.html#JssmStateStyleStateLabel\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace\",\"parent\":\"jssm_types.\"},{\"id\":506,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#JssmStateStyleStateLabel.__type-17\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..JssmStateStyleStateLabel\"},{\"id\":507,\"kind\":1024,\"name\":\"key\",\"url\":\"modules/jssm_types._internal_.html#JssmStateStyleStateLabel.__type-17.key-6\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..JssmStateStyleStateLabel.__type\"},{\"id\":508,\"kind\":1024,\"name\":\"value\",\"url\":\"modules/jssm_types._internal_.html#JssmStateStyleStateLabel.__type-17.value-6\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..JssmStateStyleStateLabel.__type\"},{\"id\":509,\"kind\":4194304,\"name\":\"JssmStateStyleBorderColor\",\"url\":\"modules/jssm_types._internal_.html#JssmStateStyleBorderColor\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace\",\"parent\":\"jssm_types.\"},{\"id\":510,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#JssmStateStyleBorderColor.__type-12\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..JssmStateStyleBorderColor\"},{\"id\":511,\"kind\":1024,\"name\":\"key\",\"url\":\"modules/jssm_types._internal_.html#JssmStateStyleBorderColor.__type-12.key-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..JssmStateStyleBorderColor.__type\"},{\"id\":512,\"kind\":1024,\"name\":\"value\",\"url\":\"modules/jssm_types._internal_.html#JssmStateStyleBorderColor.__type-12.value-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..JssmStateStyleBorderColor.__type\"},{\"id\":513,\"kind\":4194304,\"name\":\"BasicHookDescription\",\"url\":\"modules/jssm_types._internal_.html#BasicHookDescription\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace tsd-has-type-parameter\",\"parent\":\"jssm_types.\"},{\"id\":514,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#BasicHookDescription.__type-2\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..BasicHookDescription\"},{\"id\":515,\"kind\":1024,\"name\":\"kind\",\"url\":\"modules/jssm_types._internal_.html#BasicHookDescription.__type-2.kind-2\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..BasicHookDescription.__type\"},{\"id\":516,\"kind\":1024,\"name\":\"from\",\"url\":\"modules/jssm_types._internal_.html#BasicHookDescription.__type-2.from\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..BasicHookDescription.__type\"},{\"id\":517,\"kind\":1024,\"name\":\"to\",\"url\":\"modules/jssm_types._internal_.html#BasicHookDescription.__type-2.to\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..BasicHookDescription.__type\"},{\"id\":518,\"kind\":1024,\"name\":\"handler\",\"url\":\"modules/jssm_types._internal_.html#BasicHookDescription.__type-2.handler-2\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..BasicHookDescription.__type\"},{\"id\":519,\"kind\":4194304,\"name\":\"HookDescriptionWithAction\",\"url\":\"modules/jssm_types._internal_.html#HookDescriptionWithAction\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace tsd-has-type-parameter\",\"parent\":\"jssm_types.\"},{\"id\":520,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#HookDescriptionWithAction.__type-7\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..HookDescriptionWithAction\"},{\"id\":521,\"kind\":1024,\"name\":\"kind\",\"url\":\"modules/jssm_types._internal_.html#HookDescriptionWithAction.__type-7.kind-7\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..HookDescriptionWithAction.__type\"},{\"id\":522,\"kind\":1024,\"name\":\"from\",\"url\":\"modules/jssm_types._internal_.html#HookDescriptionWithAction.__type-7.from-2\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..HookDescriptionWithAction.__type\"},{\"id\":523,\"kind\":1024,\"name\":\"to\",\"url\":\"modules/jssm_types._internal_.html#HookDescriptionWithAction.__type-7.to-2\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..HookDescriptionWithAction.__type\"},{\"id\":524,\"kind\":1024,\"name\":\"action\",\"url\":\"modules/jssm_types._internal_.html#HookDescriptionWithAction.__type-7.action-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..HookDescriptionWithAction.__type\"},{\"id\":525,\"kind\":1024,\"name\":\"handler\",\"url\":\"modules/jssm_types._internal_.html#HookDescriptionWithAction.__type-7.handler-7\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..HookDescriptionWithAction.__type\"},{\"id\":526,\"kind\":4194304,\"name\":\"GlobalActionHook\",\"url\":\"modules/jssm_types._internal_.html#GlobalActionHook\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace tsd-has-type-parameter\",\"parent\":\"jssm_types.\"},{\"id\":527,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#GlobalActionHook.__type-6\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..GlobalActionHook\"},{\"id\":528,\"kind\":1024,\"name\":\"kind\",\"url\":\"modules/jssm_types._internal_.html#GlobalActionHook.__type-6.kind-6\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..GlobalActionHook.__type\"},{\"id\":529,\"kind\":1024,\"name\":\"action\",\"url\":\"modules/jssm_types._internal_.html#GlobalActionHook.__type-6.action\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..GlobalActionHook.__type\"},{\"id\":530,\"kind\":1024,\"name\":\"handler\",\"url\":\"modules/jssm_types._internal_.html#GlobalActionHook.__type-6.handler-6\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..GlobalActionHook.__type\"},{\"id\":531,\"kind\":4194304,\"name\":\"AnyActionHook\",\"url\":\"modules/jssm_types._internal_.html#AnyActionHook\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace tsd-has-type-parameter\",\"parent\":\"jssm_types.\"},{\"id\":532,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#AnyActionHook.__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..AnyActionHook\"},{\"id\":533,\"kind\":1024,\"name\":\"kind\",\"url\":\"modules/jssm_types._internal_.html#AnyActionHook.__type.kind\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..AnyActionHook.__type\"},{\"id\":534,\"kind\":1024,\"name\":\"handler\",\"url\":\"modules/jssm_types._internal_.html#AnyActionHook.__type.handler\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..AnyActionHook.__type\"},{\"id\":535,\"kind\":4194304,\"name\":\"StandardTransitionHook\",\"url\":\"modules/jssm_types._internal_.html#StandardTransitionHook\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace tsd-has-type-parameter\",\"parent\":\"jssm_types.\"},{\"id\":536,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#StandardTransitionHook.__type-34\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..StandardTransitionHook\"},{\"id\":537,\"kind\":1024,\"name\":\"kind\",\"url\":\"modules/jssm_types._internal_.html#StandardTransitionHook.__type-34.kind-19\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..StandardTransitionHook.__type\"},{\"id\":538,\"kind\":1024,\"name\":\"handler\",\"url\":\"modules/jssm_types._internal_.html#StandardTransitionHook.__type-34.handler-19\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..StandardTransitionHook.__type\"},{\"id\":539,\"kind\":4194304,\"name\":\"MainTransitionHook\",\"url\":\"modules/jssm_types._internal_.html#MainTransitionHook\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace tsd-has-type-parameter\",\"parent\":\"jssm_types.\"},{\"id\":540,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#MainTransitionHook.__type-22\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..MainTransitionHook\"},{\"id\":541,\"kind\":1024,\"name\":\"kind\",\"url\":\"modules/jssm_types._internal_.html#MainTransitionHook.__type-22.kind-8\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..MainTransitionHook.__type\"},{\"id\":542,\"kind\":1024,\"name\":\"handler\",\"url\":\"modules/jssm_types._internal_.html#MainTransitionHook.__type-22.handler-8\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..MainTransitionHook.__type\"},{\"id\":543,\"kind\":4194304,\"name\":\"ForcedTransitionHook\",\"url\":\"modules/jssm_types._internal_.html#ForcedTransitionHook\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace tsd-has-type-parameter\",\"parent\":\"jssm_types.\"},{\"id\":544,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#ForcedTransitionHook.__type-5\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..ForcedTransitionHook\"},{\"id\":545,\"kind\":1024,\"name\":\"kind\",\"url\":\"modules/jssm_types._internal_.html#ForcedTransitionHook.__type-5.kind-5\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..ForcedTransitionHook.__type\"},{\"id\":546,\"kind\":1024,\"name\":\"handler\",\"url\":\"modules/jssm_types._internal_.html#ForcedTransitionHook.__type-5.handler-5\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..ForcedTransitionHook.__type\"},{\"id\":547,\"kind\":4194304,\"name\":\"AnyTransitionHook\",\"url\":\"modules/jssm_types._internal_.html#AnyTransitionHook\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace tsd-has-type-parameter\",\"parent\":\"jssm_types.\"},{\"id\":548,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#AnyTransitionHook.__type-1\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..AnyTransitionHook\"},{\"id\":549,\"kind\":1024,\"name\":\"kind\",\"url\":\"modules/jssm_types._internal_.html#AnyTransitionHook.__type-1.kind-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..AnyTransitionHook.__type\"},{\"id\":550,\"kind\":1024,\"name\":\"handler\",\"url\":\"modules/jssm_types._internal_.html#AnyTransitionHook.__type-1.handler-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..AnyTransitionHook.__type\"},{\"id\":551,\"kind\":4194304,\"name\":\"EntryHook\",\"url\":\"modules/jssm_types._internal_.html#EntryHook\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace tsd-has-type-parameter\",\"parent\":\"jssm_types.\"},{\"id\":552,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#EntryHook.__type-3\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..EntryHook\"},{\"id\":553,\"kind\":1024,\"name\":\"kind\",\"url\":\"modules/jssm_types._internal_.html#EntryHook.__type-3.kind-3\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..EntryHook.__type\"},{\"id\":554,\"kind\":1024,\"name\":\"to\",\"url\":\"modules/jssm_types._internal_.html#EntryHook.__type-3.to-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..EntryHook.__type\"},{\"id\":555,\"kind\":1024,\"name\":\"handler\",\"url\":\"modules/jssm_types._internal_.html#EntryHook.__type-3.handler-3\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..EntryHook.__type\"},{\"id\":556,\"kind\":4194304,\"name\":\"ExitHook\",\"url\":\"modules/jssm_types._internal_.html#ExitHook\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace tsd-has-type-parameter\",\"parent\":\"jssm_types.\"},{\"id\":557,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#ExitHook.__type-4\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..ExitHook\"},{\"id\":558,\"kind\":1024,\"name\":\"kind\",\"url\":\"modules/jssm_types._internal_.html#ExitHook.__type-4.kind-4\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..ExitHook.__type\"},{\"id\":559,\"kind\":1024,\"name\":\"from\",\"url\":\"modules/jssm_types._internal_.html#ExitHook.__type-4.from-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..ExitHook.__type\"},{\"id\":560,\"kind\":1024,\"name\":\"handler\",\"url\":\"modules/jssm_types._internal_.html#ExitHook.__type-4.handler-4\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..ExitHook.__type\"},{\"id\":561,\"kind\":4194304,\"name\":\"PostBasicHookDescription\",\"url\":\"modules/jssm_types._internal_.html#PostBasicHookDescription\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace tsd-has-type-parameter\",\"parent\":\"jssm_types.\"},{\"id\":562,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#PostBasicHookDescription.__type-25\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..PostBasicHookDescription\"},{\"id\":563,\"kind\":1024,\"name\":\"kind\",\"url\":\"modules/jssm_types._internal_.html#PostBasicHookDescription.__type-25.kind-11\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..PostBasicHookDescription.__type\"},{\"id\":564,\"kind\":1024,\"name\":\"from\",\"url\":\"modules/jssm_types._internal_.html#PostBasicHookDescription.__type-25.from-3\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..PostBasicHookDescription.__type\"},{\"id\":565,\"kind\":1024,\"name\":\"to\",\"url\":\"modules/jssm_types._internal_.html#PostBasicHookDescription.__type-25.to-3\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..PostBasicHookDescription.__type\"},{\"id\":566,\"kind\":1024,\"name\":\"handler\",\"url\":\"modules/jssm_types._internal_.html#PostBasicHookDescription.__type-25.handler-11\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..PostBasicHookDescription.__type\"},{\"id\":567,\"kind\":4194304,\"name\":\"PostHookDescriptionWithAction\",\"url\":\"modules/jssm_types._internal_.html#PostHookDescriptionWithAction\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace tsd-has-type-parameter\",\"parent\":\"jssm_types.\"},{\"id\":568,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#PostHookDescriptionWithAction.__type-30\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..PostHookDescriptionWithAction\"},{\"id\":569,\"kind\":1024,\"name\":\"kind\",\"url\":\"modules/jssm_types._internal_.html#PostHookDescriptionWithAction.__type-30.kind-16\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..PostHookDescriptionWithAction.__type\"},{\"id\":570,\"kind\":1024,\"name\":\"from\",\"url\":\"modules/jssm_types._internal_.html#PostHookDescriptionWithAction.__type-30.from-5\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..PostHookDescriptionWithAction.__type\"},{\"id\":571,\"kind\":1024,\"name\":\"to\",\"url\":\"modules/jssm_types._internal_.html#PostHookDescriptionWithAction.__type-30.to-5\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..PostHookDescriptionWithAction.__type\"},{\"id\":572,\"kind\":1024,\"name\":\"action\",\"url\":\"modules/jssm_types._internal_.html#PostHookDescriptionWithAction.__type-30.action-3\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..PostHookDescriptionWithAction.__type\"},{\"id\":573,\"kind\":1024,\"name\":\"handler\",\"url\":\"modules/jssm_types._internal_.html#PostHookDescriptionWithAction.__type-30.handler-16\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..PostHookDescriptionWithAction.__type\"},{\"id\":574,\"kind\":4194304,\"name\":\"PostGlobalActionHook\",\"url\":\"modules/jssm_types._internal_.html#PostGlobalActionHook\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace tsd-has-type-parameter\",\"parent\":\"jssm_types.\"},{\"id\":575,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#PostGlobalActionHook.__type-29\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..PostGlobalActionHook\"},{\"id\":576,\"kind\":1024,\"name\":\"kind\",\"url\":\"modules/jssm_types._internal_.html#PostGlobalActionHook.__type-29.kind-15\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..PostGlobalActionHook.__type\"},{\"id\":577,\"kind\":1024,\"name\":\"action\",\"url\":\"modules/jssm_types._internal_.html#PostGlobalActionHook.__type-29.action-2\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..PostGlobalActionHook.__type\"},{\"id\":578,\"kind\":1024,\"name\":\"handler\",\"url\":\"modules/jssm_types._internal_.html#PostGlobalActionHook.__type-29.handler-15\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..PostGlobalActionHook.__type\"},{\"id\":579,\"kind\":4194304,\"name\":\"PostAnyActionHook\",\"url\":\"modules/jssm_types._internal_.html#PostAnyActionHook\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace tsd-has-type-parameter\",\"parent\":\"jssm_types.\"},{\"id\":580,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#PostAnyActionHook.__type-23\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..PostAnyActionHook\"},{\"id\":581,\"kind\":1024,\"name\":\"kind\",\"url\":\"modules/jssm_types._internal_.html#PostAnyActionHook.__type-23.kind-9\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..PostAnyActionHook.__type\"},{\"id\":582,\"kind\":1024,\"name\":\"handler\",\"url\":\"modules/jssm_types._internal_.html#PostAnyActionHook.__type-23.handler-9\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..PostAnyActionHook.__type\"},{\"id\":583,\"kind\":4194304,\"name\":\"PostStandardTransitionHook\",\"url\":\"modules/jssm_types._internal_.html#PostStandardTransitionHook\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace tsd-has-type-parameter\",\"parent\":\"jssm_types.\"},{\"id\":584,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#PostStandardTransitionHook.__type-33\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..PostStandardTransitionHook\"},{\"id\":585,\"kind\":1024,\"name\":\"kind\",\"url\":\"modules/jssm_types._internal_.html#PostStandardTransitionHook.__type-33.kind-18\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..PostStandardTransitionHook.__type\"},{\"id\":586,\"kind\":1024,\"name\":\"handler\",\"url\":\"modules/jssm_types._internal_.html#PostStandardTransitionHook.__type-33.handler-18\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..PostStandardTransitionHook.__type\"},{\"id\":587,\"kind\":4194304,\"name\":\"PostMainTransitionHook\",\"url\":\"modules/jssm_types._internal_.html#PostMainTransitionHook\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace tsd-has-type-parameter\",\"parent\":\"jssm_types.\"},{\"id\":588,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#PostMainTransitionHook.__type-32\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..PostMainTransitionHook\"},{\"id\":589,\"kind\":1024,\"name\":\"kind\",\"url\":\"modules/jssm_types._internal_.html#PostMainTransitionHook.__type-32.kind-17\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..PostMainTransitionHook.__type\"},{\"id\":590,\"kind\":1024,\"name\":\"handler\",\"url\":\"modules/jssm_types._internal_.html#PostMainTransitionHook.__type-32.handler-17\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..PostMainTransitionHook.__type\"},{\"id\":591,\"kind\":4194304,\"name\":\"PostForcedTransitionHook\",\"url\":\"modules/jssm_types._internal_.html#PostForcedTransitionHook\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace tsd-has-type-parameter\",\"parent\":\"jssm_types.\"},{\"id\":592,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#PostForcedTransitionHook.__type-28\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..PostForcedTransitionHook\"},{\"id\":593,\"kind\":1024,\"name\":\"kind\",\"url\":\"modules/jssm_types._internal_.html#PostForcedTransitionHook.__type-28.kind-14\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..PostForcedTransitionHook.__type\"},{\"id\":594,\"kind\":1024,\"name\":\"handler\",\"url\":\"modules/jssm_types._internal_.html#PostForcedTransitionHook.__type-28.handler-14\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..PostForcedTransitionHook.__type\"},{\"id\":595,\"kind\":4194304,\"name\":\"PostAnyTransitionHook\",\"url\":\"modules/jssm_types._internal_.html#PostAnyTransitionHook\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace tsd-has-type-parameter\",\"parent\":\"jssm_types.\"},{\"id\":596,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#PostAnyTransitionHook.__type-24\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..PostAnyTransitionHook\"},{\"id\":597,\"kind\":1024,\"name\":\"kind\",\"url\":\"modules/jssm_types._internal_.html#PostAnyTransitionHook.__type-24.kind-10\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..PostAnyTransitionHook.__type\"},{\"id\":598,\"kind\":1024,\"name\":\"handler\",\"url\":\"modules/jssm_types._internal_.html#PostAnyTransitionHook.__type-24.handler-10\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..PostAnyTransitionHook.__type\"},{\"id\":599,\"kind\":4194304,\"name\":\"PostEntryHook\",\"url\":\"modules/jssm_types._internal_.html#PostEntryHook\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace tsd-has-type-parameter\",\"parent\":\"jssm_types.\"},{\"id\":600,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#PostEntryHook.__type-26\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..PostEntryHook\"},{\"id\":601,\"kind\":1024,\"name\":\"kind\",\"url\":\"modules/jssm_types._internal_.html#PostEntryHook.__type-26.kind-12\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..PostEntryHook.__type\"},{\"id\":602,\"kind\":1024,\"name\":\"to\",\"url\":\"modules/jssm_types._internal_.html#PostEntryHook.__type-26.to-4\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..PostEntryHook.__type\"},{\"id\":603,\"kind\":1024,\"name\":\"handler\",\"url\":\"modules/jssm_types._internal_.html#PostEntryHook.__type-26.handler-12\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..PostEntryHook.__type\"},{\"id\":604,\"kind\":4194304,\"name\":\"PostExitHook\",\"url\":\"modules/jssm_types._internal_.html#PostExitHook\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace tsd-has-type-parameter\",\"parent\":\"jssm_types.\"},{\"id\":605,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#PostExitHook.__type-27\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..PostExitHook\"},{\"id\":606,\"kind\":1024,\"name\":\"kind\",\"url\":\"modules/jssm_types._internal_.html#PostExitHook.__type-27.kind-13\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..PostExitHook.__type\"},{\"id\":607,\"kind\":1024,\"name\":\"from\",\"url\":\"modules/jssm_types._internal_.html#PostExitHook.__type-27.from-4\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..PostExitHook.__type\"},{\"id\":608,\"kind\":1024,\"name\":\"handler\",\"url\":\"modules/jssm_types._internal_.html#PostExitHook.__type-27.handler-13\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"jssm_types..PostExitHook.__type\"},{\"id\":609,\"kind\":4194304,\"name\":\"JssmTransitionPermitterMaybeArray\",\"url\":\"modules/jssm_types._internal_.html#JssmTransitionPermitterMaybeArray\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace tsd-has-type-parameter\",\"parent\":\"jssm_types.\"},{\"id\":610,\"kind\":4194304,\"name\":\"JssmStatePermitterMaybeArray\",\"url\":\"modules/jssm_types._internal_.html#JssmStatePermitterMaybeArray\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace tsd-has-type-parameter\",\"parent\":\"jssm_types.\"},{\"id\":611,\"kind\":4194304,\"name\":\"JssmCorner\",\"url\":\"modules/jssm_types._internal_.html#JssmCorner\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace\",\"parent\":\"jssm_types.\"},{\"id\":612,\"kind\":4194304,\"name\":\"JssmLineStyle\",\"url\":\"modules/jssm_types._internal_.html#JssmLineStyle\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace\",\"parent\":\"jssm_types.\"},{\"id\":613,\"kind\":4194304,\"name\":\"JssmTransitionPermitter\",\"url\":\"modules/jssm_types._internal_.html#JssmTransitionPermitter\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace tsd-has-type-parameter\",\"parent\":\"jssm_types.\"},{\"id\":614,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#JssmTransitionPermitter.__type-21\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..JssmTransitionPermitter\"},{\"id\":615,\"kind\":4194304,\"name\":\"JssmStatePermitter\",\"url\":\"modules/jssm_types._internal_.html#JssmStatePermitter\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace tsd-has-type-parameter\",\"parent\":\"jssm_types.\"},{\"id\":616,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#JssmStatePermitter.__type-10\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..JssmStatePermitter\"},{\"id\":617,\"kind\":4194304,\"name\":\"PostHookHandler\",\"url\":\"modules/jssm_types._internal_.html#PostHookHandler\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-namespace tsd-has-type-parameter\",\"parent\":\"jssm_types.\"},{\"id\":618,\"kind\":65536,\"name\":\"__type\",\"url\":\"modules/jssm_types._internal_.html#PostHookHandler.__type-31\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"jssm_types..PostHookHandler\"},{\"id\":619,\"kind\":4,\"name\":\"\",\"url\":\"modules/jssm_error._internal_.html\",\"classes\":\"tsd-kind-namespace tsd-parent-kind-module\",\"parent\":\"jssm_error\"},{\"id\":620,\"kind\":2048,\"name\":\"Page: What are state machines?\",\"url\":\"pages/WhatAreStateMachines.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\"},{\"id\":621,\"kind\":2048,\"name\":\"Page: ☕ Quick Start\",\"url\":\"pages/GettingStarted.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\"},{\"id\":622,\"kind\":2048,\"name\":\"Page: Language reference\",\"url\":\"pages/LanguageReference.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\"},{\"id\":623,\"kind\":2048,\"name\":\"Page: API reference\",\"url\":\"pages/todo.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\"},{\"id\":624,\"kind\":2048,\"name\":\"Page: Example machines\",\"url\":\"pages/ExampleMachines.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\"},{\"id\":625,\"kind\":2048,\"name\":\"Page: React\",\"url\":\"pages/todo.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\"},{\"id\":626,\"kind\":2048,\"name\":\"Page: Vue\",\"url\":\"pages/todo.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\"},{\"id\":627,\"kind\":2048,\"name\":\"Page: Angular\",\"url\":\"pages/todo.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\"},{\"id\":628,\"kind\":2048,\"name\":\"Page: Node\",\"url\":\"pages/todo.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\"},{\"id\":629,\"kind\":2048,\"name\":\"Page: Node\",\"url\":\"pages/todo.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\"},{\"id\":630,\"kind\":2048,\"name\":\"Page: Typescript\",\"url\":\"pages/todo.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\"},{\"id\":631,\"kind\":2048,\"name\":\"Page: The browser\",\"url\":\"pages/todo.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\"},{\"id\":632,\"kind\":2048,\"name\":\"Page: AWS Lambda\",\"url\":\"pages/todo.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\"},{\"id\":633,\"kind\":2048,\"name\":\"Page: SQL\",\"url\":\"pages/todo.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\"},{\"id\":634,\"kind\":2048,\"name\":\"Page: Rollup\",\"url\":\"pages/todo.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\"},{\"id\":635,\"kind\":2048,\"name\":\"Page: Webpack\",\"url\":\"pages/todo.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\"},{\"id\":636,\"kind\":2048,\"name\":\"Page: CDN\",\"url\":\"pages/todo.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\"},{\"id\":637,\"kind\":2048,\"name\":\"Page: Local files\",\"url\":\"pages/todo.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\"},{\"id\":638,\"kind\":2048,\"name\":\"Page: Let's make a large machine\",\"url\":\"pages/todo.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\"},{\"id\":639,\"kind\":2048,\"name\":\"Page: Publishing\",\"url\":\"pages/todo.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\"},{\"id\":640,\"kind\":2048,\"name\":\"Page: Theme, style, color\",\"url\":\"pages/Styling.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\"},{\"id\":641,\"kind\":2048,\"name\":\"Page: Feature comparison\",\"url\":\"pages/FeatureComparison.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\"},{\"id\":642,\"kind\":2048,\"name\":\"Page: LOC Shootout\",\"url\":\"pages/Shootout.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\"},{\"id\":643,\"kind\":2048,\"name\":\"Page: Live Editor\",\"url\":\"pages/live_editor.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\"},{\"id\":644,\"kind\":2048,\"name\":\"Page: Github Action\",\"url\":\"pages/todo.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\"},{\"id\":645,\"kind\":2048,\"name\":\"Page: CLI\",\"url\":\"pages/todo.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\"},{\"id\":646,\"kind\":2048,\"name\":\"Page: Community\",\"url\":\"pages/community.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\"},{\"id\":647,\"kind\":2048,\"name\":\"Page: Changelog\",\"url\":\"pages/CHANGELOG.long.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\"}],\"index\":{\"version\":\"2.3.9\",\"fields\":[\"name\",\"parent\"],\"fieldVectors\":[[\"name/0\",[0,31.15]],[\"parent/0\",[]],[\"name/1\",[1,62.497]],[\"parent/1\",[0,2.958]],[\"name/2\",[2,57.238]],[\"parent/2\",[0,2.958]],[\"name/3\",[3,57.238]],[\"parent/3\",[4,1.23]],[\"name/4\",[5,62.497]],[\"parent/4\",[4,1.23]],[\"name/5\",[6,62.497]],[\"parent/5\",[4,1.23]],[\"name/6\",[7,62.497]],[\"parent/6\",[4,1.23]],[\"name/7\",[8,62.497]],[\"parent/7\",[4,1.23]],[\"name/8\",[9,62.497]],[\"parent/8\",[4,1.23]],[\"name/9\",[10,62.497]],[\"parent/9\",[4,1.23]],[\"name/10\",[11,62.497]],[\"parent/10\",[4,1.23]],[\"name/11\",[12,62.497]],[\"parent/11\",[4,1.23]],[\"name/12\",[13,62.497]],[\"parent/12\",[4,1.23]],[\"name/13\",[14,62.497]],[\"parent/13\",[4,1.23]],[\"name/14\",[15,62.497]],[\"parent/14\",[4,1.23]],[\"name/15\",[16,62.497]],[\"parent/15\",[4,1.23]],[\"name/16\",[17,62.497]],[\"parent/16\",[4,1.23]],[\"name/17\",[18,62.497]],[\"parent/17\",[4,1.23]],[\"name/18\",[19,62.497]],[\"parent/18\",[4,1.23]],[\"name/19\",[20,62.497]],[\"parent/19\",[4,1.23]],[\"name/20\",[21,62.497]],[\"parent/20\",[4,1.23]],[\"name/21\",[22,62.497]],[\"parent/21\",[4,1.23]],[\"name/22\",[23,62.497]],[\"parent/22\",[4,1.23]],[\"name/23\",[24,62.497]],[\"parent/23\",[4,1.23]],[\"name/24\",[25,62.497]],[\"parent/24\",[4,1.23]],[\"name/25\",[26,62.497]],[\"parent/25\",[4,1.23]],[\"name/26\",[27,62.497]],[\"parent/26\",[4,1.23]],[\"name/27\",[28,62.497]],[\"parent/27\",[4,1.23]],[\"name/28\",[29,62.497]],[\"parent/28\",[4,1.23]],[\"name/29\",[30,62.497]],[\"parent/29\",[4,1.23]],[\"name/30\",[31,62.497]],[\"parent/30\",[4,1.23]],[\"name/31\",[32,62.497]],[\"parent/31\",[4,1.23]],[\"name/32\",[33,62.497]],[\"parent/32\",[4,1.23]],[\"name/33\",[34,62.497]],[\"parent/33\",[4,1.23]],[\"name/34\",[35,62.497]],[\"parent/34\",[4,1.23]],[\"name/35\",[36,62.497]],[\"parent/35\",[4,1.23]],[\"name/36\",[37,62.497]],[\"parent/36\",[4,1.23]],[\"name/37\",[38,62.497]],[\"parent/37\",[4,1.23]],[\"name/38\",[39,62.497]],[\"parent/38\",[4,1.23]],[\"name/39\",[40,62.497]],[\"parent/39\",[4,1.23]],[\"name/40\",[41,62.497]],[\"parent/40\",[4,1.23]],[\"name/41\",[42,62.497]],[\"parent/41\",[4,1.23]],[\"name/42\",[43,62.497]],[\"parent/42\",[4,1.23]],[\"name/43\",[44,62.497]],[\"parent/43\",[4,1.23]],[\"name/44\",[45,62.497]],[\"parent/44\",[4,1.23]],[\"name/45\",[46,62.497]],[\"parent/45\",[4,1.23]],[\"name/46\",[47,62.497]],[\"parent/46\",[4,1.23]],[\"name/47\",[48,62.497]],[\"parent/47\",[4,1.23]],[\"name/48\",[49,62.497]],[\"parent/48\",[4,1.23]],[\"name/49\",[50,62.497]],[\"parent/49\",[4,1.23]],[\"name/50\",[51,62.497]],[\"parent/50\",[4,1.23]],[\"name/51\",[52,62.497]],[\"parent/51\",[4,1.23]],[\"name/52\",[53,62.497]],[\"parent/52\",[4,1.23]],[\"name/53\",[54,62.497]],[\"parent/53\",[4,1.23]],[\"name/54\",[55,62.497]],[\"parent/54\",[4,1.23]],[\"name/55\",[56,62.497]],[\"parent/55\",[4,1.23]],[\"name/56\",[57,62.497]],[\"parent/56\",[4,1.23]],[\"name/57\",[58,62.497]],[\"parent/57\",[4,1.23]],[\"name/58\",[59,62.497]],[\"parent/58\",[4,1.23]],[\"name/59\",[60,62.497]],[\"parent/59\",[4,1.23]],[\"name/60\",[61,62.497]],[\"parent/60\",[4,1.23]],[\"name/61\",[62,62.497]],[\"parent/61\",[4,1.23]],[\"name/62\",[63,62.497]],[\"parent/62\",[4,1.23]],[\"name/63\",[64,62.497]],[\"parent/63\",[4,1.23]],[\"name/64\",[65,62.497]],[\"parent/64\",[4,1.23]],[\"name/65\",[66,62.497]],[\"parent/65\",[4,1.23]],[\"name/66\",[67,62.497]],[\"parent/66\",[4,1.23]],[\"name/67\",[68,62.497]],[\"parent/67\",[4,1.23]],[\"name/68\",[69,62.497]],[\"parent/68\",[4,1.23]],[\"name/69\",[70,62.497]],[\"parent/69\",[4,1.23]],[\"name/70\",[71,62.497]],[\"parent/70\",[4,1.23]],[\"name/71\",[72,62.497]],[\"parent/71\",[4,1.23]],[\"name/72\",[73,62.497]],[\"parent/72\",[4,1.23]],[\"name/73\",[74,62.497]],[\"parent/73\",[4,1.23]],[\"name/74\",[75,62.497]],[\"parent/74\",[4,1.23]],[\"name/75\",[76,62.497]],[\"parent/75\",[4,1.23]],[\"name/76\",[77,62.497]],[\"parent/76\",[4,1.23]],[\"name/77\",[78,62.497]],[\"parent/77\",[4,1.23]],[\"name/78\",[79,62.497]],[\"parent/78\",[4,1.23]],[\"name/79\",[80,62.497]],[\"parent/79\",[4,1.23]],[\"name/80\",[81,62.497]],[\"parent/80\",[4,1.23]],[\"name/81\",[82,62.497]],[\"parent/81\",[4,1.23]],[\"name/82\",[83,43.492]],[\"parent/82\",[4,1.23]],[\"name/83\",[84,62.497]],[\"parent/83\",[4,1.23]],[\"name/84\",[85,62.497]],[\"parent/84\",[4,1.23]],[\"name/85\",[86,47.399]],[\"parent/85\",[4,1.23]],[\"name/86\",[87,62.497]],[\"parent/86\",[4,1.23]],[\"name/87\",[88,62.497]],[\"parent/87\",[4,1.23]],[\"name/88\",[89,62.497]],[\"parent/88\",[4,1.23]],[\"name/89\",[90,62.497]],[\"parent/89\",[4,1.23]],[\"name/90\",[91,62.497]],[\"parent/90\",[4,1.23]],[\"name/91\",[92,62.497]],[\"parent/91\",[4,1.23]],[\"name/92\",[93,62.497]],[\"parent/92\",[4,1.23]],[\"name/93\",[94,62.497]],[\"parent/93\",[4,1.23]],[\"name/94\",[95,62.497]],[\"parent/94\",[4,1.23]],[\"name/95\",[96,62.497]],[\"parent/95\",[4,1.23]],[\"name/96\",[97,57.238]],[\"parent/96\",[4,1.23]],[\"name/97\",[98,57.238]],[\"parent/97\",[4,1.23]],[\"name/98\",[99,57.238]],[\"parent/98\",[4,1.23]],[\"name/99\",[100,57.238]],[\"parent/99\",[4,1.23]],[\"name/100\",[101,57.238]],[\"parent/100\",[4,1.23]],[\"name/101\",[102,57.238]],[\"parent/101\",[4,1.23]],[\"name/102\",[103,57.238]],[\"parent/102\",[4,1.23]],[\"name/103\",[104,57.238]],[\"parent/103\",[4,1.23]],[\"name/104\",[105,57.238]],[\"parent/104\",[4,1.23]],[\"name/105\",[106,57.238]],[\"parent/105\",[4,1.23]],[\"name/106\",[107,62.497]],[\"parent/106\",[4,1.23]],[\"name/107\",[108,57.238]],[\"parent/107\",[4,1.23]],[\"name/108\",[109,62.497]],[\"parent/108\",[4,1.23]],[\"name/109\",[110,57.238]],[\"parent/109\",[4,1.23]],[\"name/110\",[111,62.497]],[\"parent/110\",[4,1.23]],[\"name/111\",[112,57.238]],[\"parent/111\",[4,1.23]],[\"name/112\",[113,62.497]],[\"parent/112\",[4,1.23]],[\"name/113\",[114,62.497]],[\"parent/113\",[4,1.23]],[\"name/114\",[115,62.497]],[\"parent/114\",[4,1.23]],[\"name/115\",[116,62.497]],[\"parent/115\",[4,1.23]],[\"name/116\",[117,62.497]],[\"parent/116\",[4,1.23]],[\"name/117\",[118,62.497]],[\"parent/117\",[4,1.23]],[\"name/118\",[119,62.497]],[\"parent/118\",[4,1.23]],[\"name/119\",[120,62.497]],[\"parent/119\",[4,1.23]],[\"name/120\",[121,57.238]],[\"parent/120\",[4,1.23]],[\"name/121\",[122,62.497]],[\"parent/121\",[4,1.23]],[\"name/122\",[123,62.497]],[\"parent/122\",[4,1.23]],[\"name/123\",[124,62.497]],[\"parent/123\",[4,1.23]],[\"name/124\",[125,62.497]],[\"parent/124\",[4,1.23]],[\"name/125\",[126,62.497]],[\"parent/125\",[4,1.23]],[\"name/126\",[127,62.497]],[\"parent/126\",[4,1.23]],[\"name/127\",[128,62.497]],[\"parent/127\",[4,1.23]],[\"name/128\",[129,62.497]],[\"parent/128\",[4,1.23]],[\"name/129\",[130,62.497]],[\"parent/129\",[4,1.23]],[\"name/130\",[131,53.773]],[\"parent/130\",[4,1.23]],[\"name/131\",[132,62.497]],[\"parent/131\",[4,1.23]],[\"name/132\",[133,62.497]],[\"parent/132\",[4,1.23]],[\"name/133\",[134,62.497]],[\"parent/133\",[4,1.23]],[\"name/134\",[135,62.497]],[\"parent/134\",[4,1.23]],[\"name/135\",[136,62.497]],[\"parent/135\",[4,1.23]],[\"name/136\",[137,62.497]],[\"parent/136\",[4,1.23]],[\"name/137\",[138,62.497]],[\"parent/137\",[4,1.23]],[\"name/138\",[139,62.497]],[\"parent/138\",[4,1.23]],[\"name/139\",[140,62.497]],[\"parent/139\",[4,1.23]],[\"name/140\",[141,62.497]],[\"parent/140\",[4,1.23]],[\"name/141\",[142,62.497]],[\"parent/141\",[4,1.23]],[\"name/142\",[143,62.497]],[\"parent/142\",[4,1.23]],[\"name/143\",[144,62.497]],[\"parent/143\",[4,1.23]],[\"name/144\",[145,62.497]],[\"parent/144\",[4,1.23]],[\"name/145\",[146,62.497]],[\"parent/145\",[4,1.23]],[\"name/146\",[147,62.497]],[\"parent/146\",[4,1.23]],[\"name/147\",[148,62.497]],[\"parent/147\",[4,1.23]],[\"name/148\",[149,62.497]],[\"parent/148\",[4,1.23]],[\"name/149\",[150,62.497]],[\"parent/149\",[4,1.23]],[\"name/150\",[151,62.497]],[\"parent/150\",[4,1.23]],[\"name/151\",[152,62.497]],[\"parent/151\",[4,1.23]],[\"name/152\",[153,62.497]],[\"parent/152\",[4,1.23]],[\"name/153\",[154,62.497]],[\"parent/153\",[4,1.23]],[\"name/154\",[155,62.497]],[\"parent/154\",[4,1.23]],[\"name/155\",[156,62.497]],[\"parent/155\",[4,1.23]],[\"name/156\",[157,62.497]],[\"parent/156\",[4,1.23]],[\"name/157\",[158,62.497]],[\"parent/157\",[4,1.23]],[\"name/158\",[159,62.497]],[\"parent/158\",[4,1.23]],[\"name/159\",[160,62.497]],[\"parent/159\",[4,1.23]],[\"name/160\",[161,62.497]],[\"parent/160\",[4,1.23]],[\"name/161\",[162,62.497]],[\"parent/161\",[4,1.23]],[\"name/162\",[163,62.497]],[\"parent/162\",[4,1.23]],[\"name/163\",[164,62.497]],[\"parent/163\",[4,1.23]],[\"name/164\",[165,62.497]],[\"parent/164\",[4,1.23]],[\"name/165\",[166,53.773]],[\"parent/165\",[4,1.23]],[\"name/166\",[167,62.497]],[\"parent/166\",[4,1.23]],[\"name/167\",[168,62.497]],[\"parent/167\",[4,1.23]],[\"name/168\",[169,44.637]],[\"parent/168\",[4,1.23]],[\"name/169\",[170,62.497]],[\"parent/169\",[4,1.23]],[\"name/170\",[171,62.497]],[\"parent/170\",[4,1.23]],[\"name/171\",[172,62.497]],[\"parent/171\",[4,1.23]],[\"name/172\",[173,62.497]],[\"parent/172\",[4,1.23]],[\"name/173\",[174,62.497]],[\"parent/173\",[4,1.23]],[\"name/174\",[175,62.497]],[\"parent/174\",[4,1.23]],[\"name/175\",[176,62.497]],[\"parent/175\",[4,1.23]],[\"name/176\",[177,62.497]],[\"parent/176\",[4,1.23]],[\"name/177\",[178,62.497]],[\"parent/177\",[4,1.23]],[\"name/178\",[179,62.497]],[\"parent/178\",[4,1.23]],[\"name/179\",[180,62.497]],[\"parent/179\",[4,1.23]],[\"name/180\",[181,62.497]],[\"parent/180\",[4,1.23]],[\"name/181\",[182,62.497]],[\"parent/181\",[4,1.23]],[\"name/182\",[183,62.497]],[\"parent/182\",[4,1.23]],[\"name/183\",[184,62.497]],[\"parent/183\",[4,1.23]],[\"name/184\",[185,62.497]],[\"parent/184\",[4,1.23]],[\"name/185\",[186,57.238]],[\"parent/185\",[4,1.23]],[\"name/186\",[187,57.238]],[\"parent/186\",[4,1.23]],[\"name/187\",[188,62.497]],[\"parent/187\",[0,2.958]],[\"name/188\",[187,57.238]],[\"parent/188\",[0,2.958]],[\"name/189\",[189,42.462]],[\"parent/189\",[0,2.958]],[\"name/190\",[190,57.238]],[\"parent/190\",[0,2.958]],[\"name/191\",[191,57.238]],[\"parent/191\",[0,2.958]],[\"name/192\",[192,57.238]],[\"parent/192\",[0,2.958]],[\"name/193\",[193,62.497]],[\"parent/193\",[0,2.958]],[\"name/194\",[194,62.497]],[\"parent/194\",[0,2.958]],[\"name/195\",[195,62.497]],[\"parent/195\",[0,2.958]],[\"name/196\",[196,62.497]],[\"parent/196\",[0,2.958]],[\"name/197\",[197,27.593]],[\"parent/197\",[]],[\"name/198\",[198,62.497]],[\"parent/198\",[197,2.621]],[\"name/199\",[199,62.497]],[\"parent/199\",[197,2.621]],[\"name/200\",[200,62.497]],[\"parent/200\",[197,2.621]],[\"name/201\",[201,25.135]],[\"parent/201\",[202,5.936]],[\"name/202\",[189,42.462]],[\"parent/202\",[203,4.131]],[\"name/203\",[204,43.492]],[\"parent/203\",[203,4.131]],[\"name/204\",[205,43.492]],[\"parent/204\",[203,4.131]],[\"name/205\",[169,44.637]],[\"parent/205\",[203,4.131]],[\"name/206\",[206,53.773]],[\"parent/206\",[203,4.131]],[\"name/207\",[207,62.497]],[\"parent/207\",[203,4.131]],[\"name/208\",[208,34.615]],[\"parent/208\",[203,4.131]],[\"name/209\",[209,62.497]],[\"parent/209\",[203,4.131]],[\"name/210\",[210,62.497]],[\"parent/210\",[203,4.131]],[\"name/211\",[211,62.497]],[\"parent/211\",[197,2.621]],[\"name/212\",[212,62.497]],[\"parent/212\",[197,2.621]],[\"name/213\",[201,25.135]],[\"parent/213\",[213,5.936]],[\"name/214\",[214,62.497]],[\"parent/214\",[215,5.436]],[\"name/215\",[216,62.497]],[\"parent/215\",[215,5.436]],[\"name/216\",[217,62.497]],[\"parent/216\",[197,2.621]],[\"name/217\",[218,62.497]],[\"parent/217\",[197,2.621]],[\"name/218\",[219,62.497]],[\"parent/218\",[197,2.621]],[\"name/219\",[220,62.497]],[\"parent/219\",[197,2.621]],[\"name/220\",[221,62.497]],[\"parent/220\",[197,2.621]],[\"name/221\",[201,25.135]],[\"parent/221\",[222,5.936]],[\"name/222\",[97,57.238]],[\"parent/222\",[223,2.666]],[\"name/223\",[224,57.238]],[\"parent/223\",[223,2.666]],[\"name/224\",[225,57.238]],[\"parent/224\",[223,2.666]],[\"name/225\",[226,57.238]],[\"parent/225\",[223,2.666]],[\"name/226\",[121,57.238]],[\"parent/226\",[223,2.666]],[\"name/227\",[205,43.492]],[\"parent/227\",[223,2.666]],[\"name/228\",[86,47.399]],[\"parent/228\",[223,2.666]],[\"name/229\",[227,57.238]],[\"parent/229\",[223,2.666]],[\"name/230\",[206,53.773]],[\"parent/230\",[223,2.666]],[\"name/231\",[166,53.773]],[\"parent/231\",[223,2.666]],[\"name/232\",[228,62.497]],[\"parent/232\",[223,2.666]],[\"name/233\",[229,62.497]],[\"parent/233\",[223,2.666]],[\"name/234\",[230,57.238]],[\"parent/234\",[223,2.666]],[\"name/235\",[231,57.238]],[\"parent/235\",[223,2.666]],[\"name/236\",[131,53.773]],[\"parent/236\",[223,2.666]],[\"name/237\",[232,62.497]],[\"parent/237\",[223,2.666]],[\"name/238\",[98,57.238]],[\"parent/238\",[223,2.666]],[\"name/239\",[233,62.497]],[\"parent/239\",[223,2.666]],[\"name/240\",[234,62.497]],[\"parent/240\",[223,2.666]],[\"name/241\",[108,57.238]],[\"parent/241\",[223,2.666]],[\"name/242\",[235,62.497]],[\"parent/242\",[223,2.666]],[\"name/243\",[236,62.497]],[\"parent/243\",[223,2.666]],[\"name/244\",[237,62.497]],[\"parent/244\",[223,2.666]],[\"name/245\",[238,62.497]],[\"parent/245\",[223,2.666]],[\"name/246\",[239,62.497]],[\"parent/246\",[223,2.666]],[\"name/247\",[99,57.238]],[\"parent/247\",[223,2.666]],[\"name/248\",[100,57.238]],[\"parent/248\",[223,2.666]],[\"name/249\",[101,57.238]],[\"parent/249\",[223,2.666]],[\"name/250\",[102,57.238]],[\"parent/250\",[223,2.666]],[\"name/251\",[103,57.238]],[\"parent/251\",[223,2.666]],[\"name/252\",[104,57.238]],[\"parent/252\",[223,2.666]],[\"name/253\",[105,57.238]],[\"parent/253\",[223,2.666]],[\"name/254\",[106,57.238]],[\"parent/254\",[223,2.666]],[\"name/255\",[110,57.238]],[\"parent/255\",[223,2.666]],[\"name/256\",[240,62.497]],[\"parent/256\",[223,2.666]],[\"name/257\",[186,57.238]],[\"parent/257\",[223,2.666]],[\"name/258\",[241,62.497]],[\"parent/258\",[223,2.666]],[\"name/259\",[242,62.497]],[\"parent/259\",[223,2.666]],[\"name/260\",[243,62.497]],[\"parent/260\",[223,2.666]],[\"name/261\",[244,62.497]],[\"parent/261\",[223,2.666]],[\"name/262\",[245,62.497]],[\"parent/262\",[223,2.666]],[\"name/263\",[246,62.497]],[\"parent/263\",[223,2.666]],[\"name/264\",[247,62.497]],[\"parent/264\",[197,2.621]],[\"name/265\",[201,25.135]],[\"parent/265\",[248,5.936]],[\"name/266\",[189,42.462]],[\"parent/266\",[249,4.861]],[\"name/267\",[205,43.492]],[\"parent/267\",[249,4.861]],[\"name/268\",[204,43.492]],[\"parent/268\",[249,4.861]],[\"name/269\",[224,57.238]],[\"parent/269\",[249,4.861]],[\"name/270\",[250,62.497]],[\"parent/270\",[197,2.621]],[\"name/271\",[201,25.135]],[\"parent/271\",[251,5.936]],[\"name/272\",[205,43.492]],[\"parent/272\",[252,3.862]],[\"name/273\",[83,43.492]],[\"parent/273\",[252,3.862]],[\"name/274\",[86,47.399]],[\"parent/274\",[252,3.862]],[\"name/275\",[227,57.238]],[\"parent/275\",[252,3.862]],[\"name/276\",[225,57.238]],[\"parent/276\",[252,3.862]],[\"name/277\",[206,53.773]],[\"parent/277\",[252,3.862]],[\"name/278\",[253,62.497]],[\"parent/278\",[252,3.862]],[\"name/279\",[254,62.497]],[\"parent/279\",[252,3.862]],[\"name/280\",[255,62.497]],[\"parent/280\",[252,3.862]],[\"name/281\",[230,57.238]],[\"parent/281\",[252,3.862]],[\"name/282\",[231,57.238]],[\"parent/282\",[252,3.862]],[\"name/283\",[256,62.497]],[\"parent/283\",[252,3.862]],[\"name/284\",[257,62.497]],[\"parent/284\",[197,2.621]],[\"name/285\",[258,62.497]],[\"parent/285\",[197,2.621]],[\"name/286\",[201,25.135]],[\"parent/286\",[259,5.936]],[\"name/287\",[204,43.492]],[\"parent/287\",[260,4.362]],[\"name/288\",[261,57.238]],[\"parent/288\",[260,4.362]],[\"name/289\",[208,34.615]],[\"parent/289\",[260,4.362]],[\"name/290\",[262,62.497]],[\"parent/290\",[260,4.362]],[\"name/291\",[263,62.497]],[\"parent/291\",[260,4.362]],[\"name/292\",[264,62.497]],[\"parent/292\",[260,4.362]],[\"name/293\",[265,62.497]],[\"parent/293\",[260,4.362]],[\"name/294\",[266,62.497]],[\"parent/294\",[197,2.621]],[\"name/295\",[201,25.135]],[\"parent/295\",[267,5.936]],[\"name/296\",[189,42.462]],[\"parent/296\",[268,4.239]],[\"name/297\",[261,57.238]],[\"parent/297\",[268,4.239]],[\"name/298\",[269,41.525]],[\"parent/298\",[268,4.239]],[\"name/299\",[270,40.667]],[\"parent/299\",[268,4.239]],[\"name/300\",[205,43.492]],[\"parent/300\",[268,4.239]],[\"name/301\",[83,43.492]],[\"parent/301\",[268,4.239]],[\"name/302\",[271,57.238]],[\"parent/302\",[268,4.239]],[\"name/303\",[272,57.238]],[\"parent/303\",[268,4.239]],[\"name/304\",[273,62.497]],[\"parent/304\",[197,2.621]],[\"name/305\",[201,25.135]],[\"parent/305\",[274,5.936]],[\"name/306\",[275,62.497]],[\"parent/306\",[276,5.436]],[\"name/307\",[277,62.497]],[\"parent/307\",[276,5.436]],[\"name/308\",[278,62.497]],[\"parent/308\",[197,2.621]],[\"name/309\",[279,62.497]],[\"parent/309\",[197,2.621]],[\"name/310\",[280,62.497]],[\"parent/310\",[197,2.621]],[\"name/311\",[281,62.497]],[\"parent/311\",[197,2.621]],[\"name/312\",[201,25.135]],[\"parent/312\",[282,5.936]],[\"name/313\",[283,62.497]],[\"parent/313\",[284,3.862]],[\"name/314\",[285,62.497]],[\"parent/314\",[284,3.862]],[\"name/315\",[286,57.238]],[\"parent/315\",[284,3.862]],[\"name/316\",[287,62.497]],[\"parent/316\",[284,3.862]],[\"name/317\",[288,62.497]],[\"parent/317\",[284,3.862]],[\"name/318\",[289,62.497]],[\"parent/318\",[284,3.862]],[\"name/319\",[290,62.497]],[\"parent/319\",[284,3.862]],[\"name/320\",[291,62.497]],[\"parent/320\",[284,3.862]],[\"name/321\",[292,62.497]],[\"parent/321\",[284,3.862]],[\"name/322\",[83,43.492]],[\"parent/322\",[284,3.862]],[\"name/323\",[293,62.497]],[\"parent/323\",[284,3.862]],[\"name/324\",[201,25.135]],[\"parent/324\",[284,3.862]],[\"name/325\",[205,43.492]],[\"parent/325\",[294,5.436]],[\"name/326\",[270,40.667]],[\"parent/326\",[294,5.436]],[\"name/327\",[295,62.497]],[\"parent/327\",[197,2.621]],[\"name/328\",[201,25.135]],[\"parent/328\",[296,5.936]],[\"name/329\",[269,41.525]],[\"parent/329\",[297,5.107]],[\"name/330\",[270,40.667]],[\"parent/330\",[297,5.107]],[\"name/331\",[205,43.492]],[\"parent/331\",[297,5.107]],[\"name/332\",[298,62.497]],[\"parent/332\",[197,2.621]],[\"name/333\",[299,62.497]],[\"parent/333\",[197,2.621]],[\"name/334\",[300,62.497]],[\"parent/334\",[197,2.621]],[\"name/335\",[301,62.497]],[\"parent/335\",[197,2.621]],[\"name/336\",[201,25.135]],[\"parent/336\",[302,5.936]],[\"name/337\",[205,43.492]],[\"parent/337\",[303,3.533]],[\"name/338\",[83,43.492]],[\"parent/338\",[303,3.533]],[\"name/339\",[304,62.497]],[\"parent/339\",[303,3.533]],[\"name/340\",[305,57.238]],[\"parent/340\",[303,3.533]],[\"name/341\",[306,62.497]],[\"parent/341\",[303,3.533]],[\"name/342\",[307,62.497]],[\"parent/342\",[303,3.533]],[\"name/343\",[308,62.497]],[\"parent/343\",[303,3.533]],[\"name/344\",[309,62.497]],[\"parent/344\",[303,3.533]],[\"name/345\",[310,62.497]],[\"parent/345\",[303,3.533]],[\"name/346\",[311,62.497]],[\"parent/346\",[303,3.533]],[\"name/347\",[312,62.497]],[\"parent/347\",[303,3.533]],[\"name/348\",[313,62.497]],[\"parent/348\",[303,3.533]],[\"name/349\",[314,62.497]],[\"parent/349\",[303,3.533]],[\"name/350\",[315,62.497]],[\"parent/350\",[303,3.533]],[\"name/351\",[316,62.497]],[\"parent/351\",[303,3.533]],[\"name/352\",[169,44.637]],[\"parent/352\",[303,3.533]],[\"name/353\",[317,62.497]],[\"parent/353\",[303,3.533]],[\"name/354\",[318,62.497]],[\"parent/354\",[197,2.621]],[\"name/355\",[319,62.497]],[\"parent/355\",[197,2.621]],[\"name/356\",[320,62.497]],[\"parent/356\",[197,2.621]],[\"name/357\",[321,62.497]],[\"parent/357\",[197,2.621]],[\"name/358\",[201,25.135]],[\"parent/358\",[322,5.936]],[\"name/359\",[323,62.497]],[\"parent/359\",[324,4.362]],[\"name/360\",[325,62.497]],[\"parent/360\",[324,4.362]],[\"name/361\",[326,62.497]],[\"parent/361\",[324,4.362]],[\"name/362\",[83,43.492]],[\"parent/362\",[324,4.362]],[\"name/363\",[166,53.773]],[\"parent/363\",[324,4.362]],[\"name/364\",[327,62.497]],[\"parent/364\",[324,4.362]],[\"name/365\",[86,47.399]],[\"parent/365\",[324,4.362]],[\"name/366\",[328,62.497]],[\"parent/366\",[197,2.621]],[\"name/367\",[201,25.135]],[\"parent/367\",[329,5.936]],[\"name/368\",[205,43.492]],[\"parent/368\",[330,5.107]],[\"name/369\",[271,57.238]],[\"parent/369\",[330,5.107]],[\"name/370\",[272,57.238]],[\"parent/370\",[330,5.107]],[\"name/371\",[331,62.497]],[\"parent/371\",[197,2.621]],[\"name/372\",[201,25.135]],[\"parent/372\",[332,5.936]],[\"name/373\",[333,62.497]],[\"parent/373\",[197,2.621]],[\"name/374\",[201,25.135]],[\"parent/374\",[334,5.936]],[\"name/375\",[335,62.497]],[\"parent/375\",[336,4.239]],[\"name/376\",[83,43.492]],[\"parent/376\",[336,4.239]],[\"name/377\",[112,57.238]],[\"parent/377\",[336,4.239]],[\"name/378\",[337,62.497]],[\"parent/378\",[336,4.239]],[\"name/379\",[338,62.497]],[\"parent/379\",[336,4.239]],[\"name/380\",[131,53.773]],[\"parent/380\",[336,4.239]],[\"name/381\",[339,62.497]],[\"parent/381\",[336,4.239]],[\"name/382\",[340,62.497]],[\"parent/382\",[336,4.239]],[\"name/383\",[341,62.497]],[\"parent/383\",[197,2.621]],[\"name/384\",[201,25.135]],[\"parent/384\",[342,5.936]],[\"name/385\",[343,57.238]],[\"parent/385\",[344,5.936]],[\"name/386\",[345,57.238]],[\"parent/386\",[197,2.621]],[\"name/387\",[346,62.497]],[\"parent/387\",[197,2.621]],[\"name/388\",[347,62.497]],[\"parent/388\",[197,2.621]],[\"name/389\",[348,62.497]],[\"parent/389\",[197,2.621]],[\"name/390\",[349,62.497]],[\"parent/390\",[197,2.621]],[\"name/391\",[350,62.497]],[\"parent/391\",[197,2.621]],[\"name/392\",[201,25.135]],[\"parent/392\",[351,5.936]],[\"name/393\",[352,62.497]],[\"parent/393\",[197,2.621]],[\"name/394\",[201,25.135]],[\"parent/394\",[353,5.936]],[\"name/395\",[86,47.399]],[\"parent/395\",[354,5.936]],[\"name/396\",[355,62.497]],[\"parent/396\",[197,2.621]],[\"name/397\",[356,62.497]],[\"parent/397\",[197,2.621]],[\"name/398\",[201,25.135]],[\"parent/398\",[357,5.936]],[\"name/399\",[358,62.497]],[\"parent/399\",[359,5.107]],[\"name/400\",[83,43.492]],[\"parent/400\",[359,5.107]],[\"name/401\",[86,47.399]],[\"parent/401\",[359,5.107]],[\"name/402\",[360,35.083]],[\"parent/402\",[]],[\"name/403\",[361,62.497]],[\"parent/403\",[360,3.332]],[\"name/404\",[362,62.497]],[\"parent/404\",[360,3.332]],[\"name/405\",[363,62.497]],[\"parent/405\",[360,3.332]],[\"name/406\",[364,62.497]],[\"parent/406\",[360,3.332]],[\"name/407\",[365,62.497]],[\"parent/407\",[360,3.332]],[\"name/408\",[366,62.497]],[\"parent/408\",[360,3.332]],[\"name/409\",[367,62.497]],[\"parent/409\",[360,3.332]],[\"name/410\",[368,62.497]],[\"parent/410\",[360,3.332]],[\"name/411\",[369,62.497]],[\"parent/411\",[360,3.332]],[\"name/412\",[370,62.497]],[\"parent/412\",[360,3.332]],[\"name/413\",[371,62.497]],[\"parent/413\",[360,3.332]],[\"name/414\",[372,62.497]],[\"parent/414\",[360,3.332]],[\"name/415\",[373,62.497]],[\"parent/415\",[360,3.332]],[\"name/416\",[374,62.497]],[\"parent/416\",[360,3.332]],[\"name/417\",[375,62.497]],[\"parent/417\",[360,3.332]],[\"name/418\",[376,62.497]],[\"parent/418\",[360,3.332]],[\"name/419\",[377,62.497]],[\"parent/419\",[360,3.332]],[\"name/420\",[191,57.238]],[\"parent/420\",[360,3.332]],[\"name/421\",[190,57.238]],[\"parent/421\",[360,3.332]],[\"name/422\",[192,57.238]],[\"parent/422\",[360,3.332]],[\"name/423\",[378,53.773]],[\"parent/423\",[]],[\"name/424\",[379,62.497]],[\"parent/424\",[378,5.107]],[\"name/425\",[201,25.135]],[\"parent/425\",[380,4.665]],[\"name/426\",[3,57.238]],[\"parent/426\",[380,4.665]],[\"name/427\",[381,62.497]],[\"parent/427\",[380,4.665]],[\"name/428\",[382,62.497]],[\"parent/428\",[380,4.665]],[\"name/429\",[343,57.238]],[\"parent/429\",[380,4.665]],[\"name/430\",[383,39.138]],[\"parent/430\",[]],[\"name/431\",[384,57.238]],[\"parent/431\",[383,3.717]],[\"name/432\",[385,57.238]],[\"parent/432\",[383,3.717]],[\"name/433\",[386,57.238]],[\"parent/433\",[383,3.717]],[\"name/434\",[387,62.497]],[\"parent/434\",[383,3.717]],[\"name/435\",[388,57.238]],[\"parent/435\",[383,3.717]],[\"name/436\",[389,57.238]],[\"parent/436\",[383,3.717]],[\"name/437\",[390,57.238]],[\"parent/437\",[383,3.717]],[\"name/438\",[391,57.238]],[\"parent/438\",[383,3.717]],[\"name/439\",[392,62.497]],[\"parent/439\",[383,3.717]],[\"name/440\",[393,62.497]],[\"parent/440\",[383,3.717]],[\"name/441\",[394,62.497]],[\"parent/441\",[383,3.717]],[\"name/442\",[395,62.497]],[\"parent/442\",[383,3.717]],[\"name/443\",[396,62.497]],[\"parent/443\",[383,3.717]],[\"name/444\",[397,49.12]],[\"parent/444\",[]],[\"name/445\",[397,49.12]],[\"parent/445\",[397,4.665]],[\"name/446\",[398,57.238]],[\"parent/446\",[397,4.665]],[\"name/447\",[397,49.12]],[\"parent/447\",[0,2.958]],[\"name/448\",[398,57.238]],[\"parent/448\",[0,2.958]],[\"name/449\",[399,57.238]],[\"parent/449\",[0,2.958]],[\"name/450\",[400,62.497]],[\"parent/450\",[0,2.958]],[\"name/451\",[401,62.497]],[\"parent/451\",[0,2.958]],[\"name/452\",[402,62.497]],[\"parent/452\",[0,2.958]],[\"name/453\",[403,62.497]],[\"parent/453\",[0,2.958]],[\"name/454\",[404,62.497]],[\"parent/454\",[0,2.958]],[\"name/455\",[384,57.238]],[\"parent/455\",[0,2.958]],[\"name/456\",[385,57.238]],[\"parent/456\",[0,2.958]],[\"name/457\",[386,57.238]],[\"parent/457\",[0,2.958]],[\"name/458\",[390,57.238]],[\"parent/458\",[0,2.958]],[\"name/459\",[388,57.238]],[\"parent/459\",[0,2.958]],[\"name/460\",[391,57.238]],[\"parent/460\",[0,2.958]],[\"name/461\",[389,57.238]],[\"parent/461\",[0,2.958]],[\"name/462\",[405,62.497]],[\"parent/462\",[0,2.958]],[\"name/463\",[345,57.238]],[\"parent/463\",[0,2.958]],[\"name/464\",[406,53.773]],[\"parent/464\",[0,2.958]],[\"name/465\",[406,53.773]],[\"parent/465\",[197,2.621]],[\"name/466\",[407,62.497]],[\"parent/466\",[408,2.713]],[\"name/467\",[409,62.497]],[\"parent/467\",[408,2.713]],[\"name/468\",[201,25.135]],[\"parent/468\",[410,5.936]],[\"name/469\",[269,41.525]],[\"parent/469\",[411,5.436]],[\"name/470\",[270,40.667]],[\"parent/470\",[411,5.436]],[\"name/471\",[412,62.497]],[\"parent/471\",[408,2.713]],[\"name/472\",[201,25.135]],[\"parent/472\",[413,5.936]],[\"name/473\",[414,53.773]],[\"parent/473\",[415,5.936]],[\"name/474\",[416,62.497]],[\"parent/474\",[408,2.713]],[\"name/475\",[201,25.135]],[\"parent/475\",[417,5.936]],[\"name/476\",[414,53.773]],[\"parent/476\",[418,5.436]],[\"name/477\",[419,62.497]],[\"parent/477\",[418,5.436]],[\"name/478\",[420,62.497]],[\"parent/478\",[408,2.713]],[\"name/479\",[201,25.135]],[\"parent/479\",[421,5.936]],[\"name/480\",[414,53.773]],[\"parent/480\",[422,5.936]],[\"name/481\",[423,62.497]],[\"parent/481\",[408,2.713]],[\"name/482\",[201,25.135]],[\"parent/482\",[424,5.936]],[\"name/483\",[269,41.525]],[\"parent/483\",[425,5.436]],[\"name/484\",[270,40.667]],[\"parent/484\",[425,5.436]],[\"name/485\",[426,62.497]],[\"parent/485\",[408,2.713]],[\"name/486\",[201,25.135]],[\"parent/486\",[427,5.936]],[\"name/487\",[269,41.525]],[\"parent/487\",[428,5.436]],[\"name/488\",[270,40.667]],[\"parent/488\",[428,5.436]],[\"name/489\",[429,62.497]],[\"parent/489\",[408,2.713]],[\"name/490\",[201,25.135]],[\"parent/490\",[430,5.936]],[\"name/491\",[269,41.525]],[\"parent/491\",[431,5.436]],[\"name/492\",[270,40.667]],[\"parent/492\",[431,5.436]],[\"name/493\",[432,62.497]],[\"parent/493\",[408,2.713]],[\"name/494\",[201,25.135]],[\"parent/494\",[433,5.936]],[\"name/495\",[269,41.525]],[\"parent/495\",[434,5.436]],[\"name/496\",[270,40.667]],[\"parent/496\",[434,5.436]],[\"name/497\",[435,62.497]],[\"parent/497\",[408,2.713]],[\"name/498\",[201,25.135]],[\"parent/498\",[436,5.936]],[\"name/499\",[269,41.525]],[\"parent/499\",[437,5.436]],[\"name/500\",[270,40.667]],[\"parent/500\",[437,5.436]],[\"name/501\",[438,62.497]],[\"parent/501\",[408,2.713]],[\"name/502\",[201,25.135]],[\"parent/502\",[439,5.936]],[\"name/503\",[269,41.525]],[\"parent/503\",[440,5.436]],[\"name/504\",[270,40.667]],[\"parent/504\",[440,5.436]],[\"name/505\",[441,62.497]],[\"parent/505\",[408,2.713]],[\"name/506\",[201,25.135]],[\"parent/506\",[442,5.936]],[\"name/507\",[269,41.525]],[\"parent/507\",[443,5.436]],[\"name/508\",[270,40.667]],[\"parent/508\",[443,5.436]],[\"name/509\",[444,62.497]],[\"parent/509\",[408,2.713]],[\"name/510\",[201,25.135]],[\"parent/510\",[445,5.936]],[\"name/511\",[269,41.525]],[\"parent/511\",[446,5.436]],[\"name/512\",[270,40.667]],[\"parent/512\",[446,5.436]],[\"name/513\",[447,62.497]],[\"parent/513\",[408,2.713]],[\"name/514\",[201,25.135]],[\"parent/514\",[448,5.936]],[\"name/515\",[208,34.615]],[\"parent/515\",[449,4.861]],[\"name/516\",[189,42.462]],[\"parent/516\",[449,4.861]],[\"name/517\",[204,43.492]],[\"parent/517\",[449,4.861]],[\"name/518\",[450,35.573]],[\"parent/518\",[449,4.861]],[\"name/519\",[451,62.497]],[\"parent/519\",[408,2.713]],[\"name/520\",[201,25.135]],[\"parent/520\",[452,5.936]],[\"name/521\",[208,34.615]],[\"parent/521\",[453,4.665]],[\"name/522\",[189,42.462]],[\"parent/522\",[453,4.665]],[\"name/523\",[204,43.492]],[\"parent/523\",[453,4.665]],[\"name/524\",[169,44.637]],[\"parent/524\",[453,4.665]],[\"name/525\",[450,35.573]],[\"parent/525\",[453,4.665]],[\"name/526\",[454,62.497]],[\"parent/526\",[408,2.713]],[\"name/527\",[201,25.135]],[\"parent/527\",[455,5.936]],[\"name/528\",[208,34.615]],[\"parent/528\",[456,5.107]],[\"name/529\",[169,44.637]],[\"parent/529\",[456,5.107]],[\"name/530\",[450,35.573]],[\"parent/530\",[456,5.107]],[\"name/531\",[457,62.497]],[\"parent/531\",[408,2.713]],[\"name/532\",[201,25.135]],[\"parent/532\",[458,5.936]],[\"name/533\",[208,34.615]],[\"parent/533\",[459,5.436]],[\"name/534\",[450,35.573]],[\"parent/534\",[459,5.436]],[\"name/535\",[460,62.497]],[\"parent/535\",[408,2.713]],[\"name/536\",[201,25.135]],[\"parent/536\",[461,5.936]],[\"name/537\",[208,34.615]],[\"parent/537\",[462,5.436]],[\"name/538\",[450,35.573]],[\"parent/538\",[462,5.436]],[\"name/539\",[463,62.497]],[\"parent/539\",[408,2.713]],[\"name/540\",[201,25.135]],[\"parent/540\",[464,5.936]],[\"name/541\",[208,34.615]],[\"parent/541\",[465,5.436]],[\"name/542\",[450,35.573]],[\"parent/542\",[465,5.436]],[\"name/543\",[466,62.497]],[\"parent/543\",[408,2.713]],[\"name/544\",[201,25.135]],[\"parent/544\",[467,5.936]],[\"name/545\",[208,34.615]],[\"parent/545\",[468,5.436]],[\"name/546\",[450,35.573]],[\"parent/546\",[468,5.436]],[\"name/547\",[469,62.497]],[\"parent/547\",[408,2.713]],[\"name/548\",[201,25.135]],[\"parent/548\",[470,5.936]],[\"name/549\",[208,34.615]],[\"parent/549\",[471,5.436]],[\"name/550\",[450,35.573]],[\"parent/550\",[471,5.436]],[\"name/551\",[472,62.497]],[\"parent/551\",[408,2.713]],[\"name/552\",[201,25.135]],[\"parent/552\",[473,5.936]],[\"name/553\",[208,34.615]],[\"parent/553\",[474,5.107]],[\"name/554\",[204,43.492]],[\"parent/554\",[474,5.107]],[\"name/555\",[450,35.573]],[\"parent/555\",[474,5.107]],[\"name/556\",[475,62.497]],[\"parent/556\",[408,2.713]],[\"name/557\",[201,25.135]],[\"parent/557\",[476,5.936]],[\"name/558\",[208,34.615]],[\"parent/558\",[477,5.107]],[\"name/559\",[189,42.462]],[\"parent/559\",[477,5.107]],[\"name/560\",[450,35.573]],[\"parent/560\",[477,5.107]],[\"name/561\",[478,62.497]],[\"parent/561\",[408,2.713]],[\"name/562\",[201,25.135]],[\"parent/562\",[479,5.936]],[\"name/563\",[208,34.615]],[\"parent/563\",[480,4.861]],[\"name/564\",[189,42.462]],[\"parent/564\",[480,4.861]],[\"name/565\",[204,43.492]],[\"parent/565\",[480,4.861]],[\"name/566\",[450,35.573]],[\"parent/566\",[480,4.861]],[\"name/567\",[481,62.497]],[\"parent/567\",[408,2.713]],[\"name/568\",[201,25.135]],[\"parent/568\",[482,5.936]],[\"name/569\",[208,34.615]],[\"parent/569\",[483,4.665]],[\"name/570\",[189,42.462]],[\"parent/570\",[483,4.665]],[\"name/571\",[204,43.492]],[\"parent/571\",[483,4.665]],[\"name/572\",[169,44.637]],[\"parent/572\",[483,4.665]],[\"name/573\",[450,35.573]],[\"parent/573\",[483,4.665]],[\"name/574\",[484,62.497]],[\"parent/574\",[408,2.713]],[\"name/575\",[201,25.135]],[\"parent/575\",[485,5.936]],[\"name/576\",[208,34.615]],[\"parent/576\",[486,5.107]],[\"name/577\",[169,44.637]],[\"parent/577\",[486,5.107]],[\"name/578\",[450,35.573]],[\"parent/578\",[486,5.107]],[\"name/579\",[487,62.497]],[\"parent/579\",[408,2.713]],[\"name/580\",[201,25.135]],[\"parent/580\",[488,5.936]],[\"name/581\",[208,34.615]],[\"parent/581\",[489,5.436]],[\"name/582\",[450,35.573]],[\"parent/582\",[489,5.436]],[\"name/583\",[490,62.497]],[\"parent/583\",[408,2.713]],[\"name/584\",[201,25.135]],[\"parent/584\",[491,5.936]],[\"name/585\",[208,34.615]],[\"parent/585\",[492,5.436]],[\"name/586\",[450,35.573]],[\"parent/586\",[492,5.436]],[\"name/587\",[493,62.497]],[\"parent/587\",[408,2.713]],[\"name/588\",[201,25.135]],[\"parent/588\",[494,5.936]],[\"name/589\",[208,34.615]],[\"parent/589\",[495,5.436]],[\"name/590\",[450,35.573]],[\"parent/590\",[495,5.436]],[\"name/591\",[496,62.497]],[\"parent/591\",[408,2.713]],[\"name/592\",[201,25.135]],[\"parent/592\",[497,5.936]],[\"name/593\",[208,34.615]],[\"parent/593\",[498,5.436]],[\"name/594\",[450,35.573]],[\"parent/594\",[498,5.436]],[\"name/595\",[499,62.497]],[\"parent/595\",[408,2.713]],[\"name/596\",[201,25.135]],[\"parent/596\",[500,5.936]],[\"name/597\",[208,34.615]],[\"parent/597\",[501,5.436]],[\"name/598\",[450,35.573]],[\"parent/598\",[501,5.436]],[\"name/599\",[502,62.497]],[\"parent/599\",[408,2.713]],[\"name/600\",[201,25.135]],[\"parent/600\",[503,5.936]],[\"name/601\",[208,34.615]],[\"parent/601\",[504,5.107]],[\"name/602\",[204,43.492]],[\"parent/602\",[504,5.107]],[\"name/603\",[450,35.573]],[\"parent/603\",[504,5.107]],[\"name/604\",[505,62.497]],[\"parent/604\",[408,2.713]],[\"name/605\",[201,25.135]],[\"parent/605\",[506,5.936]],[\"name/606\",[208,34.615]],[\"parent/606\",[507,5.107]],[\"name/607\",[189,42.462]],[\"parent/607\",[507,5.107]],[\"name/608\",[450,35.573]],[\"parent/608\",[507,5.107]],[\"name/609\",[508,62.497]],[\"parent/609\",[408,2.713]],[\"name/610\",[509,62.497]],[\"parent/610\",[408,2.713]],[\"name/611\",[510,62.497]],[\"parent/611\",[408,2.713]],[\"name/612\",[511,62.497]],[\"parent/612\",[408,2.713]],[\"name/613\",[512,62.497]],[\"parent/613\",[408,2.713]],[\"name/614\",[201,25.135]],[\"parent/614\",[513,5.936]],[\"name/615\",[514,62.497]],[\"parent/615\",[408,2.713]],[\"name/616\",[201,25.135]],[\"parent/616\",[515,5.936]],[\"name/617\",[516,62.497]],[\"parent/617\",[408,2.713]],[\"name/618\",[201,25.135]],[\"parent/618\",[517,5.936]],[\"name/619\",[406,53.773]],[\"parent/619\",[378,5.107]],[\"name/620\",[83,16.947,518,12.539,519,24.352,520,24.352,521,22.303]],[\"parent/620\",[]],[\"name/621\",[305,26.319,518,14.797,522,28.737,523,28.737]],[\"parent/621\",[]],[\"name/622\",[518,18.047,524,35.048,525,32.098]],[\"parent/622\",[]],[\"name/623\",[518,18.047,525,32.098,526,35.048]],[\"parent/623\",[]],[\"name/624\",[518,18.047,521,32.098,527,35.048]],[\"parent/624\",[]],[\"name/625\",[518,23.125,528,44.91]],[\"parent/625\",[]],[\"name/626\",[518,23.125,529,44.91]],[\"parent/626\",[]],[\"name/627\",[518,23.125,530,44.91]],[\"parent/627\",[]],[\"name/628\",[518,23.125,531,41.131]],[\"parent/628\",[]],[\"name/629\",[518,23.125,531,41.131]],[\"parent/629\",[]],[\"name/630\",[518,23.125,532,44.91]],[\"parent/630\",[]],[\"name/631\",[518,18.047,533,35.048,534,35.048]],[\"parent/631\",[]],[\"name/632\",[518,18.047,535,35.048,536,35.048]],[\"parent/632\",[]],[\"name/633\",[518,23.125,537,44.91]],[\"parent/633\",[]],[\"name/634\",[518,23.125,538,44.91]],[\"parent/634\",[]],[\"name/635\",[518,23.125,539,44.91]],[\"parent/635\",[]],[\"name/636\",[518,23.125,540,44.91]],[\"parent/636\",[]],[\"name/637\",[518,18.047,541,35.048,542,35.048]],[\"parent/637\",[]],[\"name/638\",[2,19.35,399,19.35,518,10.879,543,21.128,544,21.128,545,21.128]],[\"parent/638\",[]],[\"name/639\",[518,23.125,546,44.91]],[\"parent/639\",[]],[\"name/640\",[226,26.319,286,26.319,518,14.797,547,28.737]],[\"parent/640\",[]],[\"name/641\",[518,18.047,548,35.048,549,35.048]],[\"parent/641\",[]],[\"name/642\",[518,18.047,550,35.048,551,35.048]],[\"parent/642\",[]],[\"name/643\",[518,18.047,552,35.048,553,35.048]],[\"parent/643\",[]],[\"name/644\",[169,25.032,518,18.047,554,35.048]],[\"parent/644\",[]],[\"name/645\",[518,23.125,555,44.91]],[\"parent/645\",[]],[\"name/646\",[518,23.125,556,44.91]],[\"parent/646\",[]],[\"name/647\",[518,23.125,557,44.91]],[\"parent/647\",[]]],\"invertedIndex\":[[\"\",{\"_index\":522,\"name\":{\"621\":{}},\"parent\":{}}],[\"__type\",{\"_index\":201,\"name\":{\"201\":{},\"213\":{},\"221\":{},\"265\":{},\"271\":{},\"286\":{},\"295\":{},\"305\":{},\"312\":{},\"324\":{},\"328\":{},\"336\":{},\"358\":{},\"367\":{},\"372\":{},\"374\":{},\"384\":{},\"392\":{},\"394\":{},\"398\":{},\"425\":{},\"468\":{},\"472\":{},\"475\":{},\"479\":{},\"482\":{},\"486\":{},\"490\":{},\"494\":{},\"498\":{},\"502\":{},\"506\":{},\"510\":{},\"514\":{},\"520\":{},\"527\":{},\"532\":{},\"536\":{},\"540\":{},\"544\":{},\"548\":{},\"552\":{},\"557\":{},\"562\":{},\"568\":{},\"575\":{},\"580\":{},\"584\":{},\"588\":{},\"592\":{},\"596\":{},\"600\":{},\"605\":{},\"614\":{},\"616\":{},\"618\":{}},\"parent\":{}}],[\"_actions\",{\"_index\":10,\"name\":{\"9\":{}},\"parent\":{}}],[\"_active_state_style\",{\"_index\":76,\"name\":{\"75\":{}},\"parent\":{}}],[\"_any_action_hook\",{\"_index\":47,\"name\":{\"46\":{}},\"parent\":{}}],[\"_any_transition_hook\",{\"_index\":51,\"name\":{\"50\":{}},\"parent\":{}}],[\"_arrange_declaration\",{\"_index\":30,\"name\":{\"29\":{}},\"parent\":{}}],[\"_arrange_end_declaration\",{\"_index\":32,\"name\":{\"31\":{}},\"parent\":{}}],[\"_arrange_start_declaration\",{\"_index\":31,\"name\":{\"30\":{}},\"parent\":{}}],[\"_data\",{\"_index\":27,\"name\":{\"26\":{}},\"parent\":{}}],[\"_default_properties\",{\"_index\":70,\"name\":{\"69\":{}},\"parent\":{}}],[\"_dot_preamble\",{\"_index\":29,\"name\":{\"28\":{}},\"parent\":{}}],[\"_edge_map\",{\"_index\":8,\"name\":{\"7\":{}},\"parent\":{}}],[\"_edges\",{\"_index\":7,\"name\":{\"6\":{}},\"parent\":{}}],[\"_end_state_style\",{\"_index\":80,\"name\":{\"79\":{}},\"parent\":{}}],[\"_end_states\",{\"_index\":14,\"name\":{\"13\":{}},\"parent\":{}}],[\"_entry_hooks\",{\"_index\":44,\"name\":{\"43\":{}},\"parent\":{}}],[\"_exit_hooks\",{\"_index\":45,\"name\":{\"44\":{}},\"parent\":{}}],[\"_flow\",{\"_index\":34,\"name\":{\"33\":{}},\"parent\":{}}],[\"_forced_transition_hook\",{\"_index\":50,\"name\":{\"49\":{}},\"parent\":{}}],[\"_fsl_version\",{\"_index\":23,\"name\":{\"22\":{}},\"parent\":{}}],[\"_global_action_hooks\",{\"_index\":46,\"name\":{\"45\":{}},\"parent\":{}}],[\"_graph_layout\",{\"_index\":28,\"name\":{\"27\":{}},\"parent\":{}}],[\"_has_basic_hooks\",{\"_index\":36,\"name\":{\"35\":{}},\"parent\":{}}],[\"_has_entry_hooks\",{\"_index\":38,\"name\":{\"37\":{}},\"parent\":{}}],[\"_has_exit_hooks\",{\"_index\":39,\"name\":{\"38\":{}},\"parent\":{}}],[\"_has_global_action_hooks\",{\"_index\":40,\"name\":{\"39\":{}},\"parent\":{}}],[\"_has_hooks\",{\"_index\":35,\"name\":{\"34\":{}},\"parent\":{}}],[\"_has_named_hooks\",{\"_index\":37,\"name\":{\"36\":{}},\"parent\":{}}],[\"_has_post_basic_hooks\",{\"_index\":53,\"name\":{\"52\":{}},\"parent\":{}}],[\"_has_post_entry_hooks\",{\"_index\":55,\"name\":{\"54\":{}},\"parent\":{}}],[\"_has_post_exit_hooks\",{\"_index\":56,\"name\":{\"55\":{}},\"parent\":{}}],[\"_has_post_global_action_hooks\",{\"_index\":57,\"name\":{\"56\":{}},\"parent\":{}}],[\"_has_post_hooks\",{\"_index\":52,\"name\":{\"51\":{}},\"parent\":{}}],[\"_has_post_named_hooks\",{\"_index\":54,\"name\":{\"53\":{}},\"parent\":{}}],[\"_has_post_transition_hooks\",{\"_index\":58,\"name\":{\"57\":{}},\"parent\":{}}],[\"_has_transition_hooks\",{\"_index\":41,\"name\":{\"40\":{}},\"parent\":{}}],[\"_history\",{\"_index\":73,\"name\":{\"72\":{}},\"parent\":{}}],[\"_history_length\",{\"_index\":74,\"name\":{\"73\":{}},\"parent\":{}}],[\"_hooked_state_style\",{\"_index\":77,\"name\":{\"76\":{}},\"parent\":{}}],[\"_hooks\",{\"_index\":42,\"name\":{\"41\":{}},\"parent\":{}}],[\"_instance_name\",{\"_index\":26,\"name\":{\"25\":{}},\"parent\":{}}],[\"_machine_author\",{\"_index\":15,\"name\":{\"14\":{}},\"parent\":{}}],[\"_machine_comment\",{\"_index\":16,\"name\":{\"15\":{}},\"parent\":{}}],[\"_machine_contributor\",{\"_index\":17,\"name\":{\"16\":{}},\"parent\":{}}],[\"_machine_definition\",{\"_index\":18,\"name\":{\"17\":{}},\"parent\":{}}],[\"_machine_language\",{\"_index\":19,\"name\":{\"18\":{}},\"parent\":{}}],[\"_machine_license\",{\"_index\":20,\"name\":{\"19\":{}},\"parent\":{}}],[\"_machine_name\",{\"_index\":21,\"name\":{\"20\":{}},\"parent\":{}}],[\"_machine_version\",{\"_index\":22,\"name\":{\"21\":{}},\"parent\":{}}],[\"_main_transition_hook\",{\"_index\":49,\"name\":{\"48\":{}},\"parent\":{}}],[\"_named_hooks\",{\"_index\":43,\"name\":{\"42\":{}},\"parent\":{}}],[\"_named_transitions\",{\"_index\":9,\"name\":{\"8\":{}},\"parent\":{}}],[\"_new_state\",{\"_index\":82,\"name\":{\"81\":{}},\"parent\":{}}],[\"_post_any_action_hook\",{\"_index\":64,\"name\":{\"63\":{}},\"parent\":{}}],[\"_post_any_transition_hook\",{\"_index\":68,\"name\":{\"67\":{}},\"parent\":{}}],[\"_post_entry_hooks\",{\"_index\":61,\"name\":{\"60\":{}},\"parent\":{}}],[\"_post_exit_hooks\",{\"_index\":62,\"name\":{\"61\":{}},\"parent\":{}}],[\"_post_forced_transition_hook\",{\"_index\":67,\"name\":{\"66\":{}},\"parent\":{}}],[\"_post_global_action_hooks\",{\"_index\":63,\"name\":{\"62\":{}},\"parent\":{}}],[\"_post_hooks\",{\"_index\":59,\"name\":{\"58\":{}},\"parent\":{}}],[\"_post_main_transition_hook\",{\"_index\":66,\"name\":{\"65\":{}},\"parent\":{}}],[\"_post_named_hooks\",{\"_index\":60,\"name\":{\"59\":{}},\"parent\":{}}],[\"_post_standard_transition_hook\",{\"_index\":65,\"name\":{\"64\":{}},\"parent\":{}}],[\"_property_keys\",{\"_index\":69,\"name\":{\"68\":{}},\"parent\":{}}],[\"_raw_state_declaration\",{\"_index\":24,\"name\":{\"23\":{}},\"parent\":{}}],[\"_required_properties\",{\"_index\":72,\"name\":{\"71\":{}},\"parent\":{}}],[\"_reverse_action_targets\",{\"_index\":12,\"name\":{\"11\":{}},\"parent\":{}}],[\"_reverse_actions\",{\"_index\":11,\"name\":{\"10\":{}},\"parent\":{}}],[\"_standard_transition_hook\",{\"_index\":48,\"name\":{\"47\":{}},\"parent\":{}}],[\"_start_state_style\",{\"_index\":79,\"name\":{\"78\":{}},\"parent\":{}}],[\"_start_states\",{\"_index\":13,\"name\":{\"12\":{}},\"parent\":{}}],[\"_state\",{\"_index\":5,\"name\":{\"4\":{}},\"parent\":{}}],[\"_state_declarations\",{\"_index\":25,\"name\":{\"24\":{}},\"parent\":{}}],[\"_state_labels\",{\"_index\":81,\"name\":{\"80\":{}},\"parent\":{}}],[\"_state_properties\",{\"_index\":71,\"name\":{\"70\":{}},\"parent\":{}}],[\"_state_style\",{\"_index\":75,\"name\":{\"74\":{}},\"parent\":{}}],[\"_states\",{\"_index\":6,\"name\":{\"5\":{}},\"parent\":{}}],[\"_terminal_state_style\",{\"_index\":78,\"name\":{\"77\":{}},\"parent\":{}}],[\"_themes\",{\"_index\":33,\"name\":{\"32\":{}},\"parent\":{}}],[\"a\",{\"_index\":544,\"name\":{\"638\":{}},\"parent\":{}}],[\"abstract_hook_step\",{\"_index\":195,\"name\":{\"195\":{}},\"parent\":{}}],[\"action\",{\"_index\":169,\"name\":{\"168\":{},\"205\":{},\"352\":{},\"524\":{},\"529\":{},\"572\":{},\"577\":{},\"644\":{}},\"parent\":{}}],[\"actions\",{\"_index\":131,\"name\":{\"130\":{},\"236\":{},\"380\":{}},\"parent\":{}}],[\"active\",{\"_index\":308,\"name\":{\"343\":{}},\"parent\":{}}],[\"active_end\",{\"_index\":311,\"name\":{\"346\":{}},\"parent\":{}}],[\"active_hooked\",{\"_index\":309,\"name\":{\"344\":{}},\"parent\":{}}],[\"active_start\",{\"_index\":310,\"name\":{\"345\":{}},\"parent\":{}}],[\"active_state_style\",{\"_index\":175,\"name\":{\"174\":{}},\"parent\":{}}],[\"active_terminal\",{\"_index\":312,\"name\":{\"347\":{}},\"parent\":{}}],[\"agg_as\",{\"_index\":275,\"name\":{\"306\":{}},\"parent\":{}}],[\"all_themes\",{\"_index\":119,\"name\":{\"118\":{}},\"parent\":{}}],[\"allow_empty\",{\"_index\":255,\"name\":{\"280\":{}},\"parent\":{}}],[\"allow_force\",{\"_index\":231,\"name\":{\"235\":{},\"282\":{}},\"parent\":{}}],[\"allow_islands\",{\"_index\":230,\"name\":{\"234\":{},\"281\":{}},\"parent\":{}}],[\"angular\",{\"_index\":530,\"name\":{\"627\":{}},\"parent\":{}}],[\"anyactionhook\",{\"_index\":457,\"name\":{\"531\":{}},\"parent\":{}}],[\"anytransitionhook\",{\"_index\":469,\"name\":{\"547\":{}},\"parent\":{}}],[\"api\",{\"_index\":526,\"name\":{\"623\":{}},\"parent\":{}}],[\"are\",{\"_index\":520,\"name\":{\"620\":{}},\"parent\":{}}],[\"arr_uniq_p\",{\"_index\":387,\"name\":{\"434\":{}},\"parent\":{}}],[\"arrange_declaration\",{\"_index\":237,\"name\":{\"244\":{}},\"parent\":{}}],[\"arrange_end_declaration\",{\"_index\":239,\"name\":{\"246\":{}},\"parent\":{}}],[\"arrange_start_declaration\",{\"_index\":238,\"name\":{\"245\":{}},\"parent\":{}}],[\"array_box_if_string\",{\"_index\":392,\"name\":{\"439\":{}},\"parent\":{}}],[\"arrow_direction\",{\"_index\":402,\"name\":{\"452\":{}},\"parent\":{}}],[\"arrow_left_kind\",{\"_index\":403,\"name\":{\"453\":{}},\"parent\":{}}],[\"arrow_right_kind\",{\"_index\":404,\"name\":{\"454\":{}},\"parent\":{}}],[\"auto_api\",{\"_index\":240,\"name\":{\"256\":{}},\"parent\":{}}],[\"aws\",{\"_index\":535,\"name\":{\"632\":{}},\"parent\":{}}],[\"backgroundcolor\",{\"_index\":291,\"name\":{\"320\":{}},\"parent\":{}}],[\"base_message\",{\"_index\":382,\"name\":{\"428\":{}},\"parent\":{}}],[\"basichookdescription\",{\"_index\":447,\"name\":{\"513\":{}},\"parent\":{}}],[\"bordercolor\",{\"_index\":292,\"name\":{\"321\":{}},\"parent\":{}}],[\"browser\",{\"_index\":534,\"name\":{\"631\":{}},\"parent\":{}}],[\"build_time\",{\"_index\":398,\"name\":{\"446\":{},\"448\":{}},\"parent\":{}}],[\"cdn\",{\"_index\":540,\"name\":{\"636\":{}},\"parent\":{}}],[\"changelog\",{\"_index\":557,\"name\":{\"647\":{}},\"parent\":{}}],[\"check\",{\"_index\":206,\"name\":{\"206\":{},\"230\":{},\"277\":{}},\"parent\":{}}],[\"cli\",{\"_index\":555,\"name\":{\"645\":{}},\"parent\":{}}],[\"color\",{\"_index\":286,\"name\":{\"315\":{},\"640\":{}},\"parent\":{}}],[\"comment\",{\"_index\":326,\"name\":{\"361\":{}},\"parent\":{}}],[\"community\",{\"_index\":556,\"name\":{\"646\":{}},\"parent\":{}}],[\"comparison\",{\"_index\":549,\"name\":{\"641\":{}},\"parent\":{}}],[\"compile\",{\"_index\":401,\"name\":{\"451\":{}},\"parent\":{}}],[\"complete\",{\"_index\":224,\"name\":{\"223\":{},\"269\":{}},\"parent\":{}}],[\"constants\",{\"_index\":405,\"name\":{\"462\":{}},\"parent\":{}}],[\"constructor\",{\"_index\":3,\"name\":{\"3\":{},\"426\":{}},\"parent\":{}}],[\"corners\",{\"_index\":287,\"name\":{\"316\":{}},\"parent\":{}}],[\"current_action_edge_for\",{\"_index\":182,\"name\":{\"181\":{}},\"parent\":{}}],[\"current_action_for\",{\"_index\":181,\"name\":{\"180\":{}},\"parent\":{}}],[\"data\",{\"_index\":86,\"name\":{\"85\":{},\"228\":{},\"274\":{},\"365\":{},\"395\":{},\"401\":{}},\"parent\":{}}],[\"declarations\",{\"_index\":283,\"name\":{\"313\":{}},\"parent\":{}}],[\"default_active_state_config\",{\"_index\":246,\"name\":{\"263\":{}},\"parent\":{}}],[\"default_end_state_config\",{\"_index\":243,\"name\":{\"260\":{}},\"parent\":{}}],[\"default_hooked_state_config\",{\"_index\":244,\"name\":{\"261\":{}},\"parent\":{}}],[\"default_start_state_config\",{\"_index\":242,\"name\":{\"259\":{}},\"parent\":{}}],[\"default_state_config\",{\"_index\":241,\"name\":{\"258\":{}},\"parent\":{}}],[\"default_terminal_state_config\",{\"_index\":245,\"name\":{\"262\":{}},\"parent\":{}}],[\"default_value\",{\"_index\":271,\"name\":{\"302\":{},\"369\":{}},\"parent\":{}}],[\"deserialize\",{\"_index\":188,\"name\":{\"187\":{}},\"parent\":{}}],[\"display_text\",{\"_index\":85,\"name\":{\"84\":{}},\"parent\":{}}],[\"do\",{\"_index\":177,\"name\":{\"176\":{}},\"parent\":{}}],[\"dot_preamble\",{\"_index\":98,\"name\":{\"97\":{},\"238\":{}},\"parent\":{}}],[\"e\",{\"_index\":365,\"name\":{\"407\":{}},\"parent\":{}}],[\"edge_map\",{\"_index\":338,\"name\":{\"379\":{}},\"parent\":{}}],[\"edges\",{\"_index\":340,\"name\":{\"382\":{}},\"parent\":{}}],[\"edges_between\",{\"_index\":164,\"name\":{\"163\":{}},\"parent\":{}}],[\"editor\",{\"_index\":553,\"name\":{\"643\":{}},\"parent\":{}}],[\"end\",{\"_index\":306,\"name\":{\"341\":{}},\"parent\":{}}],[\"end_state_style\",{\"_index\":173,\"name\":{\"172\":{}},\"parent\":{}}],[\"end_states\",{\"_index\":234,\"name\":{\"240\":{}},\"parent\":{}}],[\"entrances\",{\"_index\":214,\"name\":{\"214\":{}},\"parent\":{}}],[\"entryhook\",{\"_index\":472,\"name\":{\"551\":{}},\"parent\":{}}],[\"epsilon\",{\"_index\":363,\"name\":{\"405\":{}},\"parent\":{}}],[\"error\",{\"_index\":419,\"name\":{\"477\":{}},\"parent\":{}}],[\"eulerc\",{\"_index\":377,\"name\":{\"419\":{}},\"parent\":{}}],[\"example\",{\"_index\":527,\"name\":{\"624\":{}},\"parent\":{}}],[\"exithook\",{\"_index\":475,\"name\":{\"556\":{}},\"parent\":{}}],[\"exits\",{\"_index\":216,\"name\":{\"215\":{}},\"parent\":{}}],[\"feature\",{\"_index\":548,\"name\":{\"641\":{}},\"parent\":{}}],[\"files\",{\"_index\":542,\"name\":{\"637\":{}},\"parent\":{}}],[\"find_repeated\",{\"_index\":386,\"name\":{\"433\":{},\"457\":{}},\"parent\":{}}],[\"flow\",{\"_index\":121,\"name\":{\"120\":{},\"226\":{}},\"parent\":{}}],[\"force_transition\",{\"_index\":180,\"name\":{\"179\":{}},\"parent\":{}}],[\"forced\",{\"_index\":316,\"name\":{\"351\":{}},\"parent\":{}}],[\"forced_only\",{\"_index\":209,\"name\":{\"209\":{}},\"parent\":{}}],[\"forcedtransitionhook\",{\"_index\":466,\"name\":{\"543\":{}},\"parent\":{}}],[\"from\",{\"_index\":189,\"name\":{\"189\":{},\"202\":{},\"266\":{},\"296\":{},\"516\":{},\"522\":{},\"559\":{},\"564\":{},\"570\":{},\"607\":{}},\"parent\":{}}],[\"fsl_version\",{\"_index\":110,\"name\":{\"109\":{},\"255\":{}},\"parent\":{}}],[\"fsldirection\",{\"_index\":346,\"name\":{\"387\":{}},\"parent\":{}}],[\"fsldirections\",{\"_index\":345,\"name\":{\"386\":{},\"463\":{}},\"parent\":{}}],[\"fsltheme\",{\"_index\":348,\"name\":{\"389\":{}},\"parent\":{}}],[\"fslthemes\",{\"_index\":347,\"name\":{\"388\":{}},\"parent\":{}}],[\"get_transition_by_state_names\",{\"_index\":122,\"name\":{\"121\":{}},\"parent\":{}}],[\"github\",{\"_index\":554,\"name\":{\"644\":{}},\"parent\":{}}],[\"globalactionhook\",{\"_index\":454,\"name\":{\"526\":{}},\"parent\":{}}],[\"go\",{\"_index\":179,\"name\":{\"178\":{}},\"parent\":{}}],[\"graph\",{\"_index\":313,\"name\":{\"348\":{}},\"parent\":{}}],[\"graph_layout\",{\"_index\":97,\"name\":{\"96\":{},\"222\":{}},\"parent\":{}}],[\"gviz_shapes\",{\"_index\":191,\"name\":{\"191\":{},\"420\":{}},\"parent\":{}}],[\"handler\",{\"_index\":450,\"name\":{\"518\":{},\"525\":{},\"530\":{},\"534\":{},\"538\":{},\"542\":{},\"546\":{},\"550\":{},\"555\":{},\"560\":{},\"566\":{},\"573\":{},\"578\":{},\"582\":{},\"586\":{},\"590\":{},\"594\":{},\"598\":{},\"603\":{},\"608\":{}},\"parent\":{}}],[\"has_completes\",{\"_index\":142,\"name\":{\"141\":{}},\"parent\":{}}],[\"has_state\",{\"_index\":114,\"name\":{\"113\":{}},\"parent\":{}}],[\"has_terminals\",{\"_index\":139,\"name\":{\"138\":{}},\"parent\":{}}],[\"has_unenterables\",{\"_index\":136,\"name\":{\"135\":{}},\"parent\":{}}],[\"histograph\",{\"_index\":388,\"name\":{\"435\":{},\"459\":{}},\"parent\":{}}],[\"history\",{\"_index\":166,\"name\":{\"165\":{},\"231\":{},\"363\":{}},\"parent\":{}}],[\"history_capacity\",{\"_index\":327,\"name\":{\"364\":{}},\"parent\":{}}],[\"history_inclusive\",{\"_index\":167,\"name\":{\"166\":{}},\"parent\":{}}],[\"history_length\",{\"_index\":168,\"name\":{\"167\":{}},\"parent\":{}}],[\"hook\",{\"_index\":144,\"name\":{\"143\":{}},\"parent\":{}}],[\"hook_action\",{\"_index\":145,\"name\":{\"144\":{}},\"parent\":{}}],[\"hook_any_action\",{\"_index\":147,\"name\":{\"146\":{}},\"parent\":{}}],[\"hook_any_transition\",{\"_index\":151,\"name\":{\"150\":{}},\"parent\":{}}],[\"hook_entry\",{\"_index\":152,\"name\":{\"151\":{}},\"parent\":{}}],[\"hook_exit\",{\"_index\":153,\"name\":{\"152\":{}},\"parent\":{}}],[\"hook_forced_transition\",{\"_index\":150,\"name\":{\"149\":{}},\"parent\":{}}],[\"hook_global_action\",{\"_index\":146,\"name\":{\"145\":{}},\"parent\":{}}],[\"hook_main_transition\",{\"_index\":149,\"name\":{\"148\":{}},\"parent\":{}}],[\"hook_name\",{\"_index\":394,\"name\":{\"441\":{}},\"parent\":{}}],[\"hook_standard_transition\",{\"_index\":148,\"name\":{\"147\":{}},\"parent\":{}}],[\"hookcomplexresult\",{\"_index\":356,\"name\":{\"397\":{}},\"parent\":{}}],[\"hookcontext\",{\"_index\":352,\"name\":{\"393\":{}},\"parent\":{}}],[\"hookdescription\",{\"_index\":349,\"name\":{\"390\":{}},\"parent\":{}}],[\"hookdescriptionwithaction\",{\"_index\":451,\"name\":{\"519\":{}},\"parent\":{}}],[\"hooked\",{\"_index\":304,\"name\":{\"339\":{}},\"parent\":{}}],[\"hooked_state_style\",{\"_index\":171,\"name\":{\"170\":{}},\"parent\":{}}],[\"hookhandler\",{\"_index\":350,\"name\":{\"391\":{}},\"parent\":{}}],[\"hookresult\",{\"_index\":355,\"name\":{\"396\":{}},\"parent\":{}}],[\"instance_name\",{\"_index\":186,\"name\":{\"185\":{},\"257\":{}},\"parent\":{}}],[\"internal\",{\"_index\":406,\"name\":{\"464\":{},\"465\":{},\"619\":{}},\"parent\":{}}],[\"internal_state_impl_version\",{\"_index\":335,\"name\":{\"375\":{}},\"parent\":{}}],[\"is_complete\",{\"_index\":140,\"name\":{\"139\":{}},\"parent\":{}}],[\"is_end_state\",{\"_index\":93,\"name\":{\"92\":{}},\"parent\":{}}],[\"is_final\",{\"_index\":95,\"name\":{\"94\":{}},\"parent\":{}}],[\"is_hook_complex_result\",{\"_index\":194,\"name\":{\"194\":{}},\"parent\":{}}],[\"is_hook_rejection\",{\"_index\":193,\"name\":{\"193\":{}},\"parent\":{}}],[\"is_start_state\",{\"_index\":92,\"name\":{\"91\":{}},\"parent\":{}}],[\"is_terminal\",{\"_index\":137,\"name\":{\"136\":{}},\"parent\":{}}],[\"is_unenterable\",{\"_index\":135,\"name\":{\"134\":{}},\"parent\":{}}],[\"jssm\",{\"_index\":0,\"name\":{\"0\":{}},\"parent\":{\"1\":{},\"2\":{},\"187\":{},\"188\":{},\"189\":{},\"190\":{},\"191\":{},\"192\":{},\"193\":{},\"194\":{},\"195\":{},\"196\":{},\"447\":{},\"448\":{},\"449\":{},\"450\":{},\"451\":{},\"452\":{},\"453\":{},\"454\":{},\"455\":{},\"456\":{},\"457\":{},\"458\":{},\"459\":{},\"460\":{},\"461\":{},\"462\":{},\"463\":{},\"464\":{}}}],[\"jssm.machine\",{\"_index\":4,\"name\":{},\"parent\":{\"3\":{},\"4\":{},\"5\":{},\"6\":{},\"7\":{},\"8\":{},\"9\":{},\"10\":{},\"11\":{},\"12\":{},\"13\":{},\"14\":{},\"15\":{},\"16\":{},\"17\":{},\"18\":{},\"19\":{},\"20\":{},\"21\":{},\"22\":{},\"23\":{},\"24\":{},\"25\":{},\"26\":{},\"27\":{},\"28\":{},\"29\":{},\"30\":{},\"31\":{},\"32\":{},\"33\":{},\"34\":{},\"35\":{},\"36\":{},\"37\":{},\"38\":{},\"39\":{},\"40\":{},\"41\":{},\"42\":{},\"43\":{},\"44\":{},\"45\":{},\"46\":{},\"47\":{},\"48\":{},\"49\":{},\"50\":{},\"51\":{},\"52\":{},\"53\":{},\"54\":{},\"55\":{},\"56\":{},\"57\":{},\"58\":{},\"59\":{},\"60\":{},\"61\":{},\"62\":{},\"63\":{},\"64\":{},\"65\":{},\"66\":{},\"67\":{},\"68\":{},\"69\":{},\"70\":{},\"71\":{},\"72\":{},\"73\":{},\"74\":{},\"75\":{},\"76\":{},\"77\":{},\"78\":{},\"79\":{},\"80\":{},\"81\":{},\"82\":{},\"83\":{},\"84\":{},\"85\":{},\"86\":{},\"87\":{},\"88\":{},\"89\":{},\"90\":{},\"91\":{},\"92\":{},\"93\":{},\"94\":{},\"95\":{},\"96\":{},\"97\":{},\"98\":{},\"99\":{},\"100\":{},\"101\":{},\"102\":{},\"103\":{},\"104\":{},\"105\":{},\"106\":{},\"107\":{},\"108\":{},\"109\":{},\"110\":{},\"111\":{},\"112\":{},\"113\":{},\"114\":{},\"115\":{},\"116\":{},\"117\":{},\"118\":{},\"119\":{},\"120\":{},\"121\":{},\"122\":{},\"123\":{},\"124\":{},\"125\":{},\"126\":{},\"127\":{},\"128\":{},\"129\":{},\"130\":{},\"131\":{},\"132\":{},\"133\":{},\"134\":{},\"135\":{},\"136\":{},\"137\":{},\"138\":{},\"139\":{},\"140\":{},\"141\":{},\"142\":{},\"143\":{},\"144\":{},\"145\":{},\"146\":{},\"147\":{},\"148\":{},\"149\":{},\"150\":{},\"151\":{},\"152\":{},\"153\":{},\"154\":{},\"155\":{},\"156\":{},\"157\":{},\"158\":{},\"159\":{},\"160\":{},\"161\":{},\"162\":{},\"163\":{},\"164\":{},\"165\":{},\"166\":{},\"167\":{},\"168\":{},\"169\":{},\"170\":{},\"171\":{},\"172\":{},\"173\":{},\"174\":{},\"175\":{},\"176\":{},\"177\":{},\"178\":{},\"179\":{},\"180\":{},\"181\":{},\"182\":{},\"183\":{},\"184\":{},\"185\":{},\"186\":{}}}],[\"jssm_constants\",{\"_index\":360,\"name\":{\"402\":{}},\"parent\":{\"403\":{},\"404\":{},\"405\":{},\"406\":{},\"407\":{},\"408\":{},\"409\":{},\"410\":{},\"411\":{},\"412\":{},\"413\":{},\"414\":{},\"415\":{},\"416\":{},\"417\":{},\"418\":{},\"419\":{},\"420\":{},\"421\":{},\"422\":{}}}],[\"jssm_error\",{\"_index\":378,\"name\":{\"423\":{}},\"parent\":{\"424\":{},\"619\":{}}}],[\"jssm_error.jssmerror\",{\"_index\":380,\"name\":{},\"parent\":{\"425\":{},\"426\":{},\"427\":{},\"428\":{},\"429\":{}}}],[\"jssm_types\",{\"_index\":197,\"name\":{\"197\":{}},\"parent\":{\"198\":{},\"199\":{},\"200\":{},\"211\":{},\"212\":{},\"216\":{},\"217\":{},\"218\":{},\"219\":{},\"220\":{},\"264\":{},\"270\":{},\"284\":{},\"285\":{},\"294\":{},\"304\":{},\"308\":{},\"309\":{},\"310\":{},\"311\":{},\"327\":{},\"332\":{},\"333\":{},\"334\":{},\"335\":{},\"354\":{},\"355\":{},\"356\":{},\"357\":{},\"366\":{},\"371\":{},\"373\":{},\"383\":{},\"386\":{},\"387\":{},\"388\":{},\"389\":{},\"390\":{},\"391\":{},\"393\":{},\"396\":{},\"397\":{},\"465\":{}}}],[\"jssm_types..anyactionhook\",{\"_index\":458,\"name\":{},\"parent\":{\"532\":{}}}],[\"jssm_types..anyactionhook.__type\",{\"_index\":459,\"name\":{},\"parent\":{\"533\":{},\"534\":{}}}],[\"jssm_types..anytransitionhook\",{\"_index\":470,\"name\":{},\"parent\":{\"548\":{}}}],[\"jssm_types..anytransitionhook.__type\",{\"_index\":471,\"name\":{},\"parent\":{\"549\":{},\"550\":{}}}],[\"jssm_types..basichookdescription\",{\"_index\":448,\"name\":{},\"parent\":{\"514\":{}}}],[\"jssm_types..basichookdescription.__type\",{\"_index\":449,\"name\":{},\"parent\":{\"515\":{},\"516\":{},\"517\":{},\"518\":{}}}],[\"jssm_types..entryhook\",{\"_index\":473,\"name\":{},\"parent\":{\"552\":{}}}],[\"jssm_types..entryhook.__type\",{\"_index\":474,\"name\":{},\"parent\":{\"553\":{},\"554\":{},\"555\":{}}}],[\"jssm_types..exithook\",{\"_index\":476,\"name\":{},\"parent\":{\"557\":{}}}],[\"jssm_types..exithook.__type\",{\"_index\":477,\"name\":{},\"parent\":{\"558\":{},\"559\":{},\"560\":{}}}],[\"jssm_types..forcedtransitionhook\",{\"_index\":467,\"name\":{},\"parent\":{\"544\":{}}}],[\"jssm_types..forcedtransitionhook.__type\",{\"_index\":468,\"name\":{},\"parent\":{\"545\":{},\"546\":{}}}],[\"jssm_types..globalactionhook\",{\"_index\":455,\"name\":{},\"parent\":{\"527\":{}}}],[\"jssm_types..globalactionhook.__type\",{\"_index\":456,\"name\":{},\"parent\":{\"528\":{},\"529\":{},\"530\":{}}}],[\"jssm_types..hookdescriptionwithaction\",{\"_index\":452,\"name\":{},\"parent\":{\"520\":{}}}],[\"jssm_types..hookdescriptionwithaction.__type\",{\"_index\":453,\"name\":{},\"parent\":{\"521\":{},\"522\":{},\"523\":{},\"524\":{},\"525\":{}}}],[\"jssm_types..jssmfailure\",{\"_index\":417,\"name\":{},\"parent\":{\"475\":{}}}],[\"jssm_types..jssmfailure.__type\",{\"_index\":418,\"name\":{},\"parent\":{\"476\":{},\"477\":{}}}],[\"jssm_types..jssmincomplete\",{\"_index\":421,\"name\":{},\"parent\":{\"479\":{}}}],[\"jssm_types..jssmincomplete.__type\",{\"_index\":422,\"name\":{},\"parent\":{\"480\":{}}}],[\"jssm_types..jssmstatepermitter\",{\"_index\":515,\"name\":{},\"parent\":{\"616\":{}}}],[\"jssm_types..jssmstatestylebackgroundcolor\",{\"_index\":439,\"name\":{},\"parent\":{\"502\":{}}}],[\"jssm_types..jssmstatestylebackgroundcolor.__type\",{\"_index\":440,\"name\":{},\"parent\":{\"503\":{},\"504\":{}}}],[\"jssm_types..jssmstatestylebordercolor\",{\"_index\":445,\"name\":{},\"parent\":{\"510\":{}}}],[\"jssm_types..jssmstatestylebordercolor.__type\",{\"_index\":446,\"name\":{},\"parent\":{\"511\":{},\"512\":{}}}],[\"jssm_types..jssmstatestylecolor\",{\"_index\":427,\"name\":{},\"parent\":{\"486\":{}}}],[\"jssm_types..jssmstatestylecolor.__type\",{\"_index\":428,\"name\":{},\"parent\":{\"487\":{},\"488\":{}}}],[\"jssm_types..jssmstatestylecorners\",{\"_index\":433,\"name\":{},\"parent\":{\"494\":{}}}],[\"jssm_types..jssmstatestylecorners.__type\",{\"_index\":434,\"name\":{},\"parent\":{\"495\":{},\"496\":{}}}],[\"jssm_types..jssmstatestylelinestyle\",{\"_index\":436,\"name\":{},\"parent\":{\"498\":{}}}],[\"jssm_types..jssmstatestylelinestyle.__type\",{\"_index\":437,\"name\":{},\"parent\":{\"499\":{},\"500\":{}}}],[\"jssm_types..jssmstatestyleshape\",{\"_index\":424,\"name\":{},\"parent\":{\"482\":{}}}],[\"jssm_types..jssmstatestyleshape.__type\",{\"_index\":425,\"name\":{},\"parent\":{\"483\":{},\"484\":{}}}],[\"jssm_types..jssmstatestylestatelabel\",{\"_index\":442,\"name\":{},\"parent\":{\"506\":{}}}],[\"jssm_types..jssmstatestylestatelabel.__type\",{\"_index\":443,\"name\":{},\"parent\":{\"507\":{},\"508\":{}}}],[\"jssm_types..jssmstatestyletextcolor\",{\"_index\":430,\"name\":{},\"parent\":{\"490\":{}}}],[\"jssm_types..jssmstatestyletextcolor.__type\",{\"_index\":431,\"name\":{},\"parent\":{\"491\":{},\"492\":{}}}],[\"jssm_types..jssmsuccess\",{\"_index\":413,\"name\":{},\"parent\":{\"472\":{}}}],[\"jssm_types..jssmsuccess.__type\",{\"_index\":415,\"name\":{},\"parent\":{\"473\":{}}}],[\"jssm_types..jssmtransitioncycle\",{\"_index\":410,\"name\":{},\"parent\":{\"468\":{}}}],[\"jssm_types..jssmtransitioncycle.__type\",{\"_index\":411,\"name\":{},\"parent\":{\"469\":{},\"470\":{}}}],[\"jssm_types..jssmtransitionpermitter\",{\"_index\":513,\"name\":{},\"parent\":{\"614\":{}}}],[\"jssm_types..maintransitionhook\",{\"_index\":464,\"name\":{},\"parent\":{\"540\":{}}}],[\"jssm_types..maintransitionhook.__type\",{\"_index\":465,\"name\":{},\"parent\":{\"541\":{},\"542\":{}}}],[\"jssm_types..postanyactionhook\",{\"_index\":488,\"name\":{},\"parent\":{\"580\":{}}}],[\"jssm_types..postanyactionhook.__type\",{\"_index\":489,\"name\":{},\"parent\":{\"581\":{},\"582\":{}}}],[\"jssm_types..postanytransitionhook\",{\"_index\":500,\"name\":{},\"parent\":{\"596\":{}}}],[\"jssm_types..postanytransitionhook.__type\",{\"_index\":501,\"name\":{},\"parent\":{\"597\":{},\"598\":{}}}],[\"jssm_types..postbasichookdescription\",{\"_index\":479,\"name\":{},\"parent\":{\"562\":{}}}],[\"jssm_types..postbasichookdescription.__type\",{\"_index\":480,\"name\":{},\"parent\":{\"563\":{},\"564\":{},\"565\":{},\"566\":{}}}],[\"jssm_types..postentryhook\",{\"_index\":503,\"name\":{},\"parent\":{\"600\":{}}}],[\"jssm_types..postentryhook.__type\",{\"_index\":504,\"name\":{},\"parent\":{\"601\":{},\"602\":{},\"603\":{}}}],[\"jssm_types..postexithook\",{\"_index\":506,\"name\":{},\"parent\":{\"605\":{}}}],[\"jssm_types..postexithook.__type\",{\"_index\":507,\"name\":{},\"parent\":{\"606\":{},\"607\":{},\"608\":{}}}],[\"jssm_types..postforcedtransitionhook\",{\"_index\":497,\"name\":{},\"parent\":{\"592\":{}}}],[\"jssm_types..postforcedtransitionhook.__type\",{\"_index\":498,\"name\":{},\"parent\":{\"593\":{},\"594\":{}}}],[\"jssm_types..postglobalactionhook\",{\"_index\":485,\"name\":{},\"parent\":{\"575\":{}}}],[\"jssm_types..postglobalactionhook.__type\",{\"_index\":486,\"name\":{},\"parent\":{\"576\":{},\"577\":{},\"578\":{}}}],[\"jssm_types..posthookdescriptionwithaction\",{\"_index\":482,\"name\":{},\"parent\":{\"568\":{}}}],[\"jssm_types..posthookdescriptionwithaction.__type\",{\"_index\":483,\"name\":{},\"parent\":{\"569\":{},\"570\":{},\"571\":{},\"572\":{},\"573\":{}}}],[\"jssm_types..posthookhandler\",{\"_index\":517,\"name\":{},\"parent\":{\"618\":{}}}],[\"jssm_types..postmaintransitionhook\",{\"_index\":494,\"name\":{},\"parent\":{\"588\":{}}}],[\"jssm_types..postmaintransitionhook.__type\",{\"_index\":495,\"name\":{},\"parent\":{\"589\":{},\"590\":{}}}],[\"jssm_types..poststandardtransitionhook\",{\"_index\":491,\"name\":{},\"parent\":{\"584\":{}}}],[\"jssm_types..poststandardtransitionhook.__type\",{\"_index\":492,\"name\":{},\"parent\":{\"585\":{},\"586\":{}}}],[\"jssm_types..standardtransitionhook\",{\"_index\":461,\"name\":{},\"parent\":{\"536\":{}}}],[\"jssm_types..standardtransitionhook.__type\",{\"_index\":462,\"name\":{},\"parent\":{\"537\":{},\"538\":{}}}],[\"jssm_types.hookcomplexresult\",{\"_index\":357,\"name\":{},\"parent\":{\"398\":{}}}],[\"jssm_types.hookcomplexresult.__type\",{\"_index\":359,\"name\":{},\"parent\":{\"399\":{},\"400\":{},\"401\":{}}}],[\"jssm_types.hookcontext\",{\"_index\":353,\"name\":{},\"parent\":{\"394\":{}}}],[\"jssm_types.hookcontext.__type\",{\"_index\":354,\"name\":{},\"parent\":{\"395\":{}}}],[\"jssm_types.hookhandler\",{\"_index\":351,\"name\":{},\"parent\":{\"392\":{}}}],[\"jssm_types.jssmbasetheme\",{\"_index\":302,\"name\":{},\"parent\":{\"336\":{}}}],[\"jssm_types.jssmbasetheme.__type\",{\"_index\":303,\"name\":{},\"parent\":{\"337\":{},\"338\":{},\"339\":{},\"340\":{},\"341\":{},\"342\":{},\"343\":{},\"344\":{},\"345\":{},\"346\":{},\"347\":{},\"348\":{},\"349\":{},\"350\":{},\"351\":{},\"352\":{},\"353\":{}}}],[\"jssm_types.jssmcompilerule\",{\"_index\":274,\"name\":{},\"parent\":{\"305\":{}}}],[\"jssm_types.jssmcompilerule.__type\",{\"_index\":276,\"name\":{},\"parent\":{\"306\":{},\"307\":{}}}],[\"jssm_types.jssmcompilese\",{\"_index\":259,\"name\":{},\"parent\":{\"286\":{}}}],[\"jssm_types.jssmcompilese.__type\",{\"_index\":260,\"name\":{},\"parent\":{\"287\":{},\"288\":{},\"289\":{},\"290\":{},\"291\":{},\"292\":{},\"293\":{}}}],[\"jssm_types.jssmcompilesestart\",{\"_index\":267,\"name\":{},\"parent\":{\"295\":{}}}],[\"jssm_types.jssmcompilesestart.__type\",{\"_index\":268,\"name\":{},\"parent\":{\"296\":{},\"297\":{},\"298\":{},\"299\":{},\"300\":{},\"301\":{},\"302\":{},\"303\":{}}}],[\"jssm_types.jssmerrorextendedinfo\",{\"_index\":342,\"name\":{},\"parent\":{\"384\":{}}}],[\"jssm_types.jssmerrorextendedinfo.__type\",{\"_index\":344,\"name\":{},\"parent\":{\"385\":{}}}],[\"jssm_types.jssmgenericconfig\",{\"_index\":222,\"name\":{},\"parent\":{\"221\":{}}}],[\"jssm_types.jssmgenericconfig.__type\",{\"_index\":223,\"name\":{},\"parent\":{\"222\":{},\"223\":{},\"224\":{},\"225\":{},\"226\":{},\"227\":{},\"228\":{},\"229\":{},\"230\":{},\"231\":{},\"232\":{},\"233\":{},\"234\":{},\"235\":{},\"236\":{},\"237\":{},\"238\":{},\"239\":{},\"240\":{},\"241\":{},\"242\":{},\"243\":{},\"244\":{},\"245\":{},\"246\":{},\"247\":{},\"248\":{},\"249\":{},\"250\":{},\"251\":{},\"252\":{},\"253\":{},\"254\":{},\"255\":{},\"256\":{},\"257\":{},\"258\":{},\"259\":{},\"260\":{},\"261\":{},\"262\":{},\"263\":{}}}],[\"jssm_types.jssmgenericmachine\",{\"_index\":251,\"name\":{},\"parent\":{\"271\":{}}}],[\"jssm_types.jssmgenericmachine.__type\",{\"_index\":252,\"name\":{},\"parent\":{\"272\":{},\"273\":{},\"274\":{},\"275\":{},\"276\":{},\"277\":{},\"278\":{},\"279\":{},\"280\":{},\"281\":{},\"282\":{},\"283\":{}}}],[\"jssm_types.jssmgenericstate\",{\"_index\":248,\"name\":{},\"parent\":{\"265\":{}}}],[\"jssm_types.jssmgenericstate.__type\",{\"_index\":249,\"name\":{},\"parent\":{\"266\":{},\"267\":{},\"268\":{},\"269\":{}}}],[\"jssm_types.jssmmachineinternalstate\",{\"_index\":334,\"name\":{},\"parent\":{\"374\":{}}}],[\"jssm_types.jssmmachineinternalstate.__type\",{\"_index\":336,\"name\":{},\"parent\":{\"375\":{},\"376\":{},\"377\":{},\"378\":{},\"379\":{},\"380\":{},\"381\":{},\"382\":{}}}],[\"jssm_types.jssmparsefunctiontype\",{\"_index\":332,\"name\":{},\"parent\":{\"372\":{}}}],[\"jssm_types.jssmpropertydefinition\",{\"_index\":329,\"name\":{},\"parent\":{\"367\":{}}}],[\"jssm_types.jssmpropertydefinition.__type\",{\"_index\":330,\"name\":{},\"parent\":{\"368\":{},\"369\":{},\"370\":{}}}],[\"jssm_types.jssmserialization\",{\"_index\":322,\"name\":{},\"parent\":{\"358\":{}}}],[\"jssm_types.jssmserialization.__type\",{\"_index\":324,\"name\":{},\"parent\":{\"359\":{},\"360\":{},\"361\":{},\"362\":{},\"363\":{},\"364\":{},\"365\":{}}}],[\"jssm_types.jssmstatedeclaration\",{\"_index\":282,\"name\":{},\"parent\":{\"312\":{}}}],[\"jssm_types.jssmstatedeclaration.__type\",{\"_index\":284,\"name\":{},\"parent\":{\"313\":{},\"314\":{},\"315\":{},\"316\":{},\"317\":{},\"318\":{},\"319\":{},\"320\":{},\"321\":{},\"322\":{},\"323\":{},\"324\":{}}}],[\"jssm_types.jssmstatedeclaration.__type.__type\",{\"_index\":294,\"name\":{},\"parent\":{\"325\":{},\"326\":{}}}],[\"jssm_types.jssmstatedeclarationrule\",{\"_index\":296,\"name\":{},\"parent\":{\"328\":{}}}],[\"jssm_types.jssmstatedeclarationrule.__type\",{\"_index\":297,\"name\":{},\"parent\":{\"329\":{},\"330\":{},\"331\":{}}}],[\"jssm_types.jssmtransition\",{\"_index\":202,\"name\":{},\"parent\":{\"201\":{}}}],[\"jssm_types.jssmtransition.__type\",{\"_index\":203,\"name\":{},\"parent\":{\"202\":{},\"203\":{},\"204\":{},\"205\":{},\"206\":{},\"207\":{},\"208\":{},\"209\":{},\"210\":{}}}],[\"jssm_types.jssmtransitionlist\",{\"_index\":213,\"name\":{},\"parent\":{\"213\":{}}}],[\"jssm_types.jssmtransitionlist.__type\",{\"_index\":215,\"name\":{},\"parent\":{\"214\":{},\"215\":{}}}],[\"jssm_util\",{\"_index\":383,\"name\":{\"430\":{}},\"parent\":{\"431\":{},\"432\":{},\"433\":{},\"434\":{},\"435\":{},\"436\":{},\"437\":{},\"438\":{},\"439\":{},\"440\":{},\"441\":{},\"442\":{},\"443\":{}}}],[\"jssm_version\",{\"_index\":323,\"name\":{\"359\":{}},\"parent\":{}}],[\"jssmarrow\",{\"_index\":218,\"name\":{\"217\":{}},\"parent\":{}}],[\"jssmarrowdirection\",{\"_index\":220,\"name\":{\"219\":{}},\"parent\":{}}],[\"jssmarrowkind\",{\"_index\":219,\"name\":{\"218\":{}},\"parent\":{}}],[\"jssmbasetheme\",{\"_index\":301,\"name\":{\"335\":{}},\"parent\":{}}],[\"jssmcolor\",{\"_index\":198,\"name\":{\"198\":{}},\"parent\":{}}],[\"jssmcompilerule\",{\"_index\":273,\"name\":{\"304\":{}},\"parent\":{}}],[\"jssmcompilese\",{\"_index\":258,\"name\":{\"285\":{}},\"parent\":{}}],[\"jssmcompilesestart\",{\"_index\":266,\"name\":{\"294\":{}},\"parent\":{}}],[\"jssmcorner\",{\"_index\":510,\"name\":{\"611\":{}},\"parent\":{}}],[\"jssmerror\",{\"_index\":379,\"name\":{\"424\":{}},\"parent\":{}}],[\"jssmerrorextendedinfo\",{\"_index\":341,\"name\":{\"383\":{}},\"parent\":{}}],[\"jssmfailure\",{\"_index\":416,\"name\":{\"474\":{}},\"parent\":{}}],[\"jssmgenericconfig\",{\"_index\":221,\"name\":{\"220\":{}},\"parent\":{}}],[\"jssmgenericmachine\",{\"_index\":250,\"name\":{\"270\":{}},\"parent\":{}}],[\"jssmgenericstate\",{\"_index\":247,\"name\":{\"264\":{}},\"parent\":{}}],[\"jssmhistory\",{\"_index\":320,\"name\":{\"356\":{}},\"parent\":{}}],[\"jssmincomplete\",{\"_index\":420,\"name\":{\"478\":{}},\"parent\":{}}],[\"jssmlayout\",{\"_index\":319,\"name\":{\"355\":{}},\"parent\":{}}],[\"jssmlinestyle\",{\"_index\":511,\"name\":{\"612\":{}},\"parent\":{}}],[\"jssmmachineinternalstate\",{\"_index\":333,\"name\":{\"373\":{}},\"parent\":{}}],[\"jssmparsefunctiontype\",{\"_index\":331,\"name\":{\"371\":{}},\"parent\":{}}],[\"jssmparsetree\",{\"_index\":257,\"name\":{\"284\":{}},\"parent\":{}}],[\"jssmpermitted\",{\"_index\":278,\"name\":{\"308\":{}},\"parent\":{}}],[\"jssmpermittedopt\",{\"_index\":279,\"name\":{\"309\":{}},\"parent\":{}}],[\"jssmpropertydefinition\",{\"_index\":328,\"name\":{\"366\":{}},\"parent\":{}}],[\"jssmresult\",{\"_index\":280,\"name\":{\"310\":{}},\"parent\":{}}],[\"jssmserialization\",{\"_index\":321,\"name\":{\"357\":{}},\"parent\":{}}],[\"jssmshape\",{\"_index\":199,\"name\":{\"199\":{}},\"parent\":{}}],[\"jssmstateconfig\",{\"_index\":298,\"name\":{\"332\":{}},\"parent\":{}}],[\"jssmstatedeclaration\",{\"_index\":281,\"name\":{\"311\":{}},\"parent\":{}}],[\"jssmstatedeclarationrule\",{\"_index\":295,\"name\":{\"327\":{}},\"parent\":{}}],[\"jssmstatepermitter\",{\"_index\":514,\"name\":{\"615\":{}},\"parent\":{}}],[\"jssmstatepermittermaybearray\",{\"_index\":509,\"name\":{\"610\":{}},\"parent\":{}}],[\"jssmstatestylebackgroundcolor\",{\"_index\":438,\"name\":{\"501\":{}},\"parent\":{}}],[\"jssmstatestylebordercolor\",{\"_index\":444,\"name\":{\"509\":{}},\"parent\":{}}],[\"jssmstatestylecolor\",{\"_index\":426,\"name\":{\"485\":{}},\"parent\":{}}],[\"jssmstatestylecorners\",{\"_index\":432,\"name\":{\"493\":{}},\"parent\":{}}],[\"jssmstatestylekey\",{\"_index\":299,\"name\":{\"333\":{}},\"parent\":{}}],[\"jssmstatestylekeylist\",{\"_index\":300,\"name\":{\"334\":{}},\"parent\":{}}],[\"jssmstatestylelinestyle\",{\"_index\":435,\"name\":{\"497\":{}},\"parent\":{}}],[\"jssmstatestyleshape\",{\"_index\":423,\"name\":{\"481\":{}},\"parent\":{}}],[\"jssmstatestylestatelabel\",{\"_index\":441,\"name\":{\"505\":{}},\"parent\":{}}],[\"jssmstatestyletextcolor\",{\"_index\":429,\"name\":{\"489\":{}},\"parent\":{}}],[\"jssmsuccess\",{\"_index\":412,\"name\":{\"471\":{}},\"parent\":{}}],[\"jssmtheme\",{\"_index\":318,\"name\":{\"354\":{}},\"parent\":{}}],[\"jssmtransition\",{\"_index\":200,\"name\":{\"200\":{}},\"parent\":{}}],[\"jssmtransitioncycle\",{\"_index\":409,\"name\":{\"467\":{}},\"parent\":{}}],[\"jssmtransitionlist\",{\"_index\":212,\"name\":{\"212\":{}},\"parent\":{}}],[\"jssmtransitionpermitter\",{\"_index\":512,\"name\":{\"613\":{}},\"parent\":{}}],[\"jssmtransitionpermittermaybearray\",{\"_index\":508,\"name\":{\"609\":{}},\"parent\":{}}],[\"jssmtransitionrule\",{\"_index\":217,\"name\":{\"216\":{}},\"parent\":{}}],[\"jssmtransitions\",{\"_index\":211,\"name\":{\"211\":{}},\"parent\":{}}],[\"keep_history\",{\"_index\":256,\"name\":{\"283\":{}},\"parent\":{}}],[\"key\",{\"_index\":269,\"name\":{\"298\":{},\"329\":{},\"469\":{},\"483\":{},\"487\":{},\"491\":{},\"495\":{},\"499\":{},\"503\":{},\"507\":{},\"511\":{}},\"parent\":{}}],[\"kind\",{\"_index\":208,\"name\":{\"208\":{},\"289\":{},\"515\":{},\"521\":{},\"528\":{},\"533\":{},\"537\":{},\"541\":{},\"545\":{},\"549\":{},\"553\":{},\"558\":{},\"563\":{},\"569\":{},\"576\":{},\"581\":{},\"585\":{},\"589\":{},\"593\":{},\"597\":{},\"601\":{},\"606\":{}},\"parent\":{}}],[\"known_prop\",{\"_index\":90,\"name\":{\"89\":{}},\"parent\":{}}],[\"known_props\",{\"_index\":91,\"name\":{\"90\":{}},\"parent\":{}}],[\"l_action\",{\"_index\":262,\"name\":{\"290\":{}},\"parent\":{}}],[\"l_probability\",{\"_index\":264,\"name\":{\"292\":{}},\"parent\":{}}],[\"label_for\",{\"_index\":84,\"name\":{\"83\":{}},\"parent\":{}}],[\"lambda\",{\"_index\":536,\"name\":{\"632\":{}},\"parent\":{}}],[\"language\",{\"_index\":524,\"name\":{\"622\":{}},\"parent\":{}}],[\"large\",{\"_index\":545,\"name\":{\"638\":{}},\"parent\":{}}],[\"legal\",{\"_index\":314,\"name\":{\"349\":{}},\"parent\":{}}],[\"let's\",{\"_index\":543,\"name\":{\"638\":{}},\"parent\":{}}],[\"linestyle\",{\"_index\":288,\"name\":{\"317\":{}},\"parent\":{}}],[\"list_actions\",{\"_index\":117,\"name\":{\"116\":{}},\"parent\":{}}],[\"list_edges\",{\"_index\":115,\"name\":{\"114\":{}},\"parent\":{}}],[\"list_entrances\",{\"_index\":125,\"name\":{\"124\":{}},\"parent\":{}}],[\"list_exit_actions\",{\"_index\":133,\"name\":{\"132\":{}},\"parent\":{}}],[\"list_exits\",{\"_index\":126,\"name\":{\"125\":{}},\"parent\":{}}],[\"list_named_transitions\",{\"_index\":116,\"name\":{\"115\":{}},\"parent\":{}}],[\"list_states_having_action\",{\"_index\":132,\"name\":{\"131\":{}},\"parent\":{}}],[\"list_transitions\",{\"_index\":124,\"name\":{\"123\":{}},\"parent\":{}}],[\"live\",{\"_index\":552,\"name\":{\"643\":{}},\"parent\":{}}],[\"ln10\",{\"_index\":369,\"name\":{\"411\":{}},\"parent\":{}}],[\"ln2\",{\"_index\":368,\"name\":{\"410\":{}},\"parent\":{}}],[\"loc\",{\"_index\":550,\"name\":{\"642\":{}},\"parent\":{}}],[\"local\",{\"_index\":541,\"name\":{\"637\":{}},\"parent\":{}}],[\"log10e\",{\"_index\":371,\"name\":{\"413\":{}},\"parent\":{}}],[\"log2e\",{\"_index\":370,\"name\":{\"412\":{}},\"parent\":{}}],[\"lookup_transition_for\",{\"_index\":123,\"name\":{\"122\":{}},\"parent\":{}}],[\"machine\",{\"_index\":2,\"name\":{\"2\":{},\"638\":{}},\"parent\":{}}],[\"machine_author\",{\"_index\":99,\"name\":{\"98\":{},\"247\":{}},\"parent\":{}}],[\"machine_comment\",{\"_index\":100,\"name\":{\"99\":{},\"248\":{}},\"parent\":{}}],[\"machine_contributor\",{\"_index\":101,\"name\":{\"100\":{},\"249\":{}},\"parent\":{}}],[\"machine_definition\",{\"_index\":102,\"name\":{\"101\":{},\"250\":{}},\"parent\":{}}],[\"machine_language\",{\"_index\":103,\"name\":{\"102\":{},\"251\":{}},\"parent\":{}}],[\"machine_license\",{\"_index\":104,\"name\":{\"103\":{},\"252\":{}},\"parent\":{}}],[\"machine_name\",{\"_index\":105,\"name\":{\"104\":{},\"253\":{}},\"parent\":{}}],[\"machine_state\",{\"_index\":111,\"name\":{\"110\":{}},\"parent\":{}}],[\"machine_version\",{\"_index\":106,\"name\":{\"105\":{},\"254\":{}},\"parent\":{}}],[\"machines\",{\"_index\":521,\"name\":{\"620\":{},\"624\":{}},\"parent\":{}}],[\"main\",{\"_index\":315,\"name\":{\"350\":{}},\"parent\":{}}],[\"main_path\",{\"_index\":210,\"name\":{\"210\":{}},\"parent\":{}}],[\"maintransitionhook\",{\"_index\":463,\"name\":{\"539\":{}},\"parent\":{}}],[\"make\",{\"_index\":399,\"name\":{\"449\":{},\"638\":{}},\"parent\":{}}],[\"make_mulberry_rand\",{\"_index\":396,\"name\":{\"443\":{}},\"parent\":{}}],[\"max_exits\",{\"_index\":229,\"name\":{\"233\":{}},\"parent\":{}}],[\"max_transitions\",{\"_index\":254,\"name\":{\"279\":{}},\"parent\":{}}],[\"maxposnum\",{\"_index\":374,\"name\":{\"416\":{}},\"parent\":{}}],[\"maxsafeint\",{\"_index\":372,\"name\":{\"414\":{}},\"parent\":{}}],[\"message\",{\"_index\":381,\"name\":{\"427\":{}},\"parent\":{}}],[\"min_exits\",{\"_index\":228,\"name\":{\"232\":{}},\"parent\":{}}],[\"min_transitions\",{\"_index\":253,\"name\":{\"278\":{}},\"parent\":{}}],[\"minposnum\",{\"_index\":375,\"name\":{\"417\":{}},\"parent\":{}}],[\"minsafeint\",{\"_index\":373,\"name\":{\"415\":{}},\"parent\":{}}],[\"name\",{\"_index\":205,\"name\":{\"204\":{},\"227\":{},\"267\":{},\"272\":{},\"300\":{},\"325\":{},\"331\":{},\"337\":{},\"368\":{}},\"parent\":{}}],[\"name_bind_prop_and_state\",{\"_index\":393,\"name\":{\"440\":{}},\"parent\":{}}],[\"named_colors\",{\"_index\":192,\"name\":{\"192\":{},\"422\":{}},\"parent\":{}}],[\"named_hook_name\",{\"_index\":395,\"name\":{\"442\":{}},\"parent\":{}}],[\"named_transitions\",{\"_index\":337,\"name\":{\"378\":{}},\"parent\":{}}],[\"neginfinity\",{\"_index\":361,\"name\":{\"403\":{}},\"parent\":{}}],[\"node\",{\"_index\":531,\"name\":{\"628\":{},\"629\":{}},\"parent\":{}}],[\"nodes\",{\"_index\":227,\"name\":{\"229\":{},\"275\":{}},\"parent\":{}}],[\"page\",{\"_index\":518,\"name\":{\"620\":{},\"621\":{},\"622\":{},\"623\":{},\"624\":{},\"625\":{},\"626\":{},\"627\":{},\"628\":{},\"629\":{},\"630\":{},\"631\":{},\"632\":{},\"633\":{},\"634\":{},\"635\":{},\"636\":{},\"637\":{},\"638\":{},\"639\":{},\"640\":{},\"641\":{},\"642\":{},\"643\":{},\"644\":{},\"645\":{},\"646\":{},\"647\":{}},\"parent\":{}}],[\"parse\",{\"_index\":400,\"name\":{\"450\":{}},\"parent\":{}}],[\"pass\",{\"_index\":358,\"name\":{\"399\":{}},\"parent\":{}}],[\"phi\",{\"_index\":376,\"name\":{\"418\":{}},\"parent\":{}}],[\"pi\",{\"_index\":364,\"name\":{\"406\":{}},\"parent\":{}}],[\"posinfinity\",{\"_index\":362,\"name\":{\"404\":{}},\"parent\":{}}],[\"post_hook\",{\"_index\":154,\"name\":{\"153\":{}},\"parent\":{}}],[\"post_hook_action\",{\"_index\":155,\"name\":{\"154\":{}},\"parent\":{}}],[\"post_hook_any_action\",{\"_index\":157,\"name\":{\"156\":{}},\"parent\":{}}],[\"post_hook_any_transition\",{\"_index\":161,\"name\":{\"160\":{}},\"parent\":{}}],[\"post_hook_entry\",{\"_index\":162,\"name\":{\"161\":{}},\"parent\":{}}],[\"post_hook_exit\",{\"_index\":163,\"name\":{\"162\":{}},\"parent\":{}}],[\"post_hook_forced_transition\",{\"_index\":160,\"name\":{\"159\":{}},\"parent\":{}}],[\"post_hook_global_action\",{\"_index\":156,\"name\":{\"155\":{}},\"parent\":{}}],[\"post_hook_main_transition\",{\"_index\":159,\"name\":{\"158\":{}},\"parent\":{}}],[\"post_hook_standard_transition\",{\"_index\":158,\"name\":{\"157\":{}},\"parent\":{}}],[\"postanyactionhook\",{\"_index\":487,\"name\":{\"579\":{}},\"parent\":{}}],[\"postanytransitionhook\",{\"_index\":499,\"name\":{\"595\":{}},\"parent\":{}}],[\"postbasichookdescription\",{\"_index\":478,\"name\":{\"561\":{}},\"parent\":{}}],[\"postentryhook\",{\"_index\":502,\"name\":{\"599\":{}},\"parent\":{}}],[\"postexithook\",{\"_index\":505,\"name\":{\"604\":{}},\"parent\":{}}],[\"postforcedtransitionhook\",{\"_index\":496,\"name\":{\"591\":{}},\"parent\":{}}],[\"postglobalactionhook\",{\"_index\":484,\"name\":{\"574\":{}},\"parent\":{}}],[\"posthookdescriptionwithaction\",{\"_index\":481,\"name\":{\"567\":{}},\"parent\":{}}],[\"posthookhandler\",{\"_index\":516,\"name\":{\"617\":{}},\"parent\":{}}],[\"postmaintransitionhook\",{\"_index\":493,\"name\":{\"587\":{}},\"parent\":{}}],[\"poststandardtransitionhook\",{\"_index\":490,\"name\":{\"583\":{}},\"parent\":{}}],[\"probabilistic_histo_walk\",{\"_index\":130,\"name\":{\"129\":{}},\"parent\":{}}],[\"probabilistic_transition\",{\"_index\":128,\"name\":{\"127\":{}},\"parent\":{}}],[\"probabilistic_walk\",{\"_index\":129,\"name\":{\"128\":{}},\"parent\":{}}],[\"probability\",{\"_index\":207,\"name\":{\"207\":{}},\"parent\":{}}],[\"probable_action_exits\",{\"_index\":134,\"name\":{\"133\":{}},\"parent\":{}}],[\"probable_exits_for\",{\"_index\":127,\"name\":{\"126\":{}},\"parent\":{}}],[\"prop\",{\"_index\":87,\"name\":{\"86\":{}},\"parent\":{}}],[\"property\",{\"_index\":293,\"name\":{\"323\":{}},\"parent\":{}}],[\"property_definition\",{\"_index\":235,\"name\":{\"242\":{}},\"parent\":{}}],[\"props\",{\"_index\":89,\"name\":{\"88\":{}},\"parent\":{}}],[\"publishing\",{\"_index\":546,\"name\":{\"639\":{}},\"parent\":{}}],[\"quick\",{\"_index\":523,\"name\":{\"621\":{}},\"parent\":{}}],[\"r_action\",{\"_index\":263,\"name\":{\"291\":{}},\"parent\":{}}],[\"r_probability\",{\"_index\":265,\"name\":{\"293\":{}},\"parent\":{}}],[\"raw_state_declarations\",{\"_index\":107,\"name\":{\"106\":{}},\"parent\":{}}],[\"react\",{\"_index\":528,\"name\":{\"625\":{}},\"parent\":{}}],[\"reference\",{\"_index\":525,\"name\":{\"622\":{},\"623\":{}},\"parent\":{}}],[\"requested_state\",{\"_index\":343,\"name\":{\"385\":{},\"429\":{}},\"parent\":{}}],[\"required\",{\"_index\":272,\"name\":{\"303\":{},\"370\":{}},\"parent\":{}}],[\"reverse_actions\",{\"_index\":339,\"name\":{\"381\":{}},\"parent\":{}}],[\"rollup\",{\"_index\":538,\"name\":{\"634\":{}},\"parent\":{}}],[\"root2\",{\"_index\":366,\"name\":{\"408\":{}},\"parent\":{}}],[\"roothalf\",{\"_index\":367,\"name\":{\"409\":{}},\"parent\":{}}],[\"se\",{\"_index\":261,\"name\":{\"288\":{},\"297\":{}},\"parent\":{}}],[\"seq\",{\"_index\":384,\"name\":{\"431\":{},\"455\":{}},\"parent\":{}}],[\"serialize\",{\"_index\":96,\"name\":{\"95\":{}},\"parent\":{}}],[\"set_hook\",{\"_index\":143,\"name\":{\"142\":{}},\"parent\":{}}],[\"shape\",{\"_index\":285,\"name\":{\"314\":{}},\"parent\":{}}],[\"shapes\",{\"_index\":190,\"name\":{\"190\":{},\"421\":{}},\"parent\":{}}],[\"shootout\",{\"_index\":551,\"name\":{\"642\":{}},\"parent\":{}}],[\"simplify_bidi\",{\"_index\":232,\"name\":{\"237\":{}},\"parent\":{}}],[\"sm\",{\"_index\":187,\"name\":{\"186\":{},\"188\":{}},\"parent\":{}}],[\"sql\",{\"_index\":537,\"name\":{\"633\":{}},\"parent\":{}}],[\"standard_state_style\",{\"_index\":170,\"name\":{\"169\":{}},\"parent\":{}}],[\"standardtransitionhook\",{\"_index\":460,\"name\":{\"535\":{}},\"parent\":{}}],[\"start\",{\"_index\":305,\"name\":{\"340\":{},\"621\":{}},\"parent\":{}}],[\"start_state_style\",{\"_index\":172,\"name\":{\"171\":{}},\"parent\":{}}],[\"start_states\",{\"_index\":233,\"name\":{\"239\":{}},\"parent\":{}}],[\"state\",{\"_index\":83,\"name\":{\"82\":{},\"273\":{},\"301\":{},\"322\":{},\"338\":{},\"362\":{},\"376\":{},\"400\":{},\"620\":{}},\"parent\":{}}],[\"state_declaration\",{\"_index\":108,\"name\":{\"107\":{},\"241\":{}},\"parent\":{}}],[\"state_declarations\",{\"_index\":109,\"name\":{\"108\":{}},\"parent\":{}}],[\"state_for\",{\"_index\":113,\"name\":{\"112\":{}},\"parent\":{}}],[\"state_is_complete\",{\"_index\":141,\"name\":{\"140\":{}},\"parent\":{}}],[\"state_is_final\",{\"_index\":94,\"name\":{\"93\":{}},\"parent\":{}}],[\"state_is_terminal\",{\"_index\":138,\"name\":{\"137\":{}},\"parent\":{}}],[\"state_property\",{\"_index\":236,\"name\":{\"243\":{}},\"parent\":{}}],[\"state_style_condense\",{\"_index\":196,\"name\":{\"196\":{}},\"parent\":{}}],[\"statelabel\",{\"_index\":289,\"name\":{\"318\":{}},\"parent\":{}}],[\"states\",{\"_index\":112,\"name\":{\"111\":{},\"377\":{}},\"parent\":{}}],[\"statetype\",{\"_index\":407,\"name\":{\"466\":{}},\"parent\":{}}],[\"strict_prop\",{\"_index\":88,\"name\":{\"87\":{}},\"parent\":{}}],[\"style\",{\"_index\":547,\"name\":{\"640\":{}},\"parent\":{}}],[\"style_for\",{\"_index\":176,\"name\":{\"175\":{}},\"parent\":{}}],[\"success\",{\"_index\":414,\"name\":{\"473\":{},\"476\":{},\"480\":{}},\"parent\":{}}],[\"terminal\",{\"_index\":307,\"name\":{\"342\":{}},\"parent\":{}}],[\"terminal_state_style\",{\"_index\":174,\"name\":{\"173\":{}},\"parent\":{}}],[\"textcolor\",{\"_index\":290,\"name\":{\"319\":{}},\"parent\":{}}],[\"the\",{\"_index\":533,\"name\":{\"631\":{}},\"parent\":{}}],[\"theme\",{\"_index\":226,\"name\":{\"225\":{},\"640\":{}},\"parent\":{}}],[\"themes\",{\"_index\":120,\"name\":{\"119\":{}},\"parent\":{}}],[\"timestamp\",{\"_index\":325,\"name\":{\"360\":{}},\"parent\":{}}],[\"title\",{\"_index\":317,\"name\":{\"353\":{}},\"parent\":{}}],[\"to\",{\"_index\":204,\"name\":{\"203\":{},\"268\":{},\"287\":{},\"517\":{},\"523\":{},\"554\":{},\"565\":{},\"571\":{},\"602\":{}},\"parent\":{}}],[\"transfer_state_properties\",{\"_index\":1,\"name\":{\"1\":{}},\"parent\":{}}],[\"transition\",{\"_index\":178,\"name\":{\"177\":{}},\"parent\":{}}],[\"transition_impl\",{\"_index\":165,\"name\":{\"164\":{}},\"parent\":{}}],[\"transitions\",{\"_index\":225,\"name\":{\"224\":{},\"276\":{}},\"parent\":{}}],[\"typescript\",{\"_index\":532,\"name\":{\"630\":{}},\"parent\":{}}],[\"unique\",{\"_index\":385,\"name\":{\"432\":{},\"456\":{}},\"parent\":{}}],[\"uses_actions\",{\"_index\":118,\"name\":{\"117\":{}},\"parent\":{}}],[\"val\",{\"_index\":277,\"name\":{\"307\":{}},\"parent\":{}}],[\"valid_action\",{\"_index\":183,\"name\":{\"182\":{}},\"parent\":{}}],[\"valid_force_transition\",{\"_index\":185,\"name\":{\"184\":{}},\"parent\":{}}],[\"valid_transition\",{\"_index\":184,\"name\":{\"183\":{}},\"parent\":{}}],[\"value\",{\"_index\":270,\"name\":{\"299\":{},\"326\":{},\"330\":{},\"470\":{},\"484\":{},\"488\":{},\"492\":{},\"496\":{},\"500\":{},\"504\":{},\"508\":{},\"512\":{}},\"parent\":{}}],[\"version\",{\"_index\":397,\"name\":{\"444\":{},\"445\":{},\"447\":{}},\"parent\":{\"445\":{},\"446\":{}}}],[\"vue\",{\"_index\":529,\"name\":{\"626\":{}},\"parent\":{}}],[\"webpack\",{\"_index\":539,\"name\":{\"635\":{}},\"parent\":{}}],[\"weighted_histo_key\",{\"_index\":389,\"name\":{\"436\":{},\"461\":{}},\"parent\":{}}],[\"weighted_rand_select\",{\"_index\":390,\"name\":{\"437\":{},\"458\":{}},\"parent\":{}}],[\"weighted_sample_select\",{\"_index\":391,\"name\":{\"438\":{},\"460\":{}},\"parent\":{}}],[\"what\",{\"_index\":519,\"name\":{\"620\":{}},\"parent\":{}}]],\"pipeline\":[]}}"); \ No newline at end of file diff --git a/docs/docs/classes/jssm.Machine.html b/docs/docs/classes/jssm.Machine.html index 1b1f3cde..95e25432 100644 --- a/docs/docs/classes/jssm.Machine.html +++ b/docs/docs/classes/jssm.Machine.html @@ -1,10 +1,10 @@ -Machine | JSSM, a JavaScript state machine - the FSM for FSL

Type Parameters

  • mDT

Hierarchy

  • Machine

Index

Constructors

Properties

Accessors

Methods

Constructors

Properties

_actions: Map<string, Map<string, number>>
_active_state_style: Partial<JssmStateDeclaration>
_any_action_hook: HookHandler<mDT>
_any_transition_hook: HookHandler<mDT>
_arrange_declaration: string[][]
_arrange_end_declaration: string[][]
_arrange_start_declaration: string[][]
_data?: mDT
_default_properties: Map<string, any>
_dot_preamble: string
_edge_map: Map<string, Map<string, number>>
_edges: JssmTransition<mDT>[]
_end_state_style: Partial<JssmStateDeclaration>
_end_states: Set<string>
_entry_hooks: Map<string, HookHandler<mDT>>
_exit_hooks: Map<string, HookHandler<mDT>>
_flow: "up" | "right" | "down" | "left"
_forced_transition_hook: HookHandler<mDT>
_fsl_version?: string
_global_action_hooks: Map<string, HookHandler<mDT>>
_graph_layout: JssmLayout
_has_basic_hooks: boolean
_has_entry_hooks: boolean
_has_exit_hooks: boolean
_has_global_action_hooks: boolean
_has_hooks: boolean
_has_named_hooks: boolean
_has_post_basic_hooks: boolean
_has_post_entry_hooks: boolean
_has_post_exit_hooks: boolean
_has_post_global_action_hooks: boolean
_has_post_hooks: boolean
_has_post_named_hooks: boolean
_has_post_transition_hooks: boolean
_has_transition_hooks: boolean
_history: JssmHistory<mDT>
_history_length: number
_hooked_state_style: Partial<JssmStateDeclaration>
_hooks: Map<string, HookHandler<mDT>>
_instance_name: string
_machine_author?: string[]
_machine_comment?: string
_machine_contributor?: string[]
_machine_definition?: string
_machine_language?: string
_machine_license?: string
_machine_name?: string
_machine_version?: string
_main_transition_hook: HookHandler<mDT>
_named_hooks: Map<string, HookHandler<mDT>>
_named_transitions: Map<string, number>
_post_any_action_hook: HookHandler<mDT>
_post_any_transition_hook: HookHandler<mDT>
_post_entry_hooks: Map<string, HookHandler<mDT>>
_post_exit_hooks: Map<string, HookHandler<mDT>>
_post_forced_transition_hook: HookHandler<mDT>
_post_global_action_hooks: Map<string, HookHandler<mDT>>
_post_hooks: Map<string, HookHandler<mDT>>
_post_main_transition_hook: HookHandler<mDT>
_post_named_hooks: Map<string, HookHandler<mDT>>
_post_standard_transition_hook: HookHandler<mDT>
_property_keys: Set<string>
_raw_state_declaration?: <internal>.Object[]
_required_properties: Set<string>
_reverse_action_targets: Map<string, Map<string, number>>
_reverse_actions: Map<string, Map<string, number>>
_standard_transition_hook: HookHandler<mDT>
_start_state_style: Partial<JssmStateDeclaration>
_start_states: Set<string>
_state: string
_state_declarations: Map<string, JssmStateDeclaration>
_state_labels: Map<string, string>
_state_properties: Map<string, any>
_states: Map<string, JssmGenericState>
_terminal_state_style: Partial<JssmStateDeclaration>
_themes: ("default" | "modern" | "ocean" | "bold" | "plain")[]

Accessors

  • actions(whichState?: string): string[]

Returns boolean

  • actions(whichState?: string): string[]
  • List all actions available from this state. Please note that the order of the actions is not guaranteed.

    import { sm } from 'jssm';

    const machine = sm`
    red 'next' -> green 'next' -> yellow 'next' -> red;
    [red yellow green] 'shutdown' ~> off 'start' -> red;
    `;

    console.log( machine.state() ); // logs 'red'
    console.log( machine.actions() ); // logs ['next', 'shutdown']

    machine.action('next'); // true
    console.log( machine.state() ); // logs 'green'
    console.log( machine.actions() ); // logs ['next', 'shutdown']

    machine.action('shutdown'); // true
    console.log( machine.state() ); // logs 'off'
    console.log( machine.actions() ); // logs ['start']

    machine.action('start'); // true
    console.log( machine.state() ); // logs 'red'
    console.log( machine.actions() ); // logs ['next', 'shutdown']

    Parameters

    • whichState: string = ...

      The state whose actions to have listed

      -

    Returns string[]

  • all_themes(): ("default" | "modern" | "ocean" | "bold" | "plain")[]
  • current_action_for(action: string): number
  • data(): mDT

Returns string[]

  • all_themes(): ("default" | "modern" | "ocean" | "bold" | "plain")[]
  • current_action_for(action: string): number
  • data(): mDT
  • Get the current data of a machine.

    import * as jssm from 'jssm';

    const lswitch = jssm.from('on <=> off;', {data: 1});
    console.log( lswitch.data() ); // 1
    -

    Returns mDT

  • display_text(state: string): string
  • display_text(state: string): string
  • Get whatever the node should show as text.

    Currently, this means to get the label for a given state, if any; otherwise to return the node's name. However, this definition is expected @@ -109,7 +109,7 @@

    See also label_for.

    import * as jssm from 'jssm';

    const lswitch = jssm.from('a -> b; state a: { label: "Foo!"; };');
    console.log( lswitch.display_text('a') ); // 'Foo!'
    console.log( lswitch.display_text('b') ); // 'b'
    -

    Parameters

    • state: string

    Returns string

  • do(actionName: string, newData?: mDT): boolean
  • do(actionName: string, newData?: mDT): boolean
  • Instruct the machine to complete an action. Synonym for action.

    const light = sm`
    off 'start' -> red;
    red 'next' -> green 'next' -> yellow 'next' -> red;
    [red yellow green] 'shutdown' ~> off;
    `;

    light.state(); // 'off'
    light.do('start'); // true
    light.state(); // 'red'
    light.do('next'); // true
    light.state(); // 'green'
    light.do('next'); // true
    light.state(); // 'yellow'
    light.do('dance'); // !! false - no such action
    light.state(); // 'yellow'
    light.do('start'); // !! false - yellow does not have the action start
    light.state(); // 'yellow'
    @@ -117,7 +117,7 @@

    The action to engage

  • Optional newData: mDT

    The data change to insert during the action

    -

Returns boolean

  • dot_preamble(): string
  • flow(): "up" | "right" | "down" | "left"
  • force_transition(newState: string, newData?: mDT): boolean

Returns boolean

  • dot_preamble(): string
  • edges_between(from: string, to: string): JssmTransition<string, mDT>[]
  • flow(): "up" | "right" | "down" | "left"
  • force_transition(newState: string, newData?: mDT): boolean
  • Instruct the machine to complete a forced transition (which will reject if called with a normal transition call.)

    const light = sm`red -> green -> yellow -> red; [red yellow green] 'shutdown' ~> off 'start' -> red;`;

    light.state(); // 'red'
    light.transition('off'); // false
    light.state(); // 'red'
    light.force_transition('off'); // true
    light.state(); // 'off' @@ -126,7 +126,7 @@

    The state to switch to

  • Optional newData: mDT

    The data change to insert during the transition

    -

Returns boolean

  • fsl_version(): string
  • get_transition_by_state_names(from: string, to: string): number
  • go(newState: string, newData?: mDT): boolean

Returns boolean

  • fsl_version(): string
  • get_transition_by_state_names(from: string, to: string): number
  • go(newState: string, newData?: mDT): boolean
  • Instruct the machine to complete a transition. Synonym for transition.

    const light = sm`red -> green -> yellow -> red; [red yellow green] 'shutdown' ~> off 'start' -> red;`;

    light.state(); // 'red'
    light.go('green'); // true
    light.state(); // 'green'
    @@ -134,74 +134,74 @@

    The state to switch to

  • Optional newData: mDT

    The data change to insert during the transition

    -

Returns boolean

  • graph_layout(): string
  • has_completes(): boolean
  • has_state(whichState: string): boolean

Returns boolean

  • graph_layout(): string
  • has_completes(): boolean
  • has_state(whichState: string): boolean
  • Check whether the machine knows a given state.

    import * as jssm from 'jssm';

    const lswitch = jssm.from('on <=> off;');

    console.log( lswitch.has_state('off') ); // true
    console.log( lswitch.has_state('dance') ); // false

    Parameters

    • whichState: string

      The state to be checked for extance

      -

    Returns boolean

  • has_terminals(): boolean
  • has_unenterables(): boolean
  • hook_action(from: string, to: string, action: string, handler: HookHandler<mDT>): Machine<mDT>
  • instance_name(): string
  • is_complete(): boolean
  • is_end_state(whichState: string): boolean

Returns boolean

  • has_terminals(): boolean
  • has_unenterables(): boolean
  • hook_action(from: string, to: string, action: string, handler: HookHandler<mDT>): Machine<mDT>
  • instance_name(): string
  • is_complete(): boolean
  • is_end_state(whichState: string): boolean
  • Check whether a given state is a valid start state (either because it was explicitly named as such, or because it was the first mentioned state.)

    import { sm, is_end_state } from 'jssm';

    const example = sm`a -> b;`;

    console.log( final_test.is_start_state('a') ); // false
    console.log( final_test.is_start_state('b') ); // true

    const example = sm`end_states: [a b]; a -> b;`;

    console.log( final_test.is_start_state('a') ); // true
    console.log( final_test.is_start_state('b') ); // true

    Parameters

    • whichState: string

      The name of the state to check

      -

    Returns boolean

  • is_final(): boolean

Returns boolean

  • is_final(): boolean
  • Check whether the current state is final (either has no exits or is marked complete.)

    import { sm, is_final } from 'jssm';

    const final_test = sm`first -> second;`;

    console.log( final_test.is_final() ); // false
    state.transition('second');
    console.log( final_test.is_final() ); // true
    -

    Returns boolean

  • is_start_state(whichState: string): boolean
  • is_start_state(whichState: string): boolean
  • Check whether a given state is a valid start state (either because it was explicitly named as such, or because it was the first mentioned state.)

    import { sm, is_start_state } from 'jssm';

    const example = sm`a -> b;`;

    console.log( final_test.is_start_state('a') ); // true
    console.log( final_test.is_start_state('b') ); // false

    const example = sm`start_states: [a b]; a -> b;`;

    console.log( final_test.is_start_state('a') ); // true
    console.log( final_test.is_start_state('b') ); // true

    Parameters

    • whichState: string

      The name of the state to check

      -

    Returns boolean

  • is_terminal(): boolean
  • is_unenterable(whichState: string): boolean
  • known_prop(prop_name: string): boolean

Returns boolean

  • is_terminal(): boolean
  • is_unenterable(whichState: string): boolean
  • known_prop(prop_name: string): boolean
  • Check whether a given string is a known property's name.

    const example = sm`property foo default 1; a->b;`;

    example.known_prop('foo'); // true
    example.known_prop('bar'); // false

    Parameters

    • prop_name: string

      The relevant property name to look up

      -

    Returns boolean

  • known_props(): string[]

Returns boolean

  • known_props(): string[]
  • List all known property names. If you'd also like values, use props instead. The order of the properties is not defined, and the properties generally will not be sorted.

    
     
    -

    Returns string[]

  • label_for(state: string): string
  • label_for(state: string): string
  • Get the label for a given state, if any; return undefined otherwise.

    import * as jssm from 'jssm';

    const lswitch = jssm.from('a -> b; state a: { label: "Foo!"; };');
    console.log( lswitch.label_for('a') ); // 'Foo!'
    console.log( lswitch.label_for('b') ); // undefined

    See also display_text.

    -

    Parameters

    • state: string

    Returns string

  • list_actions(): string[]
  • list_actions(): string[]
  • Lists all edges of a machine.

    import { sm } from 'jssm';

    const lswitch = sm`on 'toggle' <=> 'toggle' off;`;

    lswitch.list_edges();
    [
    {
    from: 'on',
    to: 'off',
    kind: 'main',
    forced_only: false,
    main_path: true,
    action: 'toggle'
    },
    {
    from: 'off',
    to: 'on',
    kind: 'main',
    forced_only: false,
    main_path: true,
    action: 'toggle'
    }
    ]
    -

    Returns JssmTransition<mDT>[]

  • list_entrances(whichState?: string): string[]
  • list_entrances(whichState?: string): string[]
  • List all entrances attached to the current state. Please note that the order of the list is not defined.

    import { sm } from 'jssm';

    const light = sm`red 'next' -> green 'next' -> yellow 'next' -> red; [red yellow green] 'shutdown' ~> off 'start' -> red;`;

    light.state(); // 'red'
    light.list_entrances(); // [ 'yellow', 'off' ]

    Parameters

    • whichState: string = ...

      The state whose entrances to have listed

      -

    Returns string[]

  • list_exit_actions(whichState?: string): string[]
  • list_exits(whichState?: string): string[]

Returns string[]

  • list_exit_actions(whichState?: string): string[]
  • list_exits(whichState?: string): string[]
  • List all exits attached to the current state. Please note that the order of the list is not defined.

    import { sm } from 'jssm';

    const light = sm`red 'next' -> green 'next' -> yellow 'next' -> red; [red yellow green] 'shutdown' ~> off 'start' -> red;`;

    light.state(); // 'red'
    light.list_exits(); // [ 'green', 'off' ]

    Parameters

    • whichState: string = ...

      The state whose exits to have listed

      -

    Returns string[]

  • list_named_transitions(): Map<string, number>
  • list_states_having_action(whichState: string): string[]

Returns string[]

  • list_named_transitions(): Map<string, number>
  • list_states_having_action(whichState: string): string[]
  • List all states that have a specific action attached. Please note that the order of the states is not guaranteed.

    import { sm } from 'jssm';

    const machine = sm`
    red 'next' -> green 'next' -> yellow 'next' -> red;
    [red yellow green] 'shutdown' ~> off 'start' -> red;
    `;

    console.log( machine.list_states_having_action('next') ); // ['red', 'green', 'yellow']
    console.log( machine.list_states_having_action('start') ); // ['off']

    Parameters

    • whichState: string

      The action to be checked for associated states

      -

    Returns string[]

Returns string[]

  • List all transitions attached to the current state, sorted by entrance and exit. The order of each sublist is not defined. A node could appear in both lists.

    @@ -209,7 +209,7 @@

    Parameters

    • whichState: string = ...

      The state whose transitions to have listed

      -

    Returns JssmTransitionList

  • machine_author(): string[]
  • machine_comment(): string
  • machine_contributor(): string[]
  • machine_definition(): string
  • machine_language(): string
  • machine_license(): string
  • machine_name(): string
  • machine_version(): string
  • post_hook_action(from: string, to: string, action: string, handler: HookHandler<mDT>): Machine<mDT>
  • probabilistic_histo_walk(n: number): Map<string, number>
  • probabilistic_transition(): boolean
  • probabilistic_walk(n: number): string[]
  • probable_action_exits(whichState?: string): any[]
  • prop(name: string): any

Returns JssmTransitionList

  • lookup_transition_for(from: string, to: string): JssmTransition<string, mDT>
  • machine_author(): string[]
  • machine_comment(): string
  • machine_contributor(): string[]
  • machine_definition(): string
  • machine_language(): string
  • machine_license(): string
  • machine_name(): string
  • machine_version(): string
  • post_hook_action(from: string, to: string, action: string, handler: HookHandler<mDT>): Machine<mDT>
  • probabilistic_histo_walk(n: number): Map<string, number>
  • probabilistic_transition(): boolean
  • probabilistic_walk(n: number): string[]
  • probable_action_exits(whichState?: string): any[]
  • prop(name: string): any
  • Get the current value of a given property name.

    
     
    @@ -217,35 +217,35 @@

    The relevant property name to look up

Returns any

The value behind the prop name. Because functional props are evaluated as getters, this can be anything.

-
  • props(): object
  • props(): object
  • Get the current value of every prop, as an object. If no current definition exists for a prop - that is, if the prop was defined without a default and the current state also doesn't define the prop - then that prop will be listed in the returned object with a value of undefined.

    const traffic_light = sm`

    property can_go default true;
    property hesitate default true;
    property stop_first default false;

    Off -> Red => Green => Yellow => Red;
    [Red Yellow Green] ~> [Off FlashingRed];
    FlashingRed -> Red;

    state Red: { property stop_first true; property can_go false; };
    state Off: { property stop_first true; };
    state FlashingRed: { property stop_first true; };
    state Green: { property hesitate false; };

    `;

    traffic_light.state(); // Off
    traffic_light.props(); // { can_go: true, hesitate: true, stop_first: true; }

    traffic_light.go('Red');
    traffic_light.props(); // { can_go: false, hesitate: true, stop_first: true; }

    traffic_light.go('Green');
    traffic_light.props(); // { can_go: true, hesitate: false, stop_first: false; }
    -

    Returns object

  • Serialize the current machine, including all defining state but not the machine string, to a structure. This means you will need the machine string to recreate (to not waste repeated space;) if you want the machine string embedded, call {@link serialize_with_string} instead.

    -

    Parameters

    • Optional comment: string

    Returns JssmSerialization<mDT>

  • state(): string
  • state(): string
  • Get the current state of a machine.

    import * as jssm from 'jssm';

    const lswitch = jssm.from('on <=> off;');
    console.log( lswitch.state() ); // 'on'

    lswitch.transition('off');
    console.log( lswitch.state() ); // 'off'
    -

    Returns string

  • state_is_complete(whichState: string): boolean
  • state_is_final(whichState: string): boolean
  • state_is_complete(whichState: string): boolean
  • state_is_final(whichState: string): boolean
  • Check whether a given state is final (either has no exits or is marked complete.)

    import { sm, state_is_final } from 'jssm';

    const final_test = sm`first -> second;`;

    console.log( final_test.state_is_final('first') ); // false
    console.log( final_test.state_is_final('second') ); // true

    Parameters

    • whichState: string

      The name of the state to check for finality

      -

    Returns boolean

  • state_is_terminal(whichState: string): boolean
  • states(): string[]

Returns boolean

  • state_is_terminal(whichState: string): boolean
  • states(): string[]
  • List all the states known by the machine. Please note that the order of these states is not guaranteed.

    import * as jssm from 'jssm';

    const lswitch = jssm.from('on <=> off;');
    console.log( lswitch.states() ); // ['on', 'off']
    -

    Returns string[]

  • strict_prop(name: string): any
  • strict_prop(name: string): any
  • Get the current value of a given property name. If missing on the state and without a global default, throw, unlike prop, which would return undefined instead.

    @@ -255,7 +255,7 @@

    The relevant property name to look up

Returns any

The value behind the prop name. Because functional props are evaluated as getters, this can be anything.

-
  • Gets the composite style for a specific node by individually imposing the style layers on a given object, after determining which layers are appropriate.

    @@ -266,7 +266,7 @@ terminal styles; then the start styles; then the end styles; finally, the active styles. Remember, last wins.

    The base state style must exist. All other styles are optional.

    -

    Parameters

    • state: string

    Returns Partial<JssmStateDeclaration>

  • transition(newState: string, newData?: mDT): boolean
  • transition(newState: string, newData?: mDT): boolean
  • Instruct the machine to complete a transition. Synonym for go.

    const light = sm`
    off 'start' -> red;
    red 'next' -> green 'next' -> yellow 'next' -> red;
    [red yellow green] 'shutdown' ~> off;
    `;

    light.state(); // 'off'
    light.go('red'); // true
    light.state(); // 'red'
    light.go('green'); // true
    light.state(); // 'green'
    light.go('blue'); // !! false - no such state
    light.state(); // 'green'
    light.go('red'); // !! false - green may not go directly to red, only to yellow
    light.state(); // 'green'
    @@ -274,4 +274,4 @@

    The state to switch to

  • Optional newData: mDT

    The data change to insert during the transition

    -

Returns boolean

  • transition_impl(newStateOrAction: string, newData: mDT, wasForced: boolean, wasAction: boolean): boolean
  • Parameters

    • newStateOrAction: string
    • newData: mDT
    • wasForced: boolean
    • wasAction: boolean

    Returns boolean

  • valid_action(action: string, _newData?: mDT): boolean
  • valid_force_transition(newState: string, _newData?: mDT): boolean
  • valid_transition(newState: string, _newData?: mDT): boolean

Legend

  • Namespace
  • Variable
  • Function
  • Function with type parameter
  • Type alias
  • Type alias with type parameter
  • Class
  • Class with type parameter
  • Property
  • Method
  • Accessor

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Returns boolean

  • transition_impl(newStateOrAction: string, newData: mDT, wasForced: boolean, wasAction: boolean): boolean
  • Parameters

    • newStateOrAction: string
    • newData: mDT
    • wasForced: boolean
    • wasAction: boolean

    Returns boolean

  • valid_action(action: string, _newData?: mDT): boolean
  • valid_force_transition(newState: string, _newData?: mDT): boolean
  • valid_transition(newState: string, _newData?: mDT): boolean

Legend

  • Namespace
  • Variable
  • Function
  • Function with type parameter
  • Type alias
  • Type alias with type parameter
  • Class
  • Class with type parameter
  • Property
  • Method
  • Accessor

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/docs/classes/jssm_error.JssmError.html b/docs/docs/classes/jssm_error.JssmError.html index eef23d64..d715ab6d 100644 --- a/docs/docs/classes/jssm_error.JssmError.html +++ b/docs/docs/classes/jssm_error.JssmError.html @@ -1,4 +1,4 @@ -JssmError | JSSM, a JavaScript state machine - the FSM for FSL
Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

Properties

base_message: string
message: string
name: string
requested_state: string
stack?: string
prepareStackTrace?: ((err: <internal>.Error, stackTraces: CallSite[]) => any)

Type declaration

  • Compile a machine's JSON intermediate representation to a config object. If you're using this (probably don't,) you're probably also using parse to get the IR, and the object constructor @@ -39,11 +39,11 @@

    Hey!

    Method from:

    import * as jssm from 'jssm';

    const toggle = jssm.from('up <=> down;');
    -

    Type Parameters

    • mDT

      +

      Type Parameters

      • StateType

      • mDT

        The type of the machine data member; usually omitted

        -

      Parameters

      Parameters

      • tree: JssmParseTree<StateType, mDT>

        The parse tree to be boiled down into a machine config

        -

      Returns JssmGenericConfig<mDT>

Returns JssmGenericConfig<StateType, mDT>

  • Create a state machine from an implementation string. This is one of the two main paths for working with JSSM, alongside sm.

    Use this method when you want to conveniently pull a state machine from a @@ -55,17 +55,17 @@

    Hey!

    The type of the machine data member; usually omitted

Parameters

  • MachineAsString: string

    The FSL code to evaluate

    -
  • Optional ExtraConstructorFields: Partial<JssmGenericConfig<mDT>>
    +
  • Optional ExtraConstructorFields: Partial<JssmGenericConfig<string, mDT>>

    Extra non-code configuration to pass at creation time

    -

Returns Machine<mDT>

  • is_hook_rejection<mDT>(hr: HookResult<mDT>): boolean

Returns Machine<mDT>

  • is_hook_rejection<mDT>(hr: HookResult<mDT>): boolean
  • An internal convenience wrapper for parsing then compiling a machine string. Not generally meant for external use. Please see compile or sm.

    -

    Type Parameters

    • mDT

      +

      Type Parameters

      • StateType

      • mDT

        The type of the machine data member; usually omitted

      Parameters

      • plan: string

        The FSL code to be evaluated and built into a machine config

        -

      Returns JssmGenericConfig<mDT>

Returns JssmGenericConfig<StateType, mDT>

  • This method wraps the parser call that comes from the peg grammar, parse. Generally neither this nor that should be used directly unless you mean to develop plugins or extensions for the machine.

    @@ -96,7 +96,7 @@

    Hey!

    The FSL code to be evaluated

  • Optional options: <internal>.Object

    Things to control about the instance

    -

Returns any

Returns any

  • Create a state machine from a template string. This is one of the two main paths for working with JSSM, alongside from.

    Use this method when you want to work directly and conveniently with a @@ -110,7 +110,7 @@

    Hey!

    The assembled code

  • Rest ...remainder: any[]

    The mechanic for template argument insertion

    -

Returns Machine<mDT>

Returns Machine<mDT>