diff --git a/CHANGELOG.long.md b/CHANGELOG.long.md index 9a74989f..bc2071bb 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. -874 merges; 70 releases +876 merges; 70 releases @@ -18,6 +18,36 @@ Published tags: +  + +  + +## [Untagged] - 6/6/2022 3:41:07 PM + +Commit [91e2c2f27ec0b200380b8871bacd2d6476e1ab4e](https://github.com/StoneCypher/jssm/commit/91e2c2f27ec0b200380b8871bacd2d6476e1ab4e) + +Author: `John Haugeland ` + + * More shootout + + + + +  + +  + +## [Untagged] - 6/6/2022 2:47:14 PM + +Commit [7f475f2a684856889fa56317ce30d5296ca2a47d](https://github.com/StoneCypher/jssm/commit/7f475f2a684856889fa56317ce30d5296ca2a47d) + +Author: `John Haugeland ` + + * Adds shootout, fixes StoneCypher/fsl#822 + + + +     diff --git a/CHANGELOG.md b/CHANGELOG.md index 78be74ee..2db0f545 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ All notable changes to this project will be documented in this file. -874 merges; 70 releases; Changlogging the last 10 commits; Full changelog at [CHANGELOG.long.md](CHANGELOG.long.md) +876 merges; 70 releases; Changlogging the last 10 commits; Full changelog at [CHANGELOG.long.md](CHANGELOG.long.md) @@ -18,6 +18,36 @@ Published tags: +  + +  + +## [Untagged] - 6/6/2022 3:41:07 PM + +Commit [91e2c2f27ec0b200380b8871bacd2d6476e1ab4e](https://github.com/StoneCypher/jssm/commit/91e2c2f27ec0b200380b8871bacd2d6476e1ab4e) + +Author: `John Haugeland ` + + * More shootout + + + + +  + +  + +## [Untagged] - 6/6/2022 2:47:14 PM + +Commit [7f475f2a684856889fa56317ce30d5296ca2a47d](https://github.com/StoneCypher/jssm/commit/7f475f2a684856889fa56317ce30d5296ca2a47d) + +Author: `John Haugeland ` + + * Adds shootout, fixes StoneCypher/fsl#822 + + + +     @@ -145,39 +175,4 @@ Author: `John Haugeland ` Merges [e084bf4, f0f3961] * Merge pull request #488 from StoneCypher/Doc_Action_Transition_ForceTransition - * Document action, transition, force_transition; fixes StoneCypher/fsl#801, StoneCypher/fsl#802, StoneCypher/fsl#803 - - - - -  - -  - -## [Untagged] - 5/22/2022 4:24:24 PM - -Commit [f0f3961d25dc11cfb547eca55c7e3a65b9cf3ccf](https://github.com/StoneCypher/jssm/commit/f0f3961d25dc11cfb547eca55c7e3a65b9cf3ccf) - -Author: `John Haugeland ` - - * Document action, transition, force_transition; fixes StoneCypher/fsl#801, StoneCypher/fsl#802, StoneCypher/fsl#803 - - - - -  - -  - - - -## [5.65.11] - 5/22/2022 3:54:12 PM - -Commit [e084bf4a0936d419b5a9921e746a707644ad263f](https://github.com/StoneCypher/jssm/commit/e084bf4a0936d419b5a9921e746a707644ad263f) - -Author: `John Haugeland ` - -Merges [a7d9fba, b2558b2] - - * Merge pull request #487 from StoneCypher/Doc_ListEdges_ListTransitions_ListEntrances_ListExits - * Doc list edges list transitions list entrances list exits \ No newline at end of file + * Document action, transition, force_transition; fixes StoneCypher/fsl#801, StoneCypher/fsl#802, StoneCypher/fsl#803 \ No newline at end of file diff --git a/dist/es6/version.js b/dist/es6/version.js index b738d590..9db76534 100644 --- a/dist/es6/version.js +++ b/dist/es6/version.js @@ -1,2 +1,2 @@ -const version = "5.67.0"; +const version = "5.67.2"; export { version }; diff --git a/dist/jssm.es5.cjs.js b/dist/jssm.es5.cjs.js index 3f3976ac..5b3c95fd 100644 --- a/dist/jssm.es5.cjs.js +++ b/dist/jssm.es5.cjs.js @@ -1 +1 @@ -"use strict";Object.defineProperty(exports,"__esModule",{value:true});var reductions={abkhazian:"ab","аҧсуа бызшәа, аҧсшәа":"ab",ab:"ab",abk:"ab","аҧсуа бызшәа":"ab","аҧсшәа":"ab",afar:"aa",afaraf:"aa",aa:"aa",aar:"aa",afrikaans:"af",af:"af",afr:"af",akan:"ak",ak:"ak",aka:"ak","aka + 2":"ak",albanian:"sq",shqip:"sq",sq:"sq",sqi:"sq",alb:"sq","sqi + 4":"sq",amharic:"am","አማርኛ":"am",am:"am",amh:"am",arabic:"ar","العربية":"ar",ar:"ar",ara:"ar","ara + 30":"ar",aragonese:"an","aragonés":"an",an:"an",arg:"an",armenian:"hy","հայերեն":"hy",hy:"hy",hye:"hy",arm:"hy",assamese:"as","অসমীয়া":"as",as:"as",asm:"as",avaric:"av","авар мацӏ, магӏарул мацӏ":"av",av:"av",ava:"av","авар мацӏ":"av","магӏарул мацӏ":"av",avestan:"ae",avesta:"ae",ae:"ae",ave:"ae",aymara:"ay","aymar aru":"ay",ay:"ay",aym:"ay","aym + 2":"ay",azerbaijani:"az","azərbaycan dili":"az",az:"az",aze:"az","aze + 2":"az",bambara:"bm",bamanankan:"bm",bm:"bm",bam:"bm",bashkir:"ba","башҡорт теле":"ba",ba:"ba",bak:"ba",basque:"eu","euskara, euskera":"eu",eu:"eu",eus:"eu",baq:"eu",euskara:"eu",euskera:"eu",belarusian:"be","беларуская мова":"be",be:"be",bel:"be",bengali:"bn","বাংলা":"bn",bn:"bn",ben:"bn","bihari languages":"bh","भोजपुरी":"bh",bh:"bh",bih:"bh",bislama:"bi",bi:"bi",bis:"bi",bosnian:"bs","bosanski jezik":"bs",bs:"bs",bos:"bs",breton:"br",brezhoneg:"br",br:"br",bre:"br",bulgarian:"bg","български език":"bg",bg:"bg",bul:"bg",burmese:"my","ဗမာစာ":"my",my:"my",mya:"my",bur:"my","catalan, valencian":"ca","català, valencià":"ca",ca:"ca",cat:"ca","català":"ca","valencià":"ca",chamorro:"ch",chamoru:"ch",ch:"ch",cha:"ch",chechen:"ce","нохчийн мотт":"ce",ce:"ce",che:"ce","chichewa, chewa, nyanja":"ny","chicheŵa, chinyanja":"ny",ny:"ny",nya:"ny","chicheŵa":"ny",chinyanja:"ny",chinese:"zh","中文 (zhōngwén), 汉语, 漢語":"zh",zh:"zh",zho:"zh",chi:"zh","zho + 13":"zh","中文 (zhōngwén)":"zh","汉语":"zh","漢語":"zh",chuvash:"cv","чӑваш чӗлхи":"cv",cv:"cv",chv:"cv",cornish:"kw",kernewek:"kw",kw:"kw",cor:"kw",corsican:"co","corsu, lingua corsa":"co",co:"co",cos:"co",corsu:"co","lingua corsa":"co",cree:"cr","ᓀᐦᐃᔭᐍᐏᐣ":"cr",cr:"cr",cre:"cr","cre + 6":"cr",croatian:"hr","hrvatski jezik":"hr",hr:"hr",hrv:"hr",czech:"cs","čeština, český jazyk":"cs",cs:"cs",ces:"cs",cze:"cs","čeština":"cs","český jazyk":"cs",danish:"da",dansk:"da",da:"da",dan:"da","divehi, dhivehi, maldivian":"dv","ދިވެހި":"dv",dv:"dv",div:"dv","dutch, flemish":"nl","nederlands, vlaams":"nl",nl:"nl",nld:"nl",dut:"nl",nederlands:"nl",vlaams:"nl",dzongkha:"dz","རྫོང་ཁ":"dz",dz:"dz",dzo:"dz",english:"en",en:"en",eng:"en",esperanto:"eo",eo:"eo",epo:"eo",estonian:"et","eesti, eesti keel":"et",et:"et",est:"et","est + 2":"et",eesti:"et","eesti keel":"et",ewe:"ee","eʋegbe":"ee",ee:"ee",faroese:"fo","føroyskt":"fo",fo:"fo",fao:"fo",fijian:"fj","vosa vakaviti":"fj",fj:"fj",fij:"fj",finnish:"fi","suomi, suomen kieli":"fi",fi:"fi",fin:"fi",suomi:"fi","suomen kieli":"fi",french:"fr","français, langue française":"fr",fr:"fr",fra:"fr",fre:"fr","français":"fr","langue française":"fr",fulah:"ff","fulfulde, pulaar, pular":"ff",ff:"ff",ful:"ff","ful + 9":"ff",fulfulde:"ff",pulaar:"ff",pular:"ff",galician:"gl",galego:"gl",gl:"gl",glg:"gl",georgian:"ka","ქართული":"ka",ka:"ka",kat:"ka",geo:"ka",german:"de",deutsch:"de",de:"de",deu:"de",ger:"de","greek (modern)":"el","ελληνικά":"el",el:"el",ell:"el",gre:"el","guaraní":"gn","avañe'ẽ":"gn",gn:"gn",grn:"gn","grn + 5":"gn",gujarati:"gu","ગુજરાતી":"gu",gu:"gu",guj:"gu","haitian, haitian creole":"ht","kreyòl ayisyen":"ht",ht:"ht",hat:"ht",hausa:"ha","(hausa) هَوُسَ":"ha",ha:"ha",hau:"ha","hebrew (modern)":"he","עברית":"he",he:"he",heb:"he",herero:"hz",otjiherero:"hz",hz:"hz",her:"hz",hindi:"hi","हिन्दी, हिंदी":"hi",hi:"hi",hin:"hi","हिन्दी":"hi","हिंदी":"hi","hiri motu":"ho",ho:"ho",hmo:"ho",hungarian:"hu",magyar:"hu",hu:"hu",hun:"hu",interlingua:"ia",ia:"ia",ina:"ia",indonesian:"id","bahasa indonesia":"id",id:"id",ind:"id",interlingue:"ie","originally called occidental; then interlingue after wwii":"ie",ie:"ie",ile:"ie",irish:"ga",gaeilge:"ga",ga:"ga",gle:"ga",igbo:"ig","asụsụ igbo":"ig",ig:"ig",ibo:"ig",inupiaq:"ik","iñupiaq, iñupiatun":"ik",ik:"ik",ipk:"ik","ipk + 2":"ik","iñupiaq":"ik","iñupiatun":"ik",ido:"io",io:"io",icelandic:"is","íslenska":"is",is:"is",isl:"is",ice:"is",italian:"it",italiano:"it",it:"it",ita:"it",inuktitut:"iu","ᐃᓄᒃᑎᑐᑦ":"iu",iu:"iu",iku:"iu","iku + 2":"iu",japanese:"ja","日本語 (にほんご)":"ja",ja:"ja",jpn:"ja",javanese:"jv","ꦧꦱꦗꦮ, basa jawa":"jv",jv:"jv",jav:"jv","ꦧꦱꦗꦮ":"jv","basa jawa":"jv","kalaallisut, greenlandic":"kl","kalaallisut, kalaallit oqaasii":"kl",kl:"kl",kal:"kl",kalaallisut:"kl","kalaallit oqaasii":"kl",kannada:"kn","ಕನ್ನಡ":"kn",kn:"kn",kan:"kn",kanuri:"kr",kr:"kr",kau:"kr","kau + 3":"kr",kashmiri:"ks","कश्मीरी, كشميري‎":"ks",ks:"ks",kas:"ks","कश्मीरी":"ks","كشميري‎":"ks",kazakh:"kk","қазақ тілі":"kk",kk:"kk",kaz:"kk","central khmer":"km","ខ្មែរ, ខេមរភាសា, ភាសាខ្មែរ":"km",km:"km",khm:"km","ខ្មែរ":"km","ខេមរភាសា":"km","ភាសាខ្មែរ":"km","kikuyu, gikuyu":"ki","gĩkũyũ":"ki",ki:"ki",kik:"ki",kinyarwanda:"rw",ikinyarwanda:"rw",rw:"rw",kin:"rw","kirghiz, kyrgyz":"ky","кыргызча, кыргыз тили":"ky",ky:"ky",kir:"ky","кыргызча":"ky","кыргыз тили":"ky",komi:"kv","коми кыв":"kv",kv:"kv",kom:"kv","kom + 2":"kv",kongo:"kg",kikongo:"kg",kg:"kg",kon:"kg","kon + 3":"kg",korean:"ko","한국어":"ko",ko:"ko",kor:"ko",kurdish:"ku","kurdî, كوردی‎":"ku",ku:"ku",kur:"ku","kur + 3":"ku","kurdî":"ku","كوردی‎":"ku","kuanyama, kwanyama":"kj",kuanyama:"kj",kj:"kj",kua:"kj",latin:"la","latine, lingua latina":"la",la:"la",lat:"la",latine:"la","lingua latina":"la","luxembourgish, letzeburgesch":"lb","lëtzebuergesch":"lb",lb:"lb",ltz:"lb",ganda:"lg",luganda:"lg",lg:"lg",lug:"lg","limburgan, limburger, limburgish":"li",limburgs:"li",li:"li",lim:"li",lingala:"ln","lingála":"ln",ln:"ln",lin:"ln",lao:"lo","ພາສາລາວ":"lo",lo:"lo",lithuanian:"lt","lietuvių kalba":"lt",lt:"lt",lit:"lt","luba-katanga":"lu",kiluba:"lu",lu:"lu",lub:"lu",latvian:"lv","latviešu valoda":"lv",lv:"lv",lav:"lv","lav + 2":"lv",manx:"gv","gaelg, gailck":"gv",gv:"gv",glv:"gv",gaelg:"gv",gailck:"gv",macedonian:"mk","македонски јазик":"mk",mk:"mk",mkd:"mk",mac:"mk",malagasy:"mg","fiteny malagasy":"mg",mg:"mg",mlg:"mg","mlg + 10":"mg",malay:"ms","bahasa melayu, بهاس ملايو‎":"ms",ms:"ms",msa:"ms",may:"ms","msa + 13":"ms","bahasa melayu":"ms","بهاس ملايو‎":"ms",malayalam:"ml","മലയാളം":"ml",ml:"ml",mal:"ml",maltese:"mt",malti:"mt",mt:"mt",mlt:"mt",maori:"mi","te reo māori":"mi",mi:"mi",mri:"mi",mao:"mi",marathi:"mr","मराठी":"mr",mr:"mr",mar:"mr",marshallese:"mh","kajin m̧ajeļ":"mh",mh:"mh",mah:"mh",mongolian:"mn","монгол хэл":"mn",mn:"mn",mon:"mn","mon + 2":"mn",nauru:"na","dorerin naoero":"na",na:"na",nau:"na","navajo, navaho":"nv","diné bizaad":"nv",nv:"nv",nav:"nv","north ndebele":"nd",isindebele:"nr",nd:"nd",nde:"nd",nepali:"ne","नेपाली":"ne",ne:"ne",nep:"ne",ndonga:"ng",owambo:"ng",ng:"ng",ndo:"ng","norwegian bokmål":"nb","norsk bokmål":"nb",nb:"nb",nob:"nb","norwegian nynorsk":"nn","norsk nynorsk":"nn",nn:"nn",nno:"nn",norwegian:"no",norsk:"no",no:"no",nor:"no","nor + 2":"no","sichuan yi, nuosu":"ii","ꆈꌠ꒿ nuosuhxop":"ii",ii:"ii",iii:"ii","south ndebele":"nr",nr:"nr",nbl:"nr",occitan:"oc","occitan, lenga d'òc":"oc",oc:"oc",oci:"oc","lenga d'òc":"oc",ojibwa:"oj","ᐊᓂᔑᓈᐯᒧᐎᓐ":"oj",oj:"oj",oji:"oj","oji + 7":"oj","church slavic, church slavonic, old church slavonic, old slavonic, old bulgarian":"cu","ѩзыкъ словѣньскъ":"cu",cu:"cu",chu:"cu",oromo:"om","afaan oromoo":"om",om:"om",orm:"om","orm + 4":"om",oriya:"or","ଓଡ଼ିଆ":"or",or:"or",ori:"or","ossetian, ossetic":"os","ирон æвзаг":"os",os:"os",oss:"os","panjabi, punjabi":"pa","ਪੰਜਾਬੀ":"pa",pa:"pa",pan:"pa",pali:"pi","पाऴि":"pi",pi:"pi",pli:"pi",persian:"fa","فارسی":"fa",fa:"fa",fas:"fa",per:"fa","fas + 2":"fa",polish:"pl","język polski, polszczyzna":"pl",pl:"pl",pol:"pl","język polski":"pl",polszczyzna:"pl","pashto, pushto":"ps","پښتو":"ps",ps:"ps",pus:"ps","pus + 3":"ps",portuguese:"pt","português":"pt",pt:"pt",por:"pt",quechua:"qu","runa simi, kichwa":"qu",qu:"qu",que:"qu","que + 44":"qu","runa simi":"qu",kichwa:"qu",romansh:"rm","rumantsch grischun":"rm",rm:"rm",roh:"rm",rundi:"rn",ikirundi:"rn",rn:"rn",run:"rn","romanian, moldavian, moldovan":"ro","română":"ro",ro:"ro",ron:"ro",rum:"ro",russian:"ru","русский":"ru",ru:"ru",rus:"ru",sanskrit:"sa","संस्कृतम्":"sa",sa:"sa",san:"sa",sardinian:"sc",sardu:"sc",sc:"sc",srd:"sc","srd + 4":"sc",sindhi:"sd","सिन्धी, سنڌي، سندھی‎":"sd",sd:"sd",snd:"sd","सिन्धी":"sd","سنڌي، سندھی‎":"sd","northern sami":"se","davvisámegiella":"se",se:"se",sme:"se",samoan:"sm","gagana fa'a samoa":"sm",sm:"sm",smo:"sm",sango:"sg","yângâ tî sängö":"sg",sg:"sg",sag:"sg",serbian:"sr","српски језик":"sr",sr:"sr",srp:"sr","gaelic, scottish gaelic":"gd","gàidhlig":"gd",gd:"gd",gla:"gd",shona:"sn",chishona:"sn",sn:"sn",sna:"sn","sinhala, sinhalese":"si","සිංහල":"si",si:"si",sin:"si",slovak:"sk","slovenčina, slovenský jazyk":"sk",sk:"sk",slk:"sk",slo:"sk","slovenčina":"sk","slovenský jazyk":"sk",slovenian:"sl","slovenski jezik, slovenščina":"sl",sl:"sl",slv:"sl","slovenski jezik":"sl","slovenščina":"sl",somali:"so","soomaaliga, af soomaali":"so",so:"so",som:"so",soomaaliga:"so","af soomaali":"so","southern sotho":"st",sesotho:"st",st:"st",sot:"st","spanish, castilian":"es","español":"es",es:"es",spa:"es",sundanese:"su","basa sunda":"su",su:"su",sun:"su",swahili:"sw",kiswahili:"sw",sw:"sw",swa:"sw","swa + 2":"sw",swati:"ss",siswati:"ss",ss:"ss",ssw:"ss",swedish:"sv",svenska:"sv",sv:"sv",swe:"sv",tamil:"ta","தமிழ்":"ta",ta:"ta",tam:"ta",telugu:"te","తెలుగు":"te",te:"te",tel:"te",tajik:"tg","тоҷикӣ, toçikī, تاجیکی‎":"tg",tg:"tg",tgk:"tg","тоҷикӣ":"tg","toçikī":"tg","تاجیکی‎":"tg",thai:"th","ไทย":"th",th:"th",tha:"th",tigrinya:"ti","ትግርኛ":"ti",ti:"ti",tir:"ti",tibetan:"bo","བོད་ཡིག":"bo",bo:"bo",bod:"bo",tib:"bo",turkmen:"tk","türkmen, түркмен":"tk",tk:"tk",tuk:"tk","türkmen":"tk","түркмен":"tk",tagalog:"tl","wikang tagalog":"tl",tl:"tl",tgl:"tl",tswana:"tn",setswana:"tn",tn:"tn",tsn:"tn","tonga (tonga islands)":"to","faka tonga":"to",to:"to",ton:"to",turkish:"tr","türkçe":"tr",tr:"tr",tur:"tr",tsonga:"ts",xitsonga:"ts",ts:"ts",tso:"ts",tatar:"tt","татар теле, tatar tele":"tt",tt:"tt",tat:"tt","татар теле":"tt","tatar tele":"tt",twi:"tw",tw:"tw",tahitian:"ty","reo tahiti":"ty",ty:"ty",tah:"ty","uighur, uyghur":"ug","ئۇيغۇرچە‎, uyghurche":"ug",ug:"ug",uig:"ug","ئۇيغۇرچە‎":"ug",uyghurche:"ug",ukrainian:"uk","українська":"uk",uk:"uk",ukr:"uk",urdu:"ur","اردو":"ur",ur:"ur",urd:"ur",uzbek:"uz","oʻzbek, ўзбек, أۇزبېك‎":"uz",uz:"uz",uzb:"uz","uzb + 2":"uz","oʻzbek":"uz","ўзбек":"uz","أۇزبېك‎":"uz",venda:"ve","tshivenḓa":"ve",ve:"ve",ven:"ve",vietnamese:"vi","tiếng việt":"vi",vi:"vi",vie:"vi","volapük":"vo",vo:"vo",vol:"vo",walloon:"wa",walon:"wa",wa:"wa",wln:"wa",welsh:"cy",cymraeg:"cy",cy:"cy",cym:"cy",wel:"cy",wolof:"wo",wollof:"wo",wo:"wo",wol:"wo","western frisian":"fy",frysk:"fy",fy:"fy",fry:"fy",xhosa:"xh",isixhosa:"xh",xh:"xh",xho:"xh",yiddish:"yi","ייִדיש":"yi",yi:"yi",yid:"yi","yid + 2":"yi",yoruba:"yo","yorùbá":"yo",yo:"yo",yor:"yo","zhuang, chuang":"za","saɯ cueŋƅ, saw cuengh":"za",za:"za",zha:"za","zha + 16":"za","saɯ cueŋƅ":"za","saw cuengh":"za",zulu:"zu",isizulu:"zu",zu:"zu",zul:"zu"};function reduce(from){return reductions[from.toLowerCase()]}var reduceTo6391={reduce:reduce,reductions:reductions};const array_box_if_string=n=>typeof n==="string"?[n]:n;const weighted_rand_select=(options,probability_property="probability")=>{if(!Array.isArray(options)){throw new TypeError("options must be a non-empty array of objects")}if(!(typeof options[0]==="object")){throw new TypeError("options must be a non-empty array of objects")}const frand=cap=>Math.random()*cap,or_one=item=>item===undefined?1:item,prob_sum=options.reduce(((acc,val)=>acc+or_one(val[probability_property])),0),rnd=frand(prob_sum);let cursor=0,cursor_sum=0;while((cursor_sum+=or_one(options[cursor++][probability_property]))<=rnd){}return options[cursor-1]};function seq(n){if(!Number.isInteger(n)){throw new TypeError("seq/1 takes a non-negative integer n as an argument")}if(n<0){throw new TypeError("seq/1 takes a non-negative integer n as an argument")}return new Array(n).fill(true).map(((_,i)=>i))}const histograph=ar=>ar.sort().reduce(((m,v)=>(m.set(v,m.has(v)?m.get(v)+1:1),m)),new Map);const weighted_sample_select=(n,options,probability_property)=>seq(n).map((_i=>weighted_rand_select(options,probability_property)));const weighted_histo_key=(n,opts,prob_prop,extract)=>histograph(weighted_sample_select(n,opts,prob_prop).map((s=>s[extract])));const hook_name=(from,to)=>JSON.stringify([from,to]);const named_hook_name=(from,to,action)=>JSON.stringify([from,to,action]);const gviz_shapes=["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=gviz_shapes;const named_colors=["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"];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;i"),peg$c128="->",peg$c129=peg$literalExpectation("->",false),peg$c130="→",peg$c131=peg$literalExpectation("→",false),peg$c132=function(){return"->"},peg$c133=peg$otherExpectation("two way light arrow <->"),peg$c134="<->",peg$c135=peg$literalExpectation("<->",false),peg$c136="↔",peg$c137=peg$literalExpectation("↔",false),peg$c138=function(){return"<->"},peg$c139=peg$otherExpectation("back light arrow <-"),peg$c140="<-",peg$c141=peg$literalExpectation("<-",false),peg$c142="←",peg$c143=peg$literalExpectation("←",false),peg$c144=function(){return"<-"},peg$c145=peg$otherExpectation("forward fat arrow =>"),peg$c146="=>",peg$c147=peg$literalExpectation("=>",false),peg$c148="⇒",peg$c149=peg$literalExpectation("⇒",false),peg$c150=function(){return"=>"},peg$c151=peg$otherExpectation("two way fat arrow <=>"),peg$c152="<=>",peg$c153=peg$literalExpectation("<=>",false),peg$c154="⇔",peg$c155=peg$literalExpectation("⇔",false),peg$c156=function(){return"<=>"},peg$c157=peg$otherExpectation("back fat arrow <="),peg$c158="<=",peg$c159=peg$literalExpectation("<=",false),peg$c160="⇐",peg$c161=peg$literalExpectation("⇐",false),peg$c162=function(){return"<="},peg$c163=peg$otherExpectation("forward tilde arrow ~>"),peg$c164="~>",peg$c165=peg$literalExpectation("~>",false),peg$c166="↛",peg$c167=peg$literalExpectation("↛",false),peg$c168=function(){return"~>"},peg$c169=peg$otherExpectation("two way tilde arrow <~>"),peg$c170="<~>",peg$c171=peg$literalExpectation("<~>",false),peg$c172="↮",peg$c173=peg$literalExpectation("↮",false),peg$c174=function(){return"<~>"},peg$c175=peg$otherExpectation("back tilde arrow <~"),peg$c176="<~",peg$c177=peg$literalExpectation("<~",false),peg$c178="↚",peg$c179=peg$literalExpectation("↚",false),peg$c180=function(){return"<~"},peg$c181=peg$otherExpectation("light fat arrow <-=>"),peg$c182="<-=>",peg$c183=peg$literalExpectation("<-=>",false),peg$c184="←⇒",peg$c185=peg$literalExpectation("←⇒",false),peg$c186=function(){return"<-=>"},peg$c187=peg$otherExpectation("light tilde arrow <-~>"),peg$c188="<-~>",peg$c189=peg$literalExpectation("<-~>",false),peg$c190="←↛",peg$c191=peg$literalExpectation("←↛",false),peg$c192=function(){return"<-~>"},peg$c193=peg$otherExpectation("fat light arrow <=->"),peg$c194="<=->",peg$c195=peg$literalExpectation("<=->",false),peg$c196="⇐→",peg$c197=peg$literalExpectation("⇐→",false),peg$c198=function(){return"<=->"},peg$c199=peg$otherExpectation("fat tilde arrow <=~>"),peg$c200="<=~>",peg$c201=peg$literalExpectation("<=~>",false),peg$c202="⇐↛",peg$c203=peg$literalExpectation("⇐↛",false),peg$c204=function(){return"<=~>"},peg$c205=peg$otherExpectation("tilde light arrow <~->"),peg$c206="<~->",peg$c207=peg$literalExpectation("<~->",false),peg$c208="↚→",peg$c209=peg$literalExpectation("↚→",false),peg$c210=function(){return"<~->"},peg$c211=peg$otherExpectation("tilde fat arrow <~=>"),peg$c212="<~=>",peg$c213=peg$literalExpectation("<~=>",false),peg$c214="↚⇒",peg$c215=peg$literalExpectation("↚⇒",false),peg$c216=function(){return"<~=>"},peg$c217=peg$otherExpectation("light arrow"),peg$c218=peg$otherExpectation("fat arrow"),peg$c219=peg$otherExpectation("tilde arrow"),peg$c220=peg$otherExpectation("mixed arrow"),peg$c221=peg$otherExpectation("arrow"),peg$c222="true",peg$c223=peg$literalExpectation("true",false),peg$c225="false",peg$c226=peg$literalExpectation("false",false),peg$c228="regular",peg$c229=peg$literalExpectation("regular",false),peg$c230="rounded",peg$c231=peg$literalExpectation("rounded",false),peg$c232="lined",peg$c233=peg$literalExpectation("lined",false),peg$c234="solid",peg$c235=peg$literalExpectation("solid",false),peg$c236="dotted",peg$c237=peg$literalExpectation("dotted",false),peg$c238="dashed",peg$c239=peg$literalExpectation("dashed",false),peg$c240=/^[0-9a-fA-F]/,peg$c241=peg$classExpectation([["0","9"],["a","f"],["A","F"]],false,false),peg$c242='"',peg$c243=peg$literalExpectation('"',false),peg$c244="\\",peg$c245=peg$literalExpectation("\\",false),peg$c246="/",peg$c247=peg$literalExpectation("/",false),peg$c248="b",peg$c249=peg$literalExpectation("b",false),peg$c250=function(){return"\b"},peg$c251="f",peg$c252=peg$literalExpectation("f",false),peg$c253=function(){return"\f"},peg$c254="n",peg$c255=peg$literalExpectation("n",false),peg$c256=function(){return"\n"},peg$c257="r",peg$c258=peg$literalExpectation("r",false),peg$c259=function(){return"\r"},peg$c260="t",peg$c261=peg$literalExpectation("t",false),peg$c262=function(){return"\t"},peg$c263="v",peg$c264=peg$literalExpectation("v",false),peg$c265=function(){return"\v"},peg$c266="u",peg$c267=peg$literalExpectation("u",false),peg$c268=function(digits){return String.fromCharCode(parseInt(digits,16))},peg$c269=function(Sequence){return Sequence},peg$c270=/^[ -!#-[\]-\u10FFFF]/,peg$c271=peg$classExpectation([[" ","!"],["#","["],["]","ჿ"],"F","F"],false,false),peg$c272="'",peg$c273=peg$literalExpectation("'",false),peg$c274=/^[ -&(-[\]-\u10FFFF]/,peg$c275=peg$classExpectation([[" ","&"],["(","["],["]","ჿ"],"F","F"],false,false),peg$c276=peg$otherExpectation("action label"),peg$c277=function(chars){return chars.join("")},peg$c278=/^[\n\r\u2028\u2029]/,peg$c279=peg$classExpectation(["\n","\r","\u2028","\u2029"],false,false),peg$c282="*/",peg$c283=peg$literalExpectation("*/",false),peg$c284=peg$anyExpectation(),peg$c285=peg$otherExpectation("block comment"),peg$c286="/*",peg$c287=peg$literalExpectation("/*",false),peg$c288=peg$otherExpectation("line comment"),peg$c289="//",peg$c290=peg$literalExpectation("//",false),peg$c291=peg$otherExpectation("whitespace"),peg$c292=/^[ \t\r\n\x0B]/,peg$c293=peg$classExpectation([" ","\t","\r","\n","\v"],false,false),peg$c294=peg$otherExpectation("string"),peg$c295=/^[0-9a-zA-Z._!$\^*!?,\x80-\uFFFF]/,peg$c296=peg$classExpectation([["0","9"],["a","z"],["A","Z"],".","_","!","$","^","*","!","?",",",["€","￿"]],false,false),peg$c297=/^[0-9a-zA-Z.+=_\^()*&$#@!?,\x80-\uFFFF]/,peg$c298=peg$classExpectation([["0","9"],["a","z"],["A","Z"],".","+","=","_","^","(",")","*","&","$","#","@","!","?",",",["€","￿"]],false,false),peg$c299=peg$otherExpectation("atom"),peg$c300=function(firstletter,text){return firstletter+(text||[]).join("")},peg$c301=peg$otherExpectation("label"),peg$c302="0",peg$c303=peg$literalExpectation("0",false),peg$c304=/^[0-9]/,peg$c305=peg$classExpectation([["0","9"]],false,false),peg$c306=/^[1-9]/,peg$c307=peg$classExpectation([["1","9"]],false,false),peg$c308=peg$otherExpectation("nonneg number"),peg$c309=".",peg$c310=peg$literalExpectation(".",false),peg$c311=function(){return parseFloat(text())},peg$c312=function(major,minor,patch){return{major:parseInt(major,10),minor:parseInt(minor,10),patch:parseInt(patch,10),full:text()}},peg$c323="http://",peg$c324=peg$literalExpectation("http://",false),peg$c325="https://",peg$c326=peg$literalExpectation("https://",false),peg$c327=/^[a-zA-Z0-9!*'():;@&=+$,\/?#[\]_.~\-]/,peg$c328=peg$classExpectation([["a","z"],["A","Z"],["0","9"],"!","*","'","(",")",":",";","@","&","=","+","$",",","/","?","#","[","]","_",".","~","-"],false,false),peg$c329=function(protocol){return text()},peg$c330="aliceblue",peg$c331=peg$literalExpectation("aliceblue",false),peg$c332=function(){return"#f0f8ffff"},peg$c333="AliceBlue",peg$c334=peg$literalExpectation("AliceBlue",false),peg$c335="antiquewhite",peg$c336=peg$literalExpectation("antiquewhite",false),peg$c337=function(){return"#faebd7ff"},peg$c338="AntiqueWhite",peg$c339=peg$literalExpectation("AntiqueWhite",false),peg$c340="aquamarine",peg$c341=peg$literalExpectation("aquamarine",false),peg$c342=function(){return"#7fffd4ff"},peg$c343="Aquamarine",peg$c344=peg$literalExpectation("Aquamarine",false),peg$c345="aqua",peg$c346=peg$literalExpectation("aqua",false),peg$c347=function(){return"#00ffffff"},peg$c348="Aqua",peg$c349=peg$literalExpectation("Aqua",false),peg$c350="azure",peg$c351=peg$literalExpectation("azure",false),peg$c352=function(){return"#f0ffffff"},peg$c353="Azure",peg$c354=peg$literalExpectation("Azure",false),peg$c355="beige",peg$c356=peg$literalExpectation("beige",false),peg$c357=function(){return"#f5f5dcff"},peg$c358="Beige",peg$c359=peg$literalExpectation("Beige",false),peg$c360="bisque",peg$c361=peg$literalExpectation("bisque",false),peg$c362=function(){return"#ffe4c4ff"},peg$c363="Bisque",peg$c364=peg$literalExpectation("Bisque",false),peg$c365="black",peg$c366=peg$literalExpectation("black",false),peg$c367=function(){return"#000000ff"},peg$c368="Black",peg$c369=peg$literalExpectation("Black",false),peg$c370="blanchedalmond",peg$c371=peg$literalExpectation("blanchedalmond",false),peg$c372=function(){return"#ffebcdff"},peg$c373="BlanchedAlmond",peg$c374=peg$literalExpectation("BlanchedAlmond",false),peg$c375="blueviolet",peg$c376=peg$literalExpectation("blueviolet",false),peg$c377=function(){return"#8a2be2ff"},peg$c378="BlueViolet",peg$c379=peg$literalExpectation("BlueViolet",false),peg$c380="blue",peg$c381=peg$literalExpectation("blue",false),peg$c382=function(){return"#0000ffff"},peg$c383="Blue",peg$c384=peg$literalExpectation("Blue",false),peg$c385="brown",peg$c386=peg$literalExpectation("brown",false),peg$c387=function(){return"#a52a2aff"},peg$c388="Brown",peg$c389=peg$literalExpectation("Brown",false),peg$c390="burlywood",peg$c391=peg$literalExpectation("burlywood",false),peg$c392=function(){return"#deb887ff"},peg$c393="BurlyWood",peg$c394=peg$literalExpectation("BurlyWood",false),peg$c395="cadetblue",peg$c396=peg$literalExpectation("cadetblue",false),peg$c397=function(){return"#5f9ea0ff"},peg$c398="CadetBlue",peg$c399=peg$literalExpectation("CadetBlue",false),peg$c400="chartreuse",peg$c401=peg$literalExpectation("chartreuse",false),peg$c402=function(){return"#7fff00ff"},peg$c403="Chartreuse",peg$c404=peg$literalExpectation("Chartreuse",false),peg$c405="chocolate",peg$c406=peg$literalExpectation("chocolate",false),peg$c407=function(){return"#d2691eff"},peg$c408="Chocolate",peg$c409=peg$literalExpectation("Chocolate",false),peg$c410="coral",peg$c411=peg$literalExpectation("coral",false),peg$c412=function(){return"#ff7f50ff"},peg$c413="Coral",peg$c414=peg$literalExpectation("Coral",false),peg$c415="cornflowerblue",peg$c416=peg$literalExpectation("cornflowerblue",false),peg$c417=function(){return"#6495edff"},peg$c418="CornflowerBlue",peg$c419=peg$literalExpectation("CornflowerBlue",false),peg$c420="cornsilk",peg$c421=peg$literalExpectation("cornsilk",false),peg$c422=function(){return"#fff8dcff"},peg$c423="Cornsilk",peg$c424=peg$literalExpectation("Cornsilk",false),peg$c425="crimson",peg$c426=peg$literalExpectation("crimson",false),peg$c427=function(){return"#dc143cff"},peg$c428="Crimson",peg$c429=peg$literalExpectation("Crimson",false),peg$c430="cyan",peg$c431=peg$literalExpectation("cyan",false),peg$c432="Cyan",peg$c433=peg$literalExpectation("Cyan",false),peg$c434="darkblue",peg$c435=peg$literalExpectation("darkblue",false),peg$c436=function(){return"#00008bff"},peg$c437="DarkBlue",peg$c438=peg$literalExpectation("DarkBlue",false),peg$c439="darkcyan",peg$c440=peg$literalExpectation("darkcyan",false),peg$c441=function(){return"#008b8bff"},peg$c442="DarkCyan",peg$c443=peg$literalExpectation("DarkCyan",false),peg$c444="darkgoldenrod",peg$c445=peg$literalExpectation("darkgoldenrod",false),peg$c446=function(){return"#b8860bff"},peg$c447="DarkGoldenRod",peg$c448=peg$literalExpectation("DarkGoldenRod",false),peg$c449="darkgray",peg$c450=peg$literalExpectation("darkgray",false),peg$c451=function(){return"#a9a9a9ff"},peg$c452="DarkGray",peg$c453=peg$literalExpectation("DarkGray",false),peg$c454="darkgrey",peg$c455=peg$literalExpectation("darkgrey",false),peg$c456="DarkGrey",peg$c457=peg$literalExpectation("DarkGrey",false),peg$c458="darkgreen",peg$c459=peg$literalExpectation("darkgreen",false),peg$c460=function(){return"#006400ff"},peg$c461="DarkGreen",peg$c462=peg$literalExpectation("DarkGreen",false),peg$c463="darkkhaki",peg$c464=peg$literalExpectation("darkkhaki",false),peg$c465=function(){return"#bdb76bff"},peg$c466="DarkKhaki",peg$c467=peg$literalExpectation("DarkKhaki",false),peg$c468="darkmagenta",peg$c469=peg$literalExpectation("darkmagenta",false),peg$c470=function(){return"#8b008bff"},peg$c471="DarkMagenta",peg$c472=peg$literalExpectation("DarkMagenta",false),peg$c473="darkolivegreen",peg$c474=peg$literalExpectation("darkolivegreen",false),peg$c475=function(){return"#556b2fff"},peg$c476="DarkOliveGreen",peg$c477=peg$literalExpectation("DarkOliveGreen",false),peg$c478="darkorange",peg$c479=peg$literalExpectation("darkorange",false),peg$c480=function(){return"#ff8c00ff"},peg$c481="Darkorange",peg$c482=peg$literalExpectation("Darkorange",false),peg$c483="darkorchid",peg$c484=peg$literalExpectation("darkorchid",false),peg$c485=function(){return"#9932ccff"},peg$c486="DarkOrchid",peg$c487=peg$literalExpectation("DarkOrchid",false),peg$c488="darkred",peg$c489=peg$literalExpectation("darkred",false),peg$c490=function(){return"#8b0000ff"},peg$c491="DarkRed",peg$c492=peg$literalExpectation("DarkRed",false),peg$c493="darksalmon",peg$c494=peg$literalExpectation("darksalmon",false),peg$c495=function(){return"#e9967aff"},peg$c496="DarkSalmon",peg$c497=peg$literalExpectation("DarkSalmon",false),peg$c498="darkseagreen",peg$c499=peg$literalExpectation("darkseagreen",false),peg$c500=function(){return"#8fbc8fff"},peg$c501="DarkSeaGreen",peg$c502=peg$literalExpectation("DarkSeaGreen",false),peg$c503="darkslateblue",peg$c504=peg$literalExpectation("darkslateblue",false),peg$c505=function(){return"#483d8bff"},peg$c506="DarkSlateBlue",peg$c507=peg$literalExpectation("DarkSlateBlue",false),peg$c508="darkslategray",peg$c509=peg$literalExpectation("darkslategray",false),peg$c510=function(){return"#2f4f4fff"},peg$c511="DarkSlateGray",peg$c512=peg$literalExpectation("DarkSlateGray",false),peg$c513="darkslategrey",peg$c514=peg$literalExpectation("darkslategrey",false),peg$c515="DarkSlateGrey",peg$c516=peg$literalExpectation("DarkSlateGrey",false),peg$c517="darkturquoise",peg$c518=peg$literalExpectation("darkturquoise",false),peg$c519=function(){return"#00ced1ff"},peg$c520="DarkTurquoise",peg$c521=peg$literalExpectation("DarkTurquoise",false),peg$c522="darkviolet",peg$c523=peg$literalExpectation("darkviolet",false),peg$c524=function(){return"#9400d3ff"},peg$c525="DarkViolet",peg$c526=peg$literalExpectation("DarkViolet",false),peg$c527="deeppink",peg$c528=peg$literalExpectation("deeppink",false),peg$c529=function(){return"#ff1493ff"},peg$c530="DeepPink",peg$c531=peg$literalExpectation("DeepPink",false),peg$c532="deepskyblue",peg$c533=peg$literalExpectation("deepskyblue",false),peg$c534=function(){return"#00bfffff"},peg$c535="DeepSkyBlue",peg$c536=peg$literalExpectation("DeepSkyBlue",false),peg$c537="dimgray",peg$c538=peg$literalExpectation("dimgray",false),peg$c539=function(){return"#696969ff"},peg$c540="DimGray",peg$c541=peg$literalExpectation("DimGray",false),peg$c542="dimgrey",peg$c543=peg$literalExpectation("dimgrey",false),peg$c544="DimGrey",peg$c545=peg$literalExpectation("DimGrey",false),peg$c546="dodgerblue",peg$c547=peg$literalExpectation("dodgerblue",false),peg$c548=function(){return"#1e90ffff"},peg$c549="DodgerBlue",peg$c550=peg$literalExpectation("DodgerBlue",false),peg$c551="firebrick",peg$c552=peg$literalExpectation("firebrick",false),peg$c553=function(){return"#b22222ff"},peg$c554="FireBrick",peg$c555=peg$literalExpectation("FireBrick",false),peg$c556="floralwhite",peg$c557=peg$literalExpectation("floralwhite",false),peg$c558=function(){return"#fffaf0ff"},peg$c559="FloralWhite",peg$c560=peg$literalExpectation("FloralWhite",false),peg$c561="forestgreen",peg$c562=peg$literalExpectation("forestgreen",false),peg$c563=function(){return"#228b22ff"},peg$c564="ForestGreen",peg$c565=peg$literalExpectation("ForestGreen",false),peg$c566="fuchsia",peg$c567=peg$literalExpectation("fuchsia",false),peg$c568=function(){return"#ff00ffff"},peg$c569="Fuchsia",peg$c570=peg$literalExpectation("Fuchsia",false),peg$c571="gainsboro",peg$c572=peg$literalExpectation("gainsboro",false),peg$c573=function(){return"#dcdcdcff"},peg$c574="Gainsboro",peg$c575=peg$literalExpectation("Gainsboro",false),peg$c576="ghostwhite",peg$c577=peg$literalExpectation("ghostwhite",false),peg$c578=function(){return"#f8f8ffff"},peg$c579="GhostWhite",peg$c580=peg$literalExpectation("GhostWhite",false),peg$c581="goldenrod",peg$c582=peg$literalExpectation("goldenrod",false),peg$c583=function(){return"#daa520ff"},peg$c584="GoldenRod",peg$c585=peg$literalExpectation("GoldenRod",false),peg$c586="gold",peg$c587=peg$literalExpectation("gold",false),peg$c588=function(){return"#ffd700ff"},peg$c589="Gold",peg$c590=peg$literalExpectation("Gold",false),peg$c591="gray",peg$c592=peg$literalExpectation("gray",false),peg$c593=function(){return"#808080ff"},peg$c594="Gray",peg$c595=peg$literalExpectation("Gray",false),peg$c596="grey",peg$c597=peg$literalExpectation("grey",false),peg$c598="Grey",peg$c599=peg$literalExpectation("Grey",false),peg$c600="greenyellow",peg$c601=peg$literalExpectation("greenyellow",false),peg$c602=function(){return"#adff2fff"},peg$c603="GreenYellow",peg$c604=peg$literalExpectation("GreenYellow",false),peg$c605="green",peg$c606=peg$literalExpectation("green",false),peg$c607=function(){return"#008000ff"},peg$c608="Green",peg$c609=peg$literalExpectation("Green",false),peg$c610="honeydew",peg$c611=peg$literalExpectation("honeydew",false),peg$c612=function(){return"#f0fff0ff"},peg$c613="HoneyDew",peg$c614=peg$literalExpectation("HoneyDew",false),peg$c615="hotpink",peg$c616=peg$literalExpectation("hotpink",false),peg$c617=function(){return"#ff69b4ff"},peg$c618="HotPink",peg$c619=peg$literalExpectation("HotPink",false),peg$c620="indianred",peg$c621=peg$literalExpectation("indianred",false),peg$c622=function(){return"#cd5c5cff"},peg$c623="IndianRed",peg$c624=peg$literalExpectation("IndianRed",false),peg$c625="indigo",peg$c626=peg$literalExpectation("indigo",false),peg$c627=function(){return"#4b0082ff"},peg$c628="Indigo",peg$c629=peg$literalExpectation("Indigo",false),peg$c630="ivory",peg$c631=peg$literalExpectation("ivory",false),peg$c632=function(){return"#fffff0ff"},peg$c633="Ivory",peg$c634=peg$literalExpectation("Ivory",false),peg$c635="khaki",peg$c636=peg$literalExpectation("khaki",false),peg$c637=function(){return"#f0e68cff"},peg$c638="Khaki",peg$c639=peg$literalExpectation("Khaki",false),peg$c640="lavenderblush",peg$c641=peg$literalExpectation("lavenderblush",false),peg$c642=function(){return"#fff0f5ff"},peg$c643="LavenderBlush",peg$c644=peg$literalExpectation("LavenderBlush",false),peg$c645="lavender",peg$c646=peg$literalExpectation("lavender",false),peg$c647=function(){return"#e6e6faff"},peg$c648="Lavender",peg$c649=peg$literalExpectation("Lavender",false),peg$c650="lawngreen",peg$c651=peg$literalExpectation("lawngreen",false),peg$c652=function(){return"#7cfc00ff"},peg$c653="LawnGreen",peg$c654=peg$literalExpectation("LawnGreen",false),peg$c655="lemonchiffon",peg$c656=peg$literalExpectation("lemonchiffon",false),peg$c657=function(){return"#fffacdff"},peg$c658="LemonChiffon",peg$c659=peg$literalExpectation("LemonChiffon",false),peg$c660="lightblue",peg$c661=peg$literalExpectation("lightblue",false),peg$c662=function(){return"#add8e6ff"},peg$c663="LightBlue",peg$c664=peg$literalExpectation("LightBlue",false),peg$c665="lightcoral",peg$c666=peg$literalExpectation("lightcoral",false),peg$c667=function(){return"#f08080ff"},peg$c668="LightCoral",peg$c669=peg$literalExpectation("LightCoral",false),peg$c670="lightcyan",peg$c671=peg$literalExpectation("lightcyan",false),peg$c672=function(){return"#e0ffffff"},peg$c673="LightCyan",peg$c674=peg$literalExpectation("LightCyan",false),peg$c675="lightgoldenrodyellow",peg$c676=peg$literalExpectation("lightgoldenrodyellow",false),peg$c677=function(){return"#fafad2ff"},peg$c678="LightGoldenRodYellow",peg$c679=peg$literalExpectation("LightGoldenRodYellow",false),peg$c680="lightgray",peg$c681=peg$literalExpectation("lightgray",false),peg$c682=function(){return"#d3d3d3ff"},peg$c683="LightGray",peg$c684=peg$literalExpectation("LightGray",false),peg$c685="lightgrey",peg$c686=peg$literalExpectation("lightgrey",false),peg$c687="LightGrey",peg$c688=peg$literalExpectation("LightGrey",false),peg$c689="lightgreen",peg$c690=peg$literalExpectation("lightgreen",false),peg$c691=function(){return"#90ee90ff"},peg$c692="LightGreen",peg$c693=peg$literalExpectation("LightGreen",false),peg$c694="lightpink",peg$c695=peg$literalExpectation("lightpink",false),peg$c696=function(){return"#ffb6c1ff"},peg$c697="LightPink",peg$c698=peg$literalExpectation("LightPink",false),peg$c699="lightsalmon",peg$c700=peg$literalExpectation("lightsalmon",false),peg$c701=function(){return"#ffa07aff"},peg$c702="LightSalmon",peg$c703=peg$literalExpectation("LightSalmon",false),peg$c704="lightseagreen",peg$c705=peg$literalExpectation("lightseagreen",false),peg$c706=function(){return"#20b2aaff"},peg$c707="LightSeaGreen",peg$c708=peg$literalExpectation("LightSeaGreen",false),peg$c709="lightskyblue",peg$c710=peg$literalExpectation("lightskyblue",false),peg$c711=function(){return"#87cefaff"},peg$c712="LightSkyBlue",peg$c713=peg$literalExpectation("LightSkyBlue",false),peg$c714="lightslategray",peg$c715=peg$literalExpectation("lightslategray",false),peg$c716=function(){return"#778899ff"},peg$c717="LightSlateGray",peg$c718=peg$literalExpectation("LightSlateGray",false),peg$c719="lightslategrey",peg$c720=peg$literalExpectation("lightslategrey",false),peg$c721="LightSlateGrey",peg$c722=peg$literalExpectation("LightSlateGrey",false),peg$c723="lightsteelblue",peg$c724=peg$literalExpectation("lightsteelblue",false),peg$c725=function(){return"#b0c4deff"},peg$c726="LightSteelBlue",peg$c727=peg$literalExpectation("LightSteelBlue",false),peg$c728="lightyellow",peg$c729=peg$literalExpectation("lightyellow",false),peg$c730=function(){return"#ffffe0ff"},peg$c731="LightYellow",peg$c732=peg$literalExpectation("LightYellow",false),peg$c733="limegreen",peg$c734=peg$literalExpectation("limegreen",false),peg$c735=function(){return"#32cd32ff"},peg$c736="LimeGreen",peg$c737=peg$literalExpectation("LimeGreen",false),peg$c738="lime",peg$c739=peg$literalExpectation("lime",false),peg$c740=function(){return"#00ff00ff"},peg$c741="Lime",peg$c742=peg$literalExpectation("Lime",false),peg$c743="linen",peg$c744=peg$literalExpectation("linen",false),peg$c745=function(){return"#faf0e6ff"},peg$c746="Linen",peg$c747=peg$literalExpectation("Linen",false),peg$c748="magenta",peg$c749=peg$literalExpectation("magenta",false),peg$c750="Magenta",peg$c751=peg$literalExpectation("Magenta",false),peg$c752="maroon",peg$c753=peg$literalExpectation("maroon",false),peg$c754=function(){return"#800000ff"},peg$c755="Maroon",peg$c756=peg$literalExpectation("Maroon",false),peg$c757="mediumaquamarine",peg$c758=peg$literalExpectation("mediumaquamarine",false),peg$c759=function(){return"#66cdaaff"},peg$c760="MediumAquaMarine",peg$c761=peg$literalExpectation("MediumAquaMarine",false),peg$c762="mediumblue",peg$c763=peg$literalExpectation("mediumblue",false),peg$c764=function(){return"#0000cdff"},peg$c765="MediumBlue",peg$c766=peg$literalExpectation("MediumBlue",false),peg$c767="mediumorchid",peg$c768=peg$literalExpectation("mediumorchid",false),peg$c769=function(){return"#ba55d3ff"},peg$c770="MediumOrchid",peg$c771=peg$literalExpectation("MediumOrchid",false),peg$c772="mediumpurple",peg$c773=peg$literalExpectation("mediumpurple",false),peg$c774=function(){return"#9370d8ff"},peg$c775="MediumPurple",peg$c776=peg$literalExpectation("MediumPurple",false),peg$c777="mediumseagreen",peg$c778=peg$literalExpectation("mediumseagreen",false),peg$c779=function(){return"#3cb371ff"},peg$c780="MediumSeaGreen",peg$c781=peg$literalExpectation("MediumSeaGreen",false),peg$c782="mediumslateblue",peg$c783=peg$literalExpectation("mediumslateblue",false),peg$c784=function(){return"#7b68eeff"},peg$c785="MediumSlateBlue",peg$c786=peg$literalExpectation("MediumSlateBlue",false),peg$c787="mediumspringgreen",peg$c788=peg$literalExpectation("mediumspringgreen",false),peg$c789=function(){return"#00fa9aff"},peg$c790="MediumSpringGreen",peg$c791=peg$literalExpectation("MediumSpringGreen",false),peg$c792="mediumturquoise",peg$c793=peg$literalExpectation("mediumturquoise",false),peg$c794=function(){return"#48d1ccff"},peg$c795="MediumTurquoise",peg$c796=peg$literalExpectation("MediumTurquoise",false),peg$c797="mediumvioletred",peg$c798=peg$literalExpectation("mediumvioletred",false),peg$c799=function(){return"#c71585ff"},peg$c800="MediumVioletRed",peg$c801=peg$literalExpectation("MediumVioletRed",false),peg$c802="midnightblue",peg$c803=peg$literalExpectation("midnightblue",false),peg$c804=function(){return"#191970ff"},peg$c805="MidnightBlue",peg$c806=peg$literalExpectation("MidnightBlue",false),peg$c807="mintcream",peg$c808=peg$literalExpectation("mintcream",false),peg$c809=function(){return"#f5fffaff"},peg$c810="MintCream",peg$c811=peg$literalExpectation("MintCream",false),peg$c812="mistyrose",peg$c813=peg$literalExpectation("mistyrose",false),peg$c814=function(){return"#ffe4e1ff"},peg$c815="MistyRose",peg$c816=peg$literalExpectation("MistyRose",false),peg$c817="moccasin",peg$c818=peg$literalExpectation("moccasin",false),peg$c819=function(){return"#ffe4b5ff"},peg$c820="Moccasin",peg$c821=peg$literalExpectation("Moccasin",false),peg$c822="navajowhite",peg$c823=peg$literalExpectation("navajowhite",false),peg$c824=function(){return"#ffdeadff"},peg$c825="NavajoWhite",peg$c826=peg$literalExpectation("NavajoWhite",false),peg$c827="navy",peg$c828=peg$literalExpectation("navy",false),peg$c829=function(){return"#000080ff"},peg$c830="Navy",peg$c831=peg$literalExpectation("Navy",false),peg$c832="oldlace",peg$c833=peg$literalExpectation("oldlace",false),peg$c834=function(){return"#fdf5e6ff"},peg$c835="OldLace",peg$c836=peg$literalExpectation("OldLace",false),peg$c837="olivedrab",peg$c838=peg$literalExpectation("olivedrab",false),peg$c839=function(){return"#6b8e23ff"},peg$c840="OliveDrab",peg$c841=peg$literalExpectation("OliveDrab",false),peg$c842="olive",peg$c843=peg$literalExpectation("olive",false),peg$c844=function(){return"#808000ff"},peg$c845="Olive",peg$c846=peg$literalExpectation("Olive",false),peg$c847="orangered",peg$c848=peg$literalExpectation("orangered",false),peg$c849=function(){return"#ff4500ff"},peg$c850="OrangeRed",peg$c851=peg$literalExpectation("OrangeRed",false),peg$c852="orange",peg$c853=peg$literalExpectation("orange",false),peg$c854=function(){return"#ffa500ff"},peg$c855="Orange",peg$c856=peg$literalExpectation("Orange",false),peg$c857="orchid",peg$c858=peg$literalExpectation("orchid",false),peg$c859=function(){return"#da70d6ff"},peg$c860="Orchid",peg$c861=peg$literalExpectation("Orchid",false),peg$c862="palegoldenrod",peg$c863=peg$literalExpectation("palegoldenrod",false),peg$c864=function(){return"#eee8aaff"},peg$c865="PaleGoldenRod",peg$c866=peg$literalExpectation("PaleGoldenRod",false),peg$c867="palegreen",peg$c868=peg$literalExpectation("palegreen",false),peg$c869=function(){return"#98fb98ff"},peg$c870="PaleGreen",peg$c871=peg$literalExpectation("PaleGreen",false),peg$c872="paleturquoise",peg$c873=peg$literalExpectation("paleturquoise",false),peg$c874=function(){return"#afeeeeff"},peg$c875="PaleTurquoise",peg$c876=peg$literalExpectation("PaleTurquoise",false),peg$c877="palevioletred",peg$c878=peg$literalExpectation("palevioletred",false),peg$c879=function(){return"#d87093ff"},peg$c880="PaleVioletRed",peg$c881=peg$literalExpectation("PaleVioletRed",false),peg$c882="papayawhip",peg$c883=peg$literalExpectation("papayawhip",false),peg$c884=function(){return"#ffefd5ff"},peg$c885="PapayaWhip",peg$c886=peg$literalExpectation("PapayaWhip",false),peg$c887="peachpuff",peg$c888=peg$literalExpectation("peachpuff",false),peg$c889=function(){return"#ffdab9ff"},peg$c890="PeachPuff",peg$c891=peg$literalExpectation("PeachPuff",false),peg$c892="peru",peg$c893=peg$literalExpectation("peru",false),peg$c894=function(){return"#cd853fff"},peg$c895="Peru",peg$c896=peg$literalExpectation("Peru",false),peg$c897="pink",peg$c898=peg$literalExpectation("pink",false),peg$c899=function(){return"#ffc0cbff"},peg$c900="Pink",peg$c901=peg$literalExpectation("Pink",false),peg$c902="plum",peg$c903=peg$literalExpectation("plum",false),peg$c904=function(){return"#dda0ddff"},peg$c905="Plum",peg$c906=peg$literalExpectation("Plum",false),peg$c907="powderblue",peg$c908=peg$literalExpectation("powderblue",false),peg$c909=function(){return"#b0e0e6ff"},peg$c910="PowderBlue",peg$c911=peg$literalExpectation("PowderBlue",false),peg$c912="purple",peg$c913=peg$literalExpectation("purple",false),peg$c914=function(){return"#800080ff"},peg$c915="Purple",peg$c916=peg$literalExpectation("Purple",false),peg$c917="red",peg$c918=peg$literalExpectation("red",false),peg$c919=function(){return"#ff0000ff"},peg$c920="Red",peg$c921=peg$literalExpectation("Red",false),peg$c922="rosybrown",peg$c923=peg$literalExpectation("rosybrown",false),peg$c924=function(){return"#bc8f8fff"},peg$c925="RosyBrown",peg$c926=peg$literalExpectation("RosyBrown",false),peg$c927="royalblue",peg$c928=peg$literalExpectation("royalblue",false),peg$c929=function(){return"#4169e1ff"},peg$c930="RoyalBlue",peg$c931=peg$literalExpectation("RoyalBlue",false),peg$c932="saddlebrown",peg$c933=peg$literalExpectation("saddlebrown",false),peg$c934=function(){return"#8b4513ff"},peg$c935="SaddleBrown",peg$c936=peg$literalExpectation("SaddleBrown",false),peg$c937="salmon",peg$c938=peg$literalExpectation("salmon",false),peg$c939=function(){return"#fa8072ff"},peg$c940="Salmon",peg$c941=peg$literalExpectation("Salmon",false),peg$c942="sandybrown",peg$c943=peg$literalExpectation("sandybrown",false),peg$c944=function(){return"#f4a460ff"},peg$c945="SandyBrown",peg$c946=peg$literalExpectation("SandyBrown",false),peg$c947="seagreen",peg$c948=peg$literalExpectation("seagreen",false),peg$c949=function(){return"#2e8b57ff"},peg$c950="SeaGreen",peg$c951=peg$literalExpectation("SeaGreen",false),peg$c952="seashell",peg$c953=peg$literalExpectation("seashell",false),peg$c954=function(){return"#fff5eeff"},peg$c955="SeaShell",peg$c956=peg$literalExpectation("SeaShell",false),peg$c957="sienna",peg$c958=peg$literalExpectation("sienna",false),peg$c959=function(){return"#a0522dff"},peg$c960="Sienna",peg$c961=peg$literalExpectation("Sienna",false),peg$c962="silver",peg$c963=peg$literalExpectation("silver",false),peg$c964=function(){return"#c0c0c0ff"},peg$c965="Silver",peg$c966=peg$literalExpectation("Silver",false),peg$c967="skyblue",peg$c968=peg$literalExpectation("skyblue",false),peg$c969=function(){return"#87ceebff"},peg$c970="SkyBlue",peg$c971=peg$literalExpectation("SkyBlue",false),peg$c972="slateblue",peg$c973=peg$literalExpectation("slateblue",false),peg$c974=function(){return"#6a5acdff"},peg$c975="SlateBlue",peg$c976=peg$literalExpectation("SlateBlue",false),peg$c977="slategray",peg$c978=peg$literalExpectation("slategray",false),peg$c979=function(){return"#708090ff"},peg$c980="SlateGray",peg$c981=peg$literalExpectation("SlateGray",false),peg$c982="slategrey",peg$c983=peg$literalExpectation("slategrey",false),peg$c984="SlateGrey",peg$c985=peg$literalExpectation("SlateGrey",false),peg$c986="snow",peg$c987=peg$literalExpectation("snow",false),peg$c988=function(){return"#fffafaff"},peg$c989="Snow",peg$c990=peg$literalExpectation("Snow",false),peg$c991="springgreen",peg$c992=peg$literalExpectation("springgreen",false),peg$c993=function(){return"#00ff7fff"},peg$c994="SpringGreen",peg$c995=peg$literalExpectation("SpringGreen",false),peg$c996="steelblue",peg$c997=peg$literalExpectation("steelblue",false),peg$c998=function(){return"#4682b4ff"},peg$c999="SteelBlue",peg$c1000=peg$literalExpectation("SteelBlue",false),peg$c1001="tan",peg$c1002=peg$literalExpectation("tan",false),peg$c1003=function(){return"#d2b48cff"},peg$c1004="Tan",peg$c1005=peg$literalExpectation("Tan",false),peg$c1006="teal",peg$c1007=peg$literalExpectation("teal",false),peg$c1008=function(){return"#008080ff"},peg$c1009="Teal",peg$c1010=peg$literalExpectation("Teal",false),peg$c1011="thistle",peg$c1012=peg$literalExpectation("thistle",false),peg$c1013=function(){return"#d8bfd8ff"},peg$c1014="Thistle",peg$c1015=peg$literalExpectation("Thistle",false),peg$c1016="tomato",peg$c1017=peg$literalExpectation("tomato",false),peg$c1018=function(){return"#ff6347ff"},peg$c1019="Tomato",peg$c1020=peg$literalExpectation("Tomato",false),peg$c1021="turquoise",peg$c1022=peg$literalExpectation("turquoise",false),peg$c1023=function(){return"#40e0d0ff"},peg$c1024="Turquoise",peg$c1025=peg$literalExpectation("Turquoise",false),peg$c1026="violet",peg$c1027=peg$literalExpectation("violet",false),peg$c1028=function(){return"#ee82eeff"},peg$c1029="Violet",peg$c1030=peg$literalExpectation("Violet",false),peg$c1031="wheat",peg$c1032=peg$literalExpectation("wheat",false),peg$c1033=function(){return"#f5deb3ff"},peg$c1034="Wheat",peg$c1035=peg$literalExpectation("Wheat",false),peg$c1036="whitesmoke",peg$c1037=peg$literalExpectation("whitesmoke",false),peg$c1038=function(){return"#f5f5f5ff"},peg$c1039="WhiteSmoke",peg$c1040=peg$literalExpectation("WhiteSmoke",false),peg$c1041="white",peg$c1042=peg$literalExpectation("white",false),peg$c1043=function(){return"#ffffffff"},peg$c1044="White",peg$c1045=peg$literalExpectation("White",false),peg$c1046="yellowgreen",peg$c1047=peg$literalExpectation("yellowgreen",false),peg$c1048=function(){return"#9acd32ff"},peg$c1049="YellowGreen",peg$c1050=peg$literalExpectation("YellowGreen",false),peg$c1051="yellow",peg$c1052=peg$literalExpectation("yellow",false),peg$c1053=function(){return"#ffff00ff"},peg$c1054="Yellow",peg$c1055=peg$literalExpectation("Yellow",false),peg$c1056=function(lab){return lab},peg$c1057="#",peg$c1058=peg$literalExpectation("#",false),peg$c1059=function(r,g,b){return`#${r}${r}${g}${g}${b}${b}ff`},peg$c1060=function(r1,r2,g1,g2,b1,b2){return`#${r1}${r2}${g1}${g2}${b1}${b2}ff`},peg$c1061=function(r,g,b,a){return`#${r}${r}${g}${g}${b}${b}${a}${a}`},peg$c1062=function(r1,r2,g1,g2,b1,b2,a1,a2){return`#${r1}${r2}${g1}${g2}${b1}${b2}${a1}${a2}`},peg$c1063=peg$otherExpectation("color"),peg$c1064="arc_label",peg$c1065=peg$literalExpectation("arc_label",false),peg$c1066="head_label",peg$c1067=peg$literalExpectation("head_label",false),peg$c1068="tail_label",peg$c1069=peg$literalExpectation("tail_label",false),peg$c1070=":",peg$c1071=peg$literalExpectation(":",false),peg$c1072=";",peg$c1073=peg$literalExpectation(";",false),peg$c1074=function(key,value){return{key:key,value:value}},peg$c1075=peg$otherExpectation("single edge color"),peg$c1076="edge_color",peg$c1077=peg$literalExpectation("edge_color",false),peg$c1078=function(value){return{key:"single_edge_color",value:value}},peg$c1079=peg$otherExpectation("transition line style"),peg$c1080="linestyle",peg$c1081=peg$literalExpectation("linestyle",false),peg$c1082=function(value){return{key:"transition_line_style",value:value}},peg$c1083="{",peg$c1084=peg$literalExpectation("{",false),peg$c1085="}",peg$c1086=peg$literalExpectation("}",false),peg$c1087=function(items){return items},peg$c1088="%",peg$c1089=peg$literalExpectation("%",false),peg$c1090=function(value){return{key:"arrow probability",value:value}},peg$c1091="[",peg$c1092=peg$literalExpectation("[",false),peg$c1093="]",peg$c1094=peg$literalExpectation("]",false),peg$c1095=function(names){return names.map((i=>i[0]))},peg$c1096="+|",peg$c1097=peg$literalExpectation("+|",false),peg$c1098=function(nzd,dd){return{key:"stripe",value:parseInt(`${nzd}${dd}`,10)}},peg$c1099="-|",peg$c1100=peg$literalExpectation("-|",false),peg$c1101=function(nzd,dd){return{key:"stripe",value:-1*parseInt(`${nzd}${dd}`,10)}},peg$c1102="+",peg$c1103=peg$literalExpectation("+",false),peg$c1104=function(nzd,dd){return{key:"cycle",value:parseInt(`${nzd}${dd}`,10)}},peg$c1105="-",peg$c1106=peg$literalExpectation("-",false),peg$c1107=function(nzd,dd){return{key:"cycle",value:-1*parseInt(`${nzd}${dd}`,10)}},peg$c1108="+0",peg$c1109=peg$literalExpectation("+0",false),peg$c1110=function(){return{key:"cycle",value:0}},peg$c1111=function(r_action,r_prob,l_desc,arrow,r_desc,l_prob,l_action,label,tail){const base={kind:arrow,to:label};if(tail&&tail!==[]){base.se=tail}if(l_desc){base.l_desc=l_desc}if(r_desc){base.r_desc=r_desc}if(l_action){base.l_action=l_action}if(r_action){base.r_action=r_action}if(l_prob){base.l_probability=l_prob.value}if(r_prob){base.r_probability=r_prob.value}return base},peg$c1112=function(label,se){const base={key:"transition",from:label};if(se&&se!==[]){base.se=se}return base},peg$c1113="whargarbl",peg$c1114=peg$literalExpectation("whargarbl",false),peg$c1115="todo",peg$c1116=peg$literalExpectation("todo",false),peg$c1117=function(validationkey,value){return{key:validationkey,value:value}},peg$c1118="validation",peg$c1119=peg$literalExpectation("validation",false),peg$c1120="};",peg$c1121=peg$literalExpectation("};",false),peg$c1122=function(validation_items){return{config_kind:"validation",config_items:validation_items||[]}},peg$c1123="dot",peg$c1124=peg$literalExpectation("dot",false),peg$c1125="circo",peg$c1126=peg$literalExpectation("circo",false),peg$c1127="fdp",peg$c1128=peg$literalExpectation("fdp",false),peg$c1129="neato",peg$c1130=peg$literalExpectation("neato",false),peg$c1131="shape",peg$c1132=peg$literalExpectation("shape",false),peg$c1133=function(value){return{key:"shape",value:value}},peg$c1134="state",peg$c1135=peg$literalExpectation("state",false),peg$c1136=function(state_items){return{key:"state_config",value:{config_kind:"state",config_items:state_items||[]}}},peg$c1137="start_state",peg$c1138=peg$literalExpectation("start_state",false),peg$c1139=function(state_items){return{key:"state_config",value:{config_kind:"in_state",config_items:state_items||[]}}},peg$c1140="end_state",peg$c1141=peg$literalExpectation("end_state",false),peg$c1142=function(state_items){return{key:"state_config",value:{config_kind:"out_state",config_items:state_items||[]}}},peg$c1143=function(actionkey,value){return{key:actionkey,value:value}},peg$c1144="action",peg$c1145=peg$literalExpectation("action",false),peg$c1146=function(action_items){return{config_kind:"action",config_items:action_items||[]}},peg$c1147=function(transitionkey,value){return{key:transitionkey,value:value}},peg$c1148=peg$otherExpectation("graph default edge color"),peg$c1149=function(value){return{key:"graph_default_edge_color",value:value}},peg$c1150="transition",peg$c1151=peg$literalExpectation("transition",false),peg$c1152=function(transition_items){return{config_kind:"transition",config_items:transition_items||[]}},peg$c1153="graph_layout",peg$c1154=peg$literalExpectation("graph_layout",false),peg$c1155=function(value){return{key:"graph_layout",value:value}},peg$c1156="start_states",peg$c1157=peg$literalExpectation("start_states",false),peg$c1158=function(value){return{key:"start_states",value:value}},peg$c1159="end_states",peg$c1160=peg$literalExpectation("end_states",false),peg$c1161=function(value){return{key:"end_states",value:value}},peg$c1162="graph_bg_color",peg$c1163=peg$literalExpectation("graph_bg_color",false),peg$c1164=function(value){return{key:"graph_bg_color",value:value}},peg$c1165=peg$otherExpectation("configuration"),peg$c1166="MIT",peg$c1167=peg$literalExpectation("MIT",false),peg$c1168="BSD 2-clause",peg$c1169=peg$literalExpectation("BSD 2-clause",false),peg$c1170="BSD 3-clause",peg$c1171=peg$literalExpectation("BSD 3-clause",false),peg$c1172="Apache 2.0",peg$c1173=peg$literalExpectation("Apache 2.0",false),peg$c1174="Mozilla 2.0",peg$c1175=peg$literalExpectation("Mozilla 2.0",false),peg$c1176="Public domain",peg$c1177=peg$literalExpectation("Public domain",false),peg$c1178="GPL v2",peg$c1179=peg$literalExpectation("GPL v2",false),peg$c1180="GPL v3",peg$c1181=peg$literalExpectation("GPL v3",false),peg$c1182="LGPL v2.1",peg$c1183=peg$literalExpectation("LGPL v2.1",false),peg$c1184="LGPL v3.0",peg$c1185=peg$literalExpectation("LGPL v3.0",false),peg$c1186="Unknown",peg$c1187=peg$literalExpectation("Unknown",false),peg$c1188=peg$otherExpectation("direction"),peg$c1189="up",peg$c1190=peg$literalExpectation("up",false),peg$c1191="right",peg$c1192=peg$literalExpectation("right",false),peg$c1193="down",peg$c1194=peg$literalExpectation("down",false),peg$c1195="left",peg$c1196=peg$literalExpectation("left",false),peg$c1197=peg$otherExpectation("hook definition (open/closed)"),peg$c1198="open",peg$c1199=peg$literalExpectation("open",false),peg$c1200="closed",peg$c1201=peg$literalExpectation("closed",false),peg$c1202="machine_author",peg$c1203=peg$literalExpectation("machine_author",false),peg$c1204=function(value){return{key:"machine_author",value:value}},peg$c1205="machine_contributor",peg$c1206=peg$literalExpectation("machine_contributor",false),peg$c1207=function(value){return{key:"machine_contributor",value:value}},peg$c1208="machine_comment",peg$c1209=peg$literalExpectation("machine_comment",false),peg$c1210=function(value){return{key:"machine_comment",value:value}},peg$c1211="machine_definition",peg$c1212=peg$literalExpectation("machine_definition",false),peg$c1213=function(value){return{key:"machine_definition",value:value}},peg$c1214="machine_name",peg$c1215=peg$literalExpectation("machine_name",false),peg$c1216=function(value){return{key:"machine_name",value:value}},peg$c1220="machine_version",peg$c1221=peg$literalExpectation("machine_version",false),peg$c1222=function(value){return{key:"machine_version",value:value}},peg$c1223="machine_license",peg$c1224=peg$literalExpectation("machine_license",false),peg$c1225=function(value){return{key:"machine_license",value:value}},peg$c1226="machine_language",peg$c1227=peg$literalExpectation("machine_language",false),peg$c1228=function(value){return{key:"machine_language",value:value}},peg$c1229="fsl_version",peg$c1230=peg$literalExpectation("fsl_version",false),peg$c1231=function(value){return{key:"fsl_version",value:value}},peg$c1232="theme",peg$c1233=peg$literalExpectation("theme",false),peg$c1234=function(value){return{key:"theme",value:value}},peg$c1235="flow",peg$c1236=peg$literalExpectation("flow",false),peg$c1237=function(value){return{key:"flow",value:value}},peg$c1238="hooks",peg$c1239=peg$literalExpectation("hooks",false),peg$c1240=function(value){return{key:"hook_definition",value:value}},peg$c1241="dot_preamble",peg$c1242=peg$literalExpectation("dot_preamble",false),peg$c1243=function(value){return{key:"dot_preamble",value:value}},peg$c1244=peg$otherExpectation("machine attribute"),peg$c1245="color",peg$c1246=peg$literalExpectation("color",false),peg$c1247=function(value){return{key:"color",value:value}},peg$c1248=peg$otherExpectation("text color"),peg$c1249="text-color",peg$c1250=peg$literalExpectation("text-color",false),peg$c1251=function(value){return{key:"text-color",value:value}},peg$c1252=peg$otherExpectation("background color"),peg$c1253="background-color",peg$c1254=peg$literalExpectation("background-color",false),peg$c1255=function(value){return{key:"background-color",value:value}},peg$c1256=peg$otherExpectation("border color"),peg$c1257="border-color",peg$c1258=peg$literalExpectation("border-color",false),peg$c1259=function(value){return{key:"border-color",value:value}},peg$c1260=peg$otherExpectation("shape"),peg$c1261=function(value){return{key:"shape",value:value}},peg$c1262=peg$otherExpectation("corners"),peg$c1263="corners",peg$c1264=peg$literalExpectation("corners",false),peg$c1265=function(value){return{key:"corners",value:value}},peg$c1266=peg$otherExpectation("linestyle"),peg$c1267=function(value){return{key:"linestyle",value:value}},peg$c1268=function(name,value){return{key:"state_declaration",name:name,value:value}},peg$c1269="&",peg$c1270=peg$literalExpectation("&",false),peg$c1271=function(name,value){return{key:"named_list",name:name,value:value}},peg$c1272="null",peg$c1273=peg$literalExpectation("null",false),peg$c1274="undefined",peg$c1275=peg$literalExpectation("undefined",false),peg$c1276=function(){return parseFloat(text())},peg$c1277="Infinity",peg$c1278=peg$literalExpectation("Infinity",false),peg$c1279="NegInfinity",peg$c1280=peg$literalExpectation("NegInfinity",false),peg$c1281="NaN",peg$c1282=peg$literalExpectation("NaN",false),peg$c1283="MaxSafeInt",peg$c1284=peg$literalExpectation("MaxSafeInt",false),peg$c1285="MinSafeInt",peg$c1286=peg$literalExpectation("MinSafeInt",false),peg$c1287=function(chars){return chars.join("")},peg$c1288=function(char){return char},peg$c1289=function(sequence){return sequence},peg$c1290=function(){return"\b"},peg$c1291=function(){return"\f"},peg$c1292=function(){return"\n"},peg$c1293=function(){return"\r"},peg$c1294=function(){return"\t"},peg$c1295=function(){return"\v"},peg$c1296="property",peg$c1297=peg$literalExpectation("property",false),peg$c1298=function(name,default_value){return{key:"property_definition",name:name,default_value:default_value}},peg$c1299=function(name){return{key:"property_definition",name:name}},peg$c1300="arrange",peg$c1301=peg$literalExpectation("arrange",false),peg$c1302=function(value){return{key:"arrange_declaration",value:value}},peg$c1303="arrange-start",peg$c1304=peg$literalExpectation("arrange-start",false),peg$c1305=function(value){return{key:"arrange_start_declaration",value:value}},peg$c1306="arrange-end",peg$c1307=peg$literalExpectation("arrange-end",false),peg$c1308=function(value){return{key:"arrange_end_declaration",value:value}},peg$c1309=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)}}}}}return s0}function peg$parseGvizShape(){var s0;if(input.substr(peg$currPos,5)===peg$c9){s0=peg$c9;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c10)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c11){s0=peg$c11;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c12)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c13){s0=peg$c13;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c14)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c15){s0=peg$c15;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c16)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c17){s0=peg$c17;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c18)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c19){s0=peg$c19;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c20)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c21){s0=peg$c21;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c22)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c23){s0=peg$c23;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c24)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c25){s0=peg$c25;peg$currPos+=9}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,7)===peg$c29){s0=peg$c29;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c30)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c31){s0=peg$c31;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c32)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c33){s0=peg$c33;peg$currPos+=13}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,8)===peg$c37){s0=peg$c37;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c38)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c39){s0=peg$c39;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c40)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c41){s0=peg$c41;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c42)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c43){s0=peg$c43;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c44)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c45){s0=peg$c45;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c46)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c47){s0=peg$c47;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c48)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c49){s0=peg$c49;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c50)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c51){s0=peg$c51;peg$currPos+=11}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,8)===peg$c55){s0=peg$c55;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c56)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c57){s0=peg$c57;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c58)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c59){s0=peg$c59;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c60)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c61){s0=peg$c61;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c62)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c63){s0=peg$c63;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c64)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c65){s0=peg$c65;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c66)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c67){s0=peg$c67;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c68)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c69){s0=peg$c69;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c70)}}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$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,8)===peg$c73){s0=peg$c73;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c74)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c75){s0=peg$c75;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c76)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c77){s0=peg$c77;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c78)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c79){s0=peg$c79;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c80)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c81){s0=peg$c81;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c82)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c83){s0=peg$c83;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c84)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c85){s0=peg$c85;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c86)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c87){s0=peg$c87;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c88)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c89){s0=peg$c89;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c90)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c91){s0=peg$c91;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c92)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c93){s0=peg$c93;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c94)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,15)===peg$c95){s0=peg$c95;peg$currPos+=15}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c96)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c97){s0=peg$c97;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c98)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,14)===peg$c99){s0=peg$c99;peg$currPos+=14}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c100)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c101){s0=peg$c101;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c102)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c103){s0=peg$c103;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c104)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c105){s0=peg$c105;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c106)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c107){s0=peg$c107;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c108)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c109){s0=peg$c109;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c110)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c111){s0=peg$c111;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c112)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c113){s0=peg$c113;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c114)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c115){s0=peg$c115;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c116)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c117){s0=peg$c117;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c118)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c119){s0=peg$c119;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c120)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c121){s0=peg$c121;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c122)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c123){s0=peg$c123;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c124)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c125){s0=peg$c125;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c126)}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}return s0}function peg$parseForwardLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c128){s0=peg$c128;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c129)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8594){s1=peg$c130;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c131)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c132()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c127)}}return s0}function peg$parseTwoWayLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c134){s0=peg$c134;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c135)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8596){s1=peg$c136;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c137)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c138()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c133)}}return s0}function peg$parseBackLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c140){s0=peg$c140;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c141)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8592){s1=peg$c142;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c143)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c144()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c139)}}return s0}function peg$parseForwardFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c146){s0=peg$c146;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c147)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8658){s1=peg$c148;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c149)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c150()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c145)}}return s0}function peg$parseTwoWayFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c152){s0=peg$c152;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c153)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8660){s1=peg$c154;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c155)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c156()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c151)}}return s0}function peg$parseBackFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c158){s0=peg$c158;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c159)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8656){s1=peg$c160;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c161)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c162()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c157)}}return s0}function peg$parseForwardTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c164){s0=peg$c164;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c165)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8603){s1=peg$c166;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c167)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c168()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c163)}}return s0}function peg$parseTwoWayTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c170){s0=peg$c170;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c171)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8622){s1=peg$c172;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c173)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c174()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c169)}}return s0}function peg$parseBackTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c176){s0=peg$c176;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c177)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8602){s1=peg$c178;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c179)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c180()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c175)}}return s0}function peg$parseLightFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c182){s0=peg$c182;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c183)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c184){s1=peg$c184;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c185)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c186()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c181)}}return s0}function peg$parseLightTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c188){s0=peg$c188;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c189)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c190){s1=peg$c190;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c191)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c192()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c187)}}return s0}function peg$parseFatLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c194){s0=peg$c194;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c195)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c196){s1=peg$c196;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c197)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c198()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c193)}}return s0}function peg$parseFatTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c200){s0=peg$c200;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c201)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c202){s1=peg$c202;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c203)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c204()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c199)}}return s0}function peg$parseTildeLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c206){s0=peg$c206;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c207)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c208){s1=peg$c208;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c209)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c210()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c205)}}return s0}function peg$parseTildeFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c212){s0=peg$c212;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c213)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c214){s1=peg$c214;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c215)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c216()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c211)}}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$c217)}}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$c218)}}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$c219)}}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$c220)}}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$c221)}}return s0}function peg$parseCorners(){var s0;if(input.substr(peg$currPos,7)===peg$c228){s0=peg$c228;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c229)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c230){s0=peg$c230;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c231)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c232){s0=peg$c232;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c233)}}}}return s0}function peg$parseLineStyle(){var s0;if(input.substr(peg$currPos,5)===peg$c234){s0=peg$c234;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c235)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c236){s0=peg$c236;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c237)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c238){s0=peg$c238;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c239)}}}}return s0}function peg$parseHexDigit(){var s0;if(peg$c240.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c241)}}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$c242;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c243)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===92){s2=peg$c244;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c245)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===47){s2=peg$c246;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c247)}}if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===98){s3=peg$c248;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c249)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c250()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===102){s3=peg$c251;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c252)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c253()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===110){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)===114){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)===116){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)===118){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)===117){s3=peg$c266;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c267)}}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$c268(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$c269(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseEscape(){var s0;if(input.charCodeAt(peg$currPos)===92){s0=peg$c244;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c245)}}return s0}function peg$parseQuoteMark(){var s0;if(input.charCodeAt(peg$currPos)===34){s0=peg$c242;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c243)}}return s0}function peg$parseUnescaped(){var s0;if(peg$c270.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c271)}}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$c272;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c273)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===92){s2=peg$c244;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c245)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===47){s2=peg$c246;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c247)}}if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===98){s3=peg$c248;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c249)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c250()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===102){s3=peg$c251;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c252)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c253()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===110){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)===114){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)===116){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)===118){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)===117){s3=peg$c266;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c267)}}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$c268(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$c269(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$c272;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c273)}}return s0}function peg$parseActionLabelUnescaped(){var s0;if(peg$c274.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c275)}}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$c277(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$c276)}}return s0}function peg$parseLineTerminator(){var s0;if(peg$c278.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c279)}}return s0}function peg$parseBlockCommentTail(){var s0,s1,s2;if(input.substr(peg$currPos,2)===peg$c282){s0=peg$c282;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c283)}}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$c284)}}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$c286){s1=peg$c286;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c287)}}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$c285)}}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$c284)}}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$c284)}}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$c289){s1=peg$c289;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c290)}}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$c288)}}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$c292.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c293)}}if(s2!==peg$FAILED){while(s2!==peg$FAILED){s1.push(s2);if(peg$c292.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c293)}}}}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$c291)}}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$c277(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$c294)}}return s0}function peg$parseAtomFirstLetter(){var s0;if(peg$c295.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}return s0}function peg$parseAtomLetter(){var s0;if(peg$c297.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c298)}}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$c300(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$c299)}}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$c301)}}return s0}function peg$parseIntegerLiteral(){var s0,s1,s2,s3;if(input.charCodeAt(peg$currPos)===48){s0=peg$c302;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c303)}}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$c304.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c305)}}return s0}function peg$parseNonZeroDigit(){var s0;if(peg$c306.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c307)}}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$c309;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c310)}}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$c311();s0=s1}else{peg$currPos=s0;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$c311();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$c308)}}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$c309;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c310)}}if(s2!==peg$FAILED){s3=peg$parseIntegerLiteral();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s4=peg$c309;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c310)}}if(s4!==peg$FAILED){s5=peg$parseIntegerLiteral();if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c312(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$c323){s0=peg$c323;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c324)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c325){s0=peg$c325;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}}return s0}function peg$parseURL(){var s0,s1,s2,s3;s0=peg$currPos;s1=peg$parseUrlProtocol();if(s1!==peg$FAILED){s2=[];if(peg$c327.test(input.charAt(peg$currPos))){s3=input.charAt(peg$currPos);peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c328)}}if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);if(peg$c327.test(input.charAt(peg$currPos))){s3=input.charAt(peg$currPos);peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c328)}}}}else{s2=peg$FAILED}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c329();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$c330){s1=peg$c330;peg$currPos+=9}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,9)===peg$c333){s1=peg$c333;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c334)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c332()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c335){s1=peg$c335;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c336)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c337()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c338){s1=peg$c338;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c339)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c337()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c340){s1=peg$c340;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c341)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c342()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c343){s1=peg$c343;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c344)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c342()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c345){s1=peg$c345;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c346)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c347()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c348){s1=peg$c348;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c349)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c347()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c350){s1=peg$c350;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c351)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c352()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c353){s1=peg$c353;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c354)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c352()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c355){s1=peg$c355;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c356)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c357()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c358){s1=peg$c358;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c359)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c357()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c360){s1=peg$c360;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c361)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c362()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c363){s1=peg$c363;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c364)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c362()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c365){s1=peg$c365;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c366)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c367()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c368){s1=peg$c368;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c369)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c367()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c370){s1=peg$c370;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c371)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c372()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c373){s1=peg$c373;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c374)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c372()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c375){s1=peg$c375;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c376)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c377()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c378){s1=peg$c378;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c379)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c377()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c380){s1=peg$c380;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c381)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c382()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c383){s1=peg$c383;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c384)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c382()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c385){s1=peg$c385;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c386)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c387()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c388){s1=peg$c388;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c389)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c387()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c390){s1=peg$c390;peg$currPos+=9}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,9)===peg$c393){s1=peg$c393;peg$currPos+=9}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,9)===peg$c395){s1=peg$c395;peg$currPos+=9}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,9)===peg$c398){s1=peg$c398;peg$currPos+=9}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,10)===peg$c400){s1=peg$c400;peg$currPos+=10}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,10)===peg$c403){s1=peg$c403;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c404)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c402()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c405){s1=peg$c405;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c406)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c407()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c408){s1=peg$c408;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c409)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c407()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c410){s1=peg$c410;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c411)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c412()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c413){s1=peg$c413;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c414)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c412()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c415){s1=peg$c415;peg$currPos+=14}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,14)===peg$c418){s1=peg$c418;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c419)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c417()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c420){s1=peg$c420;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c421)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c422()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c423){s1=peg$c423;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c424)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c422()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c425){s1=peg$c425;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c426)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c427()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c428){s1=peg$c428;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c429)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c427()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c430){s1=peg$c430;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c431)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c347()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c432){s1=peg$c432;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c433)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c347()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c434){s1=peg$c434;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c435)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c436()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c437){s1=peg$c437;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c438)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c436()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c439){s1=peg$c439;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c440)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c441()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c442){s1=peg$c442;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c443)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c441()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c444){s1=peg$c444;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c445)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c446()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c447){s1=peg$c447;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c448)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c446()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c449){s1=peg$c449;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c450)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c451()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c452){s1=peg$c452;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c453)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c451()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c454){s1=peg$c454;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c455)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c451()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c456){s1=peg$c456;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c457)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c451()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c458){s1=peg$c458;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c459)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c460()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c461){s1=peg$c461;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c462)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c460()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c463){s1=peg$c463;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c464)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c465()}s0=s1;if(s0===peg$FAILED){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$c465()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c468){s1=peg$c468;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c469)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c470()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c471){s1=peg$c471;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c472)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c470()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c473){s1=peg$c473;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c474)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c475()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c476){s1=peg$c476;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c477)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c475()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c478){s1=peg$c478;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c479)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c480()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c481){s1=peg$c481;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c482)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c480()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c483){s1=peg$c483;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c484)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c485()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c486){s1=peg$c486;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c487)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c485()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c488){s1=peg$c488;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c489)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c490()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c491){s1=peg$c491;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c492)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c490()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c493){s1=peg$c493;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c494)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c495()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c496){s1=peg$c496;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c497)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c495()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c498){s1=peg$c498;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c499)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c500()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c501){s1=peg$c501;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c502)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c500()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c503){s1=peg$c503;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c504)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c505()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c506){s1=peg$c506;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c507)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c505()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c508){s1=peg$c508;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c509)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c510()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c511){s1=peg$c511;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c512)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c510()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c513){s1=peg$c513;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c514)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c510()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c515){s1=peg$c515;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c516)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c510()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c517){s1=peg$c517;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c518)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c519()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c520){s1=peg$c520;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c521)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c519()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c522){s1=peg$c522;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c523)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c524()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c525){s1=peg$c525;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c526)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c524()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c527){s1=peg$c527;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c528)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c529()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c530){s1=peg$c530;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c531)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c529()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c532){s1=peg$c532;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c533)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c534()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c535){s1=peg$c535;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c536)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c534()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c537){s1=peg$c537;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c538)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c539()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c540){s1=peg$c540;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c541)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c539()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c542){s1=peg$c542;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c543)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c539()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c544){s1=peg$c544;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c545)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c539()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c546){s1=peg$c546;peg$currPos+=10}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,10)===peg$c549){s1=peg$c549;peg$currPos+=10}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,9)===peg$c551){s1=peg$c551;peg$currPos+=9}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,9)===peg$c554){s1=peg$c554;peg$currPos+=9}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,11)===peg$c556){s1=peg$c556;peg$currPos+=11}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,11)===peg$c559){s1=peg$c559;peg$currPos+=11}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,11)===peg$c561){s1=peg$c561;peg$currPos+=11}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,11)===peg$c564){s1=peg$c564;peg$currPos+=11}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,7)===peg$c566){s1=peg$c566;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c567)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c568()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c569){s1=peg$c569;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c570)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c568()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c571){s1=peg$c571;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c572)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c573()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c574){s1=peg$c574;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c575)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c573()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c576){s1=peg$c576;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c577)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c578()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c579){s1=peg$c579;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c580)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c578()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c581){s1=peg$c581;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c582)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c583()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c584){s1=peg$c584;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c585)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c583()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c586){s1=peg$c586;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c587)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c588()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c589){s1=peg$c589;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c590)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c588()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c591){s1=peg$c591;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c592)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c593()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c594){s1=peg$c594;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c595)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c593()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c596){s1=peg$c596;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c597)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c593()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c598){s1=peg$c598;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c599)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c593()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c600){s1=peg$c600;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c601)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c602()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c603){s1=peg$c603;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c604)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c602()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c605){s1=peg$c605;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c606)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c607()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c608){s1=peg$c608;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c609)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c607()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c610){s1=peg$c610;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c611)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c612()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c613){s1=peg$c613;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c614)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c612()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c615){s1=peg$c615;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c616)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c617()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c618){s1=peg$c618;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c619)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c617()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c620){s1=peg$c620;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c621)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c622()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c623){s1=peg$c623;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c624)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c622()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c625){s1=peg$c625;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c626)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c627()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c628){s1=peg$c628;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c629)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c627()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c630){s1=peg$c630;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c631)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c632()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c633){s1=peg$c633;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c634)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c632()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c635){s1=peg$c635;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c636)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c637()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c638){s1=peg$c638;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c639)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c637()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c640){s1=peg$c640;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c641)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c642()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c643){s1=peg$c643;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c644)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c642()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c645){s1=peg$c645;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c646)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c647()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c648){s1=peg$c648;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c649)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c647()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c650){s1=peg$c650;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c651)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c652()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c653){s1=peg$c653;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c654)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c652()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c655){s1=peg$c655;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c656)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c657()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c658){s1=peg$c658;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c659)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c657()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c660){s1=peg$c660;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c661)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c662()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c663){s1=peg$c663;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c664)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c662()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c665){s1=peg$c665;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c666)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c667()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c668){s1=peg$c668;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c669)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c667()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c670){s1=peg$c670;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c671)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c672()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c673){s1=peg$c673;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c674)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c672()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,20)===peg$c675){s1=peg$c675;peg$currPos+=20}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c676)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c677()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,20)===peg$c678){s1=peg$c678;peg$currPos+=20}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c679)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c677()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c680){s1=peg$c680;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c681)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c682()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c683){s1=peg$c683;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c684)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c682()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c685){s1=peg$c685;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c686)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c682()}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$c682()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c689){s1=peg$c689;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c690)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c691()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c692){s1=peg$c692;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c693)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c691()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c694){s1=peg$c694;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c695)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c696()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c697){s1=peg$c697;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c698)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c696()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c699){s1=peg$c699;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c700)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c701()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c702){s1=peg$c702;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c703)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c701()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c704){s1=peg$c704;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c705)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c706()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c707){s1=peg$c707;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c708)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c706()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c709){s1=peg$c709;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c710)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c711()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c712){s1=peg$c712;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c713)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c711()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c714){s1=peg$c714;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c715)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c716()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c717){s1=peg$c717;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c718)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c716()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c719){s1=peg$c719;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c720)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c716()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c721){s1=peg$c721;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c722)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c716()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c723){s1=peg$c723;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c724)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c725()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c726){s1=peg$c726;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c727)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c725()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c728){s1=peg$c728;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c729)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c730()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c731){s1=peg$c731;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c732)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c730()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c733){s1=peg$c733;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c734)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c735()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c736){s1=peg$c736;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c737)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c735()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c738){s1=peg$c738;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c739)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c740()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c741){s1=peg$c741;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c742)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c740()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c743){s1=peg$c743;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c744)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c745()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c746){s1=peg$c746;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c747)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c745()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c748){s1=peg$c748;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c749)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c568()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c750){s1=peg$c750;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c751)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c568()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c752){s1=peg$c752;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c753)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c754()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c755){s1=peg$c755;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c756)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c754()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c757){s1=peg$c757;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c758)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c759()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c760){s1=peg$c760;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c761)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c759()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c762){s1=peg$c762;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c763)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c764()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c765){s1=peg$c765;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c766)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c764()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c767){s1=peg$c767;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c768)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c769()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c770){s1=peg$c770;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c771)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c769()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c772){s1=peg$c772;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c773)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c774()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c775){s1=peg$c775;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c776)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c774()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c777){s1=peg$c777;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c778)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c779()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c780){s1=peg$c780;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c781)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c779()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c782){s1=peg$c782;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c783)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c784()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c785){s1=peg$c785;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c786)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c784()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,17)===peg$c787){s1=peg$c787;peg$currPos+=17}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c788)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c789()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,17)===peg$c790){s1=peg$c790;peg$currPos+=17}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c791)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c789()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c792){s1=peg$c792;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c793)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c794()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c795){s1=peg$c795;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c796)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c794()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c797){s1=peg$c797;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c798)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c799()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c800){s1=peg$c800;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c801)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c799()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c802){s1=peg$c802;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c803)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c804()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c805){s1=peg$c805;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c806)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c804()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c807){s1=peg$c807;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c808)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c809()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c810){s1=peg$c810;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c811)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c809()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c812){s1=peg$c812;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c813)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c814()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c815){s1=peg$c815;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c816)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c814()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c817){s1=peg$c817;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c818)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c819()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c820){s1=peg$c820;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c821)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c819()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c822){s1=peg$c822;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c823)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c824()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c825){s1=peg$c825;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c826)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c824()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c827){s1=peg$c827;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c828)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c829()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c830){s1=peg$c830;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c831)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c829()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c832){s1=peg$c832;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c833)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c834()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c835){s1=peg$c835;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c836)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c834()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c837){s1=peg$c837;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c838)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c839()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c840){s1=peg$c840;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c841)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c839()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c842){s1=peg$c842;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c843)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c844()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c845){s1=peg$c845;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c846)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c844()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c847){s1=peg$c847;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c848)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c849()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c850){s1=peg$c850;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c851)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c849()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c852){s1=peg$c852;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c853)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c854()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c855){s1=peg$c855;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c856)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c854()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c857){s1=peg$c857;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c858)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c859()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c860){s1=peg$c860;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c861)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c859()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c862){s1=peg$c862;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c863)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c864()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c865){s1=peg$c865;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c866)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c864()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c867){s1=peg$c867;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c868)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c869()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c870){s1=peg$c870;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c871)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c869()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c872){s1=peg$c872;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c873)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c874()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c875){s1=peg$c875;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c876)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c874()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c877){s1=peg$c877;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c878)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c879()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c880){s1=peg$c880;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c881)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c879()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c882){s1=peg$c882;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c883)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c884()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c885){s1=peg$c885;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c886)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c884()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c887){s1=peg$c887;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c888)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c889()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c890){s1=peg$c890;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c891)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c889()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c892){s1=peg$c892;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c893)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c894()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c895){s1=peg$c895;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c896)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c894()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c897){s1=peg$c897;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c898)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c899()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c900){s1=peg$c900;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c901)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c899()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c902){s1=peg$c902;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c903)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c904()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c905){s1=peg$c905;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c906)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c904()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c907){s1=peg$c907;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c908)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c909()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c910){s1=peg$c910;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c911)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c909()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c912){s1=peg$c912;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c913)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c914()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c915){s1=peg$c915;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c916)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c914()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c917){s1=peg$c917;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c918)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c919()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c920){s1=peg$c920;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c921)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c919()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c922){s1=peg$c922;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c923)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c924()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c925){s1=peg$c925;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c926)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c924()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c927){s1=peg$c927;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c928)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c929()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c930){s1=peg$c930;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c931)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c929()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c932){s1=peg$c932;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c933)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c934()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c935){s1=peg$c935;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c936)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c934()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c937){s1=peg$c937;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c938)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c939()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c940){s1=peg$c940;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c941)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c939()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c942){s1=peg$c942;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c943)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c944()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c945){s1=peg$c945;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c946)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c944()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c947){s1=peg$c947;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c948)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c949()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c950){s1=peg$c950;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c951)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c949()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c952){s1=peg$c952;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c953)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c954()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c955){s1=peg$c955;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c956)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c954()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c957){s1=peg$c957;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c958)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c959()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c960){s1=peg$c960;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c961)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c959()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c962){s1=peg$c962;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c963)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c964()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c965){s1=peg$c965;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c966)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c964()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c967){s1=peg$c967;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c968)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c969()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c970){s1=peg$c970;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c971)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c969()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c972){s1=peg$c972;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c973)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c974()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c975){s1=peg$c975;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c976)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c974()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c977){s1=peg$c977;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c978)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c979()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c980){s1=peg$c980;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c981)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c979()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c982){s1=peg$c982;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c983)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c979()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c984){s1=peg$c984;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c985)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c979()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c986){s1=peg$c986;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c987)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c988()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c989){s1=peg$c989;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c990)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c988()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c991){s1=peg$c991;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c992)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c993()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c994){s1=peg$c994;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c995)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c993()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c996){s1=peg$c996;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c997)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c998()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c999){s1=peg$c999;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1000)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c998()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1001){s1=peg$c1001;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1002)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1003()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1004){s1=peg$c1004;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1005)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1003()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1006){s1=peg$c1006;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1007)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1008()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1009){s1=peg$c1009;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1010)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1008()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1011){s1=peg$c1011;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1012)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1013()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1014){s1=peg$c1014;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1015)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1013()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1016){s1=peg$c1016;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1017)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1018()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1019){s1=peg$c1019;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1020)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1018()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1021){s1=peg$c1021;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1022)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1023()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1024){s1=peg$c1024;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1025)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1023()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1026){s1=peg$c1026;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1027)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1028()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1029){s1=peg$c1029;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1030)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1028()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1031){s1=peg$c1031;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1032)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1033()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1034){s1=peg$c1034;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1035)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1033()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1036){s1=peg$c1036;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1037)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1038()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1039){s1=peg$c1039;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1040)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1038()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1041){s1=peg$c1041;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1042)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1043()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1044){s1=peg$c1044;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1045)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1043()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1046){s1=peg$c1046;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1047)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1048()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1049){s1=peg$c1049;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1050)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1048()}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$c1053()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1054){s1=peg$c1054;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1055)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1053()}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$c1056(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$c1057;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1058)}}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$c1059(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$c1057;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1058)}}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$c1060(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$c1057;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1058)}}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$c1061(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$c1057;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1058)}}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$c1062(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$c1063)}}return s0}function peg$parseArrowItemKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1064){s0=peg$c1064;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1065)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1066){s0=peg$c1066;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1067)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1068){s0=peg$c1068;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1069)}}}}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$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1074(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$c1076){s2=peg$c1076;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1077)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1078(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;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$c1075)}}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,9)===peg$c1080){s2=peg$c1080;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1081)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1082(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;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$c1079)}}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$c1083;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1084)}}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$c1085;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1086)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1087(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$c1088;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1089)}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c1090(s1);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLabelList(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===91){s1=peg$c1091;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1092)}}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$c1093;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1094)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1095(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$c1096){s1=peg$c1096;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1097)}}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$c1098(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$c1099){s1=peg$c1099;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1100)}}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$c1101(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$c1102;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1103)}}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$c1104(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$c1105;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1106)}}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$c1107(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$c1108){s1=peg$c1108;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1109)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1110()}s0=s1}}return s0}function peg$parseArrowTarget(){var s0;s0=peg$parseStripe();if(s0===peg$FAILED){s0=peg$parseCycle();if(s0===peg$FAILED){s0=peg$parseLabelList();if(s0===peg$FAILED){s0=peg$parseLabel()}}}return s0}function peg$parseSubexp(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13,s14,s15,s16,s17,s18;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseActionLabel();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseArrowProbability();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseArrowDesc();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseArrow();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){s10=peg$parseArrowDesc();if(s10===peg$FAILED){s10=null}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){s12=peg$parseArrowProbability();if(s12===peg$FAILED){s12=null}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){s14=peg$parseActionLabel();if(s14===peg$FAILED){s14=null}if(s14!==peg$FAILED){s15=peg$parseWS();if(s15===peg$FAILED){s15=null}if(s15!==peg$FAILED){s16=peg$parseArrowTarget();if(s16!==peg$FAILED){s17=peg$parseWS();if(s17===peg$FAILED){s17=null}if(s17!==peg$FAILED){s18=peg$parseSubexp();if(s18===peg$FAILED){s18=null}if(s18!==peg$FAILED){peg$savedPos=s0;s1=peg$c1111(s2,s4,s6,s8,s10,s12,s14,s16,s18);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseExp(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;s1=peg$parseArrowTarget();if(s1!==peg$FAILED){s2=peg$parseSubexp();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1072;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1112(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$c1113){s0=peg$c1113;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1114)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1115){s0=peg$c1115;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1116)}}}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$c1070;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1072;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1117(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$c1118){s2=peg$c1118;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1119)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1083;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1084)}}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$c1120){s10=peg$c1120;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1121)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1122(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$c1123){s0=peg$c1123;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1124)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1125){s0=peg$c1125;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1126)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c1127){s0=peg$c1127;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1128)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1129){s0=peg$c1129;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1130)}}}}}return s0}function peg$parseStateItemShape(){var s0,s1,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$c1131){s2=peg$c1131;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1132)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1133(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseStateItems(){var s0,s1;s0=[];s1=peg$parseStateItemShape();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseStateItemShape()}}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$c1134){s2=peg$c1134;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1135)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1083;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1084)}}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$c1120){s10=peg$c1120;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1121)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1136(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$c1137){s2=peg$c1137;peg$currPos+=11}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1138)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1083;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1084)}}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$c1120){s10=peg$c1120;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1121)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1139(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$c1140){s2=peg$c1140;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1141)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1083;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1084)}}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$c1120){s10=peg$c1120;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1121)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1142(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()}}return s0}function peg$parseActionKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1113){s0=peg$c1113;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1114)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1115){s0=peg$c1115;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1116)}}}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$c1070;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1072;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1143(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$c1144){s2=peg$c1144;peg$currPos+=6}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1145)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1083;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1084)}}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$c1120){s10=peg$c1120;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1121)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1146(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$c1113){s0=peg$c1113;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1114)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1115){s0=peg$c1115;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1116)}}}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$c1070;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1072;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1147(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$c1076){s2=peg$c1076;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1077)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1149(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;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$c1148)}}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$c1150){s2=peg$c1150;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1151)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1083;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1084)}}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$c1120){s10=peg$c1120;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1121)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1152(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$c1153){s2=peg$c1153;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1154)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1155(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1156){s2=peg$c1156;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1157)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1158(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1159){s2=peg$c1159;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1160)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1161(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1162){s2=peg$c1162;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1163)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1164(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfig(){var s0;peg$silentFails++;s0=peg$parseConfigGraphLayout();if(s0===peg$FAILED){s0=peg$parseConfigStartNodes();if(s0===peg$FAILED){s0=peg$parseConfigEndNodes();if(s0===peg$FAILED){s0=peg$parseConfigTransition();if(s0===peg$FAILED){s0=peg$parseConfigAction();if(s0===peg$FAILED){s0=peg$parseConfigAnyState();if(s0===peg$FAILED){s0=peg$parseConfigValidation();if(s0===peg$FAILED){s0=peg$parseConfigGraphBgColor()}}}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1165)}}return s0}function peg$parseLicenseOrLabelOrList(){var s0;if(input.substr(peg$currPos,3)===peg$c1166){s0=peg$c1166;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1167)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1168){s0=peg$c1168;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1169)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1170){s0=peg$c1170;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1171)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1172){s0=peg$c1172;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1173)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1174){s0=peg$c1174;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1175)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c1176){s0=peg$c1176;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1177)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1178){s0=peg$c1178;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1179)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1180){s0=peg$c1180;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1181)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1182){s0=peg$c1182;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1183)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1184){s0=peg$c1184;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1185)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c1186){s0=peg$c1186;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1187)}}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$c1189){s0=peg$c1189;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1190)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1191){s0=peg$c1191;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1192)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1193){s0=peg$c1193;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1195){s0=peg$c1195;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1196)}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1188)}}return s0}function peg$parseHookDefinition(){var s0;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c1198){s0=peg$c1198;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1199)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1200){s0=peg$c1200;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1201)}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1197)}}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$c1202){s2=peg$c1202;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1203)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1204(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1205){s2=peg$c1205;peg$currPos+=19}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1206)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1207(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1208){s2=peg$c1208;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1210(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1211){s2=peg$c1211;peg$currPos+=18}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1212)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1213(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1214){s2=peg$c1214;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1215)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1216(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1220){s2=peg$c1220;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1221)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1222(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1223){s2=peg$c1223;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1224)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1225(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1226){s2=peg$c1226;peg$currPos+=16}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1227)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1228(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1229){s2=peg$c1229;peg$currPos+=11}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1230)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1231(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1232){s2=peg$c1232;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1233)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseTheme();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1234(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1235){s2=peg$c1235;peg$currPos+=4}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1236)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1237(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1238){s2=peg$c1238;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1239)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1240(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1241){s2=peg$c1241;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1242)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1243(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1244)}}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$c1245){s2=peg$c1245;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1247(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;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$c1063)}}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$c1249){s2=peg$c1249;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1250)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1251(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;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$c1248)}}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$c1253){s2=peg$c1253;peg$currPos+=16}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1254)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1255(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;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$c1252)}}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$c1257){s2=peg$c1257;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1258)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1259(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;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$c1256)}}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$c1131){s2=peg$c1131;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1132)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1261(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;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$c1260)}}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$c1263){s2=peg$c1263;peg$currPos+=7}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1264)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1265(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;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$c1262)}}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,9)===peg$c1080){s2=peg$c1080;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1081)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1267(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;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$c1266)}}return s0}function peg$parseStateDeclarationItems(){var s0;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()}}}}}}return s0}function peg$parseStateDeclarationDesc(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===123){s1=peg$c1083;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1084)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$parseStateDeclarationItems();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseStateDeclarationItems()}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$c1085;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1086)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1087(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$c1134){s2=peg$c1134;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1135)}}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$c1070;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1268(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$c1269;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1270)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){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$c1070;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1271(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$parseMachinePropertyDefaultNull(){var s0;if(input.substr(peg$currPos,4)===peg$c1272){s0=peg$c1272;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1273)}}return s0}function peg$parseMachinePropertyDefaultUndefined(){var s0;if(input.substr(peg$currPos,9)===peg$c1274){s0=peg$c1274;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1275)}}return s0}function peg$parseMachinePropertyDefaultBoolean(){var s0;if(input.substr(peg$currPos,4)===peg$c222){s0=peg$c222;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c223)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c225){s0=peg$c225;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c226)}}}return s0}function peg$parseMachinePropertyDefaultNumber(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===45){s1=peg$c1105;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1106)}}if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseIntegerLiteral();if(s2!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s3=peg$c309;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c310)}}if(s3!==peg$FAILED){s4=[];s5=peg$parseDecimalDigit();while(s5!==peg$FAILED){s4.push(s5);s5=peg$parseDecimalDigit()}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1276();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;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)===45){s1=peg$c1105;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1106)}}if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseIntegerLiteral();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1276();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){if(input.substr(peg$currPos,8)===peg$c1277){s0=peg$c1277;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1278)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1279){s0=peg$c1279;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1280)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c1281){s0=peg$c1281;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1282)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1283){s0=peg$c1283;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1284)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1285){s0=peg$c1285;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1286)}}}}}}}}return s0}function peg$parseMachinePropertyDefaultString(){var s0,s1,s2,s3;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===34){s1=peg$c242;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c243)}}if(s1!==peg$FAILED){s2=[];s3=peg$parseMachinePropertyDefaultStringCharacter();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseMachinePropertyDefaultStringCharacter()}if(s2!==peg$FAILED){if(input.charCodeAt(peg$currPos)===34){s3=peg$c242;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c243)}}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1287(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$parseMachinePropertyDefaultStringCharacter(){var s0,s1,s2;s0=peg$currPos;s1=peg$currPos;peg$silentFails++;if(input.charCodeAt(peg$currPos)===34){s2=peg$c242;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c243)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===92){s2=peg$c244;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c245)}}}peg$silentFails--;if(s2===peg$FAILED){s1=void 0}else{peg$currPos=s1;s1=peg$FAILED}if(s1!==peg$FAILED){if(input.length>peg$currPos){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c284)}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c1288(s2);s0=s1}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)===92){s1=peg$c244;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c245)}}if(s1!==peg$FAILED){s2=peg$parseMachinePropertyDefaultStringEscapeSequence();if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c1289(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseMachinePropertyDefaultStringEscapeSequence(){var s0,s1;if(input.charCodeAt(peg$currPos)===39){s0=peg$c272;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c273)}}if(s0===peg$FAILED){if(input.charCodeAt(peg$currPos)===34){s0=peg$c242;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c243)}}if(s0===peg$FAILED){if(input.charCodeAt(peg$currPos)===92){s0=peg$c244;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c245)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===98){s1=peg$c248;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c249)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1290()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===102){s1=peg$c251;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c252)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1291()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===110){s1=peg$c254;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c255)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1292()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===114){s1=peg$c257;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c258)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1293()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===116){s1=peg$c260;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c261)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1294()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===118){s1=peg$c263;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c264)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1295()}s0=s1}}}}}}}}return s0}function peg$parseMachinePropertyDefault(){var s0;s0=peg$parseMachinePropertyDefaultNull();if(s0===peg$FAILED){s0=peg$parseMachinePropertyDefaultUndefined();if(s0===peg$FAILED){s0=peg$parseMachinePropertyDefaultBoolean();if(s0===peg$FAILED){s0=peg$parseMachinePropertyDefaultNumber();if(s0===peg$FAILED){s0=peg$parseMachinePropertyDefaultString()}}}}return s0}function peg$parseMachineProperty(){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,8)===peg$c1296){s2=peg$c1296;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1297)}}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.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$parseMachinePropertyDefault();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$c1072;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1298(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$c1296){s2=peg$c1296;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1297)}}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)===59){s6=peg$c1072;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){peg$savedPos=s0;s1=peg$c1299(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$c1300){s1=peg$c1300;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1301)}}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$c1072;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1302(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$c1303){s1=peg$c1303;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1304)}}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$c1072;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1305(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$c1306){s1=peg$c1306;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1307)}}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$c1072;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1308(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$c1309)}}return s0}function peg$parseTerm(){var s0;s0=peg$parseExp();if(s0===peg$FAILED){s0=peg$parseStateDeclaration();if(s0===peg$FAILED){s0=peg$parseArrangeDeclaration();if(s0===peg$FAILED){s0=peg$parseNamedList();if(s0===peg$FAILED){s0=peg$parseMachineAttribute();if(s0===peg$FAILED){s0=peg$parseMachineProperty();if(s0===peg$FAILED){s0=peg$parseConfig()}}}}}}return s0}function peg$parseTermList(){var s0,s1;s0=[];s1=peg$parseTerm();while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseTerm()}return s0}peg$result=peg$startRuleFunction();if(peg$result!==peg$FAILED&&peg$currPos===input.length){return peg$result}else{if(peg$result!==peg$FAILED&&peg$currPos":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 makeTransition(this_se,from,to,isRight,_wasList,_wasIndex){const kind=isRight?arrow_right_kind(this_se.kind):arrow_left_kind(this_se.kind),edge={from:from,to:to,kind:kind,forced_only:kind==="forced",main_path:kind==="main"};const action=isRight?"r_action":"l_action",probability=isRight?"r_probability":"l_probability";if(this_se[action]){edge.action=this_se[action]}if(this_se[probability]){edge.probability=this_se[probability]}return edge}function wrap_parse(input,options){return peg$parse(input,options||{})}function compile_rule_transition_step(acc,from,to,this_se,next_se){const edges=[];const uFrom=Array.isArray(from)?from:[from],uTo=Array.isArray(to)?to:[to];uFrom.map((f=>{uTo.map((t=>{const right=makeTransition(this_se,f,t,true);if(right.kind!=="none"){edges.push(right)}const left=makeTransition(this_se,t,f,false);if(left.kind!=="none"){edges.push(left)}}))}));const new_acc=acc.concat(edges);if(next_se){return compile_rule_transition_step(new_acc,to,next_se.to,next_se,next_se.se)}else{return new_acc}}function compile_rule_handle_transition(rule){return compile_rule_transition_step([],rule.from,rule.se.to,rule.se,rule.se.se)}function compile_rule_handler(rule){if(rule.key==="transition"){return{agg_as:"transition",val:compile_rule_handle_transition(rule)}}if(rule.key==="machine_language"){return{agg_as:"machine_language",val:reduceTo6391.reduce(rule.value)}}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"];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:[],theme:[],flow:[],dot_preamble:[],arrange_declaration:[],arrange_start_declaration:[],arrange_end_declaration:[],machine_version:[]};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 assembled_transitions=[].concat(...results["transition"]);const result_cfg={start_states:results.start_states.length?results.start_states:[assembled_transitions[0].from],transitions:assembled_transitions};const oneOnlyKeys=["graph_layout","machine_name","machine_version","machine_comment","fsl_version","machine_license","machine_definition","machine_language","theme","flow","dot_preamble"];oneOnlyKeys.map((oneOnlyKey=>{if(results[oneOnlyKey].length>1){throw new JssmError(undefined,`May only have one ${oneOnlyKey} statement maximum: ${JSON.stringify(results[oneOnlyKey])}`)}else{if(results[oneOnlyKey].length){result_cfg[oneOnlyKey]=results[oneOnlyKey][0]}}}));["arrange_declaration","arrange_start_declaration","arrange_end_declaration","machine_author","machine_contributor","machine_reference","state_declaration"].map((multiKey=>{if(results[multiKey].length){result_cfg[multiKey]=results[multiKey]}}));return result_cfg}function make(plan){return compile(wrap_parse(plan))}function transfer_state_properties(state_decl){state_decl.declarations.map((d=>{switch(d.key){case"shape":state_decl.shape=d.value;break;case"color":state_decl.color=d.value;break;case"corners":state_decl.corners=d.value;break;case"linestyle":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"border-color":state_decl.borderColor=d.value;break;default:throw new JssmError(undefined,`Unknown state property: '${JSON.stringify(d)}'`)}}));return state_decl}class Machine{constructor({start_states:start_states,complete:complete=[],transitions:transitions,machine_author:machine_author,machine_comment:machine_comment,machine_contributor:machine_contributor,machine_definition:machine_definition,machine_language:machine_language,machine_license:machine_license,machine_name:machine_name,machine_version:machine_version,state_declaration:state_declaration,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}){this._instance_name=instance_name;this._state=start_states[0];this._states=new Map;this._state_declarations=new Map;this._edges=[];this._edge_map=new Map;this._named_transitions=new Map;this._actions=new Map;this._reverse_actions=new Map;this._reverse_action_targets=new Map;this._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._theme=theme;this._flow=flow;this._graph_layout=graph_layout;this._has_hooks=false;this._has_basic_hooks=false;this._has_named_hooks=false;this._has_entry_hooks=false;this._has_exit_hooks=false;this._has_global_action_hooks=false;this._has_transition_hooks=true;this._hooks=new Map;this._named_hooks=new Map;this._entry_hooks=new Map;this._exit_hooks=new Map;this._global_action_hooks=new Map;this._any_action_hook=undefined;this._standard_transition_hook=undefined;this._main_transition_hook=undefined;this._forced_transition_hook=undefined;this._any_transition_hook=undefined;this._standard_transition_hook=undefined;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))}))}transitions.map((tr=>{if(tr.from===undefined){throw new JssmError(this,`transition must define 'from': ${JSON.stringify(tr)}`)}if(tr.to===undefined){throw new JssmError(this,`transition must define 'to': ${JSON.stringify(tr)}`)}const cursor_from=this._states.get(tr.from)||{name:tr.from,from:[],to:[],complete:complete.includes(tr.from)};if(!this._states.has(tr.from)){this._new_state(cursor_from)}const cursor_to=this._states.get(tr.to)||{name:tr.to,from:[],to:[],complete:complete.includes(tr.to)};if(!this._states.has(tr.to)){this._new_state(cursor_to)}if(cursor_from.to.includes(tr.to)){throw new JssmError(this,`already has ${JSON.stringify(tr.from)} to ${JSON.stringify(tr.to)}`)}else{cursor_from.to.push(tr.to);cursor_to.from.push(tr.from)}this._edges.push(tr);const thisEdgeId=this._edges.length-1;if(tr.name){if(this._named_transitions.has(tr.name)){throw new JssmError(this,`named transition "${JSON.stringify(tr.name)}" already created`)}else{this._named_transitions.set(tr.name,thisEdgeId)}}const from_mapping=this._edge_map.get(tr.from)||new Map;if(!this._edge_map.has(tr.from)){this._edge_map.set(tr.from,from_mapping)}from_mapping.set(tr.to,thisEdgeId);if(tr.action){let actionMap=this._actions.get(tr.action);if(!actionMap){actionMap=new Map;this._actions.set(tr.action,actionMap)}if(actionMap.has(tr.from)){throw new JssmError(this,`action ${JSON.stringify(tr.action)} already attached to origin ${JSON.stringify(tr.from)}`)}else{actionMap.set(tr.from,thisEdgeId)}let rActionMap=this._reverse_actions.get(tr.from);if(!rActionMap){rActionMap=new Map;this._reverse_actions.set(tr.from,rActionMap)}rActionMap.set(tr.action,thisEdgeId);if(!this._reverse_action_targets.has(tr.to)){this._reverse_action_targets.set(tr.to,new Map)}}}))}_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}state_is_final(whichState){return this.state_is_terminal(whichState)&&this.state_is_complete(whichState)}is_final(){return this.state_is_final(this.state())}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())}theme(){return this._theme}flow(){return this._flow}get_transition_by_state_names(from,to){const emg=this._edge_map.get(from);if(emg){return emg.get(to)}else{return undefined}}lookup_transition_for(from,to){const id=this.get_transition_by_state_names(from,to);return id===undefined||id===null?undefined:this._edges[id]}list_transitions(whichState=this.state()){return{entrances:this.list_entrances(whichState),exits:this.list_exits(whichState)}}list_entrances(whichState=this.state()){return(this._states.get(whichState)||{from:undefined}).from||[]}list_exits(whichState=this.state()){return(this._states.get(whichState)||{to:undefined}).to||[]}probable_exits_for(whichState){const wstate=this._states.get(whichState);if(!wstate){throw new JssmError(this,`No such state ${JSON.stringify(whichState)} in probable_exits_for`)}const wstate_to=wstate.to,wtf=wstate_to.map((ws=>this.lookup_transition_for(this.state(),ws))).filter(Boolean);return wtf}probabilistic_transition(){const selected=weighted_rand_select(this.probable_exits_for(this.state()));return this.transition(selected.to)}probabilistic_walk(n){return seq(n).map((()=>{const state_was=this.state();this.probabilistic_transition();return state_was})).concat([this.state()])}probabilistic_histo_walk(n){return histograph(this.probabilistic_walk(n))}actions(whichState=this.state()){const wstate=this._reverse_actions.get(whichState);if(wstate){return Array.from(wstate.keys())}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}list_states_having_action(whichState){const wstate=this._actions.get(whichState);if(wstate){return Array.from(wstate.keys())}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}list_exit_actions(whichState=this.state()){const ra_base=this._reverse_actions.get(whichState);if(!ra_base){throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}return Array.from(ra_base.values()).map((edgeId=>this._edges[edgeId])).filter((o=>o.from===whichState)).map((filtered=>filtered.action))}probable_action_exits(whichState=this.state()){const ra_base=this._reverse_actions.get(whichState);if(!ra_base){throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}return Array.from(ra_base.values()).map((edgeId=>this._edges[edgeId])).filter((o=>o.from===whichState)).map((filtered=>({action:filtered.action,probability:filtered.probability})))}is_unenterable(whichState){if(!this.has_state(whichState)){throw new JssmError(this,`No such state ${whichState}`)}return this.list_entrances(whichState).length===0}has_unenterables(){return this.states().some((x=>this.is_unenterable(x)))}is_terminal(){return this.state_is_terminal(this.state())}state_is_terminal(whichState){if(!this.has_state(whichState)){throw new JssmError(this,`No such state ${whichState}`)}return this.list_exits(whichState).length===0}has_terminals(){return this.states().some((x=>this.state_is_terminal(x)))}is_complete(){return this.state_is_complete(this.state())}state_is_complete(whichState){const wstate=this._states.get(whichState);if(wstate){return wstate.complete}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}has_completes(){return this.states().some((x=>this.state_is_complete(x)))}set_hook(HookDesc){switch(HookDesc.kind){case"hook":this._hooks.set(hook_name(HookDesc.from,HookDesc.to),HookDesc.handler);this._has_hooks=true;this._has_basic_hooks=true;break;case"named":this._named_hooks.set(named_hook_name(HookDesc.from,HookDesc.to,HookDesc.action),HookDesc.handler);this._has_hooks=true;this._has_named_hooks=true;break;case"global action":this._global_action_hooks.set(HookDesc.action,HookDesc.handler);this._has_hooks=true;this._has_global_action_hooks=true;break;case"any action":this._any_action_hook=HookDesc.handler;this._has_hooks=true;break;case"standard transition":this._standard_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"main transition":this._main_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"forced transition":this._forced_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"any transition":this._any_transition_hook=HookDesc.handler;this._has_hooks=true;break;case"entry":this._entry_hooks.set(HookDesc.to,HookDesc.handler);this._has_hooks=true;this._has_entry_hooks=true;break;case"exit":this._exit_hooks.set(HookDesc.from,HookDesc.handler);this._has_hooks=true;this._has_exit_hooks=true;break;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}edges_between(from,to){return this._edges.filter((edge=>edge.from===from&&edge.to===to))}transition_impl(newStateOrAction,newData,wasForced,wasAction){let valid=false,trans_type,newState;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}}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}}if(valid){if(this._has_hooks){if(wasAction){if(this._any_action_hook!==undefined){if(this._any_action_hook()===false){return false}}const maybe_ga_hook=this._global_action_hooks.get(newStateOrAction);if(maybe_ga_hook!==undefined){if(maybe_ga_hook({action:newStateOrAction,forced:wasForced})===false){return false}}}if(this._any_transition_hook!==undefined){if(this._any_transition_hook()===false){return false}}if(this._has_exit_hooks){const maybe_ex_hook=this._exit_hooks.get(this._state);if(maybe_ex_hook!==undefined){if(maybe_ex_hook({from:this._state,forced:wasForced})===false){return false}}}if(this._has_named_hooks){if(wasAction){const nhn=named_hook_name(this._state,newState,newStateOrAction),n_maybe_hook=this._named_hooks.get(nhn);if(n_maybe_hook!==undefined){if(n_maybe_hook({from:this._state,to:newState,action:newStateOrAction})===false){return false}}}}if(this._has_basic_hooks){const hn=hook_name(this._state,newState),maybe_hook=this._hooks.get(hn);if(maybe_hook!==undefined){if(maybe_hook({from:this._state,to:newState,forced:wasForced,action:wasAction?newStateOrAction:undefined})===false){return false}}}if(trans_type==="legal"){if(this._standard_transition_hook!==undefined){if(this._standard_transition_hook({from:this._state,to:newState})===false){return false}}}if(trans_type==="main"){if(this._main_transition_hook!==undefined){if(this._main_transition_hook({from:this._state,to:newState})===false){return false}}}if(trans_type==="forced"){if(this._forced_transition_hook!==undefined){if(this._forced_transition_hook({from:this._state,to:newState})===false){return false}}}if(this._has_entry_hooks){const maybe_en_hook=this._entry_hooks.get(newState);if(maybe_en_hook!==undefined){if(maybe_en_hook({to:newState,forced:wasForced})===false){return false}}}this._state=newState;return true}else{this._state=newState;return true}}else{return false}}action(actionName,newData){return this.transition_impl(actionName,newData,false,true)}transition(newState,newData){return this.transition_impl(newState,newData,false,false)}force_transition(newState,newData){return this.transition_impl(newState,newData,true,false)}current_action_for(action){const action_base=this._actions.get(action);return action_base?action_base.get(this.state()):undefined}current_action_edge_for(action){const idx=this.current_action_for(action);if(idx===undefined||idx===null){throw new JssmError(this,`No such action ${JSON.stringify(action)}`)}return this._edges[idx]}valid_action(action,_newData){return this.current_action_for(action)!==undefined}valid_transition(newState,_newData){const transition_for=this.lookup_transition_for(this.state(),newState);if(!transition_for){return false}if(transition_for.forced_only){return false}return true}valid_force_transition(newState,_newData){return this.lookup_transition_for(this.state(),newState)!==undefined}instance_name(){return this._instance_name}sm(template_strings,...remainder){return sm(template_strings,...remainder)}}function sm(template_strings,...remainder){return new Machine(make(template_strings.reduce(((acc,val,idx)=>`${acc}${remainder[idx-1]}${val}`))))}function from(MachineAsString,ExtraConstructorFields){const to_decorate=make(MachineAsString);if(ExtraConstructorFields!==undefined){Object.keys(ExtraConstructorFields).map((key=>to_decorate[key]=ExtraConstructorFields[key]))}return new Machine(to_decorate)}exports.Machine=Machine;exports.arrow_direction=arrow_direction;exports.arrow_left_kind=arrow_left_kind;exports.arrow_right_kind=arrow_right_kind;exports.compile=compile;exports.from=from;exports.gviz_shapes=gviz_shapes;exports.histograph=histograph;exports.make=make;exports.named_colors=named_colors;exports.parse=wrap_parse;exports.seq=seq;exports.shapes=shapes;exports.sm=sm;exports.transfer_state_properties=transfer_state_properties;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});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()]}var reduceTo6391={reduce:reduce,reductions:reductions};const array_box_if_string=n=>typeof n==="string"?[n]:n;const weighted_rand_select=(options,probability_property="probability")=>{if(!Array.isArray(options)){throw new TypeError("options must be a non-empty array of objects")}if(!(typeof options[0]==="object")){throw new TypeError("options must be a non-empty array of objects")}const frand=cap=>Math.random()*cap,or_one=item=>item===undefined?1:item,prob_sum=options.reduce(((acc,val)=>acc+or_one(val[probability_property])),0),rnd=frand(prob_sum);let cursor=0,cursor_sum=0;while((cursor_sum+=or_one(options[cursor++][probability_property]))<=rnd){}return options[cursor-1]};function seq(n){if(!Number.isInteger(n)){throw new TypeError("seq/1 takes a non-negative integer n as an argument")}if(n<0){throw new TypeError("seq/1 takes a non-negative integer n as an argument")}return new Array(n).fill(true).map(((_,i)=>i))}const histograph=ar=>ar.sort().reduce(((m,v)=>(m.set(v,m.has(v)?m.get(v)+1:1),m)),new Map);const weighted_sample_select=(n,options,probability_property)=>seq(n).map((_i=>weighted_rand_select(options,probability_property)));const weighted_histo_key=(n,opts,prob_prop,extract)=>histograph(weighted_sample_select(n,opts,prob_prop).map((s=>s[extract])));const hook_name=(from,to)=>JSON.stringify([from,to]);const named_hook_name=(from,to,action)=>JSON.stringify([from,to,action]);const gviz_shapes=["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=gviz_shapes;const named_colors=["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"];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;i"),peg$c128="->",peg$c129=peg$literalExpectation("->",false),peg$c130="→",peg$c131=peg$literalExpectation("→",false),peg$c132=function(){return"->"},peg$c133=peg$otherExpectation("two way light arrow <->"),peg$c134="<->",peg$c135=peg$literalExpectation("<->",false),peg$c136="↔",peg$c137=peg$literalExpectation("↔",false),peg$c138=function(){return"<->"},peg$c139=peg$otherExpectation("back light arrow <-"),peg$c140="<-",peg$c141=peg$literalExpectation("<-",false),peg$c142="←",peg$c143=peg$literalExpectation("←",false),peg$c144=function(){return"<-"},peg$c145=peg$otherExpectation("forward fat arrow =>"),peg$c146="=>",peg$c147=peg$literalExpectation("=>",false),peg$c148="⇒",peg$c149=peg$literalExpectation("⇒",false),peg$c150=function(){return"=>"},peg$c151=peg$otherExpectation("two way fat arrow <=>"),peg$c152="<=>",peg$c153=peg$literalExpectation("<=>",false),peg$c154="⇔",peg$c155=peg$literalExpectation("⇔",false),peg$c156=function(){return"<=>"},peg$c157=peg$otherExpectation("back fat arrow <="),peg$c158="<=",peg$c159=peg$literalExpectation("<=",false),peg$c160="⇐",peg$c161=peg$literalExpectation("⇐",false),peg$c162=function(){return"<="},peg$c163=peg$otherExpectation("forward tilde arrow ~>"),peg$c164="~>",peg$c165=peg$literalExpectation("~>",false),peg$c166="↛",peg$c167=peg$literalExpectation("↛",false),peg$c168=function(){return"~>"},peg$c169=peg$otherExpectation("two way tilde arrow <~>"),peg$c170="<~>",peg$c171=peg$literalExpectation("<~>",false),peg$c172="↮",peg$c173=peg$literalExpectation("↮",false),peg$c174=function(){return"<~>"},peg$c175=peg$otherExpectation("back tilde arrow <~"),peg$c176="<~",peg$c177=peg$literalExpectation("<~",false),peg$c178="↚",peg$c179=peg$literalExpectation("↚",false),peg$c180=function(){return"<~"},peg$c181=peg$otherExpectation("light fat arrow <-=>"),peg$c182="<-=>",peg$c183=peg$literalExpectation("<-=>",false),peg$c184="←⇒",peg$c185=peg$literalExpectation("←⇒",false),peg$c186=function(){return"<-=>"},peg$c187=peg$otherExpectation("light tilde arrow <-~>"),peg$c188="<-~>",peg$c189=peg$literalExpectation("<-~>",false),peg$c190="←↛",peg$c191=peg$literalExpectation("←↛",false),peg$c192=function(){return"<-~>"},peg$c193=peg$otherExpectation("fat light arrow <=->"),peg$c194="<=->",peg$c195=peg$literalExpectation("<=->",false),peg$c196="⇐→",peg$c197=peg$literalExpectation("⇐→",false),peg$c198=function(){return"<=->"},peg$c199=peg$otherExpectation("fat tilde arrow <=~>"),peg$c200="<=~>",peg$c201=peg$literalExpectation("<=~>",false),peg$c202="⇐↛",peg$c203=peg$literalExpectation("⇐↛",false),peg$c204=function(){return"<=~>"},peg$c205=peg$otherExpectation("tilde light arrow <~->"),peg$c206="<~->",peg$c207=peg$literalExpectation("<~->",false),peg$c208="↚→",peg$c209=peg$literalExpectation("↚→",false),peg$c210=function(){return"<~->"},peg$c211=peg$otherExpectation("tilde fat arrow <~=>"),peg$c212="<~=>",peg$c213=peg$literalExpectation("<~=>",false),peg$c214="↚⇒",peg$c215=peg$literalExpectation("↚⇒",false),peg$c216=function(){return"<~=>"},peg$c217=peg$otherExpectation("light arrow"),peg$c218=peg$otherExpectation("fat arrow"),peg$c219=peg$otherExpectation("tilde arrow"),peg$c220=peg$otherExpectation("mixed arrow"),peg$c221=peg$otherExpectation("arrow"),peg$c222="true",peg$c223=peg$literalExpectation("true",false),peg$c225="false",peg$c226=peg$literalExpectation("false",false),peg$c228="regular",peg$c229=peg$literalExpectation("regular",false),peg$c230="rounded",peg$c231=peg$literalExpectation("rounded",false),peg$c232="lined",peg$c233=peg$literalExpectation("lined",false),peg$c234="solid",peg$c235=peg$literalExpectation("solid",false),peg$c236="dotted",peg$c237=peg$literalExpectation("dotted",false),peg$c238="dashed",peg$c239=peg$literalExpectation("dashed",false),peg$c240=/^[0-9a-fA-F]/,peg$c241=peg$classExpectation([["0","9"],["a","f"],["A","F"]],false,false),peg$c242='"',peg$c243=peg$literalExpectation('"',false),peg$c244="\\",peg$c245=peg$literalExpectation("\\",false),peg$c246="/",peg$c247=peg$literalExpectation("/",false),peg$c248="b",peg$c249=peg$literalExpectation("b",false),peg$c250=function(){return"\b"},peg$c251="f",peg$c252=peg$literalExpectation("f",false),peg$c253=function(){return"\f"},peg$c254="n",peg$c255=peg$literalExpectation("n",false),peg$c256=function(){return"\n"},peg$c257="r",peg$c258=peg$literalExpectation("r",false),peg$c259=function(){return"\r"},peg$c260="t",peg$c261=peg$literalExpectation("t",false),peg$c262=function(){return"\t"},peg$c263="v",peg$c264=peg$literalExpectation("v",false),peg$c265=function(){return"\v"},peg$c266="u",peg$c267=peg$literalExpectation("u",false),peg$c268=function(digits){return String.fromCharCode(parseInt(digits,16))},peg$c269=function(Sequence){return Sequence},peg$c270=/^[ -!#-[\]-\u10FFFF]/,peg$c271=peg$classExpectation([[" ","!"],["#","["],["]","ჿ"],"F","F"],false,false),peg$c272="'",peg$c273=peg$literalExpectation("'",false),peg$c274=/^[ -&(-[\]-\u10FFFF]/,peg$c275=peg$classExpectation([[" ","&"],["(","["],["]","ჿ"],"F","F"],false,false),peg$c276=peg$otherExpectation("action label"),peg$c277=function(chars){return chars.join("")},peg$c278=/^[\n\r\u2028\u2029]/,peg$c279=peg$classExpectation(["\n","\r","\u2028","\u2029"],false,false),peg$c282="*/",peg$c283=peg$literalExpectation("*/",false),peg$c284=peg$anyExpectation(),peg$c285=peg$otherExpectation("block comment"),peg$c286="/*",peg$c287=peg$literalExpectation("/*",false),peg$c288=peg$otherExpectation("line comment"),peg$c289="//",peg$c290=peg$literalExpectation("//",false),peg$c291=peg$otherExpectation("whitespace"),peg$c292=/^[ \t\r\n\x0B]/,peg$c293=peg$classExpectation([" ","\t","\r","\n","\v"],false,false),peg$c294=peg$otherExpectation("string"),peg$c295=/^[0-9a-zA-Z._!$\^*!?,\x80-\uFFFF]/,peg$c296=peg$classExpectation([["0","9"],["a","z"],["A","Z"],".","_","!","$","^","*","!","?",",",["€","￿"]],false,false),peg$c297=/^[0-9a-zA-Z.+=_\^()*&$#@!?,\x80-\uFFFF]/,peg$c298=peg$classExpectation([["0","9"],["a","z"],["A","Z"],".","+","=","_","^","(",")","*","&","$","#","@","!","?",",",["€","￿"]],false,false),peg$c299=peg$otherExpectation("atom"),peg$c300=function(firstletter,text){return firstletter+(text||[]).join("")},peg$c301=peg$otherExpectation("label"),peg$c302="0",peg$c303=peg$literalExpectation("0",false),peg$c304=/^[0-9]/,peg$c305=peg$classExpectation([["0","9"]],false,false),peg$c306=/^[1-9]/,peg$c307=peg$classExpectation([["1","9"]],false,false),peg$c308=peg$otherExpectation("nonneg number"),peg$c309=".",peg$c310=peg$literalExpectation(".",false),peg$c311=function(){return parseFloat(text())},peg$c312=function(major,minor,patch){return{major:parseInt(major,10),minor:parseInt(minor,10),patch:parseInt(patch,10),full:text()}},peg$c323="http://",peg$c324=peg$literalExpectation("http://",false),peg$c325="https://",peg$c326=peg$literalExpectation("https://",false),peg$c327=/^[a-zA-Z0-9!*'():;@&=+$,\/?#[\]_.~\-]/,peg$c328=peg$classExpectation([["a","z"],["A","Z"],["0","9"],"!","*","'","(",")",":",";","@","&","=","+","$",",","/","?","#","[","]","_",".","~","-"],false,false),peg$c329=function(protocol){return text()},peg$c330="aliceblue",peg$c331=peg$literalExpectation("aliceblue",false),peg$c332=function(){return"#f0f8ffff"},peg$c333="AliceBlue",peg$c334=peg$literalExpectation("AliceBlue",false),peg$c335="antiquewhite",peg$c336=peg$literalExpectation("antiquewhite",false),peg$c337=function(){return"#faebd7ff"},peg$c338="AntiqueWhite",peg$c339=peg$literalExpectation("AntiqueWhite",false),peg$c340="aquamarine",peg$c341=peg$literalExpectation("aquamarine",false),peg$c342=function(){return"#7fffd4ff"},peg$c343="Aquamarine",peg$c344=peg$literalExpectation("Aquamarine",false),peg$c345="aqua",peg$c346=peg$literalExpectation("aqua",false),peg$c347=function(){return"#00ffffff"},peg$c348="Aqua",peg$c349=peg$literalExpectation("Aqua",false),peg$c350="azure",peg$c351=peg$literalExpectation("azure",false),peg$c352=function(){return"#f0ffffff"},peg$c353="Azure",peg$c354=peg$literalExpectation("Azure",false),peg$c355="beige",peg$c356=peg$literalExpectation("beige",false),peg$c357=function(){return"#f5f5dcff"},peg$c358="Beige",peg$c359=peg$literalExpectation("Beige",false),peg$c360="bisque",peg$c361=peg$literalExpectation("bisque",false),peg$c362=function(){return"#ffe4c4ff"},peg$c363="Bisque",peg$c364=peg$literalExpectation("Bisque",false),peg$c365="black",peg$c366=peg$literalExpectation("black",false),peg$c367=function(){return"#000000ff"},peg$c368="Black",peg$c369=peg$literalExpectation("Black",false),peg$c370="blanchedalmond",peg$c371=peg$literalExpectation("blanchedalmond",false),peg$c372=function(){return"#ffebcdff"},peg$c373="BlanchedAlmond",peg$c374=peg$literalExpectation("BlanchedAlmond",false),peg$c375="blueviolet",peg$c376=peg$literalExpectation("blueviolet",false),peg$c377=function(){return"#8a2be2ff"},peg$c378="BlueViolet",peg$c379=peg$literalExpectation("BlueViolet",false),peg$c380="blue",peg$c381=peg$literalExpectation("blue",false),peg$c382=function(){return"#0000ffff"},peg$c383="Blue",peg$c384=peg$literalExpectation("Blue",false),peg$c385="brown",peg$c386=peg$literalExpectation("brown",false),peg$c387=function(){return"#a52a2aff"},peg$c388="Brown",peg$c389=peg$literalExpectation("Brown",false),peg$c390="burlywood",peg$c391=peg$literalExpectation("burlywood",false),peg$c392=function(){return"#deb887ff"},peg$c393="BurlyWood",peg$c394=peg$literalExpectation("BurlyWood",false),peg$c395="cadetblue",peg$c396=peg$literalExpectation("cadetblue",false),peg$c397=function(){return"#5f9ea0ff"},peg$c398="CadetBlue",peg$c399=peg$literalExpectation("CadetBlue",false),peg$c400="chartreuse",peg$c401=peg$literalExpectation("chartreuse",false),peg$c402=function(){return"#7fff00ff"},peg$c403="Chartreuse",peg$c404=peg$literalExpectation("Chartreuse",false),peg$c405="chocolate",peg$c406=peg$literalExpectation("chocolate",false),peg$c407=function(){return"#d2691eff"},peg$c408="Chocolate",peg$c409=peg$literalExpectation("Chocolate",false),peg$c410="coral",peg$c411=peg$literalExpectation("coral",false),peg$c412=function(){return"#ff7f50ff"},peg$c413="Coral",peg$c414=peg$literalExpectation("Coral",false),peg$c415="cornflowerblue",peg$c416=peg$literalExpectation("cornflowerblue",false),peg$c417=function(){return"#6495edff"},peg$c418="CornflowerBlue",peg$c419=peg$literalExpectation("CornflowerBlue",false),peg$c420="cornsilk",peg$c421=peg$literalExpectation("cornsilk",false),peg$c422=function(){return"#fff8dcff"},peg$c423="Cornsilk",peg$c424=peg$literalExpectation("Cornsilk",false),peg$c425="crimson",peg$c426=peg$literalExpectation("crimson",false),peg$c427=function(){return"#dc143cff"},peg$c428="Crimson",peg$c429=peg$literalExpectation("Crimson",false),peg$c430="cyan",peg$c431=peg$literalExpectation("cyan",false),peg$c432="Cyan",peg$c433=peg$literalExpectation("Cyan",false),peg$c434="darkblue",peg$c435=peg$literalExpectation("darkblue",false),peg$c436=function(){return"#00008bff"},peg$c437="DarkBlue",peg$c438=peg$literalExpectation("DarkBlue",false),peg$c439="darkcyan",peg$c440=peg$literalExpectation("darkcyan",false),peg$c441=function(){return"#008b8bff"},peg$c442="DarkCyan",peg$c443=peg$literalExpectation("DarkCyan",false),peg$c444="darkgoldenrod",peg$c445=peg$literalExpectation("darkgoldenrod",false),peg$c446=function(){return"#b8860bff"},peg$c447="DarkGoldenRod",peg$c448=peg$literalExpectation("DarkGoldenRod",false),peg$c449="darkgray",peg$c450=peg$literalExpectation("darkgray",false),peg$c451=function(){return"#a9a9a9ff"},peg$c452="DarkGray",peg$c453=peg$literalExpectation("DarkGray",false),peg$c454="darkgrey",peg$c455=peg$literalExpectation("darkgrey",false),peg$c456="DarkGrey",peg$c457=peg$literalExpectation("DarkGrey",false),peg$c458="darkgreen",peg$c459=peg$literalExpectation("darkgreen",false),peg$c460=function(){return"#006400ff"},peg$c461="DarkGreen",peg$c462=peg$literalExpectation("DarkGreen",false),peg$c463="darkkhaki",peg$c464=peg$literalExpectation("darkkhaki",false),peg$c465=function(){return"#bdb76bff"},peg$c466="DarkKhaki",peg$c467=peg$literalExpectation("DarkKhaki",false),peg$c468="darkmagenta",peg$c469=peg$literalExpectation("darkmagenta",false),peg$c470=function(){return"#8b008bff"},peg$c471="DarkMagenta",peg$c472=peg$literalExpectation("DarkMagenta",false),peg$c473="darkolivegreen",peg$c474=peg$literalExpectation("darkolivegreen",false),peg$c475=function(){return"#556b2fff"},peg$c476="DarkOliveGreen",peg$c477=peg$literalExpectation("DarkOliveGreen",false),peg$c478="darkorange",peg$c479=peg$literalExpectation("darkorange",false),peg$c480=function(){return"#ff8c00ff"},peg$c481="Darkorange",peg$c482=peg$literalExpectation("Darkorange",false),peg$c483="darkorchid",peg$c484=peg$literalExpectation("darkorchid",false),peg$c485=function(){return"#9932ccff"},peg$c486="DarkOrchid",peg$c487=peg$literalExpectation("DarkOrchid",false),peg$c488="darkred",peg$c489=peg$literalExpectation("darkred",false),peg$c490=function(){return"#8b0000ff"},peg$c491="DarkRed",peg$c492=peg$literalExpectation("DarkRed",false),peg$c493="darksalmon",peg$c494=peg$literalExpectation("darksalmon",false),peg$c495=function(){return"#e9967aff"},peg$c496="DarkSalmon",peg$c497=peg$literalExpectation("DarkSalmon",false),peg$c498="darkseagreen",peg$c499=peg$literalExpectation("darkseagreen",false),peg$c500=function(){return"#8fbc8fff"},peg$c501="DarkSeaGreen",peg$c502=peg$literalExpectation("DarkSeaGreen",false),peg$c503="darkslateblue",peg$c504=peg$literalExpectation("darkslateblue",false),peg$c505=function(){return"#483d8bff"},peg$c506="DarkSlateBlue",peg$c507=peg$literalExpectation("DarkSlateBlue",false),peg$c508="darkslategray",peg$c509=peg$literalExpectation("darkslategray",false),peg$c510=function(){return"#2f4f4fff"},peg$c511="DarkSlateGray",peg$c512=peg$literalExpectation("DarkSlateGray",false),peg$c513="darkslategrey",peg$c514=peg$literalExpectation("darkslategrey",false),peg$c515="DarkSlateGrey",peg$c516=peg$literalExpectation("DarkSlateGrey",false),peg$c517="darkturquoise",peg$c518=peg$literalExpectation("darkturquoise",false),peg$c519=function(){return"#00ced1ff"},peg$c520="DarkTurquoise",peg$c521=peg$literalExpectation("DarkTurquoise",false),peg$c522="darkviolet",peg$c523=peg$literalExpectation("darkviolet",false),peg$c524=function(){return"#9400d3ff"},peg$c525="DarkViolet",peg$c526=peg$literalExpectation("DarkViolet",false),peg$c527="deeppink",peg$c528=peg$literalExpectation("deeppink",false),peg$c529=function(){return"#ff1493ff"},peg$c530="DeepPink",peg$c531=peg$literalExpectation("DeepPink",false),peg$c532="deepskyblue",peg$c533=peg$literalExpectation("deepskyblue",false),peg$c534=function(){return"#00bfffff"},peg$c535="DeepSkyBlue",peg$c536=peg$literalExpectation("DeepSkyBlue",false),peg$c537="dimgray",peg$c538=peg$literalExpectation("dimgray",false),peg$c539=function(){return"#696969ff"},peg$c540="DimGray",peg$c541=peg$literalExpectation("DimGray",false),peg$c542="dimgrey",peg$c543=peg$literalExpectation("dimgrey",false),peg$c544="DimGrey",peg$c545=peg$literalExpectation("DimGrey",false),peg$c546="dodgerblue",peg$c547=peg$literalExpectation("dodgerblue",false),peg$c548=function(){return"#1e90ffff"},peg$c549="DodgerBlue",peg$c550=peg$literalExpectation("DodgerBlue",false),peg$c551="firebrick",peg$c552=peg$literalExpectation("firebrick",false),peg$c553=function(){return"#b22222ff"},peg$c554="FireBrick",peg$c555=peg$literalExpectation("FireBrick",false),peg$c556="floralwhite",peg$c557=peg$literalExpectation("floralwhite",false),peg$c558=function(){return"#fffaf0ff"},peg$c559="FloralWhite",peg$c560=peg$literalExpectation("FloralWhite",false),peg$c561="forestgreen",peg$c562=peg$literalExpectation("forestgreen",false),peg$c563=function(){return"#228b22ff"},peg$c564="ForestGreen",peg$c565=peg$literalExpectation("ForestGreen",false),peg$c566="fuchsia",peg$c567=peg$literalExpectation("fuchsia",false),peg$c568=function(){return"#ff00ffff"},peg$c569="Fuchsia",peg$c570=peg$literalExpectation("Fuchsia",false),peg$c571="gainsboro",peg$c572=peg$literalExpectation("gainsboro",false),peg$c573=function(){return"#dcdcdcff"},peg$c574="Gainsboro",peg$c575=peg$literalExpectation("Gainsboro",false),peg$c576="ghostwhite",peg$c577=peg$literalExpectation("ghostwhite",false),peg$c578=function(){return"#f8f8ffff"},peg$c579="GhostWhite",peg$c580=peg$literalExpectation("GhostWhite",false),peg$c581="goldenrod",peg$c582=peg$literalExpectation("goldenrod",false),peg$c583=function(){return"#daa520ff"},peg$c584="GoldenRod",peg$c585=peg$literalExpectation("GoldenRod",false),peg$c586="gold",peg$c587=peg$literalExpectation("gold",false),peg$c588=function(){return"#ffd700ff"},peg$c589="Gold",peg$c590=peg$literalExpectation("Gold",false),peg$c591="gray",peg$c592=peg$literalExpectation("gray",false),peg$c593=function(){return"#808080ff"},peg$c594="Gray",peg$c595=peg$literalExpectation("Gray",false),peg$c596="grey",peg$c597=peg$literalExpectation("grey",false),peg$c598="Grey",peg$c599=peg$literalExpectation("Grey",false),peg$c600="greenyellow",peg$c601=peg$literalExpectation("greenyellow",false),peg$c602=function(){return"#adff2fff"},peg$c603="GreenYellow",peg$c604=peg$literalExpectation("GreenYellow",false),peg$c605="green",peg$c606=peg$literalExpectation("green",false),peg$c607=function(){return"#008000ff"},peg$c608="Green",peg$c609=peg$literalExpectation("Green",false),peg$c610="honeydew",peg$c611=peg$literalExpectation("honeydew",false),peg$c612=function(){return"#f0fff0ff"},peg$c613="HoneyDew",peg$c614=peg$literalExpectation("HoneyDew",false),peg$c615="hotpink",peg$c616=peg$literalExpectation("hotpink",false),peg$c617=function(){return"#ff69b4ff"},peg$c618="HotPink",peg$c619=peg$literalExpectation("HotPink",false),peg$c620="indianred",peg$c621=peg$literalExpectation("indianred",false),peg$c622=function(){return"#cd5c5cff"},peg$c623="IndianRed",peg$c624=peg$literalExpectation("IndianRed",false),peg$c625="indigo",peg$c626=peg$literalExpectation("indigo",false),peg$c627=function(){return"#4b0082ff"},peg$c628="Indigo",peg$c629=peg$literalExpectation("Indigo",false),peg$c630="ivory",peg$c631=peg$literalExpectation("ivory",false),peg$c632=function(){return"#fffff0ff"},peg$c633="Ivory",peg$c634=peg$literalExpectation("Ivory",false),peg$c635="khaki",peg$c636=peg$literalExpectation("khaki",false),peg$c637=function(){return"#f0e68cff"},peg$c638="Khaki",peg$c639=peg$literalExpectation("Khaki",false),peg$c640="lavenderblush",peg$c641=peg$literalExpectation("lavenderblush",false),peg$c642=function(){return"#fff0f5ff"},peg$c643="LavenderBlush",peg$c644=peg$literalExpectation("LavenderBlush",false),peg$c645="lavender",peg$c646=peg$literalExpectation("lavender",false),peg$c647=function(){return"#e6e6faff"},peg$c648="Lavender",peg$c649=peg$literalExpectation("Lavender",false),peg$c650="lawngreen",peg$c651=peg$literalExpectation("lawngreen",false),peg$c652=function(){return"#7cfc00ff"},peg$c653="LawnGreen",peg$c654=peg$literalExpectation("LawnGreen",false),peg$c655="lemonchiffon",peg$c656=peg$literalExpectation("lemonchiffon",false),peg$c657=function(){return"#fffacdff"},peg$c658="LemonChiffon",peg$c659=peg$literalExpectation("LemonChiffon",false),peg$c660="lightblue",peg$c661=peg$literalExpectation("lightblue",false),peg$c662=function(){return"#add8e6ff"},peg$c663="LightBlue",peg$c664=peg$literalExpectation("LightBlue",false),peg$c665="lightcoral",peg$c666=peg$literalExpectation("lightcoral",false),peg$c667=function(){return"#f08080ff"},peg$c668="LightCoral",peg$c669=peg$literalExpectation("LightCoral",false),peg$c670="lightcyan",peg$c671=peg$literalExpectation("lightcyan",false),peg$c672=function(){return"#e0ffffff"},peg$c673="LightCyan",peg$c674=peg$literalExpectation("LightCyan",false),peg$c675="lightgoldenrodyellow",peg$c676=peg$literalExpectation("lightgoldenrodyellow",false),peg$c677=function(){return"#fafad2ff"},peg$c678="LightGoldenRodYellow",peg$c679=peg$literalExpectation("LightGoldenRodYellow",false),peg$c680="lightgray",peg$c681=peg$literalExpectation("lightgray",false),peg$c682=function(){return"#d3d3d3ff"},peg$c683="LightGray",peg$c684=peg$literalExpectation("LightGray",false),peg$c685="lightgrey",peg$c686=peg$literalExpectation("lightgrey",false),peg$c687="LightGrey",peg$c688=peg$literalExpectation("LightGrey",false),peg$c689="lightgreen",peg$c690=peg$literalExpectation("lightgreen",false),peg$c691=function(){return"#90ee90ff"},peg$c692="LightGreen",peg$c693=peg$literalExpectation("LightGreen",false),peg$c694="lightpink",peg$c695=peg$literalExpectation("lightpink",false),peg$c696=function(){return"#ffb6c1ff"},peg$c697="LightPink",peg$c698=peg$literalExpectation("LightPink",false),peg$c699="lightsalmon",peg$c700=peg$literalExpectation("lightsalmon",false),peg$c701=function(){return"#ffa07aff"},peg$c702="LightSalmon",peg$c703=peg$literalExpectation("LightSalmon",false),peg$c704="lightseagreen",peg$c705=peg$literalExpectation("lightseagreen",false),peg$c706=function(){return"#20b2aaff"},peg$c707="LightSeaGreen",peg$c708=peg$literalExpectation("LightSeaGreen",false),peg$c709="lightskyblue",peg$c710=peg$literalExpectation("lightskyblue",false),peg$c711=function(){return"#87cefaff"},peg$c712="LightSkyBlue",peg$c713=peg$literalExpectation("LightSkyBlue",false),peg$c714="lightslategray",peg$c715=peg$literalExpectation("lightslategray",false),peg$c716=function(){return"#778899ff"},peg$c717="LightSlateGray",peg$c718=peg$literalExpectation("LightSlateGray",false),peg$c719="lightslategrey",peg$c720=peg$literalExpectation("lightslategrey",false),peg$c721="LightSlateGrey",peg$c722=peg$literalExpectation("LightSlateGrey",false),peg$c723="lightsteelblue",peg$c724=peg$literalExpectation("lightsteelblue",false),peg$c725=function(){return"#b0c4deff"},peg$c726="LightSteelBlue",peg$c727=peg$literalExpectation("LightSteelBlue",false),peg$c728="lightyellow",peg$c729=peg$literalExpectation("lightyellow",false),peg$c730=function(){return"#ffffe0ff"},peg$c731="LightYellow",peg$c732=peg$literalExpectation("LightYellow",false),peg$c733="limegreen",peg$c734=peg$literalExpectation("limegreen",false),peg$c735=function(){return"#32cd32ff"},peg$c736="LimeGreen",peg$c737=peg$literalExpectation("LimeGreen",false),peg$c738="lime",peg$c739=peg$literalExpectation("lime",false),peg$c740=function(){return"#00ff00ff"},peg$c741="Lime",peg$c742=peg$literalExpectation("Lime",false),peg$c743="linen",peg$c744=peg$literalExpectation("linen",false),peg$c745=function(){return"#faf0e6ff"},peg$c746="Linen",peg$c747=peg$literalExpectation("Linen",false),peg$c748="magenta",peg$c749=peg$literalExpectation("magenta",false),peg$c750="Magenta",peg$c751=peg$literalExpectation("Magenta",false),peg$c752="maroon",peg$c753=peg$literalExpectation("maroon",false),peg$c754=function(){return"#800000ff"},peg$c755="Maroon",peg$c756=peg$literalExpectation("Maroon",false),peg$c757="mediumaquamarine",peg$c758=peg$literalExpectation("mediumaquamarine",false),peg$c759=function(){return"#66cdaaff"},peg$c760="MediumAquaMarine",peg$c761=peg$literalExpectation("MediumAquaMarine",false),peg$c762="mediumblue",peg$c763=peg$literalExpectation("mediumblue",false),peg$c764=function(){return"#0000cdff"},peg$c765="MediumBlue",peg$c766=peg$literalExpectation("MediumBlue",false),peg$c767="mediumorchid",peg$c768=peg$literalExpectation("mediumorchid",false),peg$c769=function(){return"#ba55d3ff"},peg$c770="MediumOrchid",peg$c771=peg$literalExpectation("MediumOrchid",false),peg$c772="mediumpurple",peg$c773=peg$literalExpectation("mediumpurple",false),peg$c774=function(){return"#9370d8ff"},peg$c775="MediumPurple",peg$c776=peg$literalExpectation("MediumPurple",false),peg$c777="mediumseagreen",peg$c778=peg$literalExpectation("mediumseagreen",false),peg$c779=function(){return"#3cb371ff"},peg$c780="MediumSeaGreen",peg$c781=peg$literalExpectation("MediumSeaGreen",false),peg$c782="mediumslateblue",peg$c783=peg$literalExpectation("mediumslateblue",false),peg$c784=function(){return"#7b68eeff"},peg$c785="MediumSlateBlue",peg$c786=peg$literalExpectation("MediumSlateBlue",false),peg$c787="mediumspringgreen",peg$c788=peg$literalExpectation("mediumspringgreen",false),peg$c789=function(){return"#00fa9aff"},peg$c790="MediumSpringGreen",peg$c791=peg$literalExpectation("MediumSpringGreen",false),peg$c792="mediumturquoise",peg$c793=peg$literalExpectation("mediumturquoise",false),peg$c794=function(){return"#48d1ccff"},peg$c795="MediumTurquoise",peg$c796=peg$literalExpectation("MediumTurquoise",false),peg$c797="mediumvioletred",peg$c798=peg$literalExpectation("mediumvioletred",false),peg$c799=function(){return"#c71585ff"},peg$c800="MediumVioletRed",peg$c801=peg$literalExpectation("MediumVioletRed",false),peg$c802="midnightblue",peg$c803=peg$literalExpectation("midnightblue",false),peg$c804=function(){return"#191970ff"},peg$c805="MidnightBlue",peg$c806=peg$literalExpectation("MidnightBlue",false),peg$c807="mintcream",peg$c808=peg$literalExpectation("mintcream",false),peg$c809=function(){return"#f5fffaff"},peg$c810="MintCream",peg$c811=peg$literalExpectation("MintCream",false),peg$c812="mistyrose",peg$c813=peg$literalExpectation("mistyrose",false),peg$c814=function(){return"#ffe4e1ff"},peg$c815="MistyRose",peg$c816=peg$literalExpectation("MistyRose",false),peg$c817="moccasin",peg$c818=peg$literalExpectation("moccasin",false),peg$c819=function(){return"#ffe4b5ff"},peg$c820="Moccasin",peg$c821=peg$literalExpectation("Moccasin",false),peg$c822="navajowhite",peg$c823=peg$literalExpectation("navajowhite",false),peg$c824=function(){return"#ffdeadff"},peg$c825="NavajoWhite",peg$c826=peg$literalExpectation("NavajoWhite",false),peg$c827="navy",peg$c828=peg$literalExpectation("navy",false),peg$c829=function(){return"#000080ff"},peg$c830="Navy",peg$c831=peg$literalExpectation("Navy",false),peg$c832="oldlace",peg$c833=peg$literalExpectation("oldlace",false),peg$c834=function(){return"#fdf5e6ff"},peg$c835="OldLace",peg$c836=peg$literalExpectation("OldLace",false),peg$c837="olivedrab",peg$c838=peg$literalExpectation("olivedrab",false),peg$c839=function(){return"#6b8e23ff"},peg$c840="OliveDrab",peg$c841=peg$literalExpectation("OliveDrab",false),peg$c842="olive",peg$c843=peg$literalExpectation("olive",false),peg$c844=function(){return"#808000ff"},peg$c845="Olive",peg$c846=peg$literalExpectation("Olive",false),peg$c847="orangered",peg$c848=peg$literalExpectation("orangered",false),peg$c849=function(){return"#ff4500ff"},peg$c850="OrangeRed",peg$c851=peg$literalExpectation("OrangeRed",false),peg$c852="orange",peg$c853=peg$literalExpectation("orange",false),peg$c854=function(){return"#ffa500ff"},peg$c855="Orange",peg$c856=peg$literalExpectation("Orange",false),peg$c857="orchid",peg$c858=peg$literalExpectation("orchid",false),peg$c859=function(){return"#da70d6ff"},peg$c860="Orchid",peg$c861=peg$literalExpectation("Orchid",false),peg$c862="palegoldenrod",peg$c863=peg$literalExpectation("palegoldenrod",false),peg$c864=function(){return"#eee8aaff"},peg$c865="PaleGoldenRod",peg$c866=peg$literalExpectation("PaleGoldenRod",false),peg$c867="palegreen",peg$c868=peg$literalExpectation("palegreen",false),peg$c869=function(){return"#98fb98ff"},peg$c870="PaleGreen",peg$c871=peg$literalExpectation("PaleGreen",false),peg$c872="paleturquoise",peg$c873=peg$literalExpectation("paleturquoise",false),peg$c874=function(){return"#afeeeeff"},peg$c875="PaleTurquoise",peg$c876=peg$literalExpectation("PaleTurquoise",false),peg$c877="palevioletred",peg$c878=peg$literalExpectation("palevioletred",false),peg$c879=function(){return"#d87093ff"},peg$c880="PaleVioletRed",peg$c881=peg$literalExpectation("PaleVioletRed",false),peg$c882="papayawhip",peg$c883=peg$literalExpectation("papayawhip",false),peg$c884=function(){return"#ffefd5ff"},peg$c885="PapayaWhip",peg$c886=peg$literalExpectation("PapayaWhip",false),peg$c887="peachpuff",peg$c888=peg$literalExpectation("peachpuff",false),peg$c889=function(){return"#ffdab9ff"},peg$c890="PeachPuff",peg$c891=peg$literalExpectation("PeachPuff",false),peg$c892="peru",peg$c893=peg$literalExpectation("peru",false),peg$c894=function(){return"#cd853fff"},peg$c895="Peru",peg$c896=peg$literalExpectation("Peru",false),peg$c897="pink",peg$c898=peg$literalExpectation("pink",false),peg$c899=function(){return"#ffc0cbff"},peg$c900="Pink",peg$c901=peg$literalExpectation("Pink",false),peg$c902="plum",peg$c903=peg$literalExpectation("plum",false),peg$c904=function(){return"#dda0ddff"},peg$c905="Plum",peg$c906=peg$literalExpectation("Plum",false),peg$c907="powderblue",peg$c908=peg$literalExpectation("powderblue",false),peg$c909=function(){return"#b0e0e6ff"},peg$c910="PowderBlue",peg$c911=peg$literalExpectation("PowderBlue",false),peg$c912="purple",peg$c913=peg$literalExpectation("purple",false),peg$c914=function(){return"#800080ff"},peg$c915="Purple",peg$c916=peg$literalExpectation("Purple",false),peg$c917="red",peg$c918=peg$literalExpectation("red",false),peg$c919=function(){return"#ff0000ff"},peg$c920="Red",peg$c921=peg$literalExpectation("Red",false),peg$c922="rosybrown",peg$c923=peg$literalExpectation("rosybrown",false),peg$c924=function(){return"#bc8f8fff"},peg$c925="RosyBrown",peg$c926=peg$literalExpectation("RosyBrown",false),peg$c927="royalblue",peg$c928=peg$literalExpectation("royalblue",false),peg$c929=function(){return"#4169e1ff"},peg$c930="RoyalBlue",peg$c931=peg$literalExpectation("RoyalBlue",false),peg$c932="saddlebrown",peg$c933=peg$literalExpectation("saddlebrown",false),peg$c934=function(){return"#8b4513ff"},peg$c935="SaddleBrown",peg$c936=peg$literalExpectation("SaddleBrown",false),peg$c937="salmon",peg$c938=peg$literalExpectation("salmon",false),peg$c939=function(){return"#fa8072ff"},peg$c940="Salmon",peg$c941=peg$literalExpectation("Salmon",false),peg$c942="sandybrown",peg$c943=peg$literalExpectation("sandybrown",false),peg$c944=function(){return"#f4a460ff"},peg$c945="SandyBrown",peg$c946=peg$literalExpectation("SandyBrown",false),peg$c947="seagreen",peg$c948=peg$literalExpectation("seagreen",false),peg$c949=function(){return"#2e8b57ff"},peg$c950="SeaGreen",peg$c951=peg$literalExpectation("SeaGreen",false),peg$c952="seashell",peg$c953=peg$literalExpectation("seashell",false),peg$c954=function(){return"#fff5eeff"},peg$c955="SeaShell",peg$c956=peg$literalExpectation("SeaShell",false),peg$c957="sienna",peg$c958=peg$literalExpectation("sienna",false),peg$c959=function(){return"#a0522dff"},peg$c960="Sienna",peg$c961=peg$literalExpectation("Sienna",false),peg$c962="silver",peg$c963=peg$literalExpectation("silver",false),peg$c964=function(){return"#c0c0c0ff"},peg$c965="Silver",peg$c966=peg$literalExpectation("Silver",false),peg$c967="skyblue",peg$c968=peg$literalExpectation("skyblue",false),peg$c969=function(){return"#87ceebff"},peg$c970="SkyBlue",peg$c971=peg$literalExpectation("SkyBlue",false),peg$c972="slateblue",peg$c973=peg$literalExpectation("slateblue",false),peg$c974=function(){return"#6a5acdff"},peg$c975="SlateBlue",peg$c976=peg$literalExpectation("SlateBlue",false),peg$c977="slategray",peg$c978=peg$literalExpectation("slategray",false),peg$c979=function(){return"#708090ff"},peg$c980="SlateGray",peg$c981=peg$literalExpectation("SlateGray",false),peg$c982="slategrey",peg$c983=peg$literalExpectation("slategrey",false),peg$c984="SlateGrey",peg$c985=peg$literalExpectation("SlateGrey",false),peg$c986="snow",peg$c987=peg$literalExpectation("snow",false),peg$c988=function(){return"#fffafaff"},peg$c989="Snow",peg$c990=peg$literalExpectation("Snow",false),peg$c991="springgreen",peg$c992=peg$literalExpectation("springgreen",false),peg$c993=function(){return"#00ff7fff"},peg$c994="SpringGreen",peg$c995=peg$literalExpectation("SpringGreen",false),peg$c996="steelblue",peg$c997=peg$literalExpectation("steelblue",false),peg$c998=function(){return"#4682b4ff"},peg$c999="SteelBlue",peg$c1000=peg$literalExpectation("SteelBlue",false),peg$c1001="tan",peg$c1002=peg$literalExpectation("tan",false),peg$c1003=function(){return"#d2b48cff"},peg$c1004="Tan",peg$c1005=peg$literalExpectation("Tan",false),peg$c1006="teal",peg$c1007=peg$literalExpectation("teal",false),peg$c1008=function(){return"#008080ff"},peg$c1009="Teal",peg$c1010=peg$literalExpectation("Teal",false),peg$c1011="thistle",peg$c1012=peg$literalExpectation("thistle",false),peg$c1013=function(){return"#d8bfd8ff"},peg$c1014="Thistle",peg$c1015=peg$literalExpectation("Thistle",false),peg$c1016="tomato",peg$c1017=peg$literalExpectation("tomato",false),peg$c1018=function(){return"#ff6347ff"},peg$c1019="Tomato",peg$c1020=peg$literalExpectation("Tomato",false),peg$c1021="turquoise",peg$c1022=peg$literalExpectation("turquoise",false),peg$c1023=function(){return"#40e0d0ff"},peg$c1024="Turquoise",peg$c1025=peg$literalExpectation("Turquoise",false),peg$c1026="violet",peg$c1027=peg$literalExpectation("violet",false),peg$c1028=function(){return"#ee82eeff"},peg$c1029="Violet",peg$c1030=peg$literalExpectation("Violet",false),peg$c1031="wheat",peg$c1032=peg$literalExpectation("wheat",false),peg$c1033=function(){return"#f5deb3ff"},peg$c1034="Wheat",peg$c1035=peg$literalExpectation("Wheat",false),peg$c1036="whitesmoke",peg$c1037=peg$literalExpectation("whitesmoke",false),peg$c1038=function(){return"#f5f5f5ff"},peg$c1039="WhiteSmoke",peg$c1040=peg$literalExpectation("WhiteSmoke",false),peg$c1041="white",peg$c1042=peg$literalExpectation("white",false),peg$c1043=function(){return"#ffffffff"},peg$c1044="White",peg$c1045=peg$literalExpectation("White",false),peg$c1046="yellowgreen",peg$c1047=peg$literalExpectation("yellowgreen",false),peg$c1048=function(){return"#9acd32ff"},peg$c1049="YellowGreen",peg$c1050=peg$literalExpectation("YellowGreen",false),peg$c1051="yellow",peg$c1052=peg$literalExpectation("yellow",false),peg$c1053=function(){return"#ffff00ff"},peg$c1054="Yellow",peg$c1055=peg$literalExpectation("Yellow",false),peg$c1056=function(lab){return lab},peg$c1057="#",peg$c1058=peg$literalExpectation("#",false),peg$c1059=function(r,g,b){return`#${r}${r}${g}${g}${b}${b}ff`},peg$c1060=function(r1,r2,g1,g2,b1,b2){return`#${r1}${r2}${g1}${g2}${b1}${b2}ff`},peg$c1061=function(r,g,b,a){return`#${r}${r}${g}${g}${b}${b}${a}${a}`},peg$c1062=function(r1,r2,g1,g2,b1,b2,a1,a2){return`#${r1}${r2}${g1}${g2}${b1}${b2}${a1}${a2}`},peg$c1063=peg$otherExpectation("color"),peg$c1064="arc_label",peg$c1065=peg$literalExpectation("arc_label",false),peg$c1066="head_label",peg$c1067=peg$literalExpectation("head_label",false),peg$c1068="tail_label",peg$c1069=peg$literalExpectation("tail_label",false),peg$c1070=":",peg$c1071=peg$literalExpectation(":",false),peg$c1072=";",peg$c1073=peg$literalExpectation(";",false),peg$c1074=function(key,value){return{key:key,value:value}},peg$c1075=peg$otherExpectation("single edge color"),peg$c1076="edge_color",peg$c1077=peg$literalExpectation("edge_color",false),peg$c1078=function(value){return{key:"single_edge_color",value:value}},peg$c1079=peg$otherExpectation("transition line style"),peg$c1080="linestyle",peg$c1081=peg$literalExpectation("linestyle",false),peg$c1082=function(value){return{key:"transition_line_style",value:value}},peg$c1083="{",peg$c1084=peg$literalExpectation("{",false),peg$c1085="}",peg$c1086=peg$literalExpectation("}",false),peg$c1087=function(items){return items},peg$c1088="%",peg$c1089=peg$literalExpectation("%",false),peg$c1090=function(value){return{key:"arrow probability",value:value}},peg$c1091="[",peg$c1092=peg$literalExpectation("[",false),peg$c1093="]",peg$c1094=peg$literalExpectation("]",false),peg$c1095=function(names){return names.map((i=>i[0]))},peg$c1096="+|",peg$c1097=peg$literalExpectation("+|",false),peg$c1098=function(nzd,dd){return{key:"stripe",value:parseInt(`${nzd}${dd}`,10)}},peg$c1099="-|",peg$c1100=peg$literalExpectation("-|",false),peg$c1101=function(nzd,dd){return{key:"stripe",value:-1*parseInt(`${nzd}${dd}`,10)}},peg$c1102="+",peg$c1103=peg$literalExpectation("+",false),peg$c1104=function(nzd,dd){return{key:"cycle",value:parseInt(`${nzd}${dd}`,10)}},peg$c1105="-",peg$c1106=peg$literalExpectation("-",false),peg$c1107=function(nzd,dd){return{key:"cycle",value:-1*parseInt(`${nzd}${dd}`,10)}},peg$c1108="+0",peg$c1109=peg$literalExpectation("+0",false),peg$c1110=function(){return{key:"cycle",value:0}},peg$c1111=function(r_action,r_prob,l_desc,arrow,r_desc,l_prob,l_action,label,tail){const base={kind:arrow,to:label};if(tail&&tail!==[]){base.se=tail}if(l_desc){base.l_desc=l_desc}if(r_desc){base.r_desc=r_desc}if(l_action){base.l_action=l_action}if(r_action){base.r_action=r_action}if(l_prob){base.l_probability=l_prob.value}if(r_prob){base.r_probability=r_prob.value}return base},peg$c1112=function(label,se){const base={key:"transition",from:label};if(se&&se!==[]){base.se=se}return base},peg$c1113="whargarbl",peg$c1114=peg$literalExpectation("whargarbl",false),peg$c1115="todo",peg$c1116=peg$literalExpectation("todo",false),peg$c1117=function(validationkey,value){return{key:validationkey,value:value}},peg$c1118="validation",peg$c1119=peg$literalExpectation("validation",false),peg$c1120="};",peg$c1121=peg$literalExpectation("};",false),peg$c1122=function(validation_items){return{config_kind:"validation",config_items:validation_items||[]}},peg$c1123="dot",peg$c1124=peg$literalExpectation("dot",false),peg$c1125="circo",peg$c1126=peg$literalExpectation("circo",false),peg$c1127="fdp",peg$c1128=peg$literalExpectation("fdp",false),peg$c1129="neato",peg$c1130=peg$literalExpectation("neato",false),peg$c1131="shape",peg$c1132=peg$literalExpectation("shape",false),peg$c1133=function(value){return{key:"shape",value:value}},peg$c1134="state",peg$c1135=peg$literalExpectation("state",false),peg$c1136=function(state_items){return{key:"state_config",value:{config_kind:"state",config_items:state_items||[]}}},peg$c1137="start_state",peg$c1138=peg$literalExpectation("start_state",false),peg$c1139=function(state_items){return{key:"state_config",value:{config_kind:"in_state",config_items:state_items||[]}}},peg$c1140="end_state",peg$c1141=peg$literalExpectation("end_state",false),peg$c1142=function(state_items){return{key:"state_config",value:{config_kind:"out_state",config_items:state_items||[]}}},peg$c1143=function(actionkey,value){return{key:actionkey,value:value}},peg$c1144="action",peg$c1145=peg$literalExpectation("action",false),peg$c1146=function(action_items){return{config_kind:"action",config_items:action_items||[]}},peg$c1147=function(transitionkey,value){return{key:transitionkey,value:value}},peg$c1148=peg$otherExpectation("graph default edge color"),peg$c1149=function(value){return{key:"graph_default_edge_color",value:value}},peg$c1150="transition",peg$c1151=peg$literalExpectation("transition",false),peg$c1152=function(transition_items){return{config_kind:"transition",config_items:transition_items||[]}},peg$c1153="graph_layout",peg$c1154=peg$literalExpectation("graph_layout",false),peg$c1155=function(value){return{key:"graph_layout",value:value}},peg$c1156="start_states",peg$c1157=peg$literalExpectation("start_states",false),peg$c1158=function(value){return{key:"start_states",value:value}},peg$c1159="end_states",peg$c1160=peg$literalExpectation("end_states",false),peg$c1161=function(value){return{key:"end_states",value:value}},peg$c1162="graph_bg_color",peg$c1163=peg$literalExpectation("graph_bg_color",false),peg$c1164=function(value){return{key:"graph_bg_color",value:value}},peg$c1165=peg$otherExpectation("configuration"),peg$c1166="MIT",peg$c1167=peg$literalExpectation("MIT",false),peg$c1168="BSD 2-clause",peg$c1169=peg$literalExpectation("BSD 2-clause",false),peg$c1170="BSD 3-clause",peg$c1171=peg$literalExpectation("BSD 3-clause",false),peg$c1172="Apache 2.0",peg$c1173=peg$literalExpectation("Apache 2.0",false),peg$c1174="Mozilla 2.0",peg$c1175=peg$literalExpectation("Mozilla 2.0",false),peg$c1176="Public domain",peg$c1177=peg$literalExpectation("Public domain",false),peg$c1178="GPL v2",peg$c1179=peg$literalExpectation("GPL v2",false),peg$c1180="GPL v3",peg$c1181=peg$literalExpectation("GPL v3",false),peg$c1182="LGPL v2.1",peg$c1183=peg$literalExpectation("LGPL v2.1",false),peg$c1184="LGPL v3.0",peg$c1185=peg$literalExpectation("LGPL v3.0",false),peg$c1186="Unknown",peg$c1187=peg$literalExpectation("Unknown",false),peg$c1188=peg$otherExpectation("direction"),peg$c1189="up",peg$c1190=peg$literalExpectation("up",false),peg$c1191="right",peg$c1192=peg$literalExpectation("right",false),peg$c1193="down",peg$c1194=peg$literalExpectation("down",false),peg$c1195="left",peg$c1196=peg$literalExpectation("left",false),peg$c1197=peg$otherExpectation("hook definition (open/closed)"),peg$c1198="open",peg$c1199=peg$literalExpectation("open",false),peg$c1200="closed",peg$c1201=peg$literalExpectation("closed",false),peg$c1202="machine_author",peg$c1203=peg$literalExpectation("machine_author",false),peg$c1204=function(value){return{key:"machine_author",value:value}},peg$c1205="machine_contributor",peg$c1206=peg$literalExpectation("machine_contributor",false),peg$c1207=function(value){return{key:"machine_contributor",value:value}},peg$c1208="machine_comment",peg$c1209=peg$literalExpectation("machine_comment",false),peg$c1210=function(value){return{key:"machine_comment",value:value}},peg$c1211="machine_definition",peg$c1212=peg$literalExpectation("machine_definition",false),peg$c1213=function(value){return{key:"machine_definition",value:value}},peg$c1214="machine_name",peg$c1215=peg$literalExpectation("machine_name",false),peg$c1216=function(value){return{key:"machine_name",value:value}},peg$c1220="machine_version",peg$c1221=peg$literalExpectation("machine_version",false),peg$c1222=function(value){return{key:"machine_version",value:value}},peg$c1223="machine_license",peg$c1224=peg$literalExpectation("machine_license",false),peg$c1225=function(value){return{key:"machine_license",value:value}},peg$c1226="machine_language",peg$c1227=peg$literalExpectation("machine_language",false),peg$c1228=function(value){return{key:"machine_language",value:value}},peg$c1229="fsl_version",peg$c1230=peg$literalExpectation("fsl_version",false),peg$c1231=function(value){return{key:"fsl_version",value:value}},peg$c1232="theme",peg$c1233=peg$literalExpectation("theme",false),peg$c1234=function(value){return{key:"theme",value:value}},peg$c1235="flow",peg$c1236=peg$literalExpectation("flow",false),peg$c1237=function(value){return{key:"flow",value:value}},peg$c1238="hooks",peg$c1239=peg$literalExpectation("hooks",false),peg$c1240=function(value){return{key:"hook_definition",value:value}},peg$c1241="dot_preamble",peg$c1242=peg$literalExpectation("dot_preamble",false),peg$c1243=function(value){return{key:"dot_preamble",value:value}},peg$c1244=peg$otherExpectation("machine attribute"),peg$c1245="color",peg$c1246=peg$literalExpectation("color",false),peg$c1247=function(value){return{key:"color",value:value}},peg$c1248=peg$otherExpectation("text color"),peg$c1249="text-color",peg$c1250=peg$literalExpectation("text-color",false),peg$c1251=function(value){return{key:"text-color",value:value}},peg$c1252=peg$otherExpectation("background color"),peg$c1253="background-color",peg$c1254=peg$literalExpectation("background-color",false),peg$c1255=function(value){return{key:"background-color",value:value}},peg$c1256=peg$otherExpectation("border color"),peg$c1257="border-color",peg$c1258=peg$literalExpectation("border-color",false),peg$c1259=function(value){return{key:"border-color",value:value}},peg$c1260=peg$otherExpectation("shape"),peg$c1261=function(value){return{key:"shape",value:value}},peg$c1262=peg$otherExpectation("corners"),peg$c1263="corners",peg$c1264=peg$literalExpectation("corners",false),peg$c1265=function(value){return{key:"corners",value:value}},peg$c1266=peg$otherExpectation("linestyle"),peg$c1267=function(value){return{key:"linestyle",value:value}},peg$c1268=function(name,value){return{key:"state_declaration",name:name,value:value}},peg$c1269="&",peg$c1270=peg$literalExpectation("&",false),peg$c1271=function(name,value){return{key:"named_list",name:name,value:value}},peg$c1272="null",peg$c1273=peg$literalExpectation("null",false),peg$c1274="undefined",peg$c1275=peg$literalExpectation("undefined",false),peg$c1276=function(){return parseFloat(text())},peg$c1277="Infinity",peg$c1278=peg$literalExpectation("Infinity",false),peg$c1279="NegInfinity",peg$c1280=peg$literalExpectation("NegInfinity",false),peg$c1281="NaN",peg$c1282=peg$literalExpectation("NaN",false),peg$c1283="MaxSafeInt",peg$c1284=peg$literalExpectation("MaxSafeInt",false),peg$c1285="MinSafeInt",peg$c1286=peg$literalExpectation("MinSafeInt",false),peg$c1287=function(chars){return chars.join("")},peg$c1288=function(char){return char},peg$c1289=function(sequence){return sequence},peg$c1290=function(){return"\b"},peg$c1291=function(){return"\f"},peg$c1292=function(){return"\n"},peg$c1293=function(){return"\r"},peg$c1294=function(){return"\t"},peg$c1295=function(){return"\v"},peg$c1296="property",peg$c1297=peg$literalExpectation("property",false),peg$c1298=function(name,default_value){return{key:"property_definition",name:name,default_value:default_value}},peg$c1299=function(name){return{key:"property_definition",name:name}},peg$c1300="arrange",peg$c1301=peg$literalExpectation("arrange",false),peg$c1302=function(value){return{key:"arrange_declaration",value:value}},peg$c1303="arrange-start",peg$c1304=peg$literalExpectation("arrange-start",false),peg$c1305=function(value){return{key:"arrange_start_declaration",value:value}},peg$c1306="arrange-end",peg$c1307=peg$literalExpectation("arrange-end",false),peg$c1308=function(value){return{key:"arrange_end_declaration",value:value}},peg$c1309=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)}}}}}return s0}function peg$parseGvizShape(){var s0;if(input.substr(peg$currPos,5)===peg$c9){s0=peg$c9;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c10)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c11){s0=peg$c11;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c12)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c13){s0=peg$c13;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c14)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c15){s0=peg$c15;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c16)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c17){s0=peg$c17;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c18)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c19){s0=peg$c19;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c20)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c21){s0=peg$c21;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c22)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c23){s0=peg$c23;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c24)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c25){s0=peg$c25;peg$currPos+=9}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,7)===peg$c29){s0=peg$c29;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c30)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c31){s0=peg$c31;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c32)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c33){s0=peg$c33;peg$currPos+=13}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,8)===peg$c37){s0=peg$c37;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c38)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c39){s0=peg$c39;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c40)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c41){s0=peg$c41;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c42)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c43){s0=peg$c43;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c44)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c45){s0=peg$c45;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c46)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c47){s0=peg$c47;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c48)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c49){s0=peg$c49;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c50)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c51){s0=peg$c51;peg$currPos+=11}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,8)===peg$c55){s0=peg$c55;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c56)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c57){s0=peg$c57;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c58)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c59){s0=peg$c59;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c60)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c61){s0=peg$c61;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c62)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c63){s0=peg$c63;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c64)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c65){s0=peg$c65;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c66)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c67){s0=peg$c67;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c68)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c69){s0=peg$c69;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c70)}}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$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,8)===peg$c73){s0=peg$c73;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c74)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c75){s0=peg$c75;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c76)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c77){s0=peg$c77;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c78)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c79){s0=peg$c79;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c80)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c81){s0=peg$c81;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c82)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c83){s0=peg$c83;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c84)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c85){s0=peg$c85;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c86)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c87){s0=peg$c87;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c88)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c89){s0=peg$c89;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c90)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c91){s0=peg$c91;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c92)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c93){s0=peg$c93;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c94)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,15)===peg$c95){s0=peg$c95;peg$currPos+=15}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c96)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c97){s0=peg$c97;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c98)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,14)===peg$c99){s0=peg$c99;peg$currPos+=14}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c100)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c101){s0=peg$c101;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c102)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c103){s0=peg$c103;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c104)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c105){s0=peg$c105;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c106)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c107){s0=peg$c107;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c108)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c109){s0=peg$c109;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c110)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c111){s0=peg$c111;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c112)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c113){s0=peg$c113;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c114)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c115){s0=peg$c115;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c116)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c117){s0=peg$c117;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c118)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c119){s0=peg$c119;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c120)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c121){s0=peg$c121;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c122)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c123){s0=peg$c123;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c124)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c125){s0=peg$c125;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c126)}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}return s0}function peg$parseForwardLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c128){s0=peg$c128;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c129)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8594){s1=peg$c130;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c131)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c132()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c127)}}return s0}function peg$parseTwoWayLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c134){s0=peg$c134;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c135)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8596){s1=peg$c136;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c137)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c138()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c133)}}return s0}function peg$parseBackLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c140){s0=peg$c140;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c141)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8592){s1=peg$c142;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c143)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c144()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c139)}}return s0}function peg$parseForwardFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c146){s0=peg$c146;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c147)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8658){s1=peg$c148;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c149)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c150()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c145)}}return s0}function peg$parseTwoWayFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c152){s0=peg$c152;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c153)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8660){s1=peg$c154;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c155)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c156()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c151)}}return s0}function peg$parseBackFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c158){s0=peg$c158;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c159)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8656){s1=peg$c160;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c161)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c162()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c157)}}return s0}function peg$parseForwardTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c164){s0=peg$c164;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c165)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8603){s1=peg$c166;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c167)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c168()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c163)}}return s0}function peg$parseTwoWayTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c170){s0=peg$c170;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c171)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8622){s1=peg$c172;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c173)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c174()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c169)}}return s0}function peg$parseBackTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c176){s0=peg$c176;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c177)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8602){s1=peg$c178;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c179)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c180()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c175)}}return s0}function peg$parseLightFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c182){s0=peg$c182;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c183)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c184){s1=peg$c184;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c185)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c186()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c181)}}return s0}function peg$parseLightTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c188){s0=peg$c188;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c189)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c190){s1=peg$c190;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c191)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c192()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c187)}}return s0}function peg$parseFatLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c194){s0=peg$c194;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c195)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c196){s1=peg$c196;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c197)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c198()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c193)}}return s0}function peg$parseFatTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c200){s0=peg$c200;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c201)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c202){s1=peg$c202;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c203)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c204()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c199)}}return s0}function peg$parseTildeLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c206){s0=peg$c206;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c207)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c208){s1=peg$c208;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c209)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c210()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c205)}}return s0}function peg$parseTildeFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c212){s0=peg$c212;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c213)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c214){s1=peg$c214;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c215)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c216()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c211)}}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$c217)}}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$c218)}}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$c219)}}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$c220)}}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$c221)}}return s0}function peg$parseCorners(){var s0;if(input.substr(peg$currPos,7)===peg$c228){s0=peg$c228;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c229)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c230){s0=peg$c230;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c231)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c232){s0=peg$c232;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c233)}}}}return s0}function peg$parseLineStyle(){var s0;if(input.substr(peg$currPos,5)===peg$c234){s0=peg$c234;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c235)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c236){s0=peg$c236;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c237)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c238){s0=peg$c238;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c239)}}}}return s0}function peg$parseHexDigit(){var s0;if(peg$c240.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c241)}}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$c242;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c243)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===92){s2=peg$c244;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c245)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===47){s2=peg$c246;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c247)}}if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===98){s3=peg$c248;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c249)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c250()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===102){s3=peg$c251;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c252)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c253()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===110){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)===114){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)===116){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)===118){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)===117){s3=peg$c266;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c267)}}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$c268(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$c269(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseEscape(){var s0;if(input.charCodeAt(peg$currPos)===92){s0=peg$c244;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c245)}}return s0}function peg$parseQuoteMark(){var s0;if(input.charCodeAt(peg$currPos)===34){s0=peg$c242;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c243)}}return s0}function peg$parseUnescaped(){var s0;if(peg$c270.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c271)}}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$c272;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c273)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===92){s2=peg$c244;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c245)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===47){s2=peg$c246;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c247)}}if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===98){s3=peg$c248;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c249)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c250()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===102){s3=peg$c251;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c252)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c253()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===110){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)===114){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)===116){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)===118){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)===117){s3=peg$c266;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c267)}}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$c268(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$c269(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$c272;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c273)}}return s0}function peg$parseActionLabelUnescaped(){var s0;if(peg$c274.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c275)}}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$c277(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$c276)}}return s0}function peg$parseLineTerminator(){var s0;if(peg$c278.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c279)}}return s0}function peg$parseBlockCommentTail(){var s0,s1,s2;if(input.substr(peg$currPos,2)===peg$c282){s0=peg$c282;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c283)}}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$c284)}}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$c286){s1=peg$c286;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c287)}}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$c285)}}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$c284)}}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$c284)}}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$c289){s1=peg$c289;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c290)}}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$c288)}}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$c292.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c293)}}if(s2!==peg$FAILED){while(s2!==peg$FAILED){s1.push(s2);if(peg$c292.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c293)}}}}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$c291)}}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$c277(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$c294)}}return s0}function peg$parseAtomFirstLetter(){var s0;if(peg$c295.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}return s0}function peg$parseAtomLetter(){var s0;if(peg$c297.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c298)}}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$c300(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$c299)}}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$c301)}}return s0}function peg$parseIntegerLiteral(){var s0,s1,s2,s3;if(input.charCodeAt(peg$currPos)===48){s0=peg$c302;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c303)}}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$c304.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c305)}}return s0}function peg$parseNonZeroDigit(){var s0;if(peg$c306.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c307)}}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$c309;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c310)}}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$c311();s0=s1}else{peg$currPos=s0;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$c311();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$c308)}}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$c309;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c310)}}if(s2!==peg$FAILED){s3=peg$parseIntegerLiteral();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s4=peg$c309;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c310)}}if(s4!==peg$FAILED){s5=peg$parseIntegerLiteral();if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c312(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$c323){s0=peg$c323;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c324)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c325){s0=peg$c325;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}}return s0}function peg$parseURL(){var s0,s1,s2,s3;s0=peg$currPos;s1=peg$parseUrlProtocol();if(s1!==peg$FAILED){s2=[];if(peg$c327.test(input.charAt(peg$currPos))){s3=input.charAt(peg$currPos);peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c328)}}if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);if(peg$c327.test(input.charAt(peg$currPos))){s3=input.charAt(peg$currPos);peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c328)}}}}else{s2=peg$FAILED}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c329();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$c330){s1=peg$c330;peg$currPos+=9}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,9)===peg$c333){s1=peg$c333;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c334)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c332()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c335){s1=peg$c335;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c336)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c337()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c338){s1=peg$c338;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c339)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c337()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c340){s1=peg$c340;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c341)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c342()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c343){s1=peg$c343;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c344)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c342()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c345){s1=peg$c345;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c346)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c347()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c348){s1=peg$c348;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c349)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c347()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c350){s1=peg$c350;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c351)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c352()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c353){s1=peg$c353;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c354)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c352()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c355){s1=peg$c355;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c356)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c357()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c358){s1=peg$c358;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c359)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c357()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c360){s1=peg$c360;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c361)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c362()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c363){s1=peg$c363;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c364)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c362()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c365){s1=peg$c365;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c366)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c367()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c368){s1=peg$c368;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c369)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c367()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c370){s1=peg$c370;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c371)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c372()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c373){s1=peg$c373;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c374)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c372()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c375){s1=peg$c375;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c376)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c377()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c378){s1=peg$c378;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c379)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c377()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c380){s1=peg$c380;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c381)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c382()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c383){s1=peg$c383;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c384)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c382()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c385){s1=peg$c385;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c386)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c387()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c388){s1=peg$c388;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c389)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c387()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c390){s1=peg$c390;peg$currPos+=9}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,9)===peg$c393){s1=peg$c393;peg$currPos+=9}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,9)===peg$c395){s1=peg$c395;peg$currPos+=9}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,9)===peg$c398){s1=peg$c398;peg$currPos+=9}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,10)===peg$c400){s1=peg$c400;peg$currPos+=10}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,10)===peg$c403){s1=peg$c403;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c404)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c402()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c405){s1=peg$c405;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c406)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c407()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c408){s1=peg$c408;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c409)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c407()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c410){s1=peg$c410;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c411)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c412()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c413){s1=peg$c413;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c414)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c412()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c415){s1=peg$c415;peg$currPos+=14}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,14)===peg$c418){s1=peg$c418;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c419)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c417()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c420){s1=peg$c420;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c421)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c422()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c423){s1=peg$c423;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c424)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c422()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c425){s1=peg$c425;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c426)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c427()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c428){s1=peg$c428;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c429)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c427()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c430){s1=peg$c430;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c431)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c347()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c432){s1=peg$c432;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c433)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c347()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c434){s1=peg$c434;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c435)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c436()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c437){s1=peg$c437;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c438)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c436()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c439){s1=peg$c439;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c440)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c441()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c442){s1=peg$c442;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c443)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c441()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c444){s1=peg$c444;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c445)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c446()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c447){s1=peg$c447;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c448)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c446()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c449){s1=peg$c449;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c450)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c451()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c452){s1=peg$c452;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c453)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c451()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c454){s1=peg$c454;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c455)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c451()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c456){s1=peg$c456;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c457)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c451()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c458){s1=peg$c458;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c459)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c460()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c461){s1=peg$c461;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c462)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c460()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c463){s1=peg$c463;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c464)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c465()}s0=s1;if(s0===peg$FAILED){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$c465()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c468){s1=peg$c468;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c469)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c470()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c471){s1=peg$c471;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c472)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c470()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c473){s1=peg$c473;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c474)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c475()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c476){s1=peg$c476;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c477)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c475()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c478){s1=peg$c478;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c479)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c480()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c481){s1=peg$c481;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c482)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c480()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c483){s1=peg$c483;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c484)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c485()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c486){s1=peg$c486;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c487)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c485()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c488){s1=peg$c488;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c489)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c490()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c491){s1=peg$c491;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c492)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c490()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c493){s1=peg$c493;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c494)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c495()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c496){s1=peg$c496;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c497)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c495()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c498){s1=peg$c498;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c499)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c500()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c501){s1=peg$c501;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c502)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c500()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c503){s1=peg$c503;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c504)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c505()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c506){s1=peg$c506;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c507)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c505()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c508){s1=peg$c508;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c509)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c510()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c511){s1=peg$c511;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c512)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c510()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c513){s1=peg$c513;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c514)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c510()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c515){s1=peg$c515;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c516)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c510()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c517){s1=peg$c517;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c518)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c519()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c520){s1=peg$c520;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c521)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c519()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c522){s1=peg$c522;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c523)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c524()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c525){s1=peg$c525;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c526)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c524()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c527){s1=peg$c527;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c528)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c529()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c530){s1=peg$c530;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c531)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c529()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c532){s1=peg$c532;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c533)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c534()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c535){s1=peg$c535;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c536)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c534()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c537){s1=peg$c537;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c538)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c539()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c540){s1=peg$c540;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c541)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c539()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c542){s1=peg$c542;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c543)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c539()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c544){s1=peg$c544;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c545)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c539()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c546){s1=peg$c546;peg$currPos+=10}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,10)===peg$c549){s1=peg$c549;peg$currPos+=10}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,9)===peg$c551){s1=peg$c551;peg$currPos+=9}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,9)===peg$c554){s1=peg$c554;peg$currPos+=9}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,11)===peg$c556){s1=peg$c556;peg$currPos+=11}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,11)===peg$c559){s1=peg$c559;peg$currPos+=11}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,11)===peg$c561){s1=peg$c561;peg$currPos+=11}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,11)===peg$c564){s1=peg$c564;peg$currPos+=11}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,7)===peg$c566){s1=peg$c566;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c567)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c568()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c569){s1=peg$c569;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c570)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c568()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c571){s1=peg$c571;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c572)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c573()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c574){s1=peg$c574;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c575)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c573()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c576){s1=peg$c576;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c577)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c578()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c579){s1=peg$c579;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c580)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c578()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c581){s1=peg$c581;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c582)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c583()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c584){s1=peg$c584;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c585)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c583()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c586){s1=peg$c586;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c587)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c588()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c589){s1=peg$c589;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c590)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c588()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c591){s1=peg$c591;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c592)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c593()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c594){s1=peg$c594;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c595)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c593()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c596){s1=peg$c596;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c597)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c593()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c598){s1=peg$c598;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c599)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c593()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c600){s1=peg$c600;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c601)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c602()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c603){s1=peg$c603;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c604)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c602()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c605){s1=peg$c605;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c606)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c607()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c608){s1=peg$c608;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c609)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c607()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c610){s1=peg$c610;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c611)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c612()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c613){s1=peg$c613;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c614)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c612()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c615){s1=peg$c615;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c616)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c617()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c618){s1=peg$c618;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c619)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c617()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c620){s1=peg$c620;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c621)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c622()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c623){s1=peg$c623;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c624)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c622()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c625){s1=peg$c625;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c626)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c627()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c628){s1=peg$c628;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c629)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c627()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c630){s1=peg$c630;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c631)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c632()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c633){s1=peg$c633;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c634)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c632()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c635){s1=peg$c635;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c636)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c637()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c638){s1=peg$c638;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c639)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c637()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c640){s1=peg$c640;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c641)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c642()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c643){s1=peg$c643;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c644)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c642()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c645){s1=peg$c645;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c646)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c647()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c648){s1=peg$c648;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c649)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c647()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c650){s1=peg$c650;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c651)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c652()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c653){s1=peg$c653;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c654)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c652()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c655){s1=peg$c655;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c656)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c657()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c658){s1=peg$c658;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c659)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c657()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c660){s1=peg$c660;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c661)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c662()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c663){s1=peg$c663;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c664)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c662()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c665){s1=peg$c665;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c666)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c667()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c668){s1=peg$c668;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c669)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c667()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c670){s1=peg$c670;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c671)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c672()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c673){s1=peg$c673;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c674)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c672()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,20)===peg$c675){s1=peg$c675;peg$currPos+=20}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c676)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c677()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,20)===peg$c678){s1=peg$c678;peg$currPos+=20}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c679)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c677()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c680){s1=peg$c680;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c681)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c682()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c683){s1=peg$c683;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c684)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c682()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c685){s1=peg$c685;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c686)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c682()}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$c682()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c689){s1=peg$c689;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c690)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c691()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c692){s1=peg$c692;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c693)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c691()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c694){s1=peg$c694;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c695)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c696()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c697){s1=peg$c697;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c698)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c696()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c699){s1=peg$c699;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c700)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c701()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c702){s1=peg$c702;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c703)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c701()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c704){s1=peg$c704;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c705)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c706()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c707){s1=peg$c707;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c708)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c706()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c709){s1=peg$c709;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c710)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c711()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c712){s1=peg$c712;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c713)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c711()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c714){s1=peg$c714;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c715)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c716()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c717){s1=peg$c717;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c718)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c716()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c719){s1=peg$c719;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c720)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c716()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c721){s1=peg$c721;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c722)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c716()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c723){s1=peg$c723;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c724)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c725()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c726){s1=peg$c726;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c727)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c725()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c728){s1=peg$c728;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c729)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c730()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c731){s1=peg$c731;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c732)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c730()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c733){s1=peg$c733;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c734)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c735()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c736){s1=peg$c736;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c737)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c735()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c738){s1=peg$c738;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c739)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c740()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c741){s1=peg$c741;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c742)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c740()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c743){s1=peg$c743;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c744)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c745()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c746){s1=peg$c746;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c747)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c745()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c748){s1=peg$c748;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c749)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c568()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c750){s1=peg$c750;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c751)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c568()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c752){s1=peg$c752;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c753)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c754()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c755){s1=peg$c755;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c756)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c754()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c757){s1=peg$c757;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c758)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c759()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c760){s1=peg$c760;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c761)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c759()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c762){s1=peg$c762;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c763)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c764()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c765){s1=peg$c765;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c766)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c764()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c767){s1=peg$c767;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c768)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c769()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c770){s1=peg$c770;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c771)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c769()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c772){s1=peg$c772;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c773)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c774()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c775){s1=peg$c775;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c776)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c774()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c777){s1=peg$c777;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c778)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c779()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c780){s1=peg$c780;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c781)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c779()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c782){s1=peg$c782;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c783)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c784()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c785){s1=peg$c785;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c786)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c784()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,17)===peg$c787){s1=peg$c787;peg$currPos+=17}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c788)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c789()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,17)===peg$c790){s1=peg$c790;peg$currPos+=17}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c791)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c789()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c792){s1=peg$c792;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c793)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c794()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c795){s1=peg$c795;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c796)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c794()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c797){s1=peg$c797;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c798)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c799()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c800){s1=peg$c800;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c801)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c799()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c802){s1=peg$c802;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c803)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c804()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c805){s1=peg$c805;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c806)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c804()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c807){s1=peg$c807;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c808)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c809()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c810){s1=peg$c810;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c811)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c809()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c812){s1=peg$c812;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c813)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c814()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c815){s1=peg$c815;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c816)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c814()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c817){s1=peg$c817;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c818)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c819()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c820){s1=peg$c820;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c821)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c819()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c822){s1=peg$c822;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c823)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c824()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c825){s1=peg$c825;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c826)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c824()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c827){s1=peg$c827;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c828)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c829()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c830){s1=peg$c830;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c831)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c829()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c832){s1=peg$c832;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c833)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c834()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c835){s1=peg$c835;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c836)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c834()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c837){s1=peg$c837;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c838)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c839()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c840){s1=peg$c840;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c841)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c839()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c842){s1=peg$c842;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c843)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c844()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c845){s1=peg$c845;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c846)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c844()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c847){s1=peg$c847;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c848)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c849()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c850){s1=peg$c850;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c851)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c849()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c852){s1=peg$c852;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c853)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c854()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c855){s1=peg$c855;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c856)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c854()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c857){s1=peg$c857;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c858)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c859()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c860){s1=peg$c860;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c861)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c859()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c862){s1=peg$c862;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c863)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c864()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c865){s1=peg$c865;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c866)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c864()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c867){s1=peg$c867;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c868)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c869()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c870){s1=peg$c870;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c871)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c869()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c872){s1=peg$c872;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c873)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c874()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c875){s1=peg$c875;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c876)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c874()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c877){s1=peg$c877;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c878)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c879()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c880){s1=peg$c880;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c881)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c879()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c882){s1=peg$c882;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c883)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c884()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c885){s1=peg$c885;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c886)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c884()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c887){s1=peg$c887;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c888)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c889()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c890){s1=peg$c890;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c891)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c889()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c892){s1=peg$c892;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c893)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c894()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c895){s1=peg$c895;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c896)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c894()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c897){s1=peg$c897;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c898)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c899()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c900){s1=peg$c900;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c901)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c899()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c902){s1=peg$c902;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c903)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c904()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c905){s1=peg$c905;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c906)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c904()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c907){s1=peg$c907;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c908)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c909()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c910){s1=peg$c910;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c911)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c909()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c912){s1=peg$c912;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c913)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c914()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c915){s1=peg$c915;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c916)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c914()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c917){s1=peg$c917;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c918)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c919()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c920){s1=peg$c920;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c921)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c919()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c922){s1=peg$c922;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c923)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c924()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c925){s1=peg$c925;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c926)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c924()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c927){s1=peg$c927;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c928)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c929()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c930){s1=peg$c930;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c931)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c929()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c932){s1=peg$c932;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c933)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c934()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c935){s1=peg$c935;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c936)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c934()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c937){s1=peg$c937;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c938)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c939()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c940){s1=peg$c940;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c941)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c939()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c942){s1=peg$c942;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c943)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c944()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c945){s1=peg$c945;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c946)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c944()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c947){s1=peg$c947;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c948)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c949()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c950){s1=peg$c950;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c951)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c949()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c952){s1=peg$c952;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c953)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c954()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c955){s1=peg$c955;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c956)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c954()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c957){s1=peg$c957;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c958)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c959()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c960){s1=peg$c960;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c961)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c959()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c962){s1=peg$c962;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c963)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c964()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c965){s1=peg$c965;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c966)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c964()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c967){s1=peg$c967;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c968)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c969()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c970){s1=peg$c970;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c971)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c969()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c972){s1=peg$c972;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c973)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c974()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c975){s1=peg$c975;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c976)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c974()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c977){s1=peg$c977;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c978)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c979()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c980){s1=peg$c980;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c981)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c979()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c982){s1=peg$c982;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c983)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c979()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c984){s1=peg$c984;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c985)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c979()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c986){s1=peg$c986;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c987)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c988()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c989){s1=peg$c989;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c990)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c988()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c991){s1=peg$c991;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c992)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c993()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c994){s1=peg$c994;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c995)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c993()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c996){s1=peg$c996;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c997)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c998()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c999){s1=peg$c999;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1000)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c998()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1001){s1=peg$c1001;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1002)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1003()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1004){s1=peg$c1004;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1005)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1003()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1006){s1=peg$c1006;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1007)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1008()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1009){s1=peg$c1009;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1010)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1008()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1011){s1=peg$c1011;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1012)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1013()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1014){s1=peg$c1014;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1015)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1013()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1016){s1=peg$c1016;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1017)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1018()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1019){s1=peg$c1019;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1020)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1018()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1021){s1=peg$c1021;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1022)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1023()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1024){s1=peg$c1024;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1025)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1023()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1026){s1=peg$c1026;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1027)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1028()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1029){s1=peg$c1029;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1030)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1028()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1031){s1=peg$c1031;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1032)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1033()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1034){s1=peg$c1034;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1035)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1033()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1036){s1=peg$c1036;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1037)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1038()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1039){s1=peg$c1039;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1040)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1038()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1041){s1=peg$c1041;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1042)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1043()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1044){s1=peg$c1044;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1045)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1043()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1046){s1=peg$c1046;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1047)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1048()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1049){s1=peg$c1049;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1050)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1048()}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$c1053()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1054){s1=peg$c1054;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1055)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1053()}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$c1056(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$c1057;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1058)}}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$c1059(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$c1057;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1058)}}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$c1060(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$c1057;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1058)}}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$c1061(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$c1057;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1058)}}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$c1062(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$c1063)}}return s0}function peg$parseArrowItemKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1064){s0=peg$c1064;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1065)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1066){s0=peg$c1066;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1067)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1068){s0=peg$c1068;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1069)}}}}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$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1074(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$c1076){s2=peg$c1076;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1077)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1078(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;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$c1075)}}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,9)===peg$c1080){s2=peg$c1080;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1081)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1082(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;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$c1079)}}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$c1083;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1084)}}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$c1085;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1086)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1087(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$c1088;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1089)}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c1090(s1);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLabelList(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===91){s1=peg$c1091;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1092)}}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$c1093;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1094)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1095(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$c1096){s1=peg$c1096;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1097)}}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$c1098(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$c1099){s1=peg$c1099;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1100)}}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$c1101(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$c1102;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1103)}}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$c1104(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$c1105;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1106)}}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$c1107(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$c1108){s1=peg$c1108;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1109)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1110()}s0=s1}}return s0}function peg$parseArrowTarget(){var s0;s0=peg$parseStripe();if(s0===peg$FAILED){s0=peg$parseCycle();if(s0===peg$FAILED){s0=peg$parseLabelList();if(s0===peg$FAILED){s0=peg$parseLabel()}}}return s0}function peg$parseSubexp(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13,s14,s15,s16,s17,s18;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseActionLabel();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseArrowProbability();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseArrowDesc();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseArrow();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){s10=peg$parseArrowDesc();if(s10===peg$FAILED){s10=null}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){s12=peg$parseArrowProbability();if(s12===peg$FAILED){s12=null}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){s14=peg$parseActionLabel();if(s14===peg$FAILED){s14=null}if(s14!==peg$FAILED){s15=peg$parseWS();if(s15===peg$FAILED){s15=null}if(s15!==peg$FAILED){s16=peg$parseArrowTarget();if(s16!==peg$FAILED){s17=peg$parseWS();if(s17===peg$FAILED){s17=null}if(s17!==peg$FAILED){s18=peg$parseSubexp();if(s18===peg$FAILED){s18=null}if(s18!==peg$FAILED){peg$savedPos=s0;s1=peg$c1111(s2,s4,s6,s8,s10,s12,s14,s16,s18);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseExp(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;s1=peg$parseArrowTarget();if(s1!==peg$FAILED){s2=peg$parseSubexp();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1072;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1112(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$c1113){s0=peg$c1113;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1114)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1115){s0=peg$c1115;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1116)}}}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$c1070;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1072;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1117(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$c1118){s2=peg$c1118;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1119)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1083;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1084)}}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$c1120){s10=peg$c1120;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1121)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1122(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$c1123){s0=peg$c1123;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1124)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1125){s0=peg$c1125;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1126)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c1127){s0=peg$c1127;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1128)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1129){s0=peg$c1129;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1130)}}}}}return s0}function peg$parseStateItemShape(){var s0,s1,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$c1131){s2=peg$c1131;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1132)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1133(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseStateItems(){var s0,s1;s0=[];s1=peg$parseStateItemShape();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseStateItemShape()}}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$c1134){s2=peg$c1134;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1135)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1083;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1084)}}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$c1120){s10=peg$c1120;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1121)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1136(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$c1137){s2=peg$c1137;peg$currPos+=11}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1138)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1083;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1084)}}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$c1120){s10=peg$c1120;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1121)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1139(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$c1140){s2=peg$c1140;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1141)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1083;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1084)}}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$c1120){s10=peg$c1120;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1121)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1142(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()}}return s0}function peg$parseActionKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1113){s0=peg$c1113;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1114)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1115){s0=peg$c1115;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1116)}}}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$c1070;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1072;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1143(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$c1144){s2=peg$c1144;peg$currPos+=6}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1145)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1083;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1084)}}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$c1120){s10=peg$c1120;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1121)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1146(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$c1113){s0=peg$c1113;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1114)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1115){s0=peg$c1115;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1116)}}}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$c1070;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1072;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1147(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$c1076){s2=peg$c1076;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1077)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1149(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;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$c1148)}}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$c1150){s2=peg$c1150;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1151)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1083;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1084)}}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$c1120){s10=peg$c1120;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1121)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1152(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$c1153){s2=peg$c1153;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1154)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1155(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1156){s2=peg$c1156;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1157)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1158(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1159){s2=peg$c1159;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1160)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1161(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1162){s2=peg$c1162;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1163)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1164(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfig(){var s0;peg$silentFails++;s0=peg$parseConfigGraphLayout();if(s0===peg$FAILED){s0=peg$parseConfigStartNodes();if(s0===peg$FAILED){s0=peg$parseConfigEndNodes();if(s0===peg$FAILED){s0=peg$parseConfigTransition();if(s0===peg$FAILED){s0=peg$parseConfigAction();if(s0===peg$FAILED){s0=peg$parseConfigAnyState();if(s0===peg$FAILED){s0=peg$parseConfigValidation();if(s0===peg$FAILED){s0=peg$parseConfigGraphBgColor()}}}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1165)}}return s0}function peg$parseLicenseOrLabelOrList(){var s0;if(input.substr(peg$currPos,3)===peg$c1166){s0=peg$c1166;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1167)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1168){s0=peg$c1168;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1169)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1170){s0=peg$c1170;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1171)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1172){s0=peg$c1172;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1173)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1174){s0=peg$c1174;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1175)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c1176){s0=peg$c1176;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1177)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1178){s0=peg$c1178;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1179)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1180){s0=peg$c1180;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1181)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1182){s0=peg$c1182;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1183)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1184){s0=peg$c1184;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1185)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c1186){s0=peg$c1186;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1187)}}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$c1189){s0=peg$c1189;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1190)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1191){s0=peg$c1191;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1192)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1193){s0=peg$c1193;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1195){s0=peg$c1195;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1196)}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1188)}}return s0}function peg$parseHookDefinition(){var s0;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c1198){s0=peg$c1198;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1199)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1200){s0=peg$c1200;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1201)}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1197)}}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$c1202){s2=peg$c1202;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1203)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1204(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1205){s2=peg$c1205;peg$currPos+=19}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1206)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1207(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1208){s2=peg$c1208;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1210(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1211){s2=peg$c1211;peg$currPos+=18}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1212)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1213(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1214){s2=peg$c1214;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1215)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1216(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1220){s2=peg$c1220;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1221)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1222(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1223){s2=peg$c1223;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1224)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1225(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1226){s2=peg$c1226;peg$currPos+=16}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1227)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1228(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1229){s2=peg$c1229;peg$currPos+=11}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1230)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1231(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1232){s2=peg$c1232;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1233)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseTheme();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1234(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1235){s2=peg$c1235;peg$currPos+=4}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1236)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1237(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1238){s2=peg$c1238;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1239)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1240(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1241){s2=peg$c1241;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1242)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1243(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1244)}}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$c1245){s2=peg$c1245;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1247(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;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$c1063)}}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$c1249){s2=peg$c1249;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1250)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1251(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;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$c1248)}}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$c1253){s2=peg$c1253;peg$currPos+=16}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1254)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1255(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;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$c1252)}}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$c1257){s2=peg$c1257;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1258)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1259(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;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$c1256)}}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$c1131){s2=peg$c1131;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1132)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1261(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;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$c1260)}}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$c1263){s2=peg$c1263;peg$currPos+=7}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1264)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1265(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;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$c1262)}}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,9)===peg$c1080){s2=peg$c1080;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1081)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1267(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;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$c1266)}}return s0}function peg$parseStateDeclarationItems(){var s0;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()}}}}}}return s0}function peg$parseStateDeclarationDesc(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===123){s1=peg$c1083;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1084)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$parseStateDeclarationItems();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseStateDeclarationItems()}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$c1085;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1086)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1087(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$c1134){s2=peg$c1134;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1135)}}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$c1070;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1268(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$c1269;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1270)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){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$c1070;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1271(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$parseMachinePropertyDefaultNull(){var s0;if(input.substr(peg$currPos,4)===peg$c1272){s0=peg$c1272;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1273)}}return s0}function peg$parseMachinePropertyDefaultUndefined(){var s0;if(input.substr(peg$currPos,9)===peg$c1274){s0=peg$c1274;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1275)}}return s0}function peg$parseMachinePropertyDefaultBoolean(){var s0;if(input.substr(peg$currPos,4)===peg$c222){s0=peg$c222;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c223)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c225){s0=peg$c225;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c226)}}}return s0}function peg$parseMachinePropertyDefaultNumber(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===45){s1=peg$c1105;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1106)}}if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseIntegerLiteral();if(s2!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s3=peg$c309;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c310)}}if(s3!==peg$FAILED){s4=[];s5=peg$parseDecimalDigit();while(s5!==peg$FAILED){s4.push(s5);s5=peg$parseDecimalDigit()}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1276();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;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)===45){s1=peg$c1105;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1106)}}if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseIntegerLiteral();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1276();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){if(input.substr(peg$currPos,8)===peg$c1277){s0=peg$c1277;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1278)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1279){s0=peg$c1279;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1280)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c1281){s0=peg$c1281;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1282)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1283){s0=peg$c1283;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1284)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1285){s0=peg$c1285;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1286)}}}}}}}}return s0}function peg$parseMachinePropertyDefaultString(){var s0,s1,s2,s3;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===34){s1=peg$c242;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c243)}}if(s1!==peg$FAILED){s2=[];s3=peg$parseMachinePropertyDefaultStringCharacter();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseMachinePropertyDefaultStringCharacter()}if(s2!==peg$FAILED){if(input.charCodeAt(peg$currPos)===34){s3=peg$c242;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c243)}}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1287(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$parseMachinePropertyDefaultStringCharacter(){var s0,s1,s2;s0=peg$currPos;s1=peg$currPos;peg$silentFails++;if(input.charCodeAt(peg$currPos)===34){s2=peg$c242;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c243)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===92){s2=peg$c244;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c245)}}}peg$silentFails--;if(s2===peg$FAILED){s1=void 0}else{peg$currPos=s1;s1=peg$FAILED}if(s1!==peg$FAILED){if(input.length>peg$currPos){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c284)}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c1288(s2);s0=s1}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)===92){s1=peg$c244;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c245)}}if(s1!==peg$FAILED){s2=peg$parseMachinePropertyDefaultStringEscapeSequence();if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c1289(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseMachinePropertyDefaultStringEscapeSequence(){var s0,s1;if(input.charCodeAt(peg$currPos)===39){s0=peg$c272;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c273)}}if(s0===peg$FAILED){if(input.charCodeAt(peg$currPos)===34){s0=peg$c242;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c243)}}if(s0===peg$FAILED){if(input.charCodeAt(peg$currPos)===92){s0=peg$c244;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c245)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===98){s1=peg$c248;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c249)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1290()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===102){s1=peg$c251;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c252)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1291()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===110){s1=peg$c254;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c255)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1292()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===114){s1=peg$c257;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c258)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1293()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===116){s1=peg$c260;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c261)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1294()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===118){s1=peg$c263;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c264)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1295()}s0=s1}}}}}}}}return s0}function peg$parseMachinePropertyDefault(){var s0;s0=peg$parseMachinePropertyDefaultNull();if(s0===peg$FAILED){s0=peg$parseMachinePropertyDefaultUndefined();if(s0===peg$FAILED){s0=peg$parseMachinePropertyDefaultBoolean();if(s0===peg$FAILED){s0=peg$parseMachinePropertyDefaultNumber();if(s0===peg$FAILED){s0=peg$parseMachinePropertyDefaultString()}}}}return s0}function peg$parseMachineProperty(){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,8)===peg$c1296){s2=peg$c1296;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1297)}}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.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$parseMachinePropertyDefault();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$c1072;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1298(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$c1296){s2=peg$c1296;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1297)}}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)===59){s6=peg$c1072;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){peg$savedPos=s0;s1=peg$c1299(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$c1300){s1=peg$c1300;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1301)}}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$c1072;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1302(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$c1303){s1=peg$c1303;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1304)}}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$c1072;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1305(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$c1306){s1=peg$c1306;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1307)}}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$c1072;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1308(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$c1309)}}return s0}function peg$parseTerm(){var s0;s0=peg$parseExp();if(s0===peg$FAILED){s0=peg$parseStateDeclaration();if(s0===peg$FAILED){s0=peg$parseArrangeDeclaration();if(s0===peg$FAILED){s0=peg$parseNamedList();if(s0===peg$FAILED){s0=peg$parseMachineAttribute();if(s0===peg$FAILED){s0=peg$parseMachineProperty();if(s0===peg$FAILED){s0=peg$parseConfig()}}}}}}return s0}function peg$parseTermList(){var s0,s1;s0=[];s1=peg$parseTerm();while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseTerm()}return s0}peg$result=peg$startRuleFunction();if(peg$result!==peg$FAILED&&peg$currPos===input.length){return peg$result}else{if(peg$result!==peg$FAILED&&peg$currPos":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 makeTransition(this_se,from,to,isRight,_wasList,_wasIndex){const kind=isRight?arrow_right_kind(this_se.kind):arrow_left_kind(this_se.kind),edge={from:from,to:to,kind:kind,forced_only:kind==="forced",main_path:kind==="main"};const action=isRight?"r_action":"l_action",probability=isRight?"r_probability":"l_probability";if(this_se[action]){edge.action=this_se[action]}if(this_se[probability]){edge.probability=this_se[probability]}return edge}function wrap_parse(input,options){return peg$parse(input,options||{})}function compile_rule_transition_step(acc,from,to,this_se,next_se){const edges=[];const uFrom=Array.isArray(from)?from:[from],uTo=Array.isArray(to)?to:[to];uFrom.map((f=>{uTo.map((t=>{const right=makeTransition(this_se,f,t,true);if(right.kind!=="none"){edges.push(right)}const left=makeTransition(this_se,t,f,false);if(left.kind!=="none"){edges.push(left)}}))}));const new_acc=acc.concat(edges);if(next_se){return compile_rule_transition_step(new_acc,to,next_se.to,next_se,next_se.se)}else{return new_acc}}function compile_rule_handle_transition(rule){return compile_rule_transition_step([],rule.from,rule.se.to,rule.se,rule.se.se)}function compile_rule_handler(rule){if(rule.key==="transition"){return{agg_as:"transition",val:compile_rule_handle_transition(rule)}}if(rule.key==="machine_language"){return{agg_as:"machine_language",val:reduceTo6391.reduce(rule.value)}}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"];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:[],theme:[],flow:[],dot_preamble:[],arrange_declaration:[],arrange_start_declaration:[],arrange_end_declaration:[],machine_version:[]};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 assembled_transitions=[].concat(...results["transition"]);const result_cfg={start_states:results.start_states.length?results.start_states:[assembled_transitions[0].from],transitions:assembled_transitions};const oneOnlyKeys=["graph_layout","machine_name","machine_version","machine_comment","fsl_version","machine_license","machine_definition","machine_language","theme","flow","dot_preamble"];oneOnlyKeys.map((oneOnlyKey=>{if(results[oneOnlyKey].length>1){throw new JssmError(undefined,`May only have one ${oneOnlyKey} statement maximum: ${JSON.stringify(results[oneOnlyKey])}`)}else{if(results[oneOnlyKey].length){result_cfg[oneOnlyKey]=results[oneOnlyKey][0]}}}));["arrange_declaration","arrange_start_declaration","arrange_end_declaration","machine_author","machine_contributor","machine_reference","state_declaration"].map((multiKey=>{if(results[multiKey].length){result_cfg[multiKey]=results[multiKey]}}));return result_cfg}function make(plan){return compile(wrap_parse(plan))}function transfer_state_properties(state_decl){state_decl.declarations.map((d=>{switch(d.key){case"shape":state_decl.shape=d.value;break;case"color":state_decl.color=d.value;break;case"corners":state_decl.corners=d.value;break;case"linestyle":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"border-color":state_decl.borderColor=d.value;break;default:throw new JssmError(undefined,`Unknown state property: '${JSON.stringify(d)}'`)}}));return state_decl}class Machine{constructor({start_states:start_states,complete:complete=[],transitions:transitions,machine_author:machine_author,machine_comment:machine_comment,machine_contributor:machine_contributor,machine_definition:machine_definition,machine_language:machine_language,machine_license:machine_license,machine_name:machine_name,machine_version:machine_version,state_declaration:state_declaration,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}){this._instance_name=instance_name;this._state=start_states[0];this._states=new Map;this._state_declarations=new Map;this._edges=[];this._edge_map=new Map;this._named_transitions=new Map;this._actions=new Map;this._reverse_actions=new Map;this._reverse_action_targets=new Map;this._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._theme=theme;this._flow=flow;this._graph_layout=graph_layout;this._has_hooks=false;this._has_basic_hooks=false;this._has_named_hooks=false;this._has_entry_hooks=false;this._has_exit_hooks=false;this._has_global_action_hooks=false;this._has_transition_hooks=true;this._hooks=new Map;this._named_hooks=new Map;this._entry_hooks=new Map;this._exit_hooks=new Map;this._global_action_hooks=new Map;this._any_action_hook=undefined;this._standard_transition_hook=undefined;this._main_transition_hook=undefined;this._forced_transition_hook=undefined;this._any_transition_hook=undefined;this._standard_transition_hook=undefined;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))}))}transitions.map((tr=>{if(tr.from===undefined){throw new JssmError(this,`transition must define 'from': ${JSON.stringify(tr)}`)}if(tr.to===undefined){throw new JssmError(this,`transition must define 'to': ${JSON.stringify(tr)}`)}const cursor_from=this._states.get(tr.from)||{name:tr.from,from:[],to:[],complete:complete.includes(tr.from)};if(!this._states.has(tr.from)){this._new_state(cursor_from)}const cursor_to=this._states.get(tr.to)||{name:tr.to,from:[],to:[],complete:complete.includes(tr.to)};if(!this._states.has(tr.to)){this._new_state(cursor_to)}if(cursor_from.to.includes(tr.to)){throw new JssmError(this,`already has ${JSON.stringify(tr.from)} to ${JSON.stringify(tr.to)}`)}else{cursor_from.to.push(tr.to);cursor_to.from.push(tr.from)}this._edges.push(tr);const thisEdgeId=this._edges.length-1;if(tr.name){if(this._named_transitions.has(tr.name)){throw new JssmError(this,`named transition "${JSON.stringify(tr.name)}" already created`)}else{this._named_transitions.set(tr.name,thisEdgeId)}}const from_mapping=this._edge_map.get(tr.from)||new Map;if(!this._edge_map.has(tr.from)){this._edge_map.set(tr.from,from_mapping)}from_mapping.set(tr.to,thisEdgeId);if(tr.action){let actionMap=this._actions.get(tr.action);if(!actionMap){actionMap=new Map;this._actions.set(tr.action,actionMap)}if(actionMap.has(tr.from)){throw new JssmError(this,`action ${JSON.stringify(tr.action)} already attached to origin ${JSON.stringify(tr.from)}`)}else{actionMap.set(tr.from,thisEdgeId)}let rActionMap=this._reverse_actions.get(tr.from);if(!rActionMap){rActionMap=new Map;this._reverse_actions.set(tr.from,rActionMap)}rActionMap.set(tr.action,thisEdgeId);if(!this._reverse_action_targets.has(tr.to)){this._reverse_action_targets.set(tr.to,new Map)}}}))}_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}state_is_final(whichState){return this.state_is_terminal(whichState)&&this.state_is_complete(whichState)}is_final(){return this.state_is_final(this.state())}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())}theme(){return this._theme}flow(){return this._flow}get_transition_by_state_names(from,to){const emg=this._edge_map.get(from);if(emg){return emg.get(to)}else{return undefined}}lookup_transition_for(from,to){const id=this.get_transition_by_state_names(from,to);return id===undefined||id===null?undefined:this._edges[id]}list_transitions(whichState=this.state()){return{entrances:this.list_entrances(whichState),exits:this.list_exits(whichState)}}list_entrances(whichState=this.state()){return(this._states.get(whichState)||{from:undefined}).from||[]}list_exits(whichState=this.state()){return(this._states.get(whichState)||{to:undefined}).to||[]}probable_exits_for(whichState){const wstate=this._states.get(whichState);if(!wstate){throw new JssmError(this,`No such state ${JSON.stringify(whichState)} in probable_exits_for`)}const wstate_to=wstate.to,wtf=wstate_to.map((ws=>this.lookup_transition_for(this.state(),ws))).filter(Boolean);return wtf}probabilistic_transition(){const selected=weighted_rand_select(this.probable_exits_for(this.state()));return this.transition(selected.to)}probabilistic_walk(n){return seq(n).map((()=>{const state_was=this.state();this.probabilistic_transition();return state_was})).concat([this.state()])}probabilistic_histo_walk(n){return histograph(this.probabilistic_walk(n))}actions(whichState=this.state()){const wstate=this._reverse_actions.get(whichState);if(wstate){return Array.from(wstate.keys())}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}list_states_having_action(whichState){const wstate=this._actions.get(whichState);if(wstate){return Array.from(wstate.keys())}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}list_exit_actions(whichState=this.state()){const ra_base=this._reverse_actions.get(whichState);if(!ra_base){throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}return Array.from(ra_base.values()).map((edgeId=>this._edges[edgeId])).filter((o=>o.from===whichState)).map((filtered=>filtered.action))}probable_action_exits(whichState=this.state()){const ra_base=this._reverse_actions.get(whichState);if(!ra_base){throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}return Array.from(ra_base.values()).map((edgeId=>this._edges[edgeId])).filter((o=>o.from===whichState)).map((filtered=>({action:filtered.action,probability:filtered.probability})))}is_unenterable(whichState){if(!this.has_state(whichState)){throw new JssmError(this,`No such state ${whichState}`)}return this.list_entrances(whichState).length===0}has_unenterables(){return this.states().some((x=>this.is_unenterable(x)))}is_terminal(){return this.state_is_terminal(this.state())}state_is_terminal(whichState){if(!this.has_state(whichState)){throw new JssmError(this,`No such state ${whichState}`)}return this.list_exits(whichState).length===0}has_terminals(){return this.states().some((x=>this.state_is_terminal(x)))}is_complete(){return this.state_is_complete(this.state())}state_is_complete(whichState){const wstate=this._states.get(whichState);if(wstate){return wstate.complete}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}has_completes(){return this.states().some((x=>this.state_is_complete(x)))}set_hook(HookDesc){switch(HookDesc.kind){case"hook":this._hooks.set(hook_name(HookDesc.from,HookDesc.to),HookDesc.handler);this._has_hooks=true;this._has_basic_hooks=true;break;case"named":this._named_hooks.set(named_hook_name(HookDesc.from,HookDesc.to,HookDesc.action),HookDesc.handler);this._has_hooks=true;this._has_named_hooks=true;break;case"global action":this._global_action_hooks.set(HookDesc.action,HookDesc.handler);this._has_hooks=true;this._has_global_action_hooks=true;break;case"any action":this._any_action_hook=HookDesc.handler;this._has_hooks=true;break;case"standard transition":this._standard_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"main transition":this._main_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"forced transition":this._forced_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"any transition":this._any_transition_hook=HookDesc.handler;this._has_hooks=true;break;case"entry":this._entry_hooks.set(HookDesc.to,HookDesc.handler);this._has_hooks=true;this._has_entry_hooks=true;break;case"exit":this._exit_hooks.set(HookDesc.from,HookDesc.handler);this._has_hooks=true;this._has_exit_hooks=true;break;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}edges_between(from,to){return this._edges.filter((edge=>edge.from===from&&edge.to===to))}transition_impl(newStateOrAction,newData,wasForced,wasAction){let valid=false,trans_type,newState;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}}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}}if(valid){if(this._has_hooks){if(wasAction){if(this._any_action_hook!==undefined){if(this._any_action_hook()===false){return false}}const maybe_ga_hook=this._global_action_hooks.get(newStateOrAction);if(maybe_ga_hook!==undefined){if(maybe_ga_hook({action:newStateOrAction,forced:wasForced})===false){return false}}}if(this._any_transition_hook!==undefined){if(this._any_transition_hook()===false){return false}}if(this._has_exit_hooks){const maybe_ex_hook=this._exit_hooks.get(this._state);if(maybe_ex_hook!==undefined){if(maybe_ex_hook({from:this._state,forced:wasForced})===false){return false}}}if(this._has_named_hooks){if(wasAction){const nhn=named_hook_name(this._state,newState,newStateOrAction),n_maybe_hook=this._named_hooks.get(nhn);if(n_maybe_hook!==undefined){if(n_maybe_hook({from:this._state,to:newState,action:newStateOrAction})===false){return false}}}}if(this._has_basic_hooks){const hn=hook_name(this._state,newState),maybe_hook=this._hooks.get(hn);if(maybe_hook!==undefined){if(maybe_hook({from:this._state,to:newState,forced:wasForced,action:wasAction?newStateOrAction:undefined})===false){return false}}}if(trans_type==="legal"){if(this._standard_transition_hook!==undefined){if(this._standard_transition_hook({from:this._state,to:newState})===false){return false}}}if(trans_type==="main"){if(this._main_transition_hook!==undefined){if(this._main_transition_hook({from:this._state,to:newState})===false){return false}}}if(trans_type==="forced"){if(this._forced_transition_hook!==undefined){if(this._forced_transition_hook({from:this._state,to:newState})===false){return false}}}if(this._has_entry_hooks){const maybe_en_hook=this._entry_hooks.get(newState);if(maybe_en_hook!==undefined){if(maybe_en_hook({to:newState,forced:wasForced})===false){return false}}}this._state=newState;return true}else{this._state=newState;return true}}else{return false}}action(actionName,newData){return this.transition_impl(actionName,newData,false,true)}transition(newState,newData){return this.transition_impl(newState,newData,false,false)}force_transition(newState,newData){return this.transition_impl(newState,newData,true,false)}current_action_for(action){const action_base=this._actions.get(action);return action_base?action_base.get(this.state()):undefined}current_action_edge_for(action){const idx=this.current_action_for(action);if(idx===undefined||idx===null){throw new JssmError(this,`No such action ${JSON.stringify(action)}`)}return this._edges[idx]}valid_action(action,_newData){return this.current_action_for(action)!==undefined}valid_transition(newState,_newData){const transition_for=this.lookup_transition_for(this.state(),newState);if(!transition_for){return false}if(transition_for.forced_only){return false}return true}valid_force_transition(newState,_newData){return this.lookup_transition_for(this.state(),newState)!==undefined}instance_name(){return this._instance_name}sm(template_strings,...remainder){return sm(template_strings,...remainder)}}function sm(template_strings,...remainder){return new Machine(make(template_strings.reduce(((acc,val,idx)=>`${acc}${remainder[idx-1]}${val}`))))}function from(MachineAsString,ExtraConstructorFields){const to_decorate=make(MachineAsString);if(ExtraConstructorFields!==undefined){Object.keys(ExtraConstructorFields).map((key=>to_decorate[key]=ExtraConstructorFields[key]))}return new Machine(to_decorate)}exports.Machine=Machine;exports.arrow_direction=arrow_direction;exports.arrow_left_kind=arrow_left_kind;exports.arrow_right_kind=arrow_right_kind;exports.compile=compile;exports.from=from;exports.gviz_shapes=gviz_shapes;exports.histograph=histograph;exports.make=make;exports.named_colors=named_colors;exports.parse=wrap_parse;exports.seq=seq;exports.shapes=shapes;exports.sm=sm;exports.transfer_state_properties=transfer_state_properties;exports.version=version;exports.weighted_histo_key=weighted_histo_key;exports.weighted_rand_select=weighted_rand_select;exports.weighted_sample_select=weighted_sample_select; diff --git a/dist/jssm.es5.cjs.nonmin.js b/dist/jssm.es5.cjs.nonmin.js index d3576352..abb0de20 100644 --- a/dist/jssm.es5.cjs.nonmin.js +++ b/dist/jssm.es5.cjs.nonmin.js @@ -16783,7 +16783,7 @@ function peg$parse(input, options) { } } -const version = "5.67.0"; +const version = "5.67.2"; class JssmError extends Error { constructor(machine, message, JEEI) { diff --git a/dist/jssm.es5.iife.js b/dist/jssm.es5.iife.js index 9dff85c9..32a73b11 100644 --- a/dist/jssm.es5.iife.js +++ b/dist/jssm.es5.iife.js @@ -1 +1 @@ -var jssm=function(exports){"use strict";var reductions={abkhazian:"ab","аҧсуа бызшәа, аҧсшәа":"ab",ab:"ab",abk:"ab","аҧсуа бызшәа":"ab","аҧсшәа":"ab",afar:"aa",afaraf:"aa",aa:"aa",aar:"aa",afrikaans:"af",af:"af",afr:"af",akan:"ak",ak:"ak",aka:"ak","aka + 2":"ak",albanian:"sq",shqip:"sq",sq:"sq",sqi:"sq",alb:"sq","sqi + 4":"sq",amharic:"am","አማርኛ":"am",am:"am",amh:"am",arabic:"ar","العربية":"ar",ar:"ar",ara:"ar","ara + 30":"ar",aragonese:"an","aragonés":"an",an:"an",arg:"an",armenian:"hy","հայերեն":"hy",hy:"hy",hye:"hy",arm:"hy",assamese:"as","অসমীয়া":"as",as:"as",asm:"as",avaric:"av","авар мацӏ, магӏарул мацӏ":"av",av:"av",ava:"av","авар мацӏ":"av","магӏарул мацӏ":"av",avestan:"ae",avesta:"ae",ae:"ae",ave:"ae",aymara:"ay","aymar aru":"ay",ay:"ay",aym:"ay","aym + 2":"ay",azerbaijani:"az","azərbaycan dili":"az",az:"az",aze:"az","aze + 2":"az",bambara:"bm",bamanankan:"bm",bm:"bm",bam:"bm",bashkir:"ba","башҡорт теле":"ba",ba:"ba",bak:"ba",basque:"eu","euskara, euskera":"eu",eu:"eu",eus:"eu",baq:"eu",euskara:"eu",euskera:"eu",belarusian:"be","беларуская мова":"be",be:"be",bel:"be",bengali:"bn","বাংলা":"bn",bn:"bn",ben:"bn","bihari languages":"bh","भोजपुरी":"bh",bh:"bh",bih:"bh",bislama:"bi",bi:"bi",bis:"bi",bosnian:"bs","bosanski jezik":"bs",bs:"bs",bos:"bs",breton:"br",brezhoneg:"br",br:"br",bre:"br",bulgarian:"bg","български език":"bg",bg:"bg",bul:"bg",burmese:"my","ဗမာစာ":"my",my:"my",mya:"my",bur:"my","catalan, valencian":"ca","català, valencià":"ca",ca:"ca",cat:"ca","català":"ca","valencià":"ca",chamorro:"ch",chamoru:"ch",ch:"ch",cha:"ch",chechen:"ce","нохчийн мотт":"ce",ce:"ce",che:"ce","chichewa, chewa, nyanja":"ny","chicheŵa, chinyanja":"ny",ny:"ny",nya:"ny","chicheŵa":"ny",chinyanja:"ny",chinese:"zh","中文 (zhōngwén), 汉语, 漢語":"zh",zh:"zh",zho:"zh",chi:"zh","zho + 13":"zh","中文 (zhōngwén)":"zh","汉语":"zh","漢語":"zh",chuvash:"cv","чӑваш чӗлхи":"cv",cv:"cv",chv:"cv",cornish:"kw",kernewek:"kw",kw:"kw",cor:"kw",corsican:"co","corsu, lingua corsa":"co",co:"co",cos:"co",corsu:"co","lingua corsa":"co",cree:"cr","ᓀᐦᐃᔭᐍᐏᐣ":"cr",cr:"cr",cre:"cr","cre + 6":"cr",croatian:"hr","hrvatski jezik":"hr",hr:"hr",hrv:"hr",czech:"cs","čeština, český jazyk":"cs",cs:"cs",ces:"cs",cze:"cs","čeština":"cs","český jazyk":"cs",danish:"da",dansk:"da",da:"da",dan:"da","divehi, dhivehi, maldivian":"dv","ދިވެހި":"dv",dv:"dv",div:"dv","dutch, flemish":"nl","nederlands, vlaams":"nl",nl:"nl",nld:"nl",dut:"nl",nederlands:"nl",vlaams:"nl",dzongkha:"dz","རྫོང་ཁ":"dz",dz:"dz",dzo:"dz",english:"en",en:"en",eng:"en",esperanto:"eo",eo:"eo",epo:"eo",estonian:"et","eesti, eesti keel":"et",et:"et",est:"et","est + 2":"et",eesti:"et","eesti keel":"et",ewe:"ee","eʋegbe":"ee",ee:"ee",faroese:"fo","føroyskt":"fo",fo:"fo",fao:"fo",fijian:"fj","vosa vakaviti":"fj",fj:"fj",fij:"fj",finnish:"fi","suomi, suomen kieli":"fi",fi:"fi",fin:"fi",suomi:"fi","suomen kieli":"fi",french:"fr","français, langue française":"fr",fr:"fr",fra:"fr",fre:"fr","français":"fr","langue française":"fr",fulah:"ff","fulfulde, pulaar, pular":"ff",ff:"ff",ful:"ff","ful + 9":"ff",fulfulde:"ff",pulaar:"ff",pular:"ff",galician:"gl",galego:"gl",gl:"gl",glg:"gl",georgian:"ka","ქართული":"ka",ka:"ka",kat:"ka",geo:"ka",german:"de",deutsch:"de",de:"de",deu:"de",ger:"de","greek (modern)":"el","ελληνικά":"el",el:"el",ell:"el",gre:"el","guaraní":"gn","avañe'ẽ":"gn",gn:"gn",grn:"gn","grn + 5":"gn",gujarati:"gu","ગુજરાતી":"gu",gu:"gu",guj:"gu","haitian, haitian creole":"ht","kreyòl ayisyen":"ht",ht:"ht",hat:"ht",hausa:"ha","(hausa) هَوُسَ":"ha",ha:"ha",hau:"ha","hebrew (modern)":"he","עברית":"he",he:"he",heb:"he",herero:"hz",otjiherero:"hz",hz:"hz",her:"hz",hindi:"hi","हिन्दी, हिंदी":"hi",hi:"hi",hin:"hi","हिन्दी":"hi","हिंदी":"hi","hiri motu":"ho",ho:"ho",hmo:"ho",hungarian:"hu",magyar:"hu",hu:"hu",hun:"hu",interlingua:"ia",ia:"ia",ina:"ia",indonesian:"id","bahasa indonesia":"id",id:"id",ind:"id",interlingue:"ie","originally called occidental; then interlingue after wwii":"ie",ie:"ie",ile:"ie",irish:"ga",gaeilge:"ga",ga:"ga",gle:"ga",igbo:"ig","asụsụ igbo":"ig",ig:"ig",ibo:"ig",inupiaq:"ik","iñupiaq, iñupiatun":"ik",ik:"ik",ipk:"ik","ipk + 2":"ik","iñupiaq":"ik","iñupiatun":"ik",ido:"io",io:"io",icelandic:"is","íslenska":"is",is:"is",isl:"is",ice:"is",italian:"it",italiano:"it",it:"it",ita:"it",inuktitut:"iu","ᐃᓄᒃᑎᑐᑦ":"iu",iu:"iu",iku:"iu","iku + 2":"iu",japanese:"ja","日本語 (にほんご)":"ja",ja:"ja",jpn:"ja",javanese:"jv","ꦧꦱꦗꦮ, basa jawa":"jv",jv:"jv",jav:"jv","ꦧꦱꦗꦮ":"jv","basa jawa":"jv","kalaallisut, greenlandic":"kl","kalaallisut, kalaallit oqaasii":"kl",kl:"kl",kal:"kl",kalaallisut:"kl","kalaallit oqaasii":"kl",kannada:"kn","ಕನ್ನಡ":"kn",kn:"kn",kan:"kn",kanuri:"kr",kr:"kr",kau:"kr","kau + 3":"kr",kashmiri:"ks","कश्मीरी, كشميري‎":"ks",ks:"ks",kas:"ks","कश्मीरी":"ks","كشميري‎":"ks",kazakh:"kk","қазақ тілі":"kk",kk:"kk",kaz:"kk","central khmer":"km","ខ្មែរ, ខេមរភាសា, ភាសាខ្មែរ":"km",km:"km",khm:"km","ខ្មែរ":"km","ខេមរភាសា":"km","ភាសាខ្មែរ":"km","kikuyu, gikuyu":"ki","gĩkũyũ":"ki",ki:"ki",kik:"ki",kinyarwanda:"rw",ikinyarwanda:"rw",rw:"rw",kin:"rw","kirghiz, kyrgyz":"ky","кыргызча, кыргыз тили":"ky",ky:"ky",kir:"ky","кыргызча":"ky","кыргыз тили":"ky",komi:"kv","коми кыв":"kv",kv:"kv",kom:"kv","kom + 2":"kv",kongo:"kg",kikongo:"kg",kg:"kg",kon:"kg","kon + 3":"kg",korean:"ko","한국어":"ko",ko:"ko",kor:"ko",kurdish:"ku","kurdî, كوردی‎":"ku",ku:"ku",kur:"ku","kur + 3":"ku","kurdî":"ku","كوردی‎":"ku","kuanyama, kwanyama":"kj",kuanyama:"kj",kj:"kj",kua:"kj",latin:"la","latine, lingua latina":"la",la:"la",lat:"la",latine:"la","lingua latina":"la","luxembourgish, letzeburgesch":"lb","lëtzebuergesch":"lb",lb:"lb",ltz:"lb",ganda:"lg",luganda:"lg",lg:"lg",lug:"lg","limburgan, limburger, limburgish":"li",limburgs:"li",li:"li",lim:"li",lingala:"ln","lingála":"ln",ln:"ln",lin:"ln",lao:"lo","ພາສາລາວ":"lo",lo:"lo",lithuanian:"lt","lietuvių kalba":"lt",lt:"lt",lit:"lt","luba-katanga":"lu",kiluba:"lu",lu:"lu",lub:"lu",latvian:"lv","latviešu valoda":"lv",lv:"lv",lav:"lv","lav + 2":"lv",manx:"gv","gaelg, gailck":"gv",gv:"gv",glv:"gv",gaelg:"gv",gailck:"gv",macedonian:"mk","македонски јазик":"mk",mk:"mk",mkd:"mk",mac:"mk",malagasy:"mg","fiteny malagasy":"mg",mg:"mg",mlg:"mg","mlg + 10":"mg",malay:"ms","bahasa melayu, بهاس ملايو‎":"ms",ms:"ms",msa:"ms",may:"ms","msa + 13":"ms","bahasa melayu":"ms","بهاس ملايو‎":"ms",malayalam:"ml","മലയാളം":"ml",ml:"ml",mal:"ml",maltese:"mt",malti:"mt",mt:"mt",mlt:"mt",maori:"mi","te reo māori":"mi",mi:"mi",mri:"mi",mao:"mi",marathi:"mr","मराठी":"mr",mr:"mr",mar:"mr",marshallese:"mh","kajin m̧ajeļ":"mh",mh:"mh",mah:"mh",mongolian:"mn","монгол хэл":"mn",mn:"mn",mon:"mn","mon + 2":"mn",nauru:"na","dorerin naoero":"na",na:"na",nau:"na","navajo, navaho":"nv","diné bizaad":"nv",nv:"nv",nav:"nv","north ndebele":"nd",isindebele:"nr",nd:"nd",nde:"nd",nepali:"ne","नेपाली":"ne",ne:"ne",nep:"ne",ndonga:"ng",owambo:"ng",ng:"ng",ndo:"ng","norwegian bokmål":"nb","norsk bokmål":"nb",nb:"nb",nob:"nb","norwegian nynorsk":"nn","norsk nynorsk":"nn",nn:"nn",nno:"nn",norwegian:"no",norsk:"no",no:"no",nor:"no","nor + 2":"no","sichuan yi, nuosu":"ii","ꆈꌠ꒿ nuosuhxop":"ii",ii:"ii",iii:"ii","south ndebele":"nr",nr:"nr",nbl:"nr",occitan:"oc","occitan, lenga d'òc":"oc",oc:"oc",oci:"oc","lenga d'òc":"oc",ojibwa:"oj","ᐊᓂᔑᓈᐯᒧᐎᓐ":"oj",oj:"oj",oji:"oj","oji + 7":"oj","church slavic, church slavonic, old church slavonic, old slavonic, old bulgarian":"cu","ѩзыкъ словѣньскъ":"cu",cu:"cu",chu:"cu",oromo:"om","afaan oromoo":"om",om:"om",orm:"om","orm + 4":"om",oriya:"or","ଓଡ଼ିଆ":"or",or:"or",ori:"or","ossetian, ossetic":"os","ирон æвзаг":"os",os:"os",oss:"os","panjabi, punjabi":"pa","ਪੰਜਾਬੀ":"pa",pa:"pa",pan:"pa",pali:"pi","पाऴि":"pi",pi:"pi",pli:"pi",persian:"fa","فارسی":"fa",fa:"fa",fas:"fa",per:"fa","fas + 2":"fa",polish:"pl","język polski, polszczyzna":"pl",pl:"pl",pol:"pl","język polski":"pl",polszczyzna:"pl","pashto, pushto":"ps","پښتو":"ps",ps:"ps",pus:"ps","pus + 3":"ps",portuguese:"pt","português":"pt",pt:"pt",por:"pt",quechua:"qu","runa simi, kichwa":"qu",qu:"qu",que:"qu","que + 44":"qu","runa simi":"qu",kichwa:"qu",romansh:"rm","rumantsch grischun":"rm",rm:"rm",roh:"rm",rundi:"rn",ikirundi:"rn",rn:"rn",run:"rn","romanian, moldavian, moldovan":"ro","română":"ro",ro:"ro",ron:"ro",rum:"ro",russian:"ru","русский":"ru",ru:"ru",rus:"ru",sanskrit:"sa","संस्कृतम्":"sa",sa:"sa",san:"sa",sardinian:"sc",sardu:"sc",sc:"sc",srd:"sc","srd + 4":"sc",sindhi:"sd","सिन्धी, سنڌي، سندھی‎":"sd",sd:"sd",snd:"sd","सिन्धी":"sd","سنڌي، سندھی‎":"sd","northern sami":"se","davvisámegiella":"se",se:"se",sme:"se",samoan:"sm","gagana fa'a samoa":"sm",sm:"sm",smo:"sm",sango:"sg","yângâ tî sängö":"sg",sg:"sg",sag:"sg",serbian:"sr","српски језик":"sr",sr:"sr",srp:"sr","gaelic, scottish gaelic":"gd","gàidhlig":"gd",gd:"gd",gla:"gd",shona:"sn",chishona:"sn",sn:"sn",sna:"sn","sinhala, sinhalese":"si","සිංහල":"si",si:"si",sin:"si",slovak:"sk","slovenčina, slovenský jazyk":"sk",sk:"sk",slk:"sk",slo:"sk","slovenčina":"sk","slovenský jazyk":"sk",slovenian:"sl","slovenski jezik, slovenščina":"sl",sl:"sl",slv:"sl","slovenski jezik":"sl","slovenščina":"sl",somali:"so","soomaaliga, af soomaali":"so",so:"so",som:"so",soomaaliga:"so","af soomaali":"so","southern sotho":"st",sesotho:"st",st:"st",sot:"st","spanish, castilian":"es","español":"es",es:"es",spa:"es",sundanese:"su","basa sunda":"su",su:"su",sun:"su",swahili:"sw",kiswahili:"sw",sw:"sw",swa:"sw","swa + 2":"sw",swati:"ss",siswati:"ss",ss:"ss",ssw:"ss",swedish:"sv",svenska:"sv",sv:"sv",swe:"sv",tamil:"ta","தமிழ்":"ta",ta:"ta",tam:"ta",telugu:"te","తెలుగు":"te",te:"te",tel:"te",tajik:"tg","тоҷикӣ, toçikī, تاجیکی‎":"tg",tg:"tg",tgk:"tg","тоҷикӣ":"tg","toçikī":"tg","تاجیکی‎":"tg",thai:"th","ไทย":"th",th:"th",tha:"th",tigrinya:"ti","ትግርኛ":"ti",ti:"ti",tir:"ti",tibetan:"bo","བོད་ཡིག":"bo",bo:"bo",bod:"bo",tib:"bo",turkmen:"tk","türkmen, түркмен":"tk",tk:"tk",tuk:"tk","türkmen":"tk","түркмен":"tk",tagalog:"tl","wikang tagalog":"tl",tl:"tl",tgl:"tl",tswana:"tn",setswana:"tn",tn:"tn",tsn:"tn","tonga (tonga islands)":"to","faka tonga":"to",to:"to",ton:"to",turkish:"tr","türkçe":"tr",tr:"tr",tur:"tr",tsonga:"ts",xitsonga:"ts",ts:"ts",tso:"ts",tatar:"tt","татар теле, tatar tele":"tt",tt:"tt",tat:"tt","татар теле":"tt","tatar tele":"tt",twi:"tw",tw:"tw",tahitian:"ty","reo tahiti":"ty",ty:"ty",tah:"ty","uighur, uyghur":"ug","ئۇيغۇرچە‎, uyghurche":"ug",ug:"ug",uig:"ug","ئۇيغۇرچە‎":"ug",uyghurche:"ug",ukrainian:"uk","українська":"uk",uk:"uk",ukr:"uk",urdu:"ur","اردو":"ur",ur:"ur",urd:"ur",uzbek:"uz","oʻzbek, ўзбек, أۇزبېك‎":"uz",uz:"uz",uzb:"uz","uzb + 2":"uz","oʻzbek":"uz","ўзбек":"uz","أۇزبېك‎":"uz",venda:"ve","tshivenḓa":"ve",ve:"ve",ven:"ve",vietnamese:"vi","tiếng việt":"vi",vi:"vi",vie:"vi","volapük":"vo",vo:"vo",vol:"vo",walloon:"wa",walon:"wa",wa:"wa",wln:"wa",welsh:"cy",cymraeg:"cy",cy:"cy",cym:"cy",wel:"cy",wolof:"wo",wollof:"wo",wo:"wo",wol:"wo","western frisian":"fy",frysk:"fy",fy:"fy",fry:"fy",xhosa:"xh",isixhosa:"xh",xh:"xh",xho:"xh",yiddish:"yi","ייִדיש":"yi",yi:"yi",yid:"yi","yid + 2":"yi",yoruba:"yo","yorùbá":"yo",yo:"yo",yor:"yo","zhuang, chuang":"za","saɯ cueŋƅ, saw cuengh":"za",za:"za",zha:"za","zha + 16":"za","saɯ cueŋƅ":"za","saw cuengh":"za",zulu:"zu",isizulu:"zu",zu:"zu",zul:"zu"};function reduce(from){return reductions[from.toLowerCase()]}var reduceTo6391={reduce:reduce,reductions:reductions};const array_box_if_string=n=>typeof n==="string"?[n]:n;const weighted_rand_select=(options,probability_property="probability")=>{if(!Array.isArray(options)){throw new TypeError("options must be a non-empty array of objects")}if(!(typeof options[0]==="object")){throw new TypeError("options must be a non-empty array of objects")}const frand=cap=>Math.random()*cap,or_one=item=>item===undefined?1:item,prob_sum=options.reduce(((acc,val)=>acc+or_one(val[probability_property])),0),rnd=frand(prob_sum);let cursor=0,cursor_sum=0;while((cursor_sum+=or_one(options[cursor++][probability_property]))<=rnd){}return options[cursor-1]};function seq(n){if(!Number.isInteger(n)){throw new TypeError("seq/1 takes a non-negative integer n as an argument")}if(n<0){throw new TypeError("seq/1 takes a non-negative integer n as an argument")}return new Array(n).fill(true).map(((_,i)=>i))}const histograph=ar=>ar.sort().reduce(((m,v)=>(m.set(v,m.has(v)?m.get(v)+1:1),m)),new Map);const weighted_sample_select=(n,options,probability_property)=>seq(n).map((_i=>weighted_rand_select(options,probability_property)));const weighted_histo_key=(n,opts,prob_prop,extract)=>histograph(weighted_sample_select(n,opts,prob_prop).map((s=>s[extract])));const hook_name=(from,to)=>JSON.stringify([from,to]);const named_hook_name=(from,to,action)=>JSON.stringify([from,to,action]);const gviz_shapes=["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=gviz_shapes;const named_colors=["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"];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;i"),peg$c128="->",peg$c129=peg$literalExpectation("->",false),peg$c130="→",peg$c131=peg$literalExpectation("→",false),peg$c132=function(){return"->"},peg$c133=peg$otherExpectation("two way light arrow <->"),peg$c134="<->",peg$c135=peg$literalExpectation("<->",false),peg$c136="↔",peg$c137=peg$literalExpectation("↔",false),peg$c138=function(){return"<->"},peg$c139=peg$otherExpectation("back light arrow <-"),peg$c140="<-",peg$c141=peg$literalExpectation("<-",false),peg$c142="←",peg$c143=peg$literalExpectation("←",false),peg$c144=function(){return"<-"},peg$c145=peg$otherExpectation("forward fat arrow =>"),peg$c146="=>",peg$c147=peg$literalExpectation("=>",false),peg$c148="⇒",peg$c149=peg$literalExpectation("⇒",false),peg$c150=function(){return"=>"},peg$c151=peg$otherExpectation("two way fat arrow <=>"),peg$c152="<=>",peg$c153=peg$literalExpectation("<=>",false),peg$c154="⇔",peg$c155=peg$literalExpectation("⇔",false),peg$c156=function(){return"<=>"},peg$c157=peg$otherExpectation("back fat arrow <="),peg$c158="<=",peg$c159=peg$literalExpectation("<=",false),peg$c160="⇐",peg$c161=peg$literalExpectation("⇐",false),peg$c162=function(){return"<="},peg$c163=peg$otherExpectation("forward tilde arrow ~>"),peg$c164="~>",peg$c165=peg$literalExpectation("~>",false),peg$c166="↛",peg$c167=peg$literalExpectation("↛",false),peg$c168=function(){return"~>"},peg$c169=peg$otherExpectation("two way tilde arrow <~>"),peg$c170="<~>",peg$c171=peg$literalExpectation("<~>",false),peg$c172="↮",peg$c173=peg$literalExpectation("↮",false),peg$c174=function(){return"<~>"},peg$c175=peg$otherExpectation("back tilde arrow <~"),peg$c176="<~",peg$c177=peg$literalExpectation("<~",false),peg$c178="↚",peg$c179=peg$literalExpectation("↚",false),peg$c180=function(){return"<~"},peg$c181=peg$otherExpectation("light fat arrow <-=>"),peg$c182="<-=>",peg$c183=peg$literalExpectation("<-=>",false),peg$c184="←⇒",peg$c185=peg$literalExpectation("←⇒",false),peg$c186=function(){return"<-=>"},peg$c187=peg$otherExpectation("light tilde arrow <-~>"),peg$c188="<-~>",peg$c189=peg$literalExpectation("<-~>",false),peg$c190="←↛",peg$c191=peg$literalExpectation("←↛",false),peg$c192=function(){return"<-~>"},peg$c193=peg$otherExpectation("fat light arrow <=->"),peg$c194="<=->",peg$c195=peg$literalExpectation("<=->",false),peg$c196="⇐→",peg$c197=peg$literalExpectation("⇐→",false),peg$c198=function(){return"<=->"},peg$c199=peg$otherExpectation("fat tilde arrow <=~>"),peg$c200="<=~>",peg$c201=peg$literalExpectation("<=~>",false),peg$c202="⇐↛",peg$c203=peg$literalExpectation("⇐↛",false),peg$c204=function(){return"<=~>"},peg$c205=peg$otherExpectation("tilde light arrow <~->"),peg$c206="<~->",peg$c207=peg$literalExpectation("<~->",false),peg$c208="↚→",peg$c209=peg$literalExpectation("↚→",false),peg$c210=function(){return"<~->"},peg$c211=peg$otherExpectation("tilde fat arrow <~=>"),peg$c212="<~=>",peg$c213=peg$literalExpectation("<~=>",false),peg$c214="↚⇒",peg$c215=peg$literalExpectation("↚⇒",false),peg$c216=function(){return"<~=>"},peg$c217=peg$otherExpectation("light arrow"),peg$c218=peg$otherExpectation("fat arrow"),peg$c219=peg$otherExpectation("tilde arrow"),peg$c220=peg$otherExpectation("mixed arrow"),peg$c221=peg$otherExpectation("arrow"),peg$c222="true",peg$c223=peg$literalExpectation("true",false),peg$c225="false",peg$c226=peg$literalExpectation("false",false),peg$c228="regular",peg$c229=peg$literalExpectation("regular",false),peg$c230="rounded",peg$c231=peg$literalExpectation("rounded",false),peg$c232="lined",peg$c233=peg$literalExpectation("lined",false),peg$c234="solid",peg$c235=peg$literalExpectation("solid",false),peg$c236="dotted",peg$c237=peg$literalExpectation("dotted",false),peg$c238="dashed",peg$c239=peg$literalExpectation("dashed",false),peg$c240=/^[0-9a-fA-F]/,peg$c241=peg$classExpectation([["0","9"],["a","f"],["A","F"]],false,false),peg$c242='"',peg$c243=peg$literalExpectation('"',false),peg$c244="\\",peg$c245=peg$literalExpectation("\\",false),peg$c246="/",peg$c247=peg$literalExpectation("/",false),peg$c248="b",peg$c249=peg$literalExpectation("b",false),peg$c250=function(){return"\b"},peg$c251="f",peg$c252=peg$literalExpectation("f",false),peg$c253=function(){return"\f"},peg$c254="n",peg$c255=peg$literalExpectation("n",false),peg$c256=function(){return"\n"},peg$c257="r",peg$c258=peg$literalExpectation("r",false),peg$c259=function(){return"\r"},peg$c260="t",peg$c261=peg$literalExpectation("t",false),peg$c262=function(){return"\t"},peg$c263="v",peg$c264=peg$literalExpectation("v",false),peg$c265=function(){return"\v"},peg$c266="u",peg$c267=peg$literalExpectation("u",false),peg$c268=function(digits){return String.fromCharCode(parseInt(digits,16))},peg$c269=function(Sequence){return Sequence},peg$c270=/^[ -!#-[\]-\u10FFFF]/,peg$c271=peg$classExpectation([[" ","!"],["#","["],["]","ჿ"],"F","F"],false,false),peg$c272="'",peg$c273=peg$literalExpectation("'",false),peg$c274=/^[ -&(-[\]-\u10FFFF]/,peg$c275=peg$classExpectation([[" ","&"],["(","["],["]","ჿ"],"F","F"],false,false),peg$c276=peg$otherExpectation("action label"),peg$c277=function(chars){return chars.join("")},peg$c278=/^[\n\r\u2028\u2029]/,peg$c279=peg$classExpectation(["\n","\r","\u2028","\u2029"],false,false),peg$c282="*/",peg$c283=peg$literalExpectation("*/",false),peg$c284=peg$anyExpectation(),peg$c285=peg$otherExpectation("block comment"),peg$c286="/*",peg$c287=peg$literalExpectation("/*",false),peg$c288=peg$otherExpectation("line comment"),peg$c289="//",peg$c290=peg$literalExpectation("//",false),peg$c291=peg$otherExpectation("whitespace"),peg$c292=/^[ \t\r\n\x0B]/,peg$c293=peg$classExpectation([" ","\t","\r","\n","\v"],false,false),peg$c294=peg$otherExpectation("string"),peg$c295=/^[0-9a-zA-Z._!$\^*!?,\x80-\uFFFF]/,peg$c296=peg$classExpectation([["0","9"],["a","z"],["A","Z"],".","_","!","$","^","*","!","?",",",["€","￿"]],false,false),peg$c297=/^[0-9a-zA-Z.+=_\^()*&$#@!?,\x80-\uFFFF]/,peg$c298=peg$classExpectation([["0","9"],["a","z"],["A","Z"],".","+","=","_","^","(",")","*","&","$","#","@","!","?",",",["€","￿"]],false,false),peg$c299=peg$otherExpectation("atom"),peg$c300=function(firstletter,text){return firstletter+(text||[]).join("")},peg$c301=peg$otherExpectation("label"),peg$c302="0",peg$c303=peg$literalExpectation("0",false),peg$c304=/^[0-9]/,peg$c305=peg$classExpectation([["0","9"]],false,false),peg$c306=/^[1-9]/,peg$c307=peg$classExpectation([["1","9"]],false,false),peg$c308=peg$otherExpectation("nonneg number"),peg$c309=".",peg$c310=peg$literalExpectation(".",false),peg$c311=function(){return parseFloat(text())},peg$c312=function(major,minor,patch){return{major:parseInt(major,10),minor:parseInt(minor,10),patch:parseInt(patch,10),full:text()}},peg$c323="http://",peg$c324=peg$literalExpectation("http://",false),peg$c325="https://",peg$c326=peg$literalExpectation("https://",false),peg$c327=/^[a-zA-Z0-9!*'():;@&=+$,\/?#[\]_.~\-]/,peg$c328=peg$classExpectation([["a","z"],["A","Z"],["0","9"],"!","*","'","(",")",":",";","@","&","=","+","$",",","/","?","#","[","]","_",".","~","-"],false,false),peg$c329=function(protocol){return text()},peg$c330="aliceblue",peg$c331=peg$literalExpectation("aliceblue",false),peg$c332=function(){return"#f0f8ffff"},peg$c333="AliceBlue",peg$c334=peg$literalExpectation("AliceBlue",false),peg$c335="antiquewhite",peg$c336=peg$literalExpectation("antiquewhite",false),peg$c337=function(){return"#faebd7ff"},peg$c338="AntiqueWhite",peg$c339=peg$literalExpectation("AntiqueWhite",false),peg$c340="aquamarine",peg$c341=peg$literalExpectation("aquamarine",false),peg$c342=function(){return"#7fffd4ff"},peg$c343="Aquamarine",peg$c344=peg$literalExpectation("Aquamarine",false),peg$c345="aqua",peg$c346=peg$literalExpectation("aqua",false),peg$c347=function(){return"#00ffffff"},peg$c348="Aqua",peg$c349=peg$literalExpectation("Aqua",false),peg$c350="azure",peg$c351=peg$literalExpectation("azure",false),peg$c352=function(){return"#f0ffffff"},peg$c353="Azure",peg$c354=peg$literalExpectation("Azure",false),peg$c355="beige",peg$c356=peg$literalExpectation("beige",false),peg$c357=function(){return"#f5f5dcff"},peg$c358="Beige",peg$c359=peg$literalExpectation("Beige",false),peg$c360="bisque",peg$c361=peg$literalExpectation("bisque",false),peg$c362=function(){return"#ffe4c4ff"},peg$c363="Bisque",peg$c364=peg$literalExpectation("Bisque",false),peg$c365="black",peg$c366=peg$literalExpectation("black",false),peg$c367=function(){return"#000000ff"},peg$c368="Black",peg$c369=peg$literalExpectation("Black",false),peg$c370="blanchedalmond",peg$c371=peg$literalExpectation("blanchedalmond",false),peg$c372=function(){return"#ffebcdff"},peg$c373="BlanchedAlmond",peg$c374=peg$literalExpectation("BlanchedAlmond",false),peg$c375="blueviolet",peg$c376=peg$literalExpectation("blueviolet",false),peg$c377=function(){return"#8a2be2ff"},peg$c378="BlueViolet",peg$c379=peg$literalExpectation("BlueViolet",false),peg$c380="blue",peg$c381=peg$literalExpectation("blue",false),peg$c382=function(){return"#0000ffff"},peg$c383="Blue",peg$c384=peg$literalExpectation("Blue",false),peg$c385="brown",peg$c386=peg$literalExpectation("brown",false),peg$c387=function(){return"#a52a2aff"},peg$c388="Brown",peg$c389=peg$literalExpectation("Brown",false),peg$c390="burlywood",peg$c391=peg$literalExpectation("burlywood",false),peg$c392=function(){return"#deb887ff"},peg$c393="BurlyWood",peg$c394=peg$literalExpectation("BurlyWood",false),peg$c395="cadetblue",peg$c396=peg$literalExpectation("cadetblue",false),peg$c397=function(){return"#5f9ea0ff"},peg$c398="CadetBlue",peg$c399=peg$literalExpectation("CadetBlue",false),peg$c400="chartreuse",peg$c401=peg$literalExpectation("chartreuse",false),peg$c402=function(){return"#7fff00ff"},peg$c403="Chartreuse",peg$c404=peg$literalExpectation("Chartreuse",false),peg$c405="chocolate",peg$c406=peg$literalExpectation("chocolate",false),peg$c407=function(){return"#d2691eff"},peg$c408="Chocolate",peg$c409=peg$literalExpectation("Chocolate",false),peg$c410="coral",peg$c411=peg$literalExpectation("coral",false),peg$c412=function(){return"#ff7f50ff"},peg$c413="Coral",peg$c414=peg$literalExpectation("Coral",false),peg$c415="cornflowerblue",peg$c416=peg$literalExpectation("cornflowerblue",false),peg$c417=function(){return"#6495edff"},peg$c418="CornflowerBlue",peg$c419=peg$literalExpectation("CornflowerBlue",false),peg$c420="cornsilk",peg$c421=peg$literalExpectation("cornsilk",false),peg$c422=function(){return"#fff8dcff"},peg$c423="Cornsilk",peg$c424=peg$literalExpectation("Cornsilk",false),peg$c425="crimson",peg$c426=peg$literalExpectation("crimson",false),peg$c427=function(){return"#dc143cff"},peg$c428="Crimson",peg$c429=peg$literalExpectation("Crimson",false),peg$c430="cyan",peg$c431=peg$literalExpectation("cyan",false),peg$c432="Cyan",peg$c433=peg$literalExpectation("Cyan",false),peg$c434="darkblue",peg$c435=peg$literalExpectation("darkblue",false),peg$c436=function(){return"#00008bff"},peg$c437="DarkBlue",peg$c438=peg$literalExpectation("DarkBlue",false),peg$c439="darkcyan",peg$c440=peg$literalExpectation("darkcyan",false),peg$c441=function(){return"#008b8bff"},peg$c442="DarkCyan",peg$c443=peg$literalExpectation("DarkCyan",false),peg$c444="darkgoldenrod",peg$c445=peg$literalExpectation("darkgoldenrod",false),peg$c446=function(){return"#b8860bff"},peg$c447="DarkGoldenRod",peg$c448=peg$literalExpectation("DarkGoldenRod",false),peg$c449="darkgray",peg$c450=peg$literalExpectation("darkgray",false),peg$c451=function(){return"#a9a9a9ff"},peg$c452="DarkGray",peg$c453=peg$literalExpectation("DarkGray",false),peg$c454="darkgrey",peg$c455=peg$literalExpectation("darkgrey",false),peg$c456="DarkGrey",peg$c457=peg$literalExpectation("DarkGrey",false),peg$c458="darkgreen",peg$c459=peg$literalExpectation("darkgreen",false),peg$c460=function(){return"#006400ff"},peg$c461="DarkGreen",peg$c462=peg$literalExpectation("DarkGreen",false),peg$c463="darkkhaki",peg$c464=peg$literalExpectation("darkkhaki",false),peg$c465=function(){return"#bdb76bff"},peg$c466="DarkKhaki",peg$c467=peg$literalExpectation("DarkKhaki",false),peg$c468="darkmagenta",peg$c469=peg$literalExpectation("darkmagenta",false),peg$c470=function(){return"#8b008bff"},peg$c471="DarkMagenta",peg$c472=peg$literalExpectation("DarkMagenta",false),peg$c473="darkolivegreen",peg$c474=peg$literalExpectation("darkolivegreen",false),peg$c475=function(){return"#556b2fff"},peg$c476="DarkOliveGreen",peg$c477=peg$literalExpectation("DarkOliveGreen",false),peg$c478="darkorange",peg$c479=peg$literalExpectation("darkorange",false),peg$c480=function(){return"#ff8c00ff"},peg$c481="Darkorange",peg$c482=peg$literalExpectation("Darkorange",false),peg$c483="darkorchid",peg$c484=peg$literalExpectation("darkorchid",false),peg$c485=function(){return"#9932ccff"},peg$c486="DarkOrchid",peg$c487=peg$literalExpectation("DarkOrchid",false),peg$c488="darkred",peg$c489=peg$literalExpectation("darkred",false),peg$c490=function(){return"#8b0000ff"},peg$c491="DarkRed",peg$c492=peg$literalExpectation("DarkRed",false),peg$c493="darksalmon",peg$c494=peg$literalExpectation("darksalmon",false),peg$c495=function(){return"#e9967aff"},peg$c496="DarkSalmon",peg$c497=peg$literalExpectation("DarkSalmon",false),peg$c498="darkseagreen",peg$c499=peg$literalExpectation("darkseagreen",false),peg$c500=function(){return"#8fbc8fff"},peg$c501="DarkSeaGreen",peg$c502=peg$literalExpectation("DarkSeaGreen",false),peg$c503="darkslateblue",peg$c504=peg$literalExpectation("darkslateblue",false),peg$c505=function(){return"#483d8bff"},peg$c506="DarkSlateBlue",peg$c507=peg$literalExpectation("DarkSlateBlue",false),peg$c508="darkslategray",peg$c509=peg$literalExpectation("darkslategray",false),peg$c510=function(){return"#2f4f4fff"},peg$c511="DarkSlateGray",peg$c512=peg$literalExpectation("DarkSlateGray",false),peg$c513="darkslategrey",peg$c514=peg$literalExpectation("darkslategrey",false),peg$c515="DarkSlateGrey",peg$c516=peg$literalExpectation("DarkSlateGrey",false),peg$c517="darkturquoise",peg$c518=peg$literalExpectation("darkturquoise",false),peg$c519=function(){return"#00ced1ff"},peg$c520="DarkTurquoise",peg$c521=peg$literalExpectation("DarkTurquoise",false),peg$c522="darkviolet",peg$c523=peg$literalExpectation("darkviolet",false),peg$c524=function(){return"#9400d3ff"},peg$c525="DarkViolet",peg$c526=peg$literalExpectation("DarkViolet",false),peg$c527="deeppink",peg$c528=peg$literalExpectation("deeppink",false),peg$c529=function(){return"#ff1493ff"},peg$c530="DeepPink",peg$c531=peg$literalExpectation("DeepPink",false),peg$c532="deepskyblue",peg$c533=peg$literalExpectation("deepskyblue",false),peg$c534=function(){return"#00bfffff"},peg$c535="DeepSkyBlue",peg$c536=peg$literalExpectation("DeepSkyBlue",false),peg$c537="dimgray",peg$c538=peg$literalExpectation("dimgray",false),peg$c539=function(){return"#696969ff"},peg$c540="DimGray",peg$c541=peg$literalExpectation("DimGray",false),peg$c542="dimgrey",peg$c543=peg$literalExpectation("dimgrey",false),peg$c544="DimGrey",peg$c545=peg$literalExpectation("DimGrey",false),peg$c546="dodgerblue",peg$c547=peg$literalExpectation("dodgerblue",false),peg$c548=function(){return"#1e90ffff"},peg$c549="DodgerBlue",peg$c550=peg$literalExpectation("DodgerBlue",false),peg$c551="firebrick",peg$c552=peg$literalExpectation("firebrick",false),peg$c553=function(){return"#b22222ff"},peg$c554="FireBrick",peg$c555=peg$literalExpectation("FireBrick",false),peg$c556="floralwhite",peg$c557=peg$literalExpectation("floralwhite",false),peg$c558=function(){return"#fffaf0ff"},peg$c559="FloralWhite",peg$c560=peg$literalExpectation("FloralWhite",false),peg$c561="forestgreen",peg$c562=peg$literalExpectation("forestgreen",false),peg$c563=function(){return"#228b22ff"},peg$c564="ForestGreen",peg$c565=peg$literalExpectation("ForestGreen",false),peg$c566="fuchsia",peg$c567=peg$literalExpectation("fuchsia",false),peg$c568=function(){return"#ff00ffff"},peg$c569="Fuchsia",peg$c570=peg$literalExpectation("Fuchsia",false),peg$c571="gainsboro",peg$c572=peg$literalExpectation("gainsboro",false),peg$c573=function(){return"#dcdcdcff"},peg$c574="Gainsboro",peg$c575=peg$literalExpectation("Gainsboro",false),peg$c576="ghostwhite",peg$c577=peg$literalExpectation("ghostwhite",false),peg$c578=function(){return"#f8f8ffff"},peg$c579="GhostWhite",peg$c580=peg$literalExpectation("GhostWhite",false),peg$c581="goldenrod",peg$c582=peg$literalExpectation("goldenrod",false),peg$c583=function(){return"#daa520ff"},peg$c584="GoldenRod",peg$c585=peg$literalExpectation("GoldenRod",false),peg$c586="gold",peg$c587=peg$literalExpectation("gold",false),peg$c588=function(){return"#ffd700ff"},peg$c589="Gold",peg$c590=peg$literalExpectation("Gold",false),peg$c591="gray",peg$c592=peg$literalExpectation("gray",false),peg$c593=function(){return"#808080ff"},peg$c594="Gray",peg$c595=peg$literalExpectation("Gray",false),peg$c596="grey",peg$c597=peg$literalExpectation("grey",false),peg$c598="Grey",peg$c599=peg$literalExpectation("Grey",false),peg$c600="greenyellow",peg$c601=peg$literalExpectation("greenyellow",false),peg$c602=function(){return"#adff2fff"},peg$c603="GreenYellow",peg$c604=peg$literalExpectation("GreenYellow",false),peg$c605="green",peg$c606=peg$literalExpectation("green",false),peg$c607=function(){return"#008000ff"},peg$c608="Green",peg$c609=peg$literalExpectation("Green",false),peg$c610="honeydew",peg$c611=peg$literalExpectation("honeydew",false),peg$c612=function(){return"#f0fff0ff"},peg$c613="HoneyDew",peg$c614=peg$literalExpectation("HoneyDew",false),peg$c615="hotpink",peg$c616=peg$literalExpectation("hotpink",false),peg$c617=function(){return"#ff69b4ff"},peg$c618="HotPink",peg$c619=peg$literalExpectation("HotPink",false),peg$c620="indianred",peg$c621=peg$literalExpectation("indianred",false),peg$c622=function(){return"#cd5c5cff"},peg$c623="IndianRed",peg$c624=peg$literalExpectation("IndianRed",false),peg$c625="indigo",peg$c626=peg$literalExpectation("indigo",false),peg$c627=function(){return"#4b0082ff"},peg$c628="Indigo",peg$c629=peg$literalExpectation("Indigo",false),peg$c630="ivory",peg$c631=peg$literalExpectation("ivory",false),peg$c632=function(){return"#fffff0ff"},peg$c633="Ivory",peg$c634=peg$literalExpectation("Ivory",false),peg$c635="khaki",peg$c636=peg$literalExpectation("khaki",false),peg$c637=function(){return"#f0e68cff"},peg$c638="Khaki",peg$c639=peg$literalExpectation("Khaki",false),peg$c640="lavenderblush",peg$c641=peg$literalExpectation("lavenderblush",false),peg$c642=function(){return"#fff0f5ff"},peg$c643="LavenderBlush",peg$c644=peg$literalExpectation("LavenderBlush",false),peg$c645="lavender",peg$c646=peg$literalExpectation("lavender",false),peg$c647=function(){return"#e6e6faff"},peg$c648="Lavender",peg$c649=peg$literalExpectation("Lavender",false),peg$c650="lawngreen",peg$c651=peg$literalExpectation("lawngreen",false),peg$c652=function(){return"#7cfc00ff"},peg$c653="LawnGreen",peg$c654=peg$literalExpectation("LawnGreen",false),peg$c655="lemonchiffon",peg$c656=peg$literalExpectation("lemonchiffon",false),peg$c657=function(){return"#fffacdff"},peg$c658="LemonChiffon",peg$c659=peg$literalExpectation("LemonChiffon",false),peg$c660="lightblue",peg$c661=peg$literalExpectation("lightblue",false),peg$c662=function(){return"#add8e6ff"},peg$c663="LightBlue",peg$c664=peg$literalExpectation("LightBlue",false),peg$c665="lightcoral",peg$c666=peg$literalExpectation("lightcoral",false),peg$c667=function(){return"#f08080ff"},peg$c668="LightCoral",peg$c669=peg$literalExpectation("LightCoral",false),peg$c670="lightcyan",peg$c671=peg$literalExpectation("lightcyan",false),peg$c672=function(){return"#e0ffffff"},peg$c673="LightCyan",peg$c674=peg$literalExpectation("LightCyan",false),peg$c675="lightgoldenrodyellow",peg$c676=peg$literalExpectation("lightgoldenrodyellow",false),peg$c677=function(){return"#fafad2ff"},peg$c678="LightGoldenRodYellow",peg$c679=peg$literalExpectation("LightGoldenRodYellow",false),peg$c680="lightgray",peg$c681=peg$literalExpectation("lightgray",false),peg$c682=function(){return"#d3d3d3ff"},peg$c683="LightGray",peg$c684=peg$literalExpectation("LightGray",false),peg$c685="lightgrey",peg$c686=peg$literalExpectation("lightgrey",false),peg$c687="LightGrey",peg$c688=peg$literalExpectation("LightGrey",false),peg$c689="lightgreen",peg$c690=peg$literalExpectation("lightgreen",false),peg$c691=function(){return"#90ee90ff"},peg$c692="LightGreen",peg$c693=peg$literalExpectation("LightGreen",false),peg$c694="lightpink",peg$c695=peg$literalExpectation("lightpink",false),peg$c696=function(){return"#ffb6c1ff"},peg$c697="LightPink",peg$c698=peg$literalExpectation("LightPink",false),peg$c699="lightsalmon",peg$c700=peg$literalExpectation("lightsalmon",false),peg$c701=function(){return"#ffa07aff"},peg$c702="LightSalmon",peg$c703=peg$literalExpectation("LightSalmon",false),peg$c704="lightseagreen",peg$c705=peg$literalExpectation("lightseagreen",false),peg$c706=function(){return"#20b2aaff"},peg$c707="LightSeaGreen",peg$c708=peg$literalExpectation("LightSeaGreen",false),peg$c709="lightskyblue",peg$c710=peg$literalExpectation("lightskyblue",false),peg$c711=function(){return"#87cefaff"},peg$c712="LightSkyBlue",peg$c713=peg$literalExpectation("LightSkyBlue",false),peg$c714="lightslategray",peg$c715=peg$literalExpectation("lightslategray",false),peg$c716=function(){return"#778899ff"},peg$c717="LightSlateGray",peg$c718=peg$literalExpectation("LightSlateGray",false),peg$c719="lightslategrey",peg$c720=peg$literalExpectation("lightslategrey",false),peg$c721="LightSlateGrey",peg$c722=peg$literalExpectation("LightSlateGrey",false),peg$c723="lightsteelblue",peg$c724=peg$literalExpectation("lightsteelblue",false),peg$c725=function(){return"#b0c4deff"},peg$c726="LightSteelBlue",peg$c727=peg$literalExpectation("LightSteelBlue",false),peg$c728="lightyellow",peg$c729=peg$literalExpectation("lightyellow",false),peg$c730=function(){return"#ffffe0ff"},peg$c731="LightYellow",peg$c732=peg$literalExpectation("LightYellow",false),peg$c733="limegreen",peg$c734=peg$literalExpectation("limegreen",false),peg$c735=function(){return"#32cd32ff"},peg$c736="LimeGreen",peg$c737=peg$literalExpectation("LimeGreen",false),peg$c738="lime",peg$c739=peg$literalExpectation("lime",false),peg$c740=function(){return"#00ff00ff"},peg$c741="Lime",peg$c742=peg$literalExpectation("Lime",false),peg$c743="linen",peg$c744=peg$literalExpectation("linen",false),peg$c745=function(){return"#faf0e6ff"},peg$c746="Linen",peg$c747=peg$literalExpectation("Linen",false),peg$c748="magenta",peg$c749=peg$literalExpectation("magenta",false),peg$c750="Magenta",peg$c751=peg$literalExpectation("Magenta",false),peg$c752="maroon",peg$c753=peg$literalExpectation("maroon",false),peg$c754=function(){return"#800000ff"},peg$c755="Maroon",peg$c756=peg$literalExpectation("Maroon",false),peg$c757="mediumaquamarine",peg$c758=peg$literalExpectation("mediumaquamarine",false),peg$c759=function(){return"#66cdaaff"},peg$c760="MediumAquaMarine",peg$c761=peg$literalExpectation("MediumAquaMarine",false),peg$c762="mediumblue",peg$c763=peg$literalExpectation("mediumblue",false),peg$c764=function(){return"#0000cdff"},peg$c765="MediumBlue",peg$c766=peg$literalExpectation("MediumBlue",false),peg$c767="mediumorchid",peg$c768=peg$literalExpectation("mediumorchid",false),peg$c769=function(){return"#ba55d3ff"},peg$c770="MediumOrchid",peg$c771=peg$literalExpectation("MediumOrchid",false),peg$c772="mediumpurple",peg$c773=peg$literalExpectation("mediumpurple",false),peg$c774=function(){return"#9370d8ff"},peg$c775="MediumPurple",peg$c776=peg$literalExpectation("MediumPurple",false),peg$c777="mediumseagreen",peg$c778=peg$literalExpectation("mediumseagreen",false),peg$c779=function(){return"#3cb371ff"},peg$c780="MediumSeaGreen",peg$c781=peg$literalExpectation("MediumSeaGreen",false),peg$c782="mediumslateblue",peg$c783=peg$literalExpectation("mediumslateblue",false),peg$c784=function(){return"#7b68eeff"},peg$c785="MediumSlateBlue",peg$c786=peg$literalExpectation("MediumSlateBlue",false),peg$c787="mediumspringgreen",peg$c788=peg$literalExpectation("mediumspringgreen",false),peg$c789=function(){return"#00fa9aff"},peg$c790="MediumSpringGreen",peg$c791=peg$literalExpectation("MediumSpringGreen",false),peg$c792="mediumturquoise",peg$c793=peg$literalExpectation("mediumturquoise",false),peg$c794=function(){return"#48d1ccff"},peg$c795="MediumTurquoise",peg$c796=peg$literalExpectation("MediumTurquoise",false),peg$c797="mediumvioletred",peg$c798=peg$literalExpectation("mediumvioletred",false),peg$c799=function(){return"#c71585ff"},peg$c800="MediumVioletRed",peg$c801=peg$literalExpectation("MediumVioletRed",false),peg$c802="midnightblue",peg$c803=peg$literalExpectation("midnightblue",false),peg$c804=function(){return"#191970ff"},peg$c805="MidnightBlue",peg$c806=peg$literalExpectation("MidnightBlue",false),peg$c807="mintcream",peg$c808=peg$literalExpectation("mintcream",false),peg$c809=function(){return"#f5fffaff"},peg$c810="MintCream",peg$c811=peg$literalExpectation("MintCream",false),peg$c812="mistyrose",peg$c813=peg$literalExpectation("mistyrose",false),peg$c814=function(){return"#ffe4e1ff"},peg$c815="MistyRose",peg$c816=peg$literalExpectation("MistyRose",false),peg$c817="moccasin",peg$c818=peg$literalExpectation("moccasin",false),peg$c819=function(){return"#ffe4b5ff"},peg$c820="Moccasin",peg$c821=peg$literalExpectation("Moccasin",false),peg$c822="navajowhite",peg$c823=peg$literalExpectation("navajowhite",false),peg$c824=function(){return"#ffdeadff"},peg$c825="NavajoWhite",peg$c826=peg$literalExpectation("NavajoWhite",false),peg$c827="navy",peg$c828=peg$literalExpectation("navy",false),peg$c829=function(){return"#000080ff"},peg$c830="Navy",peg$c831=peg$literalExpectation("Navy",false),peg$c832="oldlace",peg$c833=peg$literalExpectation("oldlace",false),peg$c834=function(){return"#fdf5e6ff"},peg$c835="OldLace",peg$c836=peg$literalExpectation("OldLace",false),peg$c837="olivedrab",peg$c838=peg$literalExpectation("olivedrab",false),peg$c839=function(){return"#6b8e23ff"},peg$c840="OliveDrab",peg$c841=peg$literalExpectation("OliveDrab",false),peg$c842="olive",peg$c843=peg$literalExpectation("olive",false),peg$c844=function(){return"#808000ff"},peg$c845="Olive",peg$c846=peg$literalExpectation("Olive",false),peg$c847="orangered",peg$c848=peg$literalExpectation("orangered",false),peg$c849=function(){return"#ff4500ff"},peg$c850="OrangeRed",peg$c851=peg$literalExpectation("OrangeRed",false),peg$c852="orange",peg$c853=peg$literalExpectation("orange",false),peg$c854=function(){return"#ffa500ff"},peg$c855="Orange",peg$c856=peg$literalExpectation("Orange",false),peg$c857="orchid",peg$c858=peg$literalExpectation("orchid",false),peg$c859=function(){return"#da70d6ff"},peg$c860="Orchid",peg$c861=peg$literalExpectation("Orchid",false),peg$c862="palegoldenrod",peg$c863=peg$literalExpectation("palegoldenrod",false),peg$c864=function(){return"#eee8aaff"},peg$c865="PaleGoldenRod",peg$c866=peg$literalExpectation("PaleGoldenRod",false),peg$c867="palegreen",peg$c868=peg$literalExpectation("palegreen",false),peg$c869=function(){return"#98fb98ff"},peg$c870="PaleGreen",peg$c871=peg$literalExpectation("PaleGreen",false),peg$c872="paleturquoise",peg$c873=peg$literalExpectation("paleturquoise",false),peg$c874=function(){return"#afeeeeff"},peg$c875="PaleTurquoise",peg$c876=peg$literalExpectation("PaleTurquoise",false),peg$c877="palevioletred",peg$c878=peg$literalExpectation("palevioletred",false),peg$c879=function(){return"#d87093ff"},peg$c880="PaleVioletRed",peg$c881=peg$literalExpectation("PaleVioletRed",false),peg$c882="papayawhip",peg$c883=peg$literalExpectation("papayawhip",false),peg$c884=function(){return"#ffefd5ff"},peg$c885="PapayaWhip",peg$c886=peg$literalExpectation("PapayaWhip",false),peg$c887="peachpuff",peg$c888=peg$literalExpectation("peachpuff",false),peg$c889=function(){return"#ffdab9ff"},peg$c890="PeachPuff",peg$c891=peg$literalExpectation("PeachPuff",false),peg$c892="peru",peg$c893=peg$literalExpectation("peru",false),peg$c894=function(){return"#cd853fff"},peg$c895="Peru",peg$c896=peg$literalExpectation("Peru",false),peg$c897="pink",peg$c898=peg$literalExpectation("pink",false),peg$c899=function(){return"#ffc0cbff"},peg$c900="Pink",peg$c901=peg$literalExpectation("Pink",false),peg$c902="plum",peg$c903=peg$literalExpectation("plum",false),peg$c904=function(){return"#dda0ddff"},peg$c905="Plum",peg$c906=peg$literalExpectation("Plum",false),peg$c907="powderblue",peg$c908=peg$literalExpectation("powderblue",false),peg$c909=function(){return"#b0e0e6ff"},peg$c910="PowderBlue",peg$c911=peg$literalExpectation("PowderBlue",false),peg$c912="purple",peg$c913=peg$literalExpectation("purple",false),peg$c914=function(){return"#800080ff"},peg$c915="Purple",peg$c916=peg$literalExpectation("Purple",false),peg$c917="red",peg$c918=peg$literalExpectation("red",false),peg$c919=function(){return"#ff0000ff"},peg$c920="Red",peg$c921=peg$literalExpectation("Red",false),peg$c922="rosybrown",peg$c923=peg$literalExpectation("rosybrown",false),peg$c924=function(){return"#bc8f8fff"},peg$c925="RosyBrown",peg$c926=peg$literalExpectation("RosyBrown",false),peg$c927="royalblue",peg$c928=peg$literalExpectation("royalblue",false),peg$c929=function(){return"#4169e1ff"},peg$c930="RoyalBlue",peg$c931=peg$literalExpectation("RoyalBlue",false),peg$c932="saddlebrown",peg$c933=peg$literalExpectation("saddlebrown",false),peg$c934=function(){return"#8b4513ff"},peg$c935="SaddleBrown",peg$c936=peg$literalExpectation("SaddleBrown",false),peg$c937="salmon",peg$c938=peg$literalExpectation("salmon",false),peg$c939=function(){return"#fa8072ff"},peg$c940="Salmon",peg$c941=peg$literalExpectation("Salmon",false),peg$c942="sandybrown",peg$c943=peg$literalExpectation("sandybrown",false),peg$c944=function(){return"#f4a460ff"},peg$c945="SandyBrown",peg$c946=peg$literalExpectation("SandyBrown",false),peg$c947="seagreen",peg$c948=peg$literalExpectation("seagreen",false),peg$c949=function(){return"#2e8b57ff"},peg$c950="SeaGreen",peg$c951=peg$literalExpectation("SeaGreen",false),peg$c952="seashell",peg$c953=peg$literalExpectation("seashell",false),peg$c954=function(){return"#fff5eeff"},peg$c955="SeaShell",peg$c956=peg$literalExpectation("SeaShell",false),peg$c957="sienna",peg$c958=peg$literalExpectation("sienna",false),peg$c959=function(){return"#a0522dff"},peg$c960="Sienna",peg$c961=peg$literalExpectation("Sienna",false),peg$c962="silver",peg$c963=peg$literalExpectation("silver",false),peg$c964=function(){return"#c0c0c0ff"},peg$c965="Silver",peg$c966=peg$literalExpectation("Silver",false),peg$c967="skyblue",peg$c968=peg$literalExpectation("skyblue",false),peg$c969=function(){return"#87ceebff"},peg$c970="SkyBlue",peg$c971=peg$literalExpectation("SkyBlue",false),peg$c972="slateblue",peg$c973=peg$literalExpectation("slateblue",false),peg$c974=function(){return"#6a5acdff"},peg$c975="SlateBlue",peg$c976=peg$literalExpectation("SlateBlue",false),peg$c977="slategray",peg$c978=peg$literalExpectation("slategray",false),peg$c979=function(){return"#708090ff"},peg$c980="SlateGray",peg$c981=peg$literalExpectation("SlateGray",false),peg$c982="slategrey",peg$c983=peg$literalExpectation("slategrey",false),peg$c984="SlateGrey",peg$c985=peg$literalExpectation("SlateGrey",false),peg$c986="snow",peg$c987=peg$literalExpectation("snow",false),peg$c988=function(){return"#fffafaff"},peg$c989="Snow",peg$c990=peg$literalExpectation("Snow",false),peg$c991="springgreen",peg$c992=peg$literalExpectation("springgreen",false),peg$c993=function(){return"#00ff7fff"},peg$c994="SpringGreen",peg$c995=peg$literalExpectation("SpringGreen",false),peg$c996="steelblue",peg$c997=peg$literalExpectation("steelblue",false),peg$c998=function(){return"#4682b4ff"},peg$c999="SteelBlue",peg$c1000=peg$literalExpectation("SteelBlue",false),peg$c1001="tan",peg$c1002=peg$literalExpectation("tan",false),peg$c1003=function(){return"#d2b48cff"},peg$c1004="Tan",peg$c1005=peg$literalExpectation("Tan",false),peg$c1006="teal",peg$c1007=peg$literalExpectation("teal",false),peg$c1008=function(){return"#008080ff"},peg$c1009="Teal",peg$c1010=peg$literalExpectation("Teal",false),peg$c1011="thistle",peg$c1012=peg$literalExpectation("thistle",false),peg$c1013=function(){return"#d8bfd8ff"},peg$c1014="Thistle",peg$c1015=peg$literalExpectation("Thistle",false),peg$c1016="tomato",peg$c1017=peg$literalExpectation("tomato",false),peg$c1018=function(){return"#ff6347ff"},peg$c1019="Tomato",peg$c1020=peg$literalExpectation("Tomato",false),peg$c1021="turquoise",peg$c1022=peg$literalExpectation("turquoise",false),peg$c1023=function(){return"#40e0d0ff"},peg$c1024="Turquoise",peg$c1025=peg$literalExpectation("Turquoise",false),peg$c1026="violet",peg$c1027=peg$literalExpectation("violet",false),peg$c1028=function(){return"#ee82eeff"},peg$c1029="Violet",peg$c1030=peg$literalExpectation("Violet",false),peg$c1031="wheat",peg$c1032=peg$literalExpectation("wheat",false),peg$c1033=function(){return"#f5deb3ff"},peg$c1034="Wheat",peg$c1035=peg$literalExpectation("Wheat",false),peg$c1036="whitesmoke",peg$c1037=peg$literalExpectation("whitesmoke",false),peg$c1038=function(){return"#f5f5f5ff"},peg$c1039="WhiteSmoke",peg$c1040=peg$literalExpectation("WhiteSmoke",false),peg$c1041="white",peg$c1042=peg$literalExpectation("white",false),peg$c1043=function(){return"#ffffffff"},peg$c1044="White",peg$c1045=peg$literalExpectation("White",false),peg$c1046="yellowgreen",peg$c1047=peg$literalExpectation("yellowgreen",false),peg$c1048=function(){return"#9acd32ff"},peg$c1049="YellowGreen",peg$c1050=peg$literalExpectation("YellowGreen",false),peg$c1051="yellow",peg$c1052=peg$literalExpectation("yellow",false),peg$c1053=function(){return"#ffff00ff"},peg$c1054="Yellow",peg$c1055=peg$literalExpectation("Yellow",false),peg$c1056=function(lab){return lab},peg$c1057="#",peg$c1058=peg$literalExpectation("#",false),peg$c1059=function(r,g,b){return`#${r}${r}${g}${g}${b}${b}ff`},peg$c1060=function(r1,r2,g1,g2,b1,b2){return`#${r1}${r2}${g1}${g2}${b1}${b2}ff`},peg$c1061=function(r,g,b,a){return`#${r}${r}${g}${g}${b}${b}${a}${a}`},peg$c1062=function(r1,r2,g1,g2,b1,b2,a1,a2){return`#${r1}${r2}${g1}${g2}${b1}${b2}${a1}${a2}`},peg$c1063=peg$otherExpectation("color"),peg$c1064="arc_label",peg$c1065=peg$literalExpectation("arc_label",false),peg$c1066="head_label",peg$c1067=peg$literalExpectation("head_label",false),peg$c1068="tail_label",peg$c1069=peg$literalExpectation("tail_label",false),peg$c1070=":",peg$c1071=peg$literalExpectation(":",false),peg$c1072=";",peg$c1073=peg$literalExpectation(";",false),peg$c1074=function(key,value){return{key:key,value:value}},peg$c1075=peg$otherExpectation("single edge color"),peg$c1076="edge_color",peg$c1077=peg$literalExpectation("edge_color",false),peg$c1078=function(value){return{key:"single_edge_color",value:value}},peg$c1079=peg$otherExpectation("transition line style"),peg$c1080="linestyle",peg$c1081=peg$literalExpectation("linestyle",false),peg$c1082=function(value){return{key:"transition_line_style",value:value}},peg$c1083="{",peg$c1084=peg$literalExpectation("{",false),peg$c1085="}",peg$c1086=peg$literalExpectation("}",false),peg$c1087=function(items){return items},peg$c1088="%",peg$c1089=peg$literalExpectation("%",false),peg$c1090=function(value){return{key:"arrow probability",value:value}},peg$c1091="[",peg$c1092=peg$literalExpectation("[",false),peg$c1093="]",peg$c1094=peg$literalExpectation("]",false),peg$c1095=function(names){return names.map((i=>i[0]))},peg$c1096="+|",peg$c1097=peg$literalExpectation("+|",false),peg$c1098=function(nzd,dd){return{key:"stripe",value:parseInt(`${nzd}${dd}`,10)}},peg$c1099="-|",peg$c1100=peg$literalExpectation("-|",false),peg$c1101=function(nzd,dd){return{key:"stripe",value:-1*parseInt(`${nzd}${dd}`,10)}},peg$c1102="+",peg$c1103=peg$literalExpectation("+",false),peg$c1104=function(nzd,dd){return{key:"cycle",value:parseInt(`${nzd}${dd}`,10)}},peg$c1105="-",peg$c1106=peg$literalExpectation("-",false),peg$c1107=function(nzd,dd){return{key:"cycle",value:-1*parseInt(`${nzd}${dd}`,10)}},peg$c1108="+0",peg$c1109=peg$literalExpectation("+0",false),peg$c1110=function(){return{key:"cycle",value:0}},peg$c1111=function(r_action,r_prob,l_desc,arrow,r_desc,l_prob,l_action,label,tail){const base={kind:arrow,to:label};if(tail&&tail!==[]){base.se=tail}if(l_desc){base.l_desc=l_desc}if(r_desc){base.r_desc=r_desc}if(l_action){base.l_action=l_action}if(r_action){base.r_action=r_action}if(l_prob){base.l_probability=l_prob.value}if(r_prob){base.r_probability=r_prob.value}return base},peg$c1112=function(label,se){const base={key:"transition",from:label};if(se&&se!==[]){base.se=se}return base},peg$c1113="whargarbl",peg$c1114=peg$literalExpectation("whargarbl",false),peg$c1115="todo",peg$c1116=peg$literalExpectation("todo",false),peg$c1117=function(validationkey,value){return{key:validationkey,value:value}},peg$c1118="validation",peg$c1119=peg$literalExpectation("validation",false),peg$c1120="};",peg$c1121=peg$literalExpectation("};",false),peg$c1122=function(validation_items){return{config_kind:"validation",config_items:validation_items||[]}},peg$c1123="dot",peg$c1124=peg$literalExpectation("dot",false),peg$c1125="circo",peg$c1126=peg$literalExpectation("circo",false),peg$c1127="fdp",peg$c1128=peg$literalExpectation("fdp",false),peg$c1129="neato",peg$c1130=peg$literalExpectation("neato",false),peg$c1131="shape",peg$c1132=peg$literalExpectation("shape",false),peg$c1133=function(value){return{key:"shape",value:value}},peg$c1134="state",peg$c1135=peg$literalExpectation("state",false),peg$c1136=function(state_items){return{key:"state_config",value:{config_kind:"state",config_items:state_items||[]}}},peg$c1137="start_state",peg$c1138=peg$literalExpectation("start_state",false),peg$c1139=function(state_items){return{key:"state_config",value:{config_kind:"in_state",config_items:state_items||[]}}},peg$c1140="end_state",peg$c1141=peg$literalExpectation("end_state",false),peg$c1142=function(state_items){return{key:"state_config",value:{config_kind:"out_state",config_items:state_items||[]}}},peg$c1143=function(actionkey,value){return{key:actionkey,value:value}},peg$c1144="action",peg$c1145=peg$literalExpectation("action",false),peg$c1146=function(action_items){return{config_kind:"action",config_items:action_items||[]}},peg$c1147=function(transitionkey,value){return{key:transitionkey,value:value}},peg$c1148=peg$otherExpectation("graph default edge color"),peg$c1149=function(value){return{key:"graph_default_edge_color",value:value}},peg$c1150="transition",peg$c1151=peg$literalExpectation("transition",false),peg$c1152=function(transition_items){return{config_kind:"transition",config_items:transition_items||[]}},peg$c1153="graph_layout",peg$c1154=peg$literalExpectation("graph_layout",false),peg$c1155=function(value){return{key:"graph_layout",value:value}},peg$c1156="start_states",peg$c1157=peg$literalExpectation("start_states",false),peg$c1158=function(value){return{key:"start_states",value:value}},peg$c1159="end_states",peg$c1160=peg$literalExpectation("end_states",false),peg$c1161=function(value){return{key:"end_states",value:value}},peg$c1162="graph_bg_color",peg$c1163=peg$literalExpectation("graph_bg_color",false),peg$c1164=function(value){return{key:"graph_bg_color",value:value}},peg$c1165=peg$otherExpectation("configuration"),peg$c1166="MIT",peg$c1167=peg$literalExpectation("MIT",false),peg$c1168="BSD 2-clause",peg$c1169=peg$literalExpectation("BSD 2-clause",false),peg$c1170="BSD 3-clause",peg$c1171=peg$literalExpectation("BSD 3-clause",false),peg$c1172="Apache 2.0",peg$c1173=peg$literalExpectation("Apache 2.0",false),peg$c1174="Mozilla 2.0",peg$c1175=peg$literalExpectation("Mozilla 2.0",false),peg$c1176="Public domain",peg$c1177=peg$literalExpectation("Public domain",false),peg$c1178="GPL v2",peg$c1179=peg$literalExpectation("GPL v2",false),peg$c1180="GPL v3",peg$c1181=peg$literalExpectation("GPL v3",false),peg$c1182="LGPL v2.1",peg$c1183=peg$literalExpectation("LGPL v2.1",false),peg$c1184="LGPL v3.0",peg$c1185=peg$literalExpectation("LGPL v3.0",false),peg$c1186="Unknown",peg$c1187=peg$literalExpectation("Unknown",false),peg$c1188=peg$otherExpectation("direction"),peg$c1189="up",peg$c1190=peg$literalExpectation("up",false),peg$c1191="right",peg$c1192=peg$literalExpectation("right",false),peg$c1193="down",peg$c1194=peg$literalExpectation("down",false),peg$c1195="left",peg$c1196=peg$literalExpectation("left",false),peg$c1197=peg$otherExpectation("hook definition (open/closed)"),peg$c1198="open",peg$c1199=peg$literalExpectation("open",false),peg$c1200="closed",peg$c1201=peg$literalExpectation("closed",false),peg$c1202="machine_author",peg$c1203=peg$literalExpectation("machine_author",false),peg$c1204=function(value){return{key:"machine_author",value:value}},peg$c1205="machine_contributor",peg$c1206=peg$literalExpectation("machine_contributor",false),peg$c1207=function(value){return{key:"machine_contributor",value:value}},peg$c1208="machine_comment",peg$c1209=peg$literalExpectation("machine_comment",false),peg$c1210=function(value){return{key:"machine_comment",value:value}},peg$c1211="machine_definition",peg$c1212=peg$literalExpectation("machine_definition",false),peg$c1213=function(value){return{key:"machine_definition",value:value}},peg$c1214="machine_name",peg$c1215=peg$literalExpectation("machine_name",false),peg$c1216=function(value){return{key:"machine_name",value:value}},peg$c1220="machine_version",peg$c1221=peg$literalExpectation("machine_version",false),peg$c1222=function(value){return{key:"machine_version",value:value}},peg$c1223="machine_license",peg$c1224=peg$literalExpectation("machine_license",false),peg$c1225=function(value){return{key:"machine_license",value:value}},peg$c1226="machine_language",peg$c1227=peg$literalExpectation("machine_language",false),peg$c1228=function(value){return{key:"machine_language",value:value}},peg$c1229="fsl_version",peg$c1230=peg$literalExpectation("fsl_version",false),peg$c1231=function(value){return{key:"fsl_version",value:value}},peg$c1232="theme",peg$c1233=peg$literalExpectation("theme",false),peg$c1234=function(value){return{key:"theme",value:value}},peg$c1235="flow",peg$c1236=peg$literalExpectation("flow",false),peg$c1237=function(value){return{key:"flow",value:value}},peg$c1238="hooks",peg$c1239=peg$literalExpectation("hooks",false),peg$c1240=function(value){return{key:"hook_definition",value:value}},peg$c1241="dot_preamble",peg$c1242=peg$literalExpectation("dot_preamble",false),peg$c1243=function(value){return{key:"dot_preamble",value:value}},peg$c1244=peg$otherExpectation("machine attribute"),peg$c1245="color",peg$c1246=peg$literalExpectation("color",false),peg$c1247=function(value){return{key:"color",value:value}},peg$c1248=peg$otherExpectation("text color"),peg$c1249="text-color",peg$c1250=peg$literalExpectation("text-color",false),peg$c1251=function(value){return{key:"text-color",value:value}},peg$c1252=peg$otherExpectation("background color"),peg$c1253="background-color",peg$c1254=peg$literalExpectation("background-color",false),peg$c1255=function(value){return{key:"background-color",value:value}},peg$c1256=peg$otherExpectation("border color"),peg$c1257="border-color",peg$c1258=peg$literalExpectation("border-color",false),peg$c1259=function(value){return{key:"border-color",value:value}},peg$c1260=peg$otherExpectation("shape"),peg$c1261=function(value){return{key:"shape",value:value}},peg$c1262=peg$otherExpectation("corners"),peg$c1263="corners",peg$c1264=peg$literalExpectation("corners",false),peg$c1265=function(value){return{key:"corners",value:value}},peg$c1266=peg$otherExpectation("linestyle"),peg$c1267=function(value){return{key:"linestyle",value:value}},peg$c1268=function(name,value){return{key:"state_declaration",name:name,value:value}},peg$c1269="&",peg$c1270=peg$literalExpectation("&",false),peg$c1271=function(name,value){return{key:"named_list",name:name,value:value}},peg$c1272="null",peg$c1273=peg$literalExpectation("null",false),peg$c1274="undefined",peg$c1275=peg$literalExpectation("undefined",false),peg$c1276=function(){return parseFloat(text())},peg$c1277="Infinity",peg$c1278=peg$literalExpectation("Infinity",false),peg$c1279="NegInfinity",peg$c1280=peg$literalExpectation("NegInfinity",false),peg$c1281="NaN",peg$c1282=peg$literalExpectation("NaN",false),peg$c1283="MaxSafeInt",peg$c1284=peg$literalExpectation("MaxSafeInt",false),peg$c1285="MinSafeInt",peg$c1286=peg$literalExpectation("MinSafeInt",false),peg$c1287=function(chars){return chars.join("")},peg$c1288=function(char){return char},peg$c1289=function(sequence){return sequence},peg$c1290=function(){return"\b"},peg$c1291=function(){return"\f"},peg$c1292=function(){return"\n"},peg$c1293=function(){return"\r"},peg$c1294=function(){return"\t"},peg$c1295=function(){return"\v"},peg$c1296="property",peg$c1297=peg$literalExpectation("property",false),peg$c1298=function(name,default_value){return{key:"property_definition",name:name,default_value:default_value}},peg$c1299=function(name){return{key:"property_definition",name:name}},peg$c1300="arrange",peg$c1301=peg$literalExpectation("arrange",false),peg$c1302=function(value){return{key:"arrange_declaration",value:value}},peg$c1303="arrange-start",peg$c1304=peg$literalExpectation("arrange-start",false),peg$c1305=function(value){return{key:"arrange_start_declaration",value:value}},peg$c1306="arrange-end",peg$c1307=peg$literalExpectation("arrange-end",false),peg$c1308=function(value){return{key:"arrange_end_declaration",value:value}},peg$c1309=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)}}}}}return s0}function peg$parseGvizShape(){var s0;if(input.substr(peg$currPos,5)===peg$c9){s0=peg$c9;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c10)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c11){s0=peg$c11;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c12)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c13){s0=peg$c13;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c14)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c15){s0=peg$c15;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c16)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c17){s0=peg$c17;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c18)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c19){s0=peg$c19;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c20)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c21){s0=peg$c21;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c22)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c23){s0=peg$c23;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c24)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c25){s0=peg$c25;peg$currPos+=9}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,7)===peg$c29){s0=peg$c29;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c30)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c31){s0=peg$c31;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c32)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c33){s0=peg$c33;peg$currPos+=13}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,8)===peg$c37){s0=peg$c37;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c38)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c39){s0=peg$c39;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c40)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c41){s0=peg$c41;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c42)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c43){s0=peg$c43;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c44)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c45){s0=peg$c45;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c46)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c47){s0=peg$c47;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c48)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c49){s0=peg$c49;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c50)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c51){s0=peg$c51;peg$currPos+=11}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,8)===peg$c55){s0=peg$c55;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c56)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c57){s0=peg$c57;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c58)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c59){s0=peg$c59;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c60)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c61){s0=peg$c61;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c62)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c63){s0=peg$c63;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c64)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c65){s0=peg$c65;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c66)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c67){s0=peg$c67;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c68)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c69){s0=peg$c69;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c70)}}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$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,8)===peg$c73){s0=peg$c73;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c74)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c75){s0=peg$c75;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c76)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c77){s0=peg$c77;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c78)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c79){s0=peg$c79;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c80)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c81){s0=peg$c81;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c82)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c83){s0=peg$c83;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c84)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c85){s0=peg$c85;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c86)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c87){s0=peg$c87;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c88)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c89){s0=peg$c89;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c90)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c91){s0=peg$c91;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c92)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c93){s0=peg$c93;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c94)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,15)===peg$c95){s0=peg$c95;peg$currPos+=15}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c96)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c97){s0=peg$c97;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c98)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,14)===peg$c99){s0=peg$c99;peg$currPos+=14}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c100)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c101){s0=peg$c101;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c102)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c103){s0=peg$c103;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c104)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c105){s0=peg$c105;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c106)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c107){s0=peg$c107;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c108)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c109){s0=peg$c109;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c110)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c111){s0=peg$c111;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c112)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c113){s0=peg$c113;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c114)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c115){s0=peg$c115;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c116)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c117){s0=peg$c117;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c118)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c119){s0=peg$c119;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c120)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c121){s0=peg$c121;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c122)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c123){s0=peg$c123;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c124)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c125){s0=peg$c125;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c126)}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}return s0}function peg$parseForwardLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c128){s0=peg$c128;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c129)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8594){s1=peg$c130;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c131)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c132()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c127)}}return s0}function peg$parseTwoWayLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c134){s0=peg$c134;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c135)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8596){s1=peg$c136;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c137)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c138()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c133)}}return s0}function peg$parseBackLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c140){s0=peg$c140;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c141)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8592){s1=peg$c142;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c143)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c144()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c139)}}return s0}function peg$parseForwardFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c146){s0=peg$c146;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c147)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8658){s1=peg$c148;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c149)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c150()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c145)}}return s0}function peg$parseTwoWayFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c152){s0=peg$c152;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c153)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8660){s1=peg$c154;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c155)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c156()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c151)}}return s0}function peg$parseBackFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c158){s0=peg$c158;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c159)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8656){s1=peg$c160;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c161)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c162()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c157)}}return s0}function peg$parseForwardTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c164){s0=peg$c164;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c165)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8603){s1=peg$c166;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c167)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c168()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c163)}}return s0}function peg$parseTwoWayTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c170){s0=peg$c170;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c171)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8622){s1=peg$c172;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c173)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c174()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c169)}}return s0}function peg$parseBackTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c176){s0=peg$c176;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c177)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8602){s1=peg$c178;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c179)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c180()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c175)}}return s0}function peg$parseLightFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c182){s0=peg$c182;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c183)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c184){s1=peg$c184;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c185)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c186()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c181)}}return s0}function peg$parseLightTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c188){s0=peg$c188;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c189)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c190){s1=peg$c190;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c191)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c192()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c187)}}return s0}function peg$parseFatLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c194){s0=peg$c194;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c195)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c196){s1=peg$c196;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c197)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c198()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c193)}}return s0}function peg$parseFatTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c200){s0=peg$c200;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c201)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c202){s1=peg$c202;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c203)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c204()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c199)}}return s0}function peg$parseTildeLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c206){s0=peg$c206;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c207)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c208){s1=peg$c208;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c209)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c210()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c205)}}return s0}function peg$parseTildeFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c212){s0=peg$c212;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c213)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c214){s1=peg$c214;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c215)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c216()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c211)}}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$c217)}}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$c218)}}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$c219)}}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$c220)}}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$c221)}}return s0}function peg$parseCorners(){var s0;if(input.substr(peg$currPos,7)===peg$c228){s0=peg$c228;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c229)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c230){s0=peg$c230;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c231)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c232){s0=peg$c232;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c233)}}}}return s0}function peg$parseLineStyle(){var s0;if(input.substr(peg$currPos,5)===peg$c234){s0=peg$c234;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c235)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c236){s0=peg$c236;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c237)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c238){s0=peg$c238;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c239)}}}}return s0}function peg$parseHexDigit(){var s0;if(peg$c240.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c241)}}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$c242;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c243)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===92){s2=peg$c244;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c245)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===47){s2=peg$c246;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c247)}}if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===98){s3=peg$c248;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c249)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c250()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===102){s3=peg$c251;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c252)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c253()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===110){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)===114){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)===116){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)===118){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)===117){s3=peg$c266;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c267)}}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$c268(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$c269(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseEscape(){var s0;if(input.charCodeAt(peg$currPos)===92){s0=peg$c244;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c245)}}return s0}function peg$parseQuoteMark(){var s0;if(input.charCodeAt(peg$currPos)===34){s0=peg$c242;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c243)}}return s0}function peg$parseUnescaped(){var s0;if(peg$c270.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c271)}}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$c272;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c273)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===92){s2=peg$c244;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c245)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===47){s2=peg$c246;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c247)}}if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===98){s3=peg$c248;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c249)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c250()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===102){s3=peg$c251;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c252)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c253()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===110){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)===114){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)===116){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)===118){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)===117){s3=peg$c266;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c267)}}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$c268(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$c269(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$c272;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c273)}}return s0}function peg$parseActionLabelUnescaped(){var s0;if(peg$c274.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c275)}}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$c277(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$c276)}}return s0}function peg$parseLineTerminator(){var s0;if(peg$c278.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c279)}}return s0}function peg$parseBlockCommentTail(){var s0,s1,s2;if(input.substr(peg$currPos,2)===peg$c282){s0=peg$c282;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c283)}}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$c284)}}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$c286){s1=peg$c286;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c287)}}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$c285)}}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$c284)}}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$c284)}}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$c289){s1=peg$c289;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c290)}}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$c288)}}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$c292.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c293)}}if(s2!==peg$FAILED){while(s2!==peg$FAILED){s1.push(s2);if(peg$c292.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c293)}}}}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$c291)}}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$c277(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$c294)}}return s0}function peg$parseAtomFirstLetter(){var s0;if(peg$c295.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}return s0}function peg$parseAtomLetter(){var s0;if(peg$c297.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c298)}}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$c300(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$c299)}}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$c301)}}return s0}function peg$parseIntegerLiteral(){var s0,s1,s2,s3;if(input.charCodeAt(peg$currPos)===48){s0=peg$c302;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c303)}}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$c304.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c305)}}return s0}function peg$parseNonZeroDigit(){var s0;if(peg$c306.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c307)}}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$c309;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c310)}}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$c311();s0=s1}else{peg$currPos=s0;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$c311();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$c308)}}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$c309;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c310)}}if(s2!==peg$FAILED){s3=peg$parseIntegerLiteral();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s4=peg$c309;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c310)}}if(s4!==peg$FAILED){s5=peg$parseIntegerLiteral();if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c312(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$c323){s0=peg$c323;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c324)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c325){s0=peg$c325;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}}return s0}function peg$parseURL(){var s0,s1,s2,s3;s0=peg$currPos;s1=peg$parseUrlProtocol();if(s1!==peg$FAILED){s2=[];if(peg$c327.test(input.charAt(peg$currPos))){s3=input.charAt(peg$currPos);peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c328)}}if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);if(peg$c327.test(input.charAt(peg$currPos))){s3=input.charAt(peg$currPos);peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c328)}}}}else{s2=peg$FAILED}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c329();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$c330){s1=peg$c330;peg$currPos+=9}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,9)===peg$c333){s1=peg$c333;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c334)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c332()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c335){s1=peg$c335;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c336)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c337()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c338){s1=peg$c338;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c339)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c337()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c340){s1=peg$c340;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c341)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c342()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c343){s1=peg$c343;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c344)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c342()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c345){s1=peg$c345;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c346)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c347()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c348){s1=peg$c348;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c349)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c347()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c350){s1=peg$c350;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c351)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c352()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c353){s1=peg$c353;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c354)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c352()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c355){s1=peg$c355;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c356)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c357()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c358){s1=peg$c358;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c359)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c357()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c360){s1=peg$c360;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c361)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c362()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c363){s1=peg$c363;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c364)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c362()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c365){s1=peg$c365;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c366)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c367()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c368){s1=peg$c368;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c369)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c367()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c370){s1=peg$c370;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c371)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c372()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c373){s1=peg$c373;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c374)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c372()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c375){s1=peg$c375;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c376)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c377()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c378){s1=peg$c378;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c379)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c377()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c380){s1=peg$c380;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c381)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c382()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c383){s1=peg$c383;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c384)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c382()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c385){s1=peg$c385;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c386)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c387()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c388){s1=peg$c388;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c389)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c387()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c390){s1=peg$c390;peg$currPos+=9}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,9)===peg$c393){s1=peg$c393;peg$currPos+=9}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,9)===peg$c395){s1=peg$c395;peg$currPos+=9}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,9)===peg$c398){s1=peg$c398;peg$currPos+=9}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,10)===peg$c400){s1=peg$c400;peg$currPos+=10}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,10)===peg$c403){s1=peg$c403;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c404)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c402()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c405){s1=peg$c405;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c406)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c407()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c408){s1=peg$c408;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c409)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c407()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c410){s1=peg$c410;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c411)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c412()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c413){s1=peg$c413;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c414)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c412()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c415){s1=peg$c415;peg$currPos+=14}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,14)===peg$c418){s1=peg$c418;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c419)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c417()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c420){s1=peg$c420;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c421)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c422()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c423){s1=peg$c423;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c424)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c422()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c425){s1=peg$c425;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c426)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c427()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c428){s1=peg$c428;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c429)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c427()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c430){s1=peg$c430;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c431)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c347()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c432){s1=peg$c432;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c433)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c347()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c434){s1=peg$c434;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c435)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c436()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c437){s1=peg$c437;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c438)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c436()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c439){s1=peg$c439;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c440)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c441()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c442){s1=peg$c442;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c443)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c441()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c444){s1=peg$c444;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c445)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c446()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c447){s1=peg$c447;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c448)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c446()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c449){s1=peg$c449;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c450)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c451()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c452){s1=peg$c452;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c453)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c451()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c454){s1=peg$c454;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c455)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c451()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c456){s1=peg$c456;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c457)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c451()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c458){s1=peg$c458;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c459)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c460()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c461){s1=peg$c461;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c462)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c460()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c463){s1=peg$c463;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c464)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c465()}s0=s1;if(s0===peg$FAILED){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$c465()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c468){s1=peg$c468;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c469)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c470()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c471){s1=peg$c471;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c472)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c470()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c473){s1=peg$c473;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c474)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c475()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c476){s1=peg$c476;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c477)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c475()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c478){s1=peg$c478;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c479)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c480()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c481){s1=peg$c481;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c482)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c480()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c483){s1=peg$c483;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c484)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c485()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c486){s1=peg$c486;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c487)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c485()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c488){s1=peg$c488;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c489)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c490()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c491){s1=peg$c491;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c492)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c490()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c493){s1=peg$c493;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c494)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c495()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c496){s1=peg$c496;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c497)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c495()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c498){s1=peg$c498;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c499)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c500()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c501){s1=peg$c501;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c502)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c500()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c503){s1=peg$c503;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c504)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c505()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c506){s1=peg$c506;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c507)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c505()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c508){s1=peg$c508;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c509)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c510()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c511){s1=peg$c511;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c512)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c510()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c513){s1=peg$c513;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c514)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c510()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c515){s1=peg$c515;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c516)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c510()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c517){s1=peg$c517;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c518)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c519()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c520){s1=peg$c520;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c521)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c519()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c522){s1=peg$c522;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c523)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c524()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c525){s1=peg$c525;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c526)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c524()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c527){s1=peg$c527;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c528)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c529()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c530){s1=peg$c530;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c531)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c529()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c532){s1=peg$c532;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c533)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c534()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c535){s1=peg$c535;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c536)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c534()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c537){s1=peg$c537;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c538)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c539()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c540){s1=peg$c540;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c541)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c539()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c542){s1=peg$c542;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c543)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c539()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c544){s1=peg$c544;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c545)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c539()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c546){s1=peg$c546;peg$currPos+=10}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,10)===peg$c549){s1=peg$c549;peg$currPos+=10}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,9)===peg$c551){s1=peg$c551;peg$currPos+=9}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,9)===peg$c554){s1=peg$c554;peg$currPos+=9}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,11)===peg$c556){s1=peg$c556;peg$currPos+=11}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,11)===peg$c559){s1=peg$c559;peg$currPos+=11}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,11)===peg$c561){s1=peg$c561;peg$currPos+=11}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,11)===peg$c564){s1=peg$c564;peg$currPos+=11}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,7)===peg$c566){s1=peg$c566;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c567)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c568()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c569){s1=peg$c569;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c570)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c568()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c571){s1=peg$c571;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c572)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c573()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c574){s1=peg$c574;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c575)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c573()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c576){s1=peg$c576;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c577)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c578()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c579){s1=peg$c579;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c580)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c578()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c581){s1=peg$c581;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c582)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c583()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c584){s1=peg$c584;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c585)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c583()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c586){s1=peg$c586;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c587)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c588()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c589){s1=peg$c589;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c590)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c588()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c591){s1=peg$c591;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c592)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c593()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c594){s1=peg$c594;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c595)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c593()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c596){s1=peg$c596;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c597)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c593()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c598){s1=peg$c598;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c599)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c593()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c600){s1=peg$c600;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c601)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c602()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c603){s1=peg$c603;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c604)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c602()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c605){s1=peg$c605;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c606)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c607()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c608){s1=peg$c608;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c609)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c607()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c610){s1=peg$c610;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c611)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c612()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c613){s1=peg$c613;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c614)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c612()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c615){s1=peg$c615;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c616)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c617()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c618){s1=peg$c618;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c619)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c617()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c620){s1=peg$c620;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c621)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c622()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c623){s1=peg$c623;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c624)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c622()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c625){s1=peg$c625;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c626)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c627()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c628){s1=peg$c628;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c629)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c627()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c630){s1=peg$c630;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c631)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c632()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c633){s1=peg$c633;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c634)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c632()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c635){s1=peg$c635;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c636)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c637()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c638){s1=peg$c638;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c639)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c637()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c640){s1=peg$c640;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c641)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c642()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c643){s1=peg$c643;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c644)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c642()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c645){s1=peg$c645;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c646)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c647()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c648){s1=peg$c648;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c649)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c647()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c650){s1=peg$c650;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c651)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c652()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c653){s1=peg$c653;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c654)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c652()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c655){s1=peg$c655;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c656)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c657()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c658){s1=peg$c658;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c659)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c657()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c660){s1=peg$c660;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c661)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c662()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c663){s1=peg$c663;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c664)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c662()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c665){s1=peg$c665;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c666)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c667()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c668){s1=peg$c668;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c669)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c667()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c670){s1=peg$c670;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c671)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c672()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c673){s1=peg$c673;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c674)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c672()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,20)===peg$c675){s1=peg$c675;peg$currPos+=20}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c676)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c677()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,20)===peg$c678){s1=peg$c678;peg$currPos+=20}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c679)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c677()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c680){s1=peg$c680;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c681)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c682()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c683){s1=peg$c683;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c684)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c682()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c685){s1=peg$c685;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c686)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c682()}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$c682()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c689){s1=peg$c689;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c690)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c691()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c692){s1=peg$c692;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c693)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c691()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c694){s1=peg$c694;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c695)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c696()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c697){s1=peg$c697;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c698)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c696()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c699){s1=peg$c699;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c700)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c701()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c702){s1=peg$c702;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c703)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c701()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c704){s1=peg$c704;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c705)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c706()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c707){s1=peg$c707;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c708)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c706()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c709){s1=peg$c709;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c710)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c711()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c712){s1=peg$c712;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c713)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c711()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c714){s1=peg$c714;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c715)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c716()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c717){s1=peg$c717;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c718)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c716()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c719){s1=peg$c719;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c720)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c716()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c721){s1=peg$c721;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c722)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c716()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c723){s1=peg$c723;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c724)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c725()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c726){s1=peg$c726;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c727)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c725()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c728){s1=peg$c728;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c729)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c730()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c731){s1=peg$c731;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c732)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c730()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c733){s1=peg$c733;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c734)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c735()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c736){s1=peg$c736;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c737)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c735()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c738){s1=peg$c738;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c739)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c740()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c741){s1=peg$c741;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c742)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c740()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c743){s1=peg$c743;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c744)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c745()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c746){s1=peg$c746;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c747)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c745()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c748){s1=peg$c748;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c749)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c568()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c750){s1=peg$c750;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c751)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c568()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c752){s1=peg$c752;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c753)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c754()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c755){s1=peg$c755;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c756)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c754()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c757){s1=peg$c757;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c758)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c759()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c760){s1=peg$c760;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c761)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c759()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c762){s1=peg$c762;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c763)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c764()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c765){s1=peg$c765;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c766)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c764()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c767){s1=peg$c767;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c768)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c769()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c770){s1=peg$c770;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c771)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c769()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c772){s1=peg$c772;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c773)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c774()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c775){s1=peg$c775;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c776)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c774()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c777){s1=peg$c777;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c778)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c779()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c780){s1=peg$c780;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c781)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c779()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c782){s1=peg$c782;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c783)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c784()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c785){s1=peg$c785;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c786)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c784()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,17)===peg$c787){s1=peg$c787;peg$currPos+=17}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c788)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c789()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,17)===peg$c790){s1=peg$c790;peg$currPos+=17}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c791)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c789()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c792){s1=peg$c792;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c793)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c794()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c795){s1=peg$c795;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c796)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c794()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c797){s1=peg$c797;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c798)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c799()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c800){s1=peg$c800;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c801)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c799()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c802){s1=peg$c802;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c803)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c804()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c805){s1=peg$c805;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c806)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c804()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c807){s1=peg$c807;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c808)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c809()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c810){s1=peg$c810;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c811)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c809()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c812){s1=peg$c812;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c813)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c814()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c815){s1=peg$c815;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c816)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c814()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c817){s1=peg$c817;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c818)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c819()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c820){s1=peg$c820;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c821)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c819()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c822){s1=peg$c822;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c823)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c824()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c825){s1=peg$c825;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c826)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c824()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c827){s1=peg$c827;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c828)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c829()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c830){s1=peg$c830;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c831)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c829()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c832){s1=peg$c832;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c833)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c834()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c835){s1=peg$c835;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c836)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c834()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c837){s1=peg$c837;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c838)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c839()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c840){s1=peg$c840;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c841)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c839()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c842){s1=peg$c842;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c843)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c844()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c845){s1=peg$c845;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c846)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c844()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c847){s1=peg$c847;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c848)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c849()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c850){s1=peg$c850;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c851)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c849()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c852){s1=peg$c852;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c853)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c854()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c855){s1=peg$c855;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c856)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c854()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c857){s1=peg$c857;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c858)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c859()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c860){s1=peg$c860;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c861)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c859()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c862){s1=peg$c862;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c863)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c864()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c865){s1=peg$c865;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c866)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c864()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c867){s1=peg$c867;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c868)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c869()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c870){s1=peg$c870;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c871)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c869()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c872){s1=peg$c872;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c873)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c874()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c875){s1=peg$c875;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c876)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c874()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c877){s1=peg$c877;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c878)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c879()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c880){s1=peg$c880;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c881)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c879()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c882){s1=peg$c882;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c883)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c884()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c885){s1=peg$c885;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c886)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c884()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c887){s1=peg$c887;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c888)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c889()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c890){s1=peg$c890;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c891)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c889()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c892){s1=peg$c892;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c893)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c894()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c895){s1=peg$c895;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c896)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c894()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c897){s1=peg$c897;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c898)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c899()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c900){s1=peg$c900;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c901)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c899()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c902){s1=peg$c902;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c903)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c904()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c905){s1=peg$c905;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c906)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c904()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c907){s1=peg$c907;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c908)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c909()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c910){s1=peg$c910;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c911)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c909()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c912){s1=peg$c912;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c913)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c914()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c915){s1=peg$c915;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c916)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c914()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c917){s1=peg$c917;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c918)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c919()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c920){s1=peg$c920;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c921)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c919()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c922){s1=peg$c922;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c923)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c924()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c925){s1=peg$c925;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c926)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c924()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c927){s1=peg$c927;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c928)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c929()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c930){s1=peg$c930;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c931)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c929()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c932){s1=peg$c932;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c933)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c934()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c935){s1=peg$c935;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c936)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c934()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c937){s1=peg$c937;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c938)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c939()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c940){s1=peg$c940;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c941)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c939()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c942){s1=peg$c942;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c943)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c944()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c945){s1=peg$c945;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c946)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c944()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c947){s1=peg$c947;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c948)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c949()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c950){s1=peg$c950;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c951)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c949()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c952){s1=peg$c952;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c953)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c954()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c955){s1=peg$c955;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c956)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c954()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c957){s1=peg$c957;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c958)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c959()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c960){s1=peg$c960;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c961)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c959()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c962){s1=peg$c962;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c963)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c964()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c965){s1=peg$c965;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c966)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c964()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c967){s1=peg$c967;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c968)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c969()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c970){s1=peg$c970;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c971)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c969()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c972){s1=peg$c972;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c973)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c974()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c975){s1=peg$c975;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c976)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c974()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c977){s1=peg$c977;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c978)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c979()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c980){s1=peg$c980;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c981)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c979()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c982){s1=peg$c982;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c983)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c979()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c984){s1=peg$c984;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c985)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c979()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c986){s1=peg$c986;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c987)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c988()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c989){s1=peg$c989;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c990)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c988()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c991){s1=peg$c991;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c992)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c993()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c994){s1=peg$c994;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c995)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c993()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c996){s1=peg$c996;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c997)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c998()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c999){s1=peg$c999;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1000)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c998()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1001){s1=peg$c1001;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1002)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1003()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1004){s1=peg$c1004;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1005)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1003()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1006){s1=peg$c1006;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1007)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1008()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1009){s1=peg$c1009;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1010)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1008()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1011){s1=peg$c1011;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1012)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1013()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1014){s1=peg$c1014;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1015)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1013()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1016){s1=peg$c1016;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1017)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1018()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1019){s1=peg$c1019;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1020)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1018()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1021){s1=peg$c1021;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1022)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1023()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1024){s1=peg$c1024;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1025)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1023()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1026){s1=peg$c1026;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1027)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1028()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1029){s1=peg$c1029;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1030)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1028()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1031){s1=peg$c1031;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1032)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1033()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1034){s1=peg$c1034;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1035)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1033()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1036){s1=peg$c1036;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1037)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1038()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1039){s1=peg$c1039;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1040)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1038()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1041){s1=peg$c1041;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1042)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1043()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1044){s1=peg$c1044;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1045)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1043()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1046){s1=peg$c1046;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1047)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1048()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1049){s1=peg$c1049;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1050)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1048()}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$c1053()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1054){s1=peg$c1054;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1055)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1053()}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$c1056(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$c1057;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1058)}}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$c1059(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$c1057;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1058)}}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$c1060(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$c1057;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1058)}}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$c1061(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$c1057;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1058)}}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$c1062(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$c1063)}}return s0}function peg$parseArrowItemKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1064){s0=peg$c1064;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1065)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1066){s0=peg$c1066;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1067)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1068){s0=peg$c1068;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1069)}}}}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$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1074(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$c1076){s2=peg$c1076;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1077)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1078(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;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$c1075)}}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,9)===peg$c1080){s2=peg$c1080;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1081)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1082(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;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$c1079)}}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$c1083;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1084)}}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$c1085;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1086)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1087(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$c1088;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1089)}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c1090(s1);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLabelList(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===91){s1=peg$c1091;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1092)}}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$c1093;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1094)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1095(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$c1096){s1=peg$c1096;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1097)}}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$c1098(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$c1099){s1=peg$c1099;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1100)}}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$c1101(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$c1102;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1103)}}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$c1104(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$c1105;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1106)}}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$c1107(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$c1108){s1=peg$c1108;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1109)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1110()}s0=s1}}return s0}function peg$parseArrowTarget(){var s0;s0=peg$parseStripe();if(s0===peg$FAILED){s0=peg$parseCycle();if(s0===peg$FAILED){s0=peg$parseLabelList();if(s0===peg$FAILED){s0=peg$parseLabel()}}}return s0}function peg$parseSubexp(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13,s14,s15,s16,s17,s18;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseActionLabel();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseArrowProbability();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseArrowDesc();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseArrow();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){s10=peg$parseArrowDesc();if(s10===peg$FAILED){s10=null}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){s12=peg$parseArrowProbability();if(s12===peg$FAILED){s12=null}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){s14=peg$parseActionLabel();if(s14===peg$FAILED){s14=null}if(s14!==peg$FAILED){s15=peg$parseWS();if(s15===peg$FAILED){s15=null}if(s15!==peg$FAILED){s16=peg$parseArrowTarget();if(s16!==peg$FAILED){s17=peg$parseWS();if(s17===peg$FAILED){s17=null}if(s17!==peg$FAILED){s18=peg$parseSubexp();if(s18===peg$FAILED){s18=null}if(s18!==peg$FAILED){peg$savedPos=s0;s1=peg$c1111(s2,s4,s6,s8,s10,s12,s14,s16,s18);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseExp(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;s1=peg$parseArrowTarget();if(s1!==peg$FAILED){s2=peg$parseSubexp();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1072;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1112(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$c1113){s0=peg$c1113;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1114)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1115){s0=peg$c1115;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1116)}}}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$c1070;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1072;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1117(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$c1118){s2=peg$c1118;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1119)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1083;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1084)}}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$c1120){s10=peg$c1120;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1121)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1122(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$c1123){s0=peg$c1123;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1124)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1125){s0=peg$c1125;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1126)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c1127){s0=peg$c1127;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1128)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1129){s0=peg$c1129;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1130)}}}}}return s0}function peg$parseStateItemShape(){var s0,s1,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$c1131){s2=peg$c1131;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1132)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1133(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseStateItems(){var s0,s1;s0=[];s1=peg$parseStateItemShape();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseStateItemShape()}}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$c1134){s2=peg$c1134;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1135)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1083;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1084)}}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$c1120){s10=peg$c1120;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1121)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1136(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$c1137){s2=peg$c1137;peg$currPos+=11}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1138)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1083;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1084)}}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$c1120){s10=peg$c1120;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1121)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1139(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$c1140){s2=peg$c1140;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1141)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1083;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1084)}}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$c1120){s10=peg$c1120;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1121)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1142(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()}}return s0}function peg$parseActionKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1113){s0=peg$c1113;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1114)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1115){s0=peg$c1115;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1116)}}}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$c1070;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1072;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1143(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$c1144){s2=peg$c1144;peg$currPos+=6}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1145)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1083;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1084)}}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$c1120){s10=peg$c1120;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1121)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1146(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$c1113){s0=peg$c1113;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1114)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1115){s0=peg$c1115;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1116)}}}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$c1070;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1072;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1147(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$c1076){s2=peg$c1076;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1077)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1149(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;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$c1148)}}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$c1150){s2=peg$c1150;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1151)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1083;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1084)}}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$c1120){s10=peg$c1120;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1121)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1152(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$c1153){s2=peg$c1153;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1154)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1155(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1156){s2=peg$c1156;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1157)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1158(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1159){s2=peg$c1159;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1160)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1161(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1162){s2=peg$c1162;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1163)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1164(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfig(){var s0;peg$silentFails++;s0=peg$parseConfigGraphLayout();if(s0===peg$FAILED){s0=peg$parseConfigStartNodes();if(s0===peg$FAILED){s0=peg$parseConfigEndNodes();if(s0===peg$FAILED){s0=peg$parseConfigTransition();if(s0===peg$FAILED){s0=peg$parseConfigAction();if(s0===peg$FAILED){s0=peg$parseConfigAnyState();if(s0===peg$FAILED){s0=peg$parseConfigValidation();if(s0===peg$FAILED){s0=peg$parseConfigGraphBgColor()}}}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1165)}}return s0}function peg$parseLicenseOrLabelOrList(){var s0;if(input.substr(peg$currPos,3)===peg$c1166){s0=peg$c1166;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1167)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1168){s0=peg$c1168;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1169)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1170){s0=peg$c1170;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1171)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1172){s0=peg$c1172;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1173)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1174){s0=peg$c1174;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1175)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c1176){s0=peg$c1176;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1177)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1178){s0=peg$c1178;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1179)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1180){s0=peg$c1180;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1181)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1182){s0=peg$c1182;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1183)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1184){s0=peg$c1184;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1185)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c1186){s0=peg$c1186;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1187)}}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$c1189){s0=peg$c1189;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1190)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1191){s0=peg$c1191;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1192)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1193){s0=peg$c1193;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1195){s0=peg$c1195;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1196)}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1188)}}return s0}function peg$parseHookDefinition(){var s0;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c1198){s0=peg$c1198;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1199)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1200){s0=peg$c1200;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1201)}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1197)}}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$c1202){s2=peg$c1202;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1203)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1204(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1205){s2=peg$c1205;peg$currPos+=19}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1206)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1207(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1208){s2=peg$c1208;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1210(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1211){s2=peg$c1211;peg$currPos+=18}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1212)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1213(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1214){s2=peg$c1214;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1215)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1216(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1220){s2=peg$c1220;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1221)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1222(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1223){s2=peg$c1223;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1224)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1225(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1226){s2=peg$c1226;peg$currPos+=16}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1227)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1228(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1229){s2=peg$c1229;peg$currPos+=11}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1230)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1231(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1232){s2=peg$c1232;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1233)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseTheme();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1234(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1235){s2=peg$c1235;peg$currPos+=4}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1236)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1237(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1238){s2=peg$c1238;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1239)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1240(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1241){s2=peg$c1241;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1242)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1243(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1244)}}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$c1245){s2=peg$c1245;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1247(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;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$c1063)}}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$c1249){s2=peg$c1249;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1250)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1251(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;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$c1248)}}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$c1253){s2=peg$c1253;peg$currPos+=16}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1254)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1255(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;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$c1252)}}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$c1257){s2=peg$c1257;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1258)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1259(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;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$c1256)}}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$c1131){s2=peg$c1131;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1132)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1261(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;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$c1260)}}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$c1263){s2=peg$c1263;peg$currPos+=7}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1264)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1265(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;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$c1262)}}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,9)===peg$c1080){s2=peg$c1080;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1081)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1267(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;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$c1266)}}return s0}function peg$parseStateDeclarationItems(){var s0;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()}}}}}}return s0}function peg$parseStateDeclarationDesc(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===123){s1=peg$c1083;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1084)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$parseStateDeclarationItems();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseStateDeclarationItems()}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$c1085;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1086)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1087(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$c1134){s2=peg$c1134;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1135)}}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$c1070;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1268(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$c1269;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1270)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){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$c1070;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1271(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$parseMachinePropertyDefaultNull(){var s0;if(input.substr(peg$currPos,4)===peg$c1272){s0=peg$c1272;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1273)}}return s0}function peg$parseMachinePropertyDefaultUndefined(){var s0;if(input.substr(peg$currPos,9)===peg$c1274){s0=peg$c1274;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1275)}}return s0}function peg$parseMachinePropertyDefaultBoolean(){var s0;if(input.substr(peg$currPos,4)===peg$c222){s0=peg$c222;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c223)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c225){s0=peg$c225;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c226)}}}return s0}function peg$parseMachinePropertyDefaultNumber(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===45){s1=peg$c1105;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1106)}}if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseIntegerLiteral();if(s2!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s3=peg$c309;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c310)}}if(s3!==peg$FAILED){s4=[];s5=peg$parseDecimalDigit();while(s5!==peg$FAILED){s4.push(s5);s5=peg$parseDecimalDigit()}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1276();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;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)===45){s1=peg$c1105;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1106)}}if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseIntegerLiteral();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1276();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){if(input.substr(peg$currPos,8)===peg$c1277){s0=peg$c1277;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1278)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1279){s0=peg$c1279;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1280)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c1281){s0=peg$c1281;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1282)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1283){s0=peg$c1283;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1284)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1285){s0=peg$c1285;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1286)}}}}}}}}return s0}function peg$parseMachinePropertyDefaultString(){var s0,s1,s2,s3;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===34){s1=peg$c242;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c243)}}if(s1!==peg$FAILED){s2=[];s3=peg$parseMachinePropertyDefaultStringCharacter();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseMachinePropertyDefaultStringCharacter()}if(s2!==peg$FAILED){if(input.charCodeAt(peg$currPos)===34){s3=peg$c242;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c243)}}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1287(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$parseMachinePropertyDefaultStringCharacter(){var s0,s1,s2;s0=peg$currPos;s1=peg$currPos;peg$silentFails++;if(input.charCodeAt(peg$currPos)===34){s2=peg$c242;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c243)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===92){s2=peg$c244;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c245)}}}peg$silentFails--;if(s2===peg$FAILED){s1=void 0}else{peg$currPos=s1;s1=peg$FAILED}if(s1!==peg$FAILED){if(input.length>peg$currPos){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c284)}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c1288(s2);s0=s1}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)===92){s1=peg$c244;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c245)}}if(s1!==peg$FAILED){s2=peg$parseMachinePropertyDefaultStringEscapeSequence();if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c1289(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseMachinePropertyDefaultStringEscapeSequence(){var s0,s1;if(input.charCodeAt(peg$currPos)===39){s0=peg$c272;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c273)}}if(s0===peg$FAILED){if(input.charCodeAt(peg$currPos)===34){s0=peg$c242;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c243)}}if(s0===peg$FAILED){if(input.charCodeAt(peg$currPos)===92){s0=peg$c244;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c245)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===98){s1=peg$c248;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c249)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1290()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===102){s1=peg$c251;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c252)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1291()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===110){s1=peg$c254;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c255)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1292()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===114){s1=peg$c257;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c258)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1293()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===116){s1=peg$c260;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c261)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1294()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===118){s1=peg$c263;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c264)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1295()}s0=s1}}}}}}}}return s0}function peg$parseMachinePropertyDefault(){var s0;s0=peg$parseMachinePropertyDefaultNull();if(s0===peg$FAILED){s0=peg$parseMachinePropertyDefaultUndefined();if(s0===peg$FAILED){s0=peg$parseMachinePropertyDefaultBoolean();if(s0===peg$FAILED){s0=peg$parseMachinePropertyDefaultNumber();if(s0===peg$FAILED){s0=peg$parseMachinePropertyDefaultString()}}}}return s0}function peg$parseMachineProperty(){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,8)===peg$c1296){s2=peg$c1296;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1297)}}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.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$parseMachinePropertyDefault();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$c1072;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1298(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$c1296){s2=peg$c1296;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1297)}}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)===59){s6=peg$c1072;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){peg$savedPos=s0;s1=peg$c1299(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$c1300){s1=peg$c1300;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1301)}}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$c1072;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1302(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$c1303){s1=peg$c1303;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1304)}}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$c1072;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1305(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$c1306){s1=peg$c1306;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1307)}}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$c1072;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1308(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$c1309)}}return s0}function peg$parseTerm(){var s0;s0=peg$parseExp();if(s0===peg$FAILED){s0=peg$parseStateDeclaration();if(s0===peg$FAILED){s0=peg$parseArrangeDeclaration();if(s0===peg$FAILED){s0=peg$parseNamedList();if(s0===peg$FAILED){s0=peg$parseMachineAttribute();if(s0===peg$FAILED){s0=peg$parseMachineProperty();if(s0===peg$FAILED){s0=peg$parseConfig()}}}}}}return s0}function peg$parseTermList(){var s0,s1;s0=[];s1=peg$parseTerm();while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseTerm()}return s0}peg$result=peg$startRuleFunction();if(peg$result!==peg$FAILED&&peg$currPos===input.length){return peg$result}else{if(peg$result!==peg$FAILED&&peg$currPos":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 makeTransition(this_se,from,to,isRight,_wasList,_wasIndex){const kind=isRight?arrow_right_kind(this_se.kind):arrow_left_kind(this_se.kind),edge={from:from,to:to,kind:kind,forced_only:kind==="forced",main_path:kind==="main"};const action=isRight?"r_action":"l_action",probability=isRight?"r_probability":"l_probability";if(this_se[action]){edge.action=this_se[action]}if(this_se[probability]){edge.probability=this_se[probability]}return edge}function wrap_parse(input,options){return peg$parse(input,options||{})}function compile_rule_transition_step(acc,from,to,this_se,next_se){const edges=[];const uFrom=Array.isArray(from)?from:[from],uTo=Array.isArray(to)?to:[to];uFrom.map((f=>{uTo.map((t=>{const right=makeTransition(this_se,f,t,true);if(right.kind!=="none"){edges.push(right)}const left=makeTransition(this_se,t,f,false);if(left.kind!=="none"){edges.push(left)}}))}));const new_acc=acc.concat(edges);if(next_se){return compile_rule_transition_step(new_acc,to,next_se.to,next_se,next_se.se)}else{return new_acc}}function compile_rule_handle_transition(rule){return compile_rule_transition_step([],rule.from,rule.se.to,rule.se,rule.se.se)}function compile_rule_handler(rule){if(rule.key==="transition"){return{agg_as:"transition",val:compile_rule_handle_transition(rule)}}if(rule.key==="machine_language"){return{agg_as:"machine_language",val:reduceTo6391.reduce(rule.value)}}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"];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:[],theme:[],flow:[],dot_preamble:[],arrange_declaration:[],arrange_start_declaration:[],arrange_end_declaration:[],machine_version:[]};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 assembled_transitions=[].concat(...results["transition"]);const result_cfg={start_states:results.start_states.length?results.start_states:[assembled_transitions[0].from],transitions:assembled_transitions};const oneOnlyKeys=["graph_layout","machine_name","machine_version","machine_comment","fsl_version","machine_license","machine_definition","machine_language","theme","flow","dot_preamble"];oneOnlyKeys.map((oneOnlyKey=>{if(results[oneOnlyKey].length>1){throw new JssmError(undefined,`May only have one ${oneOnlyKey} statement maximum: ${JSON.stringify(results[oneOnlyKey])}`)}else{if(results[oneOnlyKey].length){result_cfg[oneOnlyKey]=results[oneOnlyKey][0]}}}));["arrange_declaration","arrange_start_declaration","arrange_end_declaration","machine_author","machine_contributor","machine_reference","state_declaration"].map((multiKey=>{if(results[multiKey].length){result_cfg[multiKey]=results[multiKey]}}));return result_cfg}function make(plan){return compile(wrap_parse(plan))}function transfer_state_properties(state_decl){state_decl.declarations.map((d=>{switch(d.key){case"shape":state_decl.shape=d.value;break;case"color":state_decl.color=d.value;break;case"corners":state_decl.corners=d.value;break;case"linestyle":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"border-color":state_decl.borderColor=d.value;break;default:throw new JssmError(undefined,`Unknown state property: '${JSON.stringify(d)}'`)}}));return state_decl}class Machine{constructor({start_states:start_states,complete:complete=[],transitions:transitions,machine_author:machine_author,machine_comment:machine_comment,machine_contributor:machine_contributor,machine_definition:machine_definition,machine_language:machine_language,machine_license:machine_license,machine_name:machine_name,machine_version:machine_version,state_declaration:state_declaration,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}){this._instance_name=instance_name;this._state=start_states[0];this._states=new Map;this._state_declarations=new Map;this._edges=[];this._edge_map=new Map;this._named_transitions=new Map;this._actions=new Map;this._reverse_actions=new Map;this._reverse_action_targets=new Map;this._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._theme=theme;this._flow=flow;this._graph_layout=graph_layout;this._has_hooks=false;this._has_basic_hooks=false;this._has_named_hooks=false;this._has_entry_hooks=false;this._has_exit_hooks=false;this._has_global_action_hooks=false;this._has_transition_hooks=true;this._hooks=new Map;this._named_hooks=new Map;this._entry_hooks=new Map;this._exit_hooks=new Map;this._global_action_hooks=new Map;this._any_action_hook=undefined;this._standard_transition_hook=undefined;this._main_transition_hook=undefined;this._forced_transition_hook=undefined;this._any_transition_hook=undefined;this._standard_transition_hook=undefined;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))}))}transitions.map((tr=>{if(tr.from===undefined){throw new JssmError(this,`transition must define 'from': ${JSON.stringify(tr)}`)}if(tr.to===undefined){throw new JssmError(this,`transition must define 'to': ${JSON.stringify(tr)}`)}const cursor_from=this._states.get(tr.from)||{name:tr.from,from:[],to:[],complete:complete.includes(tr.from)};if(!this._states.has(tr.from)){this._new_state(cursor_from)}const cursor_to=this._states.get(tr.to)||{name:tr.to,from:[],to:[],complete:complete.includes(tr.to)};if(!this._states.has(tr.to)){this._new_state(cursor_to)}if(cursor_from.to.includes(tr.to)){throw new JssmError(this,`already has ${JSON.stringify(tr.from)} to ${JSON.stringify(tr.to)}`)}else{cursor_from.to.push(tr.to);cursor_to.from.push(tr.from)}this._edges.push(tr);const thisEdgeId=this._edges.length-1;if(tr.name){if(this._named_transitions.has(tr.name)){throw new JssmError(this,`named transition "${JSON.stringify(tr.name)}" already created`)}else{this._named_transitions.set(tr.name,thisEdgeId)}}const from_mapping=this._edge_map.get(tr.from)||new Map;if(!this._edge_map.has(tr.from)){this._edge_map.set(tr.from,from_mapping)}from_mapping.set(tr.to,thisEdgeId);if(tr.action){let actionMap=this._actions.get(tr.action);if(!actionMap){actionMap=new Map;this._actions.set(tr.action,actionMap)}if(actionMap.has(tr.from)){throw new JssmError(this,`action ${JSON.stringify(tr.action)} already attached to origin ${JSON.stringify(tr.from)}`)}else{actionMap.set(tr.from,thisEdgeId)}let rActionMap=this._reverse_actions.get(tr.from);if(!rActionMap){rActionMap=new Map;this._reverse_actions.set(tr.from,rActionMap)}rActionMap.set(tr.action,thisEdgeId);if(!this._reverse_action_targets.has(tr.to)){this._reverse_action_targets.set(tr.to,new Map)}}}))}_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}state_is_final(whichState){return this.state_is_terminal(whichState)&&this.state_is_complete(whichState)}is_final(){return this.state_is_final(this.state())}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())}theme(){return this._theme}flow(){return this._flow}get_transition_by_state_names(from,to){const emg=this._edge_map.get(from);if(emg){return emg.get(to)}else{return undefined}}lookup_transition_for(from,to){const id=this.get_transition_by_state_names(from,to);return id===undefined||id===null?undefined:this._edges[id]}list_transitions(whichState=this.state()){return{entrances:this.list_entrances(whichState),exits:this.list_exits(whichState)}}list_entrances(whichState=this.state()){return(this._states.get(whichState)||{from:undefined}).from||[]}list_exits(whichState=this.state()){return(this._states.get(whichState)||{to:undefined}).to||[]}probable_exits_for(whichState){const wstate=this._states.get(whichState);if(!wstate){throw new JssmError(this,`No such state ${JSON.stringify(whichState)} in probable_exits_for`)}const wstate_to=wstate.to,wtf=wstate_to.map((ws=>this.lookup_transition_for(this.state(),ws))).filter(Boolean);return wtf}probabilistic_transition(){const selected=weighted_rand_select(this.probable_exits_for(this.state()));return this.transition(selected.to)}probabilistic_walk(n){return seq(n).map((()=>{const state_was=this.state();this.probabilistic_transition();return state_was})).concat([this.state()])}probabilistic_histo_walk(n){return histograph(this.probabilistic_walk(n))}actions(whichState=this.state()){const wstate=this._reverse_actions.get(whichState);if(wstate){return Array.from(wstate.keys())}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}list_states_having_action(whichState){const wstate=this._actions.get(whichState);if(wstate){return Array.from(wstate.keys())}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}list_exit_actions(whichState=this.state()){const ra_base=this._reverse_actions.get(whichState);if(!ra_base){throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}return Array.from(ra_base.values()).map((edgeId=>this._edges[edgeId])).filter((o=>o.from===whichState)).map((filtered=>filtered.action))}probable_action_exits(whichState=this.state()){const ra_base=this._reverse_actions.get(whichState);if(!ra_base){throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}return Array.from(ra_base.values()).map((edgeId=>this._edges[edgeId])).filter((o=>o.from===whichState)).map((filtered=>({action:filtered.action,probability:filtered.probability})))}is_unenterable(whichState){if(!this.has_state(whichState)){throw new JssmError(this,`No such state ${whichState}`)}return this.list_entrances(whichState).length===0}has_unenterables(){return this.states().some((x=>this.is_unenterable(x)))}is_terminal(){return this.state_is_terminal(this.state())}state_is_terminal(whichState){if(!this.has_state(whichState)){throw new JssmError(this,`No such state ${whichState}`)}return this.list_exits(whichState).length===0}has_terminals(){return this.states().some((x=>this.state_is_terminal(x)))}is_complete(){return this.state_is_complete(this.state())}state_is_complete(whichState){const wstate=this._states.get(whichState);if(wstate){return wstate.complete}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}has_completes(){return this.states().some((x=>this.state_is_complete(x)))}set_hook(HookDesc){switch(HookDesc.kind){case"hook":this._hooks.set(hook_name(HookDesc.from,HookDesc.to),HookDesc.handler);this._has_hooks=true;this._has_basic_hooks=true;break;case"named":this._named_hooks.set(named_hook_name(HookDesc.from,HookDesc.to,HookDesc.action),HookDesc.handler);this._has_hooks=true;this._has_named_hooks=true;break;case"global action":this._global_action_hooks.set(HookDesc.action,HookDesc.handler);this._has_hooks=true;this._has_global_action_hooks=true;break;case"any action":this._any_action_hook=HookDesc.handler;this._has_hooks=true;break;case"standard transition":this._standard_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"main transition":this._main_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"forced transition":this._forced_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"any transition":this._any_transition_hook=HookDesc.handler;this._has_hooks=true;break;case"entry":this._entry_hooks.set(HookDesc.to,HookDesc.handler);this._has_hooks=true;this._has_entry_hooks=true;break;case"exit":this._exit_hooks.set(HookDesc.from,HookDesc.handler);this._has_hooks=true;this._has_exit_hooks=true;break;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}edges_between(from,to){return this._edges.filter((edge=>edge.from===from&&edge.to===to))}transition_impl(newStateOrAction,newData,wasForced,wasAction){let valid=false,trans_type,newState;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}}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}}if(valid){if(this._has_hooks){if(wasAction){if(this._any_action_hook!==undefined){if(this._any_action_hook()===false){return false}}const maybe_ga_hook=this._global_action_hooks.get(newStateOrAction);if(maybe_ga_hook!==undefined){if(maybe_ga_hook({action:newStateOrAction,forced:wasForced})===false){return false}}}if(this._any_transition_hook!==undefined){if(this._any_transition_hook()===false){return false}}if(this._has_exit_hooks){const maybe_ex_hook=this._exit_hooks.get(this._state);if(maybe_ex_hook!==undefined){if(maybe_ex_hook({from:this._state,forced:wasForced})===false){return false}}}if(this._has_named_hooks){if(wasAction){const nhn=named_hook_name(this._state,newState,newStateOrAction),n_maybe_hook=this._named_hooks.get(nhn);if(n_maybe_hook!==undefined){if(n_maybe_hook({from:this._state,to:newState,action:newStateOrAction})===false){return false}}}}if(this._has_basic_hooks){const hn=hook_name(this._state,newState),maybe_hook=this._hooks.get(hn);if(maybe_hook!==undefined){if(maybe_hook({from:this._state,to:newState,forced:wasForced,action:wasAction?newStateOrAction:undefined})===false){return false}}}if(trans_type==="legal"){if(this._standard_transition_hook!==undefined){if(this._standard_transition_hook({from:this._state,to:newState})===false){return false}}}if(trans_type==="main"){if(this._main_transition_hook!==undefined){if(this._main_transition_hook({from:this._state,to:newState})===false){return false}}}if(trans_type==="forced"){if(this._forced_transition_hook!==undefined){if(this._forced_transition_hook({from:this._state,to:newState})===false){return false}}}if(this._has_entry_hooks){const maybe_en_hook=this._entry_hooks.get(newState);if(maybe_en_hook!==undefined){if(maybe_en_hook({to:newState,forced:wasForced})===false){return false}}}this._state=newState;return true}else{this._state=newState;return true}}else{return false}}action(actionName,newData){return this.transition_impl(actionName,newData,false,true)}transition(newState,newData){return this.transition_impl(newState,newData,false,false)}force_transition(newState,newData){return this.transition_impl(newState,newData,true,false)}current_action_for(action){const action_base=this._actions.get(action);return action_base?action_base.get(this.state()):undefined}current_action_edge_for(action){const idx=this.current_action_for(action);if(idx===undefined||idx===null){throw new JssmError(this,`No such action ${JSON.stringify(action)}`)}return this._edges[idx]}valid_action(action,_newData){return this.current_action_for(action)!==undefined}valid_transition(newState,_newData){const transition_for=this.lookup_transition_for(this.state(),newState);if(!transition_for){return false}if(transition_for.forced_only){return false}return true}valid_force_transition(newState,_newData){return this.lookup_transition_for(this.state(),newState)!==undefined}instance_name(){return this._instance_name}sm(template_strings,...remainder){return sm(template_strings,...remainder)}}function sm(template_strings,...remainder){return new Machine(make(template_strings.reduce(((acc,val,idx)=>`${acc}${remainder[idx-1]}${val}`))))}function from(MachineAsString,ExtraConstructorFields){const to_decorate=make(MachineAsString);if(ExtraConstructorFields!==undefined){Object.keys(ExtraConstructorFields).map((key=>to_decorate[key]=ExtraConstructorFields[key]))}return new Machine(to_decorate)}exports.Machine=Machine;exports.arrow_direction=arrow_direction;exports.arrow_left_kind=arrow_left_kind;exports.arrow_right_kind=arrow_right_kind;exports.compile=compile;exports.from=from;exports.gviz_shapes=gviz_shapes;exports.histograph=histograph;exports.make=make;exports.named_colors=named_colors;exports.parse=wrap_parse;exports.seq=seq;exports.shapes=shapes;exports.sm=sm;exports.transfer_state_properties=transfer_state_properties;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";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()]}var reduceTo6391={reduce:reduce,reductions:reductions};const array_box_if_string=n=>typeof n==="string"?[n]:n;const weighted_rand_select=(options,probability_property="probability")=>{if(!Array.isArray(options)){throw new TypeError("options must be a non-empty array of objects")}if(!(typeof options[0]==="object")){throw new TypeError("options must be a non-empty array of objects")}const frand=cap=>Math.random()*cap,or_one=item=>item===undefined?1:item,prob_sum=options.reduce(((acc,val)=>acc+or_one(val[probability_property])),0),rnd=frand(prob_sum);let cursor=0,cursor_sum=0;while((cursor_sum+=or_one(options[cursor++][probability_property]))<=rnd){}return options[cursor-1]};function seq(n){if(!Number.isInteger(n)){throw new TypeError("seq/1 takes a non-negative integer n as an argument")}if(n<0){throw new TypeError("seq/1 takes a non-negative integer n as an argument")}return new Array(n).fill(true).map(((_,i)=>i))}const histograph=ar=>ar.sort().reduce(((m,v)=>(m.set(v,m.has(v)?m.get(v)+1:1),m)),new Map);const weighted_sample_select=(n,options,probability_property)=>seq(n).map((_i=>weighted_rand_select(options,probability_property)));const weighted_histo_key=(n,opts,prob_prop,extract)=>histograph(weighted_sample_select(n,opts,prob_prop).map((s=>s[extract])));const hook_name=(from,to)=>JSON.stringify([from,to]);const named_hook_name=(from,to,action)=>JSON.stringify([from,to,action]);const gviz_shapes=["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=gviz_shapes;const named_colors=["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"];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;i"),peg$c128="->",peg$c129=peg$literalExpectation("->",false),peg$c130="→",peg$c131=peg$literalExpectation("→",false),peg$c132=function(){return"->"},peg$c133=peg$otherExpectation("two way light arrow <->"),peg$c134="<->",peg$c135=peg$literalExpectation("<->",false),peg$c136="↔",peg$c137=peg$literalExpectation("↔",false),peg$c138=function(){return"<->"},peg$c139=peg$otherExpectation("back light arrow <-"),peg$c140="<-",peg$c141=peg$literalExpectation("<-",false),peg$c142="←",peg$c143=peg$literalExpectation("←",false),peg$c144=function(){return"<-"},peg$c145=peg$otherExpectation("forward fat arrow =>"),peg$c146="=>",peg$c147=peg$literalExpectation("=>",false),peg$c148="⇒",peg$c149=peg$literalExpectation("⇒",false),peg$c150=function(){return"=>"},peg$c151=peg$otherExpectation("two way fat arrow <=>"),peg$c152="<=>",peg$c153=peg$literalExpectation("<=>",false),peg$c154="⇔",peg$c155=peg$literalExpectation("⇔",false),peg$c156=function(){return"<=>"},peg$c157=peg$otherExpectation("back fat arrow <="),peg$c158="<=",peg$c159=peg$literalExpectation("<=",false),peg$c160="⇐",peg$c161=peg$literalExpectation("⇐",false),peg$c162=function(){return"<="},peg$c163=peg$otherExpectation("forward tilde arrow ~>"),peg$c164="~>",peg$c165=peg$literalExpectation("~>",false),peg$c166="↛",peg$c167=peg$literalExpectation("↛",false),peg$c168=function(){return"~>"},peg$c169=peg$otherExpectation("two way tilde arrow <~>"),peg$c170="<~>",peg$c171=peg$literalExpectation("<~>",false),peg$c172="↮",peg$c173=peg$literalExpectation("↮",false),peg$c174=function(){return"<~>"},peg$c175=peg$otherExpectation("back tilde arrow <~"),peg$c176="<~",peg$c177=peg$literalExpectation("<~",false),peg$c178="↚",peg$c179=peg$literalExpectation("↚",false),peg$c180=function(){return"<~"},peg$c181=peg$otherExpectation("light fat arrow <-=>"),peg$c182="<-=>",peg$c183=peg$literalExpectation("<-=>",false),peg$c184="←⇒",peg$c185=peg$literalExpectation("←⇒",false),peg$c186=function(){return"<-=>"},peg$c187=peg$otherExpectation("light tilde arrow <-~>"),peg$c188="<-~>",peg$c189=peg$literalExpectation("<-~>",false),peg$c190="←↛",peg$c191=peg$literalExpectation("←↛",false),peg$c192=function(){return"<-~>"},peg$c193=peg$otherExpectation("fat light arrow <=->"),peg$c194="<=->",peg$c195=peg$literalExpectation("<=->",false),peg$c196="⇐→",peg$c197=peg$literalExpectation("⇐→",false),peg$c198=function(){return"<=->"},peg$c199=peg$otherExpectation("fat tilde arrow <=~>"),peg$c200="<=~>",peg$c201=peg$literalExpectation("<=~>",false),peg$c202="⇐↛",peg$c203=peg$literalExpectation("⇐↛",false),peg$c204=function(){return"<=~>"},peg$c205=peg$otherExpectation("tilde light arrow <~->"),peg$c206="<~->",peg$c207=peg$literalExpectation("<~->",false),peg$c208="↚→",peg$c209=peg$literalExpectation("↚→",false),peg$c210=function(){return"<~->"},peg$c211=peg$otherExpectation("tilde fat arrow <~=>"),peg$c212="<~=>",peg$c213=peg$literalExpectation("<~=>",false),peg$c214="↚⇒",peg$c215=peg$literalExpectation("↚⇒",false),peg$c216=function(){return"<~=>"},peg$c217=peg$otherExpectation("light arrow"),peg$c218=peg$otherExpectation("fat arrow"),peg$c219=peg$otherExpectation("tilde arrow"),peg$c220=peg$otherExpectation("mixed arrow"),peg$c221=peg$otherExpectation("arrow"),peg$c222="true",peg$c223=peg$literalExpectation("true",false),peg$c225="false",peg$c226=peg$literalExpectation("false",false),peg$c228="regular",peg$c229=peg$literalExpectation("regular",false),peg$c230="rounded",peg$c231=peg$literalExpectation("rounded",false),peg$c232="lined",peg$c233=peg$literalExpectation("lined",false),peg$c234="solid",peg$c235=peg$literalExpectation("solid",false),peg$c236="dotted",peg$c237=peg$literalExpectation("dotted",false),peg$c238="dashed",peg$c239=peg$literalExpectation("dashed",false),peg$c240=/^[0-9a-fA-F]/,peg$c241=peg$classExpectation([["0","9"],["a","f"],["A","F"]],false,false),peg$c242='"',peg$c243=peg$literalExpectation('"',false),peg$c244="\\",peg$c245=peg$literalExpectation("\\",false),peg$c246="/",peg$c247=peg$literalExpectation("/",false),peg$c248="b",peg$c249=peg$literalExpectation("b",false),peg$c250=function(){return"\b"},peg$c251="f",peg$c252=peg$literalExpectation("f",false),peg$c253=function(){return"\f"},peg$c254="n",peg$c255=peg$literalExpectation("n",false),peg$c256=function(){return"\n"},peg$c257="r",peg$c258=peg$literalExpectation("r",false),peg$c259=function(){return"\r"},peg$c260="t",peg$c261=peg$literalExpectation("t",false),peg$c262=function(){return"\t"},peg$c263="v",peg$c264=peg$literalExpectation("v",false),peg$c265=function(){return"\v"},peg$c266="u",peg$c267=peg$literalExpectation("u",false),peg$c268=function(digits){return String.fromCharCode(parseInt(digits,16))},peg$c269=function(Sequence){return Sequence},peg$c270=/^[ -!#-[\]-\u10FFFF]/,peg$c271=peg$classExpectation([[" ","!"],["#","["],["]","ჿ"],"F","F"],false,false),peg$c272="'",peg$c273=peg$literalExpectation("'",false),peg$c274=/^[ -&(-[\]-\u10FFFF]/,peg$c275=peg$classExpectation([[" ","&"],["(","["],["]","ჿ"],"F","F"],false,false),peg$c276=peg$otherExpectation("action label"),peg$c277=function(chars){return chars.join("")},peg$c278=/^[\n\r\u2028\u2029]/,peg$c279=peg$classExpectation(["\n","\r","\u2028","\u2029"],false,false),peg$c282="*/",peg$c283=peg$literalExpectation("*/",false),peg$c284=peg$anyExpectation(),peg$c285=peg$otherExpectation("block comment"),peg$c286="/*",peg$c287=peg$literalExpectation("/*",false),peg$c288=peg$otherExpectation("line comment"),peg$c289="//",peg$c290=peg$literalExpectation("//",false),peg$c291=peg$otherExpectation("whitespace"),peg$c292=/^[ \t\r\n\x0B]/,peg$c293=peg$classExpectation([" ","\t","\r","\n","\v"],false,false),peg$c294=peg$otherExpectation("string"),peg$c295=/^[0-9a-zA-Z._!$\^*!?,\x80-\uFFFF]/,peg$c296=peg$classExpectation([["0","9"],["a","z"],["A","Z"],".","_","!","$","^","*","!","?",",",["€","￿"]],false,false),peg$c297=/^[0-9a-zA-Z.+=_\^()*&$#@!?,\x80-\uFFFF]/,peg$c298=peg$classExpectation([["0","9"],["a","z"],["A","Z"],".","+","=","_","^","(",")","*","&","$","#","@","!","?",",",["€","￿"]],false,false),peg$c299=peg$otherExpectation("atom"),peg$c300=function(firstletter,text){return firstletter+(text||[]).join("")},peg$c301=peg$otherExpectation("label"),peg$c302="0",peg$c303=peg$literalExpectation("0",false),peg$c304=/^[0-9]/,peg$c305=peg$classExpectation([["0","9"]],false,false),peg$c306=/^[1-9]/,peg$c307=peg$classExpectation([["1","9"]],false,false),peg$c308=peg$otherExpectation("nonneg number"),peg$c309=".",peg$c310=peg$literalExpectation(".",false),peg$c311=function(){return parseFloat(text())},peg$c312=function(major,minor,patch){return{major:parseInt(major,10),minor:parseInt(minor,10),patch:parseInt(patch,10),full:text()}},peg$c323="http://",peg$c324=peg$literalExpectation("http://",false),peg$c325="https://",peg$c326=peg$literalExpectation("https://",false),peg$c327=/^[a-zA-Z0-9!*'():;@&=+$,\/?#[\]_.~\-]/,peg$c328=peg$classExpectation([["a","z"],["A","Z"],["0","9"],"!","*","'","(",")",":",";","@","&","=","+","$",",","/","?","#","[","]","_",".","~","-"],false,false),peg$c329=function(protocol){return text()},peg$c330="aliceblue",peg$c331=peg$literalExpectation("aliceblue",false),peg$c332=function(){return"#f0f8ffff"},peg$c333="AliceBlue",peg$c334=peg$literalExpectation("AliceBlue",false),peg$c335="antiquewhite",peg$c336=peg$literalExpectation("antiquewhite",false),peg$c337=function(){return"#faebd7ff"},peg$c338="AntiqueWhite",peg$c339=peg$literalExpectation("AntiqueWhite",false),peg$c340="aquamarine",peg$c341=peg$literalExpectation("aquamarine",false),peg$c342=function(){return"#7fffd4ff"},peg$c343="Aquamarine",peg$c344=peg$literalExpectation("Aquamarine",false),peg$c345="aqua",peg$c346=peg$literalExpectation("aqua",false),peg$c347=function(){return"#00ffffff"},peg$c348="Aqua",peg$c349=peg$literalExpectation("Aqua",false),peg$c350="azure",peg$c351=peg$literalExpectation("azure",false),peg$c352=function(){return"#f0ffffff"},peg$c353="Azure",peg$c354=peg$literalExpectation("Azure",false),peg$c355="beige",peg$c356=peg$literalExpectation("beige",false),peg$c357=function(){return"#f5f5dcff"},peg$c358="Beige",peg$c359=peg$literalExpectation("Beige",false),peg$c360="bisque",peg$c361=peg$literalExpectation("bisque",false),peg$c362=function(){return"#ffe4c4ff"},peg$c363="Bisque",peg$c364=peg$literalExpectation("Bisque",false),peg$c365="black",peg$c366=peg$literalExpectation("black",false),peg$c367=function(){return"#000000ff"},peg$c368="Black",peg$c369=peg$literalExpectation("Black",false),peg$c370="blanchedalmond",peg$c371=peg$literalExpectation("blanchedalmond",false),peg$c372=function(){return"#ffebcdff"},peg$c373="BlanchedAlmond",peg$c374=peg$literalExpectation("BlanchedAlmond",false),peg$c375="blueviolet",peg$c376=peg$literalExpectation("blueviolet",false),peg$c377=function(){return"#8a2be2ff"},peg$c378="BlueViolet",peg$c379=peg$literalExpectation("BlueViolet",false),peg$c380="blue",peg$c381=peg$literalExpectation("blue",false),peg$c382=function(){return"#0000ffff"},peg$c383="Blue",peg$c384=peg$literalExpectation("Blue",false),peg$c385="brown",peg$c386=peg$literalExpectation("brown",false),peg$c387=function(){return"#a52a2aff"},peg$c388="Brown",peg$c389=peg$literalExpectation("Brown",false),peg$c390="burlywood",peg$c391=peg$literalExpectation("burlywood",false),peg$c392=function(){return"#deb887ff"},peg$c393="BurlyWood",peg$c394=peg$literalExpectation("BurlyWood",false),peg$c395="cadetblue",peg$c396=peg$literalExpectation("cadetblue",false),peg$c397=function(){return"#5f9ea0ff"},peg$c398="CadetBlue",peg$c399=peg$literalExpectation("CadetBlue",false),peg$c400="chartreuse",peg$c401=peg$literalExpectation("chartreuse",false),peg$c402=function(){return"#7fff00ff"},peg$c403="Chartreuse",peg$c404=peg$literalExpectation("Chartreuse",false),peg$c405="chocolate",peg$c406=peg$literalExpectation("chocolate",false),peg$c407=function(){return"#d2691eff"},peg$c408="Chocolate",peg$c409=peg$literalExpectation("Chocolate",false),peg$c410="coral",peg$c411=peg$literalExpectation("coral",false),peg$c412=function(){return"#ff7f50ff"},peg$c413="Coral",peg$c414=peg$literalExpectation("Coral",false),peg$c415="cornflowerblue",peg$c416=peg$literalExpectation("cornflowerblue",false),peg$c417=function(){return"#6495edff"},peg$c418="CornflowerBlue",peg$c419=peg$literalExpectation("CornflowerBlue",false),peg$c420="cornsilk",peg$c421=peg$literalExpectation("cornsilk",false),peg$c422=function(){return"#fff8dcff"},peg$c423="Cornsilk",peg$c424=peg$literalExpectation("Cornsilk",false),peg$c425="crimson",peg$c426=peg$literalExpectation("crimson",false),peg$c427=function(){return"#dc143cff"},peg$c428="Crimson",peg$c429=peg$literalExpectation("Crimson",false),peg$c430="cyan",peg$c431=peg$literalExpectation("cyan",false),peg$c432="Cyan",peg$c433=peg$literalExpectation("Cyan",false),peg$c434="darkblue",peg$c435=peg$literalExpectation("darkblue",false),peg$c436=function(){return"#00008bff"},peg$c437="DarkBlue",peg$c438=peg$literalExpectation("DarkBlue",false),peg$c439="darkcyan",peg$c440=peg$literalExpectation("darkcyan",false),peg$c441=function(){return"#008b8bff"},peg$c442="DarkCyan",peg$c443=peg$literalExpectation("DarkCyan",false),peg$c444="darkgoldenrod",peg$c445=peg$literalExpectation("darkgoldenrod",false),peg$c446=function(){return"#b8860bff"},peg$c447="DarkGoldenRod",peg$c448=peg$literalExpectation("DarkGoldenRod",false),peg$c449="darkgray",peg$c450=peg$literalExpectation("darkgray",false),peg$c451=function(){return"#a9a9a9ff"},peg$c452="DarkGray",peg$c453=peg$literalExpectation("DarkGray",false),peg$c454="darkgrey",peg$c455=peg$literalExpectation("darkgrey",false),peg$c456="DarkGrey",peg$c457=peg$literalExpectation("DarkGrey",false),peg$c458="darkgreen",peg$c459=peg$literalExpectation("darkgreen",false),peg$c460=function(){return"#006400ff"},peg$c461="DarkGreen",peg$c462=peg$literalExpectation("DarkGreen",false),peg$c463="darkkhaki",peg$c464=peg$literalExpectation("darkkhaki",false),peg$c465=function(){return"#bdb76bff"},peg$c466="DarkKhaki",peg$c467=peg$literalExpectation("DarkKhaki",false),peg$c468="darkmagenta",peg$c469=peg$literalExpectation("darkmagenta",false),peg$c470=function(){return"#8b008bff"},peg$c471="DarkMagenta",peg$c472=peg$literalExpectation("DarkMagenta",false),peg$c473="darkolivegreen",peg$c474=peg$literalExpectation("darkolivegreen",false),peg$c475=function(){return"#556b2fff"},peg$c476="DarkOliveGreen",peg$c477=peg$literalExpectation("DarkOliveGreen",false),peg$c478="darkorange",peg$c479=peg$literalExpectation("darkorange",false),peg$c480=function(){return"#ff8c00ff"},peg$c481="Darkorange",peg$c482=peg$literalExpectation("Darkorange",false),peg$c483="darkorchid",peg$c484=peg$literalExpectation("darkorchid",false),peg$c485=function(){return"#9932ccff"},peg$c486="DarkOrchid",peg$c487=peg$literalExpectation("DarkOrchid",false),peg$c488="darkred",peg$c489=peg$literalExpectation("darkred",false),peg$c490=function(){return"#8b0000ff"},peg$c491="DarkRed",peg$c492=peg$literalExpectation("DarkRed",false),peg$c493="darksalmon",peg$c494=peg$literalExpectation("darksalmon",false),peg$c495=function(){return"#e9967aff"},peg$c496="DarkSalmon",peg$c497=peg$literalExpectation("DarkSalmon",false),peg$c498="darkseagreen",peg$c499=peg$literalExpectation("darkseagreen",false),peg$c500=function(){return"#8fbc8fff"},peg$c501="DarkSeaGreen",peg$c502=peg$literalExpectation("DarkSeaGreen",false),peg$c503="darkslateblue",peg$c504=peg$literalExpectation("darkslateblue",false),peg$c505=function(){return"#483d8bff"},peg$c506="DarkSlateBlue",peg$c507=peg$literalExpectation("DarkSlateBlue",false),peg$c508="darkslategray",peg$c509=peg$literalExpectation("darkslategray",false),peg$c510=function(){return"#2f4f4fff"},peg$c511="DarkSlateGray",peg$c512=peg$literalExpectation("DarkSlateGray",false),peg$c513="darkslategrey",peg$c514=peg$literalExpectation("darkslategrey",false),peg$c515="DarkSlateGrey",peg$c516=peg$literalExpectation("DarkSlateGrey",false),peg$c517="darkturquoise",peg$c518=peg$literalExpectation("darkturquoise",false),peg$c519=function(){return"#00ced1ff"},peg$c520="DarkTurquoise",peg$c521=peg$literalExpectation("DarkTurquoise",false),peg$c522="darkviolet",peg$c523=peg$literalExpectation("darkviolet",false),peg$c524=function(){return"#9400d3ff"},peg$c525="DarkViolet",peg$c526=peg$literalExpectation("DarkViolet",false),peg$c527="deeppink",peg$c528=peg$literalExpectation("deeppink",false),peg$c529=function(){return"#ff1493ff"},peg$c530="DeepPink",peg$c531=peg$literalExpectation("DeepPink",false),peg$c532="deepskyblue",peg$c533=peg$literalExpectation("deepskyblue",false),peg$c534=function(){return"#00bfffff"},peg$c535="DeepSkyBlue",peg$c536=peg$literalExpectation("DeepSkyBlue",false),peg$c537="dimgray",peg$c538=peg$literalExpectation("dimgray",false),peg$c539=function(){return"#696969ff"},peg$c540="DimGray",peg$c541=peg$literalExpectation("DimGray",false),peg$c542="dimgrey",peg$c543=peg$literalExpectation("dimgrey",false),peg$c544="DimGrey",peg$c545=peg$literalExpectation("DimGrey",false),peg$c546="dodgerblue",peg$c547=peg$literalExpectation("dodgerblue",false),peg$c548=function(){return"#1e90ffff"},peg$c549="DodgerBlue",peg$c550=peg$literalExpectation("DodgerBlue",false),peg$c551="firebrick",peg$c552=peg$literalExpectation("firebrick",false),peg$c553=function(){return"#b22222ff"},peg$c554="FireBrick",peg$c555=peg$literalExpectation("FireBrick",false),peg$c556="floralwhite",peg$c557=peg$literalExpectation("floralwhite",false),peg$c558=function(){return"#fffaf0ff"},peg$c559="FloralWhite",peg$c560=peg$literalExpectation("FloralWhite",false),peg$c561="forestgreen",peg$c562=peg$literalExpectation("forestgreen",false),peg$c563=function(){return"#228b22ff"},peg$c564="ForestGreen",peg$c565=peg$literalExpectation("ForestGreen",false),peg$c566="fuchsia",peg$c567=peg$literalExpectation("fuchsia",false),peg$c568=function(){return"#ff00ffff"},peg$c569="Fuchsia",peg$c570=peg$literalExpectation("Fuchsia",false),peg$c571="gainsboro",peg$c572=peg$literalExpectation("gainsboro",false),peg$c573=function(){return"#dcdcdcff"},peg$c574="Gainsboro",peg$c575=peg$literalExpectation("Gainsboro",false),peg$c576="ghostwhite",peg$c577=peg$literalExpectation("ghostwhite",false),peg$c578=function(){return"#f8f8ffff"},peg$c579="GhostWhite",peg$c580=peg$literalExpectation("GhostWhite",false),peg$c581="goldenrod",peg$c582=peg$literalExpectation("goldenrod",false),peg$c583=function(){return"#daa520ff"},peg$c584="GoldenRod",peg$c585=peg$literalExpectation("GoldenRod",false),peg$c586="gold",peg$c587=peg$literalExpectation("gold",false),peg$c588=function(){return"#ffd700ff"},peg$c589="Gold",peg$c590=peg$literalExpectation("Gold",false),peg$c591="gray",peg$c592=peg$literalExpectation("gray",false),peg$c593=function(){return"#808080ff"},peg$c594="Gray",peg$c595=peg$literalExpectation("Gray",false),peg$c596="grey",peg$c597=peg$literalExpectation("grey",false),peg$c598="Grey",peg$c599=peg$literalExpectation("Grey",false),peg$c600="greenyellow",peg$c601=peg$literalExpectation("greenyellow",false),peg$c602=function(){return"#adff2fff"},peg$c603="GreenYellow",peg$c604=peg$literalExpectation("GreenYellow",false),peg$c605="green",peg$c606=peg$literalExpectation("green",false),peg$c607=function(){return"#008000ff"},peg$c608="Green",peg$c609=peg$literalExpectation("Green",false),peg$c610="honeydew",peg$c611=peg$literalExpectation("honeydew",false),peg$c612=function(){return"#f0fff0ff"},peg$c613="HoneyDew",peg$c614=peg$literalExpectation("HoneyDew",false),peg$c615="hotpink",peg$c616=peg$literalExpectation("hotpink",false),peg$c617=function(){return"#ff69b4ff"},peg$c618="HotPink",peg$c619=peg$literalExpectation("HotPink",false),peg$c620="indianred",peg$c621=peg$literalExpectation("indianred",false),peg$c622=function(){return"#cd5c5cff"},peg$c623="IndianRed",peg$c624=peg$literalExpectation("IndianRed",false),peg$c625="indigo",peg$c626=peg$literalExpectation("indigo",false),peg$c627=function(){return"#4b0082ff"},peg$c628="Indigo",peg$c629=peg$literalExpectation("Indigo",false),peg$c630="ivory",peg$c631=peg$literalExpectation("ivory",false),peg$c632=function(){return"#fffff0ff"},peg$c633="Ivory",peg$c634=peg$literalExpectation("Ivory",false),peg$c635="khaki",peg$c636=peg$literalExpectation("khaki",false),peg$c637=function(){return"#f0e68cff"},peg$c638="Khaki",peg$c639=peg$literalExpectation("Khaki",false),peg$c640="lavenderblush",peg$c641=peg$literalExpectation("lavenderblush",false),peg$c642=function(){return"#fff0f5ff"},peg$c643="LavenderBlush",peg$c644=peg$literalExpectation("LavenderBlush",false),peg$c645="lavender",peg$c646=peg$literalExpectation("lavender",false),peg$c647=function(){return"#e6e6faff"},peg$c648="Lavender",peg$c649=peg$literalExpectation("Lavender",false),peg$c650="lawngreen",peg$c651=peg$literalExpectation("lawngreen",false),peg$c652=function(){return"#7cfc00ff"},peg$c653="LawnGreen",peg$c654=peg$literalExpectation("LawnGreen",false),peg$c655="lemonchiffon",peg$c656=peg$literalExpectation("lemonchiffon",false),peg$c657=function(){return"#fffacdff"},peg$c658="LemonChiffon",peg$c659=peg$literalExpectation("LemonChiffon",false),peg$c660="lightblue",peg$c661=peg$literalExpectation("lightblue",false),peg$c662=function(){return"#add8e6ff"},peg$c663="LightBlue",peg$c664=peg$literalExpectation("LightBlue",false),peg$c665="lightcoral",peg$c666=peg$literalExpectation("lightcoral",false),peg$c667=function(){return"#f08080ff"},peg$c668="LightCoral",peg$c669=peg$literalExpectation("LightCoral",false),peg$c670="lightcyan",peg$c671=peg$literalExpectation("lightcyan",false),peg$c672=function(){return"#e0ffffff"},peg$c673="LightCyan",peg$c674=peg$literalExpectation("LightCyan",false),peg$c675="lightgoldenrodyellow",peg$c676=peg$literalExpectation("lightgoldenrodyellow",false),peg$c677=function(){return"#fafad2ff"},peg$c678="LightGoldenRodYellow",peg$c679=peg$literalExpectation("LightGoldenRodYellow",false),peg$c680="lightgray",peg$c681=peg$literalExpectation("lightgray",false),peg$c682=function(){return"#d3d3d3ff"},peg$c683="LightGray",peg$c684=peg$literalExpectation("LightGray",false),peg$c685="lightgrey",peg$c686=peg$literalExpectation("lightgrey",false),peg$c687="LightGrey",peg$c688=peg$literalExpectation("LightGrey",false),peg$c689="lightgreen",peg$c690=peg$literalExpectation("lightgreen",false),peg$c691=function(){return"#90ee90ff"},peg$c692="LightGreen",peg$c693=peg$literalExpectation("LightGreen",false),peg$c694="lightpink",peg$c695=peg$literalExpectation("lightpink",false),peg$c696=function(){return"#ffb6c1ff"},peg$c697="LightPink",peg$c698=peg$literalExpectation("LightPink",false),peg$c699="lightsalmon",peg$c700=peg$literalExpectation("lightsalmon",false),peg$c701=function(){return"#ffa07aff"},peg$c702="LightSalmon",peg$c703=peg$literalExpectation("LightSalmon",false),peg$c704="lightseagreen",peg$c705=peg$literalExpectation("lightseagreen",false),peg$c706=function(){return"#20b2aaff"},peg$c707="LightSeaGreen",peg$c708=peg$literalExpectation("LightSeaGreen",false),peg$c709="lightskyblue",peg$c710=peg$literalExpectation("lightskyblue",false),peg$c711=function(){return"#87cefaff"},peg$c712="LightSkyBlue",peg$c713=peg$literalExpectation("LightSkyBlue",false),peg$c714="lightslategray",peg$c715=peg$literalExpectation("lightslategray",false),peg$c716=function(){return"#778899ff"},peg$c717="LightSlateGray",peg$c718=peg$literalExpectation("LightSlateGray",false),peg$c719="lightslategrey",peg$c720=peg$literalExpectation("lightslategrey",false),peg$c721="LightSlateGrey",peg$c722=peg$literalExpectation("LightSlateGrey",false),peg$c723="lightsteelblue",peg$c724=peg$literalExpectation("lightsteelblue",false),peg$c725=function(){return"#b0c4deff"},peg$c726="LightSteelBlue",peg$c727=peg$literalExpectation("LightSteelBlue",false),peg$c728="lightyellow",peg$c729=peg$literalExpectation("lightyellow",false),peg$c730=function(){return"#ffffe0ff"},peg$c731="LightYellow",peg$c732=peg$literalExpectation("LightYellow",false),peg$c733="limegreen",peg$c734=peg$literalExpectation("limegreen",false),peg$c735=function(){return"#32cd32ff"},peg$c736="LimeGreen",peg$c737=peg$literalExpectation("LimeGreen",false),peg$c738="lime",peg$c739=peg$literalExpectation("lime",false),peg$c740=function(){return"#00ff00ff"},peg$c741="Lime",peg$c742=peg$literalExpectation("Lime",false),peg$c743="linen",peg$c744=peg$literalExpectation("linen",false),peg$c745=function(){return"#faf0e6ff"},peg$c746="Linen",peg$c747=peg$literalExpectation("Linen",false),peg$c748="magenta",peg$c749=peg$literalExpectation("magenta",false),peg$c750="Magenta",peg$c751=peg$literalExpectation("Magenta",false),peg$c752="maroon",peg$c753=peg$literalExpectation("maroon",false),peg$c754=function(){return"#800000ff"},peg$c755="Maroon",peg$c756=peg$literalExpectation("Maroon",false),peg$c757="mediumaquamarine",peg$c758=peg$literalExpectation("mediumaquamarine",false),peg$c759=function(){return"#66cdaaff"},peg$c760="MediumAquaMarine",peg$c761=peg$literalExpectation("MediumAquaMarine",false),peg$c762="mediumblue",peg$c763=peg$literalExpectation("mediumblue",false),peg$c764=function(){return"#0000cdff"},peg$c765="MediumBlue",peg$c766=peg$literalExpectation("MediumBlue",false),peg$c767="mediumorchid",peg$c768=peg$literalExpectation("mediumorchid",false),peg$c769=function(){return"#ba55d3ff"},peg$c770="MediumOrchid",peg$c771=peg$literalExpectation("MediumOrchid",false),peg$c772="mediumpurple",peg$c773=peg$literalExpectation("mediumpurple",false),peg$c774=function(){return"#9370d8ff"},peg$c775="MediumPurple",peg$c776=peg$literalExpectation("MediumPurple",false),peg$c777="mediumseagreen",peg$c778=peg$literalExpectation("mediumseagreen",false),peg$c779=function(){return"#3cb371ff"},peg$c780="MediumSeaGreen",peg$c781=peg$literalExpectation("MediumSeaGreen",false),peg$c782="mediumslateblue",peg$c783=peg$literalExpectation("mediumslateblue",false),peg$c784=function(){return"#7b68eeff"},peg$c785="MediumSlateBlue",peg$c786=peg$literalExpectation("MediumSlateBlue",false),peg$c787="mediumspringgreen",peg$c788=peg$literalExpectation("mediumspringgreen",false),peg$c789=function(){return"#00fa9aff"},peg$c790="MediumSpringGreen",peg$c791=peg$literalExpectation("MediumSpringGreen",false),peg$c792="mediumturquoise",peg$c793=peg$literalExpectation("mediumturquoise",false),peg$c794=function(){return"#48d1ccff"},peg$c795="MediumTurquoise",peg$c796=peg$literalExpectation("MediumTurquoise",false),peg$c797="mediumvioletred",peg$c798=peg$literalExpectation("mediumvioletred",false),peg$c799=function(){return"#c71585ff"},peg$c800="MediumVioletRed",peg$c801=peg$literalExpectation("MediumVioletRed",false),peg$c802="midnightblue",peg$c803=peg$literalExpectation("midnightblue",false),peg$c804=function(){return"#191970ff"},peg$c805="MidnightBlue",peg$c806=peg$literalExpectation("MidnightBlue",false),peg$c807="mintcream",peg$c808=peg$literalExpectation("mintcream",false),peg$c809=function(){return"#f5fffaff"},peg$c810="MintCream",peg$c811=peg$literalExpectation("MintCream",false),peg$c812="mistyrose",peg$c813=peg$literalExpectation("mistyrose",false),peg$c814=function(){return"#ffe4e1ff"},peg$c815="MistyRose",peg$c816=peg$literalExpectation("MistyRose",false),peg$c817="moccasin",peg$c818=peg$literalExpectation("moccasin",false),peg$c819=function(){return"#ffe4b5ff"},peg$c820="Moccasin",peg$c821=peg$literalExpectation("Moccasin",false),peg$c822="navajowhite",peg$c823=peg$literalExpectation("navajowhite",false),peg$c824=function(){return"#ffdeadff"},peg$c825="NavajoWhite",peg$c826=peg$literalExpectation("NavajoWhite",false),peg$c827="navy",peg$c828=peg$literalExpectation("navy",false),peg$c829=function(){return"#000080ff"},peg$c830="Navy",peg$c831=peg$literalExpectation("Navy",false),peg$c832="oldlace",peg$c833=peg$literalExpectation("oldlace",false),peg$c834=function(){return"#fdf5e6ff"},peg$c835="OldLace",peg$c836=peg$literalExpectation("OldLace",false),peg$c837="olivedrab",peg$c838=peg$literalExpectation("olivedrab",false),peg$c839=function(){return"#6b8e23ff"},peg$c840="OliveDrab",peg$c841=peg$literalExpectation("OliveDrab",false),peg$c842="olive",peg$c843=peg$literalExpectation("olive",false),peg$c844=function(){return"#808000ff"},peg$c845="Olive",peg$c846=peg$literalExpectation("Olive",false),peg$c847="orangered",peg$c848=peg$literalExpectation("orangered",false),peg$c849=function(){return"#ff4500ff"},peg$c850="OrangeRed",peg$c851=peg$literalExpectation("OrangeRed",false),peg$c852="orange",peg$c853=peg$literalExpectation("orange",false),peg$c854=function(){return"#ffa500ff"},peg$c855="Orange",peg$c856=peg$literalExpectation("Orange",false),peg$c857="orchid",peg$c858=peg$literalExpectation("orchid",false),peg$c859=function(){return"#da70d6ff"},peg$c860="Orchid",peg$c861=peg$literalExpectation("Orchid",false),peg$c862="palegoldenrod",peg$c863=peg$literalExpectation("palegoldenrod",false),peg$c864=function(){return"#eee8aaff"},peg$c865="PaleGoldenRod",peg$c866=peg$literalExpectation("PaleGoldenRod",false),peg$c867="palegreen",peg$c868=peg$literalExpectation("palegreen",false),peg$c869=function(){return"#98fb98ff"},peg$c870="PaleGreen",peg$c871=peg$literalExpectation("PaleGreen",false),peg$c872="paleturquoise",peg$c873=peg$literalExpectation("paleturquoise",false),peg$c874=function(){return"#afeeeeff"},peg$c875="PaleTurquoise",peg$c876=peg$literalExpectation("PaleTurquoise",false),peg$c877="palevioletred",peg$c878=peg$literalExpectation("palevioletred",false),peg$c879=function(){return"#d87093ff"},peg$c880="PaleVioletRed",peg$c881=peg$literalExpectation("PaleVioletRed",false),peg$c882="papayawhip",peg$c883=peg$literalExpectation("papayawhip",false),peg$c884=function(){return"#ffefd5ff"},peg$c885="PapayaWhip",peg$c886=peg$literalExpectation("PapayaWhip",false),peg$c887="peachpuff",peg$c888=peg$literalExpectation("peachpuff",false),peg$c889=function(){return"#ffdab9ff"},peg$c890="PeachPuff",peg$c891=peg$literalExpectation("PeachPuff",false),peg$c892="peru",peg$c893=peg$literalExpectation("peru",false),peg$c894=function(){return"#cd853fff"},peg$c895="Peru",peg$c896=peg$literalExpectation("Peru",false),peg$c897="pink",peg$c898=peg$literalExpectation("pink",false),peg$c899=function(){return"#ffc0cbff"},peg$c900="Pink",peg$c901=peg$literalExpectation("Pink",false),peg$c902="plum",peg$c903=peg$literalExpectation("plum",false),peg$c904=function(){return"#dda0ddff"},peg$c905="Plum",peg$c906=peg$literalExpectation("Plum",false),peg$c907="powderblue",peg$c908=peg$literalExpectation("powderblue",false),peg$c909=function(){return"#b0e0e6ff"},peg$c910="PowderBlue",peg$c911=peg$literalExpectation("PowderBlue",false),peg$c912="purple",peg$c913=peg$literalExpectation("purple",false),peg$c914=function(){return"#800080ff"},peg$c915="Purple",peg$c916=peg$literalExpectation("Purple",false),peg$c917="red",peg$c918=peg$literalExpectation("red",false),peg$c919=function(){return"#ff0000ff"},peg$c920="Red",peg$c921=peg$literalExpectation("Red",false),peg$c922="rosybrown",peg$c923=peg$literalExpectation("rosybrown",false),peg$c924=function(){return"#bc8f8fff"},peg$c925="RosyBrown",peg$c926=peg$literalExpectation("RosyBrown",false),peg$c927="royalblue",peg$c928=peg$literalExpectation("royalblue",false),peg$c929=function(){return"#4169e1ff"},peg$c930="RoyalBlue",peg$c931=peg$literalExpectation("RoyalBlue",false),peg$c932="saddlebrown",peg$c933=peg$literalExpectation("saddlebrown",false),peg$c934=function(){return"#8b4513ff"},peg$c935="SaddleBrown",peg$c936=peg$literalExpectation("SaddleBrown",false),peg$c937="salmon",peg$c938=peg$literalExpectation("salmon",false),peg$c939=function(){return"#fa8072ff"},peg$c940="Salmon",peg$c941=peg$literalExpectation("Salmon",false),peg$c942="sandybrown",peg$c943=peg$literalExpectation("sandybrown",false),peg$c944=function(){return"#f4a460ff"},peg$c945="SandyBrown",peg$c946=peg$literalExpectation("SandyBrown",false),peg$c947="seagreen",peg$c948=peg$literalExpectation("seagreen",false),peg$c949=function(){return"#2e8b57ff"},peg$c950="SeaGreen",peg$c951=peg$literalExpectation("SeaGreen",false),peg$c952="seashell",peg$c953=peg$literalExpectation("seashell",false),peg$c954=function(){return"#fff5eeff"},peg$c955="SeaShell",peg$c956=peg$literalExpectation("SeaShell",false),peg$c957="sienna",peg$c958=peg$literalExpectation("sienna",false),peg$c959=function(){return"#a0522dff"},peg$c960="Sienna",peg$c961=peg$literalExpectation("Sienna",false),peg$c962="silver",peg$c963=peg$literalExpectation("silver",false),peg$c964=function(){return"#c0c0c0ff"},peg$c965="Silver",peg$c966=peg$literalExpectation("Silver",false),peg$c967="skyblue",peg$c968=peg$literalExpectation("skyblue",false),peg$c969=function(){return"#87ceebff"},peg$c970="SkyBlue",peg$c971=peg$literalExpectation("SkyBlue",false),peg$c972="slateblue",peg$c973=peg$literalExpectation("slateblue",false),peg$c974=function(){return"#6a5acdff"},peg$c975="SlateBlue",peg$c976=peg$literalExpectation("SlateBlue",false),peg$c977="slategray",peg$c978=peg$literalExpectation("slategray",false),peg$c979=function(){return"#708090ff"},peg$c980="SlateGray",peg$c981=peg$literalExpectation("SlateGray",false),peg$c982="slategrey",peg$c983=peg$literalExpectation("slategrey",false),peg$c984="SlateGrey",peg$c985=peg$literalExpectation("SlateGrey",false),peg$c986="snow",peg$c987=peg$literalExpectation("snow",false),peg$c988=function(){return"#fffafaff"},peg$c989="Snow",peg$c990=peg$literalExpectation("Snow",false),peg$c991="springgreen",peg$c992=peg$literalExpectation("springgreen",false),peg$c993=function(){return"#00ff7fff"},peg$c994="SpringGreen",peg$c995=peg$literalExpectation("SpringGreen",false),peg$c996="steelblue",peg$c997=peg$literalExpectation("steelblue",false),peg$c998=function(){return"#4682b4ff"},peg$c999="SteelBlue",peg$c1000=peg$literalExpectation("SteelBlue",false),peg$c1001="tan",peg$c1002=peg$literalExpectation("tan",false),peg$c1003=function(){return"#d2b48cff"},peg$c1004="Tan",peg$c1005=peg$literalExpectation("Tan",false),peg$c1006="teal",peg$c1007=peg$literalExpectation("teal",false),peg$c1008=function(){return"#008080ff"},peg$c1009="Teal",peg$c1010=peg$literalExpectation("Teal",false),peg$c1011="thistle",peg$c1012=peg$literalExpectation("thistle",false),peg$c1013=function(){return"#d8bfd8ff"},peg$c1014="Thistle",peg$c1015=peg$literalExpectation("Thistle",false),peg$c1016="tomato",peg$c1017=peg$literalExpectation("tomato",false),peg$c1018=function(){return"#ff6347ff"},peg$c1019="Tomato",peg$c1020=peg$literalExpectation("Tomato",false),peg$c1021="turquoise",peg$c1022=peg$literalExpectation("turquoise",false),peg$c1023=function(){return"#40e0d0ff"},peg$c1024="Turquoise",peg$c1025=peg$literalExpectation("Turquoise",false),peg$c1026="violet",peg$c1027=peg$literalExpectation("violet",false),peg$c1028=function(){return"#ee82eeff"},peg$c1029="Violet",peg$c1030=peg$literalExpectation("Violet",false),peg$c1031="wheat",peg$c1032=peg$literalExpectation("wheat",false),peg$c1033=function(){return"#f5deb3ff"},peg$c1034="Wheat",peg$c1035=peg$literalExpectation("Wheat",false),peg$c1036="whitesmoke",peg$c1037=peg$literalExpectation("whitesmoke",false),peg$c1038=function(){return"#f5f5f5ff"},peg$c1039="WhiteSmoke",peg$c1040=peg$literalExpectation("WhiteSmoke",false),peg$c1041="white",peg$c1042=peg$literalExpectation("white",false),peg$c1043=function(){return"#ffffffff"},peg$c1044="White",peg$c1045=peg$literalExpectation("White",false),peg$c1046="yellowgreen",peg$c1047=peg$literalExpectation("yellowgreen",false),peg$c1048=function(){return"#9acd32ff"},peg$c1049="YellowGreen",peg$c1050=peg$literalExpectation("YellowGreen",false),peg$c1051="yellow",peg$c1052=peg$literalExpectation("yellow",false),peg$c1053=function(){return"#ffff00ff"},peg$c1054="Yellow",peg$c1055=peg$literalExpectation("Yellow",false),peg$c1056=function(lab){return lab},peg$c1057="#",peg$c1058=peg$literalExpectation("#",false),peg$c1059=function(r,g,b){return`#${r}${r}${g}${g}${b}${b}ff`},peg$c1060=function(r1,r2,g1,g2,b1,b2){return`#${r1}${r2}${g1}${g2}${b1}${b2}ff`},peg$c1061=function(r,g,b,a){return`#${r}${r}${g}${g}${b}${b}${a}${a}`},peg$c1062=function(r1,r2,g1,g2,b1,b2,a1,a2){return`#${r1}${r2}${g1}${g2}${b1}${b2}${a1}${a2}`},peg$c1063=peg$otherExpectation("color"),peg$c1064="arc_label",peg$c1065=peg$literalExpectation("arc_label",false),peg$c1066="head_label",peg$c1067=peg$literalExpectation("head_label",false),peg$c1068="tail_label",peg$c1069=peg$literalExpectation("tail_label",false),peg$c1070=":",peg$c1071=peg$literalExpectation(":",false),peg$c1072=";",peg$c1073=peg$literalExpectation(";",false),peg$c1074=function(key,value){return{key:key,value:value}},peg$c1075=peg$otherExpectation("single edge color"),peg$c1076="edge_color",peg$c1077=peg$literalExpectation("edge_color",false),peg$c1078=function(value){return{key:"single_edge_color",value:value}},peg$c1079=peg$otherExpectation("transition line style"),peg$c1080="linestyle",peg$c1081=peg$literalExpectation("linestyle",false),peg$c1082=function(value){return{key:"transition_line_style",value:value}},peg$c1083="{",peg$c1084=peg$literalExpectation("{",false),peg$c1085="}",peg$c1086=peg$literalExpectation("}",false),peg$c1087=function(items){return items},peg$c1088="%",peg$c1089=peg$literalExpectation("%",false),peg$c1090=function(value){return{key:"arrow probability",value:value}},peg$c1091="[",peg$c1092=peg$literalExpectation("[",false),peg$c1093="]",peg$c1094=peg$literalExpectation("]",false),peg$c1095=function(names){return names.map((i=>i[0]))},peg$c1096="+|",peg$c1097=peg$literalExpectation("+|",false),peg$c1098=function(nzd,dd){return{key:"stripe",value:parseInt(`${nzd}${dd}`,10)}},peg$c1099="-|",peg$c1100=peg$literalExpectation("-|",false),peg$c1101=function(nzd,dd){return{key:"stripe",value:-1*parseInt(`${nzd}${dd}`,10)}},peg$c1102="+",peg$c1103=peg$literalExpectation("+",false),peg$c1104=function(nzd,dd){return{key:"cycle",value:parseInt(`${nzd}${dd}`,10)}},peg$c1105="-",peg$c1106=peg$literalExpectation("-",false),peg$c1107=function(nzd,dd){return{key:"cycle",value:-1*parseInt(`${nzd}${dd}`,10)}},peg$c1108="+0",peg$c1109=peg$literalExpectation("+0",false),peg$c1110=function(){return{key:"cycle",value:0}},peg$c1111=function(r_action,r_prob,l_desc,arrow,r_desc,l_prob,l_action,label,tail){const base={kind:arrow,to:label};if(tail&&tail!==[]){base.se=tail}if(l_desc){base.l_desc=l_desc}if(r_desc){base.r_desc=r_desc}if(l_action){base.l_action=l_action}if(r_action){base.r_action=r_action}if(l_prob){base.l_probability=l_prob.value}if(r_prob){base.r_probability=r_prob.value}return base},peg$c1112=function(label,se){const base={key:"transition",from:label};if(se&&se!==[]){base.se=se}return base},peg$c1113="whargarbl",peg$c1114=peg$literalExpectation("whargarbl",false),peg$c1115="todo",peg$c1116=peg$literalExpectation("todo",false),peg$c1117=function(validationkey,value){return{key:validationkey,value:value}},peg$c1118="validation",peg$c1119=peg$literalExpectation("validation",false),peg$c1120="};",peg$c1121=peg$literalExpectation("};",false),peg$c1122=function(validation_items){return{config_kind:"validation",config_items:validation_items||[]}},peg$c1123="dot",peg$c1124=peg$literalExpectation("dot",false),peg$c1125="circo",peg$c1126=peg$literalExpectation("circo",false),peg$c1127="fdp",peg$c1128=peg$literalExpectation("fdp",false),peg$c1129="neato",peg$c1130=peg$literalExpectation("neato",false),peg$c1131="shape",peg$c1132=peg$literalExpectation("shape",false),peg$c1133=function(value){return{key:"shape",value:value}},peg$c1134="state",peg$c1135=peg$literalExpectation("state",false),peg$c1136=function(state_items){return{key:"state_config",value:{config_kind:"state",config_items:state_items||[]}}},peg$c1137="start_state",peg$c1138=peg$literalExpectation("start_state",false),peg$c1139=function(state_items){return{key:"state_config",value:{config_kind:"in_state",config_items:state_items||[]}}},peg$c1140="end_state",peg$c1141=peg$literalExpectation("end_state",false),peg$c1142=function(state_items){return{key:"state_config",value:{config_kind:"out_state",config_items:state_items||[]}}},peg$c1143=function(actionkey,value){return{key:actionkey,value:value}},peg$c1144="action",peg$c1145=peg$literalExpectation("action",false),peg$c1146=function(action_items){return{config_kind:"action",config_items:action_items||[]}},peg$c1147=function(transitionkey,value){return{key:transitionkey,value:value}},peg$c1148=peg$otherExpectation("graph default edge color"),peg$c1149=function(value){return{key:"graph_default_edge_color",value:value}},peg$c1150="transition",peg$c1151=peg$literalExpectation("transition",false),peg$c1152=function(transition_items){return{config_kind:"transition",config_items:transition_items||[]}},peg$c1153="graph_layout",peg$c1154=peg$literalExpectation("graph_layout",false),peg$c1155=function(value){return{key:"graph_layout",value:value}},peg$c1156="start_states",peg$c1157=peg$literalExpectation("start_states",false),peg$c1158=function(value){return{key:"start_states",value:value}},peg$c1159="end_states",peg$c1160=peg$literalExpectation("end_states",false),peg$c1161=function(value){return{key:"end_states",value:value}},peg$c1162="graph_bg_color",peg$c1163=peg$literalExpectation("graph_bg_color",false),peg$c1164=function(value){return{key:"graph_bg_color",value:value}},peg$c1165=peg$otherExpectation("configuration"),peg$c1166="MIT",peg$c1167=peg$literalExpectation("MIT",false),peg$c1168="BSD 2-clause",peg$c1169=peg$literalExpectation("BSD 2-clause",false),peg$c1170="BSD 3-clause",peg$c1171=peg$literalExpectation("BSD 3-clause",false),peg$c1172="Apache 2.0",peg$c1173=peg$literalExpectation("Apache 2.0",false),peg$c1174="Mozilla 2.0",peg$c1175=peg$literalExpectation("Mozilla 2.0",false),peg$c1176="Public domain",peg$c1177=peg$literalExpectation("Public domain",false),peg$c1178="GPL v2",peg$c1179=peg$literalExpectation("GPL v2",false),peg$c1180="GPL v3",peg$c1181=peg$literalExpectation("GPL v3",false),peg$c1182="LGPL v2.1",peg$c1183=peg$literalExpectation("LGPL v2.1",false),peg$c1184="LGPL v3.0",peg$c1185=peg$literalExpectation("LGPL v3.0",false),peg$c1186="Unknown",peg$c1187=peg$literalExpectation("Unknown",false),peg$c1188=peg$otherExpectation("direction"),peg$c1189="up",peg$c1190=peg$literalExpectation("up",false),peg$c1191="right",peg$c1192=peg$literalExpectation("right",false),peg$c1193="down",peg$c1194=peg$literalExpectation("down",false),peg$c1195="left",peg$c1196=peg$literalExpectation("left",false),peg$c1197=peg$otherExpectation("hook definition (open/closed)"),peg$c1198="open",peg$c1199=peg$literalExpectation("open",false),peg$c1200="closed",peg$c1201=peg$literalExpectation("closed",false),peg$c1202="machine_author",peg$c1203=peg$literalExpectation("machine_author",false),peg$c1204=function(value){return{key:"machine_author",value:value}},peg$c1205="machine_contributor",peg$c1206=peg$literalExpectation("machine_contributor",false),peg$c1207=function(value){return{key:"machine_contributor",value:value}},peg$c1208="machine_comment",peg$c1209=peg$literalExpectation("machine_comment",false),peg$c1210=function(value){return{key:"machine_comment",value:value}},peg$c1211="machine_definition",peg$c1212=peg$literalExpectation("machine_definition",false),peg$c1213=function(value){return{key:"machine_definition",value:value}},peg$c1214="machine_name",peg$c1215=peg$literalExpectation("machine_name",false),peg$c1216=function(value){return{key:"machine_name",value:value}},peg$c1220="machine_version",peg$c1221=peg$literalExpectation("machine_version",false),peg$c1222=function(value){return{key:"machine_version",value:value}},peg$c1223="machine_license",peg$c1224=peg$literalExpectation("machine_license",false),peg$c1225=function(value){return{key:"machine_license",value:value}},peg$c1226="machine_language",peg$c1227=peg$literalExpectation("machine_language",false),peg$c1228=function(value){return{key:"machine_language",value:value}},peg$c1229="fsl_version",peg$c1230=peg$literalExpectation("fsl_version",false),peg$c1231=function(value){return{key:"fsl_version",value:value}},peg$c1232="theme",peg$c1233=peg$literalExpectation("theme",false),peg$c1234=function(value){return{key:"theme",value:value}},peg$c1235="flow",peg$c1236=peg$literalExpectation("flow",false),peg$c1237=function(value){return{key:"flow",value:value}},peg$c1238="hooks",peg$c1239=peg$literalExpectation("hooks",false),peg$c1240=function(value){return{key:"hook_definition",value:value}},peg$c1241="dot_preamble",peg$c1242=peg$literalExpectation("dot_preamble",false),peg$c1243=function(value){return{key:"dot_preamble",value:value}},peg$c1244=peg$otherExpectation("machine attribute"),peg$c1245="color",peg$c1246=peg$literalExpectation("color",false),peg$c1247=function(value){return{key:"color",value:value}},peg$c1248=peg$otherExpectation("text color"),peg$c1249="text-color",peg$c1250=peg$literalExpectation("text-color",false),peg$c1251=function(value){return{key:"text-color",value:value}},peg$c1252=peg$otherExpectation("background color"),peg$c1253="background-color",peg$c1254=peg$literalExpectation("background-color",false),peg$c1255=function(value){return{key:"background-color",value:value}},peg$c1256=peg$otherExpectation("border color"),peg$c1257="border-color",peg$c1258=peg$literalExpectation("border-color",false),peg$c1259=function(value){return{key:"border-color",value:value}},peg$c1260=peg$otherExpectation("shape"),peg$c1261=function(value){return{key:"shape",value:value}},peg$c1262=peg$otherExpectation("corners"),peg$c1263="corners",peg$c1264=peg$literalExpectation("corners",false),peg$c1265=function(value){return{key:"corners",value:value}},peg$c1266=peg$otherExpectation("linestyle"),peg$c1267=function(value){return{key:"linestyle",value:value}},peg$c1268=function(name,value){return{key:"state_declaration",name:name,value:value}},peg$c1269="&",peg$c1270=peg$literalExpectation("&",false),peg$c1271=function(name,value){return{key:"named_list",name:name,value:value}},peg$c1272="null",peg$c1273=peg$literalExpectation("null",false),peg$c1274="undefined",peg$c1275=peg$literalExpectation("undefined",false),peg$c1276=function(){return parseFloat(text())},peg$c1277="Infinity",peg$c1278=peg$literalExpectation("Infinity",false),peg$c1279="NegInfinity",peg$c1280=peg$literalExpectation("NegInfinity",false),peg$c1281="NaN",peg$c1282=peg$literalExpectation("NaN",false),peg$c1283="MaxSafeInt",peg$c1284=peg$literalExpectation("MaxSafeInt",false),peg$c1285="MinSafeInt",peg$c1286=peg$literalExpectation("MinSafeInt",false),peg$c1287=function(chars){return chars.join("")},peg$c1288=function(char){return char},peg$c1289=function(sequence){return sequence},peg$c1290=function(){return"\b"},peg$c1291=function(){return"\f"},peg$c1292=function(){return"\n"},peg$c1293=function(){return"\r"},peg$c1294=function(){return"\t"},peg$c1295=function(){return"\v"},peg$c1296="property",peg$c1297=peg$literalExpectation("property",false),peg$c1298=function(name,default_value){return{key:"property_definition",name:name,default_value:default_value}},peg$c1299=function(name){return{key:"property_definition",name:name}},peg$c1300="arrange",peg$c1301=peg$literalExpectation("arrange",false),peg$c1302=function(value){return{key:"arrange_declaration",value:value}},peg$c1303="arrange-start",peg$c1304=peg$literalExpectation("arrange-start",false),peg$c1305=function(value){return{key:"arrange_start_declaration",value:value}},peg$c1306="arrange-end",peg$c1307=peg$literalExpectation("arrange-end",false),peg$c1308=function(value){return{key:"arrange_end_declaration",value:value}},peg$c1309=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)}}}}}return s0}function peg$parseGvizShape(){var s0;if(input.substr(peg$currPos,5)===peg$c9){s0=peg$c9;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c10)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c11){s0=peg$c11;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c12)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c13){s0=peg$c13;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c14)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c15){s0=peg$c15;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c16)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c17){s0=peg$c17;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c18)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c19){s0=peg$c19;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c20)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c21){s0=peg$c21;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c22)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c23){s0=peg$c23;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c24)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c25){s0=peg$c25;peg$currPos+=9}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,7)===peg$c29){s0=peg$c29;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c30)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c31){s0=peg$c31;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c32)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c33){s0=peg$c33;peg$currPos+=13}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,8)===peg$c37){s0=peg$c37;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c38)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c39){s0=peg$c39;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c40)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c41){s0=peg$c41;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c42)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c43){s0=peg$c43;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c44)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c45){s0=peg$c45;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c46)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c47){s0=peg$c47;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c48)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c49){s0=peg$c49;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c50)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c51){s0=peg$c51;peg$currPos+=11}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,8)===peg$c55){s0=peg$c55;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c56)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c57){s0=peg$c57;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c58)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c59){s0=peg$c59;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c60)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c61){s0=peg$c61;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c62)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c63){s0=peg$c63;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c64)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c65){s0=peg$c65;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c66)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c67){s0=peg$c67;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c68)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c69){s0=peg$c69;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c70)}}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$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,8)===peg$c73){s0=peg$c73;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c74)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c75){s0=peg$c75;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c76)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c77){s0=peg$c77;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c78)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c79){s0=peg$c79;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c80)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c81){s0=peg$c81;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c82)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c83){s0=peg$c83;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c84)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c85){s0=peg$c85;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c86)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c87){s0=peg$c87;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c88)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c89){s0=peg$c89;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c90)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c91){s0=peg$c91;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c92)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c93){s0=peg$c93;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c94)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,15)===peg$c95){s0=peg$c95;peg$currPos+=15}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c96)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c97){s0=peg$c97;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c98)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,14)===peg$c99){s0=peg$c99;peg$currPos+=14}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c100)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c101){s0=peg$c101;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c102)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c103){s0=peg$c103;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c104)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c105){s0=peg$c105;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c106)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c107){s0=peg$c107;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c108)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c109){s0=peg$c109;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c110)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c111){s0=peg$c111;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c112)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c113){s0=peg$c113;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c114)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c115){s0=peg$c115;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c116)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c117){s0=peg$c117;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c118)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c119){s0=peg$c119;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c120)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c121){s0=peg$c121;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c122)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c123){s0=peg$c123;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c124)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c125){s0=peg$c125;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c126)}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}return s0}function peg$parseForwardLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c128){s0=peg$c128;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c129)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8594){s1=peg$c130;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c131)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c132()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c127)}}return s0}function peg$parseTwoWayLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c134){s0=peg$c134;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c135)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8596){s1=peg$c136;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c137)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c138()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c133)}}return s0}function peg$parseBackLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c140){s0=peg$c140;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c141)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8592){s1=peg$c142;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c143)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c144()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c139)}}return s0}function peg$parseForwardFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c146){s0=peg$c146;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c147)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8658){s1=peg$c148;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c149)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c150()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c145)}}return s0}function peg$parseTwoWayFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c152){s0=peg$c152;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c153)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8660){s1=peg$c154;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c155)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c156()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c151)}}return s0}function peg$parseBackFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c158){s0=peg$c158;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c159)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8656){s1=peg$c160;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c161)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c162()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c157)}}return s0}function peg$parseForwardTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c164){s0=peg$c164;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c165)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8603){s1=peg$c166;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c167)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c168()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c163)}}return s0}function peg$parseTwoWayTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c170){s0=peg$c170;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c171)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8622){s1=peg$c172;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c173)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c174()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c169)}}return s0}function peg$parseBackTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c176){s0=peg$c176;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c177)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8602){s1=peg$c178;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c179)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c180()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c175)}}return s0}function peg$parseLightFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c182){s0=peg$c182;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c183)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c184){s1=peg$c184;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c185)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c186()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c181)}}return s0}function peg$parseLightTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c188){s0=peg$c188;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c189)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c190){s1=peg$c190;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c191)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c192()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c187)}}return s0}function peg$parseFatLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c194){s0=peg$c194;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c195)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c196){s1=peg$c196;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c197)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c198()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c193)}}return s0}function peg$parseFatTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c200){s0=peg$c200;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c201)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c202){s1=peg$c202;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c203)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c204()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c199)}}return s0}function peg$parseTildeLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c206){s0=peg$c206;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c207)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c208){s1=peg$c208;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c209)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c210()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c205)}}return s0}function peg$parseTildeFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c212){s0=peg$c212;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c213)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c214){s1=peg$c214;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c215)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c216()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c211)}}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$c217)}}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$c218)}}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$c219)}}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$c220)}}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$c221)}}return s0}function peg$parseCorners(){var s0;if(input.substr(peg$currPos,7)===peg$c228){s0=peg$c228;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c229)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c230){s0=peg$c230;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c231)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c232){s0=peg$c232;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c233)}}}}return s0}function peg$parseLineStyle(){var s0;if(input.substr(peg$currPos,5)===peg$c234){s0=peg$c234;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c235)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c236){s0=peg$c236;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c237)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c238){s0=peg$c238;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c239)}}}}return s0}function peg$parseHexDigit(){var s0;if(peg$c240.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c241)}}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$c242;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c243)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===92){s2=peg$c244;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c245)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===47){s2=peg$c246;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c247)}}if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===98){s3=peg$c248;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c249)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c250()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===102){s3=peg$c251;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c252)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c253()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===110){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)===114){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)===116){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)===118){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)===117){s3=peg$c266;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c267)}}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$c268(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$c269(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseEscape(){var s0;if(input.charCodeAt(peg$currPos)===92){s0=peg$c244;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c245)}}return s0}function peg$parseQuoteMark(){var s0;if(input.charCodeAt(peg$currPos)===34){s0=peg$c242;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c243)}}return s0}function peg$parseUnescaped(){var s0;if(peg$c270.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c271)}}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$c272;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c273)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===92){s2=peg$c244;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c245)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===47){s2=peg$c246;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c247)}}if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===98){s3=peg$c248;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c249)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c250()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===102){s3=peg$c251;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c252)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c253()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===110){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)===114){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)===116){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)===118){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)===117){s3=peg$c266;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c267)}}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$c268(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$c269(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$c272;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c273)}}return s0}function peg$parseActionLabelUnescaped(){var s0;if(peg$c274.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c275)}}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$c277(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$c276)}}return s0}function peg$parseLineTerminator(){var s0;if(peg$c278.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c279)}}return s0}function peg$parseBlockCommentTail(){var s0,s1,s2;if(input.substr(peg$currPos,2)===peg$c282){s0=peg$c282;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c283)}}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$c284)}}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$c286){s1=peg$c286;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c287)}}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$c285)}}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$c284)}}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$c284)}}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$c289){s1=peg$c289;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c290)}}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$c288)}}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$c292.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c293)}}if(s2!==peg$FAILED){while(s2!==peg$FAILED){s1.push(s2);if(peg$c292.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c293)}}}}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$c291)}}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$c277(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$c294)}}return s0}function peg$parseAtomFirstLetter(){var s0;if(peg$c295.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}return s0}function peg$parseAtomLetter(){var s0;if(peg$c297.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c298)}}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$c300(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$c299)}}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$c301)}}return s0}function peg$parseIntegerLiteral(){var s0,s1,s2,s3;if(input.charCodeAt(peg$currPos)===48){s0=peg$c302;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c303)}}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$c304.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c305)}}return s0}function peg$parseNonZeroDigit(){var s0;if(peg$c306.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c307)}}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$c309;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c310)}}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$c311();s0=s1}else{peg$currPos=s0;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$c311();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$c308)}}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$c309;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c310)}}if(s2!==peg$FAILED){s3=peg$parseIntegerLiteral();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s4=peg$c309;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c310)}}if(s4!==peg$FAILED){s5=peg$parseIntegerLiteral();if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c312(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$c323){s0=peg$c323;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c324)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c325){s0=peg$c325;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}}return s0}function peg$parseURL(){var s0,s1,s2,s3;s0=peg$currPos;s1=peg$parseUrlProtocol();if(s1!==peg$FAILED){s2=[];if(peg$c327.test(input.charAt(peg$currPos))){s3=input.charAt(peg$currPos);peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c328)}}if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);if(peg$c327.test(input.charAt(peg$currPos))){s3=input.charAt(peg$currPos);peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c328)}}}}else{s2=peg$FAILED}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c329();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$c330){s1=peg$c330;peg$currPos+=9}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,9)===peg$c333){s1=peg$c333;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c334)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c332()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c335){s1=peg$c335;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c336)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c337()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c338){s1=peg$c338;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c339)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c337()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c340){s1=peg$c340;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c341)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c342()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c343){s1=peg$c343;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c344)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c342()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c345){s1=peg$c345;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c346)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c347()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c348){s1=peg$c348;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c349)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c347()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c350){s1=peg$c350;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c351)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c352()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c353){s1=peg$c353;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c354)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c352()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c355){s1=peg$c355;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c356)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c357()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c358){s1=peg$c358;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c359)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c357()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c360){s1=peg$c360;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c361)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c362()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c363){s1=peg$c363;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c364)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c362()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c365){s1=peg$c365;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c366)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c367()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c368){s1=peg$c368;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c369)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c367()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c370){s1=peg$c370;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c371)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c372()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c373){s1=peg$c373;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c374)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c372()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c375){s1=peg$c375;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c376)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c377()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c378){s1=peg$c378;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c379)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c377()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c380){s1=peg$c380;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c381)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c382()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c383){s1=peg$c383;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c384)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c382()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c385){s1=peg$c385;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c386)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c387()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c388){s1=peg$c388;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c389)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c387()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c390){s1=peg$c390;peg$currPos+=9}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,9)===peg$c393){s1=peg$c393;peg$currPos+=9}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,9)===peg$c395){s1=peg$c395;peg$currPos+=9}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,9)===peg$c398){s1=peg$c398;peg$currPos+=9}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,10)===peg$c400){s1=peg$c400;peg$currPos+=10}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,10)===peg$c403){s1=peg$c403;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c404)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c402()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c405){s1=peg$c405;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c406)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c407()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c408){s1=peg$c408;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c409)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c407()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c410){s1=peg$c410;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c411)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c412()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c413){s1=peg$c413;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c414)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c412()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c415){s1=peg$c415;peg$currPos+=14}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,14)===peg$c418){s1=peg$c418;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c419)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c417()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c420){s1=peg$c420;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c421)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c422()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c423){s1=peg$c423;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c424)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c422()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c425){s1=peg$c425;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c426)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c427()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c428){s1=peg$c428;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c429)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c427()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c430){s1=peg$c430;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c431)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c347()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c432){s1=peg$c432;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c433)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c347()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c434){s1=peg$c434;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c435)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c436()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c437){s1=peg$c437;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c438)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c436()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c439){s1=peg$c439;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c440)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c441()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c442){s1=peg$c442;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c443)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c441()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c444){s1=peg$c444;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c445)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c446()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c447){s1=peg$c447;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c448)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c446()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c449){s1=peg$c449;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c450)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c451()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c452){s1=peg$c452;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c453)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c451()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c454){s1=peg$c454;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c455)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c451()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c456){s1=peg$c456;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c457)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c451()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c458){s1=peg$c458;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c459)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c460()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c461){s1=peg$c461;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c462)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c460()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c463){s1=peg$c463;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c464)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c465()}s0=s1;if(s0===peg$FAILED){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$c465()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c468){s1=peg$c468;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c469)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c470()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c471){s1=peg$c471;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c472)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c470()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c473){s1=peg$c473;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c474)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c475()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c476){s1=peg$c476;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c477)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c475()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c478){s1=peg$c478;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c479)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c480()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c481){s1=peg$c481;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c482)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c480()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c483){s1=peg$c483;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c484)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c485()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c486){s1=peg$c486;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c487)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c485()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c488){s1=peg$c488;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c489)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c490()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c491){s1=peg$c491;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c492)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c490()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c493){s1=peg$c493;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c494)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c495()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c496){s1=peg$c496;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c497)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c495()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c498){s1=peg$c498;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c499)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c500()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c501){s1=peg$c501;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c502)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c500()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c503){s1=peg$c503;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c504)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c505()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c506){s1=peg$c506;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c507)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c505()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c508){s1=peg$c508;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c509)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c510()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c511){s1=peg$c511;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c512)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c510()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c513){s1=peg$c513;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c514)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c510()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c515){s1=peg$c515;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c516)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c510()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c517){s1=peg$c517;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c518)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c519()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c520){s1=peg$c520;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c521)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c519()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c522){s1=peg$c522;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c523)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c524()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c525){s1=peg$c525;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c526)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c524()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c527){s1=peg$c527;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c528)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c529()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c530){s1=peg$c530;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c531)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c529()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c532){s1=peg$c532;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c533)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c534()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c535){s1=peg$c535;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c536)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c534()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c537){s1=peg$c537;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c538)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c539()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c540){s1=peg$c540;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c541)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c539()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c542){s1=peg$c542;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c543)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c539()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c544){s1=peg$c544;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c545)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c539()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c546){s1=peg$c546;peg$currPos+=10}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,10)===peg$c549){s1=peg$c549;peg$currPos+=10}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,9)===peg$c551){s1=peg$c551;peg$currPos+=9}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,9)===peg$c554){s1=peg$c554;peg$currPos+=9}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,11)===peg$c556){s1=peg$c556;peg$currPos+=11}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,11)===peg$c559){s1=peg$c559;peg$currPos+=11}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,11)===peg$c561){s1=peg$c561;peg$currPos+=11}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,11)===peg$c564){s1=peg$c564;peg$currPos+=11}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,7)===peg$c566){s1=peg$c566;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c567)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c568()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c569){s1=peg$c569;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c570)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c568()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c571){s1=peg$c571;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c572)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c573()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c574){s1=peg$c574;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c575)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c573()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c576){s1=peg$c576;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c577)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c578()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c579){s1=peg$c579;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c580)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c578()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c581){s1=peg$c581;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c582)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c583()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c584){s1=peg$c584;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c585)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c583()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c586){s1=peg$c586;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c587)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c588()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c589){s1=peg$c589;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c590)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c588()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c591){s1=peg$c591;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c592)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c593()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c594){s1=peg$c594;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c595)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c593()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c596){s1=peg$c596;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c597)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c593()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c598){s1=peg$c598;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c599)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c593()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c600){s1=peg$c600;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c601)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c602()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c603){s1=peg$c603;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c604)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c602()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c605){s1=peg$c605;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c606)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c607()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c608){s1=peg$c608;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c609)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c607()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c610){s1=peg$c610;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c611)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c612()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c613){s1=peg$c613;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c614)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c612()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c615){s1=peg$c615;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c616)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c617()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c618){s1=peg$c618;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c619)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c617()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c620){s1=peg$c620;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c621)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c622()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c623){s1=peg$c623;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c624)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c622()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c625){s1=peg$c625;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c626)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c627()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c628){s1=peg$c628;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c629)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c627()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c630){s1=peg$c630;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c631)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c632()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c633){s1=peg$c633;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c634)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c632()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c635){s1=peg$c635;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c636)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c637()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c638){s1=peg$c638;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c639)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c637()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c640){s1=peg$c640;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c641)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c642()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c643){s1=peg$c643;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c644)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c642()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c645){s1=peg$c645;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c646)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c647()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c648){s1=peg$c648;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c649)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c647()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c650){s1=peg$c650;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c651)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c652()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c653){s1=peg$c653;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c654)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c652()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c655){s1=peg$c655;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c656)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c657()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c658){s1=peg$c658;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c659)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c657()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c660){s1=peg$c660;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c661)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c662()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c663){s1=peg$c663;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c664)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c662()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c665){s1=peg$c665;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c666)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c667()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c668){s1=peg$c668;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c669)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c667()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c670){s1=peg$c670;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c671)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c672()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c673){s1=peg$c673;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c674)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c672()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,20)===peg$c675){s1=peg$c675;peg$currPos+=20}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c676)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c677()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,20)===peg$c678){s1=peg$c678;peg$currPos+=20}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c679)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c677()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c680){s1=peg$c680;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c681)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c682()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c683){s1=peg$c683;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c684)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c682()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c685){s1=peg$c685;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c686)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c682()}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$c682()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c689){s1=peg$c689;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c690)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c691()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c692){s1=peg$c692;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c693)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c691()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c694){s1=peg$c694;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c695)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c696()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c697){s1=peg$c697;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c698)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c696()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c699){s1=peg$c699;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c700)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c701()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c702){s1=peg$c702;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c703)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c701()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c704){s1=peg$c704;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c705)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c706()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c707){s1=peg$c707;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c708)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c706()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c709){s1=peg$c709;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c710)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c711()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c712){s1=peg$c712;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c713)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c711()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c714){s1=peg$c714;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c715)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c716()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c717){s1=peg$c717;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c718)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c716()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c719){s1=peg$c719;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c720)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c716()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c721){s1=peg$c721;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c722)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c716()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c723){s1=peg$c723;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c724)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c725()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c726){s1=peg$c726;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c727)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c725()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c728){s1=peg$c728;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c729)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c730()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c731){s1=peg$c731;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c732)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c730()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c733){s1=peg$c733;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c734)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c735()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c736){s1=peg$c736;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c737)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c735()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c738){s1=peg$c738;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c739)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c740()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c741){s1=peg$c741;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c742)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c740()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c743){s1=peg$c743;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c744)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c745()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c746){s1=peg$c746;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c747)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c745()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c748){s1=peg$c748;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c749)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c568()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c750){s1=peg$c750;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c751)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c568()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c752){s1=peg$c752;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c753)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c754()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c755){s1=peg$c755;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c756)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c754()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c757){s1=peg$c757;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c758)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c759()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c760){s1=peg$c760;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c761)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c759()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c762){s1=peg$c762;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c763)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c764()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c765){s1=peg$c765;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c766)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c764()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c767){s1=peg$c767;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c768)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c769()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c770){s1=peg$c770;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c771)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c769()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c772){s1=peg$c772;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c773)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c774()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c775){s1=peg$c775;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c776)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c774()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c777){s1=peg$c777;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c778)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c779()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c780){s1=peg$c780;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c781)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c779()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c782){s1=peg$c782;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c783)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c784()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c785){s1=peg$c785;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c786)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c784()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,17)===peg$c787){s1=peg$c787;peg$currPos+=17}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c788)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c789()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,17)===peg$c790){s1=peg$c790;peg$currPos+=17}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c791)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c789()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c792){s1=peg$c792;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c793)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c794()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c795){s1=peg$c795;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c796)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c794()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c797){s1=peg$c797;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c798)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c799()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c800){s1=peg$c800;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c801)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c799()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c802){s1=peg$c802;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c803)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c804()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c805){s1=peg$c805;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c806)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c804()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c807){s1=peg$c807;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c808)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c809()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c810){s1=peg$c810;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c811)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c809()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c812){s1=peg$c812;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c813)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c814()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c815){s1=peg$c815;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c816)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c814()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c817){s1=peg$c817;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c818)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c819()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c820){s1=peg$c820;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c821)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c819()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c822){s1=peg$c822;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c823)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c824()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c825){s1=peg$c825;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c826)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c824()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c827){s1=peg$c827;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c828)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c829()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c830){s1=peg$c830;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c831)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c829()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c832){s1=peg$c832;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c833)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c834()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c835){s1=peg$c835;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c836)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c834()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c837){s1=peg$c837;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c838)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c839()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c840){s1=peg$c840;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c841)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c839()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c842){s1=peg$c842;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c843)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c844()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c845){s1=peg$c845;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c846)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c844()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c847){s1=peg$c847;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c848)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c849()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c850){s1=peg$c850;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c851)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c849()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c852){s1=peg$c852;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c853)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c854()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c855){s1=peg$c855;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c856)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c854()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c857){s1=peg$c857;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c858)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c859()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c860){s1=peg$c860;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c861)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c859()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c862){s1=peg$c862;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c863)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c864()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c865){s1=peg$c865;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c866)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c864()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c867){s1=peg$c867;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c868)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c869()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c870){s1=peg$c870;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c871)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c869()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c872){s1=peg$c872;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c873)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c874()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c875){s1=peg$c875;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c876)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c874()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c877){s1=peg$c877;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c878)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c879()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c880){s1=peg$c880;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c881)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c879()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c882){s1=peg$c882;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c883)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c884()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c885){s1=peg$c885;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c886)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c884()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c887){s1=peg$c887;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c888)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c889()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c890){s1=peg$c890;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c891)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c889()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c892){s1=peg$c892;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c893)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c894()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c895){s1=peg$c895;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c896)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c894()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c897){s1=peg$c897;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c898)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c899()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c900){s1=peg$c900;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c901)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c899()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c902){s1=peg$c902;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c903)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c904()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c905){s1=peg$c905;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c906)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c904()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c907){s1=peg$c907;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c908)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c909()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c910){s1=peg$c910;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c911)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c909()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c912){s1=peg$c912;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c913)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c914()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c915){s1=peg$c915;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c916)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c914()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c917){s1=peg$c917;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c918)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c919()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c920){s1=peg$c920;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c921)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c919()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c922){s1=peg$c922;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c923)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c924()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c925){s1=peg$c925;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c926)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c924()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c927){s1=peg$c927;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c928)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c929()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c930){s1=peg$c930;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c931)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c929()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c932){s1=peg$c932;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c933)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c934()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c935){s1=peg$c935;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c936)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c934()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c937){s1=peg$c937;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c938)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c939()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c940){s1=peg$c940;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c941)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c939()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c942){s1=peg$c942;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c943)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c944()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c945){s1=peg$c945;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c946)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c944()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c947){s1=peg$c947;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c948)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c949()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c950){s1=peg$c950;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c951)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c949()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c952){s1=peg$c952;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c953)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c954()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c955){s1=peg$c955;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c956)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c954()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c957){s1=peg$c957;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c958)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c959()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c960){s1=peg$c960;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c961)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c959()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c962){s1=peg$c962;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c963)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c964()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c965){s1=peg$c965;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c966)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c964()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c967){s1=peg$c967;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c968)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c969()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c970){s1=peg$c970;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c971)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c969()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c972){s1=peg$c972;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c973)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c974()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c975){s1=peg$c975;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c976)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c974()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c977){s1=peg$c977;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c978)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c979()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c980){s1=peg$c980;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c981)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c979()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c982){s1=peg$c982;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c983)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c979()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c984){s1=peg$c984;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c985)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c979()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c986){s1=peg$c986;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c987)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c988()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c989){s1=peg$c989;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c990)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c988()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c991){s1=peg$c991;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c992)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c993()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c994){s1=peg$c994;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c995)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c993()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c996){s1=peg$c996;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c997)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c998()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c999){s1=peg$c999;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1000)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c998()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1001){s1=peg$c1001;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1002)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1003()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1004){s1=peg$c1004;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1005)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1003()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1006){s1=peg$c1006;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1007)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1008()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1009){s1=peg$c1009;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1010)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1008()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1011){s1=peg$c1011;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1012)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1013()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1014){s1=peg$c1014;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1015)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1013()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1016){s1=peg$c1016;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1017)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1018()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1019){s1=peg$c1019;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1020)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1018()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1021){s1=peg$c1021;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1022)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1023()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1024){s1=peg$c1024;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1025)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1023()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1026){s1=peg$c1026;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1027)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1028()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1029){s1=peg$c1029;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1030)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1028()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1031){s1=peg$c1031;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1032)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1033()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1034){s1=peg$c1034;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1035)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1033()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1036){s1=peg$c1036;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1037)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1038()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1039){s1=peg$c1039;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1040)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1038()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1041){s1=peg$c1041;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1042)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1043()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1044){s1=peg$c1044;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1045)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1043()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1046){s1=peg$c1046;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1047)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1048()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1049){s1=peg$c1049;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1050)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1048()}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$c1053()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1054){s1=peg$c1054;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1055)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1053()}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$c1056(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$c1057;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1058)}}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$c1059(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$c1057;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1058)}}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$c1060(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$c1057;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1058)}}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$c1061(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$c1057;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1058)}}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$c1062(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$c1063)}}return s0}function peg$parseArrowItemKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1064){s0=peg$c1064;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1065)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1066){s0=peg$c1066;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1067)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1068){s0=peg$c1068;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1069)}}}}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$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1074(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$c1076){s2=peg$c1076;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1077)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1078(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;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$c1075)}}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,9)===peg$c1080){s2=peg$c1080;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1081)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1082(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;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$c1079)}}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$c1083;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1084)}}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$c1085;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1086)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1087(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$c1088;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1089)}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c1090(s1);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLabelList(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===91){s1=peg$c1091;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1092)}}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$c1093;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1094)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1095(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$c1096){s1=peg$c1096;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1097)}}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$c1098(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$c1099){s1=peg$c1099;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1100)}}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$c1101(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$c1102;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1103)}}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$c1104(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$c1105;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1106)}}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$c1107(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$c1108){s1=peg$c1108;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1109)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1110()}s0=s1}}return s0}function peg$parseArrowTarget(){var s0;s0=peg$parseStripe();if(s0===peg$FAILED){s0=peg$parseCycle();if(s0===peg$FAILED){s0=peg$parseLabelList();if(s0===peg$FAILED){s0=peg$parseLabel()}}}return s0}function peg$parseSubexp(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13,s14,s15,s16,s17,s18;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseActionLabel();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseArrowProbability();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseArrowDesc();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseArrow();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){s10=peg$parseArrowDesc();if(s10===peg$FAILED){s10=null}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){s12=peg$parseArrowProbability();if(s12===peg$FAILED){s12=null}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){s14=peg$parseActionLabel();if(s14===peg$FAILED){s14=null}if(s14!==peg$FAILED){s15=peg$parseWS();if(s15===peg$FAILED){s15=null}if(s15!==peg$FAILED){s16=peg$parseArrowTarget();if(s16!==peg$FAILED){s17=peg$parseWS();if(s17===peg$FAILED){s17=null}if(s17!==peg$FAILED){s18=peg$parseSubexp();if(s18===peg$FAILED){s18=null}if(s18!==peg$FAILED){peg$savedPos=s0;s1=peg$c1111(s2,s4,s6,s8,s10,s12,s14,s16,s18);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseExp(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;s1=peg$parseArrowTarget();if(s1!==peg$FAILED){s2=peg$parseSubexp();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1072;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1112(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$c1113){s0=peg$c1113;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1114)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1115){s0=peg$c1115;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1116)}}}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$c1070;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1072;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1117(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$c1118){s2=peg$c1118;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1119)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1083;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1084)}}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$c1120){s10=peg$c1120;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1121)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1122(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$c1123){s0=peg$c1123;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1124)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1125){s0=peg$c1125;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1126)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c1127){s0=peg$c1127;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1128)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1129){s0=peg$c1129;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1130)}}}}}return s0}function peg$parseStateItemShape(){var s0,s1,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$c1131){s2=peg$c1131;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1132)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1133(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseStateItems(){var s0,s1;s0=[];s1=peg$parseStateItemShape();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseStateItemShape()}}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$c1134){s2=peg$c1134;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1135)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1083;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1084)}}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$c1120){s10=peg$c1120;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1121)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1136(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$c1137){s2=peg$c1137;peg$currPos+=11}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1138)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1083;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1084)}}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$c1120){s10=peg$c1120;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1121)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1139(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$c1140){s2=peg$c1140;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1141)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1083;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1084)}}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$c1120){s10=peg$c1120;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1121)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1142(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()}}return s0}function peg$parseActionKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1113){s0=peg$c1113;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1114)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1115){s0=peg$c1115;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1116)}}}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$c1070;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1072;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1143(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$c1144){s2=peg$c1144;peg$currPos+=6}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1145)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1083;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1084)}}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$c1120){s10=peg$c1120;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1121)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1146(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$c1113){s0=peg$c1113;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1114)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1115){s0=peg$c1115;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1116)}}}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$c1070;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1072;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1147(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$c1076){s2=peg$c1076;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1077)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1149(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;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$c1148)}}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$c1150){s2=peg$c1150;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1151)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1083;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1084)}}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$c1120){s10=peg$c1120;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1121)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1152(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$c1153){s2=peg$c1153;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1154)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1155(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1156){s2=peg$c1156;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1157)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1158(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1159){s2=peg$c1159;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1160)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1161(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1162){s2=peg$c1162;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1163)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1164(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfig(){var s0;peg$silentFails++;s0=peg$parseConfigGraphLayout();if(s0===peg$FAILED){s0=peg$parseConfigStartNodes();if(s0===peg$FAILED){s0=peg$parseConfigEndNodes();if(s0===peg$FAILED){s0=peg$parseConfigTransition();if(s0===peg$FAILED){s0=peg$parseConfigAction();if(s0===peg$FAILED){s0=peg$parseConfigAnyState();if(s0===peg$FAILED){s0=peg$parseConfigValidation();if(s0===peg$FAILED){s0=peg$parseConfigGraphBgColor()}}}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1165)}}return s0}function peg$parseLicenseOrLabelOrList(){var s0;if(input.substr(peg$currPos,3)===peg$c1166){s0=peg$c1166;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1167)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1168){s0=peg$c1168;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1169)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1170){s0=peg$c1170;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1171)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1172){s0=peg$c1172;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1173)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1174){s0=peg$c1174;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1175)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c1176){s0=peg$c1176;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1177)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1178){s0=peg$c1178;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1179)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1180){s0=peg$c1180;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1181)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1182){s0=peg$c1182;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1183)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1184){s0=peg$c1184;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1185)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c1186){s0=peg$c1186;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1187)}}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$c1189){s0=peg$c1189;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1190)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1191){s0=peg$c1191;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1192)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1193){s0=peg$c1193;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1195){s0=peg$c1195;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1196)}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1188)}}return s0}function peg$parseHookDefinition(){var s0;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c1198){s0=peg$c1198;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1199)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1200){s0=peg$c1200;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1201)}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1197)}}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$c1202){s2=peg$c1202;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1203)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1204(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1205){s2=peg$c1205;peg$currPos+=19}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1206)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1207(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1208){s2=peg$c1208;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1210(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1211){s2=peg$c1211;peg$currPos+=18}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1212)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1213(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1214){s2=peg$c1214;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1215)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1216(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1220){s2=peg$c1220;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1221)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1222(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1223){s2=peg$c1223;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1224)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1225(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1226){s2=peg$c1226;peg$currPos+=16}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1227)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1228(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1229){s2=peg$c1229;peg$currPos+=11}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1230)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1231(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1232){s2=peg$c1232;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1233)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseTheme();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1234(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1235){s2=peg$c1235;peg$currPos+=4}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1236)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1237(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1238){s2=peg$c1238;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1239)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1240(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1241){s2=peg$c1241;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1242)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1243(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{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$c1244)}}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$c1245){s2=peg$c1245;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1247(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;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$c1063)}}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$c1249){s2=peg$c1249;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1250)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1251(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;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$c1248)}}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$c1253){s2=peg$c1253;peg$currPos+=16}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1254)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1255(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;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$c1252)}}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$c1257){s2=peg$c1257;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1258)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1259(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;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$c1256)}}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$c1131){s2=peg$c1131;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1132)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1261(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;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$c1260)}}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$c1263){s2=peg$c1263;peg$currPos+=7}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1264)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1265(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;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$c1262)}}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,9)===peg$c1080){s2=peg$c1080;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1081)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1070;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1267(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;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$c1266)}}return s0}function peg$parseStateDeclarationItems(){var s0;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()}}}}}}return s0}function peg$parseStateDeclarationDesc(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===123){s1=peg$c1083;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1084)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$parseStateDeclarationItems();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseStateDeclarationItems()}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$c1085;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1086)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1087(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$c1134){s2=peg$c1134;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1135)}}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$c1070;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1268(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$c1269;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1270)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){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$c1070;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1071)}}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$c1072;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1271(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$parseMachinePropertyDefaultNull(){var s0;if(input.substr(peg$currPos,4)===peg$c1272){s0=peg$c1272;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1273)}}return s0}function peg$parseMachinePropertyDefaultUndefined(){var s0;if(input.substr(peg$currPos,9)===peg$c1274){s0=peg$c1274;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1275)}}return s0}function peg$parseMachinePropertyDefaultBoolean(){var s0;if(input.substr(peg$currPos,4)===peg$c222){s0=peg$c222;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c223)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c225){s0=peg$c225;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c226)}}}return s0}function peg$parseMachinePropertyDefaultNumber(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===45){s1=peg$c1105;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1106)}}if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseIntegerLiteral();if(s2!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s3=peg$c309;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c310)}}if(s3!==peg$FAILED){s4=[];s5=peg$parseDecimalDigit();while(s5!==peg$FAILED){s4.push(s5);s5=peg$parseDecimalDigit()}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1276();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;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)===45){s1=peg$c1105;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1106)}}if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseIntegerLiteral();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1276();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){if(input.substr(peg$currPos,8)===peg$c1277){s0=peg$c1277;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1278)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1279){s0=peg$c1279;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1280)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c1281){s0=peg$c1281;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1282)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1283){s0=peg$c1283;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1284)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1285){s0=peg$c1285;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1286)}}}}}}}}return s0}function peg$parseMachinePropertyDefaultString(){var s0,s1,s2,s3;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===34){s1=peg$c242;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c243)}}if(s1!==peg$FAILED){s2=[];s3=peg$parseMachinePropertyDefaultStringCharacter();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseMachinePropertyDefaultStringCharacter()}if(s2!==peg$FAILED){if(input.charCodeAt(peg$currPos)===34){s3=peg$c242;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c243)}}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1287(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$parseMachinePropertyDefaultStringCharacter(){var s0,s1,s2;s0=peg$currPos;s1=peg$currPos;peg$silentFails++;if(input.charCodeAt(peg$currPos)===34){s2=peg$c242;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c243)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===92){s2=peg$c244;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c245)}}}peg$silentFails--;if(s2===peg$FAILED){s1=void 0}else{peg$currPos=s1;s1=peg$FAILED}if(s1!==peg$FAILED){if(input.length>peg$currPos){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c284)}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c1288(s2);s0=s1}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)===92){s1=peg$c244;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c245)}}if(s1!==peg$FAILED){s2=peg$parseMachinePropertyDefaultStringEscapeSequence();if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c1289(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseMachinePropertyDefaultStringEscapeSequence(){var s0,s1;if(input.charCodeAt(peg$currPos)===39){s0=peg$c272;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c273)}}if(s0===peg$FAILED){if(input.charCodeAt(peg$currPos)===34){s0=peg$c242;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c243)}}if(s0===peg$FAILED){if(input.charCodeAt(peg$currPos)===92){s0=peg$c244;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c245)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===98){s1=peg$c248;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c249)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1290()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===102){s1=peg$c251;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c252)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1291()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===110){s1=peg$c254;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c255)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1292()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===114){s1=peg$c257;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c258)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1293()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===116){s1=peg$c260;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c261)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1294()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===118){s1=peg$c263;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c264)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1295()}s0=s1}}}}}}}}return s0}function peg$parseMachinePropertyDefault(){var s0;s0=peg$parseMachinePropertyDefaultNull();if(s0===peg$FAILED){s0=peg$parseMachinePropertyDefaultUndefined();if(s0===peg$FAILED){s0=peg$parseMachinePropertyDefaultBoolean();if(s0===peg$FAILED){s0=peg$parseMachinePropertyDefaultNumber();if(s0===peg$FAILED){s0=peg$parseMachinePropertyDefaultString()}}}}return s0}function peg$parseMachineProperty(){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,8)===peg$c1296){s2=peg$c1296;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1297)}}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.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$parseMachinePropertyDefault();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$c1072;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1298(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$c1296){s2=peg$c1296;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1297)}}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)===59){s6=peg$c1072;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){peg$savedPos=s0;s1=peg$c1299(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$c1300){s1=peg$c1300;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1301)}}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$c1072;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1302(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$c1303){s1=peg$c1303;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1304)}}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$c1072;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1305(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$c1306){s1=peg$c1306;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1307)}}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$c1072;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1073)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1308(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$c1309)}}return s0}function peg$parseTerm(){var s0;s0=peg$parseExp();if(s0===peg$FAILED){s0=peg$parseStateDeclaration();if(s0===peg$FAILED){s0=peg$parseArrangeDeclaration();if(s0===peg$FAILED){s0=peg$parseNamedList();if(s0===peg$FAILED){s0=peg$parseMachineAttribute();if(s0===peg$FAILED){s0=peg$parseMachineProperty();if(s0===peg$FAILED){s0=peg$parseConfig()}}}}}}return s0}function peg$parseTermList(){var s0,s1;s0=[];s1=peg$parseTerm();while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseTerm()}return s0}peg$result=peg$startRuleFunction();if(peg$result!==peg$FAILED&&peg$currPos===input.length){return peg$result}else{if(peg$result!==peg$FAILED&&peg$currPos":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 makeTransition(this_se,from,to,isRight,_wasList,_wasIndex){const kind=isRight?arrow_right_kind(this_se.kind):arrow_left_kind(this_se.kind),edge={from:from,to:to,kind:kind,forced_only:kind==="forced",main_path:kind==="main"};const action=isRight?"r_action":"l_action",probability=isRight?"r_probability":"l_probability";if(this_se[action]){edge.action=this_se[action]}if(this_se[probability]){edge.probability=this_se[probability]}return edge}function wrap_parse(input,options){return peg$parse(input,options||{})}function compile_rule_transition_step(acc,from,to,this_se,next_se){const edges=[];const uFrom=Array.isArray(from)?from:[from],uTo=Array.isArray(to)?to:[to];uFrom.map((f=>{uTo.map((t=>{const right=makeTransition(this_se,f,t,true);if(right.kind!=="none"){edges.push(right)}const left=makeTransition(this_se,t,f,false);if(left.kind!=="none"){edges.push(left)}}))}));const new_acc=acc.concat(edges);if(next_se){return compile_rule_transition_step(new_acc,to,next_se.to,next_se,next_se.se)}else{return new_acc}}function compile_rule_handle_transition(rule){return compile_rule_transition_step([],rule.from,rule.se.to,rule.se,rule.se.se)}function compile_rule_handler(rule){if(rule.key==="transition"){return{agg_as:"transition",val:compile_rule_handle_transition(rule)}}if(rule.key==="machine_language"){return{agg_as:"machine_language",val:reduceTo6391.reduce(rule.value)}}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"];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:[],theme:[],flow:[],dot_preamble:[],arrange_declaration:[],arrange_start_declaration:[],arrange_end_declaration:[],machine_version:[]};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 assembled_transitions=[].concat(...results["transition"]);const result_cfg={start_states:results.start_states.length?results.start_states:[assembled_transitions[0].from],transitions:assembled_transitions};const oneOnlyKeys=["graph_layout","machine_name","machine_version","machine_comment","fsl_version","machine_license","machine_definition","machine_language","theme","flow","dot_preamble"];oneOnlyKeys.map((oneOnlyKey=>{if(results[oneOnlyKey].length>1){throw new JssmError(undefined,`May only have one ${oneOnlyKey} statement maximum: ${JSON.stringify(results[oneOnlyKey])}`)}else{if(results[oneOnlyKey].length){result_cfg[oneOnlyKey]=results[oneOnlyKey][0]}}}));["arrange_declaration","arrange_start_declaration","arrange_end_declaration","machine_author","machine_contributor","machine_reference","state_declaration"].map((multiKey=>{if(results[multiKey].length){result_cfg[multiKey]=results[multiKey]}}));return result_cfg}function make(plan){return compile(wrap_parse(plan))}function transfer_state_properties(state_decl){state_decl.declarations.map((d=>{switch(d.key){case"shape":state_decl.shape=d.value;break;case"color":state_decl.color=d.value;break;case"corners":state_decl.corners=d.value;break;case"linestyle":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"border-color":state_decl.borderColor=d.value;break;default:throw new JssmError(undefined,`Unknown state property: '${JSON.stringify(d)}'`)}}));return state_decl}class Machine{constructor({start_states:start_states,complete:complete=[],transitions:transitions,machine_author:machine_author,machine_comment:machine_comment,machine_contributor:machine_contributor,machine_definition:machine_definition,machine_language:machine_language,machine_license:machine_license,machine_name:machine_name,machine_version:machine_version,state_declaration:state_declaration,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}){this._instance_name=instance_name;this._state=start_states[0];this._states=new Map;this._state_declarations=new Map;this._edges=[];this._edge_map=new Map;this._named_transitions=new Map;this._actions=new Map;this._reverse_actions=new Map;this._reverse_action_targets=new Map;this._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._theme=theme;this._flow=flow;this._graph_layout=graph_layout;this._has_hooks=false;this._has_basic_hooks=false;this._has_named_hooks=false;this._has_entry_hooks=false;this._has_exit_hooks=false;this._has_global_action_hooks=false;this._has_transition_hooks=true;this._hooks=new Map;this._named_hooks=new Map;this._entry_hooks=new Map;this._exit_hooks=new Map;this._global_action_hooks=new Map;this._any_action_hook=undefined;this._standard_transition_hook=undefined;this._main_transition_hook=undefined;this._forced_transition_hook=undefined;this._any_transition_hook=undefined;this._standard_transition_hook=undefined;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))}))}transitions.map((tr=>{if(tr.from===undefined){throw new JssmError(this,`transition must define 'from': ${JSON.stringify(tr)}`)}if(tr.to===undefined){throw new JssmError(this,`transition must define 'to': ${JSON.stringify(tr)}`)}const cursor_from=this._states.get(tr.from)||{name:tr.from,from:[],to:[],complete:complete.includes(tr.from)};if(!this._states.has(tr.from)){this._new_state(cursor_from)}const cursor_to=this._states.get(tr.to)||{name:tr.to,from:[],to:[],complete:complete.includes(tr.to)};if(!this._states.has(tr.to)){this._new_state(cursor_to)}if(cursor_from.to.includes(tr.to)){throw new JssmError(this,`already has ${JSON.stringify(tr.from)} to ${JSON.stringify(tr.to)}`)}else{cursor_from.to.push(tr.to);cursor_to.from.push(tr.from)}this._edges.push(tr);const thisEdgeId=this._edges.length-1;if(tr.name){if(this._named_transitions.has(tr.name)){throw new JssmError(this,`named transition "${JSON.stringify(tr.name)}" already created`)}else{this._named_transitions.set(tr.name,thisEdgeId)}}const from_mapping=this._edge_map.get(tr.from)||new Map;if(!this._edge_map.has(tr.from)){this._edge_map.set(tr.from,from_mapping)}from_mapping.set(tr.to,thisEdgeId);if(tr.action){let actionMap=this._actions.get(tr.action);if(!actionMap){actionMap=new Map;this._actions.set(tr.action,actionMap)}if(actionMap.has(tr.from)){throw new JssmError(this,`action ${JSON.stringify(tr.action)} already attached to origin ${JSON.stringify(tr.from)}`)}else{actionMap.set(tr.from,thisEdgeId)}let rActionMap=this._reverse_actions.get(tr.from);if(!rActionMap){rActionMap=new Map;this._reverse_actions.set(tr.from,rActionMap)}rActionMap.set(tr.action,thisEdgeId);if(!this._reverse_action_targets.has(tr.to)){this._reverse_action_targets.set(tr.to,new Map)}}}))}_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}state_is_final(whichState){return this.state_is_terminal(whichState)&&this.state_is_complete(whichState)}is_final(){return this.state_is_final(this.state())}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())}theme(){return this._theme}flow(){return this._flow}get_transition_by_state_names(from,to){const emg=this._edge_map.get(from);if(emg){return emg.get(to)}else{return undefined}}lookup_transition_for(from,to){const id=this.get_transition_by_state_names(from,to);return id===undefined||id===null?undefined:this._edges[id]}list_transitions(whichState=this.state()){return{entrances:this.list_entrances(whichState),exits:this.list_exits(whichState)}}list_entrances(whichState=this.state()){return(this._states.get(whichState)||{from:undefined}).from||[]}list_exits(whichState=this.state()){return(this._states.get(whichState)||{to:undefined}).to||[]}probable_exits_for(whichState){const wstate=this._states.get(whichState);if(!wstate){throw new JssmError(this,`No such state ${JSON.stringify(whichState)} in probable_exits_for`)}const wstate_to=wstate.to,wtf=wstate_to.map((ws=>this.lookup_transition_for(this.state(),ws))).filter(Boolean);return wtf}probabilistic_transition(){const selected=weighted_rand_select(this.probable_exits_for(this.state()));return this.transition(selected.to)}probabilistic_walk(n){return seq(n).map((()=>{const state_was=this.state();this.probabilistic_transition();return state_was})).concat([this.state()])}probabilistic_histo_walk(n){return histograph(this.probabilistic_walk(n))}actions(whichState=this.state()){const wstate=this._reverse_actions.get(whichState);if(wstate){return Array.from(wstate.keys())}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}list_states_having_action(whichState){const wstate=this._actions.get(whichState);if(wstate){return Array.from(wstate.keys())}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}list_exit_actions(whichState=this.state()){const ra_base=this._reverse_actions.get(whichState);if(!ra_base){throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}return Array.from(ra_base.values()).map((edgeId=>this._edges[edgeId])).filter((o=>o.from===whichState)).map((filtered=>filtered.action))}probable_action_exits(whichState=this.state()){const ra_base=this._reverse_actions.get(whichState);if(!ra_base){throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}return Array.from(ra_base.values()).map((edgeId=>this._edges[edgeId])).filter((o=>o.from===whichState)).map((filtered=>({action:filtered.action,probability:filtered.probability})))}is_unenterable(whichState){if(!this.has_state(whichState)){throw new JssmError(this,`No such state ${whichState}`)}return this.list_entrances(whichState).length===0}has_unenterables(){return this.states().some((x=>this.is_unenterable(x)))}is_terminal(){return this.state_is_terminal(this.state())}state_is_terminal(whichState){if(!this.has_state(whichState)){throw new JssmError(this,`No such state ${whichState}`)}return this.list_exits(whichState).length===0}has_terminals(){return this.states().some((x=>this.state_is_terminal(x)))}is_complete(){return this.state_is_complete(this.state())}state_is_complete(whichState){const wstate=this._states.get(whichState);if(wstate){return wstate.complete}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}has_completes(){return this.states().some((x=>this.state_is_complete(x)))}set_hook(HookDesc){switch(HookDesc.kind){case"hook":this._hooks.set(hook_name(HookDesc.from,HookDesc.to),HookDesc.handler);this._has_hooks=true;this._has_basic_hooks=true;break;case"named":this._named_hooks.set(named_hook_name(HookDesc.from,HookDesc.to,HookDesc.action),HookDesc.handler);this._has_hooks=true;this._has_named_hooks=true;break;case"global action":this._global_action_hooks.set(HookDesc.action,HookDesc.handler);this._has_hooks=true;this._has_global_action_hooks=true;break;case"any action":this._any_action_hook=HookDesc.handler;this._has_hooks=true;break;case"standard transition":this._standard_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"main transition":this._main_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"forced transition":this._forced_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"any transition":this._any_transition_hook=HookDesc.handler;this._has_hooks=true;break;case"entry":this._entry_hooks.set(HookDesc.to,HookDesc.handler);this._has_hooks=true;this._has_entry_hooks=true;break;case"exit":this._exit_hooks.set(HookDesc.from,HookDesc.handler);this._has_hooks=true;this._has_exit_hooks=true;break;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}edges_between(from,to){return this._edges.filter((edge=>edge.from===from&&edge.to===to))}transition_impl(newStateOrAction,newData,wasForced,wasAction){let valid=false,trans_type,newState;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}}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}}if(valid){if(this._has_hooks){if(wasAction){if(this._any_action_hook!==undefined){if(this._any_action_hook()===false){return false}}const maybe_ga_hook=this._global_action_hooks.get(newStateOrAction);if(maybe_ga_hook!==undefined){if(maybe_ga_hook({action:newStateOrAction,forced:wasForced})===false){return false}}}if(this._any_transition_hook!==undefined){if(this._any_transition_hook()===false){return false}}if(this._has_exit_hooks){const maybe_ex_hook=this._exit_hooks.get(this._state);if(maybe_ex_hook!==undefined){if(maybe_ex_hook({from:this._state,forced:wasForced})===false){return false}}}if(this._has_named_hooks){if(wasAction){const nhn=named_hook_name(this._state,newState,newStateOrAction),n_maybe_hook=this._named_hooks.get(nhn);if(n_maybe_hook!==undefined){if(n_maybe_hook({from:this._state,to:newState,action:newStateOrAction})===false){return false}}}}if(this._has_basic_hooks){const hn=hook_name(this._state,newState),maybe_hook=this._hooks.get(hn);if(maybe_hook!==undefined){if(maybe_hook({from:this._state,to:newState,forced:wasForced,action:wasAction?newStateOrAction:undefined})===false){return false}}}if(trans_type==="legal"){if(this._standard_transition_hook!==undefined){if(this._standard_transition_hook({from:this._state,to:newState})===false){return false}}}if(trans_type==="main"){if(this._main_transition_hook!==undefined){if(this._main_transition_hook({from:this._state,to:newState})===false){return false}}}if(trans_type==="forced"){if(this._forced_transition_hook!==undefined){if(this._forced_transition_hook({from:this._state,to:newState})===false){return false}}}if(this._has_entry_hooks){const maybe_en_hook=this._entry_hooks.get(newState);if(maybe_en_hook!==undefined){if(maybe_en_hook({to:newState,forced:wasForced})===false){return false}}}this._state=newState;return true}else{this._state=newState;return true}}else{return false}}action(actionName,newData){return this.transition_impl(actionName,newData,false,true)}transition(newState,newData){return this.transition_impl(newState,newData,false,false)}force_transition(newState,newData){return this.transition_impl(newState,newData,true,false)}current_action_for(action){const action_base=this._actions.get(action);return action_base?action_base.get(this.state()):undefined}current_action_edge_for(action){const idx=this.current_action_for(action);if(idx===undefined||idx===null){throw new JssmError(this,`No such action ${JSON.stringify(action)}`)}return this._edges[idx]}valid_action(action,_newData){return this.current_action_for(action)!==undefined}valid_transition(newState,_newData){const transition_for=this.lookup_transition_for(this.state(),newState);if(!transition_for){return false}if(transition_for.forced_only){return false}return true}valid_force_transition(newState,_newData){return this.lookup_transition_for(this.state(),newState)!==undefined}instance_name(){return this._instance_name}sm(template_strings,...remainder){return sm(template_strings,...remainder)}}function sm(template_strings,...remainder){return new Machine(make(template_strings.reduce(((acc,val,idx)=>`${acc}${remainder[idx-1]}${val}`))))}function from(MachineAsString,ExtraConstructorFields){const to_decorate=make(MachineAsString);if(ExtraConstructorFields!==undefined){Object.keys(ExtraConstructorFields).map((key=>to_decorate[key]=ExtraConstructorFields[key]))}return new Machine(to_decorate)}exports.Machine=Machine;exports.arrow_direction=arrow_direction;exports.arrow_left_kind=arrow_left_kind;exports.arrow_right_kind=arrow_right_kind;exports.compile=compile;exports.from=from;exports.gviz_shapes=gviz_shapes;exports.histograph=histograph;exports.make=make;exports.named_colors=named_colors;exports.parse=wrap_parse;exports.seq=seq;exports.shapes=shapes;exports.sm=sm;exports.transfer_state_properties=transfer_state_properties;exports.version=version;exports.weighted_histo_key=weighted_histo_key;exports.weighted_rand_select=weighted_rand_select;exports.weighted_sample_select=weighted_sample_select;Object.defineProperty(exports,"__esModule",{value:true});return exports}({}); diff --git a/dist/jssm.es5.iife.nonmin.js b/dist/jssm.es5.iife.nonmin.js index 4cf27b9d..70c723e2 100644 --- a/dist/jssm.es5.iife.nonmin.js +++ b/dist/jssm.es5.iife.nonmin.js @@ -16782,7 +16782,7 @@ var jssm = (function (exports) { } } - const version = "5.67.0"; + const version = "5.67.2"; class JssmError extends Error { constructor(machine, message, JEEI) { diff --git a/docs/docs/assets/custom.css b/docs/docs/assets/custom.css index 15463f56..aaefaefa 100644 --- a/docs/docs/assets/custom.css +++ b/docs/docs/assets/custom.css @@ -22,5 +22,7 @@ html body .tsd-panel table tr th { background-color: #bdf; } #quicktab td { text-align: right; } #quicktab td+td { text-align: center; } -#quicktab th { text-align: right; } +#quicktab th { text-align: right; font-weight: normal; } #quicktab th+th { text-align: center; } + +fail { font-style: italic; color: #b00; } diff --git a/docs/docs/assets/search.js b/docs/docs/assets/search.js index 6ed8cfe3..2a8c0d54 100644 --- a/docs/docs/assets/search.js +++ b/docs/docs/assets/search.js @@ -1 +1 @@ -window.searchData = JSON.parse("{\"kinds\":{\"32\":\"Variable\",\"64\":\"Function\",\"128\":\"Class\",\"512\":\"Constructor\",\"1024\":\"Property\",\"2048\":\"Method\"},\"rows\":[{\"id\":0,\"kind\":64,\"name\":\"transfer_state_properties\",\"url\":\"modules.html#transfer_state_properties\",\"classes\":\"tsd-kind-function\",\"isPage\":false},{\"id\":1,\"kind\":128,\"name\":\"Machine\",\"url\":\"classes/Machine.html\",\"classes\":\"tsd-kind-class tsd-has-type-parameter\",\"isPage\":false},{\"id\":2,\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/Machine.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class tsd-has-type-parameter\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":3,\"kind\":1024,\"name\":\"_state\",\"url\":\"classes/Machine.html#_state\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":4,\"kind\":1024,\"name\":\"_states\",\"url\":\"classes/Machine.html#_states\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":5,\"kind\":1024,\"name\":\"_edges\",\"url\":\"classes/Machine.html#_edges\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":6,\"kind\":1024,\"name\":\"_edge_map\",\"url\":\"classes/Machine.html#_edge_map\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":7,\"kind\":1024,\"name\":\"_named_transitions\",\"url\":\"classes/Machine.html#_named_transitions\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":8,\"kind\":1024,\"name\":\"_actions\",\"url\":\"classes/Machine.html#_actions\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":9,\"kind\":1024,\"name\":\"_reverse_actions\",\"url\":\"classes/Machine.html#_reverse_actions\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":10,\"kind\":1024,\"name\":\"_reverse_action_targets\",\"url\":\"classes/Machine.html#_reverse_action_targets\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":11,\"kind\":1024,\"name\":\"_machine_author\",\"url\":\"classes/Machine.html#_machine_author\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":12,\"kind\":1024,\"name\":\"_machine_comment\",\"url\":\"classes/Machine.html#_machine_comment\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":13,\"kind\":1024,\"name\":\"_machine_contributor\",\"url\":\"classes/Machine.html#_machine_contributor\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":14,\"kind\":1024,\"name\":\"_machine_definition\",\"url\":\"classes/Machine.html#_machine_definition\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":15,\"kind\":1024,\"name\":\"_machine_language\",\"url\":\"classes/Machine.html#_machine_language\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":16,\"kind\":1024,\"name\":\"_machine_license\",\"url\":\"classes/Machine.html#_machine_license\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":17,\"kind\":1024,\"name\":\"_machine_name\",\"url\":\"classes/Machine.html#_machine_name\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":18,\"kind\":1024,\"name\":\"_machine_version\",\"url\":\"classes/Machine.html#_machine_version\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":19,\"kind\":1024,\"name\":\"_fsl_version\",\"url\":\"classes/Machine.html#_fsl_version\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":20,\"kind\":1024,\"name\":\"_raw_state_declaration\",\"url\":\"classes/Machine.html#_raw_state_declaration\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":21,\"kind\":1024,\"name\":\"_state_declarations\",\"url\":\"classes/Machine.html#_state_declarations\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":22,\"kind\":1024,\"name\":\"_instance_name\",\"url\":\"classes/Machine.html#_instance_name\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":23,\"kind\":1024,\"name\":\"_graph_layout\",\"url\":\"classes/Machine.html#_graph_layout\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":24,\"kind\":1024,\"name\":\"_dot_preamble\",\"url\":\"classes/Machine.html#_dot_preamble\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":25,\"kind\":1024,\"name\":\"_arrange_declaration\",\"url\":\"classes/Machine.html#_arrange_declaration\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":26,\"kind\":1024,\"name\":\"_arrange_start_declaration\",\"url\":\"classes/Machine.html#_arrange_start_declaration\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":27,\"kind\":1024,\"name\":\"_arrange_end_declaration\",\"url\":\"classes/Machine.html#_arrange_end_declaration\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":28,\"kind\":1024,\"name\":\"_theme\",\"url\":\"classes/Machine.html#_theme\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":29,\"kind\":1024,\"name\":\"_flow\",\"url\":\"classes/Machine.html#_flow\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":30,\"kind\":1024,\"name\":\"_has_hooks\",\"url\":\"classes/Machine.html#_has_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":31,\"kind\":1024,\"name\":\"_has_basic_hooks\",\"url\":\"classes/Machine.html#_has_basic_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":32,\"kind\":1024,\"name\":\"_has_named_hooks\",\"url\":\"classes/Machine.html#_has_named_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":33,\"kind\":1024,\"name\":\"_has_entry_hooks\",\"url\":\"classes/Machine.html#_has_entry_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":34,\"kind\":1024,\"name\":\"_has_exit_hooks\",\"url\":\"classes/Machine.html#_has_exit_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":35,\"kind\":1024,\"name\":\"_has_global_action_hooks\",\"url\":\"classes/Machine.html#_has_global_action_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":36,\"kind\":1024,\"name\":\"_has_transition_hooks\",\"url\":\"classes/Machine.html#_has_transition_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":37,\"kind\":1024,\"name\":\"_hooks\",\"url\":\"classes/Machine.html#_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":38,\"kind\":1024,\"name\":\"_named_hooks\",\"url\":\"classes/Machine.html#_named_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":39,\"kind\":1024,\"name\":\"_entry_hooks\",\"url\":\"classes/Machine.html#_entry_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":40,\"kind\":1024,\"name\":\"_exit_hooks\",\"url\":\"classes/Machine.html#_exit_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":41,\"kind\":1024,\"name\":\"_global_action_hooks\",\"url\":\"classes/Machine.html#_global_action_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":42,\"kind\":1024,\"name\":\"_any_action_hook\",\"url\":\"classes/Machine.html#_any_action_hook\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":43,\"kind\":1024,\"name\":\"_standard_transition_hook\",\"url\":\"classes/Machine.html#_standard_transition_hook\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":44,\"kind\":1024,\"name\":\"_main_transition_hook\",\"url\":\"classes/Machine.html#_main_transition_hook\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":45,\"kind\":1024,\"name\":\"_forced_transition_hook\",\"url\":\"classes/Machine.html#_forced_transition_hook\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":46,\"kind\":1024,\"name\":\"_any_transition_hook\",\"url\":\"classes/Machine.html#_any_transition_hook\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":47,\"kind\":2048,\"name\":\"_new_state\",\"url\":\"classes/Machine.html#_new_state\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":48,\"kind\":2048,\"name\":\"state\",\"url\":\"classes/Machine.html#state\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":49,\"kind\":2048,\"name\":\"state_is_final\",\"url\":\"classes/Machine.html#state_is_final\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":50,\"kind\":2048,\"name\":\"is_final\",\"url\":\"classes/Machine.html#is_final\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":51,\"kind\":2048,\"name\":\"graph_layout\",\"url\":\"classes/Machine.html#graph_layout\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":52,\"kind\":2048,\"name\":\"dot_preamble\",\"url\":\"classes/Machine.html#dot_preamble\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":53,\"kind\":2048,\"name\":\"machine_author\",\"url\":\"classes/Machine.html#machine_author\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":54,\"kind\":2048,\"name\":\"machine_comment\",\"url\":\"classes/Machine.html#machine_comment\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":55,\"kind\":2048,\"name\":\"machine_contributor\",\"url\":\"classes/Machine.html#machine_contributor\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":56,\"kind\":2048,\"name\":\"machine_definition\",\"url\":\"classes/Machine.html#machine_definition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":57,\"kind\":2048,\"name\":\"machine_language\",\"url\":\"classes/Machine.html#machine_language\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":58,\"kind\":2048,\"name\":\"machine_license\",\"url\":\"classes/Machine.html#machine_license\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":59,\"kind\":2048,\"name\":\"machine_name\",\"url\":\"classes/Machine.html#machine_name\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":60,\"kind\":2048,\"name\":\"machine_version\",\"url\":\"classes/Machine.html#machine_version\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":61,\"kind\":2048,\"name\":\"raw_state_declarations\",\"url\":\"classes/Machine.html#raw_state_declarations\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":62,\"kind\":2048,\"name\":\"state_declaration\",\"url\":\"classes/Machine.html#state_declaration\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":63,\"kind\":2048,\"name\":\"state_declarations\",\"url\":\"classes/Machine.html#state_declarations\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":64,\"kind\":2048,\"name\":\"fsl_version\",\"url\":\"classes/Machine.html#fsl_version\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":65,\"kind\":2048,\"name\":\"machine_state\",\"url\":\"classes/Machine.html#machine_state\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":66,\"kind\":2048,\"name\":\"states\",\"url\":\"classes/Machine.html#states\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":67,\"kind\":2048,\"name\":\"state_for\",\"url\":\"classes/Machine.html#state_for\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":68,\"kind\":2048,\"name\":\"has_state\",\"url\":\"classes/Machine.html#has_state\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":69,\"kind\":2048,\"name\":\"list_edges\",\"url\":\"classes/Machine.html#list_edges\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":70,\"kind\":2048,\"name\":\"list_named_transitions\",\"url\":\"classes/Machine.html#list_named_transitions\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":71,\"kind\":2048,\"name\":\"list_actions\",\"url\":\"classes/Machine.html#list_actions\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":72,\"kind\":2048,\"name\":\"theme\",\"url\":\"classes/Machine.html#theme\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":73,\"kind\":2048,\"name\":\"flow\",\"url\":\"classes/Machine.html#flow\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":74,\"kind\":2048,\"name\":\"get_transition_by_state_names\",\"url\":\"classes/Machine.html#get_transition_by_state_names\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":75,\"kind\":2048,\"name\":\"lookup_transition_for\",\"url\":\"classes/Machine.html#lookup_transition_for\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":76,\"kind\":2048,\"name\":\"list_transitions\",\"url\":\"classes/Machine.html#list_transitions\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":77,\"kind\":2048,\"name\":\"list_entrances\",\"url\":\"classes/Machine.html#list_entrances\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":78,\"kind\":2048,\"name\":\"list_exits\",\"url\":\"classes/Machine.html#list_exits\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":79,\"kind\":2048,\"name\":\"probable_exits_for\",\"url\":\"classes/Machine.html#probable_exits_for\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":80,\"kind\":2048,\"name\":\"probabilistic_transition\",\"url\":\"classes/Machine.html#probabilistic_transition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":81,\"kind\":2048,\"name\":\"probabilistic_walk\",\"url\":\"classes/Machine.html#probabilistic_walk\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":82,\"kind\":2048,\"name\":\"probabilistic_histo_walk\",\"url\":\"classes/Machine.html#probabilistic_histo_walk\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":83,\"kind\":2048,\"name\":\"actions\",\"url\":\"classes/Machine.html#actions\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":84,\"kind\":2048,\"name\":\"list_states_having_action\",\"url\":\"classes/Machine.html#list_states_having_action\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":85,\"kind\":2048,\"name\":\"list_exit_actions\",\"url\":\"classes/Machine.html#list_exit_actions\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":86,\"kind\":2048,\"name\":\"probable_action_exits\",\"url\":\"classes/Machine.html#probable_action_exits\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":87,\"kind\":2048,\"name\":\"is_unenterable\",\"url\":\"classes/Machine.html#is_unenterable\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":88,\"kind\":2048,\"name\":\"has_unenterables\",\"url\":\"classes/Machine.html#has_unenterables\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":89,\"kind\":2048,\"name\":\"is_terminal\",\"url\":\"classes/Machine.html#is_terminal\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":90,\"kind\":2048,\"name\":\"state_is_terminal\",\"url\":\"classes/Machine.html#state_is_terminal\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":91,\"kind\":2048,\"name\":\"has_terminals\",\"url\":\"classes/Machine.html#has_terminals\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":92,\"kind\":2048,\"name\":\"is_complete\",\"url\":\"classes/Machine.html#is_complete\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":93,\"kind\":2048,\"name\":\"state_is_complete\",\"url\":\"classes/Machine.html#state_is_complete\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":94,\"kind\":2048,\"name\":\"has_completes\",\"url\":\"classes/Machine.html#has_completes\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":95,\"kind\":2048,\"name\":\"set_hook\",\"url\":\"classes/Machine.html#set_hook\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":96,\"kind\":2048,\"name\":\"hook\",\"url\":\"classes/Machine.html#hook\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":97,\"kind\":2048,\"name\":\"hook_action\",\"url\":\"classes/Machine.html#hook_action\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":98,\"kind\":2048,\"name\":\"hook_global_action\",\"url\":\"classes/Machine.html#hook_global_action\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":99,\"kind\":2048,\"name\":\"hook_any_action\",\"url\":\"classes/Machine.html#hook_any_action\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":100,\"kind\":2048,\"name\":\"hook_standard_transition\",\"url\":\"classes/Machine.html#hook_standard_transition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":101,\"kind\":2048,\"name\":\"hook_main_transition\",\"url\":\"classes/Machine.html#hook_main_transition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":102,\"kind\":2048,\"name\":\"hook_forced_transition\",\"url\":\"classes/Machine.html#hook_forced_transition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":103,\"kind\":2048,\"name\":\"hook_any_transition\",\"url\":\"classes/Machine.html#hook_any_transition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":104,\"kind\":2048,\"name\":\"hook_entry\",\"url\":\"classes/Machine.html#hook_entry\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":105,\"kind\":2048,\"name\":\"hook_exit\",\"url\":\"classes/Machine.html#hook_exit\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":106,\"kind\":2048,\"name\":\"edges_between\",\"url\":\"classes/Machine.html#edges_between\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":107,\"kind\":2048,\"name\":\"transition_impl\",\"url\":\"classes/Machine.html#transition_impl\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":108,\"kind\":2048,\"name\":\"action\",\"url\":\"classes/Machine.html#action\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":109,\"kind\":2048,\"name\":\"transition\",\"url\":\"classes/Machine.html#transition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":110,\"kind\":2048,\"name\":\"force_transition\",\"url\":\"classes/Machine.html#force_transition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":111,\"kind\":2048,\"name\":\"current_action_for\",\"url\":\"classes/Machine.html#current_action_for\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":112,\"kind\":2048,\"name\":\"current_action_edge_for\",\"url\":\"classes/Machine.html#current_action_edge_for\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":113,\"kind\":2048,\"name\":\"valid_action\",\"url\":\"classes/Machine.html#valid_action\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":114,\"kind\":2048,\"name\":\"valid_transition\",\"url\":\"classes/Machine.html#valid_transition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":115,\"kind\":2048,\"name\":\"valid_force_transition\",\"url\":\"classes/Machine.html#valid_force_transition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":116,\"kind\":2048,\"name\":\"instance_name\",\"url\":\"classes/Machine.html#instance_name\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":117,\"kind\":2048,\"name\":\"sm\",\"url\":\"classes/Machine.html#sm\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":118,\"kind\":64,\"name\":\"make\",\"url\":\"modules.html#make\",\"classes\":\"tsd-kind-function tsd-has-type-parameter\",\"isPage\":false},{\"id\":119,\"kind\":64,\"name\":\"parse\",\"url\":\"modules.html#parse\",\"classes\":\"tsd-kind-function\",\"isPage\":false},{\"id\":120,\"kind\":64,\"name\":\"compile\",\"url\":\"modules.html#compile\",\"classes\":\"tsd-kind-function tsd-has-type-parameter\",\"isPage\":false},{\"id\":121,\"kind\":64,\"name\":\"sm\",\"url\":\"modules.html#sm\",\"classes\":\"tsd-kind-function tsd-has-type-parameter\",\"isPage\":false},{\"id\":122,\"kind\":64,\"name\":\"from\",\"url\":\"modules.html#from\",\"classes\":\"tsd-kind-function tsd-has-type-parameter\",\"isPage\":false},{\"id\":123,\"kind\":64,\"name\":\"arrow_direction\",\"url\":\"modules.html#arrow_direction\",\"classes\":\"tsd-kind-function\",\"isPage\":false},{\"id\":124,\"kind\":64,\"name\":\"arrow_left_kind\",\"url\":\"modules.html#arrow_left_kind\",\"classes\":\"tsd-kind-function\",\"isPage\":false},{\"id\":125,\"kind\":64,\"name\":\"arrow_right_kind\",\"url\":\"modules.html#arrow_right_kind\",\"classes\":\"tsd-kind-function\",\"isPage\":false},{\"id\":126,\"kind\":32,\"name\":\"version\",\"url\":\"modules.html#version\",\"classes\":\"tsd-kind-variable\",\"isPage\":false},{\"id\":127,\"kind\":64,\"name\":\"seq\",\"url\":\"modules.html#seq\",\"classes\":\"tsd-kind-function\",\"isPage\":false},{\"id\":128,\"kind\":32,\"name\":\"weighted_rand_select\",\"url\":\"modules.html#weighted_rand_select\",\"classes\":\"tsd-kind-variable\",\"isPage\":false},{\"id\":129,\"kind\":32,\"name\":\"histograph\",\"url\":\"modules.html#histograph\",\"classes\":\"tsd-kind-variable\",\"isPage\":false},{\"id\":130,\"kind\":32,\"name\":\"weighted_sample_select\",\"url\":\"modules.html#weighted_sample_select\",\"classes\":\"tsd-kind-variable\",\"isPage\":false},{\"id\":131,\"kind\":32,\"name\":\"weighted_histo_key\",\"url\":\"modules.html#weighted_histo_key\",\"classes\":\"tsd-kind-variable\",\"isPage\":false},{\"id\":132,\"kind\":32,\"name\":\"shapes\",\"url\":\"modules.html#shapes\",\"classes\":\"tsd-kind-variable\",\"isPage\":false},{\"id\":133,\"kind\":32,\"name\":\"gviz_shapes\",\"url\":\"modules.html#gviz_shapes\",\"classes\":\"tsd-kind-variable\",\"isPage\":false},{\"id\":134,\"kind\":32,\"name\":\"named_colors\",\"url\":\"modules.html#named_colors\",\"classes\":\"tsd-kind-variable\",\"isPage\":false},{\"id\":135,\"kind\":2048,\"name\":\"Page: ☕ Getting started\",\"url\":\"pages\\\\GettingStarted.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\",\"isPage\":true},{\"id\":136,\"kind\":2048,\"name\":\"Page: Language reference\",\"url\":\"pages\\\\todo.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\",\"isPage\":true},{\"id\":137,\"kind\":2048,\"name\":\"Page: API reference\",\"url\":\"pages\\\\todo.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\",\"isPage\":true},{\"id\":138,\"kind\":2048,\"name\":\"Page: Example machines\",\"url\":\"pages\\\\todo.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\",\"isPage\":true},{\"id\":139,\"kind\":2048,\"name\":\"Page: Environments\",\"url\":\"pages\\\\todo.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\",\"isPage\":true},{\"id\":140,\"kind\":2048,\"name\":\"Page: Bundling\",\"url\":\"pages\\\\todo.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\",\"isPage\":true},{\"id\":141,\"kind\":2048,\"name\":\"Page: Publishing\",\"url\":\"pages\\\\todo.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\",\"isPage\":true},{\"id\":142,\"kind\":2048,\"name\":\"Page: Shootout\",\"url\":\"pages\\\\Shootout.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\",\"isPage\":true},{\"id\":143,\"kind\":2048,\"name\":\"Page: Live Editor\",\"url\":\"pages\\\\live_editor.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\",\"isPage\":true},{\"id\":144,\"kind\":2048,\"name\":\"Page: Github Action\",\"url\":\"pages\\\\todo.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\",\"isPage\":true},{\"id\":145,\"kind\":2048,\"name\":\"Page: Community\",\"url\":\"pages\\\\community.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\",\"isPage\":true},{\"id\":146,\"kind\":2048,\"name\":\"Page: Changelog\",\"url\":\"pages\\\\CHANGELOG.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\",\"isPage\":true}],\"index\":{\"version\":\"2.3.9\",\"fields\":[\"name\",\"parent\"],\"fieldVectors\":[[\"name/0\",[0,48.173]],[\"parent/0\",[]],[\"name/1\",[1,2.421]],[\"parent/1\",[]],[\"name/2\",[2,48.173]],[\"parent/2\",[1,0.208]],[\"name/3\",[3,48.173]],[\"parent/3\",[1,0.208]],[\"name/4\",[4,48.173]],[\"parent/4\",[1,0.208]],[\"name/5\",[5,48.173]],[\"parent/5\",[1,0.208]],[\"name/6\",[6,48.173]],[\"parent/6\",[1,0.208]],[\"name/7\",[7,48.173]],[\"parent/7\",[1,0.208]],[\"name/8\",[8,48.173]],[\"parent/8\",[1,0.208]],[\"name/9\",[9,48.173]],[\"parent/9\",[1,0.208]],[\"name/10\",[10,48.173]],[\"parent/10\",[1,0.208]],[\"name/11\",[11,48.173]],[\"parent/11\",[1,0.208]],[\"name/12\",[12,48.173]],[\"parent/12\",[1,0.208]],[\"name/13\",[13,48.173]],[\"parent/13\",[1,0.208]],[\"name/14\",[14,48.173]],[\"parent/14\",[1,0.208]],[\"name/15\",[15,48.173]],[\"parent/15\",[1,0.208]],[\"name/16\",[16,48.173]],[\"parent/16\",[1,0.208]],[\"name/17\",[17,48.173]],[\"parent/17\",[1,0.208]],[\"name/18\",[18,48.173]],[\"parent/18\",[1,0.208]],[\"name/19\",[19,48.173]],[\"parent/19\",[1,0.208]],[\"name/20\",[20,48.173]],[\"parent/20\",[1,0.208]],[\"name/21\",[21,48.173]],[\"parent/21\",[1,0.208]],[\"name/22\",[22,48.173]],[\"parent/22\",[1,0.208]],[\"name/23\",[23,48.173]],[\"parent/23\",[1,0.208]],[\"name/24\",[24,48.173]],[\"parent/24\",[1,0.208]],[\"name/25\",[25,48.173]],[\"parent/25\",[1,0.208]],[\"name/26\",[26,48.173]],[\"parent/26\",[1,0.208]],[\"name/27\",[27,48.173]],[\"parent/27\",[1,0.208]],[\"name/28\",[28,48.173]],[\"parent/28\",[1,0.208]],[\"name/29\",[29,48.173]],[\"parent/29\",[1,0.208]],[\"name/30\",[30,48.173]],[\"parent/30\",[1,0.208]],[\"name/31\",[31,48.173]],[\"parent/31\",[1,0.208]],[\"name/32\",[32,48.173]],[\"parent/32\",[1,0.208]],[\"name/33\",[33,48.173]],[\"parent/33\",[1,0.208]],[\"name/34\",[34,48.173]],[\"parent/34\",[1,0.208]],[\"name/35\",[35,48.173]],[\"parent/35\",[1,0.208]],[\"name/36\",[36,48.173]],[\"parent/36\",[1,0.208]],[\"name/37\",[37,48.173]],[\"parent/37\",[1,0.208]],[\"name/38\",[38,48.173]],[\"parent/38\",[1,0.208]],[\"name/39\",[39,48.173]],[\"parent/39\",[1,0.208]],[\"name/40\",[40,48.173]],[\"parent/40\",[1,0.208]],[\"name/41\",[41,48.173]],[\"parent/41\",[1,0.208]],[\"name/42\",[42,48.173]],[\"parent/42\",[1,0.208]],[\"name/43\",[43,48.173]],[\"parent/43\",[1,0.208]],[\"name/44\",[44,48.173]],[\"parent/44\",[1,0.208]],[\"name/45\",[45,48.173]],[\"parent/45\",[1,0.208]],[\"name/46\",[46,48.173]],[\"parent/46\",[1,0.208]],[\"name/47\",[47,48.173]],[\"parent/47\",[1,0.208]],[\"name/48\",[48,48.173]],[\"parent/48\",[1,0.208]],[\"name/49\",[49,48.173]],[\"parent/49\",[1,0.208]],[\"name/50\",[50,48.173]],[\"parent/50\",[1,0.208]],[\"name/51\",[51,48.173]],[\"parent/51\",[1,0.208]],[\"name/52\",[52,48.173]],[\"parent/52\",[1,0.208]],[\"name/53\",[53,48.173]],[\"parent/53\",[1,0.208]],[\"name/54\",[54,48.173]],[\"parent/54\",[1,0.208]],[\"name/55\",[55,48.173]],[\"parent/55\",[1,0.208]],[\"name/56\",[56,48.173]],[\"parent/56\",[1,0.208]],[\"name/57\",[57,48.173]],[\"parent/57\",[1,0.208]],[\"name/58\",[58,48.173]],[\"parent/58\",[1,0.208]],[\"name/59\",[59,48.173]],[\"parent/59\",[1,0.208]],[\"name/60\",[60,48.173]],[\"parent/60\",[1,0.208]],[\"name/61\",[61,48.173]],[\"parent/61\",[1,0.208]],[\"name/62\",[62,48.173]],[\"parent/62\",[1,0.208]],[\"name/63\",[63,48.173]],[\"parent/63\",[1,0.208]],[\"name/64\",[64,48.173]],[\"parent/64\",[1,0.208]],[\"name/65\",[65,48.173]],[\"parent/65\",[1,0.208]],[\"name/66\",[66,48.173]],[\"parent/66\",[1,0.208]],[\"name/67\",[67,48.173]],[\"parent/67\",[1,0.208]],[\"name/68\",[68,48.173]],[\"parent/68\",[1,0.208]],[\"name/69\",[69,48.173]],[\"parent/69\",[1,0.208]],[\"name/70\",[70,48.173]],[\"parent/70\",[1,0.208]],[\"name/71\",[71,48.173]],[\"parent/71\",[1,0.208]],[\"name/72\",[72,48.173]],[\"parent/72\",[1,0.208]],[\"name/73\",[73,48.173]],[\"parent/73\",[1,0.208]],[\"name/74\",[74,48.173]],[\"parent/74\",[1,0.208]],[\"name/75\",[75,48.173]],[\"parent/75\",[1,0.208]],[\"name/76\",[76,48.173]],[\"parent/76\",[1,0.208]],[\"name/77\",[77,48.173]],[\"parent/77\",[1,0.208]],[\"name/78\",[78,48.173]],[\"parent/78\",[1,0.208]],[\"name/79\",[79,48.173]],[\"parent/79\",[1,0.208]],[\"name/80\",[80,48.173]],[\"parent/80\",[1,0.208]],[\"name/81\",[81,48.173]],[\"parent/81\",[1,0.208]],[\"name/82\",[82,48.173]],[\"parent/82\",[1,0.208]],[\"name/83\",[83,48.173]],[\"parent/83\",[1,0.208]],[\"name/84\",[84,48.173]],[\"parent/84\",[1,0.208]],[\"name/85\",[85,48.173]],[\"parent/85\",[1,0.208]],[\"name/86\",[86,48.173]],[\"parent/86\",[1,0.208]],[\"name/87\",[87,48.173]],[\"parent/87\",[1,0.208]],[\"name/88\",[88,48.173]],[\"parent/88\",[1,0.208]],[\"name/89\",[89,48.173]],[\"parent/89\",[1,0.208]],[\"name/90\",[90,48.173]],[\"parent/90\",[1,0.208]],[\"name/91\",[91,48.173]],[\"parent/91\",[1,0.208]],[\"name/92\",[92,48.173]],[\"parent/92\",[1,0.208]],[\"name/93\",[93,48.173]],[\"parent/93\",[1,0.208]],[\"name/94\",[94,48.173]],[\"parent/94\",[1,0.208]],[\"name/95\",[95,48.173]],[\"parent/95\",[1,0.208]],[\"name/96\",[96,48.173]],[\"parent/96\",[1,0.208]],[\"name/97\",[97,48.173]],[\"parent/97\",[1,0.208]],[\"name/98\",[98,48.173]],[\"parent/98\",[1,0.208]],[\"name/99\",[99,48.173]],[\"parent/99\",[1,0.208]],[\"name/100\",[100,48.173]],[\"parent/100\",[1,0.208]],[\"name/101\",[101,48.173]],[\"parent/101\",[1,0.208]],[\"name/102\",[102,48.173]],[\"parent/102\",[1,0.208]],[\"name/103\",[103,48.173]],[\"parent/103\",[1,0.208]],[\"name/104\",[104,48.173]],[\"parent/104\",[1,0.208]],[\"name/105\",[105,48.173]],[\"parent/105\",[1,0.208]],[\"name/106\",[106,48.173]],[\"parent/106\",[1,0.208]],[\"name/107\",[107,48.173]],[\"parent/107\",[1,0.208]],[\"name/108\",[108,42.814]],[\"parent/108\",[1,0.208]],[\"name/109\",[109,48.173]],[\"parent/109\",[1,0.208]],[\"name/110\",[110,48.173]],[\"parent/110\",[1,0.208]],[\"name/111\",[111,48.173]],[\"parent/111\",[1,0.208]],[\"name/112\",[112,48.173]],[\"parent/112\",[1,0.208]],[\"name/113\",[113,48.173]],[\"parent/113\",[1,0.208]],[\"name/114\",[114,48.173]],[\"parent/114\",[1,0.208]],[\"name/115\",[115,48.173]],[\"parent/115\",[1,0.208]],[\"name/116\",[116,48.173]],[\"parent/116\",[1,0.208]],[\"name/117\",[117,42.814]],[\"parent/117\",[1,0.208]],[\"name/118\",[118,48.173]],[\"parent/118\",[]],[\"name/119\",[119,48.173]],[\"parent/119\",[]],[\"name/120\",[120,48.173]],[\"parent/120\",[]],[\"name/121\",[117,42.814]],[\"parent/121\",[]],[\"name/122\",[121,48.173]],[\"parent/122\",[]],[\"name/123\",[122,48.173]],[\"parent/123\",[]],[\"name/124\",[123,48.173]],[\"parent/124\",[]],[\"name/125\",[124,48.173]],[\"parent/125\",[]],[\"name/126\",[125,48.173]],[\"parent/126\",[]],[\"name/127\",[126,48.173]],[\"parent/127\",[]],[\"name/128\",[127,48.173]],[\"parent/128\",[]],[\"name/129\",[128,48.173]],[\"parent/129\",[]],[\"name/130\",[129,48.173]],[\"parent/130\",[]],[\"name/131\",[130,48.173]],[\"parent/131\",[]],[\"name/132\",[131,48.173]],[\"parent/132\",[]],[\"name/133\",[132,48.173]],[\"parent/133\",[]],[\"name/134\",[133,48.173]],[\"parent/134\",[]],[\"name/135\",[134,121.152,135,225.088,136,225.088,137,225.088]],[\"parent/135\",[]],[\"name/136\",[134,147.313,138,273.691,139,243.243]],[\"parent/136\",[]],[\"name/137\",[134,147.313,139,243.243,140,273.691]],[\"parent/137\",[]],[\"name/138\",[134,147.313,141,273.691,142,273.691]],[\"parent/138\",[]],[\"name/139\",[134,187.882,143,349.065]],[\"parent/139\",[]],[\"name/140\",[134,187.882,144,349.065]],[\"parent/140\",[]],[\"name/141\",[134,187.882,145,349.065]],[\"parent/141\",[]],[\"name/142\",[134,187.882,146,349.065]],[\"parent/142\",[]],[\"name/143\",[134,147.313,147,273.691,148,273.691]],[\"parent/143\",[]],[\"name/144\",[108,243.243,134,147.313,149,273.691]],[\"parent/144\",[]],[\"name/145\",[134,187.882,150,349.065]],[\"parent/145\",[]],[\"name/146\",[134,187.882,151,349.065]],[\"parent/146\",[]]],\"invertedIndex\":[[\"\",{\"_index\":135,\"name\":{\"135\":{}},\"parent\":{}}],[\"_actions\",{\"_index\":8,\"name\":{\"8\":{}},\"parent\":{}}],[\"_any_action_hook\",{\"_index\":42,\"name\":{\"42\":{}},\"parent\":{}}],[\"_any_transition_hook\",{\"_index\":46,\"name\":{\"46\":{}},\"parent\":{}}],[\"_arrange_declaration\",{\"_index\":25,\"name\":{\"25\":{}},\"parent\":{}}],[\"_arrange_end_declaration\",{\"_index\":27,\"name\":{\"27\":{}},\"parent\":{}}],[\"_arrange_start_declaration\",{\"_index\":26,\"name\":{\"26\":{}},\"parent\":{}}],[\"_dot_preamble\",{\"_index\":24,\"name\":{\"24\":{}},\"parent\":{}}],[\"_edge_map\",{\"_index\":6,\"name\":{\"6\":{}},\"parent\":{}}],[\"_edges\",{\"_index\":5,\"name\":{\"5\":{}},\"parent\":{}}],[\"_entry_hooks\",{\"_index\":39,\"name\":{\"39\":{}},\"parent\":{}}],[\"_exit_hooks\",{\"_index\":40,\"name\":{\"40\":{}},\"parent\":{}}],[\"_flow\",{\"_index\":29,\"name\":{\"29\":{}},\"parent\":{}}],[\"_forced_transition_hook\",{\"_index\":45,\"name\":{\"45\":{}},\"parent\":{}}],[\"_fsl_version\",{\"_index\":19,\"name\":{\"19\":{}},\"parent\":{}}],[\"_global_action_hooks\",{\"_index\":41,\"name\":{\"41\":{}},\"parent\":{}}],[\"_graph_layout\",{\"_index\":23,\"name\":{\"23\":{}},\"parent\":{}}],[\"_has_basic_hooks\",{\"_index\":31,\"name\":{\"31\":{}},\"parent\":{}}],[\"_has_entry_hooks\",{\"_index\":33,\"name\":{\"33\":{}},\"parent\":{}}],[\"_has_exit_hooks\",{\"_index\":34,\"name\":{\"34\":{}},\"parent\":{}}],[\"_has_global_action_hooks\",{\"_index\":35,\"name\":{\"35\":{}},\"parent\":{}}],[\"_has_hooks\",{\"_index\":30,\"name\":{\"30\":{}},\"parent\":{}}],[\"_has_named_hooks\",{\"_index\":32,\"name\":{\"32\":{}},\"parent\":{}}],[\"_has_transition_hooks\",{\"_index\":36,\"name\":{\"36\":{}},\"parent\":{}}],[\"_hooks\",{\"_index\":37,\"name\":{\"37\":{}},\"parent\":{}}],[\"_instance_name\",{\"_index\":22,\"name\":{\"22\":{}},\"parent\":{}}],[\"_machine_author\",{\"_index\":11,\"name\":{\"11\":{}},\"parent\":{}}],[\"_machine_comment\",{\"_index\":12,\"name\":{\"12\":{}},\"parent\":{}}],[\"_machine_contributor\",{\"_index\":13,\"name\":{\"13\":{}},\"parent\":{}}],[\"_machine_definition\",{\"_index\":14,\"name\":{\"14\":{}},\"parent\":{}}],[\"_machine_language\",{\"_index\":15,\"name\":{\"15\":{}},\"parent\":{}}],[\"_machine_license\",{\"_index\":16,\"name\":{\"16\":{}},\"parent\":{}}],[\"_machine_name\",{\"_index\":17,\"name\":{\"17\":{}},\"parent\":{}}],[\"_machine_version\",{\"_index\":18,\"name\":{\"18\":{}},\"parent\":{}}],[\"_main_transition_hook\",{\"_index\":44,\"name\":{\"44\":{}},\"parent\":{}}],[\"_named_hooks\",{\"_index\":38,\"name\":{\"38\":{}},\"parent\":{}}],[\"_named_transitions\",{\"_index\":7,\"name\":{\"7\":{}},\"parent\":{}}],[\"_new_state\",{\"_index\":47,\"name\":{\"47\":{}},\"parent\":{}}],[\"_raw_state_declaration\",{\"_index\":20,\"name\":{\"20\":{}},\"parent\":{}}],[\"_reverse_action_targets\",{\"_index\":10,\"name\":{\"10\":{}},\"parent\":{}}],[\"_reverse_actions\",{\"_index\":9,\"name\":{\"9\":{}},\"parent\":{}}],[\"_standard_transition_hook\",{\"_index\":43,\"name\":{\"43\":{}},\"parent\":{}}],[\"_state\",{\"_index\":3,\"name\":{\"3\":{}},\"parent\":{}}],[\"_state_declarations\",{\"_index\":21,\"name\":{\"21\":{}},\"parent\":{}}],[\"_states\",{\"_index\":4,\"name\":{\"4\":{}},\"parent\":{}}],[\"_theme\",{\"_index\":28,\"name\":{\"28\":{}},\"parent\":{}}],[\"action\",{\"_index\":108,\"name\":{\"108\":{},\"144\":{}},\"parent\":{}}],[\"actions\",{\"_index\":83,\"name\":{\"83\":{}},\"parent\":{}}],[\"api\",{\"_index\":140,\"name\":{\"137\":{}},\"parent\":{}}],[\"arrow_direction\",{\"_index\":122,\"name\":{\"123\":{}},\"parent\":{}}],[\"arrow_left_kind\",{\"_index\":123,\"name\":{\"124\":{}},\"parent\":{}}],[\"arrow_right_kind\",{\"_index\":124,\"name\":{\"125\":{}},\"parent\":{}}],[\"bundling\",{\"_index\":144,\"name\":{\"140\":{}},\"parent\":{}}],[\"changelog\",{\"_index\":151,\"name\":{\"146\":{}},\"parent\":{}}],[\"community\",{\"_index\":150,\"name\":{\"145\":{}},\"parent\":{}}],[\"compile\",{\"_index\":120,\"name\":{\"120\":{}},\"parent\":{}}],[\"constructor\",{\"_index\":2,\"name\":{\"2\":{}},\"parent\":{}}],[\"current_action_edge_for\",{\"_index\":112,\"name\":{\"112\":{}},\"parent\":{}}],[\"current_action_for\",{\"_index\":111,\"name\":{\"111\":{}},\"parent\":{}}],[\"dot_preamble\",{\"_index\":52,\"name\":{\"52\":{}},\"parent\":{}}],[\"edges_between\",{\"_index\":106,\"name\":{\"106\":{}},\"parent\":{}}],[\"editor\",{\"_index\":148,\"name\":{\"143\":{}},\"parent\":{}}],[\"environments\",{\"_index\":143,\"name\":{\"139\":{}},\"parent\":{}}],[\"example\",{\"_index\":141,\"name\":{\"138\":{}},\"parent\":{}}],[\"flow\",{\"_index\":73,\"name\":{\"73\":{}},\"parent\":{}}],[\"force_transition\",{\"_index\":110,\"name\":{\"110\":{}},\"parent\":{}}],[\"from\",{\"_index\":121,\"name\":{\"122\":{}},\"parent\":{}}],[\"fsl_version\",{\"_index\":64,\"name\":{\"64\":{}},\"parent\":{}}],[\"get_transition_by_state_names\",{\"_index\":74,\"name\":{\"74\":{}},\"parent\":{}}],[\"getting\",{\"_index\":136,\"name\":{\"135\":{}},\"parent\":{}}],[\"github\",{\"_index\":149,\"name\":{\"144\":{}},\"parent\":{}}],[\"graph_layout\",{\"_index\":51,\"name\":{\"51\":{}},\"parent\":{}}],[\"gviz_shapes\",{\"_index\":132,\"name\":{\"133\":{}},\"parent\":{}}],[\"has_completes\",{\"_index\":94,\"name\":{\"94\":{}},\"parent\":{}}],[\"has_state\",{\"_index\":68,\"name\":{\"68\":{}},\"parent\":{}}],[\"has_terminals\",{\"_index\":91,\"name\":{\"91\":{}},\"parent\":{}}],[\"has_unenterables\",{\"_index\":88,\"name\":{\"88\":{}},\"parent\":{}}],[\"histograph\",{\"_index\":128,\"name\":{\"129\":{}},\"parent\":{}}],[\"hook\",{\"_index\":96,\"name\":{\"96\":{}},\"parent\":{}}],[\"hook_action\",{\"_index\":97,\"name\":{\"97\":{}},\"parent\":{}}],[\"hook_any_action\",{\"_index\":99,\"name\":{\"99\":{}},\"parent\":{}}],[\"hook_any_transition\",{\"_index\":103,\"name\":{\"103\":{}},\"parent\":{}}],[\"hook_entry\",{\"_index\":104,\"name\":{\"104\":{}},\"parent\":{}}],[\"hook_exit\",{\"_index\":105,\"name\":{\"105\":{}},\"parent\":{}}],[\"hook_forced_transition\",{\"_index\":102,\"name\":{\"102\":{}},\"parent\":{}}],[\"hook_global_action\",{\"_index\":98,\"name\":{\"98\":{}},\"parent\":{}}],[\"hook_main_transition\",{\"_index\":101,\"name\":{\"101\":{}},\"parent\":{}}],[\"hook_standard_transition\",{\"_index\":100,\"name\":{\"100\":{}},\"parent\":{}}],[\"instance_name\",{\"_index\":116,\"name\":{\"116\":{}},\"parent\":{}}],[\"is_complete\",{\"_index\":92,\"name\":{\"92\":{}},\"parent\":{}}],[\"is_final\",{\"_index\":50,\"name\":{\"50\":{}},\"parent\":{}}],[\"is_terminal\",{\"_index\":89,\"name\":{\"89\":{}},\"parent\":{}}],[\"is_unenterable\",{\"_index\":87,\"name\":{\"87\":{}},\"parent\":{}}],[\"language\",{\"_index\":138,\"name\":{\"136\":{}},\"parent\":{}}],[\"list_actions\",{\"_index\":71,\"name\":{\"71\":{}},\"parent\":{}}],[\"list_edges\",{\"_index\":69,\"name\":{\"69\":{}},\"parent\":{}}],[\"list_entrances\",{\"_index\":77,\"name\":{\"77\":{}},\"parent\":{}}],[\"list_exit_actions\",{\"_index\":85,\"name\":{\"85\":{}},\"parent\":{}}],[\"list_exits\",{\"_index\":78,\"name\":{\"78\":{}},\"parent\":{}}],[\"list_named_transitions\",{\"_index\":70,\"name\":{\"70\":{}},\"parent\":{}}],[\"list_states_having_action\",{\"_index\":84,\"name\":{\"84\":{}},\"parent\":{}}],[\"list_transitions\",{\"_index\":76,\"name\":{\"76\":{}},\"parent\":{}}],[\"live\",{\"_index\":147,\"name\":{\"143\":{}},\"parent\":{}}],[\"lookup_transition_for\",{\"_index\":75,\"name\":{\"75\":{}},\"parent\":{}}],[\"machine\",{\"_index\":1,\"name\":{\"1\":{}},\"parent\":{\"2\":{},\"3\":{},\"4\":{},\"5\":{},\"6\":{},\"7\":{},\"8\":{},\"9\":{},\"10\":{},\"11\":{},\"12\":{},\"13\":{},\"14\":{},\"15\":{},\"16\":{},\"17\":{},\"18\":{},\"19\":{},\"20\":{},\"21\":{},\"22\":{},\"23\":{},\"24\":{},\"25\":{},\"26\":{},\"27\":{},\"28\":{},\"29\":{},\"30\":{},\"31\":{},\"32\":{},\"33\":{},\"34\":{},\"35\":{},\"36\":{},\"37\":{},\"38\":{},\"39\":{},\"40\":{},\"41\":{},\"42\":{},\"43\":{},\"44\":{},\"45\":{},\"46\":{},\"47\":{},\"48\":{},\"49\":{},\"50\":{},\"51\":{},\"52\":{},\"53\":{},\"54\":{},\"55\":{},\"56\":{},\"57\":{},\"58\":{},\"59\":{},\"60\":{},\"61\":{},\"62\":{},\"63\":{},\"64\":{},\"65\":{},\"66\":{},\"67\":{},\"68\":{},\"69\":{},\"70\":{},\"71\":{},\"72\":{},\"73\":{},\"74\":{},\"75\":{},\"76\":{},\"77\":{},\"78\":{},\"79\":{},\"80\":{},\"81\":{},\"82\":{},\"83\":{},\"84\":{},\"85\":{},\"86\":{},\"87\":{},\"88\":{},\"89\":{},\"90\":{},\"91\":{},\"92\":{},\"93\":{},\"94\":{},\"95\":{},\"96\":{},\"97\":{},\"98\":{},\"99\":{},\"100\":{},\"101\":{},\"102\":{},\"103\":{},\"104\":{},\"105\":{},\"106\":{},\"107\":{},\"108\":{},\"109\":{},\"110\":{},\"111\":{},\"112\":{},\"113\":{},\"114\":{},\"115\":{},\"116\":{},\"117\":{}}}],[\"machine_author\",{\"_index\":53,\"name\":{\"53\":{}},\"parent\":{}}],[\"machine_comment\",{\"_index\":54,\"name\":{\"54\":{}},\"parent\":{}}],[\"machine_contributor\",{\"_index\":55,\"name\":{\"55\":{}},\"parent\":{}}],[\"machine_definition\",{\"_index\":56,\"name\":{\"56\":{}},\"parent\":{}}],[\"machine_language\",{\"_index\":57,\"name\":{\"57\":{}},\"parent\":{}}],[\"machine_license\",{\"_index\":58,\"name\":{\"58\":{}},\"parent\":{}}],[\"machine_name\",{\"_index\":59,\"name\":{\"59\":{}},\"parent\":{}}],[\"machine_state\",{\"_index\":65,\"name\":{\"65\":{}},\"parent\":{}}],[\"machine_version\",{\"_index\":60,\"name\":{\"60\":{}},\"parent\":{}}],[\"machines\",{\"_index\":142,\"name\":{\"138\":{}},\"parent\":{}}],[\"make\",{\"_index\":118,\"name\":{\"118\":{}},\"parent\":{}}],[\"named_colors\",{\"_index\":133,\"name\":{\"134\":{}},\"parent\":{}}],[\"page\",{\"_index\":134,\"name\":{\"135\":{},\"136\":{},\"137\":{},\"138\":{},\"139\":{},\"140\":{},\"141\":{},\"142\":{},\"143\":{},\"144\":{},\"145\":{},\"146\":{}},\"parent\":{}}],[\"parse\",{\"_index\":119,\"name\":{\"119\":{}},\"parent\":{}}],[\"probabilistic_histo_walk\",{\"_index\":82,\"name\":{\"82\":{}},\"parent\":{}}],[\"probabilistic_transition\",{\"_index\":80,\"name\":{\"80\":{}},\"parent\":{}}],[\"probabilistic_walk\",{\"_index\":81,\"name\":{\"81\":{}},\"parent\":{}}],[\"probable_action_exits\",{\"_index\":86,\"name\":{\"86\":{}},\"parent\":{}}],[\"probable_exits_for\",{\"_index\":79,\"name\":{\"79\":{}},\"parent\":{}}],[\"publishing\",{\"_index\":145,\"name\":{\"141\":{}},\"parent\":{}}],[\"raw_state_declarations\",{\"_index\":61,\"name\":{\"61\":{}},\"parent\":{}}],[\"reference\",{\"_index\":139,\"name\":{\"136\":{},\"137\":{}},\"parent\":{}}],[\"seq\",{\"_index\":126,\"name\":{\"127\":{}},\"parent\":{}}],[\"set_hook\",{\"_index\":95,\"name\":{\"95\":{}},\"parent\":{}}],[\"shapes\",{\"_index\":131,\"name\":{\"132\":{}},\"parent\":{}}],[\"shootout\",{\"_index\":146,\"name\":{\"142\":{}},\"parent\":{}}],[\"sm\",{\"_index\":117,\"name\":{\"117\":{},\"121\":{}},\"parent\":{}}],[\"started\",{\"_index\":137,\"name\":{\"135\":{}},\"parent\":{}}],[\"state\",{\"_index\":48,\"name\":{\"48\":{}},\"parent\":{}}],[\"state_declaration\",{\"_index\":62,\"name\":{\"62\":{}},\"parent\":{}}],[\"state_declarations\",{\"_index\":63,\"name\":{\"63\":{}},\"parent\":{}}],[\"state_for\",{\"_index\":67,\"name\":{\"67\":{}},\"parent\":{}}],[\"state_is_complete\",{\"_index\":93,\"name\":{\"93\":{}},\"parent\":{}}],[\"state_is_final\",{\"_index\":49,\"name\":{\"49\":{}},\"parent\":{}}],[\"state_is_terminal\",{\"_index\":90,\"name\":{\"90\":{}},\"parent\":{}}],[\"states\",{\"_index\":66,\"name\":{\"66\":{}},\"parent\":{}}],[\"theme\",{\"_index\":72,\"name\":{\"72\":{}},\"parent\":{}}],[\"transfer_state_properties\",{\"_index\":0,\"name\":{\"0\":{}},\"parent\":{}}],[\"transition\",{\"_index\":109,\"name\":{\"109\":{}},\"parent\":{}}],[\"transition_impl\",{\"_index\":107,\"name\":{\"107\":{}},\"parent\":{}}],[\"valid_action\",{\"_index\":113,\"name\":{\"113\":{}},\"parent\":{}}],[\"valid_force_transition\",{\"_index\":115,\"name\":{\"115\":{}},\"parent\":{}}],[\"valid_transition\",{\"_index\":114,\"name\":{\"114\":{}},\"parent\":{}}],[\"version\",{\"_index\":125,\"name\":{\"126\":{}},\"parent\":{}}],[\"weighted_histo_key\",{\"_index\":130,\"name\":{\"131\":{}},\"parent\":{}}],[\"weighted_rand_select\",{\"_index\":127,\"name\":{\"128\":{}},\"parent\":{}}],[\"weighted_sample_select\",{\"_index\":129,\"name\":{\"130\":{}},\"parent\":{}}]],\"pipeline\":[]}}"); \ No newline at end of file +window.searchData = JSON.parse("{\"kinds\":{\"32\":\"Variable\",\"64\":\"Function\",\"128\":\"Class\",\"512\":\"Constructor\",\"1024\":\"Property\",\"2048\":\"Method\"},\"rows\":[{\"id\":0,\"kind\":64,\"name\":\"transfer_state_properties\",\"url\":\"modules.html#transfer_state_properties\",\"classes\":\"tsd-kind-function\",\"isPage\":false},{\"id\":1,\"kind\":128,\"name\":\"Machine\",\"url\":\"classes/Machine.html\",\"classes\":\"tsd-kind-class tsd-has-type-parameter\",\"isPage\":false},{\"id\":2,\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/Machine.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class tsd-has-type-parameter\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":3,\"kind\":1024,\"name\":\"_state\",\"url\":\"classes/Machine.html#_state\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":4,\"kind\":1024,\"name\":\"_states\",\"url\":\"classes/Machine.html#_states\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":5,\"kind\":1024,\"name\":\"_edges\",\"url\":\"classes/Machine.html#_edges\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":6,\"kind\":1024,\"name\":\"_edge_map\",\"url\":\"classes/Machine.html#_edge_map\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":7,\"kind\":1024,\"name\":\"_named_transitions\",\"url\":\"classes/Machine.html#_named_transitions\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":8,\"kind\":1024,\"name\":\"_actions\",\"url\":\"classes/Machine.html#_actions\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":9,\"kind\":1024,\"name\":\"_reverse_actions\",\"url\":\"classes/Machine.html#_reverse_actions\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":10,\"kind\":1024,\"name\":\"_reverse_action_targets\",\"url\":\"classes/Machine.html#_reverse_action_targets\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":11,\"kind\":1024,\"name\":\"_machine_author\",\"url\":\"classes/Machine.html#_machine_author\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":12,\"kind\":1024,\"name\":\"_machine_comment\",\"url\":\"classes/Machine.html#_machine_comment\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":13,\"kind\":1024,\"name\":\"_machine_contributor\",\"url\":\"classes/Machine.html#_machine_contributor\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":14,\"kind\":1024,\"name\":\"_machine_definition\",\"url\":\"classes/Machine.html#_machine_definition\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":15,\"kind\":1024,\"name\":\"_machine_language\",\"url\":\"classes/Machine.html#_machine_language\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":16,\"kind\":1024,\"name\":\"_machine_license\",\"url\":\"classes/Machine.html#_machine_license\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":17,\"kind\":1024,\"name\":\"_machine_name\",\"url\":\"classes/Machine.html#_machine_name\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":18,\"kind\":1024,\"name\":\"_machine_version\",\"url\":\"classes/Machine.html#_machine_version\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":19,\"kind\":1024,\"name\":\"_fsl_version\",\"url\":\"classes/Machine.html#_fsl_version\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":20,\"kind\":1024,\"name\":\"_raw_state_declaration\",\"url\":\"classes/Machine.html#_raw_state_declaration\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":21,\"kind\":1024,\"name\":\"_state_declarations\",\"url\":\"classes/Machine.html#_state_declarations\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":22,\"kind\":1024,\"name\":\"_instance_name\",\"url\":\"classes/Machine.html#_instance_name\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":23,\"kind\":1024,\"name\":\"_graph_layout\",\"url\":\"classes/Machine.html#_graph_layout\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":24,\"kind\":1024,\"name\":\"_dot_preamble\",\"url\":\"classes/Machine.html#_dot_preamble\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":25,\"kind\":1024,\"name\":\"_arrange_declaration\",\"url\":\"classes/Machine.html#_arrange_declaration\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":26,\"kind\":1024,\"name\":\"_arrange_start_declaration\",\"url\":\"classes/Machine.html#_arrange_start_declaration\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":27,\"kind\":1024,\"name\":\"_arrange_end_declaration\",\"url\":\"classes/Machine.html#_arrange_end_declaration\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":28,\"kind\":1024,\"name\":\"_theme\",\"url\":\"classes/Machine.html#_theme\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":29,\"kind\":1024,\"name\":\"_flow\",\"url\":\"classes/Machine.html#_flow\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":30,\"kind\":1024,\"name\":\"_has_hooks\",\"url\":\"classes/Machine.html#_has_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":31,\"kind\":1024,\"name\":\"_has_basic_hooks\",\"url\":\"classes/Machine.html#_has_basic_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":32,\"kind\":1024,\"name\":\"_has_named_hooks\",\"url\":\"classes/Machine.html#_has_named_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":33,\"kind\":1024,\"name\":\"_has_entry_hooks\",\"url\":\"classes/Machine.html#_has_entry_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":34,\"kind\":1024,\"name\":\"_has_exit_hooks\",\"url\":\"classes/Machine.html#_has_exit_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":35,\"kind\":1024,\"name\":\"_has_global_action_hooks\",\"url\":\"classes/Machine.html#_has_global_action_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":36,\"kind\":1024,\"name\":\"_has_transition_hooks\",\"url\":\"classes/Machine.html#_has_transition_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":37,\"kind\":1024,\"name\":\"_hooks\",\"url\":\"classes/Machine.html#_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":38,\"kind\":1024,\"name\":\"_named_hooks\",\"url\":\"classes/Machine.html#_named_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":39,\"kind\":1024,\"name\":\"_entry_hooks\",\"url\":\"classes/Machine.html#_entry_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":40,\"kind\":1024,\"name\":\"_exit_hooks\",\"url\":\"classes/Machine.html#_exit_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":41,\"kind\":1024,\"name\":\"_global_action_hooks\",\"url\":\"classes/Machine.html#_global_action_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":42,\"kind\":1024,\"name\":\"_any_action_hook\",\"url\":\"classes/Machine.html#_any_action_hook\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":43,\"kind\":1024,\"name\":\"_standard_transition_hook\",\"url\":\"classes/Machine.html#_standard_transition_hook\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":44,\"kind\":1024,\"name\":\"_main_transition_hook\",\"url\":\"classes/Machine.html#_main_transition_hook\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":45,\"kind\":1024,\"name\":\"_forced_transition_hook\",\"url\":\"classes/Machine.html#_forced_transition_hook\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":46,\"kind\":1024,\"name\":\"_any_transition_hook\",\"url\":\"classes/Machine.html#_any_transition_hook\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":47,\"kind\":2048,\"name\":\"_new_state\",\"url\":\"classes/Machine.html#_new_state\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":48,\"kind\":2048,\"name\":\"state\",\"url\":\"classes/Machine.html#state\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":49,\"kind\":2048,\"name\":\"state_is_final\",\"url\":\"classes/Machine.html#state_is_final\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":50,\"kind\":2048,\"name\":\"is_final\",\"url\":\"classes/Machine.html#is_final\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":51,\"kind\":2048,\"name\":\"graph_layout\",\"url\":\"classes/Machine.html#graph_layout\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":52,\"kind\":2048,\"name\":\"dot_preamble\",\"url\":\"classes/Machine.html#dot_preamble\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":53,\"kind\":2048,\"name\":\"machine_author\",\"url\":\"classes/Machine.html#machine_author\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":54,\"kind\":2048,\"name\":\"machine_comment\",\"url\":\"classes/Machine.html#machine_comment\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":55,\"kind\":2048,\"name\":\"machine_contributor\",\"url\":\"classes/Machine.html#machine_contributor\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":56,\"kind\":2048,\"name\":\"machine_definition\",\"url\":\"classes/Machine.html#machine_definition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":57,\"kind\":2048,\"name\":\"machine_language\",\"url\":\"classes/Machine.html#machine_language\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":58,\"kind\":2048,\"name\":\"machine_license\",\"url\":\"classes/Machine.html#machine_license\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":59,\"kind\":2048,\"name\":\"machine_name\",\"url\":\"classes/Machine.html#machine_name\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":60,\"kind\":2048,\"name\":\"machine_version\",\"url\":\"classes/Machine.html#machine_version\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":61,\"kind\":2048,\"name\":\"raw_state_declarations\",\"url\":\"classes/Machine.html#raw_state_declarations\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":62,\"kind\":2048,\"name\":\"state_declaration\",\"url\":\"classes/Machine.html#state_declaration\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":63,\"kind\":2048,\"name\":\"state_declarations\",\"url\":\"classes/Machine.html#state_declarations\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":64,\"kind\":2048,\"name\":\"fsl_version\",\"url\":\"classes/Machine.html#fsl_version\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":65,\"kind\":2048,\"name\":\"machine_state\",\"url\":\"classes/Machine.html#machine_state\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":66,\"kind\":2048,\"name\":\"states\",\"url\":\"classes/Machine.html#states\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":67,\"kind\":2048,\"name\":\"state_for\",\"url\":\"classes/Machine.html#state_for\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":68,\"kind\":2048,\"name\":\"has_state\",\"url\":\"classes/Machine.html#has_state\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":69,\"kind\":2048,\"name\":\"list_edges\",\"url\":\"classes/Machine.html#list_edges\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":70,\"kind\":2048,\"name\":\"list_named_transitions\",\"url\":\"classes/Machine.html#list_named_transitions\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":71,\"kind\":2048,\"name\":\"list_actions\",\"url\":\"classes/Machine.html#list_actions\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":72,\"kind\":2048,\"name\":\"theme\",\"url\":\"classes/Machine.html#theme\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":73,\"kind\":2048,\"name\":\"flow\",\"url\":\"classes/Machine.html#flow\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":74,\"kind\":2048,\"name\":\"get_transition_by_state_names\",\"url\":\"classes/Machine.html#get_transition_by_state_names\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":75,\"kind\":2048,\"name\":\"lookup_transition_for\",\"url\":\"classes/Machine.html#lookup_transition_for\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":76,\"kind\":2048,\"name\":\"list_transitions\",\"url\":\"classes/Machine.html#list_transitions\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":77,\"kind\":2048,\"name\":\"list_entrances\",\"url\":\"classes/Machine.html#list_entrances\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":78,\"kind\":2048,\"name\":\"list_exits\",\"url\":\"classes/Machine.html#list_exits\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":79,\"kind\":2048,\"name\":\"probable_exits_for\",\"url\":\"classes/Machine.html#probable_exits_for\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":80,\"kind\":2048,\"name\":\"probabilistic_transition\",\"url\":\"classes/Machine.html#probabilistic_transition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":81,\"kind\":2048,\"name\":\"probabilistic_walk\",\"url\":\"classes/Machine.html#probabilistic_walk\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":82,\"kind\":2048,\"name\":\"probabilistic_histo_walk\",\"url\":\"classes/Machine.html#probabilistic_histo_walk\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":83,\"kind\":2048,\"name\":\"actions\",\"url\":\"classes/Machine.html#actions\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":84,\"kind\":2048,\"name\":\"list_states_having_action\",\"url\":\"classes/Machine.html#list_states_having_action\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":85,\"kind\":2048,\"name\":\"list_exit_actions\",\"url\":\"classes/Machine.html#list_exit_actions\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":86,\"kind\":2048,\"name\":\"probable_action_exits\",\"url\":\"classes/Machine.html#probable_action_exits\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":87,\"kind\":2048,\"name\":\"is_unenterable\",\"url\":\"classes/Machine.html#is_unenterable\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":88,\"kind\":2048,\"name\":\"has_unenterables\",\"url\":\"classes/Machine.html#has_unenterables\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":89,\"kind\":2048,\"name\":\"is_terminal\",\"url\":\"classes/Machine.html#is_terminal\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":90,\"kind\":2048,\"name\":\"state_is_terminal\",\"url\":\"classes/Machine.html#state_is_terminal\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":91,\"kind\":2048,\"name\":\"has_terminals\",\"url\":\"classes/Machine.html#has_terminals\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":92,\"kind\":2048,\"name\":\"is_complete\",\"url\":\"classes/Machine.html#is_complete\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":93,\"kind\":2048,\"name\":\"state_is_complete\",\"url\":\"classes/Machine.html#state_is_complete\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":94,\"kind\":2048,\"name\":\"has_completes\",\"url\":\"classes/Machine.html#has_completes\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":95,\"kind\":2048,\"name\":\"set_hook\",\"url\":\"classes/Machine.html#set_hook\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":96,\"kind\":2048,\"name\":\"hook\",\"url\":\"classes/Machine.html#hook\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":97,\"kind\":2048,\"name\":\"hook_action\",\"url\":\"classes/Machine.html#hook_action\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":98,\"kind\":2048,\"name\":\"hook_global_action\",\"url\":\"classes/Machine.html#hook_global_action\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":99,\"kind\":2048,\"name\":\"hook_any_action\",\"url\":\"classes/Machine.html#hook_any_action\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":100,\"kind\":2048,\"name\":\"hook_standard_transition\",\"url\":\"classes/Machine.html#hook_standard_transition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":101,\"kind\":2048,\"name\":\"hook_main_transition\",\"url\":\"classes/Machine.html#hook_main_transition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":102,\"kind\":2048,\"name\":\"hook_forced_transition\",\"url\":\"classes/Machine.html#hook_forced_transition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":103,\"kind\":2048,\"name\":\"hook_any_transition\",\"url\":\"classes/Machine.html#hook_any_transition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":104,\"kind\":2048,\"name\":\"hook_entry\",\"url\":\"classes/Machine.html#hook_entry\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":105,\"kind\":2048,\"name\":\"hook_exit\",\"url\":\"classes/Machine.html#hook_exit\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":106,\"kind\":2048,\"name\":\"edges_between\",\"url\":\"classes/Machine.html#edges_between\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":107,\"kind\":2048,\"name\":\"transition_impl\",\"url\":\"classes/Machine.html#transition_impl\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":108,\"kind\":2048,\"name\":\"action\",\"url\":\"classes/Machine.html#action\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":109,\"kind\":2048,\"name\":\"transition\",\"url\":\"classes/Machine.html#transition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":110,\"kind\":2048,\"name\":\"force_transition\",\"url\":\"classes/Machine.html#force_transition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":111,\"kind\":2048,\"name\":\"current_action_for\",\"url\":\"classes/Machine.html#current_action_for\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":112,\"kind\":2048,\"name\":\"current_action_edge_for\",\"url\":\"classes/Machine.html#current_action_edge_for\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":113,\"kind\":2048,\"name\":\"valid_action\",\"url\":\"classes/Machine.html#valid_action\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":114,\"kind\":2048,\"name\":\"valid_transition\",\"url\":\"classes/Machine.html#valid_transition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":115,\"kind\":2048,\"name\":\"valid_force_transition\",\"url\":\"classes/Machine.html#valid_force_transition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":116,\"kind\":2048,\"name\":\"instance_name\",\"url\":\"classes/Machine.html#instance_name\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":117,\"kind\":2048,\"name\":\"sm\",\"url\":\"classes/Machine.html#sm\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":118,\"kind\":64,\"name\":\"make\",\"url\":\"modules.html#make\",\"classes\":\"tsd-kind-function tsd-has-type-parameter\",\"isPage\":false},{\"id\":119,\"kind\":64,\"name\":\"parse\",\"url\":\"modules.html#parse\",\"classes\":\"tsd-kind-function\",\"isPage\":false},{\"id\":120,\"kind\":64,\"name\":\"compile\",\"url\":\"modules.html#compile\",\"classes\":\"tsd-kind-function tsd-has-type-parameter\",\"isPage\":false},{\"id\":121,\"kind\":64,\"name\":\"sm\",\"url\":\"modules.html#sm\",\"classes\":\"tsd-kind-function tsd-has-type-parameter\",\"isPage\":false},{\"id\":122,\"kind\":64,\"name\":\"from\",\"url\":\"modules.html#from\",\"classes\":\"tsd-kind-function tsd-has-type-parameter\",\"isPage\":false},{\"id\":123,\"kind\":64,\"name\":\"arrow_direction\",\"url\":\"modules.html#arrow_direction\",\"classes\":\"tsd-kind-function\",\"isPage\":false},{\"id\":124,\"kind\":64,\"name\":\"arrow_left_kind\",\"url\":\"modules.html#arrow_left_kind\",\"classes\":\"tsd-kind-function\",\"isPage\":false},{\"id\":125,\"kind\":64,\"name\":\"arrow_right_kind\",\"url\":\"modules.html#arrow_right_kind\",\"classes\":\"tsd-kind-function\",\"isPage\":false},{\"id\":126,\"kind\":32,\"name\":\"version\",\"url\":\"modules.html#version\",\"classes\":\"tsd-kind-variable\",\"isPage\":false},{\"id\":127,\"kind\":64,\"name\":\"seq\",\"url\":\"modules.html#seq\",\"classes\":\"tsd-kind-function\",\"isPage\":false},{\"id\":128,\"kind\":32,\"name\":\"weighted_rand_select\",\"url\":\"modules.html#weighted_rand_select\",\"classes\":\"tsd-kind-variable\",\"isPage\":false},{\"id\":129,\"kind\":32,\"name\":\"histograph\",\"url\":\"modules.html#histograph\",\"classes\":\"tsd-kind-variable\",\"isPage\":false},{\"id\":130,\"kind\":32,\"name\":\"weighted_sample_select\",\"url\":\"modules.html#weighted_sample_select\",\"classes\":\"tsd-kind-variable\",\"isPage\":false},{\"id\":131,\"kind\":32,\"name\":\"weighted_histo_key\",\"url\":\"modules.html#weighted_histo_key\",\"classes\":\"tsd-kind-variable\",\"isPage\":false},{\"id\":132,\"kind\":32,\"name\":\"shapes\",\"url\":\"modules.html#shapes\",\"classes\":\"tsd-kind-variable\",\"isPage\":false},{\"id\":133,\"kind\":32,\"name\":\"gviz_shapes\",\"url\":\"modules.html#gviz_shapes\",\"classes\":\"tsd-kind-variable\",\"isPage\":false},{\"id\":134,\"kind\":32,\"name\":\"named_colors\",\"url\":\"modules.html#named_colors\",\"classes\":\"tsd-kind-variable\",\"isPage\":false},{\"id\":135,\"kind\":2048,\"name\":\"Page: ☕ Quick Start\",\"url\":\"pages\\\\GettingStarted.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\",\"isPage\":true},{\"id\":136,\"kind\":2048,\"name\":\"Page: What are state machines?\",\"url\":\"pages\\\\todo.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\",\"isPage\":true},{\"id\":137,\"kind\":2048,\"name\":\"Page: Language reference\",\"url\":\"pages\\\\todo.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\",\"isPage\":true},{\"id\":138,\"kind\":2048,\"name\":\"Page: API reference\",\"url\":\"pages\\\\todo.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\",\"isPage\":true},{\"id\":139,\"kind\":2048,\"name\":\"Page: Example machines\",\"url\":\"pages\\\\todo.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\",\"isPage\":true},{\"id\":140,\"kind\":2048,\"name\":\"Page: Environments\",\"url\":\"pages\\\\todo.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\",\"isPage\":true},{\"id\":141,\"kind\":2048,\"name\":\"Page: Bundling\",\"url\":\"pages\\\\todo.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\",\"isPage\":true},{\"id\":142,\"kind\":2048,\"name\":\"Page: Publishing\",\"url\":\"pages\\\\todo.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\",\"isPage\":true},{\"id\":143,\"kind\":2048,\"name\":\"Page: Feature comparison\",\"url\":\"pages\\\\FeatureComparison.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\",\"isPage\":true},{\"id\":144,\"kind\":2048,\"name\":\"Page: LOC Shootout\",\"url\":\"pages\\\\Shootout.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\",\"isPage\":true},{\"id\":145,\"kind\":2048,\"name\":\"Page: Live Editor\",\"url\":\"pages\\\\live_editor.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\",\"isPage\":true},{\"id\":146,\"kind\":2048,\"name\":\"Page: Github Action\",\"url\":\"pages\\\\todo.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\",\"isPage\":true},{\"id\":147,\"kind\":2048,\"name\":\"Page: Community\",\"url\":\"pages\\\\community.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\",\"isPage\":true},{\"id\":148,\"kind\":2048,\"name\":\"Page: Changelog\",\"url\":\"pages\\\\CHANGELOG.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\",\"isPage\":true}],\"index\":{\"version\":\"2.3.9\",\"fields\":[\"name\",\"parent\"],\"fieldVectors\":[[\"name/0\",[0,49.032]],[\"parent/0\",[]],[\"name/1\",[1,2.6]],[\"parent/1\",[]],[\"name/2\",[2,49.032]],[\"parent/2\",[1,0.219]],[\"name/3\",[3,49.032]],[\"parent/3\",[1,0.219]],[\"name/4\",[4,49.032]],[\"parent/4\",[1,0.219]],[\"name/5\",[5,49.032]],[\"parent/5\",[1,0.219]],[\"name/6\",[6,49.032]],[\"parent/6\",[1,0.219]],[\"name/7\",[7,49.032]],[\"parent/7\",[1,0.219]],[\"name/8\",[8,49.032]],[\"parent/8\",[1,0.219]],[\"name/9\",[9,49.032]],[\"parent/9\",[1,0.219]],[\"name/10\",[10,49.032]],[\"parent/10\",[1,0.219]],[\"name/11\",[11,49.032]],[\"parent/11\",[1,0.219]],[\"name/12\",[12,49.032]],[\"parent/12\",[1,0.219]],[\"name/13\",[13,49.032]],[\"parent/13\",[1,0.219]],[\"name/14\",[14,49.032]],[\"parent/14\",[1,0.219]],[\"name/15\",[15,49.032]],[\"parent/15\",[1,0.219]],[\"name/16\",[16,49.032]],[\"parent/16\",[1,0.219]],[\"name/17\",[17,49.032]],[\"parent/17\",[1,0.219]],[\"name/18\",[18,49.032]],[\"parent/18\",[1,0.219]],[\"name/19\",[19,49.032]],[\"parent/19\",[1,0.219]],[\"name/20\",[20,49.032]],[\"parent/20\",[1,0.219]],[\"name/21\",[21,49.032]],[\"parent/21\",[1,0.219]],[\"name/22\",[22,49.032]],[\"parent/22\",[1,0.219]],[\"name/23\",[23,49.032]],[\"parent/23\",[1,0.219]],[\"name/24\",[24,49.032]],[\"parent/24\",[1,0.219]],[\"name/25\",[25,49.032]],[\"parent/25\",[1,0.219]],[\"name/26\",[26,49.032]],[\"parent/26\",[1,0.219]],[\"name/27\",[27,49.032]],[\"parent/27\",[1,0.219]],[\"name/28\",[28,49.032]],[\"parent/28\",[1,0.219]],[\"name/29\",[29,49.032]],[\"parent/29\",[1,0.219]],[\"name/30\",[30,49.032]],[\"parent/30\",[1,0.219]],[\"name/31\",[31,49.032]],[\"parent/31\",[1,0.219]],[\"name/32\",[32,49.032]],[\"parent/32\",[1,0.219]],[\"name/33\",[33,49.032]],[\"parent/33\",[1,0.219]],[\"name/34\",[34,49.032]],[\"parent/34\",[1,0.219]],[\"name/35\",[35,49.032]],[\"parent/35\",[1,0.219]],[\"name/36\",[36,49.032]],[\"parent/36\",[1,0.219]],[\"name/37\",[37,49.032]],[\"parent/37\",[1,0.219]],[\"name/38\",[38,49.032]],[\"parent/38\",[1,0.219]],[\"name/39\",[39,49.032]],[\"parent/39\",[1,0.219]],[\"name/40\",[40,49.032]],[\"parent/40\",[1,0.219]],[\"name/41\",[41,49.032]],[\"parent/41\",[1,0.219]],[\"name/42\",[42,49.032]],[\"parent/42\",[1,0.219]],[\"name/43\",[43,49.032]],[\"parent/43\",[1,0.219]],[\"name/44\",[44,49.032]],[\"parent/44\",[1,0.219]],[\"name/45\",[45,49.032]],[\"parent/45\",[1,0.219]],[\"name/46\",[46,49.032]],[\"parent/46\",[1,0.219]],[\"name/47\",[47,49.032]],[\"parent/47\",[1,0.219]],[\"name/48\",[48,43.593]],[\"parent/48\",[1,0.219]],[\"name/49\",[49,49.032]],[\"parent/49\",[1,0.219]],[\"name/50\",[50,49.032]],[\"parent/50\",[1,0.219]],[\"name/51\",[51,49.032]],[\"parent/51\",[1,0.219]],[\"name/52\",[52,49.032]],[\"parent/52\",[1,0.219]],[\"name/53\",[53,49.032]],[\"parent/53\",[1,0.219]],[\"name/54\",[54,49.032]],[\"parent/54\",[1,0.219]],[\"name/55\",[55,49.032]],[\"parent/55\",[1,0.219]],[\"name/56\",[56,49.032]],[\"parent/56\",[1,0.219]],[\"name/57\",[57,49.032]],[\"parent/57\",[1,0.219]],[\"name/58\",[58,49.032]],[\"parent/58\",[1,0.219]],[\"name/59\",[59,49.032]],[\"parent/59\",[1,0.219]],[\"name/60\",[60,49.032]],[\"parent/60\",[1,0.219]],[\"name/61\",[61,49.032]],[\"parent/61\",[1,0.219]],[\"name/62\",[62,49.032]],[\"parent/62\",[1,0.219]],[\"name/63\",[63,49.032]],[\"parent/63\",[1,0.219]],[\"name/64\",[64,49.032]],[\"parent/64\",[1,0.219]],[\"name/65\",[65,49.032]],[\"parent/65\",[1,0.219]],[\"name/66\",[66,49.032]],[\"parent/66\",[1,0.219]],[\"name/67\",[67,49.032]],[\"parent/67\",[1,0.219]],[\"name/68\",[68,49.032]],[\"parent/68\",[1,0.219]],[\"name/69\",[69,49.032]],[\"parent/69\",[1,0.219]],[\"name/70\",[70,49.032]],[\"parent/70\",[1,0.219]],[\"name/71\",[71,49.032]],[\"parent/71\",[1,0.219]],[\"name/72\",[72,49.032]],[\"parent/72\",[1,0.219]],[\"name/73\",[73,49.032]],[\"parent/73\",[1,0.219]],[\"name/74\",[74,49.032]],[\"parent/74\",[1,0.219]],[\"name/75\",[75,49.032]],[\"parent/75\",[1,0.219]],[\"name/76\",[76,49.032]],[\"parent/76\",[1,0.219]],[\"name/77\",[77,49.032]],[\"parent/77\",[1,0.219]],[\"name/78\",[78,49.032]],[\"parent/78\",[1,0.219]],[\"name/79\",[79,49.032]],[\"parent/79\",[1,0.219]],[\"name/80\",[80,49.032]],[\"parent/80\",[1,0.219]],[\"name/81\",[81,49.032]],[\"parent/81\",[1,0.219]],[\"name/82\",[82,49.032]],[\"parent/82\",[1,0.219]],[\"name/83\",[83,49.032]],[\"parent/83\",[1,0.219]],[\"name/84\",[84,49.032]],[\"parent/84\",[1,0.219]],[\"name/85\",[85,49.032]],[\"parent/85\",[1,0.219]],[\"name/86\",[86,49.032]],[\"parent/86\",[1,0.219]],[\"name/87\",[87,49.032]],[\"parent/87\",[1,0.219]],[\"name/88\",[88,49.032]],[\"parent/88\",[1,0.219]],[\"name/89\",[89,49.032]],[\"parent/89\",[1,0.219]],[\"name/90\",[90,49.032]],[\"parent/90\",[1,0.219]],[\"name/91\",[91,49.032]],[\"parent/91\",[1,0.219]],[\"name/92\",[92,49.032]],[\"parent/92\",[1,0.219]],[\"name/93\",[93,49.032]],[\"parent/93\",[1,0.219]],[\"name/94\",[94,49.032]],[\"parent/94\",[1,0.219]],[\"name/95\",[95,49.032]],[\"parent/95\",[1,0.219]],[\"name/96\",[96,49.032]],[\"parent/96\",[1,0.219]],[\"name/97\",[97,49.032]],[\"parent/97\",[1,0.219]],[\"name/98\",[98,49.032]],[\"parent/98\",[1,0.219]],[\"name/99\",[99,49.032]],[\"parent/99\",[1,0.219]],[\"name/100\",[100,49.032]],[\"parent/100\",[1,0.219]],[\"name/101\",[101,49.032]],[\"parent/101\",[1,0.219]],[\"name/102\",[102,49.032]],[\"parent/102\",[1,0.219]],[\"name/103\",[103,49.032]],[\"parent/103\",[1,0.219]],[\"name/104\",[104,49.032]],[\"parent/104\",[1,0.219]],[\"name/105\",[105,49.032]],[\"parent/105\",[1,0.219]],[\"name/106\",[106,49.032]],[\"parent/106\",[1,0.219]],[\"name/107\",[107,49.032]],[\"parent/107\",[1,0.219]],[\"name/108\",[108,43.593]],[\"parent/108\",[1,0.219]],[\"name/109\",[109,49.032]],[\"parent/109\",[1,0.219]],[\"name/110\",[110,49.032]],[\"parent/110\",[1,0.219]],[\"name/111\",[111,49.032]],[\"parent/111\",[1,0.219]],[\"name/112\",[112,49.032]],[\"parent/112\",[1,0.219]],[\"name/113\",[113,49.032]],[\"parent/113\",[1,0.219]],[\"name/114\",[114,49.032]],[\"parent/114\",[1,0.219]],[\"name/115\",[115,49.032]],[\"parent/115\",[1,0.219]],[\"name/116\",[116,49.032]],[\"parent/116\",[1,0.219]],[\"name/117\",[117,43.593]],[\"parent/117\",[1,0.219]],[\"name/118\",[118,49.032]],[\"parent/118\",[]],[\"name/119\",[119,49.032]],[\"parent/119\",[]],[\"name/120\",[120,49.032]],[\"parent/120\",[]],[\"name/121\",[117,43.593]],[\"parent/121\",[]],[\"name/122\",[121,49.032]],[\"parent/122\",[]],[\"name/123\",[122,49.032]],[\"parent/123\",[]],[\"name/124\",[123,49.032]],[\"parent/124\",[]],[\"name/125\",[124,49.032]],[\"parent/125\",[]],[\"name/126\",[125,49.032]],[\"parent/126\",[]],[\"name/127\",[126,49.032]],[\"parent/127\",[]],[\"name/128\",[127,49.032]],[\"parent/128\",[]],[\"name/129\",[128,49.032]],[\"parent/129\",[]],[\"name/130\",[129,49.032]],[\"parent/130\",[]],[\"name/131\",[130,49.032]],[\"parent/131\",[]],[\"name/132\",[131,49.032]],[\"parent/132\",[]],[\"name/133\",[132,49.032]],[\"parent/133\",[]],[\"name/134\",[133,49.032]],[\"parent/134\",[]],[\"name/135\",[134,117.757,135,232.097,136,232.097,137,232.097]],[\"parent/135\",[]],[\"name/136\",[48,175.537,134,100.172,138,197.438,139,197.438,140,175.537]],[\"parent/136\",[]],[\"name/137\",[134,142.831,141,281.516,142,250.289]],[\"parent/137\",[]],[\"name/138\",[134,142.831,142,250.289,143,281.516]],[\"parent/138\",[]],[\"name/139\",[134,142.831,140,250.289,144,281.516]],[\"parent/139\",[]],[\"name/140\",[134,181.47,145,357.674]],[\"parent/140\",[]],[\"name/141\",[134,181.47,146,357.674]],[\"parent/141\",[]],[\"name/142\",[134,181.47,147,357.674]],[\"parent/142\",[]],[\"name/143\",[134,142.831,148,281.516,149,281.516]],[\"parent/143\",[]],[\"name/144\",[134,142.831,150,281.516,151,281.516]],[\"parent/144\",[]],[\"name/145\",[134,142.831,152,281.516,153,281.516]],[\"parent/145\",[]],[\"name/146\",[108,250.289,134,142.831,154,281.516]],[\"parent/146\",[]],[\"name/147\",[134,181.47,155,357.674]],[\"parent/147\",[]],[\"name/148\",[134,181.47,156,357.674]],[\"parent/148\",[]]],\"invertedIndex\":[[\"\",{\"_index\":135,\"name\":{\"135\":{}},\"parent\":{}}],[\"_actions\",{\"_index\":8,\"name\":{\"8\":{}},\"parent\":{}}],[\"_any_action_hook\",{\"_index\":42,\"name\":{\"42\":{}},\"parent\":{}}],[\"_any_transition_hook\",{\"_index\":46,\"name\":{\"46\":{}},\"parent\":{}}],[\"_arrange_declaration\",{\"_index\":25,\"name\":{\"25\":{}},\"parent\":{}}],[\"_arrange_end_declaration\",{\"_index\":27,\"name\":{\"27\":{}},\"parent\":{}}],[\"_arrange_start_declaration\",{\"_index\":26,\"name\":{\"26\":{}},\"parent\":{}}],[\"_dot_preamble\",{\"_index\":24,\"name\":{\"24\":{}},\"parent\":{}}],[\"_edge_map\",{\"_index\":6,\"name\":{\"6\":{}},\"parent\":{}}],[\"_edges\",{\"_index\":5,\"name\":{\"5\":{}},\"parent\":{}}],[\"_entry_hooks\",{\"_index\":39,\"name\":{\"39\":{}},\"parent\":{}}],[\"_exit_hooks\",{\"_index\":40,\"name\":{\"40\":{}},\"parent\":{}}],[\"_flow\",{\"_index\":29,\"name\":{\"29\":{}},\"parent\":{}}],[\"_forced_transition_hook\",{\"_index\":45,\"name\":{\"45\":{}},\"parent\":{}}],[\"_fsl_version\",{\"_index\":19,\"name\":{\"19\":{}},\"parent\":{}}],[\"_global_action_hooks\",{\"_index\":41,\"name\":{\"41\":{}},\"parent\":{}}],[\"_graph_layout\",{\"_index\":23,\"name\":{\"23\":{}},\"parent\":{}}],[\"_has_basic_hooks\",{\"_index\":31,\"name\":{\"31\":{}},\"parent\":{}}],[\"_has_entry_hooks\",{\"_index\":33,\"name\":{\"33\":{}},\"parent\":{}}],[\"_has_exit_hooks\",{\"_index\":34,\"name\":{\"34\":{}},\"parent\":{}}],[\"_has_global_action_hooks\",{\"_index\":35,\"name\":{\"35\":{}},\"parent\":{}}],[\"_has_hooks\",{\"_index\":30,\"name\":{\"30\":{}},\"parent\":{}}],[\"_has_named_hooks\",{\"_index\":32,\"name\":{\"32\":{}},\"parent\":{}}],[\"_has_transition_hooks\",{\"_index\":36,\"name\":{\"36\":{}},\"parent\":{}}],[\"_hooks\",{\"_index\":37,\"name\":{\"37\":{}},\"parent\":{}}],[\"_instance_name\",{\"_index\":22,\"name\":{\"22\":{}},\"parent\":{}}],[\"_machine_author\",{\"_index\":11,\"name\":{\"11\":{}},\"parent\":{}}],[\"_machine_comment\",{\"_index\":12,\"name\":{\"12\":{}},\"parent\":{}}],[\"_machine_contributor\",{\"_index\":13,\"name\":{\"13\":{}},\"parent\":{}}],[\"_machine_definition\",{\"_index\":14,\"name\":{\"14\":{}},\"parent\":{}}],[\"_machine_language\",{\"_index\":15,\"name\":{\"15\":{}},\"parent\":{}}],[\"_machine_license\",{\"_index\":16,\"name\":{\"16\":{}},\"parent\":{}}],[\"_machine_name\",{\"_index\":17,\"name\":{\"17\":{}},\"parent\":{}}],[\"_machine_version\",{\"_index\":18,\"name\":{\"18\":{}},\"parent\":{}}],[\"_main_transition_hook\",{\"_index\":44,\"name\":{\"44\":{}},\"parent\":{}}],[\"_named_hooks\",{\"_index\":38,\"name\":{\"38\":{}},\"parent\":{}}],[\"_named_transitions\",{\"_index\":7,\"name\":{\"7\":{}},\"parent\":{}}],[\"_new_state\",{\"_index\":47,\"name\":{\"47\":{}},\"parent\":{}}],[\"_raw_state_declaration\",{\"_index\":20,\"name\":{\"20\":{}},\"parent\":{}}],[\"_reverse_action_targets\",{\"_index\":10,\"name\":{\"10\":{}},\"parent\":{}}],[\"_reverse_actions\",{\"_index\":9,\"name\":{\"9\":{}},\"parent\":{}}],[\"_standard_transition_hook\",{\"_index\":43,\"name\":{\"43\":{}},\"parent\":{}}],[\"_state\",{\"_index\":3,\"name\":{\"3\":{}},\"parent\":{}}],[\"_state_declarations\",{\"_index\":21,\"name\":{\"21\":{}},\"parent\":{}}],[\"_states\",{\"_index\":4,\"name\":{\"4\":{}},\"parent\":{}}],[\"_theme\",{\"_index\":28,\"name\":{\"28\":{}},\"parent\":{}}],[\"action\",{\"_index\":108,\"name\":{\"108\":{},\"146\":{}},\"parent\":{}}],[\"actions\",{\"_index\":83,\"name\":{\"83\":{}},\"parent\":{}}],[\"api\",{\"_index\":143,\"name\":{\"138\":{}},\"parent\":{}}],[\"are\",{\"_index\":139,\"name\":{\"136\":{}},\"parent\":{}}],[\"arrow_direction\",{\"_index\":122,\"name\":{\"123\":{}},\"parent\":{}}],[\"arrow_left_kind\",{\"_index\":123,\"name\":{\"124\":{}},\"parent\":{}}],[\"arrow_right_kind\",{\"_index\":124,\"name\":{\"125\":{}},\"parent\":{}}],[\"bundling\",{\"_index\":146,\"name\":{\"141\":{}},\"parent\":{}}],[\"changelog\",{\"_index\":156,\"name\":{\"148\":{}},\"parent\":{}}],[\"community\",{\"_index\":155,\"name\":{\"147\":{}},\"parent\":{}}],[\"comparison\",{\"_index\":149,\"name\":{\"143\":{}},\"parent\":{}}],[\"compile\",{\"_index\":120,\"name\":{\"120\":{}},\"parent\":{}}],[\"constructor\",{\"_index\":2,\"name\":{\"2\":{}},\"parent\":{}}],[\"current_action_edge_for\",{\"_index\":112,\"name\":{\"112\":{}},\"parent\":{}}],[\"current_action_for\",{\"_index\":111,\"name\":{\"111\":{}},\"parent\":{}}],[\"dot_preamble\",{\"_index\":52,\"name\":{\"52\":{}},\"parent\":{}}],[\"edges_between\",{\"_index\":106,\"name\":{\"106\":{}},\"parent\":{}}],[\"editor\",{\"_index\":153,\"name\":{\"145\":{}},\"parent\":{}}],[\"environments\",{\"_index\":145,\"name\":{\"140\":{}},\"parent\":{}}],[\"example\",{\"_index\":144,\"name\":{\"139\":{}},\"parent\":{}}],[\"feature\",{\"_index\":148,\"name\":{\"143\":{}},\"parent\":{}}],[\"flow\",{\"_index\":73,\"name\":{\"73\":{}},\"parent\":{}}],[\"force_transition\",{\"_index\":110,\"name\":{\"110\":{}},\"parent\":{}}],[\"from\",{\"_index\":121,\"name\":{\"122\":{}},\"parent\":{}}],[\"fsl_version\",{\"_index\":64,\"name\":{\"64\":{}},\"parent\":{}}],[\"get_transition_by_state_names\",{\"_index\":74,\"name\":{\"74\":{}},\"parent\":{}}],[\"github\",{\"_index\":154,\"name\":{\"146\":{}},\"parent\":{}}],[\"graph_layout\",{\"_index\":51,\"name\":{\"51\":{}},\"parent\":{}}],[\"gviz_shapes\",{\"_index\":132,\"name\":{\"133\":{}},\"parent\":{}}],[\"has_completes\",{\"_index\":94,\"name\":{\"94\":{}},\"parent\":{}}],[\"has_state\",{\"_index\":68,\"name\":{\"68\":{}},\"parent\":{}}],[\"has_terminals\",{\"_index\":91,\"name\":{\"91\":{}},\"parent\":{}}],[\"has_unenterables\",{\"_index\":88,\"name\":{\"88\":{}},\"parent\":{}}],[\"histograph\",{\"_index\":128,\"name\":{\"129\":{}},\"parent\":{}}],[\"hook\",{\"_index\":96,\"name\":{\"96\":{}},\"parent\":{}}],[\"hook_action\",{\"_index\":97,\"name\":{\"97\":{}},\"parent\":{}}],[\"hook_any_action\",{\"_index\":99,\"name\":{\"99\":{}},\"parent\":{}}],[\"hook_any_transition\",{\"_index\":103,\"name\":{\"103\":{}},\"parent\":{}}],[\"hook_entry\",{\"_index\":104,\"name\":{\"104\":{}},\"parent\":{}}],[\"hook_exit\",{\"_index\":105,\"name\":{\"105\":{}},\"parent\":{}}],[\"hook_forced_transition\",{\"_index\":102,\"name\":{\"102\":{}},\"parent\":{}}],[\"hook_global_action\",{\"_index\":98,\"name\":{\"98\":{}},\"parent\":{}}],[\"hook_main_transition\",{\"_index\":101,\"name\":{\"101\":{}},\"parent\":{}}],[\"hook_standard_transition\",{\"_index\":100,\"name\":{\"100\":{}},\"parent\":{}}],[\"instance_name\",{\"_index\":116,\"name\":{\"116\":{}},\"parent\":{}}],[\"is_complete\",{\"_index\":92,\"name\":{\"92\":{}},\"parent\":{}}],[\"is_final\",{\"_index\":50,\"name\":{\"50\":{}},\"parent\":{}}],[\"is_terminal\",{\"_index\":89,\"name\":{\"89\":{}},\"parent\":{}}],[\"is_unenterable\",{\"_index\":87,\"name\":{\"87\":{}},\"parent\":{}}],[\"language\",{\"_index\":141,\"name\":{\"137\":{}},\"parent\":{}}],[\"list_actions\",{\"_index\":71,\"name\":{\"71\":{}},\"parent\":{}}],[\"list_edges\",{\"_index\":69,\"name\":{\"69\":{}},\"parent\":{}}],[\"list_entrances\",{\"_index\":77,\"name\":{\"77\":{}},\"parent\":{}}],[\"list_exit_actions\",{\"_index\":85,\"name\":{\"85\":{}},\"parent\":{}}],[\"list_exits\",{\"_index\":78,\"name\":{\"78\":{}},\"parent\":{}}],[\"list_named_transitions\",{\"_index\":70,\"name\":{\"70\":{}},\"parent\":{}}],[\"list_states_having_action\",{\"_index\":84,\"name\":{\"84\":{}},\"parent\":{}}],[\"list_transitions\",{\"_index\":76,\"name\":{\"76\":{}},\"parent\":{}}],[\"live\",{\"_index\":152,\"name\":{\"145\":{}},\"parent\":{}}],[\"loc\",{\"_index\":150,\"name\":{\"144\":{}},\"parent\":{}}],[\"lookup_transition_for\",{\"_index\":75,\"name\":{\"75\":{}},\"parent\":{}}],[\"machine\",{\"_index\":1,\"name\":{\"1\":{}},\"parent\":{\"2\":{},\"3\":{},\"4\":{},\"5\":{},\"6\":{},\"7\":{},\"8\":{},\"9\":{},\"10\":{},\"11\":{},\"12\":{},\"13\":{},\"14\":{},\"15\":{},\"16\":{},\"17\":{},\"18\":{},\"19\":{},\"20\":{},\"21\":{},\"22\":{},\"23\":{},\"24\":{},\"25\":{},\"26\":{},\"27\":{},\"28\":{},\"29\":{},\"30\":{},\"31\":{},\"32\":{},\"33\":{},\"34\":{},\"35\":{},\"36\":{},\"37\":{},\"38\":{},\"39\":{},\"40\":{},\"41\":{},\"42\":{},\"43\":{},\"44\":{},\"45\":{},\"46\":{},\"47\":{},\"48\":{},\"49\":{},\"50\":{},\"51\":{},\"52\":{},\"53\":{},\"54\":{},\"55\":{},\"56\":{},\"57\":{},\"58\":{},\"59\":{},\"60\":{},\"61\":{},\"62\":{},\"63\":{},\"64\":{},\"65\":{},\"66\":{},\"67\":{},\"68\":{},\"69\":{},\"70\":{},\"71\":{},\"72\":{},\"73\":{},\"74\":{},\"75\":{},\"76\":{},\"77\":{},\"78\":{},\"79\":{},\"80\":{},\"81\":{},\"82\":{},\"83\":{},\"84\":{},\"85\":{},\"86\":{},\"87\":{},\"88\":{},\"89\":{},\"90\":{},\"91\":{},\"92\":{},\"93\":{},\"94\":{},\"95\":{},\"96\":{},\"97\":{},\"98\":{},\"99\":{},\"100\":{},\"101\":{},\"102\":{},\"103\":{},\"104\":{},\"105\":{},\"106\":{},\"107\":{},\"108\":{},\"109\":{},\"110\":{},\"111\":{},\"112\":{},\"113\":{},\"114\":{},\"115\":{},\"116\":{},\"117\":{}}}],[\"machine_author\",{\"_index\":53,\"name\":{\"53\":{}},\"parent\":{}}],[\"machine_comment\",{\"_index\":54,\"name\":{\"54\":{}},\"parent\":{}}],[\"machine_contributor\",{\"_index\":55,\"name\":{\"55\":{}},\"parent\":{}}],[\"machine_definition\",{\"_index\":56,\"name\":{\"56\":{}},\"parent\":{}}],[\"machine_language\",{\"_index\":57,\"name\":{\"57\":{}},\"parent\":{}}],[\"machine_license\",{\"_index\":58,\"name\":{\"58\":{}},\"parent\":{}}],[\"machine_name\",{\"_index\":59,\"name\":{\"59\":{}},\"parent\":{}}],[\"machine_state\",{\"_index\":65,\"name\":{\"65\":{}},\"parent\":{}}],[\"machine_version\",{\"_index\":60,\"name\":{\"60\":{}},\"parent\":{}}],[\"machines\",{\"_index\":140,\"name\":{\"136\":{},\"139\":{}},\"parent\":{}}],[\"make\",{\"_index\":118,\"name\":{\"118\":{}},\"parent\":{}}],[\"named_colors\",{\"_index\":133,\"name\":{\"134\":{}},\"parent\":{}}],[\"page\",{\"_index\":134,\"name\":{\"135\":{},\"136\":{},\"137\":{},\"138\":{},\"139\":{},\"140\":{},\"141\":{},\"142\":{},\"143\":{},\"144\":{},\"145\":{},\"146\":{},\"147\":{},\"148\":{}},\"parent\":{}}],[\"parse\",{\"_index\":119,\"name\":{\"119\":{}},\"parent\":{}}],[\"probabilistic_histo_walk\",{\"_index\":82,\"name\":{\"82\":{}},\"parent\":{}}],[\"probabilistic_transition\",{\"_index\":80,\"name\":{\"80\":{}},\"parent\":{}}],[\"probabilistic_walk\",{\"_index\":81,\"name\":{\"81\":{}},\"parent\":{}}],[\"probable_action_exits\",{\"_index\":86,\"name\":{\"86\":{}},\"parent\":{}}],[\"probable_exits_for\",{\"_index\":79,\"name\":{\"79\":{}},\"parent\":{}}],[\"publishing\",{\"_index\":147,\"name\":{\"142\":{}},\"parent\":{}}],[\"quick\",{\"_index\":136,\"name\":{\"135\":{}},\"parent\":{}}],[\"raw_state_declarations\",{\"_index\":61,\"name\":{\"61\":{}},\"parent\":{}}],[\"reference\",{\"_index\":142,\"name\":{\"137\":{},\"138\":{}},\"parent\":{}}],[\"seq\",{\"_index\":126,\"name\":{\"127\":{}},\"parent\":{}}],[\"set_hook\",{\"_index\":95,\"name\":{\"95\":{}},\"parent\":{}}],[\"shapes\",{\"_index\":131,\"name\":{\"132\":{}},\"parent\":{}}],[\"shootout\",{\"_index\":151,\"name\":{\"144\":{}},\"parent\":{}}],[\"sm\",{\"_index\":117,\"name\":{\"117\":{},\"121\":{}},\"parent\":{}}],[\"start\",{\"_index\":137,\"name\":{\"135\":{}},\"parent\":{}}],[\"state\",{\"_index\":48,\"name\":{\"48\":{},\"136\":{}},\"parent\":{}}],[\"state_declaration\",{\"_index\":62,\"name\":{\"62\":{}},\"parent\":{}}],[\"state_declarations\",{\"_index\":63,\"name\":{\"63\":{}},\"parent\":{}}],[\"state_for\",{\"_index\":67,\"name\":{\"67\":{}},\"parent\":{}}],[\"state_is_complete\",{\"_index\":93,\"name\":{\"93\":{}},\"parent\":{}}],[\"state_is_final\",{\"_index\":49,\"name\":{\"49\":{}},\"parent\":{}}],[\"state_is_terminal\",{\"_index\":90,\"name\":{\"90\":{}},\"parent\":{}}],[\"states\",{\"_index\":66,\"name\":{\"66\":{}},\"parent\":{}}],[\"theme\",{\"_index\":72,\"name\":{\"72\":{}},\"parent\":{}}],[\"transfer_state_properties\",{\"_index\":0,\"name\":{\"0\":{}},\"parent\":{}}],[\"transition\",{\"_index\":109,\"name\":{\"109\":{}},\"parent\":{}}],[\"transition_impl\",{\"_index\":107,\"name\":{\"107\":{}},\"parent\":{}}],[\"valid_action\",{\"_index\":113,\"name\":{\"113\":{}},\"parent\":{}}],[\"valid_force_transition\",{\"_index\":115,\"name\":{\"115\":{}},\"parent\":{}}],[\"valid_transition\",{\"_index\":114,\"name\":{\"114\":{}},\"parent\":{}}],[\"version\",{\"_index\":125,\"name\":{\"126\":{}},\"parent\":{}}],[\"weighted_histo_key\",{\"_index\":130,\"name\":{\"131\":{}},\"parent\":{}}],[\"weighted_rand_select\",{\"_index\":127,\"name\":{\"128\":{}},\"parent\":{}}],[\"weighted_sample_select\",{\"_index\":129,\"name\":{\"130\":{}},\"parent\":{}}],[\"what\",{\"_index\":138,\"name\":{\"136\":{}},\"parent\":{}}]],\"pipeline\":[]}}"); \ No newline at end of file diff --git a/docs/docs/classes/Machine.html b/docs/docs/classes/Machine.html index a299286f..c3472d10 100644 --- a/docs/docs/classes/Machine.html +++ b/docs/docs/classes/Machine.html @@ -1,6 +1,6 @@ -Machine | JSSM, a JavaScript state machine - the FSM for FSL

Type parameters

  • mDT

Hierarchy

  • Machine

Index

Constructors

Properties

Methods

Constructors

  • new Machine<mDT>(__namedParameters: JssmGenericConfig<mDT>): Machine<mDT>
  • Type parameters

    • mDT

    Parameters

    • __namedParameters: JssmGenericConfig<mDT>

    Returns Machine<mDT>

Properties

_actions: Map<string, Map<string, number>>
_any_action_hook: Function
_any_transition_hook: Function
_arrange_declaration: string[][]
_arrange_end_declaration: string[][]
_arrange_start_declaration: string[][]
_dot_preamble: string
_edge_map: Map<string, Map<string, number>>
_edges: JssmTransition<mDT>[]
_entry_hooks: Map<string, Function>
_exit_hooks: Map<string, Function>
_flow: FslDirection
_forced_transition_hook: Function
_fsl_version?: string
_global_action_hooks: Map<string, Function>
_graph_layout: JssmLayout
_has_basic_hooks: boolean
_has_entry_hooks: boolean
_has_exit_hooks: boolean
_has_global_action_hooks: boolean
_has_hooks: boolean
_has_named_hooks: boolean
_has_transition_hooks: boolean
_hooks: Map<string, Function>
_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: Function
_named_hooks: Map<string, Function>
_named_transitions: Map<string, number>
_raw_state_declaration?: Object[]
_reverse_action_targets: Map<string, Map<string, number>>
_reverse_actions: Map<string, Map<string, number>>
_standard_transition_hook: Function
_state: string
_state_declarations: Map<string, JssmStateDeclaration>
_states: Map<string, JssmGenericState>
_theme: FslTheme

Methods

  • _new_state(state_config: JssmGenericState): string
  • 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[]

  • current_action_edge_for(action: string): JssmTransition<mDT>
  • Parameters

    • action: string

    Returns JssmTransition<mDT>

  • current_action_for(action: string): number
  • Parameters

    • action: string

    Returns number

  • dot_preamble(): string
  • edges_between(from: string, to: string): JssmTransition<mDT>[]
  • Parameters

    • from: string
    • to: string

    Returns JssmTransition<mDT>[]

  • flow(): FslDirection
  • force_transition(newState: string, newData?: mDT): boolean

Returns string[]

  • current_action_edge_for(action: string): JssmTransition<mDT>
  • Parameters

    • action: string

    Returns JssmTransition<mDT>

  • current_action_for(action: string): number
  • Parameters

    • action: string

    Returns number

  • dot_preamble(): string
  • edges_between(from: string, to: string): JssmTransition<mDT>[]
  • Parameters

    • from: string
    • to: string

    Returns JssmTransition<mDT>[]

  • flow(): FslDirection
  • 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' @@ -24,43 +24,43 @@

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

    • from: string
    • to: string

    Returns number

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

Returns boolean

  • fsl_version(): string
  • get_transition_by_state_names(from: string, to: string): number
  • Parameters

    • from: string
    • to: string

    Returns number

  • 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 switch = jssm.from('on <=> off;');

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

    Parameters

    • whichState: string

      The state to be checked for extance

      -

    Returns boolean

  • has_terminals(): boolean
  • has_unenterables(): boolean
  • hook(from: string, to: string, handler: Function): Machine<mDT>
  • hook_action(from: string, to: string, action: string, handler: Function): Machine<mDT>
  • Parameters

    • from: string
    • to: string
    • action: string
    • handler: Function

    Returns Machine<mDT>

  • hook_any_action(handler: Function): Machine<mDT>
  • hook_any_transition(handler: Function): Machine<mDT>
  • hook_entry(to: string, handler: Function): Machine<mDT>
  • hook_exit(from: string, handler: Function): Machine<mDT>
  • hook_forced_transition(handler: Function): Machine<mDT>
  • hook_global_action(action: string, handler: Function): Machine<mDT>
  • hook_main_transition(handler: Function): Machine<mDT>
  • hook_standard_transition(handler: Function): Machine<mDT>
  • instance_name(): string
  • is_complete(): boolean
  • is_final(): boolean

Returns boolean

  • has_terminals(): boolean
  • has_unenterables(): boolean
  • hook(from: string, to: string, handler: Function): Machine<mDT>
  • hook_action(from: string, to: string, action: string, handler: Function): Machine<mDT>
  • Parameters

    • from: string
    • to: string
    • action: string
    • handler: Function

    Returns Machine<mDT>

  • hook_any_action(handler: Function): Machine<mDT>
  • hook_any_transition(handler: Function): Machine<mDT>
  • hook_entry(to: string, handler: Function): Machine<mDT>
  • hook_exit(from: string, handler: Function): Machine<mDT>
  • hook_forced_transition(handler: Function): Machine<mDT>
  • hook_global_action(action: string, handler: Function): Machine<mDT>
  • hook_main_transition(handler: Function): Machine<mDT>
  • hook_standard_transition(handler: Function): Machine<mDT>
  • instance_name(): string
  • is_complete(): boolean
  • is_final(): boolean
  • Check whether the current 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.is_final() ); // false
    state.transition('second');
    console.log( final_test.is_final() ); // true
    -

    Returns boolean

  • is_terminal(): boolean
  • is_unenterable(whichState: string): boolean
  • Parameters

    • whichState: string

    Returns boolean

  • list_actions(): string[]
  • list_edges(): JssmTransition<mDT>[]
  • is_terminal(): boolean
  • is_unenterable(whichState: string): boolean
  • Parameters

    • whichState: string

    Returns boolean

  • list_actions(): string[]
  • list_edges(): JssmTransition<mDT>[]
  • Lists all edges of a machine.

    import { sm } from 'jssm';

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

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

    Returns JssmTransition<mDT>[]

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

    import { sm } from 'jssm';

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

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

    Parameters

    • whichState: string = ...

      The state whose entrances to have listed

      -

    Returns string[]

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

    • whichState: string = ...

    Returns string[]

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

Returns string[]

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

    • whichState: string = ...

    Returns string[]

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

    import { sm } from 'jssm';

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

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

    Parameters

    • whichState: string = ...

      The state whose exits to have listed

      -

    Returns string[]

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

Returns string[]

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

    import { sm } from 'jssm';

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

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

    Parameters

    • whichState: string

      The action to be checked for associated states

      -

    Returns string[]

  • list_transitions(whichState?: string): JssmTransitionList

Returns string[]

  • list_transitions(whichState?: string): JssmTransitionList
  • 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.

    @@ -68,23 +68,23 @@

    Parameters

    • whichState: string = ...

      The state whose transitions to have listed

      -

    Returns JssmTransitionList

  • lookup_transition_for(from: string, to: string): JssmTransition<mDT>
  • Parameters

    • from: string
    • to: string

    Returns JssmTransition<mDT>

  • machine_author(): string[]
  • machine_comment(): string
  • machine_contributor(): string[]
  • machine_definition(): string
  • machine_language(): string
  • machine_license(): string
  • machine_name(): string
  • machine_state(): JssmMachineInternalState<mDT>
  • Returns JssmMachineInternalState<mDT>

  • machine_version(): string
  • probabilistic_histo_walk(n: number): Map<string, number>
  • Parameters

    • n: number

    Returns Map<string, number>

  • probabilistic_transition(): boolean
  • probabilistic_walk(n: number): string[]
  • probable_action_exits(whichState?: string): any[]
  • Parameters

    • whichState: string = ...

    Returns any[]

  • probable_exits_for(whichState: string): JssmTransition<mDT>[]
  • Parameters

    • whichState: string

    Returns JssmTransition<mDT>[]

  • raw_state_declarations(): Object[]
  • set_hook(HookDesc: HookDescription): void
  • Parameters

    • HookDesc: HookDescription

    Returns void

  • sm(template_strings: TemplateStringsArray, ...remainder: any[]): Machine<mDT>
  • Parameters

    • template_strings: TemplateStringsArray
    • Rest ...remainder: any[]

    Returns Machine<mDT>

  • state(): string

Returns JssmTransitionList

  • lookup_transition_for(from: string, to: string): JssmTransition<mDT>
  • Parameters

    • from: string
    • to: string

    Returns JssmTransition<mDT>

  • machine_author(): string[]
  • machine_comment(): string
  • machine_contributor(): string[]
  • machine_definition(): string
  • machine_language(): string
  • machine_license(): string
  • machine_name(): string
  • machine_state(): JssmMachineInternalState<mDT>
  • Returns JssmMachineInternalState<mDT>

  • machine_version(): string
  • probabilistic_histo_walk(n: number): Map<string, number>
  • Parameters

    • n: number

    Returns Map<string, number>

  • probabilistic_transition(): boolean
  • probabilistic_walk(n: number): string[]
  • probable_action_exits(whichState?: string): any[]
  • Parameters

    • whichState: string = ...

    Returns any[]

  • probable_exits_for(whichState: string): JssmTransition<mDT>[]
  • Parameters

    • whichState: string

    Returns JssmTransition<mDT>[]

  • raw_state_declarations(): Object[]
  • set_hook(HookDesc: HookDescription): void
  • Parameters

    • HookDesc: HookDescription

    Returns void

  • sm(template_strings: TemplateStringsArray, ...remainder: any[]): Machine<mDT>
  • Parameters

    • template_strings: TemplateStringsArray
    • Rest ...remainder: any[]

    Returns Machine<mDT>

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

    import * as jssm from 'jssm';

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

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

    Returns string

  • state_declaration(which: string): JssmStateDeclaration
  • Parameters

    • which: string

    Returns JssmStateDeclaration

  • state_declarations(): Map<string, JssmStateDeclaration>
  • Returns Map<string, JssmStateDeclaration>

  • state_for(whichState: string): JssmGenericState
  • Parameters

    • whichState: string

    Returns JssmGenericState

  • state_is_complete(whichState: string): boolean
  • Parameters

    • whichState: string

    Returns boolean

  • state_is_final(whichState: string): boolean
  • state_declaration(which: string): JssmStateDeclaration
  • Parameters

    • which: string

    Returns JssmStateDeclaration

  • state_declarations(): Map<string, JssmStateDeclaration>
  • Returns Map<string, JssmStateDeclaration>

  • state_for(whichState: string): JssmGenericState
  • Parameters

    • whichState: string

    Returns JssmGenericState

  • state_is_complete(whichState: string): boolean
  • Parameters

    • whichState: string

    Returns 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
  • Parameters

    • whichState: string

    Returns boolean

  • states(): string[]

Returns boolean

  • state_is_terminal(whichState: string): boolean
  • Parameters

    • whichState: string

    Returns boolean

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

    import * as jssm from 'jssm';

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

    Returns string[]

  • theme(): FslTheme
  • transition(newState: string, newData?: mDT): boolean
  • theme(): FslTheme
  • transition(newState: string, newData?: mDT): boolean
  • Instruct the machine to complete a transition.

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

    light.state(); // 'red'
    light.transition('green'); // true
    light.state(); // 'green'
    @@ -92,4 +92,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
  • Parameters

    • action: string
    • Optional _newData: mDT

    Returns boolean

  • valid_force_transition(newState: string, _newData?: mDT): boolean
  • Parameters

    • newState: string
    • Optional _newData: mDT

    Returns boolean

  • valid_transition(newState: string, _newData?: mDT): boolean
  • Parameters

    • newState: string
    • Optional _newData: mDT

    Returns boolean

Legend

  • Property
  • Method

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

    • action: string
    • Optional _newData: mDT

    Returns boolean

  • valid_force_transition(newState: string, _newData?: mDT): boolean
  • Parameters

    • newState: string
    • Optional _newData: mDT

    Returns boolean

  • valid_transition(newState: string, _newData?: mDT): boolean
  • Parameters

    • newState: string
    • Optional _newData: mDT

    Returns boolean

Legend

  • Property
  • Method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/docs/index.html b/docs/docs/index.html index d547a10c..d4ead9b4 100644 --- a/docs/docs/index.html +++ b/docs/docs/index.html @@ -114,4 +114,4 @@

High speed

Correct. Easy. Brief. Powerful. Fast.

Meet your new state machine.

Let's get started.

-

Legend

  • Property
  • Method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Legend

  • Property
  • Method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/docs/modules.html b/docs/docs/modules.html index b6476c1a..3e0a7c2a 100644 --- a/docs/docs/modules.html +++ b/docs/docs/modules.html @@ -1,27 +1,27 @@ -JSSM, a JavaScript state machine - the FSM for FSL
Options
All
  • Public
  • Public/Protected
  • All
Menu

JSSM, a JavaScript state machine - the FSM for FSL

Index

Variables

gviz_shapes: string[] = ...
histograph: Function = ...
+JSSM, a JavaScript state machine - the FSM for FSL
Options
All
  • Public
  • Public/Protected
  • All
Menu

JSSM, a JavaScript state machine - the FSM for FSL

Index

Variables

gviz_shapes: string[] = ...
histograph: Function = ...

Returns the histograph of an array as a Map. Makes no attempt to cope with deep equality; will fail for complex contents, as such.

import { histograph } from './jssm';

histograph( [0, 0, 1, 1, 2, 2, 1] ); // Map()
-
named_colors: string[] = ...
shapes: string[] = gviz_shapes
version: string = "5.67.0"
weighted_histo_key: Function = ...
weighted_rand_select: Function = ...
weighted_sample_select: Function = ...

Functions

  • arrow_direction(arrow: JssmArrow): JssmArrowDirection
named_colors: string[] = ...
shapes: string[] = gviz_shapes
version: string = "5.67.2"
weighted_histo_key: Function = ...
weighted_rand_select: Function = ...
weighted_sample_select: Function = ...

Functions

  • arrow_direction(arrow: JssmArrow): JssmArrowDirection
  • Return the direction of an arrow - right, left, or both.

    import { arrow_direction } from 'jssm';

    arrow_direction('->'); // 'right'
    arrow_direction('<~=>'); // 'both'

    Parameters

    • arrow: JssmArrow

      The arrow to be evaluated

      -

    Returns JssmArrowDirection

  • arrow_left_kind(arrow: JssmArrow): JssmArrowKind

Returns JssmArrowDirection

  • arrow_left_kind(arrow: JssmArrow): JssmArrowKind
  • Return the direction of an arrow - right, left, or both.

    import { arrow_left_kind } from 'jssm';

    arrow_left_kind('<-'); // 'legal'
    arrow_left_kind('<='); // 'main'
    arrow_left_kind('<~'); // 'forced'
    arrow_left_kind('<->'); // 'legal'
    arrow_left_kind('->'); // 'none'

    Parameters

    • arrow: JssmArrow

      The arrow to be evaluated

      -

    Returns JssmArrowKind

  • arrow_right_kind(arrow: JssmArrow): JssmArrowKind

Returns JssmArrowKind

  • arrow_right_kind(arrow: JssmArrow): JssmArrowKind
  • Return the direction of an arrow - right, left, or both.

    import { arrow_left_kind } from 'jssm';

    arrow_left_kind('->'); // 'legal'
    arrow_left_kind('=>'); // 'main'
    arrow_left_kind('~>'); // 'forced'
    arrow_left_kind('<->'); // 'legal'
    arrow_left_kind('<-'); // 'none'

    Parameters

    • arrow: JssmArrow

      The arrow to be evaluated

      -

    Returns JssmArrowKind

  • compile<mDT>(tree: JssmParseTree): JssmGenericConfig<mDT>

Returns JssmArrowKind

  • compile<mDT>(tree: JssmParseTree): JssmGenericConfig<mDT>
  • 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 @@ -48,7 +48,7 @@

    Hey!

    The type of the machine data member; usually omitted

Parameters

  • tree: JssmParseTree

    The parse tree to be boiled down into a machine config

    -

Returns JssmGenericConfig<mDT>

  • from<mDT>(MachineAsString: string, ExtraConstructorFields?: Partial<JssmGenericConfig<mDT>>): Machine<mDT>

Returns JssmGenericConfig<mDT>

  • from<mDT>(MachineAsString: string, ExtraConstructorFields?: Partial<JssmGenericConfig<mDT>>): Machine<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 @@ -62,7 +62,7 @@

    Hey!

    The FSL code to evaluate

  • Optional ExtraConstructorFields: Partial<JssmGenericConfig<mDT>>

    Extra non-code configuration to pass at creation time

    -

Returns Machine<mDT>

  • make<mDT>(plan: string): JssmGenericConfig<mDT>

Returns Machine<mDT>

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

    @@ -70,7 +70,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<mDT>

  • parse(input: string, options?: Object): any

Returns JssmGenericConfig<mDT>

  • parse(input: string, options?: Object): any
  • 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.

    @@ -101,11 +101,11 @@

    Hey!

    The FSL code to be evaluated

  • Optional options: Object

    Things to control about the instance

    -

Returns any

  • seq(n: number): number[]

Returns any

  • seq(n: number): number[]
  • Returns, for a non-negative integer argument n, the series [0 .. n].

    import { seq } from './jssm';

    seq(5); // [0, 1, 2, 3, 4]
    seq(0); // []
    -

    Parameters

    • n: number

    Returns number[]

  • sm<mDT>(template_strings: TemplateStringsArray, ...remainder: any[]): Machine<mDT>
  • +

    Parameters

    • n: number

    Returns number[]

  • sm<mDT>(template_strings: TemplateStringsArray, ...remainder: any[]): Machine<mDT>
  • Create a state machine from a template string. This is one of the two main paths for working with JSSM, alongside {@link from}.

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

    Hey!

    The assembled code

  • Rest ...remainder: any[]

    The mechanic for template argument insertion

    -

Returns Machine<mDT>

  • transfer_state_properties(state_decl: JssmStateDeclaration): JssmStateDeclaration

Returns Machine<mDT>

  • transfer_state_properties(state_decl: JssmStateDeclaration): JssmStateDeclaration
  • An internal method meant to take a series of declarations and fold them into a single multi-faceted declaration, in the process of building a state. Not generally meant for external use.

    -
    internal

    Parameters

    • state_decl: JssmStateDeclaration

    Returns JssmStateDeclaration

Legend

  • Property
  • Method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +
internal

Parameters

  • state_decl: JssmStateDeclaration

Returns JssmStateDeclaration

Legend

  • Property
  • Method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/docs/pages/CHANGELOG.html b/docs/docs/pages/CHANGELOG.html index fbfea145..4534ba64 100644 --- a/docs/docs/pages/CHANGELOG.html +++ b/docs/docs/pages/CHANGELOG.html @@ -3,7 +3,7 @@

Changelog

All notable changes to this project will be documented in this file.

-

874 merges; 70 releases; Changlogging the last 10 commits; Full changelog at CHANGELOG.long.md

+

876 merges; 70 releases; Changlogging the last 10 commits; Full changelog at CHANGELOG.long.md

 

 

Published tags:

@@ -11,6 +11,28 @@

Changelog

 

 

+ +

[Untagged] - 6/6/2022 3:41:07 PM

+
+

Commit 91e2c2f27ec0b200380b8871bacd2d6476e1ab4e

+

Author: John Haugeland <stonecypher@gmail.com>

+
    +
  • More shootout
  • +
+

 

+

 

+ + +

[Untagged] - 6/6/2022 2:47:14 PM

+
+

Commit 7f475f2a684856889fa56317ce30d5296ca2a47d

+

Author: John Haugeland <stonecypher@gmail.com>

+
    +
  • Adds shootout, fixes StoneCypher/fsl#822
  • +
+

 

+

 

+

[Untagged] - 6/6/2022 12:24:27 PM

@@ -105,30 +127,4 @@

[5.65.12] - 5/22/2022 4:28:55 PM

  • Merge pull request #488 from StoneCypher/Doc_Action_Transition_ForceTransition
  • Document action, transition, force_transition; fixes StoneCypher/fsl#801, StoneCypher/fsl#802, StoneCypher/fsl#803
  • -

     

    -

     

    - - -

    [Untagged] - 5/22/2022 4:24:24 PM

    -
    -

    Commit f0f3961d25dc11cfb547eca55c7e3a65b9cf3ccf

    -

    Author: John Haugeland <stonecypher@gmail.com>

    -
      -
    • Document action, transition, force_transition; fixes StoneCypher/fsl#801, StoneCypher/fsl#802, StoneCypher/fsl#803
    • -
    -

     

    -

     

    - - - - -

    [5.65.11] - 5/22/2022 3:54:12 PM

    -
    -

    Commit e084bf4a0936d419b5a9921e746a707644ad263f

    -

    Author: John Haugeland <stonecypher@gmail.com>

    -

    Merges [a7d9fba, b2558b2]

    -
      -
    • Merge pull request #487 from StoneCypher/Doc_ListEdges_ListTransitions_ListEntrances_ListExits
    • -
    • Doc list edges list transitions list entrances list exits
    • -
    -

    Legend

    • Property
    • Method

    Settings

    Theme

    Generated using TypeDoc

    \ No newline at end of file +

    Legend

    • Property
    • Method

    Settings

    Theme

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/docs/pages/FeatureComparison.html b/docs/docs/pages/FeatureComparison.html new file mode 100644 index 00000000..1fb30e4a --- /dev/null +++ b/docs/docs/pages/FeatureComparison.html @@ -0,0 +1,10 @@ +Feature comparison | JSSM, a JavaScript state machine - the FSM for FSL
    Options
    All
    • Public
    • Public/Protected
    • All
    Menu

    Legend

    • Property
    • Method

    Settings

    Theme

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/docs/pages/GettingStarted.html b/docs/docs/pages/GettingStarted.html index 28e0746b..73092349 100644 --- a/docs/docs/pages/GettingStarted.html +++ b/docs/docs/pages/GettingStarted.html @@ -1,5 +1,5 @@ -☕ Getting started | JSSM, a JavaScript state machine - the FSM for FSL
    Options
    All
    • Public
    • Public/Protected
    • All
    Menu

    Legend

    • Property
    • Method

    Settings

    Theme

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/docs/pages/Shootout.html b/docs/docs/pages/Shootout.html index 8c3541d8..0fb80b08 100644 --- a/docs/docs/pages/Shootout.html +++ b/docs/docs/pages/Shootout.html @@ -1,15 +1,26 @@ -Shootout | JSSM, a JavaScript state machine - the FSM for FSL
    Options
    All
    • Public
    • Public/Protected
    • All
    Menu
    - -

    Language shootout

    +LOC Shootout | JSSM, a JavaScript state machine - the FSM for FSL
    + +

    Lines of Code shootout

    FSL's biggest benefit is ease of use, from short machines. However, it's not much value to just say that; instead, we should see what the actual difference is, by comparisons.

    -

    All of these comparisons are taken from the comparison product's documentation, -and are generally unchanged other than to format with prettier for fairness -(hence all the hanging commas shudder,) and sometimes to add include or -require to make runnable code. Sometimes details like labels or constancy -will be altered to match for comparison; if so, this will be pointed out.

    +

    When possible, all of these comparisons are taken from the comparison product's +documentation, and are generally unchanged; when not, by following something +that was; and sometimes to add include or require to make runnable code. +Sometimes details like labels or constancy will be altered to match for +comparison; if so, this will be pointed out.

    +

    The JSSM examples are not golfed. For example, on the states of matter machine, +one could hook all actions, and print from an object whose property names were +the state names, to get that down to two lines; this is the expected "natural" +way to write it, instead.

    +

    All code samples are formatted with prettier for fairness.

    +

    Numbers in bold represent official code; numbers not in bold are examples I +wrote, and despite good faith, may not represent ideal notation. If the text +is red and italic, that state machine library could not implement +that comparative test correctly due to a missing feature.

    +

    Libraries are sorted shortest-average first, with failing libraries sorted to +the end.

    @@ -19,43 +30,78 @@

    Language shootout

    + - - + + + + + + + + + + - - - - + + + + + - - - + + + + - + + - + + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + +
    Tog Traf MattAvg
    jssm121252.66
    state-machine 58149
    xstate16faste4142410.66
    javascript-state-machine237132314.33
    finity 710 2815
    stately 818 2416.66
    nanostate12robot17243124
    xstate16363328.33
    nanostate8121511.66
    machina20263627.33
    @@ -69,6 +115,54 @@

    Toggle machine

    In essence, a simple light switch. Just shows the basics of making states, and linking them with actions.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    liblength
    jssm1
    faste4
    state-machine5
    finity7
    javascript-state-machine7
    stately8
    xstate16
    robot17
    nanostate8
    machina20

     

    @@ -84,6 +178,15 @@

    xstate toggle machine, 16 lines

    From their documentation

    export const toggleMachine = createMachine({
    id: "toggle",
    initial: "inactive",
    states: {
    inactive: {
    on: {
    TOGGLE: "active",
    },
    },
    active: {
    on: {
    TOGGLE: "inactive",
    },
    },
    },
    });
    +

     

    + + +

    javascript-state-machine toggle machine, 7 lines

    +
    +

    Exported and consted.

    +
    export const toggleMachine = new StateMachine({
    init: "inactive",
    transitions: [
    { name: "toggle", from: "inactive", to: "active" },
    { name: "toggle", from: "active", to: "inactive" },
    ]
    }); +
    +

     

    (created) finity toggle machine, 7 lines

    @@ -91,7 +194,9 @@

    (created) finity toggle machine, 7 lines

    Finity did not have a light switch example. I made this, following this unrelated machine as a style guide.

    -
    export const stateMachine = Finity
    .configure()
    .initialState('inactive')
    .on('toggle').transitionTo('active')
    .state('active')
    .on('toggle').transitionTo('inactive')
    .start(); +

    I don't format finity with prettier because prettier does an unreasonably +bad job with the oddly nested callback structure. This isn't finity's fault.

    +
    export const toggleMachine = Finity
    .configure()
    .initialState('inactive')
    .on('toggle').transitionTo('active')
    .state('active')
    .on('toggle').transitionTo('inactive')
    .start();

     

    @@ -101,7 +206,54 @@

    (created) stately toggle machine, 8 lines

    Stately did not have a light switch example. I made this, following this unrelated machine as a style guide.

    -
    export const door = Stately.machine({
    inactive: {
    toggle: "active",
    },
    active: {
    toggle: "inactive",
    },
    }); +
    export const toggleMachine = Stately.machine({
    inactive: {
    toggle: "active",
    },
    active: {
    toggle: "inactive",
    },
    }); +
    +

     

    + + +

    nanostate toggle machine, 8 lines

    +
    +

    Robot did not have a toggle example. I made this, following this unrelated +machine as a style +guide.

    +
    export const toggleMachine = nanostate("inactive", {
    inactive: {
    toggle: "active",
    },
    active: {
    toggle: "inactive",
    },
    }); +
    +

     

    + + +

    (created) robot toggle machine, 17 lines

    +
    +

    Robot did not have a toggle example. I made this, following this unrelated +machine as a style guide.

    +
    const toggleMachine = createMachine(
    {
    inactive: state(
    transition(
    "toggle",
    "active"
    )
    ),
    active: state(
    transition(
    "toggle",
    "inactive"
    )
    ),
    },
    () => true
    ); +
    +

     

    + + +

    faste toggle machine, 4 lines

    +
    +

    Taken from the readme. +Renamed, bound, and exported the machine result; changed the labels.

    +
    onClick = () => this.setState( state => ({ enabled: !state.enabled}));

    export const toggleMachine = faste()
    .on('toggle', 'inactive', ({transitTo}) => transitTo('enabled'))
    .on('toggle', 'active', ({transitTo}) => transitTo('disabled')) +
    +

     

    + + +

    state-machine toggle machine, 5 lines

    +
    +

    No toggle machine was available; wrote from scratch and used the docs +for usage guidelines.

    +
    var toggleMachine = new StateMachine({
    transitions: [
    'toggle : inactive > active > inactive'
    ]
    }); +
    +

     

    + + +

    machina toggle machine, 20 lines

    +
    +

    No toggle machine example was available; wrote from scratch and used the +pedestrianSignal example in their landing page +for usage guidelines.

    +
    export const matter = new machina.Fsm({
    initialState: "inactive",
    states: {
    uninitialized: {
    "*": function () {
    this.deferUntilTransition();
    this.transition("inactive");
    },
    },
    inactive: {
    _toggle: "active",
    },
    active: {
    _toggle: "inactive",
    },
    },
    toggle: function () {
    this.handle("_toggle");
    },
    });

     

     

    @@ -114,6 +266,54 @@

    Traffic light

    whenever the red state is entered.

    Shows the basics, as well as putting a hook on a state (or a node in some systems' lingo.)

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    liblength
    jssm2
    state-machine8
    finity10
    stately18
    nanostate12
    javascript-state-machine13
    faste14
    robot24
    machina26
    xstate36

     

    @@ -123,6 +323,50 @@

    jssm traffic light, 2 lines

     

    +
    +

    (created) xstate traffic light, 36 lines

    +
    +

    There's most of a traffic light between their documentation here +and also here, +and it seems to piece together into this:

    +
    export const trafficLight = createMachine(
    {
    initial: "green",
    states: {
    green: {
    on: {
    next: {
    target: "yellow",
    },
    },
    },
    yellow: {
    on: {
    next: {
    target: "red",
    },
    },
    },
    red: {
    entry: "alertRed",
    on: {
    next: {
    target: "green",
    },
    },
    },
    },
    },
    {
    actions: {
    alertGreen: (context, event) => {
    alert("Green!");
    },
    },
    }
    ); +
    +

     

    + + +

    (created) finity traffic light, 10 lines

    +
    +

    finity did not have a traffic light example. I made this, following this +unrelated machine +as a style guide.

    +

    Finity does not appear to support hooking specific transitions, but instead +offers a single global transition hook.

    +

    I didn't format this with prettier, because prettier does a really bad job +with the chain .state().on().transitionTo(); the length doubles and this +becomes unreadable, and that isn't finity's fault.

    +
    const matter = Finity
    .configure()
    .initialState('red')
    .onEnter(() => console.log('Red light!'))
    .on('next').transitionTo('green')
    .state('green')
    .on('next').transitionTo('yellow')
    .state('yellow')
    .on('next').transitionTo('red')
    .start(); +
    +

     

    + + +

    (created) stately traffic light, 18 lines

    +
    +

    stately did not have a traffic light example. I made this, following this +unrelated machine as a style +guide.

    +
    export const matter = Stately.machine({
    red: {
    onEnter: () => console.log("Red light!"),
    next: () => {
    return this.green;
    },
    },
    green: {
    next: () => {
    return this.yellow;
    },
    },
    gas: {
    next: () => {
    return this.red;
    },
    },
    }); +
    +

     

    + + +

    javascript-state-machine traffic light, 13 lines

    +
    +

    javascript-state-machine did not have a traffic light example. I made this, +from scratch.

    +
    export const matter = new StateMachine({
    init: "red",
    transitions: [
    { name: "next", from: "red", to: "green" },
    { name: "next", from: "green", to: "yellow" },
    { name: "next", from: "yellow", to: "red" },
    ],
    methods: {
    onRed: function () {
    console.log("Red light!");
    },
    },
    }); +
    +

     

    +

    nanostate traffic light, 12 lines

    @@ -130,7 +374,45 @@

    nanostate traffic light, 12 lines

    Changed the name of the event from timer to next; exported and consted. Reordered to start in red, instead of to start in green.

    Added a red light hook with .on.

    -
    export const trafficLight = nanostate("green", {
    red: {
    next: "green",
    },
    green: {
    next: "yellow",
    },
    yellow: {
    next: "red",
    },
    });

    trafficLight.on('red', () => console.log('Red light!')); +
    export const trafficLight = nanostate("red", {
    red: {
    next: "green",
    },
    green: {
    next: "yellow",
    },
    yellow: {
    next: "red",
    },
    });

    trafficLight.on('red', () => console.log('Red light!')); +
    +

     

    + + +

    (created) robot traffic light, 24 lines

    +
    +

    Robot did not have a traffic light example. I made this, following this +unrelated machine as a style +guide.

    +

    Robot does not appear to support hooks on nodes, so we've faked it with hooks +on transitions.

    +
    export const trafficLight = createMachine(
    {
    red: state(
    transition(
    "next",
    "green"
    )
    ),
    green: state(
    transition(
    "next",
    "yellow"
    )
    ),
    yellow: state(
    transition(
    "next",
    "red",
    action(() => console.log("Red light!"))
    )
    ),
    },
    () => true
    ); +
    +

     

    + + +

    faste traffic light, 14 lines

    +
    +

    Taken from the readme. Only +change was to rename and export the variable.

    +
    export const trafficLight = faste()
    .withPhases(["red", "yellow", "green"])
    .withTransitions({
    green: ["yellow"],
    yellow: ["red"],
    red: ["green"],
    })
    .withMessages(["switch"])
    .on("switch", ["red"], ({ transitTo }) => transitTo("green"))
    .on("switch", ["green"], ({ transitTo }) => transitTo("yellow"))
    .on("switch", ["yellow"], ({ transitTo }) => {
    console.log("Red light!");
    transitTo("red");
    }); +
    +

     

    + + +

    state-machine traffic light, 8 lines

    +
    +

    No traffic light was available; wrote from scratch and used the docs +for usage guidelines.

    +
    export const trafficLight = new StateMachine({
    transitions: [
    'next : red > green > yellow > red'
    ],
    handlers: {
    'red' : () => console.log('Red light!')
    }
    }); +
    +

     

    + + +

    machina traffic light, 26 lines

    +
    +

    Adapted from the pedestrianSignal example in their landing page.

    +
    export const trafficLight = new machina.Fsm({
    initialState: "red",
    states: {
    uninitialized: {
    "*": function () {
    this.deferUntilTransition();
    this.transition("red");
    },
    },
    green: {
    _next: "yellow",
    },
    yellow: {
    _next: "red",
    },
    red: {
    _next: "green",
    _onEnter: function () {
    console.log("Red light!");
    },
    },
    },
    next: function () {
    this.handle("_next");
    },
    });

     

     

    @@ -139,30 +421,91 @@

    nanostate traffic light, 12 lines

    States of Matter

    -

    Three basic states of matter. Hook each transition with chatter on entry.

    +

    Three basic states of matter. Hook each of the four transitions with chatter on +follow.

    In addition to the basics, shows how to put a hook on a transition (or an action or an edge, in other machines' terminology.)

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    liblength
    jssm5
    state-machine14
    nanostate15
    javascript-state-machine23
    stately24
    faste24
    finity28
    robot31
    xstate35
    machina36

     

    jssm states of matter, 5 lines

    -
    export const trafficLight = sm`solid 'melt' <=> 'freeze' liquid 'vaporize' <=> 'condense' gas`;
    trafficLight.hook_global_action('melt', () => console.log('I melted'));
    trafficLight.hook_global_action('freeze', () => console.log('I froze'));
    trafficLight.hook_global_action('vaporize', () => console.log('I vaporized'));
    trafficLight.hook_global_action('condense', () => console.log('I condensed')); +
    export const matter = sm`solid 'melt' <=> 'freeze' liquid 'vaporize' <=> 'condense' gas`;
    trafficLight.hook_global_action('melt', () => console.log('I melted'));
    trafficLight.hook_global_action('freeze', () => console.log('I froze'));
    trafficLight.hook_global_action('vaporize', () => console.log('I vaporized'));
    trafficLight.hook_global_action('condense', () => console.log('I condensed')); +
    +

     

    + + +

    (created) xstate traffic light, 33 lines

    +
    +

    xstate did not have a states of matter example. I made this, following this +unrelated machine +and this one, +and also this one as style guides.

    +
    export const matter = createMachine({
    initial: "solid",
    states: {
    solid: {
    on: {
    melt: {
    target: "liquid",
    actions: () => console.log("I melted"),
    },
    },
    },
    liquid: {
    on: {
    freeze: {
    target: "solid",
    actions: () => console.log("I froze"),
    },
    vaporize: {
    target: "gas",
    actions: () => console.log("I vaporized"),
    },
    },
    },
    gas: {
    on: {
    condense: {
    target: "liquid",
    actions: () => console.log("I condensed"),
    },
    },
    },
    },
    });

     

    javascript-state-machine states of matter, 23 lines

    -

    Exported and consted.

    -
    export const fsm = new StateMachine({
    init: "solid",
    transitions: [
    { name: "melt", from: "solid", to: "liquid" },
    { name: "freeze", from: "liquid", to: "solid" },
    { name: "vaporize", from: "liquid", to: "gas" },
    { name: "condense", from: "gas", to: "liquid" },
    ],
    methods: {
    onMelt: function () {
    console.log("I melted");
    },
    onFreeze: function () {
    console.log("I froze");
    },
    onVaporize: function () {
    console.log("I vaporized");
    },
    onCondense: function () {
    console.log("I condensed");
    },
    },
    }); +

    Used the example found here.

    +

    Changed the variable name, exported, and consted.

    +
    export const matter = new StateMachine({
    init: "solid",
    transitions: [
    { name: "melt", from: "solid", to: "liquid" },
    { name: "freeze", from: "liquid", to: "solid" },
    { name: "vaporize", from: "liquid", to: "gas" },
    { name: "condense", from: "gas", to: "liquid" },
    ],
    methods: {
    onMelt: function () {
    console.log("I melted");
    },
    onFreeze: function () {
    console.log("I froze");
    },
    onVaporize: function () {
    console.log("I vaporized");
    },
    onCondense: function () {
    console.log("I condensed");
    },
    },
    });

     

    (created) finity states of matter, 28 lines

    -

    Finity did not have a states of matter example. I made this, following this +

    finity did not have a states of matter example. I made this, following this unrelated machine as a style guide.

    Finity does not appear to support hooking specific transitions, but instead @@ -170,16 +513,75 @@

    (created) finity states of matter, 28 lines

    I didn't format this with prettier, because prettier does a really bad job with the chain .state().on().transitionTo(); the length doubles and this becomes unreadable, and that isn't finity's fault.

    -
    const stateMachine = Finity
    .configure()
    .initialState('solid')
    .on('melt').transitionTo('liquid')
    .state('liquid')
    .on('vaporize').transitionTo('gas')
    .on('freeze').transitionTo('solid')
    .state('gas')
    .on('condense').transitionTo('liquid')
    .global()
    .onTransition( (fromState, toState) => {
    switch (fromState) {
    case 'solid':
    console.log('I melted');
    break;
    case 'liquid':
    if (toState === solid) {
    console.log('I froze');
    } else if (toState === gas) {
    console.log('I vaporized');
    }
    break;
    case 'gas':
    console.log('I condensed');
    break;
    }
    })
    .start(); +
    const matter = Finity
    .configure()
    .initialState('solid')
    .on('melt').transitionTo('liquid')
    .state('liquid')
    .on('vaporize').transitionTo('gas')
    .on('freeze').transitionTo('solid')
    .state('gas')
    .on('condense').transitionTo('liquid')
    .global()
    .onTransition( (fromState, toState) => {
    switch (fromState) {
    case 'solid':
    console.log('I melted');
    break;
    case 'liquid':
    if (toState === solid) {
    console.log('I froze');
    } else if (toState === gas) {
    console.log('I vaporized');
    }
    break;
    case 'gas':
    console.log('I condensed');
    break;
    }
    })
    .start();

     

    (created) stately states of matter, 24 lines

    -

    Stately did not have a light switch example. I made this, following this +

    stately did not have a states of matter example. I made this, following this +unrelated machine as a style +guide.

    +
    export const matter = Stately.machine({
    solid: {
    melt: () => {
    console.log("I melted");
    return this.liquid;
    },
    },
    liquid: {
    freeze: () => {
    console.log("I froze");
    return this.solid;
    },
    vaporize: () => {
    console.log("I vaporized");
    return this.gas;
    },
    },
    gas: {
    condense: () => {
    console.log("I condensed");
    return this.liquid;
    },
    },
    }); +
    +

     

    + + +

    nanostate states of matter, 15 lines, ❌ cannot implement

    +
    +

    nanostate did not have a states of matter example. I made this, following +this unrelated machine +as a style guide.

    +

    nanostate does not appear to support on-action hooks, and does not appear to +pass the previous state when calling its global enter hook. Therefore there is +no way to correctly implement the hooks leading to liquid - condense and melt - +because you can't tell whether they're coming from solid or gas. On these +grounds, nanostate cannot implement this machine correctly.

    +
    export const trafficLight = nanostate("solid", {
    solid: {
    melt: "liquid",
    },
    liquid: {
    freeze: "solid",
    vaporize: "gas",
    },
    gas: {
    condense: "liquid",
    },
    });

    trafficLight.on("solid", () => console.log("I froze"));
    trafficLight.on("gas", () => console.log("I vaporized"));

    trafficLight.on("liquid", () =>
    console.log("❌ FAIL: cannot tell if melt or condense")
    ); +
    +

     

    + + +

    (created) robot states of matter, 31 lines

    +
    +

    robot did not have a states of matter example. I made this, following this unrelated machine as a style guide.

    -
    export const door = Stately.machine({
    solid: {
    melt: () => {
    console.log("I melted");
    return this.liquid;
    },
    },
    liquid: {
    freeze: () => {
    console.log("I froze");
    return this.solid;
    },
    vaporize: () => {
    console.log("I vaporized");
    return this.gas;
    },
    },
    gas: {
    condense: () => {
    console.log("I condensed");
    return this.liquid;
    },
    },
    }); +
    const matter = createMachine(
    {
    solid: state(
    transition(
    "melt",
    "liquid",
    action(() => console.log("I melted"))
    )
    ),
    liquid: state(
    transition(
    "freeze",
    "solid",
    action(() => console.log("I froze"))
    ),
    transition(
    "vaporize",
    "gas",
    action(() => console.log("I vaporized"))
    )
    ),
    gas: state(
    transition(
    "condense",
    "liquid",
    action(() => console.log("I condensed"))
    )
    ),
    },
    () => true
    ); +
    +

     

    + + +

    (created) faste states of matter, 24 lines

    +
    +

    faste did not have a states of matter example. I made this, following this +unrelated machine as a style +guide.

    +
    export const matter = faste()
    .withPhases(["solid", "liquid", "gas"])
    .withTransitions({
    solid: ["liquid"],
    liquid: ["solid", "gas"],
    gas: ["liquid"],
    })
    .withMessages(["melt", "freeze", "vaporize", "condense"])
    .on("melt", ["solid"], ({ transitTo }) => {
    console.log("I melted");
    transitTo("liquid");
    })
    .on("freeze", ["liquid"], ({ transitTo }) => {
    console.log("I froze");
    transitTo("solid");
    })
    .on("vaporize", ["liquid"], ({ transitTo }) => {
    console.log("I vaporized");
    transitTo("gas");
    })
    .on("condense", ["gas"], ({ transitTo }) => {
    console.log("I condensed");
    transitTo("liquid");
    }); +
    +

     

    + + +

    state-machine states of matter, 14 lines

    +
    +

    No states of matter example was available; wrote from scratch and used the docs +for usage guidelines.

    +
    export const matter = new StateMachine({
    transitions: [
    "melt : solid > liquid",
    "freeze : solid < liquid",
    "vaporize : liquid > gas",
    "condense : liquid < gas",
    ],
    handlers: {
    "@melt": () => console.log("I melted"),
    "@freeze": () => console.log("I froze"),
    "@vaporize": () => console.log("I vaporized"),
    "@condense": () => console.log("I condensed"),
    },
    }); +
    +

     

    + + +

    machina states of matter, 36 lines, ❌ cannot implement

    +
    +

    No states of matter example was available; wrote from scratch and used the +pedestrianSignal example in their landing page +for usage guidelines.

    +

    machina does not appear to support on-action hooks, and does not appear to +pass the previous state when calling its global enter hook. Therefore there is +no way to correctly implement the hooks leading to liquid - condense and melt - +because you can't tell whether they're coming from solid or gas. On these +grounds, machina cannot implement this machine correctly.

    +
    export const matter = new machina.Fsm({
    initialState: "solid",
    states: {
    uninitialized: {
    "*": function () {
    this.deferUntilTransition();
    this.transition("solid");
    },
    },
    solid: {
    _melt: "liquid",
    },
    liquid: {
    _freeze: "solid",
    _vaporize: "gas",
    },
    gas: {
    _condense: "liquid",
    _onEnter: function () {
    console.log("Red light!");
    },
    },
    },
    melt: function () {
    this.handle("_melt");
    },
    freeze: function () {
    this.handle("_freeze");
    },
    vaporize: function () {
    this.handle("_vaporize");
    },
    condense: function () {
    this.handle("_condense");
    },
    });
    -

    Legend

    • Property
    • Method

    Settings

    Theme

    Generated using TypeDoc

    \ No newline at end of file +

    Legend

    • Property
    • Method

    Settings

    Theme

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/docs/pages/community.html b/docs/docs/pages/community.html index 5968a6ed..5cfbcad7 100644 --- a/docs/docs/pages/community.html +++ b/docs/docs/pages/community.html @@ -11,4 +11,4 @@

    Discord

    Please join us on Discord! https://discord.gg/9P95USqnMK

    Discord community

    -

    Legend

    • Property
    • Method

    Settings

    Theme

    Generated using TypeDoc

    \ No newline at end of file +

    Legend

    • Property
    • Method

    Settings

    Theme

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/docs/pages/live_editor.html b/docs/docs/pages/live_editor.html index f84b3f1a..ed2b856f 100644 --- a/docs/docs/pages/live_editor.html +++ b/docs/docs/pages/live_editor.html @@ -6,4 +6,4 @@

    Live Editor

    sharing.

    Try the live editor now.

    -

    Legend

    • Property
    • Method

    Settings

    Theme

    Generated using TypeDoc

    \ No newline at end of file +

    Legend

    • Property
    • Method

    Settings

    Theme

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/docs/pages/todo.html b/docs/docs/pages/todo.html index d96b2642..34401a2f 100644 --- a/docs/docs/pages/todo.html +++ b/docs/docs/pages/todo.html @@ -3,4 +3,4 @@

    todo

    This help page has not yet been written.

    -

    Legend

    • Property
    • Method

    Settings

    Theme

    Generated using TypeDoc

    \ No newline at end of file +

    Legend

    • Property
    • Method

    Settings

    Theme

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/typedoc-addon.css b/docs/typedoc-addon.css index 15463f56..aaefaefa 100644 --- a/docs/typedoc-addon.css +++ b/docs/typedoc-addon.css @@ -22,5 +22,7 @@ html body .tsd-panel table tr th { background-color: #bdf; } #quicktab td { text-align: right; } #quicktab td+td { text-align: center; } -#quicktab th { text-align: right; } +#quicktab th { text-align: right; font-weight: normal; } #quicktab th+th { text-align: center; } + +fail { font-style: italic; color: #b00; } diff --git a/package.json b/package.json index 41acbf2c..8d8d3c3e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "jssm", - "version": "5.67.0", + "version": "5.67.2", "engines": { "node": ">=10.0.0" }, diff --git a/src/doc_md/CHANGELOG.long.md b/src/doc_md/CHANGELOG.long.md index 9a74989f..bc2071bb 100644 --- a/src/doc_md/CHANGELOG.long.md +++ b/src/doc_md/CHANGELOG.long.md @@ -2,7 +2,7 @@ All notable changes to this project will be documented in this file. -874 merges; 70 releases +876 merges; 70 releases @@ -18,6 +18,36 @@ Published tags: +  + +  + +## [Untagged] - 6/6/2022 3:41:07 PM + +Commit [91e2c2f27ec0b200380b8871bacd2d6476e1ab4e](https://github.com/StoneCypher/jssm/commit/91e2c2f27ec0b200380b8871bacd2d6476e1ab4e) + +Author: `John Haugeland ` + + * More shootout + + + + +  + +  + +## [Untagged] - 6/6/2022 2:47:14 PM + +Commit [7f475f2a684856889fa56317ce30d5296ca2a47d](https://github.com/StoneCypher/jssm/commit/7f475f2a684856889fa56317ce30d5296ca2a47d) + +Author: `John Haugeland ` + + * Adds shootout, fixes StoneCypher/fsl#822 + + + +     diff --git a/src/doc_md/CHANGELOG.md b/src/doc_md/CHANGELOG.md index 78be74ee..2db0f545 100644 --- a/src/doc_md/CHANGELOG.md +++ b/src/doc_md/CHANGELOG.md @@ -2,7 +2,7 @@ All notable changes to this project will be documented in this file. -874 merges; 70 releases; Changlogging the last 10 commits; Full changelog at [CHANGELOG.long.md](CHANGELOG.long.md) +876 merges; 70 releases; Changlogging the last 10 commits; Full changelog at [CHANGELOG.long.md](CHANGELOG.long.md) @@ -18,6 +18,36 @@ Published tags: +  + +  + +## [Untagged] - 6/6/2022 3:41:07 PM + +Commit [91e2c2f27ec0b200380b8871bacd2d6476e1ab4e](https://github.com/StoneCypher/jssm/commit/91e2c2f27ec0b200380b8871bacd2d6476e1ab4e) + +Author: `John Haugeland ` + + * More shootout + + + + +  + +  + +## [Untagged] - 6/6/2022 2:47:14 PM + +Commit [7f475f2a684856889fa56317ce30d5296ca2a47d](https://github.com/StoneCypher/jssm/commit/7f475f2a684856889fa56317ce30d5296ca2a47d) + +Author: `John Haugeland ` + + * Adds shootout, fixes StoneCypher/fsl#822 + + + +     @@ -145,39 +175,4 @@ Author: `John Haugeland ` Merges [e084bf4, f0f3961] * Merge pull request #488 from StoneCypher/Doc_Action_Transition_ForceTransition - * Document action, transition, force_transition; fixes StoneCypher/fsl#801, StoneCypher/fsl#802, StoneCypher/fsl#803 - - - - -  - -  - -## [Untagged] - 5/22/2022 4:24:24 PM - -Commit [f0f3961d25dc11cfb547eca55c7e3a65b9cf3ccf](https://github.com/StoneCypher/jssm/commit/f0f3961d25dc11cfb547eca55c7e3a65b9cf3ccf) - -Author: `John Haugeland ` - - * Document action, transition, force_transition; fixes StoneCypher/fsl#801, StoneCypher/fsl#802, StoneCypher/fsl#803 - - - - -  - -  - - - -## [5.65.11] - 5/22/2022 3:54:12 PM - -Commit [e084bf4a0936d419b5a9921e746a707644ad263f](https://github.com/StoneCypher/jssm/commit/e084bf4a0936d419b5a9921e746a707644ad263f) - -Author: `John Haugeland ` - -Merges [a7d9fba, b2558b2] - - * Merge pull request #487 from StoneCypher/Doc_ListEdges_ListTransitions_ListEntrances_ListExits - * Doc list edges list transitions list entrances list exits \ No newline at end of file + * Document action, transition, force_transition; fixes StoneCypher/fsl#801, StoneCypher/fsl#802, StoneCypher/fsl#803 \ No newline at end of file diff --git a/src/doc_md/FeatureComparison.md b/src/doc_md/FeatureComparison.md new file mode 100644 index 00000000..5b11ddf6 --- /dev/null +++ b/src/doc_md/FeatureComparison.md @@ -0,0 +1,5 @@ +# Feature Comparison + +Does your machine do what you need? + +# TODO \ No newline at end of file diff --git a/src/doc_md/Shootout.md b/src/doc_md/Shootout.md index 18ea0aed..d6713f6c 100644 --- a/src/doc_md/Shootout.md +++ b/src/doc_md/Shootout.md @@ -1,25 +1,44 @@ -# Language shootout +# Lines of Code shootout FSL's biggest benefit is ease of use, from short machines. However, it's not much value to just say that; instead, we should see what the actual difference is, by comparisons. -All of these comparisons are taken from the comparison product's documentation, -and are generally unchanged other than to format with `prettier` for fairness -(hence all the hanging commas ***shudder***,) and sometimes to add `include` or -`require` to make runnable code. Sometimes details like labels or constancy -will be altered to match for comparison; if so, this will be pointed out. +When possible, all of these comparisons are taken from the comparison product's +documentation, and are generally unchanged; when not, by following something +that was; and sometimes to add `include` or `require` to make runnable code. +Sometimes details like labels or constancy will be altered to match for +comparison; if so, this will be pointed out. + +The JSSM examples are not golfed. For example, on the states of matter machine, +one could hook all actions, and print from an object whose property names were +the state names, to get that down to two lines; this is the expected "natural" +way to write it, instead. + +All code samples are formatted with `prettier` for fairness. + +Numbers in bold represent official code; numbers not in bold are examples I +wrote, and despite good faith, may not represent ideal notation. If the text +is red and italic, that state machine library could not implement +that comparative test correctly due to a missing feature. + +Libraries are sorted shortest-average first, with failing libraries sorted to +the end. -| Library | Tog | Traf | Matt | -| ---- | ---- | ---- | ---- | -| jssm | 1 | 2 | 5 | -| xstate | 16 | | | -| javascript-state-machine | | | 23 | -| finity | 7 | | 28 | -| stately | 8 | | 24 | -| nanostate | | 12 | | +| Library | Tog | Traf | Matt | Avg | +| ---- | ---- | ---- | ---- | ---- | +| jssm | **1** | **2** | **5** | 2.66 | +| state-machine | 5 | 8 | 14 | 9 | +| faste | 4 | 14 | 24 | 10.66 | +| javascript-state-machine | 7 | 13 | **23** | 14.33 | +| finity | 7 | 10 | 28 | 15 | +| stately | 8 | 18 | 24 | 16.66 | +| robot | 17 | 24 | 31 | 24 | +| xstate | **16** | 36 | 33 | 28.33 | +| nanostate | 8 | **12** | 15 | 11.66 | +| machina | 20 | 26 | 36 | 27.33 | @@ -34,6 +53,19 @@ will be altered to match for comparison; if so, this will be pointed out. In essence, a simple light switch. Just shows the basics of making states, and linking them with actions. +| lib | length | +| ---- | ---- | +| jssm | 1 | +| faste | 4 | +| state-machine | 5 | +| finity | 7 | +| javascript-state-machine | 7 | +| stately | 8 | +| xstate | 16 | +| robot | 17 | +| nanostate | 8 | +| machina | 20 | +   ### `jssm` toggle machine, 1 line @@ -67,14 +99,35 @@ export const toggleMachine = createMachine({ }); ```` +  + +### `javascript-state-machine` toggle machine, 7 lines + +Exported and consted. + +```javascript +export const toggleMachine = new StateMachine({ + init: "inactive", + transitions: [ + { name: "toggle", from: "inactive", to: "active" }, + { name: "toggle", from: "active", to: "inactive" }, + ] +}); +``` + +  + ### (created) `finity` toggle machine, 7 lines Finity did not have a light switch example. I made this, following [this unrelated machine](https://github.com/nickuraltsev/finity/blob/master/examples/hierarchical/index.js) as a style guide. +I don't format `finity` with `prettier` because `prettier` does an unreasonably +bad job with the oddly nested callback structure. This isn't finity's fault. + ```javascript -export const stateMachine = Finity +export const toggleMachine = Finity .configure() .initialState('inactive') .on('toggle').transitionTo('active') @@ -92,7 +145,7 @@ unrelated machine](https://github.com/fschaefer/Stately.js#examples) as a style guide. ```javascript -export const door = Stately.machine({ +export const toggleMachine = Stately.machine({ inactive: { toggle: "active", }, @@ -104,6 +157,113 @@ export const door = Stately.machine({   +### `nanostate` toggle machine, 8 lines + +Robot did not have a toggle example. I made this, following [this unrelated +machine](https://github.com/choojs/nanostate/blob/master/README.md) as a style +guide. + +```javascript +export const toggleMachine = nanostate("inactive", { + inactive: { + toggle: "active", + }, + active: { + toggle: "inactive", + }, +}); +``` + +  + +### (created) `robot` toggle machine, 17 lines + +Robot did not have a toggle example. I made this, following [this unrelated +machine](https://thisrobot.life/api/action.html) as a style guide. + +```javascript +const toggleMachine = createMachine( + { + inactive: state( + transition( + "toggle", + "active" + ) + ), + active: state( + transition( + "toggle", + "inactive" + ) + ), + }, + () => true +); +``` + +  + +### `faste` toggle machine, 4 lines + +Taken from [the readme](https://www.npmjs.com/package/faste#using-different-handlers-in-different-states). +Renamed, bound, and exported the machine result; changed the labels. + +```javascript +onClick = () => this.setState( state => ({ enabled: !state.enabled})); + +export const toggleMachine = faste() + .on('toggle', 'inactive', ({transitTo}) => transitTo('enabled')) + .on('toggle', 'active', ({transitTo}) => transitTo('disabled')) +``` + +  + +### `state-machine` toggle machine, 5 lines + +No toggle machine was available; wrote from scratch and used [the docs](https://github.com/davestewart/javascript-state-machine/blob/d390627b384b30605b5ee90a70bae713e8b09002/docs/main/usage.md) +for usage guidelines. + +```javascript +var toggleMachine = new StateMachine({ + transitions: [ + 'toggle : inactive > active > inactive' + ] +}); +``` + +  + +### `machina` toggle machine, 20 lines + +No toggle machine example was available; wrote from scratch and used the +`pedestrianSignal` example [in their landing page](http://machina-js.org/) +for usage guidelines. + +```javascript +export const matter = new machina.Fsm({ + initialState: "inactive", + states: { + uninitialized: { + "*": function () { + this.deferUntilTransition(); + this.transition("inactive"); + }, + }, + inactive: { + _toggle: "active", + }, + active: { + _toggle: "inactive", + }, + }, + toggle: function () { + this.handle("_toggle"); + }, +}); +``` + +  +     @@ -116,6 +276,19 @@ whenever the red state is entered. Shows the basics, as well as putting a hook on a state (or a node in some systems' lingo.) +| lib | length | +| ---- | ---- | +| jssm | 2 | +| state-machine | 8 | +| finity | 10 | +| stately | 18 | +| nanostate | 12 | +| javascript-state-machine | 13 | +| faste | 14 | +| robot | 24 | +| machina | 26 | +| xstate | 36 | +   ### `jssm` traffic light, 2 lines @@ -127,6 +300,133 @@ trafficLight.hook_global_action("next", () => console.log("Red light!"));   +### (created) `xstate` traffic light, 36 lines + +There's *most of* a traffic light between [their documentation here](https://xstate.js.org/docs/guides/machines.html#options) +and [also here](https://xstate.js.org/docs/guides/states.html#state-methods-and-properties), +and it seems to piece together into this: + +```javascript +export const trafficLight = createMachine( + { + initial: "green", + states: { + green: { + on: { + next: { + target: "yellow", + }, + }, + }, + yellow: { + on: { + next: { + target: "red", + }, + }, + }, + red: { + entry: "alertRed", + on: { + next: { + target: "green", + }, + }, + }, + }, + }, + { + actions: { + alertGreen: (context, event) => { + alert("Green!"); + }, + }, + } +); +```` + +  + +### (created) `finity` traffic light, 10 lines + +`finity` did not have a traffic light example. I made this, following [this +unrelated machine](https://github.com/nickuraltsev/finity/blob/master/examples/hierarchical/index.js) +as a style guide. + +Finity does not appear to support hooking specific transitions, but instead +offers a single global transition hook. + +I didn't format this with `prettier`, because `prettier` does a really bad job +with the chain `.state().on().transitionTo()`; the length doubles and this +becomes unreadable, and that isn't `finity`'s fault. + +```javascript +const matter = Finity + .configure() + .initialState('red') + .onEnter(() => console.log('Red light!')) + .on('next').transitionTo('green') + .state('green') + .on('next').transitionTo('yellow') + .state('yellow') + .on('next').transitionTo('red') + .start(); +``` + +  + +### (created) `stately` traffic light, 18 lines + +`stately` did not have a traffic light example. I made this, following [this +unrelated machine](https://github.com/fschaefer/Stately.js#examples) as a style +guide. + +```javascript +export const matter = Stately.machine({ + red: { + onEnter: () => console.log("Red light!"), + next: () => { + return this.green; + }, + }, + green: { + next: () => { + return this.yellow; + }, + }, + gas: { + next: () => { + return this.red; + }, + }, +}); +``` + +  + +### `javascript-state-machine` traffic light, 13 lines + +`javascript-state-machine` did not have a traffic light example. I made this, +from scratch. + +```javascript +export const matter = new StateMachine({ + init: "red", + transitions: [ + { name: "next", from: "red", to: "green" }, + { name: "next", from: "green", to: "yellow" }, + { name: "next", from: "yellow", to: "red" }, + ], + methods: { + onRed: function () { + console.log("Red light!"); + }, + }, +}); +``` + +  + ### `nanostate` traffic light, 12 lines Taken from [the readme](https://github.com/choojs/nanostate/blob/master/README.md): @@ -137,7 +437,7 @@ Reordered to start in red, instead of to start in green. Added a red light hook with `.on`. ```javascript -export const trafficLight = nanostate("green", { +export const trafficLight = nanostate("red", { red: { next: "green", }, @@ -154,23 +454,152 @@ trafficLight.on('red', () => console.log('Red light!'));   +### (created) `robot` traffic light, 24 lines + +Robot did not have a traffic light example. I made this, following [this +unrelated machine](https://thisrobot.life/api/action.html) as a style +guide. + +Robot does not appear to support hooks on nodes, so we've faked it with hooks +on transitions. + +```javascript +export const trafficLight = createMachine( + { + red: state( + transition( + "next", + "green" + ) + ), + green: state( + transition( + "next", + "yellow" + ) + ), + yellow: state( + transition( + "next", + "red", + action(() => console.log("Red light!")) + ) + ), + }, + () => true +); +``` + +  + +### `faste` traffic light, 14 lines + +Taken from [the readme](https://www.npmjs.com/package/faste#example). Only +change was to rename and export the variable. + +```javascript +export const trafficLight = faste() + .withPhases(["red", "yellow", "green"]) + .withTransitions({ + green: ["yellow"], + yellow: ["red"], + red: ["green"], + }) + .withMessages(["switch"]) + .on("switch", ["red"], ({ transitTo }) => transitTo("green")) + .on("switch", ["green"], ({ transitTo }) => transitTo("yellow")) + .on("switch", ["yellow"], ({ transitTo }) => { + console.log("Red light!"); + transitTo("red"); + }); +``` + +  + +### `state-machine` traffic light, 8 lines + +No traffic light was available; wrote from scratch and used [the docs](https://github.com/davestewart/javascript-state-machine/blob/d390627b384b30605b5ee90a70bae713e8b09002/docs/main/usage.md) +for usage guidelines. + +```javascript +export const trafficLight = new StateMachine({ + transitions: [ + 'next : red > green > yellow > red' + ], + handlers: { + 'red' : () => console.log('Red light!') + } +}); +``` + +  + +### `machina` traffic light, 26 lines + +Adapted from the `pedestrianSignal` example [in their landing page](http://machina-js.org/). + +```javascript +export const trafficLight = new machina.Fsm({ + initialState: "red", + states: { + uninitialized: { + "*": function () { + this.deferUntilTransition(); + this.transition("red"); + }, + }, + green: { + _next: "yellow", + }, + yellow: { + _next: "red", + }, + red: { + _next: "green", + _onEnter: function () { + console.log("Red light!"); + }, + }, + }, + next: function () { + this.handle("_next"); + }, +}); +``` + +  +     ## States of Matter -Three basic states of matter. Hook each transition with chatter on entry. +Three basic states of matter. Hook each of the four transitions with chatter on +follow. In addition to the basics, shows how to put a hook on a transition (or an action or an edge, in other machines' terminology.) +| lib | length | +| ---- | ---- | +| jssm | 5 | +| state-machine | 14 | +| nanostate | 15 ❌ | +| javascript-state-machine | 23 | +| stately | 24 | +| faste | 24 | +| finity | 28 | +| robot | 31 | +| xstate | 35 | +| machina | 36 | +   ### `jssm` states of matter, 5 lines ```javascript -export const trafficLight = sm`solid 'melt' <=> 'freeze' liquid 'vaporize' <=> 'condense' gas`; +export const matter = sm`solid 'melt' <=> 'freeze' liquid 'vaporize' <=> 'condense' gas`; trafficLight.hook_global_action('melt', () => console.log('I melted')); trafficLight.hook_global_action('freeze', () => console.log('I froze')); trafficLight.hook_global_action('vaporize', () => console.log('I vaporized')); @@ -179,12 +608,59 @@ trafficLight.hook_global_action('condense', () => console.log('I condensed'));   +### (created) `xstate` traffic light, 33 lines + +xstate did not have a states of matter example. I made this, following [this +unrelated machine](https://github.com/nickuraltsev/finity/blob/master/examples/hierarchical/index.js) +and [this one](https://xstate.js.org/docs/guides/states.html#state-methods-and-properties), +and [also this one](https://xstate.js.org/docs/guides/events.html#sending-events) as style guides. + +```javascript +export const matter = createMachine({ + initial: "solid", + states: { + solid: { + on: { + melt: { + target: "liquid", + actions: () => console.log("I melted"), + }, + }, + }, + liquid: { + on: { + freeze: { + target: "solid", + actions: () => console.log("I froze"), + }, + vaporize: { + target: "gas", + actions: () => console.log("I vaporized"), + }, + }, + }, + gas: { + on: { + condense: { + target: "liquid", + actions: () => console.log("I condensed"), + }, + }, + }, + }, +}); +```` + +  + ### `javascript-state-machine` states of matter, 23 lines -Exported and consted. +Used the example [found here](https://github.com/jakesgordon/javascript-state-machine#usage). + +Changed the variable name, exported, and consted. ```javascript -export const fsm = new StateMachine({ +export const matter = new StateMachine({ init: "solid", transitions: [ { name: "melt", from: "solid", to: "liquid" }, @@ -213,7 +689,7 @@ export const fsm = new StateMachine({ ### (created) `finity` states of matter, 28 lines -Finity did not have a states of matter example. I made this, following [this +`finity` did not have a states of matter example. I made this, following [this unrelated machine](https://github.com/nickuraltsev/finity/blob/master/examples/hierarchical/index.js) as a style guide. @@ -225,7 +701,7 @@ with the chain `.state().on().transitionTo()`; the length doubles and this becomes unreadable, and that isn't `finity`'s fault. ```javascript -const stateMachine = Finity +const matter = Finity .configure() .initialState('solid') .on('melt').transitionTo('liquid') @@ -259,12 +735,12 @@ const stateMachine = Finity ### (created) `stately` states of matter, 24 lines -Stately did not have a light switch example. I made this, following [this +`stately` did not have a states of matter example. I made this, following [this unrelated machine](https://github.com/fschaefer/Stately.js#examples) as a style guide. ```javascript -export const door = Stately.machine({ +export const matter = Stately.machine({ solid: { melt: () => { console.log("I melted"); @@ -289,3 +765,193 @@ export const door = Stately.machine({ }, }); ``` + +  + +### `nanostate` states of matter, 15 lines, ❌ cannot implement + +`nanostate` did not have a states of matter example. I made this, following +[this unrelated machine](https://github.com/choojs/nanostate/blob/master/README.md) +as a style guide. + +`nanostate` does not appear to support on-action hooks, and does not appear to +pass the previous state when calling its global enter hook. Therefore there is +no way to correctly implement the hooks leading to liquid - condense and melt - +because you can't tell whether they're coming from solid or gas. On these +grounds, `nanostate` cannot implement this machine correctly. + +```javascript +export const trafficLight = nanostate("solid", { + solid: { + melt: "liquid", + }, + liquid: { + freeze: "solid", + vaporize: "gas", + }, + gas: { + condense: "liquid", + }, +}); + +trafficLight.on("solid", () => console.log("I froze")); +trafficLight.on("gas", () => console.log("I vaporized")); + +trafficLight.on("liquid", () => + console.log("❌ FAIL: cannot tell if melt or condense") +); +``` + +  + +### (created) `robot` states of matter, 31 lines + +`robot` did not have a states of matter example. I made this, following [this +unrelated machine](https://thisrobot.life/api/action.html) as a style +guide. + +```javascript +const matter = createMachine( + { + solid: state( + transition( + "melt", + "liquid", + action(() => console.log("I melted")) + ) + ), + liquid: state( + transition( + "freeze", + "solid", + action(() => console.log("I froze")) + ), + transition( + "vaporize", + "gas", + action(() => console.log("I vaporized")) + ) + ), + gas: state( + transition( + "condense", + "liquid", + action(() => console.log("I condensed")) + ) + ), + }, + () => true +); +``` + +  + +### (created) `faste` states of matter, 24 lines + +`faste` did not have a states of matter example. I made this, following [this +unrelated machine](https://www.npmjs.com/package/faste#example) as a style +guide. + +```javascript +export const matter = faste() + .withPhases(["solid", "liquid", "gas"]) + .withTransitions({ + solid: ["liquid"], + liquid: ["solid", "gas"], + gas: ["liquid"], + }) + .withMessages(["melt", "freeze", "vaporize", "condense"]) + .on("melt", ["solid"], ({ transitTo }) => { + console.log("I melted"); + transitTo("liquid"); + }) + .on("freeze", ["liquid"], ({ transitTo }) => { + console.log("I froze"); + transitTo("solid"); + }) + .on("vaporize", ["liquid"], ({ transitTo }) => { + console.log("I vaporized"); + transitTo("gas"); + }) + .on("condense", ["gas"], ({ transitTo }) => { + console.log("I condensed"); + transitTo("liquid"); + }); +``` + +  + +### `state-machine` states of matter, 14 lines + +No states of matter example was available; wrote from scratch and used [the docs](https://github.com/davestewart/javascript-state-machine/blob/d390627b384b30605b5ee90a70bae713e8b09002/docs/main/usage.md) +for usage guidelines. + +```javascript +export const matter = new StateMachine({ + transitions: [ + "melt : solid > liquid", + "freeze : solid < liquid", + "vaporize : liquid > gas", + "condense : liquid < gas", + ], + handlers: { + "@melt": () => console.log("I melted"), + "@freeze": () => console.log("I froze"), + "@vaporize": () => console.log("I vaporized"), + "@condense": () => console.log("I condensed"), + }, +}); +``` + +  + +### `machina` states of matter, 36 lines, ❌ cannot implement + +No states of matter example was available; wrote from scratch and used the +`pedestrianSignal` example [in their landing page](http://machina-js.org/) +for usage guidelines. + +`machina` does not appear to support on-action hooks, and does not appear to +pass the previous state when calling its global enter hook. Therefore there is +no way to correctly implement the hooks leading to liquid - condense and melt - +because you can't tell whether they're coming from solid or gas. On these +grounds, `machina` cannot implement this machine correctly. + +```javascript +export const matter = new machina.Fsm({ + initialState: "solid", + states: { + uninitialized: { + "*": function () { + this.deferUntilTransition(); + this.transition("solid"); + }, + }, + solid: { + _melt: "liquid", + }, + liquid: { + _freeze: "solid", + _vaporize: "gas", + }, + gas: { + _condense: "liquid", + _onEnter: function () { + console.log("Red light!"); + }, + }, + }, + melt: function () { + this.handle("_melt"); + }, + freeze: function () { + this.handle("_freeze"); + }, + vaporize: function () { + this.handle("_vaporize"); + }, + condense: function () { + this.handle("_condense"); + }, +}); +``` diff --git a/src/site/typedoc-addon.css b/src/site/typedoc-addon.css index 15463f56..aaefaefa 100644 --- a/src/site/typedoc-addon.css +++ b/src/site/typedoc-addon.css @@ -22,5 +22,7 @@ html body .tsd-panel table tr th { background-color: #bdf; } #quicktab td { text-align: right; } #quicktab td+td { text-align: center; } -#quicktab th { text-align: right; } +#quicktab th { text-align: right; font-weight: normal; } #quicktab th+th { text-align: center; } + +fail { font-style: italic; color: #b00; } diff --git a/src/ts/version.ts b/src/ts/version.ts index 60bc80d8..2799898d 100644 --- a/src/ts/version.ts +++ b/src/ts/version.ts @@ -1,3 +1,3 @@ -const version: string = "5.67.0"; +const version: string = "5.67.2"; export { version }; diff --git a/typedoc-options.js b/typedoc-options.js index 4c637698..f971d2b0 100644 --- a/typedoc-options.js +++ b/typedoc-options.js @@ -11,7 +11,8 @@ module.exports = { source: './src/doc_md/', pages: [ { title: 'Tutorials', childrenDir: './', children: [ - { title: '☕ Getting started', source: 'GettingStarted.md' }, + { title: '☕ Quick Start', source: 'GettingStarted.md' }, + { title: 'What are state machines?', source: 'todo.md' }, { title: 'Language reference', source: 'todo.md' }, { title: 'API reference', source: 'todo.md' }, { title: 'Example machines', source: 'todo.md' }, @@ -20,7 +21,10 @@ module.exports = { { title: 'Bundling', source: 'todo.md' }, { title: 'Publishing', source: 'todo.md' } ] }, - { title: 'Shootout', source: 'Shootout.md' } + { title: 'Comparisons', childrenDir: './', children: [ + { title: 'Feature comparison', source: 'FeatureComparison.md' }, + { title: 'LOC Shootout', source: 'Shootout.md' } + ] }, ] }, { title: 'Tools', childrenDir: './', children: [ { title: 'Live Editor', source: 'live_editor.md' },