From 5bad1e6e470e67f2e60aa4fa21dd3a36a7f20308 Mon Sep 17 00:00:00 2001 From: John Haugeland Date: Sat, 6 Jul 2024 18:10:16 -0700 Subject: [PATCH] fix coverage --- CHANGELOG.long.md | 49 +++++++++- CHANGELOG.md | 99 +++++++++----------- README.md | 4 +- dist/deno/README.md | 4 +- dist/deno/jssm.js | 2 +- dist/es6/jssm.js | 11 ++- dist/es6/version.js | 2 +- dist/jssm.es5.cjs | 2 +- dist/jssm.es5.iife.cjs | 2 +- dist/jssm.es5.iife.nonmin.cjs | 13 +-- dist/jssm.es5.nonmin.cjs | 13 +-- dist/jssm.es6.mjs | 2 +- dist/jssm.es6.nonmin.cjs | 13 +-- docs/docs/classes/jssm.Machine.html | 88 ++++++++--------- docs/docs/classes/jssm_error.JssmError.html | 2 +- docs/docs/modules/jssm.html | 18 ++-- docs/docs/modules/jssm_constants.html | 2 +- docs/docs/modules/jssm_types._internal_.html | 2 +- docs/docs/modules/jssm_types.html | 4 +- docs/docs/modules/jssm_util.html | 18 ++-- docs/docs/modules/version.html | 2 +- docs/docs/pages/CHANGELOG.long.html | 36 ++++++- src/doc_md/CHANGELOG.long.md | 49 +++++++++- src/doc_md/CHANGELOG.md | 99 +++++++++----------- src/tools/jssm.es5.iife.nonmin.cjs | 13 +-- src/ts/jssm.ts | 11 ++- src/ts/tests/hooks.spec.ts | 14 +-- src/ts/version.ts | 2 +- 28 files changed, 348 insertions(+), 228 deletions(-) diff --git a/CHANGELOG.long.md b/CHANGELOG.long.md index 1d9e7be9..1d62e2b2 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. -1159 merges; 201 releases +1162 merges; 201 releases @@ -18,6 +18,53 @@ Published tags: +  + +  + +## [Untagged] - 7/6/2024 5:46:50 PM + +Commit [9767e2c04a34d2d02bc8541daa6eb701dea15b70](https://github.com/StoneCypher/jssm/commit/9767e2c04a34d2d02bc8541daa6eb701dea15b70) + +Author: `John Haugeland ` + +Merges [f820f8d, 54f0f4f] + + * WIP on AddAfterAnyHook: f820f8d After hook for single node, fixes StoneCypher/fsl#698 + + + + +  + +  + +## [Untagged] - 7/6/2024 5:46:50 PM + +Commit [54f0f4f72ca63de414e1362471377494492ca101](https://github.com/StoneCypher/jssm/commit/54f0f4f72ca63de414e1362471377494492ca101) + +Author: `John Haugeland ` + + * index on AddAfterAnyHook: f820f8d After hook for single node, fixes StoneCypher/fsl#698 + + + + +  + +  + +## [Untagged] - 7/6/2024 5:43:39 PM + +Commit [f820f8d0dcc226a6cbe227e16d6e250a3c298be8](https://github.com/StoneCypher/jssm/commit/f820f8d0dcc226a6cbe227e16d6e250a3c298be8) + +Author: `John Haugeland ` + + * After hook for single node, fixes StoneCypher/fsl#698 + + + +     diff --git a/CHANGELOG.md b/CHANGELOG.md index 1d1cb5c3..3ca9dbb8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ All notable changes to this project will be documented in this file. -1159 merges; 201 releases; Changlogging the last 10 commits; Full changelog at [CHANGELOG.long.md](CHANGELOG.long.md) +1162 merges; 201 releases; Changlogging the last 10 commits; Full changelog at [CHANGELOG.long.md](CHANGELOG.long.md) @@ -22,13 +22,15 @@ Published tags:   -## [Untagged] - 7/6/2024 12:45:09 PM +## [Untagged] - 7/6/2024 5:46:50 PM -Commit [76daa940129b760f10032250ac482974ce1a9339](https://github.com/StoneCypher/jssm/commit/76daa940129b760f10032250ac482974ce1a9339) +Commit [9767e2c04a34d2d02bc8541daa6eb701dea15b70](https://github.com/StoneCypher/jssm/commit/9767e2c04a34d2d02bc8541daa6eb701dea15b70) Author: `John Haugeland ` - * suppressing tweet since that hasn't worked since elon anyway +Merges [f820f8d, 54f0f4f] + + * WIP on AddAfterAnyHook: f820f8d After hook for single node, fixes StoneCypher/fsl#698 @@ -37,13 +39,13 @@ Author: `John Haugeland `   -## [Untagged] - 7/6/2024 12:35:59 PM +## [Untagged] - 7/6/2024 5:46:50 PM -Commit [6fe0e82f5d442504e97061e739bbacc1e110740a](https://github.com/StoneCypher/jssm/commit/6fe0e82f5d442504e97061e739bbacc1e110740a) +Commit [54f0f4f72ca63de414e1362471377494492ca101](https://github.com/StoneCypher/jssm/commit/54f0f4f72ca63de414e1362471377494492ca101) Author: `John Haugeland ` - * jest bugs forced upgrade to jest which starts at node 14. since 14's two years out of service, i guess i'm okay with no longer testing 11-13. + * index on AddAfterAnyHook: f820f8d After hook for single node, fixes StoneCypher/fsl#698 @@ -52,13 +54,13 @@ Author: `John Haugeland `   -## [Untagged] - 7/6/2024 12:29:29 PM +## [Untagged] - 7/6/2024 5:43:39 PM -Commit [79624fe28c4096a3fa1b97e01829a949e3c26b6b](https://github.com/StoneCypher/jssm/commit/79624fe28c4096a3fa1b97e01829a949e3c26b6b) +Commit [f820f8d0dcc226a6cbe227e16d6e250a3c298be8](https://github.com/StoneCypher/jssm/commit/f820f8d0dcc226a6cbe227e16d6e250a3c298be8) Author: `John Haugeland ` - * remove other spurious gating comparison + * After hook for single node, fixes StoneCypher/fsl#698 @@ -67,13 +69,13 @@ Author: `John Haugeland `   -## [Untagged] - 7/6/2024 12:23:37 PM +## [Untagged] - 7/6/2024 12:45:09 PM -Commit [ad22d350f0b2e431d8e1ecf9c5a7ccf942b4eb3f](https://github.com/StoneCypher/jssm/commit/ad22d350f0b2e431d8e1ecf9c5a7ccf942b4eb3f) +Commit [76daa940129b760f10032250ac482974ce1a9339](https://github.com/StoneCypher/jssm/commit/76daa940129b760f10032250ac482974ce1a9339) Author: `John Haugeland ` - * remove spurious gating comparison + * suppressing tweet since that hasn't worked since elon anyway @@ -82,13 +84,13 @@ Author: `John Haugeland `   -## [Untagged] - 7/6/2024 12:00:00 PM +## [Untagged] - 7/6/2024 12:35:59 PM -Commit [84fb0da36c3cb4c7b6aaab527a3a38cb37ba5bc5](https://github.com/StoneCypher/jssm/commit/84fb0da36c3cb4c7b6aaab527a3a38cb37ba5bc5) +Commit [6fe0e82f5d442504e97061e739bbacc1e110740a](https://github.com/StoneCypher/jssm/commit/6fe0e82f5d442504e97061e739bbacc1e110740a) Author: `John Haugeland ` - * clean up dep vulns + * jest bugs forced upgrade to jest which starts at node 14. since 14's two years out of service, i guess i'm okay with no longer testing 11-13. @@ -97,13 +99,13 @@ Author: `John Haugeland `   -## [Untagged] - 7/6/2024 11:48:48 AM +## [Untagged] - 7/6/2024 12:29:29 PM -Commit [e0fb09207dbeb470471adcfc2cec6c228c3338a7](https://github.com/StoneCypher/jssm/commit/e0fb09207dbeb470471adcfc2cec6c228c3338a7) +Commit [79624fe28c4096a3fa1b97e01829a949e3c26b6b](https://github.com/StoneCypher/jssm/commit/79624fe28c4096a3fa1b97e01829a949e3c26b6b) Author: `John Haugeland ` - * Tidy up alternative graphing in viz. Fixes StoneCypher/fsl#374, fixes StoneCypher/fsl#1296 + * remove other spurious gating comparison @@ -112,22 +114,13 @@ Author: `John Haugeland `   -## [Untagged] - 6/18/2024 5:23:32 PM +## [Untagged] - 7/6/2024 12:23:37 PM -Commit [8bf562699ded4ffec21e50551b4a354c00daa12b](https://github.com/StoneCypher/jssm/commit/8bf562699ded4ffec21e50551b4a354c00daa12b) +Commit [ad22d350f0b2e431d8e1ecf9c5a7ccf942b4eb3f](https://github.com/StoneCypher/jssm/commit/ad22d350f0b2e431d8e1ecf9c5a7ccf942b4eb3f) -Author: `dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>` +Author: `John Haugeland ` - * Bump braces from 3.0.2 to 3.0.3 - * Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3. -- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md) -- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3) - * --- -updated-dependencies: -- dependency-name: braces - dependency-type: indirect -... - * Signed-off-by: dependabot[bot] + * remove spurious gating comparison @@ -136,22 +129,13 @@ updated-dependencies:   -## [Untagged] - 6/18/2024 1:54:53 PM +## [Untagged] - 7/6/2024 12:00:00 PM -Commit [2d713e97e899c921d6ed9c1c2434f0858a1a587a](https://github.com/StoneCypher/jssm/commit/2d713e97e899c921d6ed9c1c2434f0858a1a587a) +Commit [84fb0da36c3cb4c7b6aaab527a3a38cb37ba5bc5](https://github.com/StoneCypher/jssm/commit/84fb0da36c3cb4c7b6aaab527a3a38cb37ba5bc5) -Author: `dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>` +Author: `John Haugeland ` - * Bump ws from 7.5.9 to 7.5.10 - * Bumps [ws](https://github.com/websockets/ws) from 7.5.9 to 7.5.10. -- [Release notes](https://github.com/websockets/ws/releases) -- [Commits](https://github.com/websockets/ws/compare/7.5.9...7.5.10) - * --- -updated-dependencies: -- dependency-name: ws - dependency-type: indirect -... - * Signed-off-by: dependabot[bot] + * clean up dep vulns @@ -160,15 +144,13 @@ updated-dependencies:   - - -## [5.98.2] - 4/25/2024 11:44:27 AM +## [Untagged] - 7/6/2024 11:48:48 AM -Commit [c0d61bace970d9b32d37366c5c6997faf265cce5](https://github.com/StoneCypher/jssm/commit/c0d61bace970d9b32d37366c5c6997faf265cce5) +Commit [e0fb09207dbeb470471adcfc2cec6c228c3338a7](https://github.com/StoneCypher/jssm/commit/e0fb09207dbeb470471adcfc2cec6c228c3338a7) Author: `John Haugeland ` - * node v22 windows gh image has path problems, temporarily disabling + * Tidy up alternative graphing in viz. Fixes StoneCypher/fsl#374, fixes StoneCypher/fsl#1296 @@ -177,10 +159,19 @@ Author: `John Haugeland `   -## [Untagged] - 4/25/2024 8:32:09 AM +## [Untagged] - 6/18/2024 5:23:32 PM -Commit [04c9032fc215d1cef254ddfefb31a9ff89134a41](https://github.com/StoneCypher/jssm/commit/04c9032fc215d1cef254ddfefb31a9ff89134a41) +Commit [8bf562699ded4ffec21e50551b4a354c00daa12b](https://github.com/StoneCypher/jssm/commit/8bf562699ded4ffec21e50551b4a354c00daa12b) -Author: `John Haugeland ` +Author: `dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>` - * Add node 24 (released yesterday) to CI/CD grid, fixes StoneCypher/fsl#1294 \ No newline at end of file + * Bump braces from 3.0.2 to 3.0.3 + * Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3. +- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md) +- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3) + * --- +updated-dependencies: +- dependency-name: braces + dependency-type: indirect +... + * Signed-off-by: dependabot[bot] \ No newline at end of file diff --git a/README.md b/README.md index 8a2b4ef3..ae8b9b50 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.99.0 at 7/6/2024, 5:40:01 PM +* Generated for version 5.99.0 at 7/6/2024, 6:09:45 PM --> # jssm 5.99.0 @@ -31,7 +31,7 @@ Readable, useful state machines as one-liner strings. ***5,071 tests***, run 5,962 times. -* 5,062 specs with 99.9% coverage. +* 5,062 specs with 100.0% coverage. * 9 fuzz tests with 12.4% coverage. With 3,007 lines, that's about 1.7 tests per line, or 2.0 generated tests per line. diff --git a/dist/deno/README.md b/dist/deno/README.md index 8a2b4ef3..ae8b9b50 100644 --- a/dist/deno/README.md +++ b/dist/deno/README.md @@ -18,7 +18,7 @@ Please edit the file it's derived from, instead: `./src/md/readme_base.md` -* Generated for version 5.99.0 at 7/6/2024, 5:40:01 PM +* Generated for version 5.99.0 at 7/6/2024, 6:09:45 PM --> # jssm 5.99.0 @@ -31,7 +31,7 @@ Readable, useful state machines as one-liner strings. ***5,071 tests***, run 5,962 times. -* 5,062 specs with 99.9% coverage. +* 5,062 specs with 100.0% coverage. * 9 fuzz tests with 12.4% coverage. With 3,007 lines, that's about 1.7 tests per line, or 2.0 generated tests per line. diff --git a/dist/deno/jssm.js b/dist/deno/jssm.js index b6ba1bca..b149eea0 100644 --- a/dist/deno/jssm.js +++ b/dist/deno/jssm.js @@ -1 +1 @@ -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="milliseconds",peg$c1228=peg$literalExpectation("milliseconds",false),peg$c1229=function(){return 1},peg$c1230="millisecond",peg$c1231=peg$literalExpectation("millisecond",false),peg$c1232="msecs",peg$c1233=peg$literalExpectation("msecs",false),peg$c1234="msec",peg$c1235=peg$literalExpectation("msec",false),peg$c1236="ms",peg$c1237=peg$literalExpectation("ms",false),peg$c1238="seconds",peg$c1239=peg$literalExpectation("seconds",false),peg$c1240=function(){return 1e3},peg$c1241="second",peg$c1242=peg$literalExpectation("second",false),peg$c1243="secs",peg$c1244=peg$literalExpectation("secs",false),peg$c1245="sec",peg$c1246=peg$literalExpectation("sec",false),peg$c1247="s",peg$c1248=peg$literalExpectation("s",false),peg$c1249="minutes",peg$c1250=peg$literalExpectation("minutes",false),peg$c1251=function(){return 1e3*60},peg$c1252="minute",peg$c1253=peg$literalExpectation("minute",false),peg$c1254="mins",peg$c1255=peg$literalExpectation("mins",false),peg$c1256="min",peg$c1257=peg$literalExpectation("min",false),peg$c1258="m",peg$c1259=peg$literalExpectation("m",false),peg$c1260="hours",peg$c1261=peg$literalExpectation("hours",false),peg$c1262=function(){return 1e3*60*60},peg$c1263="hour",peg$c1264=peg$literalExpectation("hour",false),peg$c1265="hrs",peg$c1266=peg$literalExpectation("hrs",false),peg$c1267="hr",peg$c1268=peg$literalExpectation("hr",false),peg$c1269="h",peg$c1270=peg$literalExpectation("h",false),peg$c1271="days",peg$c1272=peg$literalExpectation("days",false),peg$c1273=function(){return 1e3*60*60*24},peg$c1274="day",peg$c1275=peg$literalExpectation("day",false),peg$c1276="d",peg$c1277=peg$literalExpectation("d",false),peg$c1278="weeks",peg$c1279=peg$literalExpectation("weeks",false),peg$c1280=function(){return 1e3*60*60*24*7},peg$c1281="week",peg$c1282=peg$literalExpectation("week",false),peg$c1283="wks",peg$c1284=peg$literalExpectation("wks",false),peg$c1285="wk",peg$c1286=peg$literalExpectation("wk",false),peg$c1287="w",peg$c1288=peg$literalExpectation("w",false),peg$c1289="after",peg$c1290=peg$literalExpectation("after",false),peg$c1291=function(value,timescale){return value*(timescale||1e3)},peg$c1292=function(names){return names.map((i=>i[0]))},peg$c1293="+|",peg$c1294=peg$literalExpectation("+|",false),peg$c1295=function(nzd,dd){return{key:"stripe",value:parseInt(`${nzd}${dd}`,10)}},peg$c1296="-|",peg$c1297=peg$literalExpectation("-|",false),peg$c1298=function(nzd,dd){return{key:"stripe",value:-1*parseInt(`${nzd}${dd}`,10)}},peg$c1299="+",peg$c1300=peg$literalExpectation("+",false),peg$c1301=function(nzd,dd){return{key:"cycle",value:parseInt(`${nzd}${dd}`,10)}},peg$c1302="-",peg$c1303=peg$literalExpectation("-",false),peg$c1304=function(nzd,dd){return{key:"cycle",value:-1*parseInt(`${nzd}${dd}`,10)}},peg$c1305="+0",peg$c1306=peg$literalExpectation("+0",false),peg$c1307=function(){return{key:"cycle",value:0}},peg$c1308=function(r_after,r_action,r_prob,l_desc,arrow,r_desc,l_prob,l_action,l_after,label,tail){const base={kind:arrow,to:label};if(l_after){base.l_after=l_after}if(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}if(r_after){base.r_after=r_after}return base},peg$c1309=function(label,se){const base={key:"transition",from:label};if(se){base.se=se}return base},peg$c1310="whargarbl",peg$c1311=peg$literalExpectation("whargarbl",false),peg$c1312="todo",peg$c1313=peg$literalExpectation("todo",false),peg$c1314=function(validationkey,value){return{key:validationkey,value:value}},peg$c1315="validation",peg$c1316=peg$literalExpectation("validation",false),peg$c1317="};",peg$c1318=peg$literalExpectation("};",false),peg$c1319=function(validation_items){return{config_kind:"validation",config_items:validation_items||[]}},peg$c1320="dot",peg$c1321=peg$literalExpectation("dot",false),peg$c1322="circo",peg$c1323=peg$literalExpectation("circo",false),peg$c1324="fdp",peg$c1325=peg$literalExpectation("fdp",false),peg$c1326="neato",peg$c1327=peg$literalExpectation("neato",false),peg$c1328="twopi",peg$c1329=peg$literalExpectation("twopi",false),peg$c1330="state",peg$c1331=peg$literalExpectation("state",false),peg$c1332=function(state_items){return{key:"default_state_config",value:state_items||[]}},peg$c1333="start_state",peg$c1334=peg$literalExpectation("start_state",false),peg$c1335=function(state_items){return{key:"default_start_state_config",value:state_items||[]}},peg$c1336="end_state",peg$c1337=peg$literalExpectation("end_state",false),peg$c1338=function(state_items){return{key:"default_end_state_config",value:state_items||[]}},peg$c1339="active_state",peg$c1340=peg$literalExpectation("active_state",false),peg$c1341=function(state_items){return{key:"default_active_state_config",value:state_items||[]}},peg$c1342="terminal_state",peg$c1343=peg$literalExpectation("terminal_state",false),peg$c1344=function(state_items){return{key:"default_terminal_state_config",value:state_items||[]}},peg$c1345="hooked_state",peg$c1346=peg$literalExpectation("hooked_state",false),peg$c1347=function(state_items){return{key:"default_hooked_state_config",value:state_items||[]}},peg$c1348=function(actionkey,value){return{key:actionkey,value:value}},peg$c1349="action",peg$c1350=peg$literalExpectation("action",false),peg$c1351=function(action_items){return{config_kind:"action",config_items:action_items||[]}},peg$c1352=function(key,value){return{key:key,value:value}},peg$c1353=peg$otherExpectation("graph default edge color"),peg$c1354=function(value){return{key:"graph_default_edge_color",value:value}},peg$c1355="transition",peg$c1356=peg$literalExpectation("transition",false),peg$c1357=function(transition_items){return{config_kind:"transition",config_items:transition_items||[]}},peg$c1358="graph_layout",peg$c1359=peg$literalExpectation("graph_layout",false),peg$c1360=function(value){return{key:"graph_layout",value:value}},peg$c1361="start_states",peg$c1362=peg$literalExpectation("start_states",false),peg$c1363=function(value){return{key:"start_states",value:value}},peg$c1364="end_states",peg$c1365=peg$literalExpectation("end_states",false),peg$c1366=function(value){return{key:"end_states",value:value}},peg$c1367="graph_bg_color",peg$c1368=peg$literalExpectation("graph_bg_color",false),peg$c1369=function(value){return{key:"graph_bg_color",value:value}},peg$c1370="allows_override",peg$c1371=peg$literalExpectation("allows_override",false),peg$c1372=function(value){return{key:"allows_override",value:value}},peg$c1373=function(){return true},peg$c1374=function(){return false},peg$c1375=peg$otherExpectation("configuration"),peg$c1376="MIT",peg$c1377=peg$literalExpectation("MIT",false),peg$c1378="BSD 2-clause",peg$c1379=peg$literalExpectation("BSD 2-clause",false),peg$c1380="BSD 3-clause",peg$c1381=peg$literalExpectation("BSD 3-clause",false),peg$c1382="Apache 2.0",peg$c1383=peg$literalExpectation("Apache 2.0",false),peg$c1384="Mozilla 2.0",peg$c1385=peg$literalExpectation("Mozilla 2.0",false),peg$c1386="Public domain",peg$c1387=peg$literalExpectation("Public domain",false),peg$c1388="GPL v2",peg$c1389=peg$literalExpectation("GPL v2",false),peg$c1390="GPL v3",peg$c1391=peg$literalExpectation("GPL v3",false),peg$c1392="LGPL v2.1",peg$c1393=peg$literalExpectation("LGPL v2.1",false),peg$c1394="LGPL v3.0",peg$c1395=peg$literalExpectation("LGPL v3.0",false),peg$c1396="Unknown",peg$c1397=peg$literalExpectation("Unknown",false),peg$c1398=peg$otherExpectation("direction"),peg$c1399="up",peg$c1400=peg$literalExpectation("up",false),peg$c1401="right",peg$c1402=peg$literalExpectation("right",false),peg$c1403="down",peg$c1404=peg$literalExpectation("down",false),peg$c1405="left",peg$c1406=peg$literalExpectation("left",false),peg$c1407=peg$otherExpectation("hook definition (open/closed)"),peg$c1408="open",peg$c1409=peg$literalExpectation("open",false),peg$c1410="closed",peg$c1411=peg$literalExpectation("closed",false),peg$c1412="machine_author",peg$c1413=peg$literalExpectation("machine_author",false),peg$c1414=function(value){return{key:"machine_author",value:value}},peg$c1415="machine_contributor",peg$c1416=peg$literalExpectation("machine_contributor",false),peg$c1417=function(value){return{key:"machine_contributor",value:value}},peg$c1418="machine_comment",peg$c1419=peg$literalExpectation("machine_comment",false),peg$c1420=function(value){return{key:"machine_comment",value:value}},peg$c1421="machine_definition",peg$c1422=peg$literalExpectation("machine_definition",false),peg$c1423=function(value){return{key:"machine_definition",value:value}},peg$c1424="machine_name",peg$c1425=peg$literalExpectation("machine_name",false),peg$c1426=function(value){return{key:"machine_name",value:value}},peg$c1430="machine_version",peg$c1431=peg$literalExpectation("machine_version",false),peg$c1432=function(value){return{key:"machine_version",value:value}},peg$c1433="machine_license",peg$c1434=peg$literalExpectation("machine_license",false),peg$c1435=function(value){return{key:"machine_license",value:value}},peg$c1436="machine_language",peg$c1437=peg$literalExpectation("machine_language",false),peg$c1438=function(value){return{key:"machine_language",value:value}},peg$c1439="fsl_version",peg$c1440=peg$literalExpectation("fsl_version",false),peg$c1441=function(value){return{key:"fsl_version",value:value}},peg$c1442="theme",peg$c1443=peg$literalExpectation("theme",false),peg$c1444=function(value){return{key:"theme",value:value}},peg$c1445="flow",peg$c1446=peg$literalExpectation("flow",false),peg$c1447=function(value){return{key:"flow",value:value}},peg$c1448="hooks",peg$c1449=peg$literalExpectation("hooks",false),peg$c1450=function(value){return{key:"hook_definition",value:value}},peg$c1451="dot_preamble",peg$c1452=peg$literalExpectation("dot_preamble",false),peg$c1453=function(value){return{key:"dot_preamble",value:value}},peg$c1454=peg$otherExpectation("machine attribute"),peg$c1455="label",peg$c1456=peg$literalExpectation("label",false),peg$c1457=function(value){return{key:"state-label",value:value}},peg$c1458="color",peg$c1459=peg$literalExpectation("color",false),peg$c1460=function(value){return{key:"color",value:value}},peg$c1461=peg$otherExpectation("text color"),peg$c1462="text-color",peg$c1463=peg$literalExpectation("text-color",false),peg$c1464=function(value){return{key:"text-color",value:value}},peg$c1465=peg$otherExpectation("background color"),peg$c1466="background-color",peg$c1467=peg$literalExpectation("background-color",false),peg$c1468=function(value){return{key:"background-color",value:value}},peg$c1469=peg$otherExpectation("border color"),peg$c1470="border-color",peg$c1471=peg$literalExpectation("border-color",false),peg$c1472=function(value){return{key:"border-color",value:value}},peg$c1473=peg$otherExpectation("shape"),peg$c1474="shape",peg$c1475=peg$literalExpectation("shape",false),peg$c1476=function(value){return{key:"shape",value:value}},peg$c1477=peg$otherExpectation("corners"),peg$c1478="corners",peg$c1479=peg$literalExpectation("corners",false),peg$c1480=function(value){return{key:"corners",value:value}},peg$c1481=peg$otherExpectation("linestyle"),peg$c1482=function(value){return{key:"line-style",value:value}},peg$c1483="linestyle",peg$c1484=peg$literalExpectation("linestyle",false),peg$c1485=peg$otherExpectation("state property"),peg$c1486="property",peg$c1487=peg$literalExpectation("property",false),peg$c1488=function(name,value){return{key:"state_property",name:name,value:value}},peg$c1489="required",peg$c1490=peg$literalExpectation("required",false),peg$c1491=function(name,value){return{key:"state_property",name:name,value:value,required:true}},peg$c1492=function(name,value){return{key:"state_declaration",name:name,value:value}},peg$c1493="&",peg$c1494=peg$literalExpectation("&",false),peg$c1495=function(name,value){return{key:"named_list",name:name,value:value}},peg$c1496=function(name,default_value){return{key:"property_definition",name:name,default_value:default_value,required:true}},peg$c1497=function(name){return{key:"property_definition",name:name,required:true}},peg$c1498=function(name,default_value){return{key:"property_definition",name:name,default_value:default_value}},peg$c1499=function(name){return{key:"property_definition",name:name}},peg$c1500="arrange",peg$c1501=peg$literalExpectation("arrange",false),peg$c1502=function(value){return{key:"arrange_declaration",value:value}},peg$c1503="arrange-start",peg$c1504=peg$literalExpectation("arrange-start",false),peg$c1505=function(value){return{key:"arrange_start_declaration",value:value}},peg$c1506="arrange-end",peg$c1507=peg$literalExpectation("arrange-end",false),peg$c1508=function(value){return{key:"arrange_end_declaration",value:value}},peg$c1509=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$parseTimeType(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c1227){s1=peg$c1227;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1228)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1229()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1230){s1=peg$c1230;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1231)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1229()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1232){s1=peg$c1232;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1233)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1229()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1234){s1=peg$c1234;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1235)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1229()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1236){s1=peg$c1236;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1237)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1229()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1238){s1=peg$c1238;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1239)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1240()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1241){s1=peg$c1241;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1242)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1240()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1243){s1=peg$c1243;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1244)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1240()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1245){s1=peg$c1245;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1240()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===115){s1=peg$c1247;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1240()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1249){s1=peg$c1249;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1250)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1251()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1252){s1=peg$c1252;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1251()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1254){s1=peg$c1254;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1255)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1251()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1256){s1=peg$c1256;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1257)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1251()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===109){s1=peg$c1258;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1259)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1251()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1260){s1=peg$c1260;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1261)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1262()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1263){s1=peg$c1263;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1264)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1262()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1265){s1=peg$c1265;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1266)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1262()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1267){s1=peg$c1267;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1268)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1262()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===104){s1=peg$c1269;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1270)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1262()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1271){s1=peg$c1271;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1272)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1273()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1274){s1=peg$c1274;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1275)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1273()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===100){s1=peg$c1276;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1277)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1273()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1278){s1=peg$c1278;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1279)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1280()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1281){s1=peg$c1281;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1282)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1280()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1283){s1=peg$c1283;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1284)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1280()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1285){s1=peg$c1285;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1286)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1280()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===119){s1=peg$c1287;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1288)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1280()}s0=s1}}}}}}}}}}}}}}}}}}}}}}}}}}}return s0}function peg$parseArrowAfter(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1289){s1=peg$c1289;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1290)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2!==peg$FAILED){s3=peg$parseNonNegNumber();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){s5=peg$parseTimeType();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1291(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$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$c1292(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$c1293){s1=peg$c1293;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1294)}}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$c1295(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$c1296){s1=peg$c1296;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1297)}}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$c1298(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$c1299;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1300)}}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$c1301(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$c1302;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1303)}}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$c1304(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$c1305){s1=peg$c1305;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1306)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1307()}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,s19,s20,s21,s22;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseArrowAfter();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$parseActionLabel();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$parseArrowProbability();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$parseArrowDesc();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){s10=peg$parseArrow();if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){s12=peg$parseArrowDesc();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$parseArrowProbability();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$parseActionLabel();if(s16===peg$FAILED){s16=null}if(s16!==peg$FAILED){s17=peg$parseWS();if(s17===peg$FAILED){s17=null}if(s17!==peg$FAILED){s18=peg$parseArrowAfter();if(s18===peg$FAILED){s18=null}if(s18!==peg$FAILED){s19=peg$parseWS();if(s19===peg$FAILED){s19=null}if(s19!==peg$FAILED){s20=peg$parseArrowTarget();if(s20!==peg$FAILED){s21=peg$parseWS();if(s21===peg$FAILED){s21=null}if(s21!==peg$FAILED){s22=peg$parseSubexp();if(s22===peg$FAILED){s22=null}if(s22!==peg$FAILED){peg$savedPos=s0;s1=peg$c1308(s2,s4,s6,s8,s10,s12,s14,s16,s18,s20,s22);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1309(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$c1310){s0=peg$c1310;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1311)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1312){s0=peg$c1312;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1313)}}}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$c1314(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$c1315){s2=peg$c1315;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1316)}}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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1319(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$c1320){s0=peg$c1320;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1321)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1322){s0=peg$c1322;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1323)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c1324){s0=peg$c1324;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1325)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1326){s0=peg$c1326;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1327)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1328){s0=peg$c1328;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1329)}}}}}}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$c1330){s2=peg$c1330;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1331)}}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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1332(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$c1333){s2=peg$c1333;peg$currPos+=11}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1334)}}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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1335(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$c1336){s2=peg$c1336;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1337)}}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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1338(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$c1339){s2=peg$c1339;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1340)}}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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1341(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$c1342){s2=peg$c1342;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1343)}}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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1344(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$c1345){s2=peg$c1345;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1346)}}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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1347(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$c1310){s0=peg$c1310;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1311)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1312){s0=peg$c1312;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1313)}}}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$c1348(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$c1349){s2=peg$c1349;peg$currPos+=6}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){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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1351(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$c1310){s0=peg$c1310;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1311)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1312){s0=peg$c1312;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1313)}}}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$c1352(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$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}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1353)}}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$c1355){s2=peg$c1355;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1356)}}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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1357(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$c1358){s2=peg$c1358;peg$currPos+=12}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$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$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$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$c1361){s2=peg$c1361;peg$currPos+=12}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$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$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$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$c1364){s2=peg$c1364;peg$currPos+=10}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$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$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$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$c1367){s2=peg$c1367;peg$currPos+=14}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$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$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$parseConfigAllowsOverride(){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$c1370){s2=peg$c1370;peg$currPos+=15}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$parseOverrideT();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$parseOverrideT(){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$c1373()}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$c1374()}s0=s1;if(s0===peg$FAILED){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$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();if(s0===peg$FAILED){s0=peg$parseConfigAllowsOverride()}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1375)}}return s0}function peg$parseLicenseOrLabelOrList(){var s0;if(input.substr(peg$currPos,3)===peg$c1376){s0=peg$c1376;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1377)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1378){s0=peg$c1378;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1379)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1380){s0=peg$c1380;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1381)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1382){s0=peg$c1382;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1383)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1384){s0=peg$c1384;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1385)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c1386){s0=peg$c1386;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1387)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1388){s0=peg$c1388;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1389)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1390){s0=peg$c1390;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1391)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1392){s0=peg$c1392;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1393)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1394){s0=peg$c1394;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1395)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c1396){s0=peg$c1396;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1397)}}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$c1399){s0=peg$c1399;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1400)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1401){s0=peg$c1401;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1402)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1403){s0=peg$c1403;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1404)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1405){s0=peg$c1405;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1406)}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1398)}}return s0}function peg$parseHookDefinition(){var s0;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c1408){s0=peg$c1408;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1409)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1410){s0=peg$c1410;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1411)}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1407)}}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$c1412){s2=peg$c1412;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1413)}}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$c1414(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$c1415){s2=peg$c1415;peg$currPos+=19}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1416)}}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$c1417(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$c1418){s2=peg$c1418;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1419)}}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$c1420(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$c1421){s2=peg$c1421;peg$currPos+=18}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){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$c1423(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$c1424){s2=peg$c1424;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1425)}}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$c1426(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$c1430){s2=peg$c1430;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1431)}}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$c1432(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$c1433){s2=peg$c1433;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1434)}}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$c1435(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$c1436){s2=peg$c1436;peg$currPos+=16}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1437)}}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$c1438(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$c1439){s2=peg$c1439;peg$currPos+=11}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1440)}}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$c1441(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$c1442){s2=peg$c1442;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1443)}}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$c1444(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$c1445){s2=peg$c1445;peg$currPos+=4}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1446)}}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$c1447(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$c1448){s2=peg$c1448;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1449)}}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$c1450(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$c1451){s2=peg$c1451;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1452)}}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$c1453(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$c1454)}}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$c1455){s2=peg$c1455;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1456)}}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$c1457(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$c1458){s2=peg$c1458;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1459)}}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$c1460(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$c1462){s2=peg$c1462;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1463)}}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$c1464(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$c1461)}}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$c1466){s2=peg$c1466;peg$currPos+=16}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1467)}}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$c1468(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$c1465)}}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$c1470){s2=peg$c1470;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1471)}}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$c1472(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$c1469)}}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$c1474){s2=peg$c1474;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1475)}}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$c1476(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$c1473)}}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$c1478){s2=peg$c1478;peg$currPos+=7}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1479)}}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$c1480(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$c1477)}}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$c1482(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$c1483){s2=peg$c1483;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1484)}}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$c1482(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$c1481)}}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$c1486){s2=peg$c1486;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1487)}}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$c1488(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$c1486){s2=peg$c1486;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1487)}}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$c1489){s10=peg$c1489;peg$currPos+=8}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1490)}}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$c1491(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$c1485)}}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$c1330){s2=peg$c1330;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1331)}}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$c1492(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$c1493;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1494)}}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$c1495(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$c1486){s2=peg$c1486;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1487)}}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$c1489){s10=peg$c1489;peg$currPos+=8}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1490)}}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$c1496(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$c1486){s2=peg$c1486;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1487)}}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$c1489){s6=peg$c1489;peg$currPos+=8}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1490)}}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$c1497(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$c1486){s2=peg$c1486;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1487)}}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$c1498(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$c1486){s2=peg$c1486;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1487)}}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$c1499(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$c1500){s1=peg$c1500;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1501)}}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$c1502(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$c1503){s1=peg$c1503;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1504)}}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$c1505(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$c1506){s1=peg$c1506;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1507)}}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$c1508(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$c1509)}}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",rng)=>{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]);function gen_splitmix32(a){if(a===undefined){a=(new Date).getTime()}return function(){a|=0;a=a+2654435769|0;var t=a^a>>>16;t=Math.imul(t,569420461);t=t^t>>>15;t=Math.imul(t,1935289751);return((t=t^t>>>15)>>>0)/4294967296}}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[]}}function sleep(ms){return new Promise((resolve=>setTimeout(resolve,ms)))}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,after_time:isRight?this_se.r_after:this_se.l_after,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","allows_override","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:[],allows_override:[]};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","allows_override"];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 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 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.99.0",build_time=1720312692737;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=[],initial_state:initial_state,start_states_no_enforce:start_states_no_enforce,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,allows_override:allows_override,config_allows_override:config_allows_override,rng_seed:rng_seed,time_source:time_source,timeout_source:timeout_source,clear_timeout_source:clear_timeout_source}){this._time_source=()=>(new Date).getTime();this._create_started=this._time_source();this._instance_name=instance_name;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_after_hooks=false;this._has_global_action_hooks=false;this._has_transition_hooks=true;this._has_forced_transitions=false;this._hooks=new Map;this._named_hooks=new Map;this._entry_hooks=new Map;this._exit_hooks=new Map;this._after_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._code_allows_override=allows_override;this._config_allows_override=config_allows_override;if(allows_override===false&&config_allows_override===true){throw new JssmError(undefined,"Code specifies no override, but config tries to permit; config may not be less strict than code")}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;this._rng_seed=rng_seed!==null&&rng_seed!==void 0?rng_seed:(new Date).getTime();this._rng=gen_splitmix32(this._rng_seed);this._timeout_source=timeout_source!==null&&timeout_source!==void 0?timeout_source:(f,a)=>setTimeout(f,a);this._clear_timeout_source=clear_timeout_source!==null&&clear_timeout_source!==void 0?clear_timeout_source:h=>clearTimeout(h);this._timeout_handle=undefined;this._timeout_target=undefined;this._timeout_target_time=undefined;this._after_mapping=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.forced_only){this._has_forced_transitions=true}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)}}if(tr.after_time){this._after_mapping.set(tr.from,[tr.to,tr.after_time])}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)}))}if(initial_state){if(!this._states.has(initial_state)){throw new JssmError(this,`requested start state ${initial_state} does not exist`)}if(!start_states_no_enforce&&!start_states.includes(initial_state)){throw new JssmError(this,`requested start state ${initial_state} is not in start state list; add {start_states_no_enforce:true} to constructor options if desired`)}this._state=initial_state}else{this._state=start_states[0]}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`)}this._created=this._time_source();this.auto_set_state_timeout();this._arrange_declaration.forEach((arrange_pair=>arrange_pair.forEach((possibleState=>{if(!this._states.has(possibleState)){throw new JssmError(this,`Cannot arrange state that does not exist "${possibleState}"`)}}))))}_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}get uses_forced_transitions(){return this._has_forced_transitions}get code_allows_override(){return this._code_allows_override}get config_allows_override(){return this._config_allows_override}get allows_override(){if(this._code_allows_override===false){if(this._config_allows_override===true){throw new JssmError(this,"Code specifies no override, but config tries to permit; config may not be less strict than code; should be unreachable")}else{return false}}if(this._code_allows_override===true){if(this._config_allows_override===false){return false}else{return true}}if(this._config_allows_override===true){return true}else{return false}}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()){var _a,_b;const guaranteed=(_a=this._states.get(whichState))!==null&&_a!==void 0?_a:{from:undefined};return(_b=guaranteed.from)!==null&&_b!==void 0?_b:[]}list_exits(whichState=this.state()){var _a,_b;const guaranteed=(_a=this._states.get(whichState))!==null&&_a!==void 0?_a:{to:undefined};return(_b=guaranteed.to)!==null&&_b!==void 0?_b:[]}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()),undefined,this._rng);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{if(this.has_state(whichState)){return[]}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"after":this._after_hooks.set(HookDesc.from,HookDesc.handler);this._has_hooks=true;this._has_after_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}hook_after(from,handler){this.set_hook({kind:"after",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}get rng_seed(){return this._rng_seed}set rng_seed(to){if(typeof to==="undefined"){this._rng_seed=(new Date).getTime()}else{this._rng_seed=to}}edges_between(from,to){return this._edges.filter((edge=>edge.from===from&&edge.to===to))}override(newState,newData){if(this.allows_override){if(this._states.has(newState)){this._state=newState;this._data=newData}else{throw new JssmError(this,`Cannot override state to "${newState}", a state that does not exist`)}}else{throw new JssmError(this,"Code specifies no override, but config tries to permit; config may not be less strict than code")}}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,next_data:newData,forced:wasForced,trans_type:trans_type};if(valid){if(this._has_hooks){this.clear_state_timeout();function update_fields(res){if(res.hasOwnProperty("data")){hook_args.data=res.data;hook_args.next_data=res.next_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._has_after_hooks){const ah=this._after_hooks.get(newStateOrAction);const outcome=abstract_hook_step(ah,hook_args);if(outcome.pass===false){return false}const manufactured_context={data:outcome.data,next_data:outcome.next_data};if(ah!==undefined){ah(manufactured_context)}update_fields(outcome)}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(newData!==undefined){this._data=newData}}else{if(this._history_length){this._history.shove([this._state,this._data])}this._state=newState;if(newData!==undefined){this._data=newData}}}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)}}}this.auto_set_state_timeout();return true}auto_set_state_timeout(){const after_res=this._after_mapping.get(this._state);if(after_res!==undefined){const[next_state,after_time]=after_res;this.set_state_timeout(next_state,after_time)}}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}get creation_date(){return new Date(Math.floor(this.creation_timestamp))}get creation_timestamp(){return this._created}get create_start_time(){return this._create_started}set_state_timeout(next_state,after_time){if(this._timeout_handle!==undefined){throw new JssmError(this,`Asked to set a state timeout to ${next_state}:${after_time}, but already timing out to ${this._timeout_target}:${this._timeout_target_time}`)}this._timeout_handle=this._timeout_source((()=>{this.clear_state_timeout();if(this._has_after_hooks){const ah=this._after_hooks.get(this.state());if(ah!==undefined){ah({data:this._data,next_data:this._data})}}this.go(next_state)}),after_time);this._timeout_target=next_state;this._timeout_target_time=after_time}clear_state_timeout(){if(this._timeout_handle===undefined){return}this._clear_timeout_source(this._timeout_handle);this._timeout_handle=undefined;this._timeout_target=undefined;this._timeout_target_time=undefined}state_timeout_for(which_state){return this._after_mapping.get(which_state)}current_state_timeout(){return this._timeout_target!==undefined?[this._timeout_target,this._timeout_target_time]:undefined}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=>{if(key==="allows_override"){to_decorate["config_allows_override"]=ExtraConstructorFields["allows_override"]}else{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}export{FslDirections,Machine,abstract_hook_step,arrow_direction,arrow_left_kind,arrow_right_kind,build_time,compile,constants,deserialize,find_repeated,from,gviz_shapes,histograph,is_hook_complex_result,is_hook_rejection,make,named_colors,wrap_parse as parse,seq,shapes,sleep,sm,state_style_condense,transfer_state_properties,unique,version,weighted_histo_key,weighted_rand_select,weighted_sample_select}; +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="milliseconds",peg$c1228=peg$literalExpectation("milliseconds",false),peg$c1229=function(){return 1},peg$c1230="millisecond",peg$c1231=peg$literalExpectation("millisecond",false),peg$c1232="msecs",peg$c1233=peg$literalExpectation("msecs",false),peg$c1234="msec",peg$c1235=peg$literalExpectation("msec",false),peg$c1236="ms",peg$c1237=peg$literalExpectation("ms",false),peg$c1238="seconds",peg$c1239=peg$literalExpectation("seconds",false),peg$c1240=function(){return 1e3},peg$c1241="second",peg$c1242=peg$literalExpectation("second",false),peg$c1243="secs",peg$c1244=peg$literalExpectation("secs",false),peg$c1245="sec",peg$c1246=peg$literalExpectation("sec",false),peg$c1247="s",peg$c1248=peg$literalExpectation("s",false),peg$c1249="minutes",peg$c1250=peg$literalExpectation("minutes",false),peg$c1251=function(){return 1e3*60},peg$c1252="minute",peg$c1253=peg$literalExpectation("minute",false),peg$c1254="mins",peg$c1255=peg$literalExpectation("mins",false),peg$c1256="min",peg$c1257=peg$literalExpectation("min",false),peg$c1258="m",peg$c1259=peg$literalExpectation("m",false),peg$c1260="hours",peg$c1261=peg$literalExpectation("hours",false),peg$c1262=function(){return 1e3*60*60},peg$c1263="hour",peg$c1264=peg$literalExpectation("hour",false),peg$c1265="hrs",peg$c1266=peg$literalExpectation("hrs",false),peg$c1267="hr",peg$c1268=peg$literalExpectation("hr",false),peg$c1269="h",peg$c1270=peg$literalExpectation("h",false),peg$c1271="days",peg$c1272=peg$literalExpectation("days",false),peg$c1273=function(){return 1e3*60*60*24},peg$c1274="day",peg$c1275=peg$literalExpectation("day",false),peg$c1276="d",peg$c1277=peg$literalExpectation("d",false),peg$c1278="weeks",peg$c1279=peg$literalExpectation("weeks",false),peg$c1280=function(){return 1e3*60*60*24*7},peg$c1281="week",peg$c1282=peg$literalExpectation("week",false),peg$c1283="wks",peg$c1284=peg$literalExpectation("wks",false),peg$c1285="wk",peg$c1286=peg$literalExpectation("wk",false),peg$c1287="w",peg$c1288=peg$literalExpectation("w",false),peg$c1289="after",peg$c1290=peg$literalExpectation("after",false),peg$c1291=function(value,timescale){return value*(timescale||1e3)},peg$c1292=function(names){return names.map((i=>i[0]))},peg$c1293="+|",peg$c1294=peg$literalExpectation("+|",false),peg$c1295=function(nzd,dd){return{key:"stripe",value:parseInt(`${nzd}${dd}`,10)}},peg$c1296="-|",peg$c1297=peg$literalExpectation("-|",false),peg$c1298=function(nzd,dd){return{key:"stripe",value:-1*parseInt(`${nzd}${dd}`,10)}},peg$c1299="+",peg$c1300=peg$literalExpectation("+",false),peg$c1301=function(nzd,dd){return{key:"cycle",value:parseInt(`${nzd}${dd}`,10)}},peg$c1302="-",peg$c1303=peg$literalExpectation("-",false),peg$c1304=function(nzd,dd){return{key:"cycle",value:-1*parseInt(`${nzd}${dd}`,10)}},peg$c1305="+0",peg$c1306=peg$literalExpectation("+0",false),peg$c1307=function(){return{key:"cycle",value:0}},peg$c1308=function(r_after,r_action,r_prob,l_desc,arrow,r_desc,l_prob,l_action,l_after,label,tail){const base={kind:arrow,to:label};if(l_after){base.l_after=l_after}if(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}if(r_after){base.r_after=r_after}return base},peg$c1309=function(label,se){const base={key:"transition",from:label};if(se){base.se=se}return base},peg$c1310="whargarbl",peg$c1311=peg$literalExpectation("whargarbl",false),peg$c1312="todo",peg$c1313=peg$literalExpectation("todo",false),peg$c1314=function(validationkey,value){return{key:validationkey,value:value}},peg$c1315="validation",peg$c1316=peg$literalExpectation("validation",false),peg$c1317="};",peg$c1318=peg$literalExpectation("};",false),peg$c1319=function(validation_items){return{config_kind:"validation",config_items:validation_items||[]}},peg$c1320="dot",peg$c1321=peg$literalExpectation("dot",false),peg$c1322="circo",peg$c1323=peg$literalExpectation("circo",false),peg$c1324="fdp",peg$c1325=peg$literalExpectation("fdp",false),peg$c1326="neato",peg$c1327=peg$literalExpectation("neato",false),peg$c1328="twopi",peg$c1329=peg$literalExpectation("twopi",false),peg$c1330="state",peg$c1331=peg$literalExpectation("state",false),peg$c1332=function(state_items){return{key:"default_state_config",value:state_items||[]}},peg$c1333="start_state",peg$c1334=peg$literalExpectation("start_state",false),peg$c1335=function(state_items){return{key:"default_start_state_config",value:state_items||[]}},peg$c1336="end_state",peg$c1337=peg$literalExpectation("end_state",false),peg$c1338=function(state_items){return{key:"default_end_state_config",value:state_items||[]}},peg$c1339="active_state",peg$c1340=peg$literalExpectation("active_state",false),peg$c1341=function(state_items){return{key:"default_active_state_config",value:state_items||[]}},peg$c1342="terminal_state",peg$c1343=peg$literalExpectation("terminal_state",false),peg$c1344=function(state_items){return{key:"default_terminal_state_config",value:state_items||[]}},peg$c1345="hooked_state",peg$c1346=peg$literalExpectation("hooked_state",false),peg$c1347=function(state_items){return{key:"default_hooked_state_config",value:state_items||[]}},peg$c1348=function(actionkey,value){return{key:actionkey,value:value}},peg$c1349="action",peg$c1350=peg$literalExpectation("action",false),peg$c1351=function(action_items){return{config_kind:"action",config_items:action_items||[]}},peg$c1352=function(key,value){return{key:key,value:value}},peg$c1353=peg$otherExpectation("graph default edge color"),peg$c1354=function(value){return{key:"graph_default_edge_color",value:value}},peg$c1355="transition",peg$c1356=peg$literalExpectation("transition",false),peg$c1357=function(transition_items){return{config_kind:"transition",config_items:transition_items||[]}},peg$c1358="graph_layout",peg$c1359=peg$literalExpectation("graph_layout",false),peg$c1360=function(value){return{key:"graph_layout",value:value}},peg$c1361="start_states",peg$c1362=peg$literalExpectation("start_states",false),peg$c1363=function(value){return{key:"start_states",value:value}},peg$c1364="end_states",peg$c1365=peg$literalExpectation("end_states",false),peg$c1366=function(value){return{key:"end_states",value:value}},peg$c1367="graph_bg_color",peg$c1368=peg$literalExpectation("graph_bg_color",false),peg$c1369=function(value){return{key:"graph_bg_color",value:value}},peg$c1370="allows_override",peg$c1371=peg$literalExpectation("allows_override",false),peg$c1372=function(value){return{key:"allows_override",value:value}},peg$c1373=function(){return true},peg$c1374=function(){return false},peg$c1375=peg$otherExpectation("configuration"),peg$c1376="MIT",peg$c1377=peg$literalExpectation("MIT",false),peg$c1378="BSD 2-clause",peg$c1379=peg$literalExpectation("BSD 2-clause",false),peg$c1380="BSD 3-clause",peg$c1381=peg$literalExpectation("BSD 3-clause",false),peg$c1382="Apache 2.0",peg$c1383=peg$literalExpectation("Apache 2.0",false),peg$c1384="Mozilla 2.0",peg$c1385=peg$literalExpectation("Mozilla 2.0",false),peg$c1386="Public domain",peg$c1387=peg$literalExpectation("Public domain",false),peg$c1388="GPL v2",peg$c1389=peg$literalExpectation("GPL v2",false),peg$c1390="GPL v3",peg$c1391=peg$literalExpectation("GPL v3",false),peg$c1392="LGPL v2.1",peg$c1393=peg$literalExpectation("LGPL v2.1",false),peg$c1394="LGPL v3.0",peg$c1395=peg$literalExpectation("LGPL v3.0",false),peg$c1396="Unknown",peg$c1397=peg$literalExpectation("Unknown",false),peg$c1398=peg$otherExpectation("direction"),peg$c1399="up",peg$c1400=peg$literalExpectation("up",false),peg$c1401="right",peg$c1402=peg$literalExpectation("right",false),peg$c1403="down",peg$c1404=peg$literalExpectation("down",false),peg$c1405="left",peg$c1406=peg$literalExpectation("left",false),peg$c1407=peg$otherExpectation("hook definition (open/closed)"),peg$c1408="open",peg$c1409=peg$literalExpectation("open",false),peg$c1410="closed",peg$c1411=peg$literalExpectation("closed",false),peg$c1412="machine_author",peg$c1413=peg$literalExpectation("machine_author",false),peg$c1414=function(value){return{key:"machine_author",value:value}},peg$c1415="machine_contributor",peg$c1416=peg$literalExpectation("machine_contributor",false),peg$c1417=function(value){return{key:"machine_contributor",value:value}},peg$c1418="machine_comment",peg$c1419=peg$literalExpectation("machine_comment",false),peg$c1420=function(value){return{key:"machine_comment",value:value}},peg$c1421="machine_definition",peg$c1422=peg$literalExpectation("machine_definition",false),peg$c1423=function(value){return{key:"machine_definition",value:value}},peg$c1424="machine_name",peg$c1425=peg$literalExpectation("machine_name",false),peg$c1426=function(value){return{key:"machine_name",value:value}},peg$c1430="machine_version",peg$c1431=peg$literalExpectation("machine_version",false),peg$c1432=function(value){return{key:"machine_version",value:value}},peg$c1433="machine_license",peg$c1434=peg$literalExpectation("machine_license",false),peg$c1435=function(value){return{key:"machine_license",value:value}},peg$c1436="machine_language",peg$c1437=peg$literalExpectation("machine_language",false),peg$c1438=function(value){return{key:"machine_language",value:value}},peg$c1439="fsl_version",peg$c1440=peg$literalExpectation("fsl_version",false),peg$c1441=function(value){return{key:"fsl_version",value:value}},peg$c1442="theme",peg$c1443=peg$literalExpectation("theme",false),peg$c1444=function(value){return{key:"theme",value:value}},peg$c1445="flow",peg$c1446=peg$literalExpectation("flow",false),peg$c1447=function(value){return{key:"flow",value:value}},peg$c1448="hooks",peg$c1449=peg$literalExpectation("hooks",false),peg$c1450=function(value){return{key:"hook_definition",value:value}},peg$c1451="dot_preamble",peg$c1452=peg$literalExpectation("dot_preamble",false),peg$c1453=function(value){return{key:"dot_preamble",value:value}},peg$c1454=peg$otherExpectation("machine attribute"),peg$c1455="label",peg$c1456=peg$literalExpectation("label",false),peg$c1457=function(value){return{key:"state-label",value:value}},peg$c1458="color",peg$c1459=peg$literalExpectation("color",false),peg$c1460=function(value){return{key:"color",value:value}},peg$c1461=peg$otherExpectation("text color"),peg$c1462="text-color",peg$c1463=peg$literalExpectation("text-color",false),peg$c1464=function(value){return{key:"text-color",value:value}},peg$c1465=peg$otherExpectation("background color"),peg$c1466="background-color",peg$c1467=peg$literalExpectation("background-color",false),peg$c1468=function(value){return{key:"background-color",value:value}},peg$c1469=peg$otherExpectation("border color"),peg$c1470="border-color",peg$c1471=peg$literalExpectation("border-color",false),peg$c1472=function(value){return{key:"border-color",value:value}},peg$c1473=peg$otherExpectation("shape"),peg$c1474="shape",peg$c1475=peg$literalExpectation("shape",false),peg$c1476=function(value){return{key:"shape",value:value}},peg$c1477=peg$otherExpectation("corners"),peg$c1478="corners",peg$c1479=peg$literalExpectation("corners",false),peg$c1480=function(value){return{key:"corners",value:value}},peg$c1481=peg$otherExpectation("linestyle"),peg$c1482=function(value){return{key:"line-style",value:value}},peg$c1483="linestyle",peg$c1484=peg$literalExpectation("linestyle",false),peg$c1485=peg$otherExpectation("state property"),peg$c1486="property",peg$c1487=peg$literalExpectation("property",false),peg$c1488=function(name,value){return{key:"state_property",name:name,value:value}},peg$c1489="required",peg$c1490=peg$literalExpectation("required",false),peg$c1491=function(name,value){return{key:"state_property",name:name,value:value,required:true}},peg$c1492=function(name,value){return{key:"state_declaration",name:name,value:value}},peg$c1493="&",peg$c1494=peg$literalExpectation("&",false),peg$c1495=function(name,value){return{key:"named_list",name:name,value:value}},peg$c1496=function(name,default_value){return{key:"property_definition",name:name,default_value:default_value,required:true}},peg$c1497=function(name){return{key:"property_definition",name:name,required:true}},peg$c1498=function(name,default_value){return{key:"property_definition",name:name,default_value:default_value}},peg$c1499=function(name){return{key:"property_definition",name:name}},peg$c1500="arrange",peg$c1501=peg$literalExpectation("arrange",false),peg$c1502=function(value){return{key:"arrange_declaration",value:value}},peg$c1503="arrange-start",peg$c1504=peg$literalExpectation("arrange-start",false),peg$c1505=function(value){return{key:"arrange_start_declaration",value:value}},peg$c1506="arrange-end",peg$c1507=peg$literalExpectation("arrange-end",false),peg$c1508=function(value){return{key:"arrange_end_declaration",value:value}},peg$c1509=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$parseTimeType(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c1227){s1=peg$c1227;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1228)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1229()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1230){s1=peg$c1230;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1231)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1229()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1232){s1=peg$c1232;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1233)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1229()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1234){s1=peg$c1234;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1235)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1229()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1236){s1=peg$c1236;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1237)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1229()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1238){s1=peg$c1238;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1239)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1240()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1241){s1=peg$c1241;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1242)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1240()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1243){s1=peg$c1243;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1244)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1240()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1245){s1=peg$c1245;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1240()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===115){s1=peg$c1247;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1240()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1249){s1=peg$c1249;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1250)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1251()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1252){s1=peg$c1252;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1251()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1254){s1=peg$c1254;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1255)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1251()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1256){s1=peg$c1256;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1257)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1251()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===109){s1=peg$c1258;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1259)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1251()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1260){s1=peg$c1260;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1261)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1262()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1263){s1=peg$c1263;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1264)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1262()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1265){s1=peg$c1265;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1266)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1262()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1267){s1=peg$c1267;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1268)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1262()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===104){s1=peg$c1269;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1270)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1262()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1271){s1=peg$c1271;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1272)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1273()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1274){s1=peg$c1274;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1275)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1273()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===100){s1=peg$c1276;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1277)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1273()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1278){s1=peg$c1278;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1279)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1280()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1281){s1=peg$c1281;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1282)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1280()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1283){s1=peg$c1283;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1284)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1280()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1285){s1=peg$c1285;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1286)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1280()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===119){s1=peg$c1287;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1288)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1280()}s0=s1}}}}}}}}}}}}}}}}}}}}}}}}}}}return s0}function peg$parseArrowAfter(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1289){s1=peg$c1289;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1290)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2!==peg$FAILED){s3=peg$parseNonNegNumber();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){s5=peg$parseTimeType();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1291(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$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$c1292(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$c1293){s1=peg$c1293;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1294)}}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$c1295(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$c1296){s1=peg$c1296;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1297)}}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$c1298(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$c1299;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1300)}}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$c1301(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$c1302;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1303)}}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$c1304(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$c1305){s1=peg$c1305;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1306)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1307()}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,s19,s20,s21,s22;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseArrowAfter();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$parseActionLabel();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$parseArrowProbability();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$parseArrowDesc();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){s10=peg$parseArrow();if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){s12=peg$parseArrowDesc();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$parseArrowProbability();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$parseActionLabel();if(s16===peg$FAILED){s16=null}if(s16!==peg$FAILED){s17=peg$parseWS();if(s17===peg$FAILED){s17=null}if(s17!==peg$FAILED){s18=peg$parseArrowAfter();if(s18===peg$FAILED){s18=null}if(s18!==peg$FAILED){s19=peg$parseWS();if(s19===peg$FAILED){s19=null}if(s19!==peg$FAILED){s20=peg$parseArrowTarget();if(s20!==peg$FAILED){s21=peg$parseWS();if(s21===peg$FAILED){s21=null}if(s21!==peg$FAILED){s22=peg$parseSubexp();if(s22===peg$FAILED){s22=null}if(s22!==peg$FAILED){peg$savedPos=s0;s1=peg$c1308(s2,s4,s6,s8,s10,s12,s14,s16,s18,s20,s22);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1309(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$c1310){s0=peg$c1310;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1311)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1312){s0=peg$c1312;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1313)}}}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$c1314(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$c1315){s2=peg$c1315;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1316)}}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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1319(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$c1320){s0=peg$c1320;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1321)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1322){s0=peg$c1322;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1323)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c1324){s0=peg$c1324;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1325)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1326){s0=peg$c1326;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1327)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1328){s0=peg$c1328;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1329)}}}}}}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$c1330){s2=peg$c1330;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1331)}}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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1332(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$c1333){s2=peg$c1333;peg$currPos+=11}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1334)}}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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1335(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$c1336){s2=peg$c1336;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1337)}}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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1338(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$c1339){s2=peg$c1339;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1340)}}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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1341(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$c1342){s2=peg$c1342;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1343)}}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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1344(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$c1345){s2=peg$c1345;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1346)}}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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1347(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$c1310){s0=peg$c1310;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1311)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1312){s0=peg$c1312;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1313)}}}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$c1348(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$c1349){s2=peg$c1349;peg$currPos+=6}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){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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1351(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$c1310){s0=peg$c1310;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1311)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1312){s0=peg$c1312;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1313)}}}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$c1352(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$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}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1353)}}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$c1355){s2=peg$c1355;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1356)}}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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1357(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$c1358){s2=peg$c1358;peg$currPos+=12}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$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$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$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$c1361){s2=peg$c1361;peg$currPos+=12}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$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$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$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$c1364){s2=peg$c1364;peg$currPos+=10}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$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$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$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$c1367){s2=peg$c1367;peg$currPos+=14}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$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$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$parseConfigAllowsOverride(){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$c1370){s2=peg$c1370;peg$currPos+=15}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$parseOverrideT();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$parseOverrideT(){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$c1373()}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$c1374()}s0=s1;if(s0===peg$FAILED){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$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();if(s0===peg$FAILED){s0=peg$parseConfigAllowsOverride()}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1375)}}return s0}function peg$parseLicenseOrLabelOrList(){var s0;if(input.substr(peg$currPos,3)===peg$c1376){s0=peg$c1376;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1377)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1378){s0=peg$c1378;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1379)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1380){s0=peg$c1380;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1381)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1382){s0=peg$c1382;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1383)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1384){s0=peg$c1384;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1385)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c1386){s0=peg$c1386;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1387)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1388){s0=peg$c1388;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1389)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1390){s0=peg$c1390;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1391)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1392){s0=peg$c1392;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1393)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1394){s0=peg$c1394;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1395)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c1396){s0=peg$c1396;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1397)}}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$c1399){s0=peg$c1399;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1400)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1401){s0=peg$c1401;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1402)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1403){s0=peg$c1403;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1404)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1405){s0=peg$c1405;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1406)}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1398)}}return s0}function peg$parseHookDefinition(){var s0;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c1408){s0=peg$c1408;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1409)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1410){s0=peg$c1410;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1411)}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1407)}}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$c1412){s2=peg$c1412;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1413)}}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$c1414(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$c1415){s2=peg$c1415;peg$currPos+=19}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1416)}}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$c1417(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$c1418){s2=peg$c1418;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1419)}}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$c1420(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$c1421){s2=peg$c1421;peg$currPos+=18}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){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$c1423(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$c1424){s2=peg$c1424;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1425)}}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$c1426(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$c1430){s2=peg$c1430;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1431)}}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$c1432(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$c1433){s2=peg$c1433;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1434)}}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$c1435(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$c1436){s2=peg$c1436;peg$currPos+=16}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1437)}}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$c1438(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$c1439){s2=peg$c1439;peg$currPos+=11}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1440)}}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$c1441(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$c1442){s2=peg$c1442;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1443)}}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$c1444(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$c1445){s2=peg$c1445;peg$currPos+=4}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1446)}}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$c1447(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$c1448){s2=peg$c1448;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1449)}}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$c1450(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$c1451){s2=peg$c1451;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1452)}}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$c1453(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$c1454)}}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$c1455){s2=peg$c1455;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1456)}}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$c1457(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$c1458){s2=peg$c1458;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1459)}}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$c1460(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$c1462){s2=peg$c1462;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1463)}}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$c1464(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$c1461)}}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$c1466){s2=peg$c1466;peg$currPos+=16}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1467)}}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$c1468(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$c1465)}}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$c1470){s2=peg$c1470;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1471)}}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$c1472(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$c1469)}}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$c1474){s2=peg$c1474;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1475)}}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$c1476(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$c1473)}}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$c1478){s2=peg$c1478;peg$currPos+=7}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1479)}}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$c1480(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$c1477)}}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$c1482(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$c1483){s2=peg$c1483;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1484)}}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$c1482(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$c1481)}}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$c1486){s2=peg$c1486;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1487)}}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$c1488(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$c1486){s2=peg$c1486;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1487)}}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$c1489){s10=peg$c1489;peg$currPos+=8}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1490)}}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$c1491(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$c1485)}}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$c1330){s2=peg$c1330;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1331)}}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$c1492(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$c1493;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1494)}}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$c1495(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$c1486){s2=peg$c1486;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1487)}}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$c1489){s10=peg$c1489;peg$currPos+=8}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1490)}}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$c1496(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$c1486){s2=peg$c1486;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1487)}}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$c1489){s6=peg$c1489;peg$currPos+=8}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1490)}}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$c1497(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$c1486){s2=peg$c1486;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1487)}}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$c1498(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$c1486){s2=peg$c1486;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1487)}}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$c1499(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$c1500){s1=peg$c1500;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1501)}}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$c1502(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$c1503){s1=peg$c1503;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1504)}}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$c1505(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$c1506){s1=peg$c1506;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1507)}}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$c1508(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$c1509)}}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",rng)=>{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]);function gen_splitmix32(a){if(a===undefined){a=(new Date).getTime()}return function(){a|=0;a=a+2654435769|0;var t=a^a>>>16;t=Math.imul(t,569420461);t=t^t>>>15;t=Math.imul(t,1935289751);return((t=t^t>>>15)>>>0)/4294967296}}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[]}}function sleep(ms){return new Promise((resolve=>setTimeout(resolve,ms)))}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,after_time:isRight?this_se.r_after:this_se.l_after,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","allows_override","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:[],allows_override:[]};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","allows_override"];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 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 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.99.0",build_time=1720314479976;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=[],initial_state:initial_state,start_states_no_enforce:start_states_no_enforce,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,allows_override:allows_override,config_allows_override:config_allows_override,rng_seed:rng_seed,time_source:time_source,timeout_source:timeout_source,clear_timeout_source:clear_timeout_source}){this._time_source=()=>(new Date).getTime();this._create_started=this._time_source();this._instance_name=instance_name;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_after_hooks=false;this._has_global_action_hooks=false;this._has_transition_hooks=true;this._has_forced_transitions=false;this._hooks=new Map;this._named_hooks=new Map;this._entry_hooks=new Map;this._exit_hooks=new Map;this._after_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._code_allows_override=allows_override;this._config_allows_override=config_allows_override;if(allows_override===false&&config_allows_override===true){throw new JssmError(undefined,"Code specifies no override, but config tries to permit; config may not be less strict than code")}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;this._rng_seed=rng_seed!==null&&rng_seed!==void 0?rng_seed:(new Date).getTime();this._rng=gen_splitmix32(this._rng_seed);this._timeout_source=timeout_source!==null&&timeout_source!==void 0?timeout_source:(f,a)=>setTimeout(f,a);this._clear_timeout_source=clear_timeout_source!==null&&clear_timeout_source!==void 0?clear_timeout_source:h=>clearTimeout(h);this._timeout_handle=undefined;this._timeout_target=undefined;this._timeout_target_time=undefined;this._after_mapping=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.forced_only){this._has_forced_transitions=true}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)}}if(tr.after_time){this._after_mapping.set(tr.from,[tr.to,tr.after_time])}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)}))}if(initial_state){if(!this._states.has(initial_state)){throw new JssmError(this,`requested start state ${initial_state} does not exist`)}if(!start_states_no_enforce&&!start_states.includes(initial_state)){throw new JssmError(this,`requested start state ${initial_state} is not in start state list; add {start_states_no_enforce:true} to constructor options if desired`)}this._state=initial_state}else{this._state=start_states[0]}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`)}this._created=this._time_source();this.auto_set_state_timeout();this._arrange_declaration.forEach((arrange_pair=>arrange_pair.forEach((possibleState=>{if(!this._states.has(possibleState)){throw new JssmError(this,`Cannot arrange state that does not exist "${possibleState}"`)}}))))}_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}get uses_forced_transitions(){return this._has_forced_transitions}get code_allows_override(){return this._code_allows_override}get config_allows_override(){return this._config_allows_override}get allows_override(){if(this._code_allows_override===false){if(this._config_allows_override===true){throw new JssmError(this,"Code specifies no override, but config tries to permit; config may not be less strict than code; should be unreachable")}else{return false}}if(this._code_allows_override===true){if(this._config_allows_override===false){return false}else{return true}}if(this._config_allows_override===true){return true}else{return false}}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()){var _a,_b;const guaranteed=(_a=this._states.get(whichState))!==null&&_a!==void 0?_a:{from:undefined};return(_b=guaranteed.from)!==null&&_b!==void 0?_b:[]}list_exits(whichState=this.state()){var _a,_b;const guaranteed=(_a=this._states.get(whichState))!==null&&_a!==void 0?_a:{to:undefined};return(_b=guaranteed.to)!==null&&_b!==void 0?_b:[]}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()),undefined,this._rng);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{if(this.has_state(whichState)){return[]}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"after":this._after_hooks.set(HookDesc.from,HookDesc.handler);this._has_hooks=true;this._has_after_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}hook_after(from,handler){this.set_hook({kind:"after",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}get rng_seed(){return this._rng_seed}set rng_seed(to){if(typeof to==="undefined"){this._rng_seed=(new Date).getTime()}else{this._rng_seed=to}}edges_between(from,to){return this._edges.filter((edge=>edge.from===from&&edge.to===to))}override(newState,newData){if(this.allows_override){if(this._states.has(newState)){this._state=newState;this._data=newData}else{throw new JssmError(this,`Cannot override state to "${newState}", a state that does not exist`)}}else{throw new JssmError(this,"Code specifies no override, but config tries to permit; config may not be less strict than code")}}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,next_data:newData,forced:wasForced,trans_type:trans_type};if(valid){if(this._has_hooks){this.clear_state_timeout();function update_fields(res){if(res.hasOwnProperty("data")){hook_args.data=res.data;hook_args.next_data=res.next_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._has_after_hooks){const ah=this._after_hooks.get(newStateOrAction);const outcome=abstract_hook_step(ah,hook_args);if(ah!==undefined){ah({data:outcome.data,next_data:outcome.next_data})}update_fields(outcome)}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(newData!==undefined){this._data=newData}}else{if(this._history_length){this._history.shove([this._state,this._data])}this._state=newState;if(newData!==undefined){this._data=newData}}}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)}}}this.auto_set_state_timeout();return true}auto_set_state_timeout(){const after_res=this._after_mapping.get(this._state);if(after_res!==undefined){const[next_state,after_time]=after_res;this.set_state_timeout(next_state,after_time)}}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}get creation_date(){return new Date(Math.floor(this.creation_timestamp))}get creation_timestamp(){return this._created}get create_start_time(){return this._create_started}set_state_timeout(next_state,after_time){if(this._timeout_handle!==undefined){throw new JssmError(this,`Asked to set a state timeout to ${next_state}:${after_time}, but already timing out to ${this._timeout_target}:${this._timeout_target_time}`)}this._timeout_handle=this._timeout_source((()=>{this.clear_state_timeout();if(this._has_after_hooks){const ah=this._after_hooks.get(this.state());if(ah!==undefined){ah({data:this._data,next_data:this._data})}}this.go(next_state)}),after_time);this._timeout_target=next_state;this._timeout_target_time=after_time}clear_state_timeout(){if(this._timeout_handle===undefined){return}this._clear_timeout_source(this._timeout_handle);this._timeout_handle=undefined;this._timeout_target=undefined;this._timeout_target_time=undefined}state_timeout_for(which_state){return this._after_mapping.get(which_state)}current_state_timeout(){return this._timeout_target!==undefined?[this._timeout_target,this._timeout_target_time]:undefined}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=>{if(key==="allows_override"){to_decorate["config_allows_override"]=ExtraConstructorFields["allows_override"]}else{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}export{FslDirections,Machine,abstract_hook_step,arrow_direction,arrow_left_kind,arrow_right_kind,build_time,compile,constants,deserialize,find_repeated,from,gviz_shapes,histograph,is_hook_complex_result,is_hook_rejection,make,named_colors,wrap_parse as parse,seq,shapes,sleep,sm,state_style_condense,transfer_state_properties,unique,version,weighted_histo_key,weighted_rand_select,weighted_sample_select}; diff --git a/dist/es6/jssm.js b/dist/es6/jssm.js index 523a889e..ca8ec6f5 100644 --- a/dist/es6/jssm.js +++ b/dist/es6/jssm.js @@ -1586,12 +1586,13 @@ class Machine { if (this._has_after_hooks) { const ah = this._after_hooks.get(newStateOrAction); const outcome = abstract_hook_step(ah, hook_args); - if (outcome.pass === false) { - return false; - } - const manufactured_context = { data: outcome.data, next_data: outcome.next_data }; + // there's no such thing as after not passing, so, omit the result pass check + /* istanbul can't trace this through the timer */ + /* istanbul ignore next */ if (ah !== undefined) { - ah(manufactured_context); + /* istanbul can't trace this through the timer */ + /* istanbul ignore next */ + ah({ data: outcome.data, next_data: outcome.next_data }); } update_fields(outcome); } diff --git a/dist/es6/version.js b/dist/es6/version.js index 0b86c6db..311e9f94 100644 --- a/dist/es6/version.js +++ b/dist/es6/version.js @@ -1,2 +1,2 @@ -const version = "5.99.0", build_time = 1720312692737; +const version = "5.99.0", build_time = 1720314479976; export { version, build_time }; diff --git a/dist/jssm.es5.cjs b/dist/jssm.es5.cjs index 6ff45734..c66b8bea 100644 --- a/dist/jssm.es5.cjs +++ b/dist/jssm.es5.cjs @@ -1 +1 @@ -"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="milliseconds",peg$c1228=peg$literalExpectation("milliseconds",false),peg$c1229=function(){return 1},peg$c1230="millisecond",peg$c1231=peg$literalExpectation("millisecond",false),peg$c1232="msecs",peg$c1233=peg$literalExpectation("msecs",false),peg$c1234="msec",peg$c1235=peg$literalExpectation("msec",false),peg$c1236="ms",peg$c1237=peg$literalExpectation("ms",false),peg$c1238="seconds",peg$c1239=peg$literalExpectation("seconds",false),peg$c1240=function(){return 1e3},peg$c1241="second",peg$c1242=peg$literalExpectation("second",false),peg$c1243="secs",peg$c1244=peg$literalExpectation("secs",false),peg$c1245="sec",peg$c1246=peg$literalExpectation("sec",false),peg$c1247="s",peg$c1248=peg$literalExpectation("s",false),peg$c1249="minutes",peg$c1250=peg$literalExpectation("minutes",false),peg$c1251=function(){return 1e3*60},peg$c1252="minute",peg$c1253=peg$literalExpectation("minute",false),peg$c1254="mins",peg$c1255=peg$literalExpectation("mins",false),peg$c1256="min",peg$c1257=peg$literalExpectation("min",false),peg$c1258="m",peg$c1259=peg$literalExpectation("m",false),peg$c1260="hours",peg$c1261=peg$literalExpectation("hours",false),peg$c1262=function(){return 1e3*60*60},peg$c1263="hour",peg$c1264=peg$literalExpectation("hour",false),peg$c1265="hrs",peg$c1266=peg$literalExpectation("hrs",false),peg$c1267="hr",peg$c1268=peg$literalExpectation("hr",false),peg$c1269="h",peg$c1270=peg$literalExpectation("h",false),peg$c1271="days",peg$c1272=peg$literalExpectation("days",false),peg$c1273=function(){return 1e3*60*60*24},peg$c1274="day",peg$c1275=peg$literalExpectation("day",false),peg$c1276="d",peg$c1277=peg$literalExpectation("d",false),peg$c1278="weeks",peg$c1279=peg$literalExpectation("weeks",false),peg$c1280=function(){return 1e3*60*60*24*7},peg$c1281="week",peg$c1282=peg$literalExpectation("week",false),peg$c1283="wks",peg$c1284=peg$literalExpectation("wks",false),peg$c1285="wk",peg$c1286=peg$literalExpectation("wk",false),peg$c1287="w",peg$c1288=peg$literalExpectation("w",false),peg$c1289="after",peg$c1290=peg$literalExpectation("after",false),peg$c1291=function(value,timescale){return value*(timescale||1e3)},peg$c1292=function(names){return names.map((i=>i[0]))},peg$c1293="+|",peg$c1294=peg$literalExpectation("+|",false),peg$c1295=function(nzd,dd){return{key:"stripe",value:parseInt(`${nzd}${dd}`,10)}},peg$c1296="-|",peg$c1297=peg$literalExpectation("-|",false),peg$c1298=function(nzd,dd){return{key:"stripe",value:-1*parseInt(`${nzd}${dd}`,10)}},peg$c1299="+",peg$c1300=peg$literalExpectation("+",false),peg$c1301=function(nzd,dd){return{key:"cycle",value:parseInt(`${nzd}${dd}`,10)}},peg$c1302="-",peg$c1303=peg$literalExpectation("-",false),peg$c1304=function(nzd,dd){return{key:"cycle",value:-1*parseInt(`${nzd}${dd}`,10)}},peg$c1305="+0",peg$c1306=peg$literalExpectation("+0",false),peg$c1307=function(){return{key:"cycle",value:0}},peg$c1308=function(r_after,r_action,r_prob,l_desc,arrow,r_desc,l_prob,l_action,l_after,label,tail){const base={kind:arrow,to:label};if(l_after){base.l_after=l_after}if(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}if(r_after){base.r_after=r_after}return base},peg$c1309=function(label,se){const base={key:"transition",from:label};if(se){base.se=se}return base},peg$c1310="whargarbl",peg$c1311=peg$literalExpectation("whargarbl",false),peg$c1312="todo",peg$c1313=peg$literalExpectation("todo",false),peg$c1314=function(validationkey,value){return{key:validationkey,value:value}},peg$c1315="validation",peg$c1316=peg$literalExpectation("validation",false),peg$c1317="};",peg$c1318=peg$literalExpectation("};",false),peg$c1319=function(validation_items){return{config_kind:"validation",config_items:validation_items||[]}},peg$c1320="dot",peg$c1321=peg$literalExpectation("dot",false),peg$c1322="circo",peg$c1323=peg$literalExpectation("circo",false),peg$c1324="fdp",peg$c1325=peg$literalExpectation("fdp",false),peg$c1326="neato",peg$c1327=peg$literalExpectation("neato",false),peg$c1328="twopi",peg$c1329=peg$literalExpectation("twopi",false),peg$c1330="state",peg$c1331=peg$literalExpectation("state",false),peg$c1332=function(state_items){return{key:"default_state_config",value:state_items||[]}},peg$c1333="start_state",peg$c1334=peg$literalExpectation("start_state",false),peg$c1335=function(state_items){return{key:"default_start_state_config",value:state_items||[]}},peg$c1336="end_state",peg$c1337=peg$literalExpectation("end_state",false),peg$c1338=function(state_items){return{key:"default_end_state_config",value:state_items||[]}},peg$c1339="active_state",peg$c1340=peg$literalExpectation("active_state",false),peg$c1341=function(state_items){return{key:"default_active_state_config",value:state_items||[]}},peg$c1342="terminal_state",peg$c1343=peg$literalExpectation("terminal_state",false),peg$c1344=function(state_items){return{key:"default_terminal_state_config",value:state_items||[]}},peg$c1345="hooked_state",peg$c1346=peg$literalExpectation("hooked_state",false),peg$c1347=function(state_items){return{key:"default_hooked_state_config",value:state_items||[]}},peg$c1348=function(actionkey,value){return{key:actionkey,value:value}},peg$c1349="action",peg$c1350=peg$literalExpectation("action",false),peg$c1351=function(action_items){return{config_kind:"action",config_items:action_items||[]}},peg$c1352=function(key,value){return{key:key,value:value}},peg$c1353=peg$otherExpectation("graph default edge color"),peg$c1354=function(value){return{key:"graph_default_edge_color",value:value}},peg$c1355="transition",peg$c1356=peg$literalExpectation("transition",false),peg$c1357=function(transition_items){return{config_kind:"transition",config_items:transition_items||[]}},peg$c1358="graph_layout",peg$c1359=peg$literalExpectation("graph_layout",false),peg$c1360=function(value){return{key:"graph_layout",value:value}},peg$c1361="start_states",peg$c1362=peg$literalExpectation("start_states",false),peg$c1363=function(value){return{key:"start_states",value:value}},peg$c1364="end_states",peg$c1365=peg$literalExpectation("end_states",false),peg$c1366=function(value){return{key:"end_states",value:value}},peg$c1367="graph_bg_color",peg$c1368=peg$literalExpectation("graph_bg_color",false),peg$c1369=function(value){return{key:"graph_bg_color",value:value}},peg$c1370="allows_override",peg$c1371=peg$literalExpectation("allows_override",false),peg$c1372=function(value){return{key:"allows_override",value:value}},peg$c1373=function(){return true},peg$c1374=function(){return false},peg$c1375=peg$otherExpectation("configuration"),peg$c1376="MIT",peg$c1377=peg$literalExpectation("MIT",false),peg$c1378="BSD 2-clause",peg$c1379=peg$literalExpectation("BSD 2-clause",false),peg$c1380="BSD 3-clause",peg$c1381=peg$literalExpectation("BSD 3-clause",false),peg$c1382="Apache 2.0",peg$c1383=peg$literalExpectation("Apache 2.0",false),peg$c1384="Mozilla 2.0",peg$c1385=peg$literalExpectation("Mozilla 2.0",false),peg$c1386="Public domain",peg$c1387=peg$literalExpectation("Public domain",false),peg$c1388="GPL v2",peg$c1389=peg$literalExpectation("GPL v2",false),peg$c1390="GPL v3",peg$c1391=peg$literalExpectation("GPL v3",false),peg$c1392="LGPL v2.1",peg$c1393=peg$literalExpectation("LGPL v2.1",false),peg$c1394="LGPL v3.0",peg$c1395=peg$literalExpectation("LGPL v3.0",false),peg$c1396="Unknown",peg$c1397=peg$literalExpectation("Unknown",false),peg$c1398=peg$otherExpectation("direction"),peg$c1399="up",peg$c1400=peg$literalExpectation("up",false),peg$c1401="right",peg$c1402=peg$literalExpectation("right",false),peg$c1403="down",peg$c1404=peg$literalExpectation("down",false),peg$c1405="left",peg$c1406=peg$literalExpectation("left",false),peg$c1407=peg$otherExpectation("hook definition (open/closed)"),peg$c1408="open",peg$c1409=peg$literalExpectation("open",false),peg$c1410="closed",peg$c1411=peg$literalExpectation("closed",false),peg$c1412="machine_author",peg$c1413=peg$literalExpectation("machine_author",false),peg$c1414=function(value){return{key:"machine_author",value:value}},peg$c1415="machine_contributor",peg$c1416=peg$literalExpectation("machine_contributor",false),peg$c1417=function(value){return{key:"machine_contributor",value:value}},peg$c1418="machine_comment",peg$c1419=peg$literalExpectation("machine_comment",false),peg$c1420=function(value){return{key:"machine_comment",value:value}},peg$c1421="machine_definition",peg$c1422=peg$literalExpectation("machine_definition",false),peg$c1423=function(value){return{key:"machine_definition",value:value}},peg$c1424="machine_name",peg$c1425=peg$literalExpectation("machine_name",false),peg$c1426=function(value){return{key:"machine_name",value:value}},peg$c1430="machine_version",peg$c1431=peg$literalExpectation("machine_version",false),peg$c1432=function(value){return{key:"machine_version",value:value}},peg$c1433="machine_license",peg$c1434=peg$literalExpectation("machine_license",false),peg$c1435=function(value){return{key:"machine_license",value:value}},peg$c1436="machine_language",peg$c1437=peg$literalExpectation("machine_language",false),peg$c1438=function(value){return{key:"machine_language",value:value}},peg$c1439="fsl_version",peg$c1440=peg$literalExpectation("fsl_version",false),peg$c1441=function(value){return{key:"fsl_version",value:value}},peg$c1442="theme",peg$c1443=peg$literalExpectation("theme",false),peg$c1444=function(value){return{key:"theme",value:value}},peg$c1445="flow",peg$c1446=peg$literalExpectation("flow",false),peg$c1447=function(value){return{key:"flow",value:value}},peg$c1448="hooks",peg$c1449=peg$literalExpectation("hooks",false),peg$c1450=function(value){return{key:"hook_definition",value:value}},peg$c1451="dot_preamble",peg$c1452=peg$literalExpectation("dot_preamble",false),peg$c1453=function(value){return{key:"dot_preamble",value:value}},peg$c1454=peg$otherExpectation("machine attribute"),peg$c1455="label",peg$c1456=peg$literalExpectation("label",false),peg$c1457=function(value){return{key:"state-label",value:value}},peg$c1458="color",peg$c1459=peg$literalExpectation("color",false),peg$c1460=function(value){return{key:"color",value:value}},peg$c1461=peg$otherExpectation("text color"),peg$c1462="text-color",peg$c1463=peg$literalExpectation("text-color",false),peg$c1464=function(value){return{key:"text-color",value:value}},peg$c1465=peg$otherExpectation("background color"),peg$c1466="background-color",peg$c1467=peg$literalExpectation("background-color",false),peg$c1468=function(value){return{key:"background-color",value:value}},peg$c1469=peg$otherExpectation("border color"),peg$c1470="border-color",peg$c1471=peg$literalExpectation("border-color",false),peg$c1472=function(value){return{key:"border-color",value:value}},peg$c1473=peg$otherExpectation("shape"),peg$c1474="shape",peg$c1475=peg$literalExpectation("shape",false),peg$c1476=function(value){return{key:"shape",value:value}},peg$c1477=peg$otherExpectation("corners"),peg$c1478="corners",peg$c1479=peg$literalExpectation("corners",false),peg$c1480=function(value){return{key:"corners",value:value}},peg$c1481=peg$otherExpectation("linestyle"),peg$c1482=function(value){return{key:"line-style",value:value}},peg$c1483="linestyle",peg$c1484=peg$literalExpectation("linestyle",false),peg$c1485=peg$otherExpectation("state property"),peg$c1486="property",peg$c1487=peg$literalExpectation("property",false),peg$c1488=function(name,value){return{key:"state_property",name:name,value:value}},peg$c1489="required",peg$c1490=peg$literalExpectation("required",false),peg$c1491=function(name,value){return{key:"state_property",name:name,value:value,required:true}},peg$c1492=function(name,value){return{key:"state_declaration",name:name,value:value}},peg$c1493="&",peg$c1494=peg$literalExpectation("&",false),peg$c1495=function(name,value){return{key:"named_list",name:name,value:value}},peg$c1496=function(name,default_value){return{key:"property_definition",name:name,default_value:default_value,required:true}},peg$c1497=function(name){return{key:"property_definition",name:name,required:true}},peg$c1498=function(name,default_value){return{key:"property_definition",name:name,default_value:default_value}},peg$c1499=function(name){return{key:"property_definition",name:name}},peg$c1500="arrange",peg$c1501=peg$literalExpectation("arrange",false),peg$c1502=function(value){return{key:"arrange_declaration",value:value}},peg$c1503="arrange-start",peg$c1504=peg$literalExpectation("arrange-start",false),peg$c1505=function(value){return{key:"arrange_start_declaration",value:value}},peg$c1506="arrange-end",peg$c1507=peg$literalExpectation("arrange-end",false),peg$c1508=function(value){return{key:"arrange_end_declaration",value:value}},peg$c1509=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$parseTimeType(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c1227){s1=peg$c1227;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1228)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1229()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1230){s1=peg$c1230;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1231)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1229()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1232){s1=peg$c1232;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1233)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1229()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1234){s1=peg$c1234;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1235)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1229()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1236){s1=peg$c1236;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1237)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1229()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1238){s1=peg$c1238;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1239)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1240()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1241){s1=peg$c1241;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1242)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1240()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1243){s1=peg$c1243;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1244)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1240()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1245){s1=peg$c1245;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1240()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===115){s1=peg$c1247;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1240()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1249){s1=peg$c1249;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1250)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1251()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1252){s1=peg$c1252;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1251()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1254){s1=peg$c1254;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1255)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1251()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1256){s1=peg$c1256;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1257)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1251()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===109){s1=peg$c1258;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1259)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1251()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1260){s1=peg$c1260;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1261)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1262()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1263){s1=peg$c1263;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1264)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1262()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1265){s1=peg$c1265;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1266)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1262()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1267){s1=peg$c1267;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1268)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1262()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===104){s1=peg$c1269;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1270)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1262()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1271){s1=peg$c1271;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1272)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1273()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1274){s1=peg$c1274;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1275)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1273()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===100){s1=peg$c1276;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1277)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1273()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1278){s1=peg$c1278;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1279)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1280()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1281){s1=peg$c1281;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1282)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1280()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1283){s1=peg$c1283;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1284)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1280()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1285){s1=peg$c1285;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1286)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1280()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===119){s1=peg$c1287;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1288)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1280()}s0=s1}}}}}}}}}}}}}}}}}}}}}}}}}}}return s0}function peg$parseArrowAfter(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1289){s1=peg$c1289;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1290)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2!==peg$FAILED){s3=peg$parseNonNegNumber();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){s5=peg$parseTimeType();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1291(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$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$c1292(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$c1293){s1=peg$c1293;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1294)}}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$c1295(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$c1296){s1=peg$c1296;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1297)}}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$c1298(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$c1299;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1300)}}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$c1301(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$c1302;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1303)}}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$c1304(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$c1305){s1=peg$c1305;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1306)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1307()}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,s19,s20,s21,s22;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseArrowAfter();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$parseActionLabel();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$parseArrowProbability();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$parseArrowDesc();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){s10=peg$parseArrow();if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){s12=peg$parseArrowDesc();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$parseArrowProbability();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$parseActionLabel();if(s16===peg$FAILED){s16=null}if(s16!==peg$FAILED){s17=peg$parseWS();if(s17===peg$FAILED){s17=null}if(s17!==peg$FAILED){s18=peg$parseArrowAfter();if(s18===peg$FAILED){s18=null}if(s18!==peg$FAILED){s19=peg$parseWS();if(s19===peg$FAILED){s19=null}if(s19!==peg$FAILED){s20=peg$parseArrowTarget();if(s20!==peg$FAILED){s21=peg$parseWS();if(s21===peg$FAILED){s21=null}if(s21!==peg$FAILED){s22=peg$parseSubexp();if(s22===peg$FAILED){s22=null}if(s22!==peg$FAILED){peg$savedPos=s0;s1=peg$c1308(s2,s4,s6,s8,s10,s12,s14,s16,s18,s20,s22);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1309(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$c1310){s0=peg$c1310;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1311)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1312){s0=peg$c1312;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1313)}}}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$c1314(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$c1315){s2=peg$c1315;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1316)}}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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1319(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$c1320){s0=peg$c1320;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1321)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1322){s0=peg$c1322;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1323)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c1324){s0=peg$c1324;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1325)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1326){s0=peg$c1326;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1327)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1328){s0=peg$c1328;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1329)}}}}}}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$c1330){s2=peg$c1330;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1331)}}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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1332(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$c1333){s2=peg$c1333;peg$currPos+=11}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1334)}}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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1335(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$c1336){s2=peg$c1336;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1337)}}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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1338(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$c1339){s2=peg$c1339;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1340)}}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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1341(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$c1342){s2=peg$c1342;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1343)}}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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1344(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$c1345){s2=peg$c1345;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1346)}}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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1347(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$c1310){s0=peg$c1310;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1311)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1312){s0=peg$c1312;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1313)}}}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$c1348(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$c1349){s2=peg$c1349;peg$currPos+=6}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){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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1351(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$c1310){s0=peg$c1310;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1311)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1312){s0=peg$c1312;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1313)}}}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$c1352(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$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}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1353)}}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$c1355){s2=peg$c1355;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1356)}}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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1357(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$c1358){s2=peg$c1358;peg$currPos+=12}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$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$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$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$c1361){s2=peg$c1361;peg$currPos+=12}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$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$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$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$c1364){s2=peg$c1364;peg$currPos+=10}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$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$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$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$c1367){s2=peg$c1367;peg$currPos+=14}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$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$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$parseConfigAllowsOverride(){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$c1370){s2=peg$c1370;peg$currPos+=15}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$parseOverrideT();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$parseOverrideT(){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$c1373()}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$c1374()}s0=s1;if(s0===peg$FAILED){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$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();if(s0===peg$FAILED){s0=peg$parseConfigAllowsOverride()}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1375)}}return s0}function peg$parseLicenseOrLabelOrList(){var s0;if(input.substr(peg$currPos,3)===peg$c1376){s0=peg$c1376;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1377)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1378){s0=peg$c1378;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1379)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1380){s0=peg$c1380;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1381)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1382){s0=peg$c1382;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1383)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1384){s0=peg$c1384;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1385)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c1386){s0=peg$c1386;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1387)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1388){s0=peg$c1388;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1389)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1390){s0=peg$c1390;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1391)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1392){s0=peg$c1392;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1393)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1394){s0=peg$c1394;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1395)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c1396){s0=peg$c1396;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1397)}}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$c1399){s0=peg$c1399;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1400)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1401){s0=peg$c1401;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1402)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1403){s0=peg$c1403;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1404)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1405){s0=peg$c1405;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1406)}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1398)}}return s0}function peg$parseHookDefinition(){var s0;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c1408){s0=peg$c1408;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1409)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1410){s0=peg$c1410;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1411)}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1407)}}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$c1412){s2=peg$c1412;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1413)}}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$c1414(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$c1415){s2=peg$c1415;peg$currPos+=19}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1416)}}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$c1417(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$c1418){s2=peg$c1418;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1419)}}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$c1420(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$c1421){s2=peg$c1421;peg$currPos+=18}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){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$c1423(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$c1424){s2=peg$c1424;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1425)}}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$c1426(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$c1430){s2=peg$c1430;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1431)}}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$c1432(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$c1433){s2=peg$c1433;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1434)}}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$c1435(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$c1436){s2=peg$c1436;peg$currPos+=16}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1437)}}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$c1438(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$c1439){s2=peg$c1439;peg$currPos+=11}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1440)}}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$c1441(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$c1442){s2=peg$c1442;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1443)}}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$c1444(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$c1445){s2=peg$c1445;peg$currPos+=4}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1446)}}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$c1447(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$c1448){s2=peg$c1448;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1449)}}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$c1450(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$c1451){s2=peg$c1451;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1452)}}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$c1453(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$c1454)}}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$c1455){s2=peg$c1455;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1456)}}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$c1457(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$c1458){s2=peg$c1458;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1459)}}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$c1460(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$c1462){s2=peg$c1462;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1463)}}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$c1464(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$c1461)}}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$c1466){s2=peg$c1466;peg$currPos+=16}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1467)}}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$c1468(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$c1465)}}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$c1470){s2=peg$c1470;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1471)}}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$c1472(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$c1469)}}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$c1474){s2=peg$c1474;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1475)}}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$c1476(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$c1473)}}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$c1478){s2=peg$c1478;peg$currPos+=7}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1479)}}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$c1480(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$c1477)}}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$c1482(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$c1483){s2=peg$c1483;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1484)}}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$c1482(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$c1481)}}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$c1486){s2=peg$c1486;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1487)}}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$c1488(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$c1486){s2=peg$c1486;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1487)}}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$c1489){s10=peg$c1489;peg$currPos+=8}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1490)}}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$c1491(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$c1485)}}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$c1330){s2=peg$c1330;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1331)}}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$c1492(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$c1493;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1494)}}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$c1495(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$c1486){s2=peg$c1486;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1487)}}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$c1489){s10=peg$c1489;peg$currPos+=8}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1490)}}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$c1496(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$c1486){s2=peg$c1486;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1487)}}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$c1489){s6=peg$c1489;peg$currPos+=8}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1490)}}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$c1497(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$c1486){s2=peg$c1486;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1487)}}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$c1498(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$c1486){s2=peg$c1486;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1487)}}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$c1499(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$c1500){s1=peg$c1500;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1501)}}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$c1502(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$c1503){s1=peg$c1503;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1504)}}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$c1505(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$c1506){s1=peg$c1506;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1507)}}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$c1508(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$c1509)}}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",rng)=>{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]);function gen_splitmix32(a){if(a===undefined){a=(new Date).getTime()}return function(){a|=0;a=a+2654435769|0;var t=a^a>>>16;t=Math.imul(t,569420461);t=t^t>>>15;t=Math.imul(t,1935289751);return((t=t^t>>>15)>>>0)/4294967296}}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[]}}function sleep(ms){return new Promise((resolve=>setTimeout(resolve,ms)))}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,after_time:isRight?this_se.r_after:this_se.l_after,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","allows_override","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:[],allows_override:[]};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","allows_override"];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 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 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.99.0",build_time=1720312692737;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=[],initial_state:initial_state,start_states_no_enforce:start_states_no_enforce,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,allows_override:allows_override,config_allows_override:config_allows_override,rng_seed:rng_seed,time_source:time_source,timeout_source:timeout_source,clear_timeout_source:clear_timeout_source}){this._time_source=()=>(new Date).getTime();this._create_started=this._time_source();this._instance_name=instance_name;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_after_hooks=false;this._has_global_action_hooks=false;this._has_transition_hooks=true;this._has_forced_transitions=false;this._hooks=new Map;this._named_hooks=new Map;this._entry_hooks=new Map;this._exit_hooks=new Map;this._after_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._code_allows_override=allows_override;this._config_allows_override=config_allows_override;if(allows_override===false&&config_allows_override===true){throw new JssmError(undefined,"Code specifies no override, but config tries to permit; config may not be less strict than code")}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;this._rng_seed=rng_seed!==null&&rng_seed!==void 0?rng_seed:(new Date).getTime();this._rng=gen_splitmix32(this._rng_seed);this._timeout_source=timeout_source!==null&&timeout_source!==void 0?timeout_source:(f,a)=>setTimeout(f,a);this._clear_timeout_source=clear_timeout_source!==null&&clear_timeout_source!==void 0?clear_timeout_source:h=>clearTimeout(h);this._timeout_handle=undefined;this._timeout_target=undefined;this._timeout_target_time=undefined;this._after_mapping=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.forced_only){this._has_forced_transitions=true}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)}}if(tr.after_time){this._after_mapping.set(tr.from,[tr.to,tr.after_time])}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)}))}if(initial_state){if(!this._states.has(initial_state)){throw new JssmError(this,`requested start state ${initial_state} does not exist`)}if(!start_states_no_enforce&&!start_states.includes(initial_state)){throw new JssmError(this,`requested start state ${initial_state} is not in start state list; add {start_states_no_enforce:true} to constructor options if desired`)}this._state=initial_state}else{this._state=start_states[0]}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`)}this._created=this._time_source();this.auto_set_state_timeout();this._arrange_declaration.forEach((arrange_pair=>arrange_pair.forEach((possibleState=>{if(!this._states.has(possibleState)){throw new JssmError(this,`Cannot arrange state that does not exist "${possibleState}"`)}}))))}_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}get uses_forced_transitions(){return this._has_forced_transitions}get code_allows_override(){return this._code_allows_override}get config_allows_override(){return this._config_allows_override}get allows_override(){if(this._code_allows_override===false){if(this._config_allows_override===true){throw new JssmError(this,"Code specifies no override, but config tries to permit; config may not be less strict than code; should be unreachable")}else{return false}}if(this._code_allows_override===true){if(this._config_allows_override===false){return false}else{return true}}if(this._config_allows_override===true){return true}else{return false}}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()){var _a,_b;const guaranteed=(_a=this._states.get(whichState))!==null&&_a!==void 0?_a:{from:undefined};return(_b=guaranteed.from)!==null&&_b!==void 0?_b:[]}list_exits(whichState=this.state()){var _a,_b;const guaranteed=(_a=this._states.get(whichState))!==null&&_a!==void 0?_a:{to:undefined};return(_b=guaranteed.to)!==null&&_b!==void 0?_b:[]}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()),undefined,this._rng);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{if(this.has_state(whichState)){return[]}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"after":this._after_hooks.set(HookDesc.from,HookDesc.handler);this._has_hooks=true;this._has_after_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}hook_after(from,handler){this.set_hook({kind:"after",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}get rng_seed(){return this._rng_seed}set rng_seed(to){if(typeof to==="undefined"){this._rng_seed=(new Date).getTime()}else{this._rng_seed=to}}edges_between(from,to){return this._edges.filter((edge=>edge.from===from&&edge.to===to))}override(newState,newData){if(this.allows_override){if(this._states.has(newState)){this._state=newState;this._data=newData}else{throw new JssmError(this,`Cannot override state to "${newState}", a state that does not exist`)}}else{throw new JssmError(this,"Code specifies no override, but config tries to permit; config may not be less strict than code")}}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,next_data:newData,forced:wasForced,trans_type:trans_type};if(valid){if(this._has_hooks){this.clear_state_timeout();function update_fields(res){if(res.hasOwnProperty("data")){hook_args.data=res.data;hook_args.next_data=res.next_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._has_after_hooks){const ah=this._after_hooks.get(newStateOrAction);const outcome=abstract_hook_step(ah,hook_args);if(outcome.pass===false){return false}const manufactured_context={data:outcome.data,next_data:outcome.next_data};if(ah!==undefined){ah(manufactured_context)}update_fields(outcome)}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(newData!==undefined){this._data=newData}}else{if(this._history_length){this._history.shove([this._state,this._data])}this._state=newState;if(newData!==undefined){this._data=newData}}}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)}}}this.auto_set_state_timeout();return true}auto_set_state_timeout(){const after_res=this._after_mapping.get(this._state);if(after_res!==undefined){const[next_state,after_time]=after_res;this.set_state_timeout(next_state,after_time)}}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}get creation_date(){return new Date(Math.floor(this.creation_timestamp))}get creation_timestamp(){return this._created}get create_start_time(){return this._create_started}set_state_timeout(next_state,after_time){if(this._timeout_handle!==undefined){throw new JssmError(this,`Asked to set a state timeout to ${next_state}:${after_time}, but already timing out to ${this._timeout_target}:${this._timeout_target_time}`)}this._timeout_handle=this._timeout_source((()=>{this.clear_state_timeout();if(this._has_after_hooks){const ah=this._after_hooks.get(this.state());if(ah!==undefined){ah({data:this._data,next_data:this._data})}}this.go(next_state)}),after_time);this._timeout_target=next_state;this._timeout_target_time=after_time}clear_state_timeout(){if(this._timeout_handle===undefined){return}this._clear_timeout_source(this._timeout_handle);this._timeout_handle=undefined;this._timeout_target=undefined;this._timeout_target_time=undefined}state_timeout_for(which_state){return this._after_mapping.get(which_state)}current_state_timeout(){return this._timeout_target!==undefined?[this._timeout_target,this._timeout_target_time]:undefined}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=>{if(key==="allows_override"){to_decorate["config_allows_override"]=ExtraConstructorFields["allows_override"]}else{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.sleep=sleep;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="milliseconds",peg$c1228=peg$literalExpectation("milliseconds",false),peg$c1229=function(){return 1},peg$c1230="millisecond",peg$c1231=peg$literalExpectation("millisecond",false),peg$c1232="msecs",peg$c1233=peg$literalExpectation("msecs",false),peg$c1234="msec",peg$c1235=peg$literalExpectation("msec",false),peg$c1236="ms",peg$c1237=peg$literalExpectation("ms",false),peg$c1238="seconds",peg$c1239=peg$literalExpectation("seconds",false),peg$c1240=function(){return 1e3},peg$c1241="second",peg$c1242=peg$literalExpectation("second",false),peg$c1243="secs",peg$c1244=peg$literalExpectation("secs",false),peg$c1245="sec",peg$c1246=peg$literalExpectation("sec",false),peg$c1247="s",peg$c1248=peg$literalExpectation("s",false),peg$c1249="minutes",peg$c1250=peg$literalExpectation("minutes",false),peg$c1251=function(){return 1e3*60},peg$c1252="minute",peg$c1253=peg$literalExpectation("minute",false),peg$c1254="mins",peg$c1255=peg$literalExpectation("mins",false),peg$c1256="min",peg$c1257=peg$literalExpectation("min",false),peg$c1258="m",peg$c1259=peg$literalExpectation("m",false),peg$c1260="hours",peg$c1261=peg$literalExpectation("hours",false),peg$c1262=function(){return 1e3*60*60},peg$c1263="hour",peg$c1264=peg$literalExpectation("hour",false),peg$c1265="hrs",peg$c1266=peg$literalExpectation("hrs",false),peg$c1267="hr",peg$c1268=peg$literalExpectation("hr",false),peg$c1269="h",peg$c1270=peg$literalExpectation("h",false),peg$c1271="days",peg$c1272=peg$literalExpectation("days",false),peg$c1273=function(){return 1e3*60*60*24},peg$c1274="day",peg$c1275=peg$literalExpectation("day",false),peg$c1276="d",peg$c1277=peg$literalExpectation("d",false),peg$c1278="weeks",peg$c1279=peg$literalExpectation("weeks",false),peg$c1280=function(){return 1e3*60*60*24*7},peg$c1281="week",peg$c1282=peg$literalExpectation("week",false),peg$c1283="wks",peg$c1284=peg$literalExpectation("wks",false),peg$c1285="wk",peg$c1286=peg$literalExpectation("wk",false),peg$c1287="w",peg$c1288=peg$literalExpectation("w",false),peg$c1289="after",peg$c1290=peg$literalExpectation("after",false),peg$c1291=function(value,timescale){return value*(timescale||1e3)},peg$c1292=function(names){return names.map((i=>i[0]))},peg$c1293="+|",peg$c1294=peg$literalExpectation("+|",false),peg$c1295=function(nzd,dd){return{key:"stripe",value:parseInt(`${nzd}${dd}`,10)}},peg$c1296="-|",peg$c1297=peg$literalExpectation("-|",false),peg$c1298=function(nzd,dd){return{key:"stripe",value:-1*parseInt(`${nzd}${dd}`,10)}},peg$c1299="+",peg$c1300=peg$literalExpectation("+",false),peg$c1301=function(nzd,dd){return{key:"cycle",value:parseInt(`${nzd}${dd}`,10)}},peg$c1302="-",peg$c1303=peg$literalExpectation("-",false),peg$c1304=function(nzd,dd){return{key:"cycle",value:-1*parseInt(`${nzd}${dd}`,10)}},peg$c1305="+0",peg$c1306=peg$literalExpectation("+0",false),peg$c1307=function(){return{key:"cycle",value:0}},peg$c1308=function(r_after,r_action,r_prob,l_desc,arrow,r_desc,l_prob,l_action,l_after,label,tail){const base={kind:arrow,to:label};if(l_after){base.l_after=l_after}if(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}if(r_after){base.r_after=r_after}return base},peg$c1309=function(label,se){const base={key:"transition",from:label};if(se){base.se=se}return base},peg$c1310="whargarbl",peg$c1311=peg$literalExpectation("whargarbl",false),peg$c1312="todo",peg$c1313=peg$literalExpectation("todo",false),peg$c1314=function(validationkey,value){return{key:validationkey,value:value}},peg$c1315="validation",peg$c1316=peg$literalExpectation("validation",false),peg$c1317="};",peg$c1318=peg$literalExpectation("};",false),peg$c1319=function(validation_items){return{config_kind:"validation",config_items:validation_items||[]}},peg$c1320="dot",peg$c1321=peg$literalExpectation("dot",false),peg$c1322="circo",peg$c1323=peg$literalExpectation("circo",false),peg$c1324="fdp",peg$c1325=peg$literalExpectation("fdp",false),peg$c1326="neato",peg$c1327=peg$literalExpectation("neato",false),peg$c1328="twopi",peg$c1329=peg$literalExpectation("twopi",false),peg$c1330="state",peg$c1331=peg$literalExpectation("state",false),peg$c1332=function(state_items){return{key:"default_state_config",value:state_items||[]}},peg$c1333="start_state",peg$c1334=peg$literalExpectation("start_state",false),peg$c1335=function(state_items){return{key:"default_start_state_config",value:state_items||[]}},peg$c1336="end_state",peg$c1337=peg$literalExpectation("end_state",false),peg$c1338=function(state_items){return{key:"default_end_state_config",value:state_items||[]}},peg$c1339="active_state",peg$c1340=peg$literalExpectation("active_state",false),peg$c1341=function(state_items){return{key:"default_active_state_config",value:state_items||[]}},peg$c1342="terminal_state",peg$c1343=peg$literalExpectation("terminal_state",false),peg$c1344=function(state_items){return{key:"default_terminal_state_config",value:state_items||[]}},peg$c1345="hooked_state",peg$c1346=peg$literalExpectation("hooked_state",false),peg$c1347=function(state_items){return{key:"default_hooked_state_config",value:state_items||[]}},peg$c1348=function(actionkey,value){return{key:actionkey,value:value}},peg$c1349="action",peg$c1350=peg$literalExpectation("action",false),peg$c1351=function(action_items){return{config_kind:"action",config_items:action_items||[]}},peg$c1352=function(key,value){return{key:key,value:value}},peg$c1353=peg$otherExpectation("graph default edge color"),peg$c1354=function(value){return{key:"graph_default_edge_color",value:value}},peg$c1355="transition",peg$c1356=peg$literalExpectation("transition",false),peg$c1357=function(transition_items){return{config_kind:"transition",config_items:transition_items||[]}},peg$c1358="graph_layout",peg$c1359=peg$literalExpectation("graph_layout",false),peg$c1360=function(value){return{key:"graph_layout",value:value}},peg$c1361="start_states",peg$c1362=peg$literalExpectation("start_states",false),peg$c1363=function(value){return{key:"start_states",value:value}},peg$c1364="end_states",peg$c1365=peg$literalExpectation("end_states",false),peg$c1366=function(value){return{key:"end_states",value:value}},peg$c1367="graph_bg_color",peg$c1368=peg$literalExpectation("graph_bg_color",false),peg$c1369=function(value){return{key:"graph_bg_color",value:value}},peg$c1370="allows_override",peg$c1371=peg$literalExpectation("allows_override",false),peg$c1372=function(value){return{key:"allows_override",value:value}},peg$c1373=function(){return true},peg$c1374=function(){return false},peg$c1375=peg$otherExpectation("configuration"),peg$c1376="MIT",peg$c1377=peg$literalExpectation("MIT",false),peg$c1378="BSD 2-clause",peg$c1379=peg$literalExpectation("BSD 2-clause",false),peg$c1380="BSD 3-clause",peg$c1381=peg$literalExpectation("BSD 3-clause",false),peg$c1382="Apache 2.0",peg$c1383=peg$literalExpectation("Apache 2.0",false),peg$c1384="Mozilla 2.0",peg$c1385=peg$literalExpectation("Mozilla 2.0",false),peg$c1386="Public domain",peg$c1387=peg$literalExpectation("Public domain",false),peg$c1388="GPL v2",peg$c1389=peg$literalExpectation("GPL v2",false),peg$c1390="GPL v3",peg$c1391=peg$literalExpectation("GPL v3",false),peg$c1392="LGPL v2.1",peg$c1393=peg$literalExpectation("LGPL v2.1",false),peg$c1394="LGPL v3.0",peg$c1395=peg$literalExpectation("LGPL v3.0",false),peg$c1396="Unknown",peg$c1397=peg$literalExpectation("Unknown",false),peg$c1398=peg$otherExpectation("direction"),peg$c1399="up",peg$c1400=peg$literalExpectation("up",false),peg$c1401="right",peg$c1402=peg$literalExpectation("right",false),peg$c1403="down",peg$c1404=peg$literalExpectation("down",false),peg$c1405="left",peg$c1406=peg$literalExpectation("left",false),peg$c1407=peg$otherExpectation("hook definition (open/closed)"),peg$c1408="open",peg$c1409=peg$literalExpectation("open",false),peg$c1410="closed",peg$c1411=peg$literalExpectation("closed",false),peg$c1412="machine_author",peg$c1413=peg$literalExpectation("machine_author",false),peg$c1414=function(value){return{key:"machine_author",value:value}},peg$c1415="machine_contributor",peg$c1416=peg$literalExpectation("machine_contributor",false),peg$c1417=function(value){return{key:"machine_contributor",value:value}},peg$c1418="machine_comment",peg$c1419=peg$literalExpectation("machine_comment",false),peg$c1420=function(value){return{key:"machine_comment",value:value}},peg$c1421="machine_definition",peg$c1422=peg$literalExpectation("machine_definition",false),peg$c1423=function(value){return{key:"machine_definition",value:value}},peg$c1424="machine_name",peg$c1425=peg$literalExpectation("machine_name",false),peg$c1426=function(value){return{key:"machine_name",value:value}},peg$c1430="machine_version",peg$c1431=peg$literalExpectation("machine_version",false),peg$c1432=function(value){return{key:"machine_version",value:value}},peg$c1433="machine_license",peg$c1434=peg$literalExpectation("machine_license",false),peg$c1435=function(value){return{key:"machine_license",value:value}},peg$c1436="machine_language",peg$c1437=peg$literalExpectation("machine_language",false),peg$c1438=function(value){return{key:"machine_language",value:value}},peg$c1439="fsl_version",peg$c1440=peg$literalExpectation("fsl_version",false),peg$c1441=function(value){return{key:"fsl_version",value:value}},peg$c1442="theme",peg$c1443=peg$literalExpectation("theme",false),peg$c1444=function(value){return{key:"theme",value:value}},peg$c1445="flow",peg$c1446=peg$literalExpectation("flow",false),peg$c1447=function(value){return{key:"flow",value:value}},peg$c1448="hooks",peg$c1449=peg$literalExpectation("hooks",false),peg$c1450=function(value){return{key:"hook_definition",value:value}},peg$c1451="dot_preamble",peg$c1452=peg$literalExpectation("dot_preamble",false),peg$c1453=function(value){return{key:"dot_preamble",value:value}},peg$c1454=peg$otherExpectation("machine attribute"),peg$c1455="label",peg$c1456=peg$literalExpectation("label",false),peg$c1457=function(value){return{key:"state-label",value:value}},peg$c1458="color",peg$c1459=peg$literalExpectation("color",false),peg$c1460=function(value){return{key:"color",value:value}},peg$c1461=peg$otherExpectation("text color"),peg$c1462="text-color",peg$c1463=peg$literalExpectation("text-color",false),peg$c1464=function(value){return{key:"text-color",value:value}},peg$c1465=peg$otherExpectation("background color"),peg$c1466="background-color",peg$c1467=peg$literalExpectation("background-color",false),peg$c1468=function(value){return{key:"background-color",value:value}},peg$c1469=peg$otherExpectation("border color"),peg$c1470="border-color",peg$c1471=peg$literalExpectation("border-color",false),peg$c1472=function(value){return{key:"border-color",value:value}},peg$c1473=peg$otherExpectation("shape"),peg$c1474="shape",peg$c1475=peg$literalExpectation("shape",false),peg$c1476=function(value){return{key:"shape",value:value}},peg$c1477=peg$otherExpectation("corners"),peg$c1478="corners",peg$c1479=peg$literalExpectation("corners",false),peg$c1480=function(value){return{key:"corners",value:value}},peg$c1481=peg$otherExpectation("linestyle"),peg$c1482=function(value){return{key:"line-style",value:value}},peg$c1483="linestyle",peg$c1484=peg$literalExpectation("linestyle",false),peg$c1485=peg$otherExpectation("state property"),peg$c1486="property",peg$c1487=peg$literalExpectation("property",false),peg$c1488=function(name,value){return{key:"state_property",name:name,value:value}},peg$c1489="required",peg$c1490=peg$literalExpectation("required",false),peg$c1491=function(name,value){return{key:"state_property",name:name,value:value,required:true}},peg$c1492=function(name,value){return{key:"state_declaration",name:name,value:value}},peg$c1493="&",peg$c1494=peg$literalExpectation("&",false),peg$c1495=function(name,value){return{key:"named_list",name:name,value:value}},peg$c1496=function(name,default_value){return{key:"property_definition",name:name,default_value:default_value,required:true}},peg$c1497=function(name){return{key:"property_definition",name:name,required:true}},peg$c1498=function(name,default_value){return{key:"property_definition",name:name,default_value:default_value}},peg$c1499=function(name){return{key:"property_definition",name:name}},peg$c1500="arrange",peg$c1501=peg$literalExpectation("arrange",false),peg$c1502=function(value){return{key:"arrange_declaration",value:value}},peg$c1503="arrange-start",peg$c1504=peg$literalExpectation("arrange-start",false),peg$c1505=function(value){return{key:"arrange_start_declaration",value:value}},peg$c1506="arrange-end",peg$c1507=peg$literalExpectation("arrange-end",false),peg$c1508=function(value){return{key:"arrange_end_declaration",value:value}},peg$c1509=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$parseTimeType(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c1227){s1=peg$c1227;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1228)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1229()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1230){s1=peg$c1230;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1231)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1229()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1232){s1=peg$c1232;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1233)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1229()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1234){s1=peg$c1234;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1235)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1229()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1236){s1=peg$c1236;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1237)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1229()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1238){s1=peg$c1238;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1239)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1240()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1241){s1=peg$c1241;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1242)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1240()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1243){s1=peg$c1243;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1244)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1240()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1245){s1=peg$c1245;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1240()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===115){s1=peg$c1247;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1240()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1249){s1=peg$c1249;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1250)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1251()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1252){s1=peg$c1252;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1251()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1254){s1=peg$c1254;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1255)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1251()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1256){s1=peg$c1256;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1257)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1251()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===109){s1=peg$c1258;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1259)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1251()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1260){s1=peg$c1260;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1261)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1262()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1263){s1=peg$c1263;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1264)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1262()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1265){s1=peg$c1265;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1266)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1262()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1267){s1=peg$c1267;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1268)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1262()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===104){s1=peg$c1269;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1270)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1262()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1271){s1=peg$c1271;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1272)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1273()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1274){s1=peg$c1274;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1275)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1273()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===100){s1=peg$c1276;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1277)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1273()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1278){s1=peg$c1278;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1279)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1280()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1281){s1=peg$c1281;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1282)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1280()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1283){s1=peg$c1283;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1284)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1280()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1285){s1=peg$c1285;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1286)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1280()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===119){s1=peg$c1287;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1288)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1280()}s0=s1}}}}}}}}}}}}}}}}}}}}}}}}}}}return s0}function peg$parseArrowAfter(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1289){s1=peg$c1289;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1290)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2!==peg$FAILED){s3=peg$parseNonNegNumber();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){s5=peg$parseTimeType();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1291(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$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$c1292(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$c1293){s1=peg$c1293;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1294)}}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$c1295(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$c1296){s1=peg$c1296;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1297)}}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$c1298(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$c1299;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1300)}}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$c1301(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$c1302;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1303)}}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$c1304(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$c1305){s1=peg$c1305;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1306)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1307()}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,s19,s20,s21,s22;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseArrowAfter();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$parseActionLabel();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$parseArrowProbability();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$parseArrowDesc();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){s10=peg$parseArrow();if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){s12=peg$parseArrowDesc();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$parseArrowProbability();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$parseActionLabel();if(s16===peg$FAILED){s16=null}if(s16!==peg$FAILED){s17=peg$parseWS();if(s17===peg$FAILED){s17=null}if(s17!==peg$FAILED){s18=peg$parseArrowAfter();if(s18===peg$FAILED){s18=null}if(s18!==peg$FAILED){s19=peg$parseWS();if(s19===peg$FAILED){s19=null}if(s19!==peg$FAILED){s20=peg$parseArrowTarget();if(s20!==peg$FAILED){s21=peg$parseWS();if(s21===peg$FAILED){s21=null}if(s21!==peg$FAILED){s22=peg$parseSubexp();if(s22===peg$FAILED){s22=null}if(s22!==peg$FAILED){peg$savedPos=s0;s1=peg$c1308(s2,s4,s6,s8,s10,s12,s14,s16,s18,s20,s22);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1309(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$c1310){s0=peg$c1310;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1311)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1312){s0=peg$c1312;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1313)}}}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$c1314(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$c1315){s2=peg$c1315;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1316)}}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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1319(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$c1320){s0=peg$c1320;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1321)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1322){s0=peg$c1322;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1323)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c1324){s0=peg$c1324;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1325)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1326){s0=peg$c1326;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1327)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1328){s0=peg$c1328;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1329)}}}}}}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$c1330){s2=peg$c1330;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1331)}}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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1332(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$c1333){s2=peg$c1333;peg$currPos+=11}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1334)}}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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1335(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$c1336){s2=peg$c1336;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1337)}}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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1338(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$c1339){s2=peg$c1339;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1340)}}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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1341(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$c1342){s2=peg$c1342;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1343)}}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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1344(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$c1345){s2=peg$c1345;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1346)}}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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1347(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$c1310){s0=peg$c1310;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1311)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1312){s0=peg$c1312;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1313)}}}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$c1348(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$c1349){s2=peg$c1349;peg$currPos+=6}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){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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1351(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$c1310){s0=peg$c1310;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1311)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1312){s0=peg$c1312;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1313)}}}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$c1352(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$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}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1353)}}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$c1355){s2=peg$c1355;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1356)}}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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1357(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$c1358){s2=peg$c1358;peg$currPos+=12}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$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$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$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$c1361){s2=peg$c1361;peg$currPos+=12}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$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$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$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$c1364){s2=peg$c1364;peg$currPos+=10}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$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$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$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$c1367){s2=peg$c1367;peg$currPos+=14}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$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$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$parseConfigAllowsOverride(){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$c1370){s2=peg$c1370;peg$currPos+=15}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$parseOverrideT();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$parseOverrideT(){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$c1373()}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$c1374()}s0=s1;if(s0===peg$FAILED){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$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();if(s0===peg$FAILED){s0=peg$parseConfigAllowsOverride()}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1375)}}return s0}function peg$parseLicenseOrLabelOrList(){var s0;if(input.substr(peg$currPos,3)===peg$c1376){s0=peg$c1376;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1377)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1378){s0=peg$c1378;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1379)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1380){s0=peg$c1380;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1381)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1382){s0=peg$c1382;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1383)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1384){s0=peg$c1384;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1385)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c1386){s0=peg$c1386;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1387)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1388){s0=peg$c1388;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1389)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1390){s0=peg$c1390;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1391)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1392){s0=peg$c1392;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1393)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1394){s0=peg$c1394;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1395)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c1396){s0=peg$c1396;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1397)}}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$c1399){s0=peg$c1399;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1400)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1401){s0=peg$c1401;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1402)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1403){s0=peg$c1403;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1404)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1405){s0=peg$c1405;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1406)}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1398)}}return s0}function peg$parseHookDefinition(){var s0;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c1408){s0=peg$c1408;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1409)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1410){s0=peg$c1410;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1411)}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1407)}}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$c1412){s2=peg$c1412;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1413)}}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$c1414(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$c1415){s2=peg$c1415;peg$currPos+=19}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1416)}}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$c1417(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$c1418){s2=peg$c1418;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1419)}}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$c1420(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$c1421){s2=peg$c1421;peg$currPos+=18}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){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$c1423(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$c1424){s2=peg$c1424;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1425)}}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$c1426(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$c1430){s2=peg$c1430;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1431)}}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$c1432(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$c1433){s2=peg$c1433;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1434)}}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$c1435(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$c1436){s2=peg$c1436;peg$currPos+=16}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1437)}}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$c1438(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$c1439){s2=peg$c1439;peg$currPos+=11}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1440)}}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$c1441(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$c1442){s2=peg$c1442;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1443)}}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$c1444(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$c1445){s2=peg$c1445;peg$currPos+=4}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1446)}}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$c1447(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$c1448){s2=peg$c1448;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1449)}}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$c1450(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$c1451){s2=peg$c1451;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1452)}}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$c1453(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$c1454)}}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$c1455){s2=peg$c1455;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1456)}}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$c1457(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$c1458){s2=peg$c1458;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1459)}}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$c1460(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$c1462){s2=peg$c1462;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1463)}}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$c1464(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$c1461)}}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$c1466){s2=peg$c1466;peg$currPos+=16}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1467)}}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$c1468(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$c1465)}}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$c1470){s2=peg$c1470;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1471)}}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$c1472(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$c1469)}}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$c1474){s2=peg$c1474;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1475)}}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$c1476(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$c1473)}}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$c1478){s2=peg$c1478;peg$currPos+=7}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1479)}}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$c1480(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$c1477)}}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$c1482(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$c1483){s2=peg$c1483;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1484)}}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$c1482(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$c1481)}}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$c1486){s2=peg$c1486;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1487)}}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$c1488(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$c1486){s2=peg$c1486;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1487)}}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$c1489){s10=peg$c1489;peg$currPos+=8}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1490)}}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$c1491(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$c1485)}}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$c1330){s2=peg$c1330;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1331)}}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$c1492(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$c1493;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1494)}}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$c1495(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$c1486){s2=peg$c1486;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1487)}}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$c1489){s10=peg$c1489;peg$currPos+=8}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1490)}}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$c1496(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$c1486){s2=peg$c1486;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1487)}}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$c1489){s6=peg$c1489;peg$currPos+=8}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1490)}}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$c1497(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$c1486){s2=peg$c1486;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1487)}}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$c1498(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$c1486){s2=peg$c1486;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1487)}}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$c1499(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$c1500){s1=peg$c1500;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1501)}}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$c1502(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$c1503){s1=peg$c1503;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1504)}}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$c1505(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$c1506){s1=peg$c1506;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1507)}}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$c1508(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$c1509)}}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",rng)=>{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]);function gen_splitmix32(a){if(a===undefined){a=(new Date).getTime()}return function(){a|=0;a=a+2654435769|0;var t=a^a>>>16;t=Math.imul(t,569420461);t=t^t>>>15;t=Math.imul(t,1935289751);return((t=t^t>>>15)>>>0)/4294967296}}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[]}}function sleep(ms){return new Promise((resolve=>setTimeout(resolve,ms)))}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,after_time:isRight?this_se.r_after:this_se.l_after,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","allows_override","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:[],allows_override:[]};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","allows_override"];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 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 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.99.0",build_time=1720314479976;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=[],initial_state:initial_state,start_states_no_enforce:start_states_no_enforce,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,allows_override:allows_override,config_allows_override:config_allows_override,rng_seed:rng_seed,time_source:time_source,timeout_source:timeout_source,clear_timeout_source:clear_timeout_source}){this._time_source=()=>(new Date).getTime();this._create_started=this._time_source();this._instance_name=instance_name;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_after_hooks=false;this._has_global_action_hooks=false;this._has_transition_hooks=true;this._has_forced_transitions=false;this._hooks=new Map;this._named_hooks=new Map;this._entry_hooks=new Map;this._exit_hooks=new Map;this._after_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._code_allows_override=allows_override;this._config_allows_override=config_allows_override;if(allows_override===false&&config_allows_override===true){throw new JssmError(undefined,"Code specifies no override, but config tries to permit; config may not be less strict than code")}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;this._rng_seed=rng_seed!==null&&rng_seed!==void 0?rng_seed:(new Date).getTime();this._rng=gen_splitmix32(this._rng_seed);this._timeout_source=timeout_source!==null&&timeout_source!==void 0?timeout_source:(f,a)=>setTimeout(f,a);this._clear_timeout_source=clear_timeout_source!==null&&clear_timeout_source!==void 0?clear_timeout_source:h=>clearTimeout(h);this._timeout_handle=undefined;this._timeout_target=undefined;this._timeout_target_time=undefined;this._after_mapping=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.forced_only){this._has_forced_transitions=true}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)}}if(tr.after_time){this._after_mapping.set(tr.from,[tr.to,tr.after_time])}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)}))}if(initial_state){if(!this._states.has(initial_state)){throw new JssmError(this,`requested start state ${initial_state} does not exist`)}if(!start_states_no_enforce&&!start_states.includes(initial_state)){throw new JssmError(this,`requested start state ${initial_state} is not in start state list; add {start_states_no_enforce:true} to constructor options if desired`)}this._state=initial_state}else{this._state=start_states[0]}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`)}this._created=this._time_source();this.auto_set_state_timeout();this._arrange_declaration.forEach((arrange_pair=>arrange_pair.forEach((possibleState=>{if(!this._states.has(possibleState)){throw new JssmError(this,`Cannot arrange state that does not exist "${possibleState}"`)}}))))}_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}get uses_forced_transitions(){return this._has_forced_transitions}get code_allows_override(){return this._code_allows_override}get config_allows_override(){return this._config_allows_override}get allows_override(){if(this._code_allows_override===false){if(this._config_allows_override===true){throw new JssmError(this,"Code specifies no override, but config tries to permit; config may not be less strict than code; should be unreachable")}else{return false}}if(this._code_allows_override===true){if(this._config_allows_override===false){return false}else{return true}}if(this._config_allows_override===true){return true}else{return false}}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()){var _a,_b;const guaranteed=(_a=this._states.get(whichState))!==null&&_a!==void 0?_a:{from:undefined};return(_b=guaranteed.from)!==null&&_b!==void 0?_b:[]}list_exits(whichState=this.state()){var _a,_b;const guaranteed=(_a=this._states.get(whichState))!==null&&_a!==void 0?_a:{to:undefined};return(_b=guaranteed.to)!==null&&_b!==void 0?_b:[]}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()),undefined,this._rng);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{if(this.has_state(whichState)){return[]}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"after":this._after_hooks.set(HookDesc.from,HookDesc.handler);this._has_hooks=true;this._has_after_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}hook_after(from,handler){this.set_hook({kind:"after",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}get rng_seed(){return this._rng_seed}set rng_seed(to){if(typeof to==="undefined"){this._rng_seed=(new Date).getTime()}else{this._rng_seed=to}}edges_between(from,to){return this._edges.filter((edge=>edge.from===from&&edge.to===to))}override(newState,newData){if(this.allows_override){if(this._states.has(newState)){this._state=newState;this._data=newData}else{throw new JssmError(this,`Cannot override state to "${newState}", a state that does not exist`)}}else{throw new JssmError(this,"Code specifies no override, but config tries to permit; config may not be less strict than code")}}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,next_data:newData,forced:wasForced,trans_type:trans_type};if(valid){if(this._has_hooks){this.clear_state_timeout();function update_fields(res){if(res.hasOwnProperty("data")){hook_args.data=res.data;hook_args.next_data=res.next_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._has_after_hooks){const ah=this._after_hooks.get(newStateOrAction);const outcome=abstract_hook_step(ah,hook_args);if(ah!==undefined){ah({data:outcome.data,next_data:outcome.next_data})}update_fields(outcome)}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(newData!==undefined){this._data=newData}}else{if(this._history_length){this._history.shove([this._state,this._data])}this._state=newState;if(newData!==undefined){this._data=newData}}}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)}}}this.auto_set_state_timeout();return true}auto_set_state_timeout(){const after_res=this._after_mapping.get(this._state);if(after_res!==undefined){const[next_state,after_time]=after_res;this.set_state_timeout(next_state,after_time)}}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}get creation_date(){return new Date(Math.floor(this.creation_timestamp))}get creation_timestamp(){return this._created}get create_start_time(){return this._create_started}set_state_timeout(next_state,after_time){if(this._timeout_handle!==undefined){throw new JssmError(this,`Asked to set a state timeout to ${next_state}:${after_time}, but already timing out to ${this._timeout_target}:${this._timeout_target_time}`)}this._timeout_handle=this._timeout_source((()=>{this.clear_state_timeout();if(this._has_after_hooks){const ah=this._after_hooks.get(this.state());if(ah!==undefined){ah({data:this._data,next_data:this._data})}}this.go(next_state)}),after_time);this._timeout_target=next_state;this._timeout_target_time=after_time}clear_state_timeout(){if(this._timeout_handle===undefined){return}this._clear_timeout_source(this._timeout_handle);this._timeout_handle=undefined;this._timeout_target=undefined;this._timeout_target_time=undefined}state_timeout_for(which_state){return this._after_mapping.get(which_state)}current_state_timeout(){return this._timeout_target!==undefined?[this._timeout_target,this._timeout_target_time]:undefined}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=>{if(key==="allows_override"){to_decorate["config_allows_override"]=ExtraConstructorFields["allows_override"]}else{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.sleep=sleep;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.iife.cjs b/dist/jssm.es5.iife.cjs index 2a9fa71b..2117c460 100644 --- a/dist/jssm.es5.iife.cjs +++ b/dist/jssm.es5.iife.cjs @@ -1 +1 @@ -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="milliseconds",peg$c1228=peg$literalExpectation("milliseconds",false),peg$c1229=function(){return 1},peg$c1230="millisecond",peg$c1231=peg$literalExpectation("millisecond",false),peg$c1232="msecs",peg$c1233=peg$literalExpectation("msecs",false),peg$c1234="msec",peg$c1235=peg$literalExpectation("msec",false),peg$c1236="ms",peg$c1237=peg$literalExpectation("ms",false),peg$c1238="seconds",peg$c1239=peg$literalExpectation("seconds",false),peg$c1240=function(){return 1e3},peg$c1241="second",peg$c1242=peg$literalExpectation("second",false),peg$c1243="secs",peg$c1244=peg$literalExpectation("secs",false),peg$c1245="sec",peg$c1246=peg$literalExpectation("sec",false),peg$c1247="s",peg$c1248=peg$literalExpectation("s",false),peg$c1249="minutes",peg$c1250=peg$literalExpectation("minutes",false),peg$c1251=function(){return 1e3*60},peg$c1252="minute",peg$c1253=peg$literalExpectation("minute",false),peg$c1254="mins",peg$c1255=peg$literalExpectation("mins",false),peg$c1256="min",peg$c1257=peg$literalExpectation("min",false),peg$c1258="m",peg$c1259=peg$literalExpectation("m",false),peg$c1260="hours",peg$c1261=peg$literalExpectation("hours",false),peg$c1262=function(){return 1e3*60*60},peg$c1263="hour",peg$c1264=peg$literalExpectation("hour",false),peg$c1265="hrs",peg$c1266=peg$literalExpectation("hrs",false),peg$c1267="hr",peg$c1268=peg$literalExpectation("hr",false),peg$c1269="h",peg$c1270=peg$literalExpectation("h",false),peg$c1271="days",peg$c1272=peg$literalExpectation("days",false),peg$c1273=function(){return 1e3*60*60*24},peg$c1274="day",peg$c1275=peg$literalExpectation("day",false),peg$c1276="d",peg$c1277=peg$literalExpectation("d",false),peg$c1278="weeks",peg$c1279=peg$literalExpectation("weeks",false),peg$c1280=function(){return 1e3*60*60*24*7},peg$c1281="week",peg$c1282=peg$literalExpectation("week",false),peg$c1283="wks",peg$c1284=peg$literalExpectation("wks",false),peg$c1285="wk",peg$c1286=peg$literalExpectation("wk",false),peg$c1287="w",peg$c1288=peg$literalExpectation("w",false),peg$c1289="after",peg$c1290=peg$literalExpectation("after",false),peg$c1291=function(value,timescale){return value*(timescale||1e3)},peg$c1292=function(names){return names.map((i=>i[0]))},peg$c1293="+|",peg$c1294=peg$literalExpectation("+|",false),peg$c1295=function(nzd,dd){return{key:"stripe",value:parseInt(`${nzd}${dd}`,10)}},peg$c1296="-|",peg$c1297=peg$literalExpectation("-|",false),peg$c1298=function(nzd,dd){return{key:"stripe",value:-1*parseInt(`${nzd}${dd}`,10)}},peg$c1299="+",peg$c1300=peg$literalExpectation("+",false),peg$c1301=function(nzd,dd){return{key:"cycle",value:parseInt(`${nzd}${dd}`,10)}},peg$c1302="-",peg$c1303=peg$literalExpectation("-",false),peg$c1304=function(nzd,dd){return{key:"cycle",value:-1*parseInt(`${nzd}${dd}`,10)}},peg$c1305="+0",peg$c1306=peg$literalExpectation("+0",false),peg$c1307=function(){return{key:"cycle",value:0}},peg$c1308=function(r_after,r_action,r_prob,l_desc,arrow,r_desc,l_prob,l_action,l_after,label,tail){const base={kind:arrow,to:label};if(l_after){base.l_after=l_after}if(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}if(r_after){base.r_after=r_after}return base},peg$c1309=function(label,se){const base={key:"transition",from:label};if(se){base.se=se}return base},peg$c1310="whargarbl",peg$c1311=peg$literalExpectation("whargarbl",false),peg$c1312="todo",peg$c1313=peg$literalExpectation("todo",false),peg$c1314=function(validationkey,value){return{key:validationkey,value:value}},peg$c1315="validation",peg$c1316=peg$literalExpectation("validation",false),peg$c1317="};",peg$c1318=peg$literalExpectation("};",false),peg$c1319=function(validation_items){return{config_kind:"validation",config_items:validation_items||[]}},peg$c1320="dot",peg$c1321=peg$literalExpectation("dot",false),peg$c1322="circo",peg$c1323=peg$literalExpectation("circo",false),peg$c1324="fdp",peg$c1325=peg$literalExpectation("fdp",false),peg$c1326="neato",peg$c1327=peg$literalExpectation("neato",false),peg$c1328="twopi",peg$c1329=peg$literalExpectation("twopi",false),peg$c1330="state",peg$c1331=peg$literalExpectation("state",false),peg$c1332=function(state_items){return{key:"default_state_config",value:state_items||[]}},peg$c1333="start_state",peg$c1334=peg$literalExpectation("start_state",false),peg$c1335=function(state_items){return{key:"default_start_state_config",value:state_items||[]}},peg$c1336="end_state",peg$c1337=peg$literalExpectation("end_state",false),peg$c1338=function(state_items){return{key:"default_end_state_config",value:state_items||[]}},peg$c1339="active_state",peg$c1340=peg$literalExpectation("active_state",false),peg$c1341=function(state_items){return{key:"default_active_state_config",value:state_items||[]}},peg$c1342="terminal_state",peg$c1343=peg$literalExpectation("terminal_state",false),peg$c1344=function(state_items){return{key:"default_terminal_state_config",value:state_items||[]}},peg$c1345="hooked_state",peg$c1346=peg$literalExpectation("hooked_state",false),peg$c1347=function(state_items){return{key:"default_hooked_state_config",value:state_items||[]}},peg$c1348=function(actionkey,value){return{key:actionkey,value:value}},peg$c1349="action",peg$c1350=peg$literalExpectation("action",false),peg$c1351=function(action_items){return{config_kind:"action",config_items:action_items||[]}},peg$c1352=function(key,value){return{key:key,value:value}},peg$c1353=peg$otherExpectation("graph default edge color"),peg$c1354=function(value){return{key:"graph_default_edge_color",value:value}},peg$c1355="transition",peg$c1356=peg$literalExpectation("transition",false),peg$c1357=function(transition_items){return{config_kind:"transition",config_items:transition_items||[]}},peg$c1358="graph_layout",peg$c1359=peg$literalExpectation("graph_layout",false),peg$c1360=function(value){return{key:"graph_layout",value:value}},peg$c1361="start_states",peg$c1362=peg$literalExpectation("start_states",false),peg$c1363=function(value){return{key:"start_states",value:value}},peg$c1364="end_states",peg$c1365=peg$literalExpectation("end_states",false),peg$c1366=function(value){return{key:"end_states",value:value}},peg$c1367="graph_bg_color",peg$c1368=peg$literalExpectation("graph_bg_color",false),peg$c1369=function(value){return{key:"graph_bg_color",value:value}},peg$c1370="allows_override",peg$c1371=peg$literalExpectation("allows_override",false),peg$c1372=function(value){return{key:"allows_override",value:value}},peg$c1373=function(){return true},peg$c1374=function(){return false},peg$c1375=peg$otherExpectation("configuration"),peg$c1376="MIT",peg$c1377=peg$literalExpectation("MIT",false),peg$c1378="BSD 2-clause",peg$c1379=peg$literalExpectation("BSD 2-clause",false),peg$c1380="BSD 3-clause",peg$c1381=peg$literalExpectation("BSD 3-clause",false),peg$c1382="Apache 2.0",peg$c1383=peg$literalExpectation("Apache 2.0",false),peg$c1384="Mozilla 2.0",peg$c1385=peg$literalExpectation("Mozilla 2.0",false),peg$c1386="Public domain",peg$c1387=peg$literalExpectation("Public domain",false),peg$c1388="GPL v2",peg$c1389=peg$literalExpectation("GPL v2",false),peg$c1390="GPL v3",peg$c1391=peg$literalExpectation("GPL v3",false),peg$c1392="LGPL v2.1",peg$c1393=peg$literalExpectation("LGPL v2.1",false),peg$c1394="LGPL v3.0",peg$c1395=peg$literalExpectation("LGPL v3.0",false),peg$c1396="Unknown",peg$c1397=peg$literalExpectation("Unknown",false),peg$c1398=peg$otherExpectation("direction"),peg$c1399="up",peg$c1400=peg$literalExpectation("up",false),peg$c1401="right",peg$c1402=peg$literalExpectation("right",false),peg$c1403="down",peg$c1404=peg$literalExpectation("down",false),peg$c1405="left",peg$c1406=peg$literalExpectation("left",false),peg$c1407=peg$otherExpectation("hook definition (open/closed)"),peg$c1408="open",peg$c1409=peg$literalExpectation("open",false),peg$c1410="closed",peg$c1411=peg$literalExpectation("closed",false),peg$c1412="machine_author",peg$c1413=peg$literalExpectation("machine_author",false),peg$c1414=function(value){return{key:"machine_author",value:value}},peg$c1415="machine_contributor",peg$c1416=peg$literalExpectation("machine_contributor",false),peg$c1417=function(value){return{key:"machine_contributor",value:value}},peg$c1418="machine_comment",peg$c1419=peg$literalExpectation("machine_comment",false),peg$c1420=function(value){return{key:"machine_comment",value:value}},peg$c1421="machine_definition",peg$c1422=peg$literalExpectation("machine_definition",false),peg$c1423=function(value){return{key:"machine_definition",value:value}},peg$c1424="machine_name",peg$c1425=peg$literalExpectation("machine_name",false),peg$c1426=function(value){return{key:"machine_name",value:value}},peg$c1430="machine_version",peg$c1431=peg$literalExpectation("machine_version",false),peg$c1432=function(value){return{key:"machine_version",value:value}},peg$c1433="machine_license",peg$c1434=peg$literalExpectation("machine_license",false),peg$c1435=function(value){return{key:"machine_license",value:value}},peg$c1436="machine_language",peg$c1437=peg$literalExpectation("machine_language",false),peg$c1438=function(value){return{key:"machine_language",value:value}},peg$c1439="fsl_version",peg$c1440=peg$literalExpectation("fsl_version",false),peg$c1441=function(value){return{key:"fsl_version",value:value}},peg$c1442="theme",peg$c1443=peg$literalExpectation("theme",false),peg$c1444=function(value){return{key:"theme",value:value}},peg$c1445="flow",peg$c1446=peg$literalExpectation("flow",false),peg$c1447=function(value){return{key:"flow",value:value}},peg$c1448="hooks",peg$c1449=peg$literalExpectation("hooks",false),peg$c1450=function(value){return{key:"hook_definition",value:value}},peg$c1451="dot_preamble",peg$c1452=peg$literalExpectation("dot_preamble",false),peg$c1453=function(value){return{key:"dot_preamble",value:value}},peg$c1454=peg$otherExpectation("machine attribute"),peg$c1455="label",peg$c1456=peg$literalExpectation("label",false),peg$c1457=function(value){return{key:"state-label",value:value}},peg$c1458="color",peg$c1459=peg$literalExpectation("color",false),peg$c1460=function(value){return{key:"color",value:value}},peg$c1461=peg$otherExpectation("text color"),peg$c1462="text-color",peg$c1463=peg$literalExpectation("text-color",false),peg$c1464=function(value){return{key:"text-color",value:value}},peg$c1465=peg$otherExpectation("background color"),peg$c1466="background-color",peg$c1467=peg$literalExpectation("background-color",false),peg$c1468=function(value){return{key:"background-color",value:value}},peg$c1469=peg$otherExpectation("border color"),peg$c1470="border-color",peg$c1471=peg$literalExpectation("border-color",false),peg$c1472=function(value){return{key:"border-color",value:value}},peg$c1473=peg$otherExpectation("shape"),peg$c1474="shape",peg$c1475=peg$literalExpectation("shape",false),peg$c1476=function(value){return{key:"shape",value:value}},peg$c1477=peg$otherExpectation("corners"),peg$c1478="corners",peg$c1479=peg$literalExpectation("corners",false),peg$c1480=function(value){return{key:"corners",value:value}},peg$c1481=peg$otherExpectation("linestyle"),peg$c1482=function(value){return{key:"line-style",value:value}},peg$c1483="linestyle",peg$c1484=peg$literalExpectation("linestyle",false),peg$c1485=peg$otherExpectation("state property"),peg$c1486="property",peg$c1487=peg$literalExpectation("property",false),peg$c1488=function(name,value){return{key:"state_property",name:name,value:value}},peg$c1489="required",peg$c1490=peg$literalExpectation("required",false),peg$c1491=function(name,value){return{key:"state_property",name:name,value:value,required:true}},peg$c1492=function(name,value){return{key:"state_declaration",name:name,value:value}},peg$c1493="&",peg$c1494=peg$literalExpectation("&",false),peg$c1495=function(name,value){return{key:"named_list",name:name,value:value}},peg$c1496=function(name,default_value){return{key:"property_definition",name:name,default_value:default_value,required:true}},peg$c1497=function(name){return{key:"property_definition",name:name,required:true}},peg$c1498=function(name,default_value){return{key:"property_definition",name:name,default_value:default_value}},peg$c1499=function(name){return{key:"property_definition",name:name}},peg$c1500="arrange",peg$c1501=peg$literalExpectation("arrange",false),peg$c1502=function(value){return{key:"arrange_declaration",value:value}},peg$c1503="arrange-start",peg$c1504=peg$literalExpectation("arrange-start",false),peg$c1505=function(value){return{key:"arrange_start_declaration",value:value}},peg$c1506="arrange-end",peg$c1507=peg$literalExpectation("arrange-end",false),peg$c1508=function(value){return{key:"arrange_end_declaration",value:value}},peg$c1509=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$parseTimeType(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c1227){s1=peg$c1227;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1228)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1229()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1230){s1=peg$c1230;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1231)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1229()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1232){s1=peg$c1232;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1233)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1229()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1234){s1=peg$c1234;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1235)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1229()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1236){s1=peg$c1236;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1237)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1229()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1238){s1=peg$c1238;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1239)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1240()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1241){s1=peg$c1241;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1242)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1240()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1243){s1=peg$c1243;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1244)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1240()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1245){s1=peg$c1245;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1240()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===115){s1=peg$c1247;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1240()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1249){s1=peg$c1249;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1250)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1251()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1252){s1=peg$c1252;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1251()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1254){s1=peg$c1254;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1255)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1251()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1256){s1=peg$c1256;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1257)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1251()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===109){s1=peg$c1258;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1259)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1251()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1260){s1=peg$c1260;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1261)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1262()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1263){s1=peg$c1263;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1264)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1262()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1265){s1=peg$c1265;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1266)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1262()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1267){s1=peg$c1267;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1268)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1262()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===104){s1=peg$c1269;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1270)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1262()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1271){s1=peg$c1271;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1272)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1273()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1274){s1=peg$c1274;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1275)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1273()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===100){s1=peg$c1276;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1277)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1273()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1278){s1=peg$c1278;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1279)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1280()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1281){s1=peg$c1281;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1282)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1280()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1283){s1=peg$c1283;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1284)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1280()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1285){s1=peg$c1285;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1286)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1280()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===119){s1=peg$c1287;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1288)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1280()}s0=s1}}}}}}}}}}}}}}}}}}}}}}}}}}}return s0}function peg$parseArrowAfter(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1289){s1=peg$c1289;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1290)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2!==peg$FAILED){s3=peg$parseNonNegNumber();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){s5=peg$parseTimeType();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1291(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$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$c1292(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$c1293){s1=peg$c1293;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1294)}}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$c1295(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$c1296){s1=peg$c1296;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1297)}}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$c1298(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$c1299;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1300)}}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$c1301(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$c1302;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1303)}}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$c1304(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$c1305){s1=peg$c1305;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1306)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1307()}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,s19,s20,s21,s22;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseArrowAfter();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$parseActionLabel();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$parseArrowProbability();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$parseArrowDesc();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){s10=peg$parseArrow();if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){s12=peg$parseArrowDesc();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$parseArrowProbability();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$parseActionLabel();if(s16===peg$FAILED){s16=null}if(s16!==peg$FAILED){s17=peg$parseWS();if(s17===peg$FAILED){s17=null}if(s17!==peg$FAILED){s18=peg$parseArrowAfter();if(s18===peg$FAILED){s18=null}if(s18!==peg$FAILED){s19=peg$parseWS();if(s19===peg$FAILED){s19=null}if(s19!==peg$FAILED){s20=peg$parseArrowTarget();if(s20!==peg$FAILED){s21=peg$parseWS();if(s21===peg$FAILED){s21=null}if(s21!==peg$FAILED){s22=peg$parseSubexp();if(s22===peg$FAILED){s22=null}if(s22!==peg$FAILED){peg$savedPos=s0;s1=peg$c1308(s2,s4,s6,s8,s10,s12,s14,s16,s18,s20,s22);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1309(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$c1310){s0=peg$c1310;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1311)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1312){s0=peg$c1312;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1313)}}}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$c1314(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$c1315){s2=peg$c1315;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1316)}}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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1319(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$c1320){s0=peg$c1320;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1321)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1322){s0=peg$c1322;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1323)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c1324){s0=peg$c1324;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1325)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1326){s0=peg$c1326;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1327)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1328){s0=peg$c1328;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1329)}}}}}}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$c1330){s2=peg$c1330;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1331)}}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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1332(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$c1333){s2=peg$c1333;peg$currPos+=11}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1334)}}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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1335(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$c1336){s2=peg$c1336;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1337)}}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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1338(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$c1339){s2=peg$c1339;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1340)}}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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1341(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$c1342){s2=peg$c1342;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1343)}}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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1344(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$c1345){s2=peg$c1345;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1346)}}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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1347(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$c1310){s0=peg$c1310;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1311)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1312){s0=peg$c1312;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1313)}}}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$c1348(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$c1349){s2=peg$c1349;peg$currPos+=6}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){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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1351(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$c1310){s0=peg$c1310;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1311)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1312){s0=peg$c1312;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1313)}}}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$c1352(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$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}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1353)}}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$c1355){s2=peg$c1355;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1356)}}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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1357(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$c1358){s2=peg$c1358;peg$currPos+=12}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$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$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$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$c1361){s2=peg$c1361;peg$currPos+=12}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$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$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$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$c1364){s2=peg$c1364;peg$currPos+=10}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$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$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$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$c1367){s2=peg$c1367;peg$currPos+=14}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$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$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$parseConfigAllowsOverride(){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$c1370){s2=peg$c1370;peg$currPos+=15}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$parseOverrideT();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$parseOverrideT(){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$c1373()}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$c1374()}s0=s1;if(s0===peg$FAILED){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$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();if(s0===peg$FAILED){s0=peg$parseConfigAllowsOverride()}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1375)}}return s0}function peg$parseLicenseOrLabelOrList(){var s0;if(input.substr(peg$currPos,3)===peg$c1376){s0=peg$c1376;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1377)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1378){s0=peg$c1378;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1379)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1380){s0=peg$c1380;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1381)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1382){s0=peg$c1382;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1383)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1384){s0=peg$c1384;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1385)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c1386){s0=peg$c1386;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1387)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1388){s0=peg$c1388;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1389)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1390){s0=peg$c1390;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1391)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1392){s0=peg$c1392;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1393)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1394){s0=peg$c1394;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1395)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c1396){s0=peg$c1396;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1397)}}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$c1399){s0=peg$c1399;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1400)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1401){s0=peg$c1401;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1402)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1403){s0=peg$c1403;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1404)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1405){s0=peg$c1405;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1406)}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1398)}}return s0}function peg$parseHookDefinition(){var s0;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c1408){s0=peg$c1408;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1409)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1410){s0=peg$c1410;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1411)}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1407)}}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$c1412){s2=peg$c1412;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1413)}}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$c1414(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$c1415){s2=peg$c1415;peg$currPos+=19}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1416)}}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$c1417(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$c1418){s2=peg$c1418;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1419)}}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$c1420(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$c1421){s2=peg$c1421;peg$currPos+=18}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){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$c1423(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$c1424){s2=peg$c1424;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1425)}}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$c1426(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$c1430){s2=peg$c1430;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1431)}}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$c1432(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$c1433){s2=peg$c1433;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1434)}}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$c1435(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$c1436){s2=peg$c1436;peg$currPos+=16}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1437)}}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$c1438(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$c1439){s2=peg$c1439;peg$currPos+=11}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1440)}}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$c1441(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$c1442){s2=peg$c1442;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1443)}}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$c1444(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$c1445){s2=peg$c1445;peg$currPos+=4}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1446)}}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$c1447(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$c1448){s2=peg$c1448;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1449)}}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$c1450(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$c1451){s2=peg$c1451;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1452)}}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$c1453(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$c1454)}}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$c1455){s2=peg$c1455;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1456)}}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$c1457(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$c1458){s2=peg$c1458;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1459)}}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$c1460(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$c1462){s2=peg$c1462;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1463)}}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$c1464(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$c1461)}}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$c1466){s2=peg$c1466;peg$currPos+=16}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1467)}}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$c1468(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$c1465)}}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$c1470){s2=peg$c1470;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1471)}}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$c1472(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$c1469)}}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$c1474){s2=peg$c1474;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1475)}}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$c1476(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$c1473)}}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$c1478){s2=peg$c1478;peg$currPos+=7}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1479)}}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$c1480(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$c1477)}}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$c1482(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$c1483){s2=peg$c1483;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1484)}}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$c1482(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$c1481)}}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$c1486){s2=peg$c1486;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1487)}}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$c1488(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$c1486){s2=peg$c1486;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1487)}}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$c1489){s10=peg$c1489;peg$currPos+=8}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1490)}}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$c1491(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$c1485)}}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$c1330){s2=peg$c1330;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1331)}}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$c1492(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$c1493;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1494)}}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$c1495(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$c1486){s2=peg$c1486;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1487)}}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$c1489){s10=peg$c1489;peg$currPos+=8}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1490)}}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$c1496(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$c1486){s2=peg$c1486;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1487)}}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$c1489){s6=peg$c1489;peg$currPos+=8}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1490)}}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$c1497(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$c1486){s2=peg$c1486;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1487)}}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$c1498(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$c1486){s2=peg$c1486;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1487)}}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$c1499(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$c1500){s1=peg$c1500;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1501)}}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$c1502(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$c1503){s1=peg$c1503;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1504)}}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$c1505(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$c1506){s1=peg$c1506;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1507)}}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$c1508(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$c1509)}}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",rng)=>{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]);function gen_splitmix32(a){if(a===undefined){a=(new Date).getTime()}return function(){a|=0;a=a+2654435769|0;var t=a^a>>>16;t=Math.imul(t,569420461);t=t^t>>>15;t=Math.imul(t,1935289751);return((t=t^t>>>15)>>>0)/4294967296}}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[]}}function sleep(ms){return new Promise((resolve=>setTimeout(resolve,ms)))}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,after_time:isRight?this_se.r_after:this_se.l_after,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","allows_override","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:[],allows_override:[]};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","allows_override"];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 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 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.99.0",build_time=1720312692737;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=[],initial_state:initial_state,start_states_no_enforce:start_states_no_enforce,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,allows_override:allows_override,config_allows_override:config_allows_override,rng_seed:rng_seed,time_source:time_source,timeout_source:timeout_source,clear_timeout_source:clear_timeout_source}){this._time_source=()=>(new Date).getTime();this._create_started=this._time_source();this._instance_name=instance_name;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_after_hooks=false;this._has_global_action_hooks=false;this._has_transition_hooks=true;this._has_forced_transitions=false;this._hooks=new Map;this._named_hooks=new Map;this._entry_hooks=new Map;this._exit_hooks=new Map;this._after_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._code_allows_override=allows_override;this._config_allows_override=config_allows_override;if(allows_override===false&&config_allows_override===true){throw new JssmError(undefined,"Code specifies no override, but config tries to permit; config may not be less strict than code")}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;this._rng_seed=rng_seed!==null&&rng_seed!==void 0?rng_seed:(new Date).getTime();this._rng=gen_splitmix32(this._rng_seed);this._timeout_source=timeout_source!==null&&timeout_source!==void 0?timeout_source:(f,a)=>setTimeout(f,a);this._clear_timeout_source=clear_timeout_source!==null&&clear_timeout_source!==void 0?clear_timeout_source:h=>clearTimeout(h);this._timeout_handle=undefined;this._timeout_target=undefined;this._timeout_target_time=undefined;this._after_mapping=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.forced_only){this._has_forced_transitions=true}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)}}if(tr.after_time){this._after_mapping.set(tr.from,[tr.to,tr.after_time])}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)}))}if(initial_state){if(!this._states.has(initial_state)){throw new JssmError(this,`requested start state ${initial_state} does not exist`)}if(!start_states_no_enforce&&!start_states.includes(initial_state)){throw new JssmError(this,`requested start state ${initial_state} is not in start state list; add {start_states_no_enforce:true} to constructor options if desired`)}this._state=initial_state}else{this._state=start_states[0]}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`)}this._created=this._time_source();this.auto_set_state_timeout();this._arrange_declaration.forEach((arrange_pair=>arrange_pair.forEach((possibleState=>{if(!this._states.has(possibleState)){throw new JssmError(this,`Cannot arrange state that does not exist "${possibleState}"`)}}))))}_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}get uses_forced_transitions(){return this._has_forced_transitions}get code_allows_override(){return this._code_allows_override}get config_allows_override(){return this._config_allows_override}get allows_override(){if(this._code_allows_override===false){if(this._config_allows_override===true){throw new JssmError(this,"Code specifies no override, but config tries to permit; config may not be less strict than code; should be unreachable")}else{return false}}if(this._code_allows_override===true){if(this._config_allows_override===false){return false}else{return true}}if(this._config_allows_override===true){return true}else{return false}}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()){var _a,_b;const guaranteed=(_a=this._states.get(whichState))!==null&&_a!==void 0?_a:{from:undefined};return(_b=guaranteed.from)!==null&&_b!==void 0?_b:[]}list_exits(whichState=this.state()){var _a,_b;const guaranteed=(_a=this._states.get(whichState))!==null&&_a!==void 0?_a:{to:undefined};return(_b=guaranteed.to)!==null&&_b!==void 0?_b:[]}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()),undefined,this._rng);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{if(this.has_state(whichState)){return[]}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"after":this._after_hooks.set(HookDesc.from,HookDesc.handler);this._has_hooks=true;this._has_after_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}hook_after(from,handler){this.set_hook({kind:"after",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}get rng_seed(){return this._rng_seed}set rng_seed(to){if(typeof to==="undefined"){this._rng_seed=(new Date).getTime()}else{this._rng_seed=to}}edges_between(from,to){return this._edges.filter((edge=>edge.from===from&&edge.to===to))}override(newState,newData){if(this.allows_override){if(this._states.has(newState)){this._state=newState;this._data=newData}else{throw new JssmError(this,`Cannot override state to "${newState}", a state that does not exist`)}}else{throw new JssmError(this,"Code specifies no override, but config tries to permit; config may not be less strict than code")}}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,next_data:newData,forced:wasForced,trans_type:trans_type};if(valid){if(this._has_hooks){this.clear_state_timeout();function update_fields(res){if(res.hasOwnProperty("data")){hook_args.data=res.data;hook_args.next_data=res.next_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._has_after_hooks){const ah=this._after_hooks.get(newStateOrAction);const outcome=abstract_hook_step(ah,hook_args);if(outcome.pass===false){return false}const manufactured_context={data:outcome.data,next_data:outcome.next_data};if(ah!==undefined){ah(manufactured_context)}update_fields(outcome)}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(newData!==undefined){this._data=newData}}else{if(this._history_length){this._history.shove([this._state,this._data])}this._state=newState;if(newData!==undefined){this._data=newData}}}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)}}}this.auto_set_state_timeout();return true}auto_set_state_timeout(){const after_res=this._after_mapping.get(this._state);if(after_res!==undefined){const[next_state,after_time]=after_res;this.set_state_timeout(next_state,after_time)}}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}get creation_date(){return new Date(Math.floor(this.creation_timestamp))}get creation_timestamp(){return this._created}get create_start_time(){return this._create_started}set_state_timeout(next_state,after_time){if(this._timeout_handle!==undefined){throw new JssmError(this,`Asked to set a state timeout to ${next_state}:${after_time}, but already timing out to ${this._timeout_target}:${this._timeout_target_time}`)}this._timeout_handle=this._timeout_source((()=>{this.clear_state_timeout();if(this._has_after_hooks){const ah=this._after_hooks.get(this.state());if(ah!==undefined){ah({data:this._data,next_data:this._data})}}this.go(next_state)}),after_time);this._timeout_target=next_state;this._timeout_target_time=after_time}clear_state_timeout(){if(this._timeout_handle===undefined){return}this._clear_timeout_source(this._timeout_handle);this._timeout_handle=undefined;this._timeout_target=undefined;this._timeout_target_time=undefined}state_timeout_for(which_state){return this._after_mapping.get(which_state)}current_state_timeout(){return this._timeout_target!==undefined?[this._timeout_target,this._timeout_target_time]:undefined}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=>{if(key==="allows_override"){to_decorate["config_allows_override"]=ExtraConstructorFields["allows_override"]}else{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.sleep=sleep;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="milliseconds",peg$c1228=peg$literalExpectation("milliseconds",false),peg$c1229=function(){return 1},peg$c1230="millisecond",peg$c1231=peg$literalExpectation("millisecond",false),peg$c1232="msecs",peg$c1233=peg$literalExpectation("msecs",false),peg$c1234="msec",peg$c1235=peg$literalExpectation("msec",false),peg$c1236="ms",peg$c1237=peg$literalExpectation("ms",false),peg$c1238="seconds",peg$c1239=peg$literalExpectation("seconds",false),peg$c1240=function(){return 1e3},peg$c1241="second",peg$c1242=peg$literalExpectation("second",false),peg$c1243="secs",peg$c1244=peg$literalExpectation("secs",false),peg$c1245="sec",peg$c1246=peg$literalExpectation("sec",false),peg$c1247="s",peg$c1248=peg$literalExpectation("s",false),peg$c1249="minutes",peg$c1250=peg$literalExpectation("minutes",false),peg$c1251=function(){return 1e3*60},peg$c1252="minute",peg$c1253=peg$literalExpectation("minute",false),peg$c1254="mins",peg$c1255=peg$literalExpectation("mins",false),peg$c1256="min",peg$c1257=peg$literalExpectation("min",false),peg$c1258="m",peg$c1259=peg$literalExpectation("m",false),peg$c1260="hours",peg$c1261=peg$literalExpectation("hours",false),peg$c1262=function(){return 1e3*60*60},peg$c1263="hour",peg$c1264=peg$literalExpectation("hour",false),peg$c1265="hrs",peg$c1266=peg$literalExpectation("hrs",false),peg$c1267="hr",peg$c1268=peg$literalExpectation("hr",false),peg$c1269="h",peg$c1270=peg$literalExpectation("h",false),peg$c1271="days",peg$c1272=peg$literalExpectation("days",false),peg$c1273=function(){return 1e3*60*60*24},peg$c1274="day",peg$c1275=peg$literalExpectation("day",false),peg$c1276="d",peg$c1277=peg$literalExpectation("d",false),peg$c1278="weeks",peg$c1279=peg$literalExpectation("weeks",false),peg$c1280=function(){return 1e3*60*60*24*7},peg$c1281="week",peg$c1282=peg$literalExpectation("week",false),peg$c1283="wks",peg$c1284=peg$literalExpectation("wks",false),peg$c1285="wk",peg$c1286=peg$literalExpectation("wk",false),peg$c1287="w",peg$c1288=peg$literalExpectation("w",false),peg$c1289="after",peg$c1290=peg$literalExpectation("after",false),peg$c1291=function(value,timescale){return value*(timescale||1e3)},peg$c1292=function(names){return names.map((i=>i[0]))},peg$c1293="+|",peg$c1294=peg$literalExpectation("+|",false),peg$c1295=function(nzd,dd){return{key:"stripe",value:parseInt(`${nzd}${dd}`,10)}},peg$c1296="-|",peg$c1297=peg$literalExpectation("-|",false),peg$c1298=function(nzd,dd){return{key:"stripe",value:-1*parseInt(`${nzd}${dd}`,10)}},peg$c1299="+",peg$c1300=peg$literalExpectation("+",false),peg$c1301=function(nzd,dd){return{key:"cycle",value:parseInt(`${nzd}${dd}`,10)}},peg$c1302="-",peg$c1303=peg$literalExpectation("-",false),peg$c1304=function(nzd,dd){return{key:"cycle",value:-1*parseInt(`${nzd}${dd}`,10)}},peg$c1305="+0",peg$c1306=peg$literalExpectation("+0",false),peg$c1307=function(){return{key:"cycle",value:0}},peg$c1308=function(r_after,r_action,r_prob,l_desc,arrow,r_desc,l_prob,l_action,l_after,label,tail){const base={kind:arrow,to:label};if(l_after){base.l_after=l_after}if(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}if(r_after){base.r_after=r_after}return base},peg$c1309=function(label,se){const base={key:"transition",from:label};if(se){base.se=se}return base},peg$c1310="whargarbl",peg$c1311=peg$literalExpectation("whargarbl",false),peg$c1312="todo",peg$c1313=peg$literalExpectation("todo",false),peg$c1314=function(validationkey,value){return{key:validationkey,value:value}},peg$c1315="validation",peg$c1316=peg$literalExpectation("validation",false),peg$c1317="};",peg$c1318=peg$literalExpectation("};",false),peg$c1319=function(validation_items){return{config_kind:"validation",config_items:validation_items||[]}},peg$c1320="dot",peg$c1321=peg$literalExpectation("dot",false),peg$c1322="circo",peg$c1323=peg$literalExpectation("circo",false),peg$c1324="fdp",peg$c1325=peg$literalExpectation("fdp",false),peg$c1326="neato",peg$c1327=peg$literalExpectation("neato",false),peg$c1328="twopi",peg$c1329=peg$literalExpectation("twopi",false),peg$c1330="state",peg$c1331=peg$literalExpectation("state",false),peg$c1332=function(state_items){return{key:"default_state_config",value:state_items||[]}},peg$c1333="start_state",peg$c1334=peg$literalExpectation("start_state",false),peg$c1335=function(state_items){return{key:"default_start_state_config",value:state_items||[]}},peg$c1336="end_state",peg$c1337=peg$literalExpectation("end_state",false),peg$c1338=function(state_items){return{key:"default_end_state_config",value:state_items||[]}},peg$c1339="active_state",peg$c1340=peg$literalExpectation("active_state",false),peg$c1341=function(state_items){return{key:"default_active_state_config",value:state_items||[]}},peg$c1342="terminal_state",peg$c1343=peg$literalExpectation("terminal_state",false),peg$c1344=function(state_items){return{key:"default_terminal_state_config",value:state_items||[]}},peg$c1345="hooked_state",peg$c1346=peg$literalExpectation("hooked_state",false),peg$c1347=function(state_items){return{key:"default_hooked_state_config",value:state_items||[]}},peg$c1348=function(actionkey,value){return{key:actionkey,value:value}},peg$c1349="action",peg$c1350=peg$literalExpectation("action",false),peg$c1351=function(action_items){return{config_kind:"action",config_items:action_items||[]}},peg$c1352=function(key,value){return{key:key,value:value}},peg$c1353=peg$otherExpectation("graph default edge color"),peg$c1354=function(value){return{key:"graph_default_edge_color",value:value}},peg$c1355="transition",peg$c1356=peg$literalExpectation("transition",false),peg$c1357=function(transition_items){return{config_kind:"transition",config_items:transition_items||[]}},peg$c1358="graph_layout",peg$c1359=peg$literalExpectation("graph_layout",false),peg$c1360=function(value){return{key:"graph_layout",value:value}},peg$c1361="start_states",peg$c1362=peg$literalExpectation("start_states",false),peg$c1363=function(value){return{key:"start_states",value:value}},peg$c1364="end_states",peg$c1365=peg$literalExpectation("end_states",false),peg$c1366=function(value){return{key:"end_states",value:value}},peg$c1367="graph_bg_color",peg$c1368=peg$literalExpectation("graph_bg_color",false),peg$c1369=function(value){return{key:"graph_bg_color",value:value}},peg$c1370="allows_override",peg$c1371=peg$literalExpectation("allows_override",false),peg$c1372=function(value){return{key:"allows_override",value:value}},peg$c1373=function(){return true},peg$c1374=function(){return false},peg$c1375=peg$otherExpectation("configuration"),peg$c1376="MIT",peg$c1377=peg$literalExpectation("MIT",false),peg$c1378="BSD 2-clause",peg$c1379=peg$literalExpectation("BSD 2-clause",false),peg$c1380="BSD 3-clause",peg$c1381=peg$literalExpectation("BSD 3-clause",false),peg$c1382="Apache 2.0",peg$c1383=peg$literalExpectation("Apache 2.0",false),peg$c1384="Mozilla 2.0",peg$c1385=peg$literalExpectation("Mozilla 2.0",false),peg$c1386="Public domain",peg$c1387=peg$literalExpectation("Public domain",false),peg$c1388="GPL v2",peg$c1389=peg$literalExpectation("GPL v2",false),peg$c1390="GPL v3",peg$c1391=peg$literalExpectation("GPL v3",false),peg$c1392="LGPL v2.1",peg$c1393=peg$literalExpectation("LGPL v2.1",false),peg$c1394="LGPL v3.0",peg$c1395=peg$literalExpectation("LGPL v3.0",false),peg$c1396="Unknown",peg$c1397=peg$literalExpectation("Unknown",false),peg$c1398=peg$otherExpectation("direction"),peg$c1399="up",peg$c1400=peg$literalExpectation("up",false),peg$c1401="right",peg$c1402=peg$literalExpectation("right",false),peg$c1403="down",peg$c1404=peg$literalExpectation("down",false),peg$c1405="left",peg$c1406=peg$literalExpectation("left",false),peg$c1407=peg$otherExpectation("hook definition (open/closed)"),peg$c1408="open",peg$c1409=peg$literalExpectation("open",false),peg$c1410="closed",peg$c1411=peg$literalExpectation("closed",false),peg$c1412="machine_author",peg$c1413=peg$literalExpectation("machine_author",false),peg$c1414=function(value){return{key:"machine_author",value:value}},peg$c1415="machine_contributor",peg$c1416=peg$literalExpectation("machine_contributor",false),peg$c1417=function(value){return{key:"machine_contributor",value:value}},peg$c1418="machine_comment",peg$c1419=peg$literalExpectation("machine_comment",false),peg$c1420=function(value){return{key:"machine_comment",value:value}},peg$c1421="machine_definition",peg$c1422=peg$literalExpectation("machine_definition",false),peg$c1423=function(value){return{key:"machine_definition",value:value}},peg$c1424="machine_name",peg$c1425=peg$literalExpectation("machine_name",false),peg$c1426=function(value){return{key:"machine_name",value:value}},peg$c1430="machine_version",peg$c1431=peg$literalExpectation("machine_version",false),peg$c1432=function(value){return{key:"machine_version",value:value}},peg$c1433="machine_license",peg$c1434=peg$literalExpectation("machine_license",false),peg$c1435=function(value){return{key:"machine_license",value:value}},peg$c1436="machine_language",peg$c1437=peg$literalExpectation("machine_language",false),peg$c1438=function(value){return{key:"machine_language",value:value}},peg$c1439="fsl_version",peg$c1440=peg$literalExpectation("fsl_version",false),peg$c1441=function(value){return{key:"fsl_version",value:value}},peg$c1442="theme",peg$c1443=peg$literalExpectation("theme",false),peg$c1444=function(value){return{key:"theme",value:value}},peg$c1445="flow",peg$c1446=peg$literalExpectation("flow",false),peg$c1447=function(value){return{key:"flow",value:value}},peg$c1448="hooks",peg$c1449=peg$literalExpectation("hooks",false),peg$c1450=function(value){return{key:"hook_definition",value:value}},peg$c1451="dot_preamble",peg$c1452=peg$literalExpectation("dot_preamble",false),peg$c1453=function(value){return{key:"dot_preamble",value:value}},peg$c1454=peg$otherExpectation("machine attribute"),peg$c1455="label",peg$c1456=peg$literalExpectation("label",false),peg$c1457=function(value){return{key:"state-label",value:value}},peg$c1458="color",peg$c1459=peg$literalExpectation("color",false),peg$c1460=function(value){return{key:"color",value:value}},peg$c1461=peg$otherExpectation("text color"),peg$c1462="text-color",peg$c1463=peg$literalExpectation("text-color",false),peg$c1464=function(value){return{key:"text-color",value:value}},peg$c1465=peg$otherExpectation("background color"),peg$c1466="background-color",peg$c1467=peg$literalExpectation("background-color",false),peg$c1468=function(value){return{key:"background-color",value:value}},peg$c1469=peg$otherExpectation("border color"),peg$c1470="border-color",peg$c1471=peg$literalExpectation("border-color",false),peg$c1472=function(value){return{key:"border-color",value:value}},peg$c1473=peg$otherExpectation("shape"),peg$c1474="shape",peg$c1475=peg$literalExpectation("shape",false),peg$c1476=function(value){return{key:"shape",value:value}},peg$c1477=peg$otherExpectation("corners"),peg$c1478="corners",peg$c1479=peg$literalExpectation("corners",false),peg$c1480=function(value){return{key:"corners",value:value}},peg$c1481=peg$otherExpectation("linestyle"),peg$c1482=function(value){return{key:"line-style",value:value}},peg$c1483="linestyle",peg$c1484=peg$literalExpectation("linestyle",false),peg$c1485=peg$otherExpectation("state property"),peg$c1486="property",peg$c1487=peg$literalExpectation("property",false),peg$c1488=function(name,value){return{key:"state_property",name:name,value:value}},peg$c1489="required",peg$c1490=peg$literalExpectation("required",false),peg$c1491=function(name,value){return{key:"state_property",name:name,value:value,required:true}},peg$c1492=function(name,value){return{key:"state_declaration",name:name,value:value}},peg$c1493="&",peg$c1494=peg$literalExpectation("&",false),peg$c1495=function(name,value){return{key:"named_list",name:name,value:value}},peg$c1496=function(name,default_value){return{key:"property_definition",name:name,default_value:default_value,required:true}},peg$c1497=function(name){return{key:"property_definition",name:name,required:true}},peg$c1498=function(name,default_value){return{key:"property_definition",name:name,default_value:default_value}},peg$c1499=function(name){return{key:"property_definition",name:name}},peg$c1500="arrange",peg$c1501=peg$literalExpectation("arrange",false),peg$c1502=function(value){return{key:"arrange_declaration",value:value}},peg$c1503="arrange-start",peg$c1504=peg$literalExpectation("arrange-start",false),peg$c1505=function(value){return{key:"arrange_start_declaration",value:value}},peg$c1506="arrange-end",peg$c1507=peg$literalExpectation("arrange-end",false),peg$c1508=function(value){return{key:"arrange_end_declaration",value:value}},peg$c1509=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$parseTimeType(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c1227){s1=peg$c1227;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1228)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1229()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1230){s1=peg$c1230;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1231)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1229()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1232){s1=peg$c1232;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1233)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1229()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1234){s1=peg$c1234;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1235)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1229()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1236){s1=peg$c1236;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1237)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1229()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1238){s1=peg$c1238;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1239)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1240()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1241){s1=peg$c1241;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1242)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1240()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1243){s1=peg$c1243;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1244)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1240()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1245){s1=peg$c1245;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1240()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===115){s1=peg$c1247;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1240()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1249){s1=peg$c1249;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1250)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1251()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1252){s1=peg$c1252;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1251()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1254){s1=peg$c1254;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1255)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1251()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1256){s1=peg$c1256;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1257)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1251()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===109){s1=peg$c1258;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1259)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1251()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1260){s1=peg$c1260;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1261)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1262()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1263){s1=peg$c1263;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1264)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1262()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1265){s1=peg$c1265;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1266)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1262()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1267){s1=peg$c1267;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1268)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1262()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===104){s1=peg$c1269;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1270)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1262()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1271){s1=peg$c1271;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1272)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1273()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1274){s1=peg$c1274;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1275)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1273()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===100){s1=peg$c1276;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1277)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1273()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1278){s1=peg$c1278;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1279)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1280()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1281){s1=peg$c1281;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1282)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1280()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1283){s1=peg$c1283;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1284)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1280()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1285){s1=peg$c1285;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1286)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1280()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===119){s1=peg$c1287;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1288)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1280()}s0=s1}}}}}}}}}}}}}}}}}}}}}}}}}}}return s0}function peg$parseArrowAfter(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1289){s1=peg$c1289;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1290)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2!==peg$FAILED){s3=peg$parseNonNegNumber();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){s5=peg$parseTimeType();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1291(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$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$c1292(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$c1293){s1=peg$c1293;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1294)}}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$c1295(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$c1296){s1=peg$c1296;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1297)}}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$c1298(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$c1299;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1300)}}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$c1301(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$c1302;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1303)}}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$c1304(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$c1305){s1=peg$c1305;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1306)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1307()}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,s19,s20,s21,s22;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseArrowAfter();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$parseActionLabel();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$parseArrowProbability();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$parseArrowDesc();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){s10=peg$parseArrow();if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){s12=peg$parseArrowDesc();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$parseArrowProbability();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$parseActionLabel();if(s16===peg$FAILED){s16=null}if(s16!==peg$FAILED){s17=peg$parseWS();if(s17===peg$FAILED){s17=null}if(s17!==peg$FAILED){s18=peg$parseArrowAfter();if(s18===peg$FAILED){s18=null}if(s18!==peg$FAILED){s19=peg$parseWS();if(s19===peg$FAILED){s19=null}if(s19!==peg$FAILED){s20=peg$parseArrowTarget();if(s20!==peg$FAILED){s21=peg$parseWS();if(s21===peg$FAILED){s21=null}if(s21!==peg$FAILED){s22=peg$parseSubexp();if(s22===peg$FAILED){s22=null}if(s22!==peg$FAILED){peg$savedPos=s0;s1=peg$c1308(s2,s4,s6,s8,s10,s12,s14,s16,s18,s20,s22);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1309(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$c1310){s0=peg$c1310;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1311)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1312){s0=peg$c1312;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1313)}}}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$c1314(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$c1315){s2=peg$c1315;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1316)}}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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1319(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$c1320){s0=peg$c1320;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1321)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1322){s0=peg$c1322;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1323)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c1324){s0=peg$c1324;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1325)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1326){s0=peg$c1326;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1327)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1328){s0=peg$c1328;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1329)}}}}}}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$c1330){s2=peg$c1330;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1331)}}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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1332(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$c1333){s2=peg$c1333;peg$currPos+=11}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1334)}}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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1335(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$c1336){s2=peg$c1336;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1337)}}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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1338(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$c1339){s2=peg$c1339;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1340)}}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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1341(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$c1342){s2=peg$c1342;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1343)}}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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1344(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$c1345){s2=peg$c1345;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1346)}}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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1347(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$c1310){s0=peg$c1310;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1311)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1312){s0=peg$c1312;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1313)}}}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$c1348(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$c1349){s2=peg$c1349;peg$currPos+=6}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){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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1351(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$c1310){s0=peg$c1310;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1311)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1312){s0=peg$c1312;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1313)}}}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$c1352(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$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}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1353)}}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$c1355){s2=peg$c1355;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1356)}}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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1357(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$c1358){s2=peg$c1358;peg$currPos+=12}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$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$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$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$c1361){s2=peg$c1361;peg$currPos+=12}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$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$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$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$c1364){s2=peg$c1364;peg$currPos+=10}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$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$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$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$c1367){s2=peg$c1367;peg$currPos+=14}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$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$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$parseConfigAllowsOverride(){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$c1370){s2=peg$c1370;peg$currPos+=15}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$parseOverrideT();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$parseOverrideT(){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$c1373()}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$c1374()}s0=s1;if(s0===peg$FAILED){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$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();if(s0===peg$FAILED){s0=peg$parseConfigAllowsOverride()}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1375)}}return s0}function peg$parseLicenseOrLabelOrList(){var s0;if(input.substr(peg$currPos,3)===peg$c1376){s0=peg$c1376;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1377)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1378){s0=peg$c1378;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1379)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1380){s0=peg$c1380;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1381)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1382){s0=peg$c1382;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1383)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1384){s0=peg$c1384;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1385)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c1386){s0=peg$c1386;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1387)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1388){s0=peg$c1388;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1389)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1390){s0=peg$c1390;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1391)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1392){s0=peg$c1392;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1393)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1394){s0=peg$c1394;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1395)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c1396){s0=peg$c1396;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1397)}}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$c1399){s0=peg$c1399;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1400)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1401){s0=peg$c1401;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1402)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1403){s0=peg$c1403;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1404)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1405){s0=peg$c1405;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1406)}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1398)}}return s0}function peg$parseHookDefinition(){var s0;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c1408){s0=peg$c1408;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1409)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1410){s0=peg$c1410;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1411)}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1407)}}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$c1412){s2=peg$c1412;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1413)}}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$c1414(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$c1415){s2=peg$c1415;peg$currPos+=19}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1416)}}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$c1417(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$c1418){s2=peg$c1418;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1419)}}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$c1420(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$c1421){s2=peg$c1421;peg$currPos+=18}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){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$c1423(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$c1424){s2=peg$c1424;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1425)}}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$c1426(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$c1430){s2=peg$c1430;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1431)}}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$c1432(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$c1433){s2=peg$c1433;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1434)}}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$c1435(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$c1436){s2=peg$c1436;peg$currPos+=16}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1437)}}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$c1438(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$c1439){s2=peg$c1439;peg$currPos+=11}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1440)}}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$c1441(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$c1442){s2=peg$c1442;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1443)}}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$c1444(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$c1445){s2=peg$c1445;peg$currPos+=4}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1446)}}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$c1447(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$c1448){s2=peg$c1448;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1449)}}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$c1450(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$c1451){s2=peg$c1451;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1452)}}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$c1453(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$c1454)}}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$c1455){s2=peg$c1455;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1456)}}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$c1457(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$c1458){s2=peg$c1458;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1459)}}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$c1460(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$c1462){s2=peg$c1462;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1463)}}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$c1464(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$c1461)}}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$c1466){s2=peg$c1466;peg$currPos+=16}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1467)}}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$c1468(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$c1465)}}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$c1470){s2=peg$c1470;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1471)}}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$c1472(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$c1469)}}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$c1474){s2=peg$c1474;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1475)}}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$c1476(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$c1473)}}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$c1478){s2=peg$c1478;peg$currPos+=7}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1479)}}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$c1480(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$c1477)}}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$c1482(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$c1483){s2=peg$c1483;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1484)}}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$c1482(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$c1481)}}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$c1486){s2=peg$c1486;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1487)}}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$c1488(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$c1486){s2=peg$c1486;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1487)}}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$c1489){s10=peg$c1489;peg$currPos+=8}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1490)}}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$c1491(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$c1485)}}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$c1330){s2=peg$c1330;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1331)}}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$c1492(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$c1493;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1494)}}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$c1495(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$c1486){s2=peg$c1486;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1487)}}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$c1489){s10=peg$c1489;peg$currPos+=8}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1490)}}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$c1496(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$c1486){s2=peg$c1486;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1487)}}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$c1489){s6=peg$c1489;peg$currPos+=8}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1490)}}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$c1497(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$c1486){s2=peg$c1486;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1487)}}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$c1498(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$c1486){s2=peg$c1486;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1487)}}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$c1499(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$c1500){s1=peg$c1500;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1501)}}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$c1502(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$c1503){s1=peg$c1503;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1504)}}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$c1505(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$c1506){s1=peg$c1506;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1507)}}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$c1508(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$c1509)}}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",rng)=>{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]);function gen_splitmix32(a){if(a===undefined){a=(new Date).getTime()}return function(){a|=0;a=a+2654435769|0;var t=a^a>>>16;t=Math.imul(t,569420461);t=t^t>>>15;t=Math.imul(t,1935289751);return((t=t^t>>>15)>>>0)/4294967296}}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[]}}function sleep(ms){return new Promise((resolve=>setTimeout(resolve,ms)))}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,after_time:isRight?this_se.r_after:this_se.l_after,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","allows_override","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:[],allows_override:[]};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","allows_override"];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 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 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.99.0",build_time=1720314479976;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=[],initial_state:initial_state,start_states_no_enforce:start_states_no_enforce,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,allows_override:allows_override,config_allows_override:config_allows_override,rng_seed:rng_seed,time_source:time_source,timeout_source:timeout_source,clear_timeout_source:clear_timeout_source}){this._time_source=()=>(new Date).getTime();this._create_started=this._time_source();this._instance_name=instance_name;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_after_hooks=false;this._has_global_action_hooks=false;this._has_transition_hooks=true;this._has_forced_transitions=false;this._hooks=new Map;this._named_hooks=new Map;this._entry_hooks=new Map;this._exit_hooks=new Map;this._after_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._code_allows_override=allows_override;this._config_allows_override=config_allows_override;if(allows_override===false&&config_allows_override===true){throw new JssmError(undefined,"Code specifies no override, but config tries to permit; config may not be less strict than code")}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;this._rng_seed=rng_seed!==null&&rng_seed!==void 0?rng_seed:(new Date).getTime();this._rng=gen_splitmix32(this._rng_seed);this._timeout_source=timeout_source!==null&&timeout_source!==void 0?timeout_source:(f,a)=>setTimeout(f,a);this._clear_timeout_source=clear_timeout_source!==null&&clear_timeout_source!==void 0?clear_timeout_source:h=>clearTimeout(h);this._timeout_handle=undefined;this._timeout_target=undefined;this._timeout_target_time=undefined;this._after_mapping=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.forced_only){this._has_forced_transitions=true}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)}}if(tr.after_time){this._after_mapping.set(tr.from,[tr.to,tr.after_time])}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)}))}if(initial_state){if(!this._states.has(initial_state)){throw new JssmError(this,`requested start state ${initial_state} does not exist`)}if(!start_states_no_enforce&&!start_states.includes(initial_state)){throw new JssmError(this,`requested start state ${initial_state} is not in start state list; add {start_states_no_enforce:true} to constructor options if desired`)}this._state=initial_state}else{this._state=start_states[0]}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`)}this._created=this._time_source();this.auto_set_state_timeout();this._arrange_declaration.forEach((arrange_pair=>arrange_pair.forEach((possibleState=>{if(!this._states.has(possibleState)){throw new JssmError(this,`Cannot arrange state that does not exist "${possibleState}"`)}}))))}_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}get uses_forced_transitions(){return this._has_forced_transitions}get code_allows_override(){return this._code_allows_override}get config_allows_override(){return this._config_allows_override}get allows_override(){if(this._code_allows_override===false){if(this._config_allows_override===true){throw new JssmError(this,"Code specifies no override, but config tries to permit; config may not be less strict than code; should be unreachable")}else{return false}}if(this._code_allows_override===true){if(this._config_allows_override===false){return false}else{return true}}if(this._config_allows_override===true){return true}else{return false}}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()){var _a,_b;const guaranteed=(_a=this._states.get(whichState))!==null&&_a!==void 0?_a:{from:undefined};return(_b=guaranteed.from)!==null&&_b!==void 0?_b:[]}list_exits(whichState=this.state()){var _a,_b;const guaranteed=(_a=this._states.get(whichState))!==null&&_a!==void 0?_a:{to:undefined};return(_b=guaranteed.to)!==null&&_b!==void 0?_b:[]}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()),undefined,this._rng);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{if(this.has_state(whichState)){return[]}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"after":this._after_hooks.set(HookDesc.from,HookDesc.handler);this._has_hooks=true;this._has_after_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}hook_after(from,handler){this.set_hook({kind:"after",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}get rng_seed(){return this._rng_seed}set rng_seed(to){if(typeof to==="undefined"){this._rng_seed=(new Date).getTime()}else{this._rng_seed=to}}edges_between(from,to){return this._edges.filter((edge=>edge.from===from&&edge.to===to))}override(newState,newData){if(this.allows_override){if(this._states.has(newState)){this._state=newState;this._data=newData}else{throw new JssmError(this,`Cannot override state to "${newState}", a state that does not exist`)}}else{throw new JssmError(this,"Code specifies no override, but config tries to permit; config may not be less strict than code")}}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,next_data:newData,forced:wasForced,trans_type:trans_type};if(valid){if(this._has_hooks){this.clear_state_timeout();function update_fields(res){if(res.hasOwnProperty("data")){hook_args.data=res.data;hook_args.next_data=res.next_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._has_after_hooks){const ah=this._after_hooks.get(newStateOrAction);const outcome=abstract_hook_step(ah,hook_args);if(ah!==undefined){ah({data:outcome.data,next_data:outcome.next_data})}update_fields(outcome)}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(newData!==undefined){this._data=newData}}else{if(this._history_length){this._history.shove([this._state,this._data])}this._state=newState;if(newData!==undefined){this._data=newData}}}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)}}}this.auto_set_state_timeout();return true}auto_set_state_timeout(){const after_res=this._after_mapping.get(this._state);if(after_res!==undefined){const[next_state,after_time]=after_res;this.set_state_timeout(next_state,after_time)}}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}get creation_date(){return new Date(Math.floor(this.creation_timestamp))}get creation_timestamp(){return this._created}get create_start_time(){return this._create_started}set_state_timeout(next_state,after_time){if(this._timeout_handle!==undefined){throw new JssmError(this,`Asked to set a state timeout to ${next_state}:${after_time}, but already timing out to ${this._timeout_target}:${this._timeout_target_time}`)}this._timeout_handle=this._timeout_source((()=>{this.clear_state_timeout();if(this._has_after_hooks){const ah=this._after_hooks.get(this.state());if(ah!==undefined){ah({data:this._data,next_data:this._data})}}this.go(next_state)}),after_time);this._timeout_target=next_state;this._timeout_target_time=after_time}clear_state_timeout(){if(this._timeout_handle===undefined){return}this._clear_timeout_source(this._timeout_handle);this._timeout_handle=undefined;this._timeout_target=undefined;this._timeout_target_time=undefined}state_timeout_for(which_state){return this._after_mapping.get(which_state)}current_state_timeout(){return this._timeout_target!==undefined?[this._timeout_target,this._timeout_target_time]:undefined}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=>{if(key==="allows_override"){to_decorate["config_allows_override"]=ExtraConstructorFields["allows_override"]}else{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.sleep=sleep;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.cjs b/dist/jssm.es5.iife.nonmin.cjs index d1cdcbb0..1b862c78 100644 --- a/dist/jssm.es5.iife.nonmin.cjs +++ b/dist/jssm.es5.iife.nonmin.cjs @@ -20669,7 +20669,7 @@ var jssm = (function (exports) { named_colors: named_colors$1 }); - const version = "5.99.0", build_time = 1720312692737; + const version = "5.99.0", build_time = 1720314479976; // whargarbl lots of these return arrays could/should be sets const { shapes, gviz_shapes, named_colors } = constants; @@ -22248,12 +22248,13 @@ var jssm = (function (exports) { if (this._has_after_hooks) { const ah = this._after_hooks.get(newStateOrAction); const outcome = abstract_hook_step(ah, hook_args); - if (outcome.pass === false) { - return false; - } - const manufactured_context = { data: outcome.data, next_data: outcome.next_data }; + // there's no such thing as after not passing, so, omit the result pass check + /* istanbul can't trace this through the timer */ + /* istanbul ignore next */ if (ah !== undefined) { - ah(manufactured_context); + /* istanbul can't trace this through the timer */ + /* istanbul ignore next */ + ah({ data: outcome.data, next_data: outcome.next_data }); } update_fields(outcome); } diff --git a/dist/jssm.es5.nonmin.cjs b/dist/jssm.es5.nonmin.cjs index 47d12ea5..6485442f 100644 --- a/dist/jssm.es5.nonmin.cjs +++ b/dist/jssm.es5.nonmin.cjs @@ -20670,7 +20670,7 @@ var constants = /*#__PURE__*/Object.freeze({ named_colors: named_colors$1 }); -const version = "5.99.0", build_time = 1720312692737; +const version = "5.99.0", build_time = 1720314479976; // whargarbl lots of these return arrays could/should be sets const { shapes, gviz_shapes, named_colors } = constants; @@ -22249,12 +22249,13 @@ class Machine { if (this._has_after_hooks) { const ah = this._after_hooks.get(newStateOrAction); const outcome = abstract_hook_step(ah, hook_args); - if (outcome.pass === false) { - return false; - } - const manufactured_context = { data: outcome.data, next_data: outcome.next_data }; + // there's no such thing as after not passing, so, omit the result pass check + /* istanbul can't trace this through the timer */ + /* istanbul ignore next */ if (ah !== undefined) { - ah(manufactured_context); + /* istanbul can't trace this through the timer */ + /* istanbul ignore next */ + ah({ data: outcome.data, next_data: outcome.next_data }); } update_fields(outcome); } diff --git a/dist/jssm.es6.mjs b/dist/jssm.es6.mjs index b6ba1bca..b149eea0 100644 --- a/dist/jssm.es6.mjs +++ b/dist/jssm.es6.mjs @@ -1 +1 @@ -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="milliseconds",peg$c1228=peg$literalExpectation("milliseconds",false),peg$c1229=function(){return 1},peg$c1230="millisecond",peg$c1231=peg$literalExpectation("millisecond",false),peg$c1232="msecs",peg$c1233=peg$literalExpectation("msecs",false),peg$c1234="msec",peg$c1235=peg$literalExpectation("msec",false),peg$c1236="ms",peg$c1237=peg$literalExpectation("ms",false),peg$c1238="seconds",peg$c1239=peg$literalExpectation("seconds",false),peg$c1240=function(){return 1e3},peg$c1241="second",peg$c1242=peg$literalExpectation("second",false),peg$c1243="secs",peg$c1244=peg$literalExpectation("secs",false),peg$c1245="sec",peg$c1246=peg$literalExpectation("sec",false),peg$c1247="s",peg$c1248=peg$literalExpectation("s",false),peg$c1249="minutes",peg$c1250=peg$literalExpectation("minutes",false),peg$c1251=function(){return 1e3*60},peg$c1252="minute",peg$c1253=peg$literalExpectation("minute",false),peg$c1254="mins",peg$c1255=peg$literalExpectation("mins",false),peg$c1256="min",peg$c1257=peg$literalExpectation("min",false),peg$c1258="m",peg$c1259=peg$literalExpectation("m",false),peg$c1260="hours",peg$c1261=peg$literalExpectation("hours",false),peg$c1262=function(){return 1e3*60*60},peg$c1263="hour",peg$c1264=peg$literalExpectation("hour",false),peg$c1265="hrs",peg$c1266=peg$literalExpectation("hrs",false),peg$c1267="hr",peg$c1268=peg$literalExpectation("hr",false),peg$c1269="h",peg$c1270=peg$literalExpectation("h",false),peg$c1271="days",peg$c1272=peg$literalExpectation("days",false),peg$c1273=function(){return 1e3*60*60*24},peg$c1274="day",peg$c1275=peg$literalExpectation("day",false),peg$c1276="d",peg$c1277=peg$literalExpectation("d",false),peg$c1278="weeks",peg$c1279=peg$literalExpectation("weeks",false),peg$c1280=function(){return 1e3*60*60*24*7},peg$c1281="week",peg$c1282=peg$literalExpectation("week",false),peg$c1283="wks",peg$c1284=peg$literalExpectation("wks",false),peg$c1285="wk",peg$c1286=peg$literalExpectation("wk",false),peg$c1287="w",peg$c1288=peg$literalExpectation("w",false),peg$c1289="after",peg$c1290=peg$literalExpectation("after",false),peg$c1291=function(value,timescale){return value*(timescale||1e3)},peg$c1292=function(names){return names.map((i=>i[0]))},peg$c1293="+|",peg$c1294=peg$literalExpectation("+|",false),peg$c1295=function(nzd,dd){return{key:"stripe",value:parseInt(`${nzd}${dd}`,10)}},peg$c1296="-|",peg$c1297=peg$literalExpectation("-|",false),peg$c1298=function(nzd,dd){return{key:"stripe",value:-1*parseInt(`${nzd}${dd}`,10)}},peg$c1299="+",peg$c1300=peg$literalExpectation("+",false),peg$c1301=function(nzd,dd){return{key:"cycle",value:parseInt(`${nzd}${dd}`,10)}},peg$c1302="-",peg$c1303=peg$literalExpectation("-",false),peg$c1304=function(nzd,dd){return{key:"cycle",value:-1*parseInt(`${nzd}${dd}`,10)}},peg$c1305="+0",peg$c1306=peg$literalExpectation("+0",false),peg$c1307=function(){return{key:"cycle",value:0}},peg$c1308=function(r_after,r_action,r_prob,l_desc,arrow,r_desc,l_prob,l_action,l_after,label,tail){const base={kind:arrow,to:label};if(l_after){base.l_after=l_after}if(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}if(r_after){base.r_after=r_after}return base},peg$c1309=function(label,se){const base={key:"transition",from:label};if(se){base.se=se}return base},peg$c1310="whargarbl",peg$c1311=peg$literalExpectation("whargarbl",false),peg$c1312="todo",peg$c1313=peg$literalExpectation("todo",false),peg$c1314=function(validationkey,value){return{key:validationkey,value:value}},peg$c1315="validation",peg$c1316=peg$literalExpectation("validation",false),peg$c1317="};",peg$c1318=peg$literalExpectation("};",false),peg$c1319=function(validation_items){return{config_kind:"validation",config_items:validation_items||[]}},peg$c1320="dot",peg$c1321=peg$literalExpectation("dot",false),peg$c1322="circo",peg$c1323=peg$literalExpectation("circo",false),peg$c1324="fdp",peg$c1325=peg$literalExpectation("fdp",false),peg$c1326="neato",peg$c1327=peg$literalExpectation("neato",false),peg$c1328="twopi",peg$c1329=peg$literalExpectation("twopi",false),peg$c1330="state",peg$c1331=peg$literalExpectation("state",false),peg$c1332=function(state_items){return{key:"default_state_config",value:state_items||[]}},peg$c1333="start_state",peg$c1334=peg$literalExpectation("start_state",false),peg$c1335=function(state_items){return{key:"default_start_state_config",value:state_items||[]}},peg$c1336="end_state",peg$c1337=peg$literalExpectation("end_state",false),peg$c1338=function(state_items){return{key:"default_end_state_config",value:state_items||[]}},peg$c1339="active_state",peg$c1340=peg$literalExpectation("active_state",false),peg$c1341=function(state_items){return{key:"default_active_state_config",value:state_items||[]}},peg$c1342="terminal_state",peg$c1343=peg$literalExpectation("terminal_state",false),peg$c1344=function(state_items){return{key:"default_terminal_state_config",value:state_items||[]}},peg$c1345="hooked_state",peg$c1346=peg$literalExpectation("hooked_state",false),peg$c1347=function(state_items){return{key:"default_hooked_state_config",value:state_items||[]}},peg$c1348=function(actionkey,value){return{key:actionkey,value:value}},peg$c1349="action",peg$c1350=peg$literalExpectation("action",false),peg$c1351=function(action_items){return{config_kind:"action",config_items:action_items||[]}},peg$c1352=function(key,value){return{key:key,value:value}},peg$c1353=peg$otherExpectation("graph default edge color"),peg$c1354=function(value){return{key:"graph_default_edge_color",value:value}},peg$c1355="transition",peg$c1356=peg$literalExpectation("transition",false),peg$c1357=function(transition_items){return{config_kind:"transition",config_items:transition_items||[]}},peg$c1358="graph_layout",peg$c1359=peg$literalExpectation("graph_layout",false),peg$c1360=function(value){return{key:"graph_layout",value:value}},peg$c1361="start_states",peg$c1362=peg$literalExpectation("start_states",false),peg$c1363=function(value){return{key:"start_states",value:value}},peg$c1364="end_states",peg$c1365=peg$literalExpectation("end_states",false),peg$c1366=function(value){return{key:"end_states",value:value}},peg$c1367="graph_bg_color",peg$c1368=peg$literalExpectation("graph_bg_color",false),peg$c1369=function(value){return{key:"graph_bg_color",value:value}},peg$c1370="allows_override",peg$c1371=peg$literalExpectation("allows_override",false),peg$c1372=function(value){return{key:"allows_override",value:value}},peg$c1373=function(){return true},peg$c1374=function(){return false},peg$c1375=peg$otherExpectation("configuration"),peg$c1376="MIT",peg$c1377=peg$literalExpectation("MIT",false),peg$c1378="BSD 2-clause",peg$c1379=peg$literalExpectation("BSD 2-clause",false),peg$c1380="BSD 3-clause",peg$c1381=peg$literalExpectation("BSD 3-clause",false),peg$c1382="Apache 2.0",peg$c1383=peg$literalExpectation("Apache 2.0",false),peg$c1384="Mozilla 2.0",peg$c1385=peg$literalExpectation("Mozilla 2.0",false),peg$c1386="Public domain",peg$c1387=peg$literalExpectation("Public domain",false),peg$c1388="GPL v2",peg$c1389=peg$literalExpectation("GPL v2",false),peg$c1390="GPL v3",peg$c1391=peg$literalExpectation("GPL v3",false),peg$c1392="LGPL v2.1",peg$c1393=peg$literalExpectation("LGPL v2.1",false),peg$c1394="LGPL v3.0",peg$c1395=peg$literalExpectation("LGPL v3.0",false),peg$c1396="Unknown",peg$c1397=peg$literalExpectation("Unknown",false),peg$c1398=peg$otherExpectation("direction"),peg$c1399="up",peg$c1400=peg$literalExpectation("up",false),peg$c1401="right",peg$c1402=peg$literalExpectation("right",false),peg$c1403="down",peg$c1404=peg$literalExpectation("down",false),peg$c1405="left",peg$c1406=peg$literalExpectation("left",false),peg$c1407=peg$otherExpectation("hook definition (open/closed)"),peg$c1408="open",peg$c1409=peg$literalExpectation("open",false),peg$c1410="closed",peg$c1411=peg$literalExpectation("closed",false),peg$c1412="machine_author",peg$c1413=peg$literalExpectation("machine_author",false),peg$c1414=function(value){return{key:"machine_author",value:value}},peg$c1415="machine_contributor",peg$c1416=peg$literalExpectation("machine_contributor",false),peg$c1417=function(value){return{key:"machine_contributor",value:value}},peg$c1418="machine_comment",peg$c1419=peg$literalExpectation("machine_comment",false),peg$c1420=function(value){return{key:"machine_comment",value:value}},peg$c1421="machine_definition",peg$c1422=peg$literalExpectation("machine_definition",false),peg$c1423=function(value){return{key:"machine_definition",value:value}},peg$c1424="machine_name",peg$c1425=peg$literalExpectation("machine_name",false),peg$c1426=function(value){return{key:"machine_name",value:value}},peg$c1430="machine_version",peg$c1431=peg$literalExpectation("machine_version",false),peg$c1432=function(value){return{key:"machine_version",value:value}},peg$c1433="machine_license",peg$c1434=peg$literalExpectation("machine_license",false),peg$c1435=function(value){return{key:"machine_license",value:value}},peg$c1436="machine_language",peg$c1437=peg$literalExpectation("machine_language",false),peg$c1438=function(value){return{key:"machine_language",value:value}},peg$c1439="fsl_version",peg$c1440=peg$literalExpectation("fsl_version",false),peg$c1441=function(value){return{key:"fsl_version",value:value}},peg$c1442="theme",peg$c1443=peg$literalExpectation("theme",false),peg$c1444=function(value){return{key:"theme",value:value}},peg$c1445="flow",peg$c1446=peg$literalExpectation("flow",false),peg$c1447=function(value){return{key:"flow",value:value}},peg$c1448="hooks",peg$c1449=peg$literalExpectation("hooks",false),peg$c1450=function(value){return{key:"hook_definition",value:value}},peg$c1451="dot_preamble",peg$c1452=peg$literalExpectation("dot_preamble",false),peg$c1453=function(value){return{key:"dot_preamble",value:value}},peg$c1454=peg$otherExpectation("machine attribute"),peg$c1455="label",peg$c1456=peg$literalExpectation("label",false),peg$c1457=function(value){return{key:"state-label",value:value}},peg$c1458="color",peg$c1459=peg$literalExpectation("color",false),peg$c1460=function(value){return{key:"color",value:value}},peg$c1461=peg$otherExpectation("text color"),peg$c1462="text-color",peg$c1463=peg$literalExpectation("text-color",false),peg$c1464=function(value){return{key:"text-color",value:value}},peg$c1465=peg$otherExpectation("background color"),peg$c1466="background-color",peg$c1467=peg$literalExpectation("background-color",false),peg$c1468=function(value){return{key:"background-color",value:value}},peg$c1469=peg$otherExpectation("border color"),peg$c1470="border-color",peg$c1471=peg$literalExpectation("border-color",false),peg$c1472=function(value){return{key:"border-color",value:value}},peg$c1473=peg$otherExpectation("shape"),peg$c1474="shape",peg$c1475=peg$literalExpectation("shape",false),peg$c1476=function(value){return{key:"shape",value:value}},peg$c1477=peg$otherExpectation("corners"),peg$c1478="corners",peg$c1479=peg$literalExpectation("corners",false),peg$c1480=function(value){return{key:"corners",value:value}},peg$c1481=peg$otherExpectation("linestyle"),peg$c1482=function(value){return{key:"line-style",value:value}},peg$c1483="linestyle",peg$c1484=peg$literalExpectation("linestyle",false),peg$c1485=peg$otherExpectation("state property"),peg$c1486="property",peg$c1487=peg$literalExpectation("property",false),peg$c1488=function(name,value){return{key:"state_property",name:name,value:value}},peg$c1489="required",peg$c1490=peg$literalExpectation("required",false),peg$c1491=function(name,value){return{key:"state_property",name:name,value:value,required:true}},peg$c1492=function(name,value){return{key:"state_declaration",name:name,value:value}},peg$c1493="&",peg$c1494=peg$literalExpectation("&",false),peg$c1495=function(name,value){return{key:"named_list",name:name,value:value}},peg$c1496=function(name,default_value){return{key:"property_definition",name:name,default_value:default_value,required:true}},peg$c1497=function(name){return{key:"property_definition",name:name,required:true}},peg$c1498=function(name,default_value){return{key:"property_definition",name:name,default_value:default_value}},peg$c1499=function(name){return{key:"property_definition",name:name}},peg$c1500="arrange",peg$c1501=peg$literalExpectation("arrange",false),peg$c1502=function(value){return{key:"arrange_declaration",value:value}},peg$c1503="arrange-start",peg$c1504=peg$literalExpectation("arrange-start",false),peg$c1505=function(value){return{key:"arrange_start_declaration",value:value}},peg$c1506="arrange-end",peg$c1507=peg$literalExpectation("arrange-end",false),peg$c1508=function(value){return{key:"arrange_end_declaration",value:value}},peg$c1509=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$parseTimeType(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c1227){s1=peg$c1227;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1228)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1229()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1230){s1=peg$c1230;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1231)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1229()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1232){s1=peg$c1232;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1233)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1229()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1234){s1=peg$c1234;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1235)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1229()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1236){s1=peg$c1236;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1237)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1229()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1238){s1=peg$c1238;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1239)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1240()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1241){s1=peg$c1241;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1242)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1240()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1243){s1=peg$c1243;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1244)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1240()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1245){s1=peg$c1245;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1240()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===115){s1=peg$c1247;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1240()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1249){s1=peg$c1249;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1250)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1251()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1252){s1=peg$c1252;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1251()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1254){s1=peg$c1254;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1255)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1251()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1256){s1=peg$c1256;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1257)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1251()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===109){s1=peg$c1258;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1259)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1251()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1260){s1=peg$c1260;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1261)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1262()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1263){s1=peg$c1263;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1264)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1262()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1265){s1=peg$c1265;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1266)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1262()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1267){s1=peg$c1267;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1268)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1262()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===104){s1=peg$c1269;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1270)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1262()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1271){s1=peg$c1271;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1272)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1273()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1274){s1=peg$c1274;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1275)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1273()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===100){s1=peg$c1276;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1277)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1273()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1278){s1=peg$c1278;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1279)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1280()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1281){s1=peg$c1281;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1282)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1280()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1283){s1=peg$c1283;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1284)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1280()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1285){s1=peg$c1285;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1286)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1280()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===119){s1=peg$c1287;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1288)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1280()}s0=s1}}}}}}}}}}}}}}}}}}}}}}}}}}}return s0}function peg$parseArrowAfter(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1289){s1=peg$c1289;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1290)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2!==peg$FAILED){s3=peg$parseNonNegNumber();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){s5=peg$parseTimeType();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1291(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$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$c1292(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$c1293){s1=peg$c1293;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1294)}}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$c1295(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$c1296){s1=peg$c1296;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1297)}}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$c1298(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$c1299;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1300)}}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$c1301(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$c1302;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1303)}}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$c1304(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$c1305){s1=peg$c1305;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1306)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1307()}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,s19,s20,s21,s22;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseArrowAfter();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$parseActionLabel();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$parseArrowProbability();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$parseArrowDesc();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){s10=peg$parseArrow();if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){s12=peg$parseArrowDesc();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$parseArrowProbability();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$parseActionLabel();if(s16===peg$FAILED){s16=null}if(s16!==peg$FAILED){s17=peg$parseWS();if(s17===peg$FAILED){s17=null}if(s17!==peg$FAILED){s18=peg$parseArrowAfter();if(s18===peg$FAILED){s18=null}if(s18!==peg$FAILED){s19=peg$parseWS();if(s19===peg$FAILED){s19=null}if(s19!==peg$FAILED){s20=peg$parseArrowTarget();if(s20!==peg$FAILED){s21=peg$parseWS();if(s21===peg$FAILED){s21=null}if(s21!==peg$FAILED){s22=peg$parseSubexp();if(s22===peg$FAILED){s22=null}if(s22!==peg$FAILED){peg$savedPos=s0;s1=peg$c1308(s2,s4,s6,s8,s10,s12,s14,s16,s18,s20,s22);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1309(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$c1310){s0=peg$c1310;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1311)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1312){s0=peg$c1312;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1313)}}}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$c1314(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$c1315){s2=peg$c1315;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1316)}}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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1319(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$c1320){s0=peg$c1320;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1321)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1322){s0=peg$c1322;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1323)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c1324){s0=peg$c1324;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1325)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1326){s0=peg$c1326;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1327)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1328){s0=peg$c1328;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1329)}}}}}}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$c1330){s2=peg$c1330;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1331)}}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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1332(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$c1333){s2=peg$c1333;peg$currPos+=11}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1334)}}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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1335(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$c1336){s2=peg$c1336;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1337)}}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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1338(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$c1339){s2=peg$c1339;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1340)}}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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1341(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$c1342){s2=peg$c1342;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1343)}}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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1344(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$c1345){s2=peg$c1345;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1346)}}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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1347(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$c1310){s0=peg$c1310;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1311)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1312){s0=peg$c1312;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1313)}}}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$c1348(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$c1349){s2=peg$c1349;peg$currPos+=6}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){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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1351(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$c1310){s0=peg$c1310;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1311)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1312){s0=peg$c1312;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1313)}}}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$c1352(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$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}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1353)}}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$c1355){s2=peg$c1355;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1356)}}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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1357(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$c1358){s2=peg$c1358;peg$currPos+=12}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$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$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$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$c1361){s2=peg$c1361;peg$currPos+=12}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$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$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$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$c1364){s2=peg$c1364;peg$currPos+=10}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$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$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$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$c1367){s2=peg$c1367;peg$currPos+=14}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$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$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$parseConfigAllowsOverride(){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$c1370){s2=peg$c1370;peg$currPos+=15}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$parseOverrideT();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$parseOverrideT(){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$c1373()}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$c1374()}s0=s1;if(s0===peg$FAILED){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$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();if(s0===peg$FAILED){s0=peg$parseConfigAllowsOverride()}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1375)}}return s0}function peg$parseLicenseOrLabelOrList(){var s0;if(input.substr(peg$currPos,3)===peg$c1376){s0=peg$c1376;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1377)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1378){s0=peg$c1378;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1379)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1380){s0=peg$c1380;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1381)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1382){s0=peg$c1382;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1383)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1384){s0=peg$c1384;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1385)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c1386){s0=peg$c1386;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1387)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1388){s0=peg$c1388;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1389)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1390){s0=peg$c1390;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1391)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1392){s0=peg$c1392;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1393)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1394){s0=peg$c1394;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1395)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c1396){s0=peg$c1396;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1397)}}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$c1399){s0=peg$c1399;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1400)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1401){s0=peg$c1401;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1402)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1403){s0=peg$c1403;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1404)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1405){s0=peg$c1405;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1406)}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1398)}}return s0}function peg$parseHookDefinition(){var s0;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c1408){s0=peg$c1408;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1409)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1410){s0=peg$c1410;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1411)}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1407)}}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$c1412){s2=peg$c1412;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1413)}}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$c1414(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$c1415){s2=peg$c1415;peg$currPos+=19}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1416)}}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$c1417(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$c1418){s2=peg$c1418;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1419)}}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$c1420(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$c1421){s2=peg$c1421;peg$currPos+=18}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){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$c1423(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$c1424){s2=peg$c1424;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1425)}}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$c1426(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$c1430){s2=peg$c1430;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1431)}}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$c1432(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$c1433){s2=peg$c1433;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1434)}}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$c1435(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$c1436){s2=peg$c1436;peg$currPos+=16}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1437)}}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$c1438(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$c1439){s2=peg$c1439;peg$currPos+=11}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1440)}}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$c1441(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$c1442){s2=peg$c1442;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1443)}}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$c1444(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$c1445){s2=peg$c1445;peg$currPos+=4}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1446)}}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$c1447(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$c1448){s2=peg$c1448;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1449)}}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$c1450(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$c1451){s2=peg$c1451;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1452)}}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$c1453(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$c1454)}}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$c1455){s2=peg$c1455;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1456)}}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$c1457(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$c1458){s2=peg$c1458;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1459)}}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$c1460(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$c1462){s2=peg$c1462;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1463)}}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$c1464(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$c1461)}}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$c1466){s2=peg$c1466;peg$currPos+=16}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1467)}}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$c1468(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$c1465)}}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$c1470){s2=peg$c1470;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1471)}}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$c1472(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$c1469)}}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$c1474){s2=peg$c1474;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1475)}}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$c1476(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$c1473)}}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$c1478){s2=peg$c1478;peg$currPos+=7}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1479)}}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$c1480(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$c1477)}}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$c1482(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$c1483){s2=peg$c1483;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1484)}}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$c1482(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$c1481)}}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$c1486){s2=peg$c1486;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1487)}}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$c1488(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$c1486){s2=peg$c1486;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1487)}}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$c1489){s10=peg$c1489;peg$currPos+=8}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1490)}}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$c1491(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$c1485)}}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$c1330){s2=peg$c1330;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1331)}}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$c1492(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$c1493;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1494)}}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$c1495(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$c1486){s2=peg$c1486;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1487)}}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$c1489){s10=peg$c1489;peg$currPos+=8}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1490)}}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$c1496(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$c1486){s2=peg$c1486;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1487)}}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$c1489){s6=peg$c1489;peg$currPos+=8}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1490)}}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$c1497(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$c1486){s2=peg$c1486;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1487)}}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$c1498(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$c1486){s2=peg$c1486;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1487)}}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$c1499(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$c1500){s1=peg$c1500;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1501)}}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$c1502(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$c1503){s1=peg$c1503;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1504)}}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$c1505(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$c1506){s1=peg$c1506;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1507)}}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$c1508(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$c1509)}}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",rng)=>{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]);function gen_splitmix32(a){if(a===undefined){a=(new Date).getTime()}return function(){a|=0;a=a+2654435769|0;var t=a^a>>>16;t=Math.imul(t,569420461);t=t^t>>>15;t=Math.imul(t,1935289751);return((t=t^t>>>15)>>>0)/4294967296}}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[]}}function sleep(ms){return new Promise((resolve=>setTimeout(resolve,ms)))}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,after_time:isRight?this_se.r_after:this_se.l_after,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","allows_override","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:[],allows_override:[]};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","allows_override"];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 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 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.99.0",build_time=1720312692737;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=[],initial_state:initial_state,start_states_no_enforce:start_states_no_enforce,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,allows_override:allows_override,config_allows_override:config_allows_override,rng_seed:rng_seed,time_source:time_source,timeout_source:timeout_source,clear_timeout_source:clear_timeout_source}){this._time_source=()=>(new Date).getTime();this._create_started=this._time_source();this._instance_name=instance_name;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_after_hooks=false;this._has_global_action_hooks=false;this._has_transition_hooks=true;this._has_forced_transitions=false;this._hooks=new Map;this._named_hooks=new Map;this._entry_hooks=new Map;this._exit_hooks=new Map;this._after_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._code_allows_override=allows_override;this._config_allows_override=config_allows_override;if(allows_override===false&&config_allows_override===true){throw new JssmError(undefined,"Code specifies no override, but config tries to permit; config may not be less strict than code")}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;this._rng_seed=rng_seed!==null&&rng_seed!==void 0?rng_seed:(new Date).getTime();this._rng=gen_splitmix32(this._rng_seed);this._timeout_source=timeout_source!==null&&timeout_source!==void 0?timeout_source:(f,a)=>setTimeout(f,a);this._clear_timeout_source=clear_timeout_source!==null&&clear_timeout_source!==void 0?clear_timeout_source:h=>clearTimeout(h);this._timeout_handle=undefined;this._timeout_target=undefined;this._timeout_target_time=undefined;this._after_mapping=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.forced_only){this._has_forced_transitions=true}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)}}if(tr.after_time){this._after_mapping.set(tr.from,[tr.to,tr.after_time])}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)}))}if(initial_state){if(!this._states.has(initial_state)){throw new JssmError(this,`requested start state ${initial_state} does not exist`)}if(!start_states_no_enforce&&!start_states.includes(initial_state)){throw new JssmError(this,`requested start state ${initial_state} is not in start state list; add {start_states_no_enforce:true} to constructor options if desired`)}this._state=initial_state}else{this._state=start_states[0]}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`)}this._created=this._time_source();this.auto_set_state_timeout();this._arrange_declaration.forEach((arrange_pair=>arrange_pair.forEach((possibleState=>{if(!this._states.has(possibleState)){throw new JssmError(this,`Cannot arrange state that does not exist "${possibleState}"`)}}))))}_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}get uses_forced_transitions(){return this._has_forced_transitions}get code_allows_override(){return this._code_allows_override}get config_allows_override(){return this._config_allows_override}get allows_override(){if(this._code_allows_override===false){if(this._config_allows_override===true){throw new JssmError(this,"Code specifies no override, but config tries to permit; config may not be less strict than code; should be unreachable")}else{return false}}if(this._code_allows_override===true){if(this._config_allows_override===false){return false}else{return true}}if(this._config_allows_override===true){return true}else{return false}}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()){var _a,_b;const guaranteed=(_a=this._states.get(whichState))!==null&&_a!==void 0?_a:{from:undefined};return(_b=guaranteed.from)!==null&&_b!==void 0?_b:[]}list_exits(whichState=this.state()){var _a,_b;const guaranteed=(_a=this._states.get(whichState))!==null&&_a!==void 0?_a:{to:undefined};return(_b=guaranteed.to)!==null&&_b!==void 0?_b:[]}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()),undefined,this._rng);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{if(this.has_state(whichState)){return[]}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"after":this._after_hooks.set(HookDesc.from,HookDesc.handler);this._has_hooks=true;this._has_after_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}hook_after(from,handler){this.set_hook({kind:"after",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}get rng_seed(){return this._rng_seed}set rng_seed(to){if(typeof to==="undefined"){this._rng_seed=(new Date).getTime()}else{this._rng_seed=to}}edges_between(from,to){return this._edges.filter((edge=>edge.from===from&&edge.to===to))}override(newState,newData){if(this.allows_override){if(this._states.has(newState)){this._state=newState;this._data=newData}else{throw new JssmError(this,`Cannot override state to "${newState}", a state that does not exist`)}}else{throw new JssmError(this,"Code specifies no override, but config tries to permit; config may not be less strict than code")}}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,next_data:newData,forced:wasForced,trans_type:trans_type};if(valid){if(this._has_hooks){this.clear_state_timeout();function update_fields(res){if(res.hasOwnProperty("data")){hook_args.data=res.data;hook_args.next_data=res.next_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._has_after_hooks){const ah=this._after_hooks.get(newStateOrAction);const outcome=abstract_hook_step(ah,hook_args);if(outcome.pass===false){return false}const manufactured_context={data:outcome.data,next_data:outcome.next_data};if(ah!==undefined){ah(manufactured_context)}update_fields(outcome)}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(newData!==undefined){this._data=newData}}else{if(this._history_length){this._history.shove([this._state,this._data])}this._state=newState;if(newData!==undefined){this._data=newData}}}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)}}}this.auto_set_state_timeout();return true}auto_set_state_timeout(){const after_res=this._after_mapping.get(this._state);if(after_res!==undefined){const[next_state,after_time]=after_res;this.set_state_timeout(next_state,after_time)}}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}get creation_date(){return new Date(Math.floor(this.creation_timestamp))}get creation_timestamp(){return this._created}get create_start_time(){return this._create_started}set_state_timeout(next_state,after_time){if(this._timeout_handle!==undefined){throw new JssmError(this,`Asked to set a state timeout to ${next_state}:${after_time}, but already timing out to ${this._timeout_target}:${this._timeout_target_time}`)}this._timeout_handle=this._timeout_source((()=>{this.clear_state_timeout();if(this._has_after_hooks){const ah=this._after_hooks.get(this.state());if(ah!==undefined){ah({data:this._data,next_data:this._data})}}this.go(next_state)}),after_time);this._timeout_target=next_state;this._timeout_target_time=after_time}clear_state_timeout(){if(this._timeout_handle===undefined){return}this._clear_timeout_source(this._timeout_handle);this._timeout_handle=undefined;this._timeout_target=undefined;this._timeout_target_time=undefined}state_timeout_for(which_state){return this._after_mapping.get(which_state)}current_state_timeout(){return this._timeout_target!==undefined?[this._timeout_target,this._timeout_target_time]:undefined}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=>{if(key==="allows_override"){to_decorate["config_allows_override"]=ExtraConstructorFields["allows_override"]}else{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}export{FslDirections,Machine,abstract_hook_step,arrow_direction,arrow_left_kind,arrow_right_kind,build_time,compile,constants,deserialize,find_repeated,from,gviz_shapes,histograph,is_hook_complex_result,is_hook_rejection,make,named_colors,wrap_parse as parse,seq,shapes,sleep,sm,state_style_condense,transfer_state_properties,unique,version,weighted_histo_key,weighted_rand_select,weighted_sample_select}; +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="milliseconds",peg$c1228=peg$literalExpectation("milliseconds",false),peg$c1229=function(){return 1},peg$c1230="millisecond",peg$c1231=peg$literalExpectation("millisecond",false),peg$c1232="msecs",peg$c1233=peg$literalExpectation("msecs",false),peg$c1234="msec",peg$c1235=peg$literalExpectation("msec",false),peg$c1236="ms",peg$c1237=peg$literalExpectation("ms",false),peg$c1238="seconds",peg$c1239=peg$literalExpectation("seconds",false),peg$c1240=function(){return 1e3},peg$c1241="second",peg$c1242=peg$literalExpectation("second",false),peg$c1243="secs",peg$c1244=peg$literalExpectation("secs",false),peg$c1245="sec",peg$c1246=peg$literalExpectation("sec",false),peg$c1247="s",peg$c1248=peg$literalExpectation("s",false),peg$c1249="minutes",peg$c1250=peg$literalExpectation("minutes",false),peg$c1251=function(){return 1e3*60},peg$c1252="minute",peg$c1253=peg$literalExpectation("minute",false),peg$c1254="mins",peg$c1255=peg$literalExpectation("mins",false),peg$c1256="min",peg$c1257=peg$literalExpectation("min",false),peg$c1258="m",peg$c1259=peg$literalExpectation("m",false),peg$c1260="hours",peg$c1261=peg$literalExpectation("hours",false),peg$c1262=function(){return 1e3*60*60},peg$c1263="hour",peg$c1264=peg$literalExpectation("hour",false),peg$c1265="hrs",peg$c1266=peg$literalExpectation("hrs",false),peg$c1267="hr",peg$c1268=peg$literalExpectation("hr",false),peg$c1269="h",peg$c1270=peg$literalExpectation("h",false),peg$c1271="days",peg$c1272=peg$literalExpectation("days",false),peg$c1273=function(){return 1e3*60*60*24},peg$c1274="day",peg$c1275=peg$literalExpectation("day",false),peg$c1276="d",peg$c1277=peg$literalExpectation("d",false),peg$c1278="weeks",peg$c1279=peg$literalExpectation("weeks",false),peg$c1280=function(){return 1e3*60*60*24*7},peg$c1281="week",peg$c1282=peg$literalExpectation("week",false),peg$c1283="wks",peg$c1284=peg$literalExpectation("wks",false),peg$c1285="wk",peg$c1286=peg$literalExpectation("wk",false),peg$c1287="w",peg$c1288=peg$literalExpectation("w",false),peg$c1289="after",peg$c1290=peg$literalExpectation("after",false),peg$c1291=function(value,timescale){return value*(timescale||1e3)},peg$c1292=function(names){return names.map((i=>i[0]))},peg$c1293="+|",peg$c1294=peg$literalExpectation("+|",false),peg$c1295=function(nzd,dd){return{key:"stripe",value:parseInt(`${nzd}${dd}`,10)}},peg$c1296="-|",peg$c1297=peg$literalExpectation("-|",false),peg$c1298=function(nzd,dd){return{key:"stripe",value:-1*parseInt(`${nzd}${dd}`,10)}},peg$c1299="+",peg$c1300=peg$literalExpectation("+",false),peg$c1301=function(nzd,dd){return{key:"cycle",value:parseInt(`${nzd}${dd}`,10)}},peg$c1302="-",peg$c1303=peg$literalExpectation("-",false),peg$c1304=function(nzd,dd){return{key:"cycle",value:-1*parseInt(`${nzd}${dd}`,10)}},peg$c1305="+0",peg$c1306=peg$literalExpectation("+0",false),peg$c1307=function(){return{key:"cycle",value:0}},peg$c1308=function(r_after,r_action,r_prob,l_desc,arrow,r_desc,l_prob,l_action,l_after,label,tail){const base={kind:arrow,to:label};if(l_after){base.l_after=l_after}if(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}if(r_after){base.r_after=r_after}return base},peg$c1309=function(label,se){const base={key:"transition",from:label};if(se){base.se=se}return base},peg$c1310="whargarbl",peg$c1311=peg$literalExpectation("whargarbl",false),peg$c1312="todo",peg$c1313=peg$literalExpectation("todo",false),peg$c1314=function(validationkey,value){return{key:validationkey,value:value}},peg$c1315="validation",peg$c1316=peg$literalExpectation("validation",false),peg$c1317="};",peg$c1318=peg$literalExpectation("};",false),peg$c1319=function(validation_items){return{config_kind:"validation",config_items:validation_items||[]}},peg$c1320="dot",peg$c1321=peg$literalExpectation("dot",false),peg$c1322="circo",peg$c1323=peg$literalExpectation("circo",false),peg$c1324="fdp",peg$c1325=peg$literalExpectation("fdp",false),peg$c1326="neato",peg$c1327=peg$literalExpectation("neato",false),peg$c1328="twopi",peg$c1329=peg$literalExpectation("twopi",false),peg$c1330="state",peg$c1331=peg$literalExpectation("state",false),peg$c1332=function(state_items){return{key:"default_state_config",value:state_items||[]}},peg$c1333="start_state",peg$c1334=peg$literalExpectation("start_state",false),peg$c1335=function(state_items){return{key:"default_start_state_config",value:state_items||[]}},peg$c1336="end_state",peg$c1337=peg$literalExpectation("end_state",false),peg$c1338=function(state_items){return{key:"default_end_state_config",value:state_items||[]}},peg$c1339="active_state",peg$c1340=peg$literalExpectation("active_state",false),peg$c1341=function(state_items){return{key:"default_active_state_config",value:state_items||[]}},peg$c1342="terminal_state",peg$c1343=peg$literalExpectation("terminal_state",false),peg$c1344=function(state_items){return{key:"default_terminal_state_config",value:state_items||[]}},peg$c1345="hooked_state",peg$c1346=peg$literalExpectation("hooked_state",false),peg$c1347=function(state_items){return{key:"default_hooked_state_config",value:state_items||[]}},peg$c1348=function(actionkey,value){return{key:actionkey,value:value}},peg$c1349="action",peg$c1350=peg$literalExpectation("action",false),peg$c1351=function(action_items){return{config_kind:"action",config_items:action_items||[]}},peg$c1352=function(key,value){return{key:key,value:value}},peg$c1353=peg$otherExpectation("graph default edge color"),peg$c1354=function(value){return{key:"graph_default_edge_color",value:value}},peg$c1355="transition",peg$c1356=peg$literalExpectation("transition",false),peg$c1357=function(transition_items){return{config_kind:"transition",config_items:transition_items||[]}},peg$c1358="graph_layout",peg$c1359=peg$literalExpectation("graph_layout",false),peg$c1360=function(value){return{key:"graph_layout",value:value}},peg$c1361="start_states",peg$c1362=peg$literalExpectation("start_states",false),peg$c1363=function(value){return{key:"start_states",value:value}},peg$c1364="end_states",peg$c1365=peg$literalExpectation("end_states",false),peg$c1366=function(value){return{key:"end_states",value:value}},peg$c1367="graph_bg_color",peg$c1368=peg$literalExpectation("graph_bg_color",false),peg$c1369=function(value){return{key:"graph_bg_color",value:value}},peg$c1370="allows_override",peg$c1371=peg$literalExpectation("allows_override",false),peg$c1372=function(value){return{key:"allows_override",value:value}},peg$c1373=function(){return true},peg$c1374=function(){return false},peg$c1375=peg$otherExpectation("configuration"),peg$c1376="MIT",peg$c1377=peg$literalExpectation("MIT",false),peg$c1378="BSD 2-clause",peg$c1379=peg$literalExpectation("BSD 2-clause",false),peg$c1380="BSD 3-clause",peg$c1381=peg$literalExpectation("BSD 3-clause",false),peg$c1382="Apache 2.0",peg$c1383=peg$literalExpectation("Apache 2.0",false),peg$c1384="Mozilla 2.0",peg$c1385=peg$literalExpectation("Mozilla 2.0",false),peg$c1386="Public domain",peg$c1387=peg$literalExpectation("Public domain",false),peg$c1388="GPL v2",peg$c1389=peg$literalExpectation("GPL v2",false),peg$c1390="GPL v3",peg$c1391=peg$literalExpectation("GPL v3",false),peg$c1392="LGPL v2.1",peg$c1393=peg$literalExpectation("LGPL v2.1",false),peg$c1394="LGPL v3.0",peg$c1395=peg$literalExpectation("LGPL v3.0",false),peg$c1396="Unknown",peg$c1397=peg$literalExpectation("Unknown",false),peg$c1398=peg$otherExpectation("direction"),peg$c1399="up",peg$c1400=peg$literalExpectation("up",false),peg$c1401="right",peg$c1402=peg$literalExpectation("right",false),peg$c1403="down",peg$c1404=peg$literalExpectation("down",false),peg$c1405="left",peg$c1406=peg$literalExpectation("left",false),peg$c1407=peg$otherExpectation("hook definition (open/closed)"),peg$c1408="open",peg$c1409=peg$literalExpectation("open",false),peg$c1410="closed",peg$c1411=peg$literalExpectation("closed",false),peg$c1412="machine_author",peg$c1413=peg$literalExpectation("machine_author",false),peg$c1414=function(value){return{key:"machine_author",value:value}},peg$c1415="machine_contributor",peg$c1416=peg$literalExpectation("machine_contributor",false),peg$c1417=function(value){return{key:"machine_contributor",value:value}},peg$c1418="machine_comment",peg$c1419=peg$literalExpectation("machine_comment",false),peg$c1420=function(value){return{key:"machine_comment",value:value}},peg$c1421="machine_definition",peg$c1422=peg$literalExpectation("machine_definition",false),peg$c1423=function(value){return{key:"machine_definition",value:value}},peg$c1424="machine_name",peg$c1425=peg$literalExpectation("machine_name",false),peg$c1426=function(value){return{key:"machine_name",value:value}},peg$c1430="machine_version",peg$c1431=peg$literalExpectation("machine_version",false),peg$c1432=function(value){return{key:"machine_version",value:value}},peg$c1433="machine_license",peg$c1434=peg$literalExpectation("machine_license",false),peg$c1435=function(value){return{key:"machine_license",value:value}},peg$c1436="machine_language",peg$c1437=peg$literalExpectation("machine_language",false),peg$c1438=function(value){return{key:"machine_language",value:value}},peg$c1439="fsl_version",peg$c1440=peg$literalExpectation("fsl_version",false),peg$c1441=function(value){return{key:"fsl_version",value:value}},peg$c1442="theme",peg$c1443=peg$literalExpectation("theme",false),peg$c1444=function(value){return{key:"theme",value:value}},peg$c1445="flow",peg$c1446=peg$literalExpectation("flow",false),peg$c1447=function(value){return{key:"flow",value:value}},peg$c1448="hooks",peg$c1449=peg$literalExpectation("hooks",false),peg$c1450=function(value){return{key:"hook_definition",value:value}},peg$c1451="dot_preamble",peg$c1452=peg$literalExpectation("dot_preamble",false),peg$c1453=function(value){return{key:"dot_preamble",value:value}},peg$c1454=peg$otherExpectation("machine attribute"),peg$c1455="label",peg$c1456=peg$literalExpectation("label",false),peg$c1457=function(value){return{key:"state-label",value:value}},peg$c1458="color",peg$c1459=peg$literalExpectation("color",false),peg$c1460=function(value){return{key:"color",value:value}},peg$c1461=peg$otherExpectation("text color"),peg$c1462="text-color",peg$c1463=peg$literalExpectation("text-color",false),peg$c1464=function(value){return{key:"text-color",value:value}},peg$c1465=peg$otherExpectation("background color"),peg$c1466="background-color",peg$c1467=peg$literalExpectation("background-color",false),peg$c1468=function(value){return{key:"background-color",value:value}},peg$c1469=peg$otherExpectation("border color"),peg$c1470="border-color",peg$c1471=peg$literalExpectation("border-color",false),peg$c1472=function(value){return{key:"border-color",value:value}},peg$c1473=peg$otherExpectation("shape"),peg$c1474="shape",peg$c1475=peg$literalExpectation("shape",false),peg$c1476=function(value){return{key:"shape",value:value}},peg$c1477=peg$otherExpectation("corners"),peg$c1478="corners",peg$c1479=peg$literalExpectation("corners",false),peg$c1480=function(value){return{key:"corners",value:value}},peg$c1481=peg$otherExpectation("linestyle"),peg$c1482=function(value){return{key:"line-style",value:value}},peg$c1483="linestyle",peg$c1484=peg$literalExpectation("linestyle",false),peg$c1485=peg$otherExpectation("state property"),peg$c1486="property",peg$c1487=peg$literalExpectation("property",false),peg$c1488=function(name,value){return{key:"state_property",name:name,value:value}},peg$c1489="required",peg$c1490=peg$literalExpectation("required",false),peg$c1491=function(name,value){return{key:"state_property",name:name,value:value,required:true}},peg$c1492=function(name,value){return{key:"state_declaration",name:name,value:value}},peg$c1493="&",peg$c1494=peg$literalExpectation("&",false),peg$c1495=function(name,value){return{key:"named_list",name:name,value:value}},peg$c1496=function(name,default_value){return{key:"property_definition",name:name,default_value:default_value,required:true}},peg$c1497=function(name){return{key:"property_definition",name:name,required:true}},peg$c1498=function(name,default_value){return{key:"property_definition",name:name,default_value:default_value}},peg$c1499=function(name){return{key:"property_definition",name:name}},peg$c1500="arrange",peg$c1501=peg$literalExpectation("arrange",false),peg$c1502=function(value){return{key:"arrange_declaration",value:value}},peg$c1503="arrange-start",peg$c1504=peg$literalExpectation("arrange-start",false),peg$c1505=function(value){return{key:"arrange_start_declaration",value:value}},peg$c1506="arrange-end",peg$c1507=peg$literalExpectation("arrange-end",false),peg$c1508=function(value){return{key:"arrange_end_declaration",value:value}},peg$c1509=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$parseTimeType(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c1227){s1=peg$c1227;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1228)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1229()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1230){s1=peg$c1230;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1231)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1229()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1232){s1=peg$c1232;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1233)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1229()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1234){s1=peg$c1234;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1235)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1229()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1236){s1=peg$c1236;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1237)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1229()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1238){s1=peg$c1238;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1239)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1240()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1241){s1=peg$c1241;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1242)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1240()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1243){s1=peg$c1243;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1244)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1240()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1245){s1=peg$c1245;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1240()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===115){s1=peg$c1247;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1240()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1249){s1=peg$c1249;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1250)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1251()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1252){s1=peg$c1252;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1251()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1254){s1=peg$c1254;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1255)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1251()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1256){s1=peg$c1256;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1257)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1251()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===109){s1=peg$c1258;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1259)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1251()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1260){s1=peg$c1260;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1261)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1262()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1263){s1=peg$c1263;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1264)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1262()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1265){s1=peg$c1265;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1266)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1262()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1267){s1=peg$c1267;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1268)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1262()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===104){s1=peg$c1269;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1270)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1262()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1271){s1=peg$c1271;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1272)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1273()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1274){s1=peg$c1274;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1275)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1273()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===100){s1=peg$c1276;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1277)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1273()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1278){s1=peg$c1278;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1279)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1280()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1281){s1=peg$c1281;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1282)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1280()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1283){s1=peg$c1283;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1284)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1280()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1285){s1=peg$c1285;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1286)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1280()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===119){s1=peg$c1287;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1288)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1280()}s0=s1}}}}}}}}}}}}}}}}}}}}}}}}}}}return s0}function peg$parseArrowAfter(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1289){s1=peg$c1289;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1290)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2!==peg$FAILED){s3=peg$parseNonNegNumber();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){s5=peg$parseTimeType();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1291(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$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$c1292(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$c1293){s1=peg$c1293;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1294)}}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$c1295(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$c1296){s1=peg$c1296;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1297)}}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$c1298(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$c1299;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1300)}}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$c1301(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$c1302;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1303)}}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$c1304(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$c1305){s1=peg$c1305;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1306)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1307()}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,s19,s20,s21,s22;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseArrowAfter();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$parseActionLabel();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$parseArrowProbability();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$parseArrowDesc();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){s10=peg$parseArrow();if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){s12=peg$parseArrowDesc();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$parseArrowProbability();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$parseActionLabel();if(s16===peg$FAILED){s16=null}if(s16!==peg$FAILED){s17=peg$parseWS();if(s17===peg$FAILED){s17=null}if(s17!==peg$FAILED){s18=peg$parseArrowAfter();if(s18===peg$FAILED){s18=null}if(s18!==peg$FAILED){s19=peg$parseWS();if(s19===peg$FAILED){s19=null}if(s19!==peg$FAILED){s20=peg$parseArrowTarget();if(s20!==peg$FAILED){s21=peg$parseWS();if(s21===peg$FAILED){s21=null}if(s21!==peg$FAILED){s22=peg$parseSubexp();if(s22===peg$FAILED){s22=null}if(s22!==peg$FAILED){peg$savedPos=s0;s1=peg$c1308(s2,s4,s6,s8,s10,s12,s14,s16,s18,s20,s22);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1309(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$c1310){s0=peg$c1310;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1311)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1312){s0=peg$c1312;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1313)}}}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$c1314(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$c1315){s2=peg$c1315;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1316)}}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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1319(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$c1320){s0=peg$c1320;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1321)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1322){s0=peg$c1322;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1323)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c1324){s0=peg$c1324;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1325)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1326){s0=peg$c1326;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1327)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1328){s0=peg$c1328;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1329)}}}}}}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$c1330){s2=peg$c1330;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1331)}}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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1332(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$c1333){s2=peg$c1333;peg$currPos+=11}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1334)}}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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1335(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$c1336){s2=peg$c1336;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1337)}}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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1338(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$c1339){s2=peg$c1339;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1340)}}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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1341(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$c1342){s2=peg$c1342;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1343)}}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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1344(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$c1345){s2=peg$c1345;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1346)}}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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1347(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$c1310){s0=peg$c1310;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1311)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1312){s0=peg$c1312;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1313)}}}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$c1348(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$c1349){s2=peg$c1349;peg$currPos+=6}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){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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1351(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$c1310){s0=peg$c1310;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1311)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1312){s0=peg$c1312;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1313)}}}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$c1352(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$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}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1353)}}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$c1355){s2=peg$c1355;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1356)}}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$c1317){s10=peg$c1317;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1357(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$c1358){s2=peg$c1358;peg$currPos+=12}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$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$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$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$c1361){s2=peg$c1361;peg$currPos+=12}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$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$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$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$c1364){s2=peg$c1364;peg$currPos+=10}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$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$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$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$c1367){s2=peg$c1367;peg$currPos+=14}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$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$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$parseConfigAllowsOverride(){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$c1370){s2=peg$c1370;peg$currPos+=15}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$parseOverrideT();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$parseOverrideT(){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$c1373()}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$c1374()}s0=s1;if(s0===peg$FAILED){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$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();if(s0===peg$FAILED){s0=peg$parseConfigAllowsOverride()}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1375)}}return s0}function peg$parseLicenseOrLabelOrList(){var s0;if(input.substr(peg$currPos,3)===peg$c1376){s0=peg$c1376;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1377)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1378){s0=peg$c1378;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1379)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1380){s0=peg$c1380;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1381)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1382){s0=peg$c1382;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1383)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1384){s0=peg$c1384;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1385)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c1386){s0=peg$c1386;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1387)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1388){s0=peg$c1388;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1389)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1390){s0=peg$c1390;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1391)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1392){s0=peg$c1392;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1393)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1394){s0=peg$c1394;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1395)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c1396){s0=peg$c1396;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1397)}}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$c1399){s0=peg$c1399;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1400)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1401){s0=peg$c1401;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1402)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1403){s0=peg$c1403;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1404)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1405){s0=peg$c1405;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1406)}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1398)}}return s0}function peg$parseHookDefinition(){var s0;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c1408){s0=peg$c1408;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1409)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1410){s0=peg$c1410;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1411)}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1407)}}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$c1412){s2=peg$c1412;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1413)}}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$c1414(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$c1415){s2=peg$c1415;peg$currPos+=19}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1416)}}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$c1417(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$c1418){s2=peg$c1418;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1419)}}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$c1420(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$c1421){s2=peg$c1421;peg$currPos+=18}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){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$c1423(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$c1424){s2=peg$c1424;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1425)}}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$c1426(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$c1430){s2=peg$c1430;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1431)}}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$c1432(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$c1433){s2=peg$c1433;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1434)}}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$c1435(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$c1436){s2=peg$c1436;peg$currPos+=16}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1437)}}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$c1438(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$c1439){s2=peg$c1439;peg$currPos+=11}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1440)}}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$c1441(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$c1442){s2=peg$c1442;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1443)}}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$c1444(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$c1445){s2=peg$c1445;peg$currPos+=4}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1446)}}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$c1447(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$c1448){s2=peg$c1448;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1449)}}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$c1450(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$c1451){s2=peg$c1451;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1452)}}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$c1453(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$c1454)}}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$c1455){s2=peg$c1455;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1456)}}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$c1457(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$c1458){s2=peg$c1458;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1459)}}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$c1460(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$c1462){s2=peg$c1462;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1463)}}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$c1464(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$c1461)}}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$c1466){s2=peg$c1466;peg$currPos+=16}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1467)}}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$c1468(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$c1465)}}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$c1470){s2=peg$c1470;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1471)}}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$c1472(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$c1469)}}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$c1474){s2=peg$c1474;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1475)}}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$c1476(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$c1473)}}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$c1478){s2=peg$c1478;peg$currPos+=7}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1479)}}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$c1480(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$c1477)}}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$c1482(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$c1483){s2=peg$c1483;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1484)}}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$c1482(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$c1481)}}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$c1486){s2=peg$c1486;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1487)}}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$c1488(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$c1486){s2=peg$c1486;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1487)}}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$c1489){s10=peg$c1489;peg$currPos+=8}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1490)}}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$c1491(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$c1485)}}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$c1330){s2=peg$c1330;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1331)}}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$c1492(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$c1493;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1494)}}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$c1495(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$c1486){s2=peg$c1486;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1487)}}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$c1489){s10=peg$c1489;peg$currPos+=8}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1490)}}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$c1496(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$c1486){s2=peg$c1486;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1487)}}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$c1489){s6=peg$c1489;peg$currPos+=8}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1490)}}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$c1497(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$c1486){s2=peg$c1486;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1487)}}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$c1498(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$c1486){s2=peg$c1486;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1487)}}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$c1499(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$c1500){s1=peg$c1500;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1501)}}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$c1502(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$c1503){s1=peg$c1503;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1504)}}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$c1505(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$c1506){s1=peg$c1506;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1507)}}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$c1508(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$c1509)}}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",rng)=>{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]);function gen_splitmix32(a){if(a===undefined){a=(new Date).getTime()}return function(){a|=0;a=a+2654435769|0;var t=a^a>>>16;t=Math.imul(t,569420461);t=t^t>>>15;t=Math.imul(t,1935289751);return((t=t^t>>>15)>>>0)/4294967296}}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[]}}function sleep(ms){return new Promise((resolve=>setTimeout(resolve,ms)))}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,after_time:isRight?this_se.r_after:this_se.l_after,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","allows_override","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:[],allows_override:[]};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","allows_override"];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 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 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.99.0",build_time=1720314479976;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=[],initial_state:initial_state,start_states_no_enforce:start_states_no_enforce,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,allows_override:allows_override,config_allows_override:config_allows_override,rng_seed:rng_seed,time_source:time_source,timeout_source:timeout_source,clear_timeout_source:clear_timeout_source}){this._time_source=()=>(new Date).getTime();this._create_started=this._time_source();this._instance_name=instance_name;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_after_hooks=false;this._has_global_action_hooks=false;this._has_transition_hooks=true;this._has_forced_transitions=false;this._hooks=new Map;this._named_hooks=new Map;this._entry_hooks=new Map;this._exit_hooks=new Map;this._after_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._code_allows_override=allows_override;this._config_allows_override=config_allows_override;if(allows_override===false&&config_allows_override===true){throw new JssmError(undefined,"Code specifies no override, but config tries to permit; config may not be less strict than code")}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;this._rng_seed=rng_seed!==null&&rng_seed!==void 0?rng_seed:(new Date).getTime();this._rng=gen_splitmix32(this._rng_seed);this._timeout_source=timeout_source!==null&&timeout_source!==void 0?timeout_source:(f,a)=>setTimeout(f,a);this._clear_timeout_source=clear_timeout_source!==null&&clear_timeout_source!==void 0?clear_timeout_source:h=>clearTimeout(h);this._timeout_handle=undefined;this._timeout_target=undefined;this._timeout_target_time=undefined;this._after_mapping=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.forced_only){this._has_forced_transitions=true}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)}}if(tr.after_time){this._after_mapping.set(tr.from,[tr.to,tr.after_time])}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)}))}if(initial_state){if(!this._states.has(initial_state)){throw new JssmError(this,`requested start state ${initial_state} does not exist`)}if(!start_states_no_enforce&&!start_states.includes(initial_state)){throw new JssmError(this,`requested start state ${initial_state} is not in start state list; add {start_states_no_enforce:true} to constructor options if desired`)}this._state=initial_state}else{this._state=start_states[0]}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`)}this._created=this._time_source();this.auto_set_state_timeout();this._arrange_declaration.forEach((arrange_pair=>arrange_pair.forEach((possibleState=>{if(!this._states.has(possibleState)){throw new JssmError(this,`Cannot arrange state that does not exist "${possibleState}"`)}}))))}_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}get uses_forced_transitions(){return this._has_forced_transitions}get code_allows_override(){return this._code_allows_override}get config_allows_override(){return this._config_allows_override}get allows_override(){if(this._code_allows_override===false){if(this._config_allows_override===true){throw new JssmError(this,"Code specifies no override, but config tries to permit; config may not be less strict than code; should be unreachable")}else{return false}}if(this._code_allows_override===true){if(this._config_allows_override===false){return false}else{return true}}if(this._config_allows_override===true){return true}else{return false}}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()){var _a,_b;const guaranteed=(_a=this._states.get(whichState))!==null&&_a!==void 0?_a:{from:undefined};return(_b=guaranteed.from)!==null&&_b!==void 0?_b:[]}list_exits(whichState=this.state()){var _a,_b;const guaranteed=(_a=this._states.get(whichState))!==null&&_a!==void 0?_a:{to:undefined};return(_b=guaranteed.to)!==null&&_b!==void 0?_b:[]}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()),undefined,this._rng);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{if(this.has_state(whichState)){return[]}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"after":this._after_hooks.set(HookDesc.from,HookDesc.handler);this._has_hooks=true;this._has_after_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}hook_after(from,handler){this.set_hook({kind:"after",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}get rng_seed(){return this._rng_seed}set rng_seed(to){if(typeof to==="undefined"){this._rng_seed=(new Date).getTime()}else{this._rng_seed=to}}edges_between(from,to){return this._edges.filter((edge=>edge.from===from&&edge.to===to))}override(newState,newData){if(this.allows_override){if(this._states.has(newState)){this._state=newState;this._data=newData}else{throw new JssmError(this,`Cannot override state to "${newState}", a state that does not exist`)}}else{throw new JssmError(this,"Code specifies no override, but config tries to permit; config may not be less strict than code")}}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,next_data:newData,forced:wasForced,trans_type:trans_type};if(valid){if(this._has_hooks){this.clear_state_timeout();function update_fields(res){if(res.hasOwnProperty("data")){hook_args.data=res.data;hook_args.next_data=res.next_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._has_after_hooks){const ah=this._after_hooks.get(newStateOrAction);const outcome=abstract_hook_step(ah,hook_args);if(ah!==undefined){ah({data:outcome.data,next_data:outcome.next_data})}update_fields(outcome)}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(newData!==undefined){this._data=newData}}else{if(this._history_length){this._history.shove([this._state,this._data])}this._state=newState;if(newData!==undefined){this._data=newData}}}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)}}}this.auto_set_state_timeout();return true}auto_set_state_timeout(){const after_res=this._after_mapping.get(this._state);if(after_res!==undefined){const[next_state,after_time]=after_res;this.set_state_timeout(next_state,after_time)}}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}get creation_date(){return new Date(Math.floor(this.creation_timestamp))}get creation_timestamp(){return this._created}get create_start_time(){return this._create_started}set_state_timeout(next_state,after_time){if(this._timeout_handle!==undefined){throw new JssmError(this,`Asked to set a state timeout to ${next_state}:${after_time}, but already timing out to ${this._timeout_target}:${this._timeout_target_time}`)}this._timeout_handle=this._timeout_source((()=>{this.clear_state_timeout();if(this._has_after_hooks){const ah=this._after_hooks.get(this.state());if(ah!==undefined){ah({data:this._data,next_data:this._data})}}this.go(next_state)}),after_time);this._timeout_target=next_state;this._timeout_target_time=after_time}clear_state_timeout(){if(this._timeout_handle===undefined){return}this._clear_timeout_source(this._timeout_handle);this._timeout_handle=undefined;this._timeout_target=undefined;this._timeout_target_time=undefined}state_timeout_for(which_state){return this._after_mapping.get(which_state)}current_state_timeout(){return this._timeout_target!==undefined?[this._timeout_target,this._timeout_target_time]:undefined}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=>{if(key==="allows_override"){to_decorate["config_allows_override"]=ExtraConstructorFields["allows_override"]}else{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}export{FslDirections,Machine,abstract_hook_step,arrow_direction,arrow_left_kind,arrow_right_kind,build_time,compile,constants,deserialize,find_repeated,from,gviz_shapes,histograph,is_hook_complex_result,is_hook_rejection,make,named_colors,wrap_parse as parse,seq,shapes,sleep,sm,state_style_condense,transfer_state_properties,unique,version,weighted_histo_key,weighted_rand_select,weighted_sample_select}; diff --git a/dist/jssm.es6.nonmin.cjs b/dist/jssm.es6.nonmin.cjs index 66c47fd5..c5ca1a7a 100644 --- a/dist/jssm.es6.nonmin.cjs +++ b/dist/jssm.es6.nonmin.cjs @@ -20666,7 +20666,7 @@ var constants = /*#__PURE__*/Object.freeze({ named_colors: named_colors$1 }); -const version = "5.99.0", build_time = 1720312692737; +const version = "5.99.0", build_time = 1720314479976; // whargarbl lots of these return arrays could/should be sets const { shapes, gviz_shapes, named_colors } = constants; @@ -22245,12 +22245,13 @@ class Machine { if (this._has_after_hooks) { const ah = this._after_hooks.get(newStateOrAction); const outcome = abstract_hook_step(ah, hook_args); - if (outcome.pass === false) { - return false; - } - const manufactured_context = { data: outcome.data, next_data: outcome.next_data }; + // there's no such thing as after not passing, so, omit the result pass check + /* istanbul can't trace this through the timer */ + /* istanbul ignore next */ if (ah !== undefined) { - ah(manufactured_context); + /* istanbul can't trace this through the timer */ + /* istanbul ignore next */ + ah({ data: outcome.data, next_data: outcome.next_data }); } update_fields(outcome); } diff --git a/docs/docs/classes/jssm.Machine.html b/docs/docs/classes/jssm.Machine.html index 59e89c0a..d2826f61 100644 --- a/docs/docs/classes/jssm.Machine.html +++ b/docs/docs/classes/jssm.Machine.html @@ -1,16 +1,16 @@ -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>
_after_hooks: Map<string, HookHandler<mDT>>
_after_mapping: Map<string, [string, number]>
_any_action_hook: HookHandler<mDT>
_any_transition_hook: HookHandler<mDT>
_arrange_declaration: string[][]
_arrange_end_declaration: string[][]
_arrange_start_declaration: string[][]
_clear_timeout_source: ((h: any) => void)

