{"_id":"bi-st","_rev":"8-95add8aa6f672e2f03d021a68afd95db","name":"bi-st","dist-tags":{"latest":"0.0.7"},"versions":{"0.0.0":{"name":"bi-st","version":"0.0.0","description":"TBD","main":"bi-st.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/bahrus/bi-st.git"},"author":{},"license":"MIT","bugs":{"url":"https://github.com/bahrus/bi-st/issues"},"homepage":"https://github.com/bahrus/bi-st#readme","licenseText":"MIT License\n\nCopyright (c) 2018 Bruce B. Anderson\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"bi-st@0.0.0","dist":{"shasum":"2ef188b4c8d84dab1130b4550a13dc28d64eb89a","tarball":"https://registry.npmjs.org/bi-st/-/bi-st-0.0.0.tgz","integrity":"sha512-5eb5xVDM1edpdleyCExKVIfG1IjphaOev2VKnymNGW0Gkppwj4OqN1EuuD93+rbRWCtorF5sUGbxkLDDRLYx4g==","fileCount":4,"unpackedSize":1533,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb2IabCRA9TVsSAnZWagAAU3gP/j3kS9EZRO7abu6NPXej\nbT2MR7j2HeTwEDWLve5bljkuCCViU4vI8fYKFFaQaA4ORwIgk9Ceob+WIBPC\nTixSz9jErE8nNQ0kBIYBeD2cvUmMZhQDdXsquP0g0kP1t2gGCQghVbM0CLo0\nwPd+nbRlU4EYzIsL5bH+i5z4v1H0oe1cOAQzuHqscDinydLgVczSOt6e5Pea\nkWRWvjE3pS6R16vhBsVhBP9lIW1dWj9UAUrj89UjhuW7FNfiuhEteDoNx51x\nnLKYgVcxCqYYMGtV5W4R1g1CsbFcHSQhTGsMsLU/+rBN3FeZS6t0R64GLd3/\n9XmNYM9EHLz5gbLPcxP4LUxJy65g7puHeTpE0ld1RAYZaryKz1nZpHAMsLPg\nMAUtw1Yv3KBC6uGT/e2YUVAGxie+qxbL8aecY+/UJzyFuvNQmvq7GGXI6wlD\nQ3UGlFJzmnpHdW0pPp7iUqCNsfk1pjSJ5BmyogPW5fprscToA/YnmWHIC5BD\nWa+wCjPjy+MUWgWPneIBsYbXQJCyrFBgHi8PFJKx/sRe23iMtYoZM+H/O+cw\n6xHYZuOhKThen24LfGzAPUZ+88uP3CYjIsxkJmnJjOBuhuyuHLEGQv4ufqJC\nTQmN4yoItGfyY/LoJwS/1nbHzLFRdlxGW0vEfiLCIRE3WvQvpqsgGKHY/fO5\nOQw9\r\n=kpkR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDXEYPAI6lSz5ERmBY/J/qP+kxczB07fOHjsuhd3IJy5QIhAKE199Y+SGgfE1+ha0zqt8hZbd5C3uu8Csu3phxQcHDy"}]},"maintainers":[{"name":"bahrus","email":"anderson.bruce.b@gmail.com"}],"_npmUser":{"name":"bahrus","email":"anderson.bruce.b@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bi-st_0.0.0_1540916891053_0.5685455982704628"},"_hasShrinkwrap":false},"0.0.1":{"name":"bi-st","version":"0.0.1","description":"TBD","main":"bi-st.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/bahrus/bi-st.git"},"dependencies":{"xtal-latx":"0.0.60","xtal-state":"0.0.55"},"devDependencies":{"@webcomponents/webcomponentsjs":"^2.0.0","jiife":"0.0.5","tape":"^4.9.1","@types/tape":"4.2.32","xtal-test":"0.0.8"},"author":{"name":"bahrus","email":"anderson.bruce.b@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/bahrus/bi-st/issues"},"homepage":"https://github.com/bahrus/bi-st#readme","licenseText":"MIT License\n\nCopyright (c) 2018 Bruce B. Anderson\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"bi-st@0.0.1","dist":{"shasum":"2729f7f95cd2a49d097a8e0c9dc76c07bfed63eb","tarball":"https://registry.npmjs.org/bi-st/-/bi-st-0.0.1.tgz","integrity":"sha512-saexpgm7yH0sq2fVcFhAQC9mfgfULnDEP/W7UztoGNIm7kFERd085vQq+q8CeVuXSv+DKFJrlXI5qf21NEqQMg==","fileCount":15,"unpackedSize":64393,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb3ip8CRA9TVsSAnZWagAABdIQAJ4QRvJvw1Wv1lXZCYrm\nlHCToGaaS7wq1zyd9GkURb/hA2raCfFQN5J7HHxqosOebrotcfQoRO861Y8W\n0yG2ATYej7RUxTcw/bjWzrlm8UksRpcxy24idMjxUT6H7GBd2A5mP2CtRS4B\nspiBqTEZPlbREgbzzfwzp9ZHMRIsVxjtKqTKH7Bt9iqUxmKyJM3vKBvaI6xX\ntyBT2UK6ShDSO8sGw1dpRo76cGyABsi6ZiIjSEJgVb+iTYA45+Xt1MzRKXwk\nGljFfhVplFuF+aJQOipBC57f6YIK358XwVbmdQ+KLbTaBssidwlbsRJ3fp5Y\nvkY+XZZ1VWYcZI4USoDKxpumRCTWX/L2PnE1o9kUEF4g1bP0uf2XHFwTOD4m\nobDNgB8OK5c3Yluxdi4LQOpZgTLQJMDNXB3bhqLuTyo0e1UbEV873gWF8eMq\n/aCKn4YXbgZJBGaeDcpSdGHetC/UbOCGFX1D0MqwMZQVQAXjc5HrNkBpGCLs\n3I+ElctiOnWDSX37mkR3h5CmMo+DvPrssfbEH4Sfe1VDRGfAitrfPh7nDinM\n0r6t62Moy80d6xake4HBf4tllc5t6SRxjlWWZhlIvKfjMASVFMv32rl1a/ZU\n4zLMmRUB3HLUXqh64Ak+mtEf3qV6u+y5I8ijQVLTcyUHQTuFxT/9WgHs1fB5\nY9D+\r\n=8IXS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH75VhDQ25STnSf0zd6VhVzRl/qCGTrKfBfX3QlzP4uxAiAQ6nBEW5EjIzOW2iQ6RMp4KrrgTDCHUhWNHbXnPgIzMQ=="}]},"maintainers":[{"name":"bahrus","email":"anderson.bruce.b@gmail.com"}],"_npmUser":{"name":"bahrus","email":"anderson.bruce.b@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bi-st_0.0.1_1541286523988_0.30562238423939436"},"_hasShrinkwrap":false},"0.0.2":{"name":"bi-st","version":"0.0.2","description":"Provide declarative binding of DOM/Custom Elements to history.state","main":"bi-st.js","module":"bi-st.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/bahrus/bi-st.git"},"dependencies":{"xtal-latx":"0.0.88","xtal-state":"0.0.67"},"devDependencies":{"@webcomponents/webcomponentsjs":"2.2.1","jiife":"0.0.11","tape":"4.9.2","@types/tape":"4.2.33","xtal-test":"0.0.10"},"author":{"name":"bahrus","email":"anderson.bruce.b@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/bahrus/bi-st/issues"},"homepage":"https://github.com/bahrus/bi-st#readme","keywords":["history.state","two-way binding"],"licenseText":"MIT License\n\nCopyright (c) 2018 Bruce B. Anderson\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"bi-st@0.0.2","dist":{"shasum":"cf7dbb5a2a58117e747b2f835ced0443fd641084","tarball":"https://registry.npmjs.org/bi-st/-/bi-st-0.0.2.tgz","integrity":"sha512-TT3pRn/yCvdEH9nhgIj/W+7Hx/T5qqHqaWPSabjAmo/B2vKPkUoB63C/AsCxNAi6jcLRe+mHZ5jpSe7XNfCM6g==","fileCount":20,"unpackedSize":106147,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcKQtbCRA9TVsSAnZWagAASssP/RGCJVtb8fMTEBizdviq\nD9XaxcrlTweNoJhQqik1L8DaBi9GDXaQT31vKFGkypE+o+EOQpTQ0tiIP//t\nYQucDEHAtSJhytYdw4P7ZZsffrjsUHzMLa5Juf4oWBE/uZ5HoEWwTXV4BeNh\noymtTWPAkOcI3JFTva0DMAN8o/NzCjo/kKa2gCp0bQ+qVQSYcO5I64BNYQOP\na6Ao9+w+5VOebcT3Vs+9EM6BeFFK8BmegckZzZULuULsp5DDTBL1qvnYgCJR\n1FgQGwY3NBFuLbQamV6M+L/ja5w5zRba25dPnGFwdaY4qVlCkpg0Ru7QczMl\ngq8FTJlscBOvFC1oqc11VqIlWA3W/rYI7xnHfvkf4xZaeVWGTiBorvTh/EXD\nhEcDHfmSWldwkPFtlafC7Uw3Kfkv6occ8HWC8dmNfMTfgTodSeb87vU5Yzhs\n4Uyn3TW8ogHPIvXk/zMjy3u39SasZZIIlG1KFnlOBzyN5PTLhyF7Ji0gV5SN\nIgERDX1Fxog/JxOMrIkbmUIV/usB5SiHtbOuh+TLevIk38yD7rLf2Ryca7nm\nzxsxcEkCPMrjfp7zL43hhDxiDdxKz4FOdaISZOPBVjRMeiqVhiOI2/Tx0Bxn\nlw3zFON/WCgwZ0V1VlZJlsvbe5pkm30OA+x/la+bpxBN5ahUdM6yDF71V/My\nuZ1m\r\n=6vj0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCavPFUTKkNbLx7KL37mpQuq/L/eOfVLi52DXqbq1dNpgIgaIDCQYA2kVaEu6DLeYzuWEDADfgOGjotfc0NHxrluSw="}]},"maintainers":[{"name":"bahrus","email":"anderson.bruce.b@gmail.com"}],"_npmUser":{"name":"bahrus","email":"anderson.bruce.b@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bi-st_0.0.2_1546193754446_0.6645688463655566"},"_hasShrinkwrap":false},"0.0.3":{"name":"bi-st","version":"0.0.3","description":"Provide declarative binding of DOM/Custom Elements to history.state","main":"bi-st.js","module":"bi-st.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/bahrus/bi-st.git"},"dependencies":{"xtal-latx":"0.0.88","xtal-state":"0.0.67"},"devDependencies":{"@webcomponents/webcomponentsjs":"2.2.1","jiife":"0.0.11","tape":"4.9.2","@types/tape":"4.2.33","xtal-test":"0.0.10"},"author":{"name":"bahrus","email":"anderson.bruce.b@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/bahrus/bi-st/issues"},"homepage":"https://github.com/bahrus/bi-st#readme","keywords":["history.state","two-way binding"],"licenseText":"MIT License\n\nCopyright (c) 2018 Bruce B. Anderson\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"bi-st@0.0.3","dist":{"shasum":"7aa7bfcd30ea216647adb3c262fa6c347ef1e489","tarball":"https://registry.npmjs.org/bi-st/-/bi-st-0.0.3.tgz","integrity":"sha512-BdIZGFTCesNCoBLwlAMBzO42Bhv1LCm6PgfNHmkKVhBNVxzRr+GV1ymN5I6mLFH1Xku4Tbd8oUurn44em466mQ==","fileCount":20,"unpackedSize":112430,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcKQ0lCRA9TVsSAnZWagAAUKUQAJcjLQu2DZiReqGXwTR6\nN5B2KY/ZiHZDC6BEDAtbNEnws+xEaGYAX5lx6IQayVEYpNOHGrsvu99C532/\nMfy76YqzcNcPJe2b54qNuRXcgchKGFGDKON23KmC9LLwnc966kVYG6MOR1vZ\nogwarURGK+weYSh8YvJq8HVR/+ObMPYutvEDAME8BLpxlMMstRkacq4xitqq\no2RMe9nEWOVvGlcqnWoj7QZZu8AzHO86KARLmAYF7FJNaruC6wDVeiFRFD/r\nJ8TaGGEq8HxMwJuWyNAxzr64J4HxWKCl4bCPF5Fv4NZHChmWTHjKp3OM00Lg\nOu4k7ctkCUb5vAZsCrmmvZD/W3Z2cEc33P3HiZUKV+BGnMDzmOEB1xTgDSE9\n/Nmwa3xevaD5/r1aJbbJfN4i32ZjZqy501zQThojXRiRpzUsS0RsNzORHRxM\n1KjDbZhka8ViYkcd91cK2a5SwouKx/aJZbeEl8/VcUjKVymEfgD2OFmmp9nM\nf2+bxl6CtjnaK2P1JmL47aza8KcynebkPL954xmsU/mAIuSlHtBTSaWsoGtU\nvgHmFcf5/hQ+8qaR1CLE1tQvbyaKmN5UReyY1mMmioqvujOoof3/wYkRigfi\n1koWN4S/kVfIJkh0lOi/zpYbfIa8N9eYfE4rp0GaEKuE0T7VcLMK0MdlUUx+\nQpNv\r\n=arFd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCgUQ533medazdlokkOt0N+er0W8MVz38mch7G4WxZxtgIhAObKigWU2PR3t5RSlMJtm5AFK1SycAoZRLISsH+pwnm8"}]},"maintainers":[{"name":"bahrus","email":"anderson.bruce.b@gmail.com"}],"_npmUser":{"name":"bahrus","email":"anderson.bruce.b@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bi-st_0.0.3_1546194213070_0.41753978015274495"},"_hasShrinkwrap":false},"0.0.4":{"name":"bi-st","version":"0.0.4","description":"Provide declarative binding of DOM/Custom Elements to history.state","main":"bi-st.js","module":"bi-st.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/bahrus/bi-st.git"},"dependencies":{"xtal-latx":"0.0.88","xtal-state":"0.0.67"},"devDependencies":{"@webcomponents/webcomponentsjs":"2.2.1","jiife":"0.0.11","tape":"4.9.2","@types/tape":"4.2.33","xtal-test":"0.0.10"},"author":{"name":"bahrus","email":"anderson.bruce.b@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/bahrus/bi-st/issues"},"homepage":"https://github.com/bahrus/bi-st#readme","keywords":["history.state","two-way binding"],"licenseText":"MIT License\n\nCopyright (c) 2018 Bruce B. Anderson\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"bi-st@0.0.4","dist":{"shasum":"e4227f2e9e188d21c1920f4a90944087d3f5b49f","tarball":"https://registry.npmjs.org/bi-st/-/bi-st-0.0.4.tgz","integrity":"sha512-pfre1YZyOqFBELBVjY0BqoKL4dMIXLVWD4Z725emMv79hgj4RQ/hIPaU3fH/J1ApiAtI9MDaCbcgfRR+stD7yA==","fileCount":20,"unpackedSize":111323,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcKjLJCRA9TVsSAnZWagAAHncQAIBvZpdStN5W6j18bXE3\nUYkOq1jen5oqeUiaSjR0uThuDORn2olfSuXYsIJpXFidHKxFOUTQwwXoidhI\no2NFb9+5KpCJWV472gjCHg///L3xgabPza5CT4ok09/MIoPHdjn0y+w2Y1w5\nXSDAWZaj1dfhtOjihuSZWnrh0eMUauDEFGG+21RXc3eFw+TKc8e0KViXqABK\nYz9gBqy67HPxPODT8/lDf3xurKoVp7D1ZnED/HDvhBJnrvQY+xOJXMH+oajD\nvZSPIDTthHCeOr4da5sUKIhfL54P6FBCwp4CU1lUks/k+m735NBNhBInrakF\nNXsTsZ5VjeEcYdqKnwrVBgJ9X0Oa7vnd2qa8qQP0e0hlyDCJZCHhRJaehnpV\n4OjbvpISQvrjtTy7NN3Yfqej/MY/ZEkBoDbDqCp9tAwPXFmq0eL4js5NdvZn\nX0P1t5yRxiryqd2UCXLI73hock/oyfskr5OUAfGrkENp+JteaeWYmqK9SSBQ\nW+zQtsSojCFAGVglvFz10/4tnf+mGkgZ+B+L1nhsBSGfk00gEM8topBnUMh3\nzYbKaFN8qZNDx7Pa3ECkZk3CuH8CW9KEPJ193ze2oyaZl+wmTUnGCT4zp79f\neKT3mpQqznC3MCo++4ZAT3zkfxRTCgarYo20XUELoU8QphVb+i1ZKOPf8ZUw\nxwvX\r\n=yFWV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEDaWY6LsAbj2mKR39gfD96DGt6zw90XevspI/wnW5pZAiB0WECXqmhuK0ynZ8TX23tpEq4s2orIdYWEoyTsQzMIrA=="}]},"maintainers":[{"name":"bahrus","email":"anderson.bruce.b@gmail.com"}],"_npmUser":{"name":"bahrus","email":"anderson.bruce.b@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bi-st_0.0.4_1546269384903_0.17197701377169206"},"_hasShrinkwrap":false},"0.0.5":{"name":"bi-st","version":"0.0.5","description":"Provide declarative binding of DOM/Custom Elements to history.state","main":"bi-st.js","module":"bi-st.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/bahrus/bi-st.git"},"dependencies":{"xtal-state":"0.0.84","xtal-element":"0.0.58","trans-render":"0.0.110"},"devDependencies":{"@webcomponents/webcomponentsjs":"2.2.10","jiife":"0.0.12","tape":"4.10.1","@types/tape":"4.2.33","xtal-test":"0.0.13"},"author":{"name":"bahrus","email":"anderson.bruce.b@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/bahrus/bi-st/issues"},"homepage":"https://github.com/bahrus/bi-st#readme","keywords":["history.state","two-way binding"],"licenseText":"MIT License\n\nCopyright (c) 2018 Bruce B. Anderson\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"bi-st@0.0.5","dist":{"shasum":"4b82a0d082f9a22926069bb514c0d551bb61ac76","tarball":"https://registry.npmjs.org/bi-st/-/bi-st-0.0.5.tgz","integrity":"sha512-WPeWiso3a5GfgwhUfHlVq+eRCE7DGv9HK5DMMOIm++b99QgxRxEqkVl7UEiXpPu9bUBzHZza3fpTy29TTdJzyA==","fileCount":20,"unpackedSize":115666,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcwfnVCRA9TVsSAnZWagAAneAP/RPP7RjNVcCtsmp9m43b\nL/I2MgUBYGr5LGX4sId0sZw/RNWKQBpAQmBtPuYLMhr+M8C8ZT02qBeIUlDB\nrHf/LJFBQ7dpg587xKI2uqK1VAsTBCYcHT58GM0OtX8DAtlvQ6AK3XUbKARh\nglI8MC2WMCVIR8RtqgcE93OJwU2awQqfHLRSJoihzmaiileDsaRIIqM67kvA\nRYavp/i5Xx3JeTGj7AWkjT99IUJIRnsRGLICBBtzq3w1vv79SKxJdB5i4yoZ\n2mVMAQ5VB501fBQPnBdaWoiDiA86xrtOGrFnZWezFf26U38pmvlRmhEBx6xx\nQvnQJ7SLhcz6KNwh7tVHyH4eXAnK2ESDeyCJdSw4k39NPtIo4mX6/nG+wSQj\nMPtmY6E9ST2WSs9/PWM9Eca7XHFfF2FvGbj/KB1yyl8/lFBLoXpUBNvWBnK+\n1z10L2O6tMyuV2sNQsqEI3pyR7ovf+nJ0rc78JbCdCGu6kqBWGRlZjyozNzk\n4qc/kotXFya/gvYcnBgf6OlGZJXap1T0GtI0mggUEFYBaUZgBjB4NIsIAYrQ\nqmUcHzVVG77D4pmRdj+J78ZwcYiK3NYB96cdqYv9Nha0Hrg/kakcxR4Q1ST7\nCmFi6sF7jiAtAScU5jquf3Z2ABaBHATPu52osEPLD0GuYdS7CkTjiyM9Ohka\nm811\r\n=oOLG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICKni5Rb3e/I3WcJCJjt83sSFTwGTqXA1rTTIi/X0AOGAiA+Xvj42fKuN73BiRLKu18XZsX10nKphwk6yPfcmUH52A=="}]},"maintainers":[{"name":"bahrus","email":"anderson.bruce.b@gmail.com"}],"_npmUser":{"name":"bahrus","email":"anderson.bruce.b@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bi-st_0.0.5_1556216275850_0.9936014594562479"},"_hasShrinkwrap":false},"0.0.6":{"name":"bi-st","version":"0.0.6","description":"Provide declarative binding of DOM/Custom Elements to history.state","main":"bi-st.js","module":"bi-st.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/bahrus/bi-st.git"},"dependencies":{"xtal-state":"0.0.84","xtal-element":"0.0.58","trans-render":"0.0.110"},"devDependencies":{"@webcomponents/webcomponentsjs":"2.2.10","jiife":"0.0.12","tape":"4.10.1","@types/tape":"4.2.33","xtal-test":"0.0.13"},"author":{"name":"bahrus","email":"anderson.bruce.b@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/bahrus/bi-st/issues"},"homepage":"https://github.com/bahrus/bi-st#readme","keywords":["history.state","two-way binding"],"licenseText":"MIT License\n\nCopyright (c) 2018 Bruce B. Anderson\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"bi-st@0.0.6","dist":{"shasum":"0d1c32885a7e88d4218a6d77d95b1600bf499c7b","tarball":"https://registry.npmjs.org/bi-st/-/bi-st-0.0.6.tgz","integrity":"sha512-6dteuoRIO0sPX4rV7nsfeiCXkj+7Sd+W/JgLVRvCfiuAUDQR444axZY2bC/PRhZvXZ6Cgo+BTiumrkN4IjuDEA==","fileCount":20,"unpackedSize":116024,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcwgFPCRA9TVsSAnZWagAAvQcP/Akk5l8gXh68SXXAPQtJ\nfKyI3byo57G7vdkNeGt2GwTI8/Rq/AVMpQzpZ7vb/+llZN/Bmtv1CEXf7yZ/\nTxmvKNhpfcklfW1JbIm454SOF4eT0J8CPuUoJ3aoseWG9UyhJkZ7VV1ixllR\nKXhBoyYTCEu/Lt8xg2xCg1Qv9rBzQxlSC4CESquR9pmGGOmtNpaspLj2hbaJ\nAwec+XA+TdIlf/QLgPAfv9+AC/VOc+UsCF1ZPnY0b05vlCMUQtIBeNUTWGAq\n14gSGV0EmfDokXLKymRqycTtx/0JgzRrMC+fHFOuNuYwctuRPfexTlG5hbPy\nSZoS3pGMNBxg8JprnSL5SovA9vO9TLssqv2feLbCwuCFe+ZKVjJvfF03XiHd\nuTh7U7vF2jvLGsNy/X7gvl+pyLtp6WD2XdEG0DPXcp86vjfIWXWl+lSUsEcq\nzm+HNCvl2a+aUKqgtBDjASXGDddKzfKZNczAY3AKl5GTx+ZWMA5UA7CE1Dnz\nyhz3HKEtgSYmwzXo8QCVa57rb8YcxZjcpO2JTgYVi4dY8Y0WqY7cP/Xycg48\nL6yLpUbTDEf5Nq7+GGadEM0KP6rlLAMtBPokyOWl3LKxcaYUKnblAaWow0px\nEXATXCIdHIebXajEHL+z1chKt5aHHRGIeNnDI/ewMNn6hYuImHpEIcXTPHp7\n93Zh\r\n=WXG0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEGb6akws3n+FsJTGFCJcTGl4BxRxnLR4l1NSdLFLL1RAiAkmaawLn7JldFZO7UIjGj03//KidHoB25/TSZ4o+WQTQ=="}]},"maintainers":[{"name":"bahrus","email":"anderson.bruce.b@gmail.com"}],"_npmUser":{"name":"bahrus","email":"anderson.bruce.b@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bi-st_0.0.6_1556218190693_0.5685771878633792"},"_hasShrinkwrap":false},"0.0.7":{"name":"bi-st","version":"0.0.7","description":"Provide declarative binding of DOM/Custom Elements to history.state","main":"bi-st.js","module":"bi-st.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","serve":"node node_modules/xtal-test/serve.js"},"repository":{"type":"git","url":"git+https://github.com/bahrus/bi-st.git"},"dependencies":{"xtal-state":"0.0.85","xtal-element":"0.0.59","trans-render":"0.0.111"},"devDependencies":{"@webcomponents/webcomponentsjs":"2.2.10","jiife":"0.0.12","tape":"4.10.1","@types/tape":"4.2.33","xtal-test":"0.0.18"},"author":{"name":"bahrus","email":"anderson.bruce.b@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/bahrus/bi-st/issues"},"homepage":"https://github.com/bahrus/bi-st#readme","keywords":["history.state","two-way binding"],"licenseText":"MIT License\n\nCopyright (c) 2018 Bruce B. Anderson\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"bi-st@0.0.7","dist":{"shasum":"b749cd21077cdb3dd6042b0537303ea65330a897","tarball":"https://registry.npmjs.org/bi-st/-/bi-st-0.0.7.tgz","integrity":"sha512-K3UZQmVvBWttvdhzfEdXF1DDPECANhUXoK96Viw5zmrFNQNrPakeLQHS+B0pBOz829gKZDlkILupcyA1mv9EoQ==","fileCount":21,"unpackedSize":117244,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc2L68CRA9TVsSAnZWagAALM4P+QCG2Tkftn+iUnxWgHEa\n9Wl+Q9KZblTDeXAZOXAM1cGBRwPEK+F9EvkxnbjD89qO/y1yDKDWfClgc2Pw\nOQAB3kE5vS1f3HNPUkZle52FhZJNvqaED79UALdnQS7Tq8u1il78ODLMuODg\n/Td4BNMaVI5NHqWJ9IVOEVID+T8EqmU0p9xpslzdx60IHAXwbPwDko/KIZ2+\nYANxkHWQyVaQHwQxup5CEso+df2MJdFK4Zpdfq3VQ75PgTdqFMXSWf6whAMe\nZxEUsGDORNwA4ipDiFRUtcGCHLksKvBwEKeNuMZWp2We5WFJD46qYbgSpE8N\nn+ZMaxcMvQGht8regcjFCHzkB1h6pCsB7eyLW0Be6Q03ktvRbyEC9pJqvMxb\nWONu6JxlK2wWQ5Kwif4ANkG6FUd16xjbB+lVPZRQWpRQW6nfkKBieKVwwrrj\nccLg/KKU7aLul0aK6Jki/d1cOxpbMF58X79IKCJdDenO9b9te6j8XCv6GjXf\n+qKIsveNjehXLg5BF1cbzwW2PKqKBXrm5FiKXslutLVR7t3Og56umRuf2MlI\nRzJLQaq+lOIsMxI9rN28HXXvMxYEy2yLHcOW4HUClpP/Y6W1JZHG6+7Or01C\nyUiBVUUHQiWmOsPJgIku1kxEndlTCG8Js66TYh//6Rtf7lcEgAUdJiAfdFmc\n9Ums\r\n=9TBE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDCudn6u7Y/2axMS+FsTbZ/whnOdC58ffAFj65rCRXcZgIhAILqZTmU8RisxzVjq1J6lEcI1KAwtrBVZsvgHQFIOG2A"}]},"maintainers":[{"name":"bahrus","email":"anderson.bruce.b@gmail.com"}],"_npmUser":{"name":"bahrus","email":"anderson.bruce.b@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bi-st_0.0.7_1557708476351_0.9472104541533743"},"_hasShrinkwrap":false}},"time":{"created":"2018-10-30T16:28:11.052Z","0.0.0":"2018-10-30T16:28:11.142Z","modified":"2022-04-11T17:42:59.442Z","0.0.1":"2018-11-03T23:08:44.137Z","0.0.2":"2018-12-30T18:15:54.719Z","0.0.3":"2018-12-30T18:23:33.374Z","0.0.4":"2018-12-31T15:16:25.032Z","0.0.5":"2019-04-25T18:17:56.081Z","0.0.6":"2019-04-25T18:49:50.824Z","0.0.7":"2019-05-13T00:47:56.472Z"},"maintainers":[{"name":"bahrus","email":"anderson.bruce.b@gmail.com"}],"description":"Provide declarative binding of DOM/Custom Elements to history.state","homepage":"https://github.com/bahrus/bi-st#readme","repository":{"type":"git","url":"git+https://github.com/bahrus/bi-st.git"},"author":{"name":"bahrus","email":"anderson.bruce.b@gmail.com"},"bugs":{"url":"https://github.com/bahrus/bi-st/issues"},"license":"MIT","readme":"[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/bi-st)\n\n<a href=\"https://nodei.co/npm/bi-st/\"><img src=\"https://nodei.co/npm/bi-st.png\"></a>\n\n<img src=\"https://badgen.net/bundlephobia/minzip/bi-st\">\n\n# bi-st\n\nbi-st **bi**nds elements to the window.history.**st**ate object.  Its purpose is to take the long, drawn-out 99% unambiguously unidirectional markup [seen here](https://github.com/bahrus/purr-sist#example-a1----time-travel-support-aka-back-button), and roll it up into a nice compact sushi roll.  To help visualize this analogy, see Figure 1 below.  \n\n![](https://media.giphy.com/media/RO023EYTyk5yg/giphy.gif \"Figure 1\")\n\n\n**Figure 1**\n\n\nWhat we get is more compact and more flexible, which is good, but less clearly unidirectional, and a little less declarative, which, in my book, is not so good.  \n\n## Syntax:\n\nThe syntax for binding a UI element is shown below.\n\n```html\n<input data-st=\"draft.key\">\n\n<bi-st level=\"global\"><script nomodule>\n({\n    '[data-st]':{\n        onPopState: ({bist, el}) =>{\n            el.value = bist.pullFromPath(el.dataset.st, 'Volt ikh mit dir gefloygn vu du vilst');\n        },\n        on:{\n            input: ({event, bist}) => bist.merge(event.target.dataset.st, event.target.value, 'push');\n        }\n    }\n})\n</script></bi-st>\n<p-d on=\"sync-history\" to=\"{histEvent:detail.value}\"></p-d>\n<purr-sist write></purr-sist>\n```\n\nThe demo shown [here](https://bahrus.github.io/bi-st-demos/index.html) does the following:\n\n1.  Allows the user to enter arbitary key value pairs into an object.\n2.  The data the user enters is put into history.state.\n3.  History.state is persisted to a remote datastore.\n\nThe total number of lines of markup is [only slightly fewer](https://bahrus.github.io/bi-st-demos/index.htm) than the example shown [here (view source)](https://bahrus.github.io/purr-sist-demos/Example3.html), that does the same thing without the benefit of this component.  In particular, the number of lines drops from 129 lines to 110 lines.  \n\n\nHowever, as a page increases in complexity, with large numbers of UI elements, this component should help significantly reduce the amount of boilerplate.  Markup shown below.\n\n##  What's so great about history.state?\n\nOne of the trappings of a component library, like Vueactulitymber, is that each such library ships with a state manager / render binding.  But what if you want to combine components together using different libraries?  A tempting choice is to say \"use Redux, or MobX, or RxJs, or CycleJS\" to unify the state management.  But this tends to enforce a \"library / framework\" choice of its own.  For small applications / teams this may be fine, but what if you are working with a large application, that spans multiple generations of component libraries, involving loosely coupled teams?\n\nWhy not use the platform, and utilize something that will forevermore (?) ship with every browser?  That supports time travel, and routing?\n\nIt should be noted that AMP components (like amp-bind) seem to ba based on the same principle.\n\n\n```html\n<!DOCTYPE html>\n<html lang=\"en\">\n\n<head>\n    <meta charset=\"UTF-8\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n    <meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">\n    <title>Example 1</title>\n</head>\n\n<body>\n    <div style=\"display:flex;flex-direction: column\">\n\n        <!-- Parse the address bar -->\n        <xtal-state-parse disabled=\"3\" parse=\"location.href\" level=\"global\" \n            with-url-pattern=\"id=(?<storeId>[a-z0-9-]*)\">\n        </xtal-state-parse>\n\n        <!-- If no id found in address bar, \"pass-down (p-d)\" message to purr-sist-myjson writer \n            and xtal-state-update history initializer  to  create a new record (\"session\") \n            in both history and remote store -->\n        <p-d on=\"no-match-found\" to=\"purr-sist-myjson[write],xtal-state-update[init]\" prop=\"new\" val=\"target.noMatch\" m=\"2\" skip-init></p-d>\n\n        <!-- If id found in address bar, pass it to \n            the persistence reader if history is null -->\n        <p-d on=\"match-found\" if=\"[data-history-was-null]\" to=\"purr-sist-myjson[read]\" prop=\"storeId\" val=\"target.value.storeId\" m=\"1\" skip-init></p-d>\n\n        <!-- If id found in address bar, pass it to the \n            persistence writer whether or not history is null -->\n        <p-d on=\"match-found\" to=\"purr-sist-myjson[write]\" prop=\"storeId\" \n            val=\"target.value.storeId\" m=\"1\" skip-init></p-d>\n\n       <!-- Read stored history.state from remote database if \n            id found in address bar and history starts out null -->\n        <purr-sist-myjson read disabled></purr-sist-myjson>\n\n        <!-- If persisted history.state found, repopulate history.state-->\n        <p-d on=\"value-changed\" to=\"history\" prop=\"target.value\"></p-d>\n        <xtal-state-update init rewrite level=\"global\"></xtal-state-update>\n\n        <!-- ==========================  UI Input Fields ===================================-->\n        <!-- Manage binding between global history.state and UI elements -->\n        <bi-st disabled id=\"bist\" level=\"global\" url-search=\"(?<store>(.*?))\" replace-url-value=\"?id=$<store>\"><script nomodule >({\n            '[data-st]': {\n                onPopState: (bist, el) => {\n                    el.value = bist.pullFromPath(el.dataset.st, el.value);\n                },\n                on: {\n                    input: (event, bist ) => bist.merge(event.target.dataset.st, event.target.value, 'push'),\n                }\n            },\n            '[insert]':{\n                on:{\n                    click: (event, bist) => bist.merge('submitted', event.target.obj, 'push'),\n                }\n            }\n        })</script></bi-st>\n        <p-d on=\"history-changed\" to=\"purr-sist-myjson\" prop=\"newVal\" val=\"target.value\" m=\"1\"></p-d>\n\n        <!-- Add a new key (or replace existing one) -->\n        <input type=\"text\" disabled placeholder=\"key\" data-st=\"draft.key\">\n        <!-- Pass key to aggregator that creates key / value object -->\n        <p-d on=\"input\" to=\"aggregator-fn\" prop=\"key\" val=\"target.value\" m=\"1\"></p-d>\n\n        <!-- Edit (JSON) value -->\n        <textarea disabled placeholder=\"value (JSON optional)\" data-st=\"draft.value\"></textarea>\n        <!-- Pass (JSON) value to key / value aggregator -->\n        <p-d on=\"input\" prop=\"val\" val=\"target.value\"></p-d>\n        <!-- ============================  End UI Input fields =============================== -->\n\n        <!-- Combine key / value fields into one object -->\n        <aggregator-fn><script nomodule>\n            fn = ({ key, val }) => {\n                if (key === undefined || val === undefined) return null;\n                try {\n                    return { [key]: JSON.parse(val) };\n                } catch (e) {\n                    return { [key]: val };\n                }\n            }\n        </script></aggregator-fn>\n        <!-- Pass Aggregated Object to button's \"obj\" property -->\n        <p-d on=\"value-changed\" to=\"button\" prop=\"obj\" val=\"target.value\" m=\"1\"></p-d>\n\n        <button insert>Insert Key/Value pair</button>        \n\n        <!-- Persist history.state to remote store-->\n        <purr-sist-myjson write></purr-sist-myjson>\n\n        <!-- Pass store ID up one element so xtal-state-update knows how to update the address bar -->\n        <p-u on=\"new-store-id\" to=\"bist\" prop=\"url\"></p-u>\n\n        <!-- Pass persisted object to JSON viewer -->\n        <p-d on=\"value-changed\" prop=\"input\"></p-d>\n        <xtal-json-editor options=\"{}\" height=\"300px\"></xtal-json-editor>\n\n        <!-- Reload window to see if changes persist -->\n        <button onclick=\"window.location.reload()\">Reload Window</button>\n\n        <script src=\"https://cdn.jsdelivr.net/npm/@webcomponents/webcomponentsjs/webcomponents-loader.js\"></script>\n        <script type=\"module\" src=\"https://cdn.jsdelivr.net/npm/purr-sist@0.0.36/dist/purr-sist-myjson.iife.js\"></script>\n        <script type=\"module\" src=\"https://cdn.jsdelivr.net/npm/p-d.p-u@0.0.100/dist/p-all.iife.js\"></script>\n        <script type=\"module\" src=\"https://cdn.jsdelivr.net/npm/xtal-json-editor@0.0.29/xtal-json-editor.js\"></script>\n        <script type=\"module\" src=\"https://cdn.jsdelivr.net/npm/aggregator-fn@0.0.15/dist/aggregator-fn.iife.js\"></script>\n        <script type=\"module\" src=\"https://cdn.jsdelivr.net/npm/xtal-state@0.0.67/dist/xtal-state-update.iife.js\"></script>\n        <script type=\"module\" src=\"https://cdn.jsdelivr.net/npm/xtal-state@0.0.67/dist/xtal-state-parse.iife.js\"></script>\n        <script type=\"module\" src=\"https://cdn.jsdelivr.net/npm/bi-st@0.0.2/dist/bi-st.iife.js\"></script>\n    </div>\n</body>\n</html>\n```","readmeFilename":"README.md","keywords":["history.state","two-way binding"]}