if(Elm.Automaton)throw"Module name collision, 'Automaton' is already defined.";
Elm.Automaton=function(){
try{if(!(Elm.PreludeinstanceofObject))throw'module not found';}catch(e){throw"Module 'Prelude' is missing. Compile with --make flag or load missing module in a separate JavaScript file.";}
varhiddenVars=[];
for(variinElm.Prelude){
if(hiddenVars.indexOf(i)>=0)continue;
this[i]=Elm.Prelude[i];}
functionAutomaton_0(a1){
return["Automaton",a1];};
varListen_9=["Listen"];
varIgnore_10=["Ignore"];
functionDragFrom_11(a1){
return["DragFrom",a1];};
varcount_8=init_6(0)(function(__75){
returnfunction(c_76){
return(1+c_76);};});
functionrun_1(Automaton$m0_15){
returnfunction(input_16){
returnfunction(){
switch(Automaton$m0_15[0]){
case"Automaton":
returnlift(fst)(foldp_(function(a_18){
returnfunction(Tuple2$bAutomaton$m_19){
returnfunction(){
switch(Tuple2$bAutomaton$m_19[0]){
case"Tuple2":
switch(Tuple2$bAutomaton$m_19[2][0]){
case"Automaton":
returnTuple2$bAutomaton$m_19[2][1](a_18);
}break;
}
throw"Non-exhaustive pattern match in case";}();};})(Automaton$m0_15[1])(input_16));
}
throw"Non-exhaustive pattern match in case";}();};};
functionstep_2(Automaton$m_22){
returnfunction(a_23){
returnfunction(){
switch(Automaton$m_22[0]){
case"Automaton":
returnAutomaton$m_22[1](a_23);
}
throw"Non-exhaustive pattern match in case";}();};};
}catch(e){Elm.main=function(){varmsg=('<br/><h2>Your browser may not be supported. Are you using a modern browser?</h2>'+'<br/><span style="color:grey">Runtime Error in Automaton module:<br/>'+e+'</span>');document.body.innerHTML=Text.monospace(msg);throwe;};}