Type declaration

    • (h: any): void
    • Parameters

      • h: any

      Returns void

_code_allows_override: JssmAllowsOverride
_config_allows_override: JssmAllowsOverride
_create_started: number
_created: number
_data?: mDT
_default_properties: Map<string, any>
_dot_preamble: string
_edge_map: Map<string, Map<string, number>>
_edges: JssmTransition<string, 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_after_hooks: boolean
_has_basic_hooks: boolean
_has_entry_hooks: boolean
_has_exit_hooks: boolean
_has_forced_transitions: 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>>
_rng: JssmRng
_rng_seed: 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")[]
_time_source: (() => number)

Type declaration

    • (): number
    • Returns number

_timeout_handle: number
_timeout_source: ((Function: any, number: any) => number)

Type declaration

    • (Function: any, number: any): number
    • Parameters

      • Function: any
      • number: any

      Returns number

_timeout_target: string
_timeout_target_time: number

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")[]
  • auto_set_state_timeout(): void
  • clear_state_timeout(): void
  • current_action_for(action: string): number
  • current_state_timeout(): [string, number]
  • data(): mDT

Returns string[]

  • all_themes(): ("default" | "modern" | "ocean" | "bold" | "plain")[]
  • auto_set_state_timeout(): void
  • clear_state_timeout(): void
  • current_action_for(action: string): number
  • current_state_timeout(): [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 @@ -115,7 +115,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'
    @@ -123,7 +123,7 @@

    The action to engage

  • Optional newData: mDT

    The data change to insert during the action

    -

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

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' @@ -132,7 +132,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'
    @@ -140,53 +140,53 @@

    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<string, 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. This list includes both unforced and forced entrances; if this isn't desired, consider @@ -196,7 +196,7 @@

    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. This list includes both unforced and forced exits; if this isn't desired, consider {@link list_unforced_exits} or @@ -205,14 +205,14 @@

    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.

    @@ -220,11 +220,11 @@

    Parameters

    • whichState: string = ...

      The state whose transitions to have listed

      -

    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
  • override(newState: string, newData?: mDT): void

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
  • override(newState: string, newData?: mDT): void
  • Replace the current state and data with no regard to the graph.

    import { sm } from 'jssm';

    const machine = sm`a -> b -> c;`;
    console.log( machine.state() ); // 'a'

    machine.go('b');
    machine.go('c');
    console.log( machine.state() ); // 'c'

    machine.override('a');
    console.log( machine.state() ); // 'a'
    -

    Parameters

    • newState: string
    • Optional newData: mDT

    Returns void

  • 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
  • +

    Parameters

    • newState: string
    • Optional newData: mDT

    Returns void

  • 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.

    
     
    @@ -232,35 +232,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>

  • set_state_timeout(next_state: string, after_time: number): void
  • state(): string
  • set_state_timeout(next_state: string, after_time: number): void
  • 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
  • state_timeout_for(which_state: string): [string, number]
  • states(): string[]

Returns boolean

  • state_is_terminal(whichState: string): boolean
  • state_timeout_for(which_state: string): [string, number]
  • 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.

    @@ -270,7 +270,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.

    @@ -281,7 +281,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'
    @@ -289,4 +289,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 90b648cf..410da349 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 @@ -43,7 +43,7 @@

    Hey!

    The type of the machine data member; usually omitted

Parameters

  • tree: JssmParseTree<StateType, mDT>

    The parse tree to be boiled down into a machine config

    -

Returns JssmGenericConfig<StateType, 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 @@ -57,7 +57,7 @@

    Hey!

    The FSL code to evaluate

  • 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.

    @@ -65,7 +65,7 @@

    Hey!

    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<StateType, 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>