From: Elijah Cohen Date: Thu, 14 Apr 2022 21:37:37 +0000 (-0500) Subject: 4-bit demos mostly X-Git-Url: https://git.eli173.com/?a=commitdiff_plain;h=aaa6e392ac6d7534aec4fa7586ee2eb5123ba4a6;p=hexmata 4-bit demos mostly --- diff --git a/demos.js b/demos.js index ae2a759..3cf730b 100644 --- a/demos.js +++ b/demos.js @@ -26,6 +26,13 @@ let mini_and = '[{"q":3,"r":0,"state":"off"},{"q":3,"r":1,"state":"off"},{"q":4, let memory = '[{"q":10,"r":31,"state":"off"},{"q":10,"r":30,"state":"off"},{"q":9,"r":32,"state":"off"},{"q":9,"r":33,"state":"off"},{"q":12,"r":35,"state":"off"},{"q":10,"r":29,"state":"off"},{"q":9,"r":30,"state":"off"},{"q":8,"r":31,"state":"off"},{"q":8,"r":32,"state":"off"},{"q":8,"r":34,"state":"off"},{"q":8,"r":35,"state":"off"},{"q":9,"r":35,"state":"off"},{"q":10,"r":35,"state":"off"},{"q":13,"r":35,"state":"off"},{"q":9,"r":29,"state":"off"},{"q":8,"r":30,"state":"off"},{"q":7,"r":36,"state":"off"},{"q":8,"r":36,"state":"off"},{"q":10,"r":36,"state":"off"},{"q":11,"r":36,"state":"off"},{"q":12,"r":37,"state":"off"},{"q":13,"r":36,"state":"off"},{"q":14,"r":35,"state":"off"},{"q":9,"r":28,"state":"off"},{"q":6,"r":32,"state":"off"},{"q":6,"r":33,"state":"off"},{"q":6,"r":34,"state":"off"},{"q":6,"r":36,"state":"off"},{"q":7,"r":37,"state":"off"},{"q":8,"r":37,"state":"off"},{"q":9,"r":37,"state":"off"},{"q":11,"r":37,"state":"off"},{"q":13,"r":37,"state":"off"},{"q":14,"r":36,"state":"off"},{"q":9,"r":27,"state":"off"},{"q":5,"r":31,"state":"off"},{"q":5,"r":32,"state":"off"},{"q":5,"r":34,"state":"off"},{"q":5,"r":35,"state":"off"},{"q":5,"r":36,"state":"off"},{"q":15,"r":36,"state":"off"},{"q":16,"r":35,"state":"off"},{"q":18,"r":33,"state":"off"},{"q":19,"r":32,"state":"off"},{"q":9,"r":26,"state":"off"},{"q":5,"r":30,"state":"off"},{"q":4,"r":31,"state":"off"},{"q":4,"r":33,"state":"off"},{"q":4,"r":34,"state":"off"},{"q":4,"r":35,"state":"off"},{"q":15,"r":37,"state":"off"},{"q":16,"r":36,"state":"off"},{"q":17,"r":35,"state":"off"},{"q":18,"r":34,"state":"off"},{"q":8,"r":26,"state":"off"},{"q":4,"r":30,"state":"off"},{"q":3,"r":31,"state":"off"},{"q":3,"r":32,"state":"off"},{"q":16,"r":37,"state":"off"},{"q":7,"r":26,"state":"off"},{"q":6,"r":27,"state":"off"},{"q":5,"r":28,"state":"off"},{"q":4,"r":29,"state":"off"},{"q":2,"r":33,"state":"off"},{"q":17,"r":37,"state":"off"},{"q":23,"r":20,"state":"off"},{"q":22,"r":20,"state":"off"},{"q":21,"r":20,"state":"off"},{"q":20,"r":20,"state":"off"},{"q":19,"r":20,"state":"off"},{"q":18,"r":20,"state":"off"},{"q":17,"r":20,"state":"off"},{"q":16,"r":20,"state":"off"},{"q":15,"r":20,"state":"off"},{"q":14,"r":20,"state":"off"},{"q":13,"r":20,"state":"off"},{"q":12,"r":20,"state":"off"},{"q":4,"r":28,"state":"off"},{"q":1,"r":34,"state":"off"},{"q":18,"r":37,"state":"off"},{"q":19,"r":36,"state":"off"},{"q":20,"r":35,"state":"off"},{"q":24,"r":20,"state":"off"},{"q":11,"r":20,"state":"off"},{"q":3,"r":28,"state":"off"},{"q":0,"r":31,"state":"off"},{"q":0,"r":32,"state":"off"},{"q":0,"r":33,"state":"off"},{"q":0,"r":35,"state":"off"},{"q":0,"r":36,"state":"off"},{"q":0,"r":37,"state":"off"},{"q":0,"r":38,"state":"off"},{"q":0,"r":39,"state":"off"},{"q":0,"r":40,"state":"off"},{"q":0,"r":41,"state":"off"},{"q":0,"r":42,"state":"off"},{"q":0,"r":43,"state":"off"},{"q":25,"r":20,"state":"off"},{"q":10,"r":20,"state":"off"},{"q":3,"r":27,"state":"off"},{"q":-1,"r":31,"state":"off"},{"q":-1,"r":32,"state":"off"},{"q":-1,"r":34,"state":"tail"},{"q":-1,"r":35,"state":"head"},{"q":0,"r":44,"state":"off"},{"q":26,"r":20,"state":"off"},{"q":9,"r":20,"state":"off"},{"q":3,"r":26,"state":"off"},{"q":1,"r":28,"state":"off"},{"q":0,"r":29,"state":"off"},{"q":-1,"r":30,"state":"off"},{"q":-2,"r":32,"state":"off"},{"q":-2,"r":33,"state":"off"},{"q":-2,"r":34,"state":"off"},{"q":-2,"r":36,"state":"tail"},{"q":-2,"r":37,"state":"off"},{"q":0,"r":45,"state":"off"},{"q":27,"r":20,"state":"off"},{"q":8,"r":20,"state":"off"},{"q":3,"r":25,"state":"off"},{"q":1,"r":27,"state":"off"},{"q":-3,"r":36,"state":"off"},{"q":-3,"r":38,"state":"off"},{"q":0,"r":46,"state":"off"},{"q":28,"r":20,"state":"head"},{"q":7,"r":20,"state":"off"},{"q":3,"r":24,"state":"off"},{"q":0,"r":27,"state":"off"},{"q":-4,"r":37,"state":"off"},{"q":-4,"r":38,"state":"off"},{"q":-4,"r":39,"state":"off"},{"q":6,"r":20,"state":"off"},{"q":2,"r":24,"state":"off"},{"q":1,"r":25,"state":"off"},{"q":0,"r":26,"state":"off"},{"q":-5,"r":38,"state":"off"},{"q":-5,"r":39,"state":"off"},{"q":5,"r":20,"state":"off"},{"q":-6,"r":40,"state":"off"},{"q":4,"r":20,"state":"off"},{"q":-7,"r":31,"state":"off"},{"q":-7,"r":32,"state":"off"},{"q":-7,"r":33,"state":"off"},{"q":-7,"r":34,"state":"off"},{"q":-7,"r":35,"state":"off"},{"q":-7,"r":36,"state":"off"},{"q":-7,"r":37,"state":"off"},{"q":-7,"r":38,"state":"off"},{"q":-7,"r":39,"state":"off"},{"q":-7,"r":40,"state":"off"},{"q":3,"r":20,"state":"off"},{"q":-7,"r":30,"state":"off"},{"q":2,"r":20,"state":"off"},{"q":-7,"r":29,"state":"off"},{"q":1,"r":20,"state":"off"},{"q":0,"r":21,"state":"off"},{"q":-1,"r":22,"state":"off"},{"q":-2,"r":23,"state":"off"},{"q":-3,"r":24,"state":"off"},{"q":-4,"r":25,"state":"off"},{"q":-5,"r":26,"state":"off"},{"q":-6,"r":27,"state":"off"},{"q":-7,"r":28,"state":"off"},{"q":17,"r":33,"state":"off"},{"q":17,"r":32,"state":"off"},{"q":17,"r":31,"state":"off"},{"q":18,"r":31,"state":"off"},{"q":18,"r":30,"state":"off"},{"q":19,"r":30,"state":"off"},{"q":19,"r":31,"state":"off"},{"q":18,"r":29,"state":"off"},{"q":18,"r":28,"state":"off"},{"q":18,"r":27,"state":"off"},{"q":18,"r":26,"state":"off"},{"q":18,"r":25,"state":"head"},{"q":21,"r":33,"state":"off"},{"q":21,"r":32,"state":"off"},{"q":21,"r":31,"state":"off"},{"q":21,"r":30,"state":"off"},{"q":21,"r":28,"state":"off"},{"q":21,"r":29,"state":"off"},{"q":21,"r":27,"state":"off"},{"q":21,"r":25,"state":"off"},{"q":47,"r":24,"state":"off"},{"q":46,"r":23,"state":"tail"},{"q":45,"r":25,"state":"off"},{"q":47,"r":25,"state":"off"},{"q":48,"r":23,"state":"off"},{"q":47,"r":22,"state":"head"},{"q":45,"r":23,"state":"off"},{"q":44,"r":25,"state":"off"},{"q":45,"r":26,"state":"off"},{"q":48,"r":25,"state":"off"},{"q":49,"r":23,"state":"off"},{"q":47,"r":21,"state":"off"},{"q":45,"r":22,"state":"off"},{"q":43,"r":26,"state":"off"},{"q":44,"r":27,"state":"off"},{"q":49,"r":25,"state":"off"},{"q":50,"r":23,"state":"off"},{"q":47,"r":20,"state":"off"},{"q":45,"r":21,"state":"off"},{"q":42,"r":27,"state":"off"},{"q":43,"r":28,"state":"off"},{"q":50,"r":25,"state":"off"},{"q":51,"r":23,"state":"off"},{"q":47,"r":19,"state":"off"},{"q":45,"r":20,"state":"off"},{"q":41,"r":28,"state":"off"},{"q":42,"r":29,"state":"off"},{"q":46,"r":30,"state":"tail"},{"q":47,"r":29,"state":"off"},{"q":48,"r":28,"state":"off"},{"q":49,"r":27,"state":"off"},{"q":50,"r":26,"state":"off"},{"q":52,"r":22,"state":"off"},{"q":52,"r":21,"state":"off"},{"q":52,"r":20,"state":"off"},{"q":52,"r":19,"state":"off"},{"q":52,"r":18,"state":"off"},{"q":51,"r":18,"state":"off"},{"q":50,"r":18,"state":"off"},{"q":49,"r":18,"state":"off"},{"q":48,"r":18,"state":"off"},{"q":44,"r":20,"state":"off"},{"q":43,"r":21,"state":"off"},{"q":42,"r":22,"state":"off"},{"q":41,"r":23,"state":"off"},{"q":40,"r":24,"state":"off"},{"q":40,"r":25,"state":"off"},{"q":40,"r":26,"state":"off"},{"q":40,"r":27,"state":"off"},{"q":40,"r":28,"state":"off"},{"q":42,"r":30,"state":"off"},{"q":43,"r":30,"state":"off"},{"q":44,"r":30,"state":"off"},{"q":45,"r":30,"state":"head"},{"q":46,"r":31,"state":"off"},{"q":46,"r":32,"state":"tail"},{"q":47,"r":31,"state":"tail"},{"q":48,"r":30,"state":"tail"},{"q":49,"r":29,"state":"tail"},{"q":51,"r":27,"state":"off"},{"q":52,"r":26,"state":"off"},{"q":53,"r":25,"state":"off"},{"q":54,"r":24,"state":"off"},{"q":54,"r":23,"state":"off"},{"q":54,"r":22,"state":"off"},{"q":54,"r":21,"state":"off"},{"q":54,"r":19,"state":"tail"},{"q":54,"r":18,"state":"tail"},{"q":54,"r":17,"state":"tail"},{"q":54,"r":16,"state":"tail"},{"q":53,"r":16,"state":"tail"},{"q":52,"r":16,"state":"tail"},{"q":51,"r":16,"state":"tail"},{"q":49,"r":16,"state":"off"},{"q":48,"r":16,"state":"off"},{"q":47,"r":16,"state":"off"},{"q":46,"r":16,"state":"off"},{"q":45,"r":17,"state":"off"},{"q":44,"r":18,"state":"off"},{"q":43,"r":19,"state":"off"},{"q":41,"r":21,"state":"tail"},{"q":40,"r":22,"state":"tail"},{"q":39,"r":23,"state":"tail"},{"q":38,"r":24,"state":"tail"},{"q":38,"r":25,"state":"tail"},{"q":38,"r":26,"state":"tail"},{"q":38,"r":27,"state":"tail"},{"q":38,"r":29,"state":"off"},{"q":38,"r":30,"state":"off"},{"q":38,"r":31,"state":"off"},{"q":38,"r":32,"state":"off"},{"q":39,"r":32,"state":"off"},{"q":40,"r":32,"state":"off"},{"q":41,"r":32,"state":"off"},{"q":43,"r":32,"state":"tail"},{"q":44,"r":32,"state":"tail"},{"q":45,"r":32,"state":"tail"},{"q":22,"r":33,"state":"off"},{"q":22,"r":24,"state":"off"},{"q":23,"r":24,"state":"off"},{"q":23,"r":26,"state":"off"},{"q":23,"r":27,"state":"off"},{"q":23,"r":29,"state":"off"},{"q":23,"r":31,"state":"off"},{"q":23,"r":30,"state":"off"},{"q":23,"r":33,"state":"off"},{"q":24,"r":33,"state":"off"},{"q":25,"r":32,"state":"off"},{"q":24,"r":31,"state":"tail"},{"q":24,"r":24,"state":"off"},{"q":24,"r":25,"state":"off"},{"q":20,"r":27,"state":"off"},{"q":20,"r":26,"state":"off"},{"q":24,"r":27,"state":"off"},{"q":24,"r":28,"state":"off"},{"q":25,"r":31,"state":"head"},{"q":20,"r":34,"state":"off"},{"q":-1,"r":41,"state":"off"},{"q":-2,"r":42,"state":"off"},{"q":-3,"r":43,"state":"off"},{"q":-3,"r":42,"state":"off"},{"q":-2,"r":43,"state":"off"},{"q":-3,"r":44,"state":"off"},{"q":-4,"r":45,"state":"off"},{"q":-4,"r":43,"state":"off"},{"q":-5,"r":44,"state":"off"},{"q":-5,"r":45,"state":"off"},{"q":-6,"r":46,"state":"off"},{"q":-6,"r":47,"state":"off"},{"q":-7,"r":47,"state":"off"},{"q":-7,"r":48,"state":"off"},{"q":-8,"r":47,"state":"off"},{"q":-8,"r":48,"state":"off"},{"q":-9,"r":47,"state":"off"},{"q":-9,"r":46,"state":"off"},{"q":-10,"r":46,"state":"off"},{"q":-11,"r":46,"state":"off"},{"q":-12,"r":48,"state":"off"},{"q":-11,"r":48,"state":"off"},{"q":-10,"r":48,"state":"off"},{"q":-11,"r":47,"state":"off"},{"q":-12,"r":47,"state":"off"},{"q":-13,"r":47,"state":"off"},{"q":-14,"r":47,"state":"off"},{"q":-14,"r":46,"state":"off"},{"q":-14,"r":45,"state":"off"},{"q":-14,"r":44,"state":"off"},{"q":-14,"r":43,"state":"off"},{"q":-14,"r":42,"state":"off"},{"q":-14,"r":48,"state":"off"},{"q":-14,"r":50,"state":"off"},{"q":-14,"r":51,"state":"off"},{"q":-14,"r":49,"state":"off"},{"q":-14,"r":52,"state":"off"},{"q":-14,"r":53,"state":"off"},{"q":-7,"r":49,"state":"off"},{"q":-6,"r":49,"state":"off"},{"q":-8,"r":50,"state":"off"},{"q":-8,"r":51,"state":"off"},{"q":-8,"r":52,"state":"off"},{"q":-7,"r":51,"state":"off"},{"q":-6,"r":51,"state":"off"},{"q":-6,"r":50,"state":"off"},{"q":-7,"r":52,"state":"off"},{"q":-7,"r":53,"state":"off"},{"q":-9,"r":53,"state":"off"},{"q":-10,"r":53,"state":"off"},{"q":-10,"r":52,"state":"off"},{"q":-11,"r":54,"state":"off"},{"q":-12,"r":54,"state":"off"},{"q":-11,"r":52,"state":"off"},{"q":-13,"r":54,"state":"off"},{"q":-12,"r":52,"state":"off"},{"q":-13,"r":53,"state":"off"},{"q":-12,"r":53,"state":"off"},{"q":-5,"r":51,"state":"off"},{"q":-4,"r":50,"state":"off"},{"q":-4,"r":49,"state":"off"},{"q":-3,"r":50,"state":"off"},{"q":-2,"r":49,"state":"off"},{"q":-1,"r":48,"state":"off"},{"q":-3,"r":48,"state":"off"},{"q":-2,"r":47,"state":"off"},{"q":-1,"r":47,"state":"off"},{"q":-2,"r":48,"state":"off"},{"q":-14,"r":41,"state":"head"}]' +reg4b = '[{"q":17,"r":7,"state":"off"},{"q":16,"r":7,"state":"off"},{"q":15,"r":8,"state":"off"},{"q":15,"r":9,"state":"off"},{"q":18,"r":7,"state":"off"},{"q":15,"r":7,"state":"off"},{"q":14,"r":8,"state":"off"},{"q":15,"r":10,"state":"off"},{"q":16,"r":11,"state":"off"},{"q":19,"r":8,"state":"off"},{"q":19,"r":7,"state":"off"},{"q":15,"r":6,"state":"off"},{"q":13,"r":9,"state":"off"},{"q":15,"r":11,"state":"off"},{"q":16,"r":12,"state":"off"},{"q":20,"r":8,"state":"off"},{"q":20,"r":7,"state":"off"},{"q":20,"r":6,"state":"off"},{"q":18,"r":4,"state":"off"},{"q":17,"r":4,"state":"off"},{"q":15,"r":5,"state":"off"},{"q":12,"r":10,"state":"off"},{"q":14,"r":12,"state":"off"},{"q":15,"r":12,"state":"off"},{"q":16,"r":13,"state":"off"},{"q":21,"r":8,"state":"off"},{"q":21,"r":6,"state":"off"},{"q":20,"r":3,"state":"off"},{"q":19,"r":3,"state":"off"},{"q":17,"r":3,"state":"off"},{"q":11,"r":11,"state":"off"},{"q":11,"r":12,"state":"off"},{"q":14,"r":13,"state":"off"},{"q":22,"r":7,"state":"off"},{"q":22,"r":6,"state":"off"},{"q":21,"r":2,"state":"off"},{"q":20,"r":2,"state":"off"},{"q":19,"r":2,"state":"off"},{"q":15,"r":3,"state":"off"},{"q":10,"r":11,"state":"off"},{"q":10,"r":12,"state":"off"},{"q":10,"r":13,"state":"off"},{"q":14,"r":14,"state":"off"},{"q":15,"r":14,"state":"off"},{"q":16,"r":15,"state":"off"},{"q":23,"r":8,"state":"off"},{"q":23,"r":7,"state":"off"},{"q":22,"r":1,"state":"off"},{"q":20,"r":1,"state":"off"},{"q":16,"r":1,"state":"off"},{"q":9,"r":12,"state":"off"},{"q":9,"r":14,"state":"off"},{"q":15,"r":15,"state":"off"},{"q":16,"r":16,"state":"off"},{"q":18,"r":14,"state":"off"},{"q":19,"r":13,"state":"off"},{"q":20,"r":12,"state":"off"},{"q":24,"r":8,"state":"off"},{"q":24,"r":6,"state":"off"},{"q":22,"r":0,"state":"off"},{"q":21,"r":0,"state":"off"},{"q":8,"r":13,"state":"off"},{"q":8,"r":14,"state":"off"},{"q":14,"r":16,"state":"off"},{"q":16,"r":17,"state":"off"},{"q":17,"r":16,"state":"off"},{"q":18,"r":15,"state":"off"},{"q":20,"r":13,"state":"off"},{"q":21,"r":12,"state":"off"},{"q":22,"r":11,"state":"off"},{"q":23,"r":10,"state":"off"},{"q":25,"r":8,"state":"off"},{"q":25,"r":7,"state":"off"},{"q":25,"r":6,"state":"off"},{"q":25,"r":4,"state":"off"},{"q":25,"r":3,"state":"off"},{"q":25,"r":2,"state":"off"},{"q":24,"r":-1,"state":"off"},{"q":23,"r":-1,"state":"off"},{"q":7,"r":15,"state":"off"},{"q":7,"r":16,"state":"off"},{"q":8,"r":17,"state":"off"},{"q":9,"r":17,"state":"off"},{"q":10,"r":17,"state":"off"},{"q":14,"r":17,"state":"off"},{"q":15,"r":17,"state":"off"},{"q":19,"r":15,"state":"off"},{"q":20,"r":14,"state":"off"},{"q":21,"r":13,"state":"off"},{"q":24,"r":10,"state":"off"},{"q":26,"r":7,"state":"off"},{"q":26,"r":6,"state":"off"},{"q":26,"r":5,"state":"off"},{"q":26,"r":4,"state":"off"},{"q":26,"r":2,"state":"off"},{"q":26,"r":1,"state":"off"},{"q":26,"r":0,"state":"off"},{"q":26,"r":-1,"state":"off"},{"q":25,"r":-2,"state":"off"},{"q":23,"r":-2,"state":"off"},{"q":6,"r":15,"state":"off"},{"q":6,"r":17,"state":"off"},{"q":6,"r":18,"state":"off"},{"q":7,"r":18,"state":"off"},{"q":9,"r":18,"state":"off"},{"q":10,"r":18,"state":"off"},{"q":11,"r":18,"state":"off"},{"q":12,"r":18,"state":"off"},{"q":14,"r":18,"state":"off"},{"q":15,"r":18,"state":"off"},{"q":25,"r":10,"state":"off"},{"q":27,"r":8,"state":"off"},{"q":27,"r":7,"state":"off"},{"q":27,"r":3,"state":"off"},{"q":27,"r":2,"state":"off"},{"q":27,"r":1,"state":"off"},{"q":27,"r":-2,"state":"off"},{"q":26,"r":-3,"state":"off"},{"q":25,"r":-3,"state":"off"},{"q":24,"r":-3,"state":"off"},{"q":22,"r":-3,"state":"off"},{"q":21,"r":-3,"state":"off"},{"q":20,"r":-3,"state":"off"},{"q":5,"r":16,"state":"off"},{"q":5,"r":17,"state":"off"},{"q":5,"r":18,"state":"off"},{"q":7,"r":19,"state":"off"},{"q":8,"r":19,"state":"off"},{"q":9,"r":19,"state":"off"},{"q":12,"r":19,"state":"off"},{"q":15,"r":19,"state":"off"},{"q":26,"r":10,"state":"off"},{"q":27,"r":9,"state":"off"},{"q":28,"r":-3,"state":"off"},{"q":26,"r":-4,"state":"off"},{"q":25,"r":-4,"state":"off"},{"q":24,"r":-4,"state":"off"},{"q":23,"r":-4,"state":"off"},{"q":21,"r":-4,"state":"off"},{"q":20,"r":-4,"state":"off"},{"q":19,"r":-4,"state":"off"},{"q":4,"r":17,"state":"off"},{"q":4,"r":18,"state":"off"},{"q":12,"r":20,"state":"off"},{"q":14,"r":20,"state":"off"},{"q":29,"r":-4,"state":"off"},{"q":29,"r":-5,"state":"off"},{"q":28,"r":-5,"state":"off"},{"q":27,"r":-5,"state":"off"},{"q":23,"r":-5,"state":"off"},{"q":22,"r":-5,"state":"off"},{"q":21,"r":-5,"state":"off"},{"q":3,"r":19,"state":"off"},{"q":12,"r":21,"state":"off"},{"q":13,"r":21,"state":"off"},{"q":19,"r":-5,"state":"off"},{"q":21,"r":-7,"state":"head"},{"q":22,"r":-7,"state":"tail"},{"q":23,"r":-7,"state":"off"},{"q":24,"r":-7,"state":"off"},{"q":25,"r":-7,"state":"off"},{"q":27,"r":-7,"state":"off"},{"q":28,"r":-7,"state":"off"},{"q":29,"r":-7,"state":"off"},{"q":31,"r":-7,"state":"off"},{"q":30,"r":-7,"state":"off"},{"q":31,"r":-6,"state":"off"},{"q":31,"r":-5,"state":"off"},{"q":31,"r":-4,"state":"off"},{"q":30,"r":-3,"state":"off"},{"q":21,"r":-8,"state":"off"},{"q":22,"r":-9,"state":"off"},{"q":23,"r":-9,"state":"off"},{"q":25,"r":-9,"state":"off"},{"q":26,"r":-9,"state":"off"},{"q":24,"r":-9,"state":"off"},{"q":27,"r":-9,"state":"off"},{"q":28,"r":-9,"state":"off"},{"q":29,"r":-9,"state":"off"},{"q":30,"r":-9,"state":"off"},{"q":31,"r":-9,"state":"off"},{"q":32,"r":-9,"state":"off"},{"q":33,"r":-9,"state":"off"},{"q":33,"r":-8,"state":"off"},{"q":33,"r":-7,"state":"tail"},{"q":33,"r":-6,"state":"head"},{"q":33,"r":-4,"state":"off"},{"q":33,"r":-5,"state":"off"},{"q":29,"r":-2,"state":"off"},{"q":29,"r":-1,"state":"head"},{"q":29,"r":0,"state":"tail"},{"q":29,"r":1,"state":"off"},{"q":29,"r":2,"state":"off"},{"q":29,"r":3,"state":"off"},{"q":29,"r":5,"state":"off"},{"q":29,"r":6,"state":"off"},{"q":29,"r":7,"state":"off"},{"q":29,"r":8,"state":"off"},{"q":29,"r":9,"state":"off"},{"q":31,"r":9,"state":"off"},{"q":30,"r":10,"state":"off"},{"q":1,"r":23,"state":"off"},{"q":18,"r":1,"state":"off"},{"q":17,"r":2,"state":"off"},{"q":15,"r":4,"state":"off"},{"q":15,"r":2,"state":"tail"},{"q":17,"r":0,"state":"off"},{"q":17,"r":-9,"state":"head"},{"q":14,"r":2,"state":"off"},{"q":14,"r":1,"state":"off"},{"q":13,"r":3,"state":"off"},{"q":13,"r":2,"state":"off"},{"q":12,"r":3,"state":"off"},{"q":13,"r":1,"state":"off"},{"q":18,"r":0,"state":"off"},{"q":17,"r":-8,"state":"off"},{"q":16,"r":-6,"state":"off"},{"q":2,"r":11,"state":"off"},{"q":3,"r":20,"state":"off"},{"q":3,"r":21,"state":"off"},{"q":2,"r":22,"state":"off"},{"q":2,"r":15,"state":"off"},{"q":3,"r":16,"state":"off"},{"q":4,"r":15,"state":"off"},{"q":5,"r":14,"state":"off"},{"q":6,"r":13,"state":"off"},{"q":7,"r":12,"state":"off"},{"q":8,"r":11,"state":"off"},{"q":9,"r":10,"state":"off"},{"q":10,"r":9,"state":"off"},{"q":11,"r":9,"state":"off"},{"q":12,"r":8,"state":"off"},{"q":13,"r":7,"state":"off"},{"q":13,"r":6,"state":"off"},{"q":13,"r":5,"state":"off"},{"q":12,"r":5,"state":"off"},{"q":3,"r":14,"state":"off"},{"q":4,"r":13,"state":"off"},{"q":5,"r":12,"state":"off"},{"q":6,"r":11,"state":"off"},{"q":7,"r":10,"state":"off"},{"q":8,"r":9,"state":"off"},{"q":9,"r":8,"state":"off"},{"q":8,"r":7,"state":"off"},{"q":7,"r":8,"state":"off"},{"q":6,"r":9,"state":"off"},{"q":5,"r":10,"state":"off"},{"q":4,"r":11,"state":"off"},{"q":3,"r":12,"state":"off"},{"q":3,"r":10,"state":"off"},{"q":4,"r":9,"state":"off"},{"q":5,"r":8,"state":"off"},{"q":6,"r":7,"state":"off"},{"q":7,"r":6,"state":"off"},{"q":8,"r":5,"state":"off"},{"q":9,"r":6,"state":"off"},{"q":10,"r":7,"state":"off"},{"q":9,"r":5,"state":"off"},{"q":2,"r":13,"state":"off"},{"q":11,"r":6,"state":"off"},{"q":1,"r":14,"state":"off"},{"q":2,"r":17,"state":"head"},{"q":2,"r":18,"state":"tail"},{"q":1,"r":19,"state":"off"},{"q":0,"r":19,"state":"off"},{"q":-1,"r":19,"state":"off"},{"q":-1,"r":18,"state":"off"},{"q":1,"r":15,"state":"off"},{"q":-1,"r":17,"state":"off"},{"q":-1,"r":16,"state":"off"},{"q":-1,"r":15,"state":"off"},{"q":-1,"r":14,"state":"off"},{"q":-1,"r":13,"state":"off"},{"q":1,"r":11,"state":"off"},{"q":1,"r":10,"state":"off"},{"q":2,"r":9,"state":"off"},{"q":3,"r":8,"state":"off"},{"q":3,"r":7,"state":"off"},{"q":2,"r":7,"state":"off"},{"q":1,"r":8,"state":"off"},{"q":0,"r":9,"state":"off"},{"q":-1,"r":10,"state":"off"},{"q":-1,"r":11,"state":"off"},{"q":-1,"r":12,"state":"off"},{"q":-10,"r":15,"state":"off"},{"q":-9,"r":13,"state":"off"},{"q":-10,"r":13,"state":"off"},{"q":-11,"r":15,"state":"off"},{"q":-9,"r":15,"state":"off"},{"q":-8,"r":13,"state":"off"},{"q":-11,"r":13,"state":"tail"},{"q":-12,"r":14,"state":"head"},{"q":-12,"r":15,"state":"off"},{"q":-8,"r":15,"state":"off"},{"q":-7,"r":13,"state":"off"},{"q":-7,"r":15,"state":"off"},{"q":-6,"r":13,"state":"off"},{"q":-6,"r":15,"state":"off"},{"q":-5,"r":14,"state":"off"},{"q":-5,"r":13,"state":"off"},{"q":10,"r":4,"state":"off"},{"q":14,"r":-4,"state":"off"},{"q":14,"r":-6,"state":"off"},{"q":12,"r":-2,"state":"off"},{"q":33,"r":-3,"state":"off"},{"q":32,"r":8,"state":"off"},{"q":29,"r":10,"state":"off"},{"q":34,"r":6,"state":"tail"},{"q":34,"r":-3,"state":"off"},{"q":35,"r":5,"state":"off"},{"q":35,"r":3,"state":"off"},{"q":35,"r":2,"state":"off"},{"q":35,"r":1,"state":"off"},{"q":35,"r":-1,"state":"off"},{"q":35,"r":0,"state":"off"},{"q":35,"r":-2,"state":"off"},{"q":35,"r":-3,"state":"off"},{"q":29,"r":4,"state":"off"},{"q":36,"r":4,"state":"off"},{"q":36,"r":3,"state":"off"},{"q":37,"r":3,"state":"off"},{"q":37,"r":4,"state":"off"},{"q":38,"r":3,"state":"off"},{"q":39,"r":3,"state":"off"},{"q":41,"r":3,"state":"off"},{"q":42,"r":3,"state":"off"},{"q":43,"r":3,"state":"off"},{"q":44,"r":3,"state":"off"},{"q":46,"r":3,"state":"off"},{"q":45,"r":3,"state":"off"},{"q":39,"r":4,"state":"off"},{"q":40,"r":4,"state":"off"},{"q":40,"r":2,"state":"off"},{"q":41,"r":2,"state":"off"},{"q":41,"r":4,"state":"off"},{"q":42,"r":2,"state":"off"},{"q":48,"r":3,"state":"off"},{"q":43,"r":4,"state":"off"},{"q":44,"r":2,"state":"off"},{"q":45,"r":1,"state":"off"},{"q":46,"r":1,"state":"off"},{"q":45,"r":0,"state":"off"},{"q":47,"r":0,"state":"off"},{"q":46,"r":-1,"state":"off"},{"q":47,"r":-1,"state":"off"},{"q":47,"r":-2,"state":"off"},{"q":48,"r":-1,"state":"off"},{"q":48,"r":-2,"state":"off"},{"q":47,"r":2,"state":"off"},{"q":46,"r":4,"state":"off"},{"q":48,"r":2,"state":"off"},{"q":47,"r":4,"state":"off"},{"q":48,"r":4,"state":"off"},{"q":49,"r":2,"state":"off"},{"q":49,"r":3,"state":"off"},{"q":49,"r":-3,"state":"off"},{"q":50,"r":3,"state":"off"},{"q":42,"r":5,"state":"off"},{"q":43,"r":5,"state":"off"},{"q":43,"r":6,"state":"off"},{"q":44,"r":6,"state":"off"},{"q":42,"r":8,"state":"off"},{"q":42,"r":7,"state":"off"},{"q":44,"r":7,"state":"off"},{"q":43,"r":8,"state":"off"},{"q":42,"r":9,"state":"off"},{"q":44,"r":8,"state":"off"},{"q":43,"r":10,"state":"off"},{"q":43,"r":9,"state":"off"},{"q":41,"r":6,"state":"off"},{"q":40,"r":7,"state":"off"},{"q":40,"r":8,"state":"off"},{"q":39,"r":7,"state":"off"},{"q":38,"r":8,"state":"off"},{"q":38,"r":9,"state":"off"},{"q":37,"r":9,"state":"off"},{"q":37,"r":10,"state":"off"},{"q":38,"r":10,"state":"off"},{"q":39,"r":9,"state":"off"},{"q":36,"r":11,"state":"off"},{"q":42,"r":11,"state":"off"},{"q":41,"r":12,"state":"off"},{"q":40,"r":12,"state":"off"},{"q":40,"r":11,"state":"off"},{"q":39,"r":11,"state":"off"},{"q":38,"r":12,"state":"off"},{"q":37,"r":12,"state":"off"},{"q":36,"r":13,"state":"off"},{"q":35,"r":14,"state":"off"},{"q":34,"r":15,"state":"off"},{"q":33,"r":15,"state":"off"},{"q":33,"r":14,"state":"off"},{"q":34,"r":13,"state":"off"},{"q":35,"r":12,"state":"off"},{"q":44,"r":10,"state":"off"},{"q":44,"r":11,"state":"off"},{"q":44,"r":12,"state":"off"},{"q":44,"r":13,"state":"off"},{"q":45,"r":13,"state":"off"},{"q":46,"r":12,"state":"off"},{"q":46,"r":11,"state":"off"},{"q":46,"r":10,"state":"off"},{"q":46,"r":9,"state":"off"},{"q":47,"r":8,"state":"off"},{"q":47,"r":7,"state":"off"},{"q":48,"r":6,"state":"off"},{"q":49,"r":6,"state":"off"},{"q":50,"r":5,"state":"off"},{"q":50,"r":4,"state":"off"},{"q":51,"r":2,"state":"off"},{"q":51,"r":1,"state":"off"},{"q":51,"r":0,"state":"off"},{"q":51,"r":-1,"state":"off"},{"q":51,"r":-2,"state":"off"},{"q":51,"r":-3,"state":"off"},{"q":49,"r":-4,"state":"off"},{"q":50,"r":-5,"state":"off"},{"q":48,"r":-4,"state":"off"},{"q":47,"r":-4,"state":"off"},{"q":52,"r":-4,"state":"off"},{"q":52,"r":-5,"state":"off"},{"q":52,"r":-6,"state":"off"},{"q":52,"r":-7,"state":"off"},{"q":52,"r":-8,"state":"off"},{"q":51,"r":-8,"state":"off"},{"q":50,"r":-6,"state":"off"},{"q":50,"r":-7,"state":"off"},{"q":30,"r":17,"state":"off"},{"q":30,"r":16,"state":"off"},{"q":30,"r":15,"state":"off"},{"q":30,"r":14,"state":"off"},{"q":30,"r":13,"state":"off"},{"q":30,"r":11,"state":"off"},{"q":31,"r":11,"state":"off"},{"q":29,"r":12,"state":"off"},{"q":31,"r":12,"state":"off"},{"q":31,"r":13,"state":"off"},{"q":29,"r":13,"state":"off"},{"q":29,"r":14,"state":"off"},{"q":45,"r":15,"state":"off"},{"q":46,"r":14,"state":"off"},{"q":44,"r":16,"state":"off"},{"q":42,"r":17,"state":"off"},{"q":43,"r":17,"state":"off"},{"q":31,"r":17,"state":"off"},{"q":32,"r":17,"state":"off"},{"q":33,"r":17,"state":"off"},{"q":34,"r":17,"state":"off"},{"q":35,"r":17,"state":"off"},{"q":37,"r":17,"state":"off"},{"q":38,"r":17,"state":"off"},{"q":41,"r":17,"state":"off"},{"q":40,"r":17,"state":"off"},{"q":39,"r":17,"state":"off"},{"q":36,"r":17,"state":"off"},{"q":52,"r":3,"state":"off"},{"q":54,"r":3,"state":"off"},{"q":56,"r":3,"state":"off"},{"q":56,"r":4,"state":"off"},{"q":47,"r":13,"state":"off"},{"q":48,"r":12,"state":"off"},{"q":49,"r":11,"state":"off"},{"q":50,"r":10,"state":"off"},{"q":54,"r":6,"state":"off"},{"q":55,"r":5,"state":"off"},{"q":52,"r":8,"state":"off"},{"q":53,"r":7,"state":"off"},{"q":51,"r":9,"state":"off"},{"q":55,"r":2,"state":"tail"},{"q":56,"r":2,"state":"head"},{"q":56,"r":-2,"state":"off"},{"q":54,"r":4,"state":"off"},{"q":53,"r":5,"state":"off"},{"q":52,"r":5,"state":"off"},{"q":52,"r":4,"state":"off"},{"q":53,"r":2,"state":"off"},{"q":54,"r":1,"state":"off"},{"q":55,"r":0,"state":"off"},{"q":56,"r":-4,"state":"off"},{"q":56,"r":0,"state":"off"},{"q":57,"r":0,"state":"off"},{"q":58,"r":0,"state":"off"},{"q":58,"r":1,"state":"off"},{"q":59,"r":1,"state":"off"},{"q":60,"r":0,"state":"head"},{"q":60,"r":-1,"state":"tail"},{"q":60,"r":-2,"state":"off"},{"q":59,"r":-2,"state":"off"},{"q":58,"r":-2,"state":"off"},{"q":57,"r":-2,"state":"off"},{"q":55,"r":-2,"state":"off"},{"q":54,"r":-2,"state":"off"},{"q":54,"r":-3,"state":"off"},{"q":55,"r":-4,"state":"off"},{"q":57,"r":-4,"state":"off"},{"q":58,"r":-4,"state":"off"},{"q":59,"r":-4,"state":"off"},{"q":60,"r":-5,"state":"off"},{"q":60,"r":-6,"state":"head"},{"q":59,"r":-6,"state":"tail"},{"q":58,"r":-6,"state":"off"},{"q":57,"r":-6,"state":"off"},{"q":56,"r":-6,"state":"off"},{"q":55,"r":-6,"state":"off"},{"q":54,"r":-6,"state":"off"},{"q":54,"r":-7,"state":"off"},{"q":55,"r":-8,"state":"off"},{"q":57,"r":-8,"state":"off"},{"q":56,"r":-8,"state":"off"},{"q":58,"r":-8,"state":"off"},{"q":59,"r":-10,"state":"off"},{"q":59,"r":-8,"state":"off"},{"q":60,"r":-9,"state":"off"},{"q":60,"r":-10,"state":"off"},{"q":46,"r":-3,"state":"off"},{"q":45,"r":-2,"state":"off"},{"q":44,"r":-1,"state":"off"},{"q":43,"r":0,"state":"off"},{"q":42,"r":0,"state":"off"},{"q":41,"r":0,"state":"off"},{"q":40,"r":0,"state":"off"},{"q":40,"r":-1,"state":"off"},{"q":40,"r":-3,"state":"off"},{"q":40,"r":-2,"state":"off"},{"q":40,"r":-4,"state":"head"},{"q":35,"r":6,"state":"tail"},{"q":34,"r":5,"state":"tail"},{"q":34,"r":7,"state":"head"},{"q":33,"r":8,"state":"off"},{"q":32,"r":7,"state":"off"},{"q":33,"r":6,"state":"head"},{"q":26,"r":-7,"state":"off"},{"q":20,"r":-6,"state":"off"},{"q":58,"r":-10,"state":"head"},{"q":11,"r":4,"state":"off"},{"q":12,"r":1,"state":"off"},{"q":11,"r":2,"state":"off"},{"q":12,"r":0,"state":"off"},{"q":11,"r":0,"state":"off"},{"q":10,"r":1,"state":"off"},{"q":10,"r":2,"state":"off"},{"q":9,"r":2,"state":"off"},{"q":9,"r":1,"state":"off"},{"q":10,"r":0,"state":"off"},{"q":8,"r":1,"state":"off"},{"q":8,"r":0,"state":"off"},{"q":9,"r":-1,"state":"off"},{"q":10,"r":-2,"state":"off"},{"q":11,"r":-2,"state":"off"},{"q":14,"r":-2,"state":"off"},{"q":13,"r":-2,"state":"off"},{"q":14,"r":-1,"state":"off"},{"q":15,"r":-1,"state":"off"},{"q":16,"r":-1,"state":"off"},{"q":17,"r":-2,"state":"off"},{"q":17,"r":-3,"state":"off"},{"q":16,"r":-3,"state":"off"},{"q":16,"r":-4,"state":"off"},{"q":15,"r":-4,"state":"off"},{"q":13,"r":-4,"state":"off"},{"q":15,"r":-6,"state":"off"},{"q":17,"r":-6,"state":"off"},{"q":18,"r":-6,"state":"off"},{"q":19,"r":-7,"state":"off"},{"q":19,"r":-8,"state":"off"},{"q":18,"r":-8,"state":"off"},{"q":13,"r":-6,"state":"off"},{"q":12,"r":-4,"state":"off"},{"q":12,"r":-6,"state":"off"},{"q":11,"r":-5,"state":"off"},{"q":11,"r":-4,"state":"off"}]' + + +alt_mini_and = '[{"q":13,"r":3,"state":"off"},{"q":13,"r":4,"state":"off"},{"q":14,"r":2,"state":"off"},{"q":13,"r":2,"state":"off"},{"q":12,"r":3,"state":"off"},{"q":13,"r":5,"state":"off"},{"q":14,"r":4,"state":"off"},{"q":14,"r":1,"state":"off"},{"q":12,"r":2,"state":"off"},{"q":12,"r":5,"state":"off"},{"q":14,"r":5,"state":"off"},{"q":16,"r":3,"state":"off"},{"q":16,"r":2,"state":"off"},{"q":16,"r":1,"state":"off"},{"q":16,"r":0,"state":"off"},{"q":15,"r":0,"state":"off"},{"q":11,"r":2,"state":"off"},{"q":10,"r":3,"state":"off"},{"q":10,"r":4,"state":"off"},{"q":10,"r":5,"state":"off"},{"q":10,"r":6,"state":"off"},{"q":12,"r":6,"state":"off"},{"q":13,"r":7,"state":"off"},{"q":14,"r":6,"state":"off"},{"q":16,"r":4,"state":"off"},{"q":15,"r":-1,"state":"off"},{"q":14,"r":-1,"state":"off"},{"q":12,"r":0,"state":"off"},{"q":11,"r":1,"state":"off"},{"q":10,"r":7,"state":"off"},{"q":12,"r":7,"state":"off"},{"q":13,"r":8,"state":"off"},{"q":14,"r":7,"state":"off"},{"q":16,"r":5,"state":"off"},{"q":16,"r":-2,"state":"off"},{"q":14,"r":-2,"state":"off"},{"q":12,"r":-1,"state":"off"},{"q":10,"r":1,"state":"off"},{"q":10,"r":8,"state":"off"},{"q":12,"r":8,"state":"off"},{"q":13,"r":9,"state":"off"},{"q":15,"r":7,"state":"off"},{"q":16,"r":6,"state":"off"},{"q":16,"r":-3,"state":"off"},{"q":15,"r":-3,"state":"off"},{"q":14,"r":-3,"state":"off"},{"q":12,"r":-2,"state":"off"},{"q":11,"r":-1,"state":"off"},{"q":10,"r":0,"state":"off"},{"q":10,"r":9,"state":"off"},{"q":11,"r":9,"state":"off"},{"q":13,"r":10,"state":"off"},{"q":16,"r":-4,"state":"off"},{"q":15,"r":-4,"state":"off"},{"q":11,"r":-2,"state":"off"},{"q":10,"r":-1,"state":"off"},{"q":15,"r":-5,"state":"head"},{"q":11,"r":-3,"state":"head"}]' + +add4b = '[{"q":48,"r":-8,"state":"tail"},{"q":52,"r":-9,"state":"off"},{"q":52,"r":-10,"state":"head"},{"q":48,"r":-7,"state":"off"},{"q":49,"r":-8,"state":"off"},{"q":51,"r":-9,"state":"off"},{"q":52,"r":-8,"state":"off"},{"q":48,"r":-6,"state":"off"},{"q":48,"r":-5,"state":"off"},{"q":52,"r":-7,"state":"off"},{"q":52,"r":-6,"state":"off"},{"q":52,"r":-5,"state":"off"},{"q":48,"r":-4,"state":"off"},{"q":48,"r":-2,"state":"off"},{"q":48,"r":-3,"state":"off"},{"q":52,"r":-4,"state":"off"},{"q":51,"r":-4,"state":"off"},{"q":53,"r":-5,"state":"off"},{"q":53,"r":-4,"state":"off"},{"q":52,"r":-2,"state":"off"},{"q":53,"r":-3,"state":"off"},{"q":51,"r":-3,"state":"off"},{"q":51,"r":-2,"state":"off"},{"q":49,"r":-3,"state":"off"},{"q":47,"r":-2,"state":"off"},{"q":47,"r":-1,"state":"off"},{"q":49,"r":-2,"state":"off"},{"q":48,"r":0,"state":"off"},{"q":47,"r":0,"state":"off"},{"q":49,"r":-1,"state":"off"},{"q":48,"r":1,"state":"off"},{"q":49,"r":1,"state":"off"},{"q":50,"r":1,"state":"off"},{"q":51,"r":0,"state":"off"},{"q":52,"r":-1,"state":"off"},{"q":51,"r":1,"state":"off"},{"q":49,"r":2,"state":"off"},{"q":50,"r":2,"state":"off"},{"q":50,"r":3,"state":"off"},{"q":53,"r":-7,"state":"off"},{"q":54,"r":-7,"state":"off"},{"q":55,"r":-7,"state":"off"},{"q":55,"r":-6,"state":"off"},{"q":55,"r":-4,"state":"off"},{"q":55,"r":-5,"state":"off"},{"q":51,"r":3,"state":"off"},{"q":49,"r":4,"state":"off"},{"q":52,"r":3,"state":"off"},{"q":52,"r":4,"state":"off"},{"q":51,"r":5,"state":"off"},{"q":53,"r":5,"state":"off"},{"q":52,"r":5,"state":"off"},{"q":53,"r":4,"state":"off"},{"q":51,"r":6,"state":"off"},{"q":51,"r":7,"state":"off"},{"q":52,"r":7,"state":"off"},{"q":53,"r":6,"state":"off"},{"q":52,"r":8,"state":"off"},{"q":55,"r":3,"state":"off"},{"q":55,"r":4,"state":"off"},{"q":55,"r":5,"state":"off"},{"q":57,"r":4,"state":"off"},{"q":56,"r":5,"state":"off"},{"q":57,"r":3,"state":"off"},{"q":56,"r":3,"state":"off"},{"q":57,"r":2,"state":"off"},{"q":56,"r":2,"state":"off"},{"q":56,"r":1,"state":"off"},{"q":55,"r":0,"state":"off"},{"q":55,"r":-2,"state":"off"},{"q":55,"r":-3,"state":"off"},{"q":56,"r":6,"state":"off"},{"q":56,"r":0,"state":"off"},{"q":57,"r":0,"state":"off"},{"q":58,"r":0,"state":"off"},{"q":59,"r":0,"state":"off"},{"q":59,"r":1,"state":"off"},{"q":59,"r":3,"state":"off"},{"q":59,"r":2,"state":"off"},{"q":59,"r":4,"state":"off"},{"q":53,"r":9,"state":"off"},{"q":55,"r":8,"state":"off"},{"q":53,"r":8,"state":"off"},{"q":55,"r":7,"state":"off"},{"q":54,"r":8,"state":"off"},{"q":54,"r":9,"state":"off"},{"q":54,"r":10,"state":"off"},{"q":55,"r":10,"state":"off"},{"q":54,"r":11,"state":"off"},{"q":53,"r":12,"state":"off"},{"q":53,"r":11,"state":"off"},{"q":55,"r":11,"state":"off"},{"q":53,"r":13,"state":"off"},{"q":54,"r":13,"state":"off"},{"q":55,"r":12,"state":"off"},{"q":54,"r":14,"state":"off"},{"q":55,"r":14,"state":"off"},{"q":56,"r":14,"state":"off"},{"q":57,"r":13,"state":"off"},{"q":58,"r":12,"state":"off"},{"q":58,"r":11,"state":"off"},{"q":57,"r":11,"state":"off"},{"q":59,"r":10,"state":"off"},{"q":59,"r":9,"state":"off"},{"q":57,"r":10,"state":"off"},{"q":58,"r":9,"state":"off"},{"q":57,"r":9,"state":"off"},{"q":59,"r":8,"state":"off"},{"q":58,"r":8,"state":"off"},{"q":58,"r":7,"state":"off"},{"q":58,"r":6,"state":"off"},{"q":58,"r":5,"state":"off"},{"q":55,"r":15,"state":"off"},{"q":57,"r":14,"state":"off"},{"q":56,"r":15,"state":"off"},{"q":56,"r":16,"state":"off"},{"q":53,"r":15,"state":"off"},{"q":53,"r":16,"state":"off"},{"q":53,"r":18,"state":"off"},{"q":53,"r":20,"state":"off"},{"q":53,"r":17,"state":"off"},{"q":53,"r":19,"state":"off"},{"q":55,"r":17,"state":"off"},{"q":57,"r":17,"state":"off"},{"q":56,"r":17,"state":"off"},{"q":57,"r":16,"state":"off"},{"q":55,"r":19,"state":"off"},{"q":55,"r":18,"state":"off"},{"q":57,"r":18,"state":"off"},{"q":56,"r":19,"state":"off"},{"q":55,"r":20,"state":"off"},{"q":57,"r":19,"state":"off"},{"q":56,"r":20,"state":"off"},{"q":56,"r":21,"state":"off"},{"q":54,"r":21,"state":"off"},{"q":53,"r":21,"state":"off"},{"q":58,"r":19,"state":"off"},{"q":59,"r":18,"state":"off"},{"q":59,"r":17,"state":"off"},{"q":59,"r":15,"state":"off"},{"q":59,"r":14,"state":"off"},{"q":59,"r":16,"state":"off"},{"q":59,"r":13,"state":"off"},{"q":59,"r":12,"state":"off"},{"q":54,"r":-1,"state":"off"},{"q":54,"r":0,"state":"off"},{"q":49,"r":5,"state":"off"},{"q":49,"r":6,"state":"off"},{"q":49,"r":7,"state":"off"},{"q":49,"r":9,"state":"off"},{"q":49,"r":8,"state":"off"},{"q":42,"r":-8,"state":"off"},{"q":43,"r":-10,"state":"off"},{"q":42,"r":-10,"state":"off"},{"q":41,"r":-8,"state":"off"},{"q":43,"r":-8,"state":"off"},{"q":44,"r":-10,"state":"head"},{"q":41,"r":-10,"state":"off"},{"q":40,"r":-8,"state":"off"},{"q":44,"r":-8,"state":"off"},{"q":45,"r":-10,"state":"tail"},{"q":40,"r":-10,"state":"off"},{"q":39,"r":-9,"state":"off"},{"q":39,"r":-8,"state":"off"},{"q":45,"r":-8,"state":"off"},{"q":46,"r":-9,"state":"off"},{"q":46,"r":-10,"state":"off"},{"q":47,"r":-9,"state":"off"},{"q":48,"r":-9,"state":"tail"},{"q":57,"r":21,"state":"off"},{"q":57,"r":23,"state":"off"},{"q":51,"r":27,"state":"off"},{"q":55,"r":26,"state":"off"},{"q":55,"r":27,"state":"off"},{"q":54,"r":47,"state":"off"},{"q":53,"r":46,"state":"off"},{"q":54,"r":48,"state":"off"},{"q":54,"r":49,"state":"off"},{"q":56,"r":45,"state":"off"},{"q":55,"r":44,"state":"off"},{"q":52,"r":45,"state":"off"},{"q":54,"r":50,"state":"off"},{"q":56,"r":48,"state":"off"},{"q":57,"r":47,"state":"off"},{"q":57,"r":46,"state":"off"},{"q":57,"r":45,"state":"off"},{"q":54,"r":43,"state":"off"},{"q":52,"r":44,"state":"off"},{"q":54,"r":51,"state":"off"},{"q":56,"r":49,"state":"off"},{"q":58,"r":47,"state":"off"},{"q":58,"r":44,"state":"off"},{"q":56,"r":42,"state":"off"},{"q":54,"r":42,"state":"off"},{"q":52,"r":43,"state":"off"},{"q":54,"r":52,"state":"off"},{"q":58,"r":48,"state":"off"},{"q":59,"r":42,"state":"off"},{"q":58,"r":41,"state":"off"},{"q":56,"r":41,"state":"off"},{"q":55,"r":41,"state":"off"},{"q":52,"r":42,"state":"off"},{"q":54,"r":53,"state":"off"},{"q":57,"r":50,"state":"off"},{"q":60,"r":47,"state":"off"},{"q":60,"r":46,"state":"off"},{"q":60,"r":40,"state":"off"},{"q":58,"r":40,"state":"off"},{"q":55,"r":40,"state":"off"},{"q":52,"r":41,"state":"off"},{"q":54,"r":54,"state":"off"},{"q":56,"r":52,"state":"off"},{"q":61,"r":45,"state":"off"},{"q":61,"r":44,"state":"off"},{"q":61,"r":43,"state":"off"},{"q":61,"r":42,"state":"off"},{"q":60,"r":39,"state":"off"},{"q":59,"r":39,"state":"off"},{"q":53,"r":39,"state":"off"},{"q":54,"r":55,"state":"off"},{"q":56,"r":53,"state":"off"},{"q":58,"r":51,"state":"off"},{"q":61,"r":48,"state":"off"},{"q":62,"r":46,"state":"off"},{"q":62,"r":45,"state":"off"},{"q":62,"r":40,"state":"off"},{"q":62,"r":39,"state":"off"},{"q":62,"r":38,"state":"off"},{"q":59,"r":38,"state":"off"},{"q":53,"r":38,"state":"off"},{"q":54,"r":56,"state":"off"},{"q":56,"r":54,"state":"off"},{"q":59,"r":51,"state":"off"},{"q":60,"r":50,"state":"off"},{"q":62,"r":37,"state":"off"},{"q":59,"r":37,"state":"off"},{"q":54,"r":37,"state":"off"},{"q":52,"r":38,"state":"off"},{"q":54,"r":57,"state":"off"},{"q":56,"r":55,"state":"off"},{"q":59,"r":52,"state":"off"},{"q":62,"r":49,"state":"off"},{"q":57,"r":36,"state":"off"},{"q":54,"r":58,"state":"off"},{"q":56,"r":56,"state":"off"},{"q":58,"r":54,"state":"off"},{"q":59,"r":53,"state":"off"},{"q":62,"r":50,"state":"off"},{"q":55,"r":35,"state":"off"},{"q":51,"r":37,"state":"off"},{"q":54,"r":59,"state":"off"},{"q":56,"r":57,"state":"off"},{"q":58,"r":55,"state":"off"},{"q":60,"r":53,"state":"off"},{"q":62,"r":51,"state":"off"},{"q":58,"r":34,"state":"off"},{"q":54,"r":34,"state":"off"},{"q":52,"r":35,"state":"off"},{"q":54,"r":60,"state":"off"},{"q":58,"r":56,"state":"off"},{"q":60,"r":54,"state":"off"},{"q":62,"r":52,"state":"off"},{"q":58,"r":33,"state":"off"},{"q":56,"r":33,"state":"off"},{"q":54,"r":33,"state":"off"},{"q":52,"r":34,"state":"off"},{"q":50,"r":36,"state":"off"},{"q":54,"r":61,"state":"off"},{"q":59,"r":56,"state":"off"},{"q":60,"r":55,"state":"off"},{"q":62,"r":53,"state":"off"},{"q":58,"r":32,"state":"off"},{"q":56,"r":32,"state":"off"},{"q":55,"r":32,"state":"off"},{"q":51,"r":34,"state":"off"},{"q":50,"r":35,"state":"off"},{"q":54,"r":62,"state":"off"},{"q":59,"r":57,"state":"off"},{"q":62,"r":54,"state":"off"},{"q":58,"r":31,"state":"off"},{"q":55,"r":31,"state":"off"},{"q":51,"r":33,"state":"off"},{"q":54,"r":63,"state":"off"},{"q":58,"r":30,"state":"off"},{"q":55,"r":30,"state":"off"},{"q":54,"r":64,"state":"off"},{"q":54,"r":65,"state":"tail"},{"q":58,"r":62,"state":"off"},{"q":65,"r":55,"state":"off"},{"q":58,"r":63,"state":"tail"},{"q":18,"r":67,"state":"off"},{"q":19,"r":66,"state":"off"},{"q":19,"r":65,"state":"off"},{"q":18,"r":68,"state":"off"},{"q":19,"r":64,"state":"off"},{"q":20,"r":67,"state":"off"},{"q":21,"r":66,"state":"off"},{"q":21,"r":65,"state":"off"},{"q":21,"r":63,"state":"off"},{"q":19,"r":63,"state":"off"},{"q":17,"r":69,"state":"off"},{"q":19,"r":69,"state":"off"},{"q":20,"r":68,"state":"off"},{"q":22,"r":65,"state":"off"},{"q":22,"r":64,"state":"off"},{"q":22,"r":63,"state":"off"},{"q":22,"r":62,"state":"off"},{"q":21,"r":62,"state":"off"},{"q":19,"r":62,"state":"off"},{"q":17,"r":70,"state":"off"},{"q":19,"r":70,"state":"off"},{"q":21,"r":68,"state":"off"},{"q":23,"r":65,"state":"off"},{"q":23,"r":64,"state":"off"},{"q":23,"r":62,"state":"off"},{"q":23,"r":61,"state":"off"},{"q":21,"r":61,"state":"off"},{"q":19,"r":61,"state":"off"},{"q":17,"r":71,"state":"off"},{"q":19,"r":71,"state":"off"},{"q":20,"r":70,"state":"off"},{"q":21,"r":69,"state":"off"},{"q":23,"r":67,"state":"off"},{"q":24,"r":66,"state":"off"},{"q":24,"r":65,"state":"off"},{"q":23,"r":60,"state":"off"},{"q":22,"r":60,"state":"off"},{"q":19,"r":60,"state":"off"},{"q":17,"r":72,"state":"off"},{"q":20,"r":71,"state":"off"},{"q":21,"r":70,"state":"off"},{"q":23,"r":68,"state":"off"},{"q":25,"r":66,"state":"off"},{"q":25,"r":61,"state":"off"},{"q":25,"r":60,"state":"off"},{"q":25,"r":59,"state":"off"},{"q":22,"r":59,"state":"off"},{"q":21,"r":59,"state":"off"},{"q":19,"r":59,"state":"off"},{"q":17,"r":73,"state":"off"},{"q":18,"r":74,"state":"off"},{"q":19,"r":73,"state":"off"},{"q":20,"r":72,"state":"off"},{"q":23,"r":69,"state":"off"},{"q":24,"r":68,"state":"off"},{"q":25,"r":67,"state":"off"},{"q":26,"r":64,"state":"off"},{"q":26,"r":63,"state":"off"},{"q":26,"r":62,"state":"off"},{"q":26,"r":61,"state":"off"},{"q":26,"r":60,"state":"off"},{"q":26,"r":58,"state":"off"},{"q":23,"r":58,"state":"off"},{"q":21,"r":58,"state":"off"},{"q":19,"r":58,"state":"off"},{"q":17,"r":74,"state":"off"},{"q":18,"r":75,"state":"off"},{"q":24,"r":69,"state":"off"},{"q":25,"r":68,"state":"off"},{"q":27,"r":66,"state":"off"},{"q":27,"r":65,"state":"off"},{"q":27,"r":64,"state":"off"},{"q":27,"r":60,"state":"off"},{"q":27,"r":59,"state":"off"},{"q":27,"r":58,"state":"off"},{"q":26,"r":57,"state":"off"},{"q":25,"r":57,"state":"off"},{"q":24,"r":57,"state":"off"},{"q":23,"r":57,"state":"off"},{"q":21,"r":57,"state":"off"},{"q":19,"r":57,"state":"off"},{"q":18,"r":76,"state":"off"},{"q":19,"r":75,"state":"off"},{"q":24,"r":70,"state":"off"},{"q":27,"r":67,"state":"off"},{"q":27,"r":56,"state":"off"},{"q":25,"r":56,"state":"off"},{"q":24,"r":56,"state":"off"},{"q":21,"r":56,"state":"off"},{"q":19,"r":56,"state":"off"},{"q":17,"r":76,"state":"off"},{"q":19,"r":76,"state":"off"},{"q":22,"r":73,"state":"off"},{"q":23,"r":72,"state":"off"},{"q":24,"r":71,"state":"off"},{"q":25,"r":70,"state":"off"},{"q":26,"r":69,"state":"off"},{"q":27,"r":68,"state":"off"},{"q":27,"r":55,"state":"off"},{"q":24,"r":55,"state":"off"},{"q":23,"r":55,"state":"off"},{"q":21,"r":55,"state":"off"},{"q":19,"r":55,"state":"off"},{"q":17,"r":77,"state":"off"},{"q":20,"r":76,"state":"off"},{"q":22,"r":74,"state":"off"},{"q":27,"r":54,"state":"off"},{"q":25,"r":54,"state":"off"},{"q":24,"r":54,"state":"off"},{"q":23,"r":54,"state":"off"},{"q":21,"r":54,"state":"off"},{"q":19,"r":54,"state":"off"},{"q":16,"r":78,"state":"off"},{"q":19,"r":78,"state":"off"},{"q":20,"r":77,"state":"off"},{"q":23,"r":74,"state":"off"},{"q":27,"r":53,"state":"off"},{"q":25,"r":53,"state":"off"},{"q":23,"r":53,"state":"off"},{"q":21,"r":53,"state":"off"},{"q":19,"r":53,"state":"off"},{"q":16,"r":79,"state":"off"},{"q":17,"r":79,"state":"off"},{"q":19,"r":79,"state":"off"},{"q":21,"r":77,"state":"off"},{"q":23,"r":75,"state":"off"},{"q":27,"r":52,"state":"off"},{"q":25,"r":52,"state":"off"},{"q":24,"r":52,"state":"off"},{"q":23,"r":52,"state":"off"},{"q":22,"r":52,"state":"off"},{"q":19,"r":52,"state":"off"},{"q":15,"r":80,"state":"off"},{"q":17,"r":80,"state":"off"},{"q":19,"r":80,"state":"off"},{"q":20,"r":79,"state":"off"},{"q":21,"r":78,"state":"off"},{"q":23,"r":76,"state":"off"},{"q":27,"r":51,"state":"off"},{"q":25,"r":51,"state":"off"},{"q":24,"r":51,"state":"off"},{"q":19,"r":51,"state":"off"},{"q":15,"r":81,"state":"off"},{"q":16,"r":81,"state":"off"},{"q":17,"r":81,"state":"off"},{"q":20,"r":80,"state":"off"},{"q":21,"r":79,"state":"off"},{"q":23,"r":77,"state":"off"},{"q":27,"r":50,"state":"off"},{"q":26,"r":50,"state":"off"},{"q":24,"r":50,"state":"off"},{"q":19,"r":50,"state":"off"},{"q":15,"r":82,"state":"off"},{"q":16,"r":82,"state":"off"},{"q":20,"r":81,"state":"off"},{"q":23,"r":78,"state":"off"},{"q":25,"r":49,"state":"off"},{"q":19,"r":49,"state":"off"},{"q":16,"r":83,"state":"off"},{"q":20,"r":82,"state":"off"},{"q":21,"r":81,"state":"off"},{"q":22,"r":80,"state":"off"},{"q":23,"r":79,"state":"off"},{"q":29,"r":48,"state":"off"},{"q":28,"r":48,"state":"off"},{"q":27,"r":48,"state":"off"},{"q":26,"r":48,"state":"off"},{"q":19,"r":48,"state":"tail"},{"q":16,"r":84,"state":"off"},{"q":20,"r":83,"state":"off"},{"q":30,"r":47,"state":"off"},{"q":25,"r":47,"state":"off"},{"q":24,"r":47,"state":"off"},{"q":23,"r":47,"state":"off"},{"q":20,"r":47,"state":"off"},{"q":19,"r":47,"state":"off"},{"q":16,"r":85,"state":"off"},{"q":19,"r":85,"state":"off"},{"q":20,"r":84,"state":"off"},{"q":30,"r":46,"state":"off"},{"q":29,"r":46,"state":"off"},{"q":28,"r":46,"state":"off"},{"q":27,"r":46,"state":"off"},{"q":26,"r":46,"state":"off"},{"q":23,"r":46,"state":"tail"},{"q":22,"r":46,"state":"off"},{"q":19,"r":46,"state":"off"},{"q":16,"r":86,"state":"off"},{"q":17,"r":86,"state":"off"},{"q":20,"r":85,"state":"tail"},{"q":23,"r":45,"state":"off"},{"q":19,"r":45,"state":"off"},{"q":16,"r":87,"state":"tail"},{"q":21,"r":28,"state":"off"},{"q":22,"r":27,"state":"off"},{"q":22,"r":26,"state":"off"},{"q":21,"r":29,"state":"off"},{"q":22,"r":25,"state":"off"},{"q":23,"r":28,"state":"off"},{"q":24,"r":27,"state":"off"},{"q":24,"r":26,"state":"off"},{"q":24,"r":24,"state":"off"},{"q":22,"r":24,"state":"off"},{"q":20,"r":30,"state":"off"},{"q":22,"r":30,"state":"off"},{"q":23,"r":29,"state":"off"},{"q":25,"r":26,"state":"off"},{"q":25,"r":25,"state":"off"},{"q":25,"r":24,"state":"off"},{"q":25,"r":23,"state":"off"},{"q":24,"r":23,"state":"off"},{"q":22,"r":23,"state":"off"},{"q":20,"r":31,"state":"off"},{"q":22,"r":31,"state":"off"},{"q":24,"r":29,"state":"off"},{"q":26,"r":26,"state":"off"},{"q":26,"r":25,"state":"off"},{"q":26,"r":23,"state":"off"},{"q":26,"r":22,"state":"off"},{"q":24,"r":22,"state":"off"},{"q":22,"r":22,"state":"off"},{"q":20,"r":32,"state":"off"},{"q":22,"r":32,"state":"off"},{"q":23,"r":31,"state":"off"},{"q":24,"r":30,"state":"off"},{"q":26,"r":28,"state":"off"},{"q":27,"r":27,"state":"off"},{"q":27,"r":26,"state":"off"},{"q":26,"r":21,"state":"off"},{"q":25,"r":21,"state":"off"},{"q":22,"r":21,"state":"off"},{"q":20,"r":33,"state":"off"},{"q":23,"r":32,"state":"off"},{"q":24,"r":31,"state":"off"},{"q":26,"r":29,"state":"off"},{"q":28,"r":27,"state":"off"},{"q":28,"r":22,"state":"off"},{"q":28,"r":21,"state":"off"},{"q":28,"r":20,"state":"off"},{"q":25,"r":20,"state":"off"},{"q":24,"r":20,"state":"off"},{"q":22,"r":20,"state":"off"},{"q":20,"r":34,"state":"off"},{"q":21,"r":35,"state":"off"},{"q":22,"r":34,"state":"off"},{"q":23,"r":33,"state":"off"},{"q":26,"r":30,"state":"off"},{"q":27,"r":29,"state":"off"},{"q":28,"r":28,"state":"off"},{"q":29,"r":25,"state":"off"},{"q":29,"r":24,"state":"off"},{"q":29,"r":23,"state":"off"},{"q":29,"r":22,"state":"off"},{"q":29,"r":21,"state":"off"},{"q":29,"r":19,"state":"off"},{"q":26,"r":19,"state":"off"},{"q":24,"r":19,"state":"off"},{"q":22,"r":19,"state":"off"},{"q":20,"r":35,"state":"off"},{"q":21,"r":36,"state":"off"},{"q":27,"r":30,"state":"off"},{"q":28,"r":29,"state":"off"},{"q":30,"r":27,"state":"off"},{"q":30,"r":26,"state":"off"},{"q":30,"r":25,"state":"off"},{"q":30,"r":21,"state":"off"},{"q":30,"r":20,"state":"off"},{"q":30,"r":19,"state":"off"},{"q":29,"r":18,"state":"off"},{"q":28,"r":18,"state":"off"},{"q":27,"r":18,"state":"off"},{"q":26,"r":18,"state":"off"},{"q":24,"r":18,"state":"off"},{"q":22,"r":18,"state":"off"},{"q":21,"r":37,"state":"off"},{"q":22,"r":36,"state":"off"},{"q":27,"r":31,"state":"off"},{"q":30,"r":28,"state":"off"},{"q":30,"r":17,"state":"off"},{"q":28,"r":17,"state":"off"},{"q":27,"r":17,"state":"off"},{"q":24,"r":17,"state":"off"},{"q":22,"r":17,"state":"off"},{"q":20,"r":37,"state":"off"},{"q":22,"r":37,"state":"off"},{"q":25,"r":34,"state":"off"},{"q":26,"r":33,"state":"off"},{"q":27,"r":32,"state":"off"},{"q":28,"r":31,"state":"off"},{"q":29,"r":30,"state":"off"},{"q":30,"r":29,"state":"off"},{"q":30,"r":16,"state":"off"},{"q":27,"r":16,"state":"off"},{"q":26,"r":16,"state":"off"},{"q":24,"r":16,"state":"off"},{"q":22,"r":16,"state":"off"},{"q":20,"r":38,"state":"off"},{"q":23,"r":37,"state":"off"},{"q":25,"r":35,"state":"off"},{"q":30,"r":15,"state":"off"},{"q":28,"r":15,"state":"off"},{"q":27,"r":15,"state":"off"},{"q":26,"r":15,"state":"off"},{"q":24,"r":15,"state":"off"},{"q":22,"r":15,"state":"off"},{"q":19,"r":39,"state":"off"},{"q":22,"r":39,"state":"off"},{"q":23,"r":38,"state":"off"},{"q":26,"r":35,"state":"off"},{"q":30,"r":14,"state":"off"},{"q":28,"r":14,"state":"off"},{"q":26,"r":14,"state":"off"},{"q":24,"r":14,"state":"off"},{"q":22,"r":14,"state":"off"},{"q":19,"r":40,"state":"off"},{"q":20,"r":40,"state":"off"},{"q":22,"r":40,"state":"off"},{"q":24,"r":38,"state":"off"},{"q":26,"r":36,"state":"off"},{"q":30,"r":13,"state":"off"},{"q":28,"r":13,"state":"off"},{"q":27,"r":13,"state":"off"},{"q":26,"r":13,"state":"off"},{"q":25,"r":13,"state":"off"},{"q":22,"r":13,"state":"off"},{"q":18,"r":41,"state":"off"},{"q":20,"r":41,"state":"off"},{"q":22,"r":41,"state":"off"},{"q":23,"r":40,"state":"off"},{"q":24,"r":39,"state":"off"},{"q":26,"r":37,"state":"off"},{"q":30,"r":12,"state":"off"},{"q":28,"r":12,"state":"off"},{"q":27,"r":12,"state":"off"},{"q":22,"r":12,"state":"off"},{"q":18,"r":42,"state":"off"},{"q":19,"r":42,"state":"off"},{"q":20,"r":42,"state":"off"},{"q":23,"r":41,"state":"off"},{"q":24,"r":40,"state":"off"},{"q":26,"r":38,"state":"off"},{"q":30,"r":11,"state":"off"},{"q":29,"r":11,"state":"off"},{"q":27,"r":11,"state":"off"},{"q":22,"r":11,"state":"off"},{"q":18,"r":43,"state":"off"},{"q":19,"r":43,"state":"off"},{"q":23,"r":42,"state":"off"},{"q":26,"r":39,"state":"off"},{"q":28,"r":10,"state":"off"},{"q":22,"r":10,"state":"off"},{"q":19,"r":44,"state":"off"},{"q":23,"r":43,"state":"off"},{"q":24,"r":42,"state":"off"},{"q":25,"r":41,"state":"off"},{"q":26,"r":40,"state":"off"},{"q":32,"r":9,"state":"off"},{"q":31,"r":9,"state":"off"},{"q":30,"r":9,"state":"off"},{"q":29,"r":9,"state":"off"},{"q":22,"r":9,"state":"tail"},{"q":23,"r":44,"state":"off"},{"q":33,"r":8,"state":"off"},{"q":28,"r":8,"state":"off"},{"q":27,"r":8,"state":"off"},{"q":26,"r":8,"state":"off"},{"q":23,"r":8,"state":"off"},{"q":22,"r":8,"state":"off"},{"q":33,"r":7,"state":"off"},{"q":32,"r":7,"state":"off"},{"q":31,"r":7,"state":"off"},{"q":30,"r":7,"state":"off"},{"q":29,"r":7,"state":"off"},{"q":26,"r":7,"state":"tail"},{"q":25,"r":7,"state":"off"},{"q":26,"r":6,"state":"off"},{"q":54,"r":66,"state":"off"},{"q":43,"r":72,"state":"off"},{"q":44,"r":72,"state":"off"},{"q":42,"r":73,"state":"off"},{"q":41,"r":74,"state":"off"},{"q":21,"r":85,"state":"off"},{"q":23,"r":84,"state":"off"},{"q":22,"r":85,"state":"off"},{"q":25,"r":83,"state":"off"},{"q":27,"r":82,"state":"off"},{"q":40,"r":75,"state":"off"},{"q":39,"r":75,"state":"off"},{"q":36,"r":77,"state":"off"},{"q":34,"r":79,"state":"off"},{"q":37,"r":76,"state":"off"},{"q":33,"r":80,"state":"off"},{"q":32,"r":80,"state":"off"},{"q":30,"r":81,"state":"off"},{"q":29,"r":81,"state":"off"},{"q":31,"r":80,"state":"off"},{"q":28,"r":82,"state":"off"},{"q":26,"r":83,"state":"off"},{"q":24,"r":83,"state":"off"},{"q":16,"r":88,"state":"off"},{"q":18,"r":88,"state":"off"},{"q":17,"r":88,"state":"off"},{"q":19,"r":88,"state":"off"},{"q":21,"r":87,"state":"off"},{"q":20,"r":88,"state":"off"},{"q":22,"r":87,"state":"off"},{"q":24,"r":86,"state":"off"},{"q":23,"r":87,"state":"off"},{"q":26,"r":85,"state":"off"},{"q":25,"r":86,"state":"off"},{"q":28,"r":84,"state":"off"},{"q":27,"r":85,"state":"off"},{"q":29,"r":84,"state":"off"},{"q":30,"r":84,"state":"off"},{"q":31,"r":84,"state":"off"},{"q":58,"r":64,"state":"off"},{"q":50,"r":72,"state":"off"},{"q":49,"r":73,"state":"off"},{"q":46,"r":76,"state":"off"},{"q":48,"r":74,"state":"off"},{"q":47,"r":75,"state":"off"},{"q":45,"r":77,"state":"off"},{"q":44,"r":78,"state":"off"},{"q":43,"r":79,"state":"off"},{"q":42,"r":80,"state":"off"},{"q":41,"r":81,"state":"off"},{"q":40,"r":82,"state":"off"},{"q":38,"r":83,"state":"off"},{"q":37,"r":84,"state":"off"},{"q":39,"r":83,"state":"off"},{"q":36,"r":84,"state":"off"},{"q":34,"r":84,"state":"off"},{"q":33,"r":84,"state":"off"},{"q":35,"r":84,"state":"off"},{"q":32,"r":84,"state":"off"},{"q":37,"r":75,"state":"off"},{"q":39,"r":74,"state":"off"},{"q":37,"r":74,"state":"off"},{"q":39,"r":73,"state":"off"},{"q":39,"r":72,"state":"off"},{"q":37,"r":73,"state":"off"},{"q":35,"r":79,"state":"off"},{"q":36,"r":78,"state":"off"},{"q":55,"r":24,"state":"off"},{"q":63,"r":20,"state":"off"},{"q":63,"r":19,"state":"off"},{"q":63,"r":18,"state":"off"},{"q":63,"r":16,"state":"off"},{"q":63,"r":17,"state":"off"},{"q":63,"r":15,"state":"off"},{"q":63,"r":14,"state":"off"},{"q":63,"r":12,"state":"off"},{"q":63,"r":10,"state":"off"},{"q":63,"r":13,"state":"off"},{"q":63,"r":11,"state":"off"},{"q":65,"r":19,"state":"off"},{"q":65,"r":17,"state":"off"},{"q":65,"r":18,"state":"off"},{"q":65,"r":16,"state":"off"},{"q":65,"r":14,"state":"off"},{"q":65,"r":12,"state":"off"},{"q":65,"r":13,"state":"off"},{"q":65,"r":15,"state":"off"},{"q":65,"r":11,"state":"off"},{"q":65,"r":9,"state":"off"},{"q":65,"r":8,"state":"off"},{"q":65,"r":10,"state":"off"},{"q":65,"r":6,"state":"off"},{"q":65,"r":7,"state":"off"},{"q":65,"r":4,"state":"head"},{"q":65,"r":5,"state":"off"},{"q":63,"r":9,"state":"off"},{"q":63,"r":8,"state":"off"},{"q":63,"r":6,"state":"off"},{"q":63,"r":5,"state":"off"},{"q":63,"r":7,"state":"off"},{"q":63,"r":4,"state":"off"},{"q":65,"r":3,"state":"tail"},{"q":65,"r":2,"state":"off"},{"q":65,"r":0,"state":"off"},{"q":65,"r":-1,"state":"off"},{"q":65,"r":1,"state":"off"},{"q":63,"r":3,"state":"off"},{"q":63,"r":2,"state":"off"},{"q":63,"r":1,"state":"off"},{"q":63,"r":0,"state":"off"},{"q":63,"r":-2,"state":"off"},{"q":65,"r":-2,"state":"off"},{"q":65,"r":-3,"state":"off"},{"q":65,"r":-4,"state":"off"},{"q":65,"r":-6,"state":"off"},{"q":65,"r":-7,"state":"off"},{"q":65,"r":-5,"state":"off"},{"q":63,"r":-4,"state":"off"},{"q":63,"r":-5,"state":"off"},{"q":63,"r":-6,"state":"off"},{"q":63,"r":-3,"state":"off"},{"q":63,"r":-1,"state":"off"},{"q":63,"r":26,"state":"off"},{"q":52,"r":-11,"state":"tail"},{"q":53,"r":-12,"state":"off"},{"q":54,"r":-12,"state":"off"},{"q":54,"r":-11,"state":"off"},{"q":55,"r":-11,"state":"off"},{"q":56,"r":-12,"state":"off"},{"q":57,"r":-12,"state":"off"},{"q":58,"r":-12,"state":"off"},{"q":59,"r":-12,"state":"tail"},{"q":60,"r":-12,"state":"head"},{"q":61,"r":-12,"state":"off"},{"q":62,"r":-12,"state":"off"},{"q":62,"r":-11,"state":"off"},{"q":61,"r":-10,"state":"off"},{"q":60,"r":-10,"state":"off"},{"q":59,"r":-10,"state":"off"},{"q":58,"r":-10,"state":"off"},{"q":57,"r":-10,"state":"off"},{"q":55,"r":-10,"state":"off"},{"q":56,"r":-10,"state":"off"},{"q":20,"r":8,"state":"off"},{"q":20,"r":7,"state":"off"},{"q":19,"r":9,"state":"off"},{"q":18,"r":9,"state":"off"},{"q":17,"r":9,"state":"off"},{"q":16,"r":9,"state":"off"},{"q":15,"r":9,"state":"off"},{"q":14,"r":9,"state":"off"},{"q":13,"r":9,"state":"off"},{"q":14,"r":7,"state":"off"},{"q":15,"r":7,"state":"off"},{"q":16,"r":7,"state":"off"},{"q":17,"r":7,"state":"off"},{"q":18,"r":7,"state":"off"},{"q":19,"r":7,"state":"off"},{"q":55,"r":22,"state":"off"},{"q":57,"r":22,"state":"off"},{"q":56,"r":22,"state":"off"},{"q":55,"r":23,"state":"off"},{"q":56,"r":24,"state":"off"},{"q":56,"r":25,"state":"off"},{"q":56,"r":26,"state":"off"},{"q":53,"r":27,"state":"off"},{"q":57,"r":27,"state":"off"},{"q":59,"r":26,"state":"off"},{"q":60,"r":27,"state":"off"},{"q":61,"r":26,"state":"off"},{"q":61,"r":27,"state":"off"},{"q":64,"r":25,"state":"off"},{"q":64,"r":24,"state":"off"},{"q":56,"r":50,"state":"off"},{"q":57,"r":51,"state":"off"},{"q":57,"r":48,"state":"off"},{"q":53,"r":47,"state":"off"},{"q":58,"r":49,"state":"off"},{"q":56,"r":46,"state":"off"},{"q":58,"r":52,"state":"off"},{"q":58,"r":45,"state":"off"},{"q":55,"r":45,"state":"off"},{"q":52,"r":46,"state":"off"},{"q":60,"r":51,"state":"off"},{"q":60,"r":48,"state":"off"},{"q":54,"r":44,"state":"off"},{"q":61,"r":49,"state":"off"},{"q":61,"r":46,"state":"off"},{"q":59,"r":43,"state":"off"},{"q":56,"r":43,"state":"off"},{"q":59,"r":54,"state":"off"},{"q":62,"r":47,"state":"off"},{"q":58,"r":42,"state":"off"},{"q":55,"r":42,"state":"off"},{"q":56,"r":58,"state":"off"},{"q":62,"r":41,"state":"off"},{"q":60,"r":41,"state":"off"},{"q":57,"r":58,"state":"off"},{"q":58,"r":57,"state":"off"},{"q":59,"r":40,"state":"off"},{"q":54,"r":40,"state":"off"},{"q":53,"r":40,"state":"off"},{"q":60,"r":56,"state":"off"},{"q":59,"r":58,"state":"off"},{"q":61,"r":56,"state":"off"},{"q":62,"r":55,"state":"off"},{"q":54,"r":38,"state":"off"},{"q":52,"r":39,"state":"off"},{"q":60,"r":58,"state":"off"},{"q":61,"r":37,"state":"off"},{"q":60,"r":37,"state":"off"},{"q":58,"r":37,"state":"off"},{"q":57,"r":37,"state":"off"},{"q":61,"r":58,"state":"off"},{"q":62,"r":57,"state":"off"},{"q":63,"r":56,"state":"off"},{"q":64,"r":55,"state":"off"},{"q":55,"r":36,"state":"off"},{"q":51,"r":38,"state":"off"},{"q":55,"r":65,"state":"off"},{"q":59,"r":61,"state":"off"},{"q":60,"r":60,"state":"off"},{"q":58,"r":35,"state":"off"},{"q":54,"r":35,"state":"off"},{"q":52,"r":36,"state":"off"},{"q":53,"r":68,"state":"off"},{"q":54,"r":67,"state":"off"},{"q":57,"r":64,"state":"off"},{"q":61,"r":60,"state":"off"},{"q":62,"r":59,"state":"off"},{"q":63,"r":58,"state":"off"},{"q":64,"r":57,"state":"off"},{"q":65,"r":56,"state":"off"},{"q":56,"r":34,"state":"off"},{"q":50,"r":37,"state":"off"},{"q":52,"r":68,"state":"off"},{"q":55,"r":33,"state":"off"},{"q":51,"r":35,"state":"off"},{"q":51,"r":69,"state":"off"},{"q":53,"r":70,"state":"off"},{"q":54,"r":69,"state":"off"},{"q":55,"r":68,"state":"off"},{"q":56,"r":67,"state":"off"},{"q":57,"r":66,"state":"off"},{"q":58,"r":65,"state":"off"},{"q":48,"r":70,"state":"off"},{"q":49,"r":70,"state":"off"},{"q":50,"r":70,"state":"off"},{"q":47,"r":71,"state":"off"},{"q":52,"r":71,"state":"off"},{"q":57,"r":30,"state":"off"},{"q":56,"r":30,"state":"off"},{"q":54,"r":30,"state":"off"},{"q":45,"r":72,"state":"off"},{"q":46,"r":72,"state":"off"},{"q":51,"r":72,"state":"off"},{"q":54,"r":27,"state":"off"},{"q":54,"r":28,"state":"off"},{"q":55,"r":28,"state":"off"},{"q":57,"r":26,"state":"off"},{"q":56,"r":28,"state":"off"},{"q":58,"r":27,"state":"off"},{"q":58,"r":28,"state":"off"},{"q":60,"r":26,"state":"off"},{"q":59,"r":28,"state":"off"},{"q":60,"r":28,"state":"off"},{"q":62,"r":27,"state":"off"},{"q":49,"r":32,"state":"off"},{"q":49,"r":10,"state":"off"},{"q":49,"r":12,"state":"off"},{"q":49,"r":11,"state":"off"},{"q":49,"r":13,"state":"off"},{"q":49,"r":14,"state":"off"},{"q":49,"r":15,"state":"off"},{"q":49,"r":17,"state":"off"},{"q":49,"r":16,"state":"off"},{"q":49,"r":18,"state":"off"},{"q":49,"r":19,"state":"off"},{"q":49,"r":21,"state":"off"},{"q":49,"r":22,"state":"off"},{"q":49,"r":20,"state":"off"},{"q":49,"r":23,"state":"off"},{"q":49,"r":24,"state":"off"},{"q":49,"r":26,"state":"off"},{"q":49,"r":25,"state":"off"},{"q":49,"r":28,"state":"off"},{"q":49,"r":29,"state":"off"},{"q":49,"r":31,"state":"off"},{"q":49,"r":30,"state":"off"},{"q":49,"r":27,"state":"off"},{"q":51,"r":30,"state":"off"},{"q":51,"r":29,"state":"off"},{"q":51,"r":28,"state":"off"},{"q":53,"r":26,"state":"off"},{"q":50,"r":33,"state":"off"},{"q":49,"r":33,"state":"off"},{"q":53,"r":31,"state":"off"},{"q":52,"r":31,"state":"off"},{"q":51,"r":31,"state":"off"},{"q":52,"r":26,"state":"off"},{"q":39,"r":71,"state":"off"},{"q":37,"r":72,"state":"off"},{"q":38,"r":71,"state":"off"},{"q":65,"r":20,"state":"off"},{"q":63,"r":21,"state":"off"},{"q":65,"r":21,"state":"off"},{"q":65,"r":22,"state":"off"},{"q":63,"r":23,"state":"off"},{"q":63,"r":22,"state":"off"},{"q":63,"r":24,"state":"off"},{"q":65,"r":23,"state":"off"},{"q":64,"r":-7,"state":"off"},{"q":13,"r":13,"state":"off"},{"q":14,"r":11,"state":"off"},{"q":13,"r":11,"state":"off"},{"q":12,"r":13,"state":"off"},{"q":14,"r":13,"state":"off"},{"q":15,"r":11,"state":"off"},{"q":12,"r":11,"state":"off"},{"q":11,"r":13,"state":"off"},{"q":13,"r":15,"state":"off"},{"q":15,"r":13,"state":"off"},{"q":16,"r":11,"state":"off"},{"q":12,"r":10,"state":"off"},{"q":10,"r":12,"state":"off"},{"q":10,"r":14,"state":"off"},{"q":10,"r":15,"state":"off"},{"q":11,"r":15,"state":"off"},{"q":12,"r":15,"state":"off"},{"q":14,"r":15,"state":"off"},{"q":16,"r":13,"state":"off"},{"q":17,"r":11,"state":"off"},{"q":10,"r":11,"state":"off"},{"q":9,"r":13,"state":"off"},{"q":13,"r":17,"state":"off"},{"q":15,"r":15,"state":"off"},{"q":17,"r":13,"state":"off"},{"q":18,"r":12,"state":"off"},{"q":18,"r":11,"state":"off"},{"q":13,"r":7,"state":"off"},{"q":9,"r":11,"state":"off"},{"q":8,"r":13,"state":"off"},{"q":8,"r":17,"state":"off"},{"q":9,"r":17,"state":"off"},{"q":10,"r":17,"state":"off"},{"q":11,"r":17,"state":"off"},{"q":12,"r":17,"state":"off"},{"q":14,"r":17,"state":"off"},{"q":16,"r":15,"state":"off"},{"q":12,"r":7,"state":"off"},{"q":11,"r":8,"state":"off"},{"q":9,"r":10,"state":"off"},{"q":7,"r":14,"state":"head"},{"q":7,"r":16,"state":"off"},{"q":7,"r":17,"state":"off"},{"q":15,"r":17,"state":"off"},{"q":16,"r":16,"state":"off"},{"q":10,"r":8,"state":"off"},{"q":9,"r":9,"state":"off"},{"q":6,"r":15,"state":"tail"},{"q":6,"r":16,"state":"off"}]' + let demos = { "logic gates": logic_gates, adder : adder, @@ -34,5 +41,7 @@ let demos = { utils: utils, timers: timers, "mini and": mini_and, - memory: memory + "4-bit register": reg4b, + "alt mini and": alt_mini_and, + "4-bit adder": add4b }