diff --git a/маджонг_2.0.0.html b/маджонг_2.0.0.html
index f2e54b1..dc61f61 100644
--- a/маджонг_2.0.0.html
+++ b/маджонг_2.0.0.html
@@ -180,7 +180,7 @@ var murom = муром;
[
"игра.реакции",
-"Ly8gLy8gLy8gLy8KCmZ1bmN0aW9uINCf0L7QutCw0LfQsNGC0YzQodGE0LXRgNGDKNC80LjRgCkKewogICAgdGhpcy7QuNGB0L/QvtC70L3QuNGC0YwgPSBmdW5jdGlvbigpCiAgICB7CiAgICAgICAgdmFyINGE0L7RgNC80LAgPSBuZXcgVEhSRUUuU3BoZXJlQnVmZmVyR2VvbWV0cnkoMC4xLCAzMiwgMzIpOwogICAgICAgIHZhciDRgdGE0LXRgNCwID0gbmV3IFRIUkVFLk1lc2go0YTQvtGA0LzQsCk7CiAgICAgICAgdmFyINC60L7RgNC10L3RjCA9INC80LjRgC7RgdC+0YHRgtC+0Y/QvdC40LVbItC60L7RgNC10L3RjCJdOwogICAgICAgINC60L7RgNC10L3RjC5hZGQo0YHRhNC10YDQsCk7CiAgICB9Owp9CgovLyAvLyAvLyAvLwoKZnVuY3Rpb24g0J/QvtC00LPQvtGC0L7QstC40YLRjNCh0YbQtdC90YMo0LzQuNGAKQp7CiAgICB0aGlzLtC40YHQv9C+0LvQvdC40YLRjCA9IGZ1bmN0aW9uKCkKICAgIHsKICAgICAgICDQvNC40YAu0YHQvtGB0YLQvtGP0L3QuNC1WyLQutCw0LzQtdGA0LAiXS5wb3NpdGlvbi56ID0gMTA7CiAgICAgICAgLy8g0KHQvtC30LTQsNGR0Lwg0LjRgdGC0L7Rh9C90LjQuiDRgdCy0LXRgtCwLgogICAgICAgIHZhciDRgdCy0LXRgiA9IG5ldyBUSFJFRS5EaXJlY3Rpb25hbExpZ2h0KDB4ZmZmZmZmLCAxKTsKICAgICAgICDRgdCy0LXRgi5wb3NpdGlvbi5zZXQoLTAuNSwgMC41LCAxKS5ub3JtYWxpemUoKTsKICAgICAgICB2YXIg0YHRhtC10L3QsC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SDRgdGE0LXRgCI6IFtdLAogICAgfSk7CiAgICAKICAgIHRoaXMu0LjRgdC/0L7Qu9C90LjRgtGMID0gZnVuY3Rpb24oKQogICAgewogICAgICAgINC80LjRgC7RgdC+0YHRgtC+0Y/QvdC40LVbItGD0LvQsNCy0LvQuNCy0LDRgtC10LvRjCJdID0gbmV3IFRIUkVFLlJheWNhc3RlcigpOwogICAgICAgIHRoaXMu0L7RgtGB0LvQtdC20LjQstCw0YLRjNCd0LDRgdGC0L7Qu9C60LgoKTsKICAgICAgICB0aGlzLtC+0YLRgdC70LXQttC40LLQsNGC0YzQnNC+0LHQuNC70LrQuCgpOwogICAgfTsKICAgIHRoaXMu0L7RgtGB0LvQtdC20LjQstCw0YLRjNCd0LDRgdGC0L7Qu9C60LggPSBmdW5jdGlvbigpCiAgICB7CiAgICAgICAgdmFyIHNlbGYgPSB0aGlzOwogICAgICAgIHdpbmRvdy5hZGRFdmVudExpc3RlbmVyKAogICAgICAgICAgICAiY2xpY2siLAogICAgICAgICAgICBmdW5jdGlvbijRgdC+0LHRi9GC0LjQtSkgewogICAgICAgICAgICAgICAgdmFyINC/0L7Qt9C40YbQuNGPID0gbmV3IFRIUkVFLlZlY3RvcjIoKTsKICAgICAgICAgICAgICAgINC/0L7Qt9C40YbQuNGPLnggPSAo0YHQvtCx0YvRgtC40LUuY2xpZW50WCAvIHdpbmRvdy5pbm5lcldpZHRoKSAqIDIgLSAxOwogICAgICAgICAgICAgICAg0L/QvtC30LjRhtC40Y8ueSA9IC0gKNGB0L7QsdGL0YLQuNC1LmNsaWVudFkgLyB3aW5kb3cuaW5uZXJIZWlnaHQpICogMiArIDE7CiAgICAgICAgICAgICAgICBzZWxmLtCy0YvQsdGA0LDRgtGMKNC/0L7Qt9C40YbQuNGPKTsKICAgICAgICAgICAgfQogICAgICAgICk7CiAgICB9OwogICAgdGhpcy7QvtGC0YHQu9C10LbQuNCy0LDRgtGM0JzQvtCx0LjQu9C60LggPSBmdW5jdGlvbigpCiAg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0b3IyKCk7CiAgICAgICAgICAgICAgICDQv9C+0LfQuNGG0LjRjy54ID0gKNGB0L7QsdGL0YLQuNC1LmNsaWVudFggLyB3aW5kb3cuaW5uZXJXaWR0aCkgKiAyIC0gMTsKICAgICAgICAgICAgICAgINC/0L7Qt9C40YbQuNGPLnkgPSAtICjRgdC+0LHRi9GC0LjQtS5jbGllbnRZIC8gd2luZG93LmlubmVySGVpZ2h0KSAqIDIgKyAxOwogICAgICAgICAgICAgICAgc2VsZi7QstGL0LHRgNCw0YLRjCjQv9C+0LfQuNGG0LjRjyk7CiAgICAgICAgICAgIH0KICAgICAgICApOwogICAgfTsKICAgIHRoaXMu0L7RgtGB0LvQtdC20LjQstCw0YLRjNCc0L7QsdC40LvQutC4ID0gZnVuY3Rpb24oKQogICAgewogICAgICAgIHZhciBzZWxmID0gdGhpczsKICAgICAgICB3aW5kb3cuYWRkRXZlbnRMaXN0ZW5lcigKICAgICAgICAgICAgInRvdWNoc3RhcnQiLAogICAgICAgICAgICBmdW5jdGlvbijRgdC+0LHRi9GC0LjQtSkgewogICAgICAgICAgICAgICAgdmFyINC/0L7Qt9C40YbQuNGPID0gbmV3IFRIUkVFLlZlY3RvcjIoKTsKICAgICAgICAgICAgICAgINC/0L7Qt9C40YbQuNGPLnggPSAo0YHQvtCx0YvRgtC40LUudG91Y2hlc1swXS5jbGllbnRYIC8gd2luZG93LmlubmVyV2lkdGgpICogMiAtIDE7CiAgICAgICAgICAgICAgICDQv9C+0LfQuNGG0LjRjy55ID0gLSAo0YHQvtCx0YvRgtC40LUudG91Y2hlc1swXS5jbGllbnRZIC8gd2luZG93LmlubmVySGVpZ2h0KSAqIDIgKyAxOwogICAgICAgICAgICAgICAgc2VsZi7QstGL0LHRgNCw0YLRjCjQv9C+0LfQuNGG0LjRjyk7CiAgICAgICAgICAgIH0KICAgICAgICApOwogICAgICAgIC8vINCY0YHQv9GA0LDQstC70Y/QtdC8INGD0LvQsNCy0LvQuNCy0LDQvdC40LUg0L3Qs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ICAgICAgdmFyINC90L7QvNC10YAgPSB0aGlzLtC90L7QvNC10YDQodGE0LXRgNGLKNGB0YTQtdGA0LAuaWQpOwogICAgICAgICAgICBpZiAo0L3QvtC80LXRgCkKICAgICAgICAgICAgewogICAgICAgICAgICAgICAg0LzQuNGALtGB0L7RgdGC0L7Rj9C90LjQtVsi0L3QvtC80LXRgCDQstGL0LHRgNCw0L3QvdC+0Lkg0YHRhNC10YDRiyJdID0g0L3QvtC80LXRgDsKICAgICAgICAgICAgICAgINC80LjRgC7RgdC+0YHRgtC+0Y/QvdC40LVbItC90L7QvNC10YDQsCDQstGL0LHRgNCw0L3QvdGL0YUg0YHRhNC10YAiXS5wdXNoKNC90L7QvNC10YApOwogICAgICAgICAgICAgICAg0LzQuNGALtGB0L7QsdGL0YLQuNGPWyLQstGL0LHQvtGAIl0u0YPQstC10LTQvtC80LjRgtGMKCk7CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICB9OwogICAgdGhpcy7QvdC+0LzQtdGA0KHRhNC10YDRiyA9IGZ1bmN0aW9uKGlkKQogICAgewogICAgICAgIHZhciDRgdGE0LXRgNGLID0g0LzQuNGALtGB0L7RgdGC0L7Rj9C90LjQtVsi0YHRhNC10YDRiyJdOwogICAgICAgIGZvciAodmFyINC90L7QvNC10YAgaW4g0YHRhNC10YDRiykKICAgICAgICB7CiAgICAgICAgICAgIHZhciDRgdGE0LXRgNCwID0g0YHRhNC10YDRi1vQvdC+0LzQtdGAXTsKICAgICAgICAgICAgaWYgKNGB0YTQtdGA0LAuaWQgPT0gaWQpCiAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgIHJldHVybiDQvdC+0LzQtdGAOwogICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIAogICAgICAgIHJldHVybiBudWxsOwogICAgfTsKfQo=",
{"status":true}
],
@@ -206,16 +206,23 @@ var murom = муром;
],
+[
+"Image_Upload_Preview",
+"",
+{"status":false}
+],
+
+
[
"темы.реакции",
-"ZnVuY3Rpb24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KCLQpNCw0LnQu9GLOiIsIGxvYWRlci5maWxlcyk7CiAgICAgICAgfQogICAgICAgIAogICAgdmFyIGJhciA9IGRvY3VtZW50LmdldEVsZW1lbnRCeUlkKCdqcy1wcm9ncmVzc2JhcicpOwogICAgVUlraXQudXBsb2FkKCcuanMtdXBsb2FkJywgewogICAgICAgIHVybDogJycsCiAgICAgICAgbXVsdGlwbGU6IHRydWUsCgogICAgICAgIGJlZm9yZVNlbmQ6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgY29uc29sZS5sb2coJ2JlZm9yZVNlbmQnLCBhcmd1bWVudHMpOwogICAgICAgIH0sCiAgICAgICAgYmVmb3JlQWxsOiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgIGNvbnNvbGUubG9nKCdiZWZvcmVBbGwnLCBhcmd1bWVudHMpOwogICAgICAgIH0sCiAgICAgICAgbG9hZDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICBjb25zb2xlLmxvZygnbG9hZCcsIGFyZ3VtZW50cyk7CiAgICAgICAgfSwKICAgICAgICBlcnJvcjogZnVuY3Rpb24gKCkgewogICAgICAgICAgICBjb25zb2xlLmxvZygnZXJyb3InLCBhcmd1bWVudHMpOwogICAgICAgIH0sCiAgICAgICAgY29tcGxldGU6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgY29uc29sZS5sb2coJ2NvbXBsZXRlJywgYXJndW1lbnRzKTsKICAgICAgICB9LAoKICAgICAgICBsb2FkU3RhcnQ6IGZ1bmN0aW9uIChlKSB7CiAgICAgICAgICAgIGNvbnNvbGUubG9nKCdsb2FkU3RhcnQnLCBhcmd1bWVudHMpOwoKICAgICAgICAgICAgYmFyLnJlbW92ZUF0dHJpYnV0ZSgnaGlkZGVuJyk7CiAgICAgICAgICAgIGJhci5tYXggPSBlLnRvdGFsOwogICAgICAgICAgICBiYXIudmFsdWUgPSBlLmxvYWRlZDsKICAgICAgICB9LAoKICAgICAgICBwcm9ncmVzczogZnVuY3Rpb24gKGUpIHsKICAgICAgICAgICAgY29uc29sZS5sb2coJ3Byb2dyZXNzJywgYXJndW1lbnRzKTsKCiAgICAgICAgICAgIGJhci5tYXggPSBlLnRvdGFsOwogICAgICAgICAgICBiYXIudmFsdWUgPSBlLmxvYWRlZDsKICAgICAgICB9LAoKICAgICAgICBsb2FkRW5kOiBmdW5jdGlvbiAoZSkgewogICAgICAgICAgICBjb25zb2xlLmxvZygnbG9hZEVuZCcsIGFyZ3VtZW50cyk7CiAgICAgICAgICAgIGNvbnNvbGUubG9nKCd2YWx1ZScsIGUubG9hZGVkKTsKCiAgICAgICAgICAgIGJhci5tYXggPSBlLnRvdGFsOwogICAgICAgICAgICBiYXIudmFsdWUgPSBlLmxvYWRlZDsKICAgICAgICB9LAoKICAgICAgICBjb21wbGV0ZUFsbDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICBjb25zb2xlLmxvZygnY29tcGxldGVBbGwnLCBhcmd1bWVudHMpOwoKICAgICAgICAgICAgc2V0VGltZW91dChmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICBiYXIuc2V0QXR0cmlidXRlKCdoaWRkZW4nLCAnaGlkZGVuJyk7CiAgICAgICAgICAgIH0sIDEwMDApOwoKICAgICAgICAgICAgY29uc29sZS5sb2coJ1VwbG9hZCBDb21wbGV0ZWQnKTsKICAgICAgICAgICAg0LLRi9Cy0LXRgdGC0LjQmNC30L7QsdGA0LDQttC10L3QuNGPKCk7CiAgICAgICAgICAgIAogICAgICAgIH0KICAgIH0pOwoKICAgIH07Cn0KCi8vIC8vIC8vIC8vCgpmdW5jdGlvbiDQlNC+0LHQsNCy0LjRgtGM0JrQvtC90YLQtdC50L3QtdGA0JTQu9GP0KLQtdGB0YLQvtCyKNC80LjRgCkKewogICAgdGhpcy7QuNGB0L/QvtC70L3QuNGC0YwgPSBmdW5jdGlvbigpCiAgICB7CiAgICAgICAg0LTQvtCx0LDQstC40YLRjNCt0LrRgNCw0L0oItC60L7QvdGC0LXQudC90LXRgC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m92aWRlZC4uLicgKTsKICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0KCiAgICAgICAgLyoqCiAgICAgICAgICogRmFpbCBpZjoKICAgICAgICAgKiAxLiBJbWFnZSBFbGVtZW50IHByb3ZpZGVkIGlzIGludmFsaWQKICAgICAgICAgKi8KICAgICAgICBpZiggISAkKGltYWdlX2VsZW1lbnQpLmdldCgwKSBpbnN0YW5jZW9mIEhUTUxJbWFnZUVsZW1lbnQgKXsKICAgICAgICAgICAgY29uc29sZS5lcnJvciggJ0ludmFsaWQgSW1hZ2UgRWxlbWVudCBwcm92aWRlZC4uLicgKTsKICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0KCiAgICB9OwoKCiAgICAvKioKICAgICAqIE9ubHkgcHJvY2VlZCBpZiBhbGwgdGhlIHByZWxpbWluYXJ5IGNoZWNrcyBoYXZlIHBhc3NlZAogICAgICovCiAgICBpZiggdGhpcy5pc19zdXBwb3J0ZWQoKSB8fCB0aGlzLnZhbGlkYXRlX2lucHV0cygpICl7CiAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgfQoKCiAgICAvKioKICAgICAqIFNldCB0aGUgZmlsZSBpbnB1dCB0byBvbmx5IGFjY2VwdCBpbWFnZXMKICAgICAqLwogICAgJChmaWxlX2lucHV0KS5hdHRyKCdhY2NlcHQnLCdpbWFnZS8qJyk7CgoKICAgICQoZmlsZV9pbnB1dCkuY2hhbmdlKGZ1bmN0aW9uKCl7CgogICAgICAgIC8qKgogICAgICAgICAqIEZhaWwgaWY6CiAgICAgICAgICogMS4gJ2ZpbGVzJyBkYXRhIGlzIG5vbiBleGlzdGVudAogICAgICAgICAqIDIuICdmaWxlcycgZGF0YSBoYXMgbm8gZGF0YSBpbiBpdAogICAgICAgICAqLwogICAgICAgIGlmKCAhdGhpcy5maWxlcyB8fCB0aGlzLmZpbGVzLmxlbmd0aCA8IDEgKXsKICAgICAgICAgICAgY29uc29sZS5lcnJvcignTm8gZm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C70L3QuNGC0YwgPSBmdW5jdGlvbigpCiAgICB7CiAgICAgICAgdmFyINCy0LLQvtC0ID0gZG9jdW1lbnQuZ2V0RWxlbWVudEJ5SWQoItGC0LXQvNGLLdC30LDQs9GA0YPQt9C40YLRjC3QuNC30L7QsdGA0LDQttC10L3QuNGPIik7CiAgICAgICAgdmFyIHNlbGYgPSB0aGlzOwogICAgICAgINCy0LLQvtC0Lm9uY2hhbmdlID0gZnVuY3Rpb24oKSB7CiAgICAgICAgICAgIHNlbGYu0LfQsNCz0YDRg9C30LjRgtGMKNCy0LLQvtC0LmZpbGVzKTsKICAgICAgICB9OwogICAgfTsKICAgIHRoaXMu0YHQstC+0LHQvtC00L3Ri9C10J/QvtC30LjRhtC40LggPSBmdW5jdGlvbigpCiAgICB7CiAgICAgICAgdmFyINC40LfQviA9INC80LjRgC7RgdC+0YHRgtC+0Y/QvdC40LVbItC40LfQvtCx0YDQsNC20LXQvdC40Y8iXTsKICAgICAgICB2YXIg0L/QvtC30LjRhtC40LggPSBbXTsKICAgICAgICBmb3IgKHZhciDQvdC+0LzQtdGAID0gMDsg0L3QvtC80LXRgCA8IDQyOyArK9C90L7QvNC10YApCiAgICAgICAgewogICAgICAgICAgICBpZiAo0LjQt9C+W9C90L7QvNC10YBdLnNyYykKICAgICAgICAgICAgewogICAgICAgICAgICAgICAgLy8gSG93IHRvIGNoZWNrIGVtcHR5L3VuZGVmaW5lZC9udWxsIHN0cmluZyBpbiBKYXZhU2NyaXB0PwogICAgICAgICAgICAgICAgLy8gaHR0cHM6Ly9zdGFja292ZXJmbG93LmNvbS9hLzE1NDA2OC8zNDA0NzEwCiAgICAgICAgICAgIH0KICAgICAgICAgICAgZWxzZQogICAgICAgICAgICB7CiAgICAgICAgICAgICAgICDQv9C+0LfQuNGG0LjQuC5wdXNoKNC90L7QvNC10YApOwogICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIAogICAgICAgIHJldHVybiDQv9C+0LfQuNGG0LjQuDsKICAgIH07CiAgICB0aGlzLtC30LDQs9GA0YPQt9C40YLRjCA9IGZ1bmN0aW9uKNGE0LDQudC70YspCiAgICB7CiAgICAgICAgdmFyINC/0L7Qt9C40YbQuNC4ID0gdGhpcy7RgdCy0L7QsdC+0LTQvdGL0LXQn9C+0LfQuNGG0LjQuCgpOwogICAgICAgIGZvciAodmFyINC90L7QvNC10YAgPSAwOyDQvdC+0LzQtdGAIDwg0YTQsNC50LvRiy5sZW5ndGg7ICsr0L3QvtC80LXRgCkKICAgICAgICB7CiAgICAgICAgICAgIC8vINCd0LUg0LfQsNCz0YDRg9C20LDQtdC8INC/0YDQuCDQvtGC0YHRg9GC0YHRgtCy0LjQuCDRgdCy0L7QsdC+0LTQvdGL0YUg0L/QvtC30LjRhtC40LkuCiAgICAgICAgICAgIGlmICgh0L/QvtC30LjRhtC40LgubGVuZ3RoKQogICAgICAgICAgICB7CiAgICAgICAgICAgICAgICBjb25zb2xlLndhcm4oItCd0LUg0YXQstCw0YLQsNC10YIg0LTQvtGB0YLRg9C/0L3Ri9GFINC/0L7Qt9C40YbQuNC5INC00LvRjyDQt9Cw0LPRgNGD0LfQutC4INC40LfQvtCx0YDQsNC20LXQvdC40LkiKTsKICAgICAgICAgICAgICAgIHJldHVybjsKICAgICAgICAgICAgfQogICAgICAgICAgICB2YXIg0YTQsNC50LsgPSDRhNCw0LnQu9GLW9C90L7QvNC10YBdOwogICAgICAgICAgICB2YXIg0L/QvtC30LjRhtC40Y8gPSDQv9C+0LfQuNGG0LjQuC5zaGlmdCgpOwogICAgICAgICAgICB0aGlzLtC30LDQs9GA0YPQt9C40YLRjNCk0LDQudC7KNGE0LDQudC7LCDQv9C+0LfQuNGG0LjRjyk7CiAgICAgICAgfQogICAgfTsKICAgIHRoaXMu0LfQsNCz0YDRg9C30LjRgtGM0KTQsNC50LsgPSBmdW5jdGlvbijRhNCw0LnQuywg0L/QvtC30LjRhtC40Y8pCiAgICB7CiAgICAgICAgdmFyINGH0YLQtdGGID0gbmV3IEZ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ogICAgewogICAgICAgIGZ1bmN0aW9uINGN0LvQtdC80LXQvdGCKNC90L7QvNC10YApCiAgICAgICAgewogICAgICAgICAgICB2YXIgaHRtbCA9CiAgICAgICAgICAgICAgICBgCjxkaXY+CiAgICA8ZGl2IGNsYXNzPSJ1ay1jYXJkIHVrLWNhcmQtZGVmYXVsdCB1ay1jYXJkLXNtYWxsIj4KICAgICAgICA8ZGl2IGNsYXNzPSJ1ay1jYXJkLWhlYWRlciB1ay10ZXh0LWNlbnRlciI+CiAgICAgICAgICAgICAgICBgCiAgICAgICAgICAgICAgICArINC90L7QvNC10YAgKwogICAgICAgICAgICAgICAgYAogICAgICAgIDwvZGl2PgogICAgICAgIDxkaXYgY2xhc3M9InVrLWNhcmQtYm9keSI+CiAgICAgICAgICAgIDxpbWcgY2xhc3M9InVrLWhlaWdodC1zbWFsbCB1ay13aWR0aC1zbWFsbCB1ay1hbGlnbi1jZW50ZXIiPgogICAgICAgIDwvZGl2PgogICAgPC9kaXY+CjwvZGl2PgogICAgICAgICAgICAgICAgYDsKICAgICAgICAgICAgcmV0dXJuIGh0bWw7CiAgICAgICAgfQogICAgICAgIHZhciDRjdC70LXQvNC10L3RgtGLID0gIiI7CiAgICAgICAgZm9yICh2YXIg0L3QvtC80LXRgCA9IDE7INC90L7QvNC10YAgPD0gNDI7ICsr0L3QvtC80LXRgCkKICAgICAgICB7CiAgICAgICAgICAgIHZhciDRjdC7ID0g0Y3Qu9C10LzQtdC90YIo0L3QvtC80LXRgCk7CiAgICAgICAgICAgINGN0LvQtdC80LXQvdGC0YsgKz0g0Y3QuzsKICAgICAgICB9CiAgICAgICAgdmFyIGh0bWwgPQogICAgICAgICAgICBgCjxkaXYgY2xhc3M9InVrLWdyaWQtbWF0Y2ggdWstZ3JpZC1zbWFsbCB1ay1wYWRkaW5nLXNtYWxsIHVrLWNoaWxkLXdpZHRoLTEtMSB1ay1jaGlsZC13aWR0aC0xLTJAbSB1ay1jaGlsZC13aWR0aC0xLTNAbCB1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ICAgICBjb25zb2xlLmxvZygi0KTQsNC50LvRizoiLCBsb2FkZXIuZmlsZXMpOwogICAgICAgIH0KICAgICAgICAKICAgIHZhciBiYXIgPSBkb2N1bWVudC5nZXRFbGVtZW50QnlJZCgnanMtcHJvZ3Jlc3NiYXInKTsKICAgIFVJa2l0LnVwbG9hZCgnLmpzLXVwbG9hZCcsIHsKICAgICAgICB1cmw6ICcnLAogICAgICAgIG11bHRpcGxlOiB0cnVlLAoKICAgICAgICBiZWZvcmVTZW5kOiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgIGNvbnNvbGUubG9nKCdiZWZvcmVTZW5kJywgYXJndW1lbnRzKTsKICAgICAgICB9LAogICAgICAgIGJlZm9yZUFsbDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICBjb25zb2xlLmxvZygnYmVmb3JlQWxsJywgYXJndW1lbnRzKTsKICAgICAgICB9LAogICAgICAgIGxvYWQ6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgY29uc29sZS5sb2coJ2xvYWQnLCBhcmd1bWVudHMpOwogICAgICAgIH0sCiAgICAgICAgZXJyb3I6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgY29uc29sZS5sb2coJ2Vycm9yJywgYXJndW1lbnRzKTsKICAgICAgICB9LAogICAgICAgIGNvbXBsZXRlOiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgIGNvbnNvbGUubG9nKCdjb21wbGV0ZScsIGFyZ3VtZW50cyk7CiAgICAgICAgfSwKCiAgICAgICAgbG9hZFN0YXJ0OiBmdW5jdGlvbiAoZSkgewogICAgICAgICAgICBjb25zb2xlLmxvZygnbG9hZFN0YXJ0JywgYXJndW1lbnRzKTsKCiAgICAgICAgICAgIGJhci5yZW1vdmVBdHRyaWJ1dGUoJ2hpZGRlbicpOwogICAgICAgICAgICBiYXIubWF4ID0gZS50b3RhbDsKICAgICAgICAgICAgYmFyLnZhbHVlID0gZS5sb2FkZWQ7CiAgICAgICAgfSwKCiAgICAgICAgcHJvZ3Jlc3M6IGZ1bmN0aW9uIChlKSB7CiAgICAgICAgICAgIGNvbnNvbGUubG9nKCdwcm9ncmVzcycsIGFyZ3VtZW50cyk7CgogICAgICAgICAgICBiYXIubWF4ID0gZS50b3RhbDsKICAgICAgICAgICAgYmFyLnZhbHVlID0gZS5sb2FkZWQ7CiAgICAgICAgfSwKCiAgICAgICAgbG9hZEVuZDogZnVuY3Rpb24gKGUpIHsKICAgICAgICAgICAgY29uc29sZS5sb2coJ2xvYWRFbmQnLCBhcmd1bWVudHMpOwogICAgICAgICAgICBjb25zb2xlLmxvZygndmFsdWUnLCBlLmxvYWRlZCk7CgogICAgICAgICAgICBiYXIubWF4ID0gZS50b3RhbDsKICAgICAgICAgICAgYmFyLnZhbHVlID0gZS5sb2FkZWQ7CiAgICAgICAgfSwKCiAgICAgICAgY29tcGxldGVBbGw6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgY29uc29sZS5sb2coJ2NvbXBsZXRlQWxsJywgYXJndW1lbnRzKTsKCiAgICAgICAgICAgIHNldFRpbWVvdXQoZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgYmFyLnNldEF0dHJpYnV0ZSgnaGlkZGVuJywgJ2hpZGRlbicpOwogICAgICAgICAgICB9LCAxMDAwKTsKCiAgICAgICAgICAgIGNvbnNvbGUubG9nKCdVcGxvYWQgQ29tcGxldGVkJyk7CiAgICAgICAgICAgINCy0YvQstC10YHRgtC40JjQt9C+0LHRgNCw0LbQtdC90LjRjygpOwogICAgICAgICAgICAKICAgICAgICB9CiAgICB9KTsKCiAgICB9Owp9CgovLyAvLyAvLyAvLwoKZnVuY3Rpb24g0JTQvtCx0LDQstC40YLRjNCa0L7QvdGC0LXQudC90LXRgNCU0LvRj9Ci0LXRgdGC0L7QsijQvNC40YApCnsKICAgIHRoaXMu0LjRgdC/0L7Qu9C90LjRgtGMID0gZnVuY3Rpb24oKQogICAgewogICAgICAgINC00L7QsdCw0LLQuNGC0YzQrdC60YDQsNC9KCLQutC+0L3RgtC10LnQvdC10YAt0LTQu9GPLdGC0LXRgdGC0L7QsiIsICIiLCAiIik7CiAgICB9Cn0K",
{"status":true}
],
[
"темы.последовательность",
-"0L/Rg9GB0Log0YLQtdC8CiAgICDQtNC+0LHQsNCy0LjRgtGMINC60L7QvdGC0LXQudC90LXRgCDQtNC70Y8g0YLQtdGB0YLQvtCyCiAgICDQtNC+0LHQsNCy0LjRgtGMINGB0LLQvtGRCiMgICAg0LTQvtCx0LDQstC40YLRjCDQv9GA0LjQvNC10YAKIyAgICDQtNC+0LHQsNCy0LjRgtGMINC/0LDQvdC10LvRjCDQt9Cw0LPRgNGD0LfQutC4",
+"0L/Rg9GB0Log0YLQtdC8CiMgICAg0LTQvtCx0LDQstC40YLRjCDQutC+0L3RgtC10LnQvdC10YAg0LTQu9GPINGC0LXRgdGC0L7QsgojICAgINC00L7QsdCw0LLQuNGC0Ywg0YHQstC+0ZEKIyAgICDQtNC+0LHQsNCy0LjRgtGMINC/0YDQuNC80LXRgAojICAgINC00L7QsdCw0LLQuNGC0Ywg0L/QsNC90LXQu9GMINC30LDQs9GA0YPQt9C60LgKICAgINC00L7QsdCw0LLQuNGC0Ywg0Y3QutGA0LDQvSDRgtC10LwKICAgINC00L7QsdCw0LLQuNGC0Ywg0YHQtdGC0LrRgwogICAg0L/QvtC00LPQvtGC0L7QstC40YLRjCDQv9C+0LfQuNGG0LjQuCDQuNC30L7QsdGA0LDQttC10L3QuNC5CiAgICDRg9GB0YLQsNC90L7QstC40YLRjCDQt9Cw0LPRgNGD0LfQutGDINC40LfQvtCx0YDQsNC20LXQvdC40Lk=",
{"status":false}
],