test262/website/resources/scripts/testcases/15.4.4.20.json

1 line
280 KiB
JSON

{"testsCollection":{"name":"Chapter - 15.4.4.20","numTests":"220","tests":[{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxNS40LjQuMjAtMC0xIiwKCnBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtMC0xLmpzIiwKCmRlc2NyaXB0aW9uOiAiQXJyYXkucHJvdG90eXBlLmZpbHRlciBtdXN0IGV4aXN0IGFzIGEgZnVuY3Rpb24iLAoKdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgdmFyIGYgPSBBcnJheS5wcm90b3R5cGUuZmlsdGVyOwogIGlmICh0eXBlb2YoZikgPT09ICJmdW5jdGlvbiIpIHsKICAgIHJldHVybiB0cnVlOwogIH0KIH0KfSk7Cg==","id":"15.4.4.20-0-1","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-0-1.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxNS40LjQuMjAtMC0yIiwKCnBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtMC0yLmpzIiwKCmRlc2NyaXB0aW9uOiAiQXJyYXkucHJvdG90eXBlLmZpbHRlci5sZW5ndGggbXVzdCBiZSAxIiwKCnRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogIGlmIChBcnJheS5wcm90b3R5cGUuZmlsdGVyLmxlbmd0aCA9PT0gMSkgewogICAgcmV0dXJuIHRydWU7CiAgfQogfSwKCnByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogIHJldHVybiBmbkV4aXN0cyhBcnJheS5wcm90b3R5cGUuZmlsdGVyKTsKIH0KfSk7Cg==","id":"15.4.4.20-0-2","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-0-2.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS40LjQuMjAtMS0xIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS40LzE1LjQuNC8xNS40LjQuMjAvMTUuNC40LjIwLTEtMS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIGFwcGxpZWQgdG8gdW5kZWZpbmVkIHRocm93cyBhIFR5cGVFcnJvciIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgQXJyYXkucHJvdG90eXBlLmZpbHRlci5jYWxsKHVuZGVmaW5lZCk7IC8vIFR5cGVFcnJvciBpcyB0aHJvd24gaWYgdmFsdWUgaXMgdW5kZWZpbmVkCiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9IGNhdGNoIChleCkgewogICAgICAgICAgICByZXR1cm4gZXggaW5zdGFuY2VvZiBUeXBlRXJyb3I7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoQXJyYXkucHJvdG90eXBlLmZpbHRlcik7CiAgICB9Cn0pOwo=","id":"15.4.4.20-1-1","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-1-1.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTEtMTAiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtMS0xMC5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIGFwcGxpZWQgdG8gdGhlIE1hdGggb2JqZWN0IiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICBmdW5jdGlvbiBjYWxsYmFja2ZuKHZhbCwgaWR4LCBvYmopIHsKICAgICAgICAgICAgcmV0dXJuICdbb2JqZWN0IE1hdGhdJyA9PT0gT2JqZWN0LnByb3RvdHlwZS50b1N0cmluZy5jYWxsKG9iaik7CiAgICAgICAgfQoKICAgICAgICB0cnkgewogICAgICAgICAgICBNYXRoLmxlbmd0aCA9IDE7CiAgICAgICAgICAgIE1hdGhbMF0gPSAxOwogICAgICAgICAgICB2YXIgbmV3QXJyID0gQXJyYXkucHJvdG90eXBlLmZpbHRlci5jYWxsKE1hdGgsIGNhbGxiYWNrZm4pOwogICAgICAgICAgICByZXR1cm4gbmV3QXJyWzBdID09PSAxOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIGRlbGV0ZSBNYXRoWzBdOwogICAgICAgICAgICBkZWxldGUgTWF0aC5sZW5ndGg7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoQXJyYXkucHJvdG90eXBlLmZpbHRlcik7CiAgICB9Cgp9KTsK","id":"15.4.4.20-1-10","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-1-10.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTEtMTEiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtMS0xMS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIGFwcGxpZWQgdG8gRGF0ZSBvYmplY3QiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICAgICAgICBmdW5jdGlvbiBjYWxsYmFja2ZuKHZhbCwgaWR4LCBvYmopIHsKICAgICAgICAgICAgcmV0dXJuIG9iaiBpbnN0YW5jZW9mIERhdGU7CiAgICAgICAgfQoKICAgICAgICB2YXIgb2JqID0gbmV3IERhdGUoKTsKICAgICAgICBvYmoubGVuZ3RoID0gMTsKICAgICAgICBvYmpbMF0gPSAxOwoKICAgICAgICB2YXIgbmV3QXJyID0gQXJyYXkucHJvdG90eXBlLmZpbHRlci5jYWxsKG9iaiwgY2FsbGJhY2tmbik7CgogICAgICAgIHJldHVybiBuZXdBcnJbMF0gPT09IDE7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhBcnJheS5wcm90b3R5cGUuZmlsdGVyKTsKICAgIH0KCn0pOwo=","id":"15.4.4.20-1-11","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-1-11.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTEtMTIiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtMS0xMi5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIGFwcGxpZWQgdG8gUmVnRXhwIG9iamVjdCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIGZ1bmN0aW9uIGNhbGxiYWNrZm4odmFsLCBpZHgsIG9iaikgewogICAgICAgICAgICByZXR1cm4gb2JqIGluc3RhbmNlb2YgUmVnRXhwOwogICAgICAgIH0KCiAgICAgICAgdmFyIG9iaiA9IG5ldyBSZWdFeHAoKTsKICAgICAgICBvYmoubGVuZ3RoID0gMjsKICAgICAgICBvYmpbMV0gPSB0cnVlOwoKICAgICAgICB2YXIgbmV3QXJyID0gQXJyYXkucHJvdG90eXBlLmZpbHRlci5jYWxsKG9iaiwgY2FsbGJhY2tmbik7CiAgICAgICAgcmV0dXJuIG5ld0FyclswXSA9PT0gdHJ1ZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5maWx0ZXIpOwogICAgfQoKfSk7Cg==","id":"15.4.4.20-1-12","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-1-12.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTEtMTMiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtMS0xMy5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIGFwcGxpZWQgdG8gdGhlIEpTT04gb2JqZWN0IiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKCiAgICAgICAgZnVuY3Rpb24gY2FsbGJhY2tmbih2YWwsIGlkeCwgb2JqKSB7CiAgICAgICAgICAgIHJldHVybiAnW29iamVjdCBKU09OXScgPT09IE9iamVjdC5wcm90b3R5cGUudG9TdHJpbmcuY2FsbChKU09OKTsKICAgICAgICB9CgogICAgICAgIHRyeSB7CiAgICAgICAgICAgIEpTT04ubGVuZ3RoID0gMTsKICAgICAgICAgICAgSlNPTlswXSA9IDE7CiAgICAgICAgICAgIHZhciBuZXdBcnIgPSBBcnJheS5wcm90b3R5cGUuZmlsdGVyLmNhbGwoSlNPTiwgY2FsbGJhY2tmbik7CiAgICAgICAgICAgIHJldHVybiBuZXdBcnJbMF0gPT09IDE7CiAgICAgICAgfSBmaW5hbGx5IHsKICAgICAgICAgICAgZGVsZXRlIEpTT04ubGVuZ3RoOwogICAgICAgICAgICBkZWxldGUgSlNPTlswXTsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhBcnJheS5wcm90b3R5cGUuZmlsdGVyKTsKICAgIH0KCn0pOwo=","id":"15.4.4.20-1-13","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-1-13.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKCiAgICBpZDogIjE1LjQuNC4yMC0xLTE0IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS40LzE1LjQuNC8xNS40LjQuMjAvMTUuNC40LjIwLTEtMTQuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQXJyYXkucHJvdG90eXBlLmZpbHRlciBhcHBsaWVkIHRvIEVycm9yIG9iamVjdCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIGZ1bmN0aW9uIGNhbGxiYWNrZm4odmFsLCBpZHgsIG9iaikgewogICAgICAgICAgICByZXR1cm4gb2JqIGluc3RhbmNlb2YgRXJyb3I7CiAgICAgICAgfQoKICAgICAgICB2YXIgb2JqID0gbmV3IEVycm9yKCk7CiAgICAgICAgb2JqLmxlbmd0aCA9IDE7CiAgICAgICAgb2JqWzBdID0gMTsKCiAgICAgICAgdmFyIG5ld0FyciA9IEFycmF5LnByb3RvdHlwZS5maWx0ZXIuY2FsbChvYmosIGNhbGxiYWNrZm4pOwoKICAgICAgICByZXR1cm4gbmV3QXJyWzBdID09PSAxOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoQXJyYXkucHJvdG90eXBlLmZpbHRlcik7CiAgICB9Cgp9KTsK","id":"15.4.4.20-1-14","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-1-14.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTEtMTUiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtMS0xNS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIGFwcGxpZWQgdG8gdGhlIEFyZ3VtZW50cyBvYmplY3QiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICAgICAgICBmdW5jdGlvbiBjYWxsYmFja2ZuKHZhbCwgaWR4LCBvYmopIHsKICAgICAgICAgICAgcmV0dXJuICdbb2JqZWN0IEFyZ3VtZW50c10nID09PSBPYmplY3QucHJvdG90eXBlLnRvU3RyaW5nLmNhbGwob2JqKTsKICAgICAgICB9CgogICAgICAgIHZhciBvYmogPSAoZnVuY3Rpb24gKCkgewogICAgICAgICAgICByZXR1cm4gYXJndW1lbnRzOwogICAgICAgIH0oImEiLCAiYiIpKTsKCiAgICAgICAgdmFyIG5ld0FyciA9IEFycmF5LnByb3RvdHlwZS5maWx0ZXIuY2FsbChvYmosIGNhbGxiYWNrZm4pOwoKICAgICAgICByZXR1cm4gbmV3QXJyWzBdID09PSAiYSIgJiYgbmV3QXJyWzFdID09PSAiYiI7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhBcnJheS5wcm90b3R5cGUuZmlsdGVyKTsKICAgIH0KCn0pOwo=","id":"15.4.4.20-1-15","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-1-15.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS40LjQuMjAtMS0yIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS40LzE1LjQuNC8xNS40LjQuMjAvMTUuNC40LjIwLTEtMi5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIGFwcGxpZWQgdG8gbnVsbCB0aHJvd3MgYSBUeXBlRXJyb3IiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHRyeSB7CiAgICAgICAgICAgIEFycmF5LnByb3RvdHlwZS5maWx0ZXIuY2FsbChudWxsKTsKICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0gY2F0Y2ggKGV4KSB7CiAgICAgICAgICAgIHJldHVybiBleCBpbnN0YW5jZW9mIFR5cGVFcnJvcjsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhBcnJheS5wcm90b3R5cGUuZmlsdGVyKTsKICAgIH0KfSk7Cg==","id":"15.4.4.20-1-2","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-1-2.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTEtMyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuNC8xNS40LjQvMTUuNC40LjIwLzE1LjQuNC4yMC0xLTMuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQXJyYXkucHJvdG90eXBlLmZpbHRlciBhcHBsaWVkIHRvIGJvb2xlYW4gcHJpbWl0aXZlIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICBmdW5jdGlvbiBjYWxsYmFja2ZuKHZhbCwgaWR4LCBvYmopIHsKICAgICAgICAgICAgcmV0dXJuIG9iaiBpbnN0YW5jZW9mIEJvb2xlYW47CiAgICAgICAgfQoKICAgICAgICB0cnkgewogICAgICAgICAgICBCb29sZWFuLnByb3RvdHlwZVswXSA9IHRydWU7CiAgICAgICAgICAgIEJvb2xlYW4ucHJvdG90eXBlLmxlbmd0aCA9IDE7CgogICAgICAgICAgICB2YXIgbmV3QXJyID0gQXJyYXkucHJvdG90eXBlLmZpbHRlci5jYWxsKGZhbHNlLCBjYWxsYmFja2ZuKTsKICAgICAgICAgICAgcmV0dXJuIG5ld0FyclswXSA9PT0gdHJ1ZTsKCiAgICAgICAgfSBmaW5hbGx5IHsKICAgICAgICAgICAgZGVsZXRlIEJvb2xlYW4ucHJvdG90eXBlWzBdOwogICAgICAgICAgICBkZWxldGUgQm9vbGVhbi5wcm90b3R5cGUubGVuZ3RoOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5maWx0ZXIpOwogICAgfQoKfSk7Cg==","id":"15.4.4.20-1-3","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-1-3.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKCiAgICBpZDogIjE1LjQuNC4yMC0xLTQiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtMS00LmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIkFycmF5LnByb3RvdHlwZS5maWx0ZXIgYXBwbGllZCB0byBCb29sZWFuIE9iamVjdCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIGZ1bmN0aW9uIGNhbGxiYWNrZm4odmFsLCBpZHgsIG9iaikgewogICAgICAgICAgICByZXR1cm4gb2JqIGluc3RhbmNlb2YgQm9vbGVhbjsKICAgICAgICB9CgogICAgICAgIHZhciBvYmogPSBuZXcgQm9vbGVhbih0cnVlKTsKICAgICAgICBvYmoubGVuZ3RoID0gMjsKICAgICAgICBvYmpbMF0gPSAxMTsKICAgICAgICBvYmpbMV0gPSAxMjsKCiAgICAgICAgdmFyIG5ld0FyciA9IEFycmF5LnByb3RvdHlwZS5maWx0ZXIuY2FsbChvYmosIGNhbGxiYWNrZm4pOwoKICAgICAgICByZXR1cm4gbmV3QXJyWzBdID09PSAxMSAmJiBuZXdBcnJbMV0gPT09IDEyOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoQXJyYXkucHJvdG90eXBlLmZpbHRlcik7CiAgICB9Cgp9KTs=","id":"15.4.4.20-1-4","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-1-4.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTEtNSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuNC8xNS40LjQvMTUuNC40LjIwLzE1LjQuNC4yMC0xLTUuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQXJyYXkucHJvdG90eXBlLmZpbHRlciBhcHBsaWVkIHRvIG51bWJlciBwcmltaXRpdmUiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIGZ1bmN0aW9uIGNhbGxiYWNrZm4odmFsLCBpZHgsIG9iaikgewogICAgICAgICAgICByZXR1cm4gb2JqIGluc3RhbmNlb2YgTnVtYmVyOwogICAgICAgIH0KCiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgTnVtYmVyLnByb3RvdHlwZVswXSA9IDE7CiAgICAgICAgICAgIE51bWJlci5wcm90b3R5cGUubGVuZ3RoID0gMTsKCiAgICAgICAgICAgIHZhciBuZXdBcnIgPSBBcnJheS5wcm90b3R5cGUuZmlsdGVyLmNhbGwoMi41LCBjYWxsYmFja2ZuKTsKICAgICAgICAgICAgcmV0dXJuIG5ld0FyclswXSA9PT0gMTsKICAgICAgICB9IGZpbmFsbHkgewogICAgICAgICAgICBkZWxldGUgTnVtYmVyLnByb3RvdHlwZVswXTsKICAgICAgICAgICAgZGVsZXRlIE51bWJlci5wcm90b3R5cGUubGVuZ3RoOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5maWx0ZXIpOwogICAgfQoKfSk7Cg==","id":"15.4.4.20-1-5","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-1-5.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKCiAgICBpZDogIjE1LjQuNC4yMC0xLTYiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtMS02LmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIkFycmF5LnByb3RvdHlwZS5maWx0ZXIgYXBwbGllZCB0byBOdW1iZXIgb2JqZWN0IiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKCiAgICAgICAgZnVuY3Rpb24gY2FsbGJhY2tmbih2YWwsIGlkeCwgb2JqKSB7CiAgICAgICAgICAgIHJldHVybiBvYmogaW5zdGFuY2VvZiBOdW1iZXI7CiAgICAgICAgfQoKICAgICAgICB2YXIgb2JqID0gbmV3IE51bWJlcigtMTI4KTsKICAgICAgICBvYmoubGVuZ3RoID0gMjsKICAgICAgICBvYmpbMF0gPSAxMTsKICAgICAgICBvYmpbMV0gPSAxMjsKCiAgICAgICAgdmFyIG5ld0FyciA9IEFycmF5LnByb3RvdHlwZS5maWx0ZXIuY2FsbChvYmosIGNhbGxiYWNrZm4pOwogICAgICAgIHJldHVybiBuZXdBcnJbMF0gPT09IDExICYmIG5ld0FyclsxXSA9PT0gMTI7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhBcnJheS5wcm90b3R5cGUuZmlsdGVyKTsKICAgIH0gCgp9KTsK","id":"15.4.4.20-1-6","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-1-6.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTEtNyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuNC8xNS40LjQvMTUuNC40LjIwLzE1LjQuNC4yMC0xLTcuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQXJyYXkucHJvdG90eXBlLmZpbHRlciBhcHBsaWVkIHRvIHN0cmluZyBwcmltaXRpdmUiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICAgICAgICBmdW5jdGlvbiBjYWxsYmFja2ZuKHZhbCwgaWR4LCBvYmopIHsKICAgICAgICAgICAgcmV0dXJuIG9iaiBpbnN0YW5jZW9mIFN0cmluZzsKICAgICAgICB9CgogICAgICAgIHZhciBuZXdBcnIgPSBBcnJheS5wcm90b3R5cGUuZmlsdGVyLmNhbGwoImFiYyIsIGNhbGxiYWNrZm4pOwoKICAgICAgICByZXR1cm4gbmV3QXJyWzBdID09PSAiYSI7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhBcnJheS5wcm90b3R5cGUuZmlsdGVyKTsKICAgIH0KCn0pOwo=","id":"15.4.4.20-1-7","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-1-7.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTEtOCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuNC8xNS40LjQvMTUuNC40LjIwLzE1LjQuNC4yMC0xLTguanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQXJyYXkucHJvdG90eXBlLmZpbHRlciBhcHBsaWVkIHRvIFN0cmluZyBvYmplY3QiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIGZ1bmN0aW9uIGNhbGxiYWNrZm4odmFsLCBpZHgsIG9iaikgewogICAgICAgICAgICByZXR1cm4gb2JqIGluc3RhbmNlb2YgU3RyaW5nOwogICAgICAgIH0KCiAgICAgICAgdmFyIG9iaiA9IG5ldyBTdHJpbmcoImFiYyIpOwogICAgICAgIHZhciBuZXdBcnIgPSBBcnJheS5wcm90b3R5cGUuZmlsdGVyLmNhbGwob2JqLCBjYWxsYmFja2ZuKTsKCiAgICAgICAgcmV0dXJuIG5ld0FyclswXSA9PT0gImEiOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoQXJyYXkucHJvdG90eXBlLmZpbHRlcik7CiAgICB9Cgp9KTsK","id":"15.4.4.20-1-8","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-1-8.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTEtOSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuNC8xNS40LjQvMTUuNC40LjIwLzE1LjQuNC4yMC0xLTkuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQXJyYXkucHJvdG90eXBlLmZpbHRlciBhcHBsaWVkIHRvIEZ1bmN0aW9uIG9iamVjdCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIGZ1bmN0aW9uIGNhbGxiYWNrZm4odmFsLCBpZHgsIG9iaikgewogICAgICAgICAgICByZXR1cm4gb2JqIGluc3RhbmNlb2YgRnVuY3Rpb247CiAgICAgICAgfQoKICAgICAgICB2YXIgb2JqID0gZnVuY3Rpb24gKGEsIGIpIHsKICAgICAgICAgICAgcmV0dXJuIGEgKyBiOwogICAgICAgIH07CiAgICAgICAgb2JqWzBdID0gMTE7CiAgICAgICAgb2JqWzFdID0gOTsKCiAgICAgICAgdmFyIG5ld0FyciA9IEFycmF5LnByb3RvdHlwZS5maWx0ZXIuY2FsbChvYmosIGNhbGxiYWNrZm4pOwoKICAgICAgICByZXR1cm4gbmV3QXJyWzBdID09PSAxMSAmJiBuZXdBcnJbMV0gPT09IDk7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhBcnJheS5wcm90b3R5cGUuZmlsdGVyKTsKICAgIH0KCn0pOwo=","id":"15.4.4.20-1-9","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-1-9.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxNS40LjQuMjAtMTAtMSIsCgpwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS40LzE1LjQuNC8xNS40LjQuMjAvMTUuNC40LjIwLTEwLTEuanMiLAoKZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIGRvZXNuJ3QgbXV0YXRlIHRoZSBBcnJheSBvbiB3aGljaCBpdCBpcyBjYWxsZWQgb24iLAoKdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogIGZ1bmN0aW9uIGNhbGxiYWNrZm4odmFsLCBpZHgsIG9iaikKICB7CiAgICByZXR1cm4gdHJ1ZTsKICB9CiAgdmFyIHNyY0FyciA9IFsxLDIsMyw0LDVdOwogIHNyY0Fyci5maWx0ZXIoY2FsbGJhY2tmbik7CiAgaWYoc3JjQXJyWzBdID09PSAxICYmCiAgICAgc3JjQXJyWzFdID09PSAyICYmCiAgICAgc3JjQXJyWzJdID09PSAzICYmCiAgICAgc3JjQXJyWzNdID09PSA0ICYmCiAgICAgc3JjQXJyWzRdID09PSA1KQogIHsKICAgIHJldHVybiB0cnVlOwogIH0KCiB9LAoKcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgcmV0dXJuIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5maWx0ZXIpOwogfQp9KTsK","id":"15.4.4.20-10-1","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-10-1.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxNS40LjQuMjAtMTAtMiIsCgpwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS40LzE1LjQuNC8xNS40LjQuMjAvMTUuNC40LjIwLTEwLTIuanMiLAoKZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIHJldHVybnMgbmV3IEFycmF5IHdpdGggbGVuZ3RoIGVxdWFsIHRvIG51bWJlciBvZiB0cnVlIHJldHVybmVkIGJ5IGNhbGxiYWNrZm4iLAoKdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogIGZ1bmN0aW9uIGNhbGxiYWNrZm4odmFsLCBpZHgsIG9iaikKICB7CiAgICBpZih2YWwgJSAyKQogICAgICByZXR1cm4gdHJ1ZTsKICAgIGVsc2UKICAgICAgcmV0dXJuIGZhbHNlOwogIH0KICB2YXIgc3JjQXJyID0gWzEsMiwzLDQsNV07CiAgdmFyIHJlc0FyciA9IHNyY0Fyci5maWx0ZXIoY2FsbGJhY2tmbik7CiAgaWYocmVzQXJyLmxlbmd0aCA9PT0gMyAmJgogICAgIHJlc0FyclswXSA9PT0gMSAmJgogICAgIHJlc0FyclsxXSA9PT0gMyAmJgogICAgIHJlc0FyclsyXSA9PT0gNSkKICB7CiAgICByZXR1cm4gdHJ1ZTsKICB9CgogfSwKCnByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogIHJldHVybiBmbkV4aXN0cyhBcnJheS5wcm90b3R5cGUuZmlsdGVyKTsKIH0KfSk7Cg==","id":"15.4.4.20-10-2","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-10-2.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxNS40LjQuMjAtMTAtMyIsCgpwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS40LzE1LjQuNC8xNS40LjQuMjAvMTUuNC40LjIwLTEwLTMuanMiLAoKZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIC0gc3ViY2xhc3NlZCBhcnJheSB3aGVuIGxlbmd0aCBpcyByZWR1Y2VkIiwKCnRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogIGZvby5wcm90b3R5cGUgPSBuZXcgQXJyYXkoMSwgMiwgMyk7CiAgZnVuY3Rpb24gZm9vKCkge30KICB2YXIgZiA9IG5ldyBmb28oKTsKICBmLmxlbmd0aCA9IDE7CiAgCiAgZnVuY3Rpb24gY2IoKXtyZXR1cm4gdHJ1ZTt9CiAgdmFyIGEgPSBmLmZpbHRlcihjYik7CiAgCiAgaWYgKEFycmF5LmlzQXJyYXkoYSkgJiYKICAgICAgYS5sZW5ndGggPT09IDEpIHsKICAgIHJldHVybiB0cnVlOwogIH0KIH0sCgpwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICByZXR1cm4gZm5FeGlzdHMoQXJyYXkucHJvdG90eXBlLmZpbHRlcik7CiB9Cn0pOwo=","id":"15.4.4.20-10-3","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-10-3.js"},{"code":"RVM1SGFybmVzc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CgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIGZ1bmN0aW9uIGNhbGxiYWNrZm4odmFsLCBpZHgsIG9iaikgewogICAgICAgICAgICByZXR1cm4gb2JqLmxlbmd0aCA9PT0gMjsKICAgICAgICB9CgogICAgICAgIHZhciBvYmogPSB7CiAgICAgICAgICAgIDA6IDEyLAogICAgICAgICAgICAxOiAxMSwKICAgICAgICAgICAgMjogOSwKICAgICAgICAgICAgbGVuZ3RoOiAyCiAgICAgICAgfTsKCiAgICAgICAgdmFyIG5ld0FyciA9IEFycmF5LnByb3RvdHlwZS5maWx0ZXIuY2FsbChvYmosIGNhbGxiYWNrZm4pOwoKICAgICAgICByZXR1cm4gbmV3QXJyLmxlbmd0aCA9PT0gMjsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5maWx0ZXIpOwogICAgfQoKfSk7Cg==","id":"15.4.4.20-2-1","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-2-1.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTItMTAiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtMi0xMC5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIGFwcGxpZWQgdG8gQXJyYXktbGlrZSBvYmplY3QsICdsZW5ndGgnIGlzIGluaGVyaXRlZCBhY2Nlc3NvciBwcm9wZXJ0eSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIGZ1bmN0aW9uIGNhbGxiYWNrZm4odmFsLCBpZHgsIG9iaikgewogICAgICAgICAgICByZXR1cm4gb2JqLmxlbmd0aCA9PT0gMjsKICAgICAgICB9CgogICAgICAgIHZhciBwcm90byA9IHt9OwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkocHJvdG8sICJsZW5ndGgiLCB7CiAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgcmV0dXJuIDI7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgIH0pOwoKICAgICAgICB2YXIgQ29uID0gZnVuY3Rpb24gKCkgeyB9OwogICAgICAgIENvbi5wcm90b3R5cGUgPSBwcm90bzsKCiAgICAgICAgdmFyIGNoaWxkID0gbmV3IENvbigpOwogICAgICAgIGNoaWxkWzBdID0gMTI7CiAgICAgICAgY2hpbGRbMV0gPSAxMTsKICAgICAgICBjaGlsZFsyXSA9IDk7CgogICAgICAgIHZhciBuZXdBcnIgPSBBcnJheS5wcm90b3R5cGUuZmlsdGVyLmNhbGwoY2hpbGQsIGNhbGxiYWNrZm4pOwogICAgICAgIHJldHVybiBuZXdBcnIubGVuZ3RoID09PSAyOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoQXJyYXkucHJvdG90eXBlLmZpbHRlcikgJiYgZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KCn0pOwo=","id":"15.4.4.20-2-10","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-2-10.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTItMTEiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtMi0xMS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIGFwcGxpZWQgdG8gQXJyYXktbGlrZSBvYmplY3QsICdsZW5ndGgnIGlzIG93biBhY2Nlc3NvciBwcm9wZXJ0eSB3aXRob3V0IGEgZ2V0IGZ1bmN0aW9uIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKCiAgICAgICAgdmFyIGFjY2Vzc2VkID0gZmFsc2U7CiAgICAgICAgZnVuY3Rpb24gY2FsbGJhY2tmbih2YWwsIGlkeCwgb2JqKSB7CiAgICAgICAgICAgIGFjY2Vzc2VkID0gdHJ1ZTsKICAgICAgICAgICAgcmV0dXJuIHRydWU7CiAgICAgICAgfQoKICAgICAgICB2YXIgb2JqID0gewogICAgICAgICAgICAwOiAxMSwKICAgICAgICAgICAgMTogMTIKICAgICAgICB9OwogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJsZW5ndGgiLCB7CiAgICAgICAgICAgIHNldDogZnVuY3Rpb24gKCkgeyB9LAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKCiAgICAgICAgdmFyIG5ld0FyciA9IEFycmF5LnByb3RvdHlwZS5maWx0ZXIuY2FsbChvYmosIGNhbGxiYWNrZm4pOwogICAgICAgIHJldHVybiBuZXdBcnIubGVuZ3RoID09PSAwICYmICFhY2Nlc3NlZDsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5maWx0ZXIpICYmIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSk7CiAgICB9Cgp9KTsK","id":"15.4.4.20-2-11","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-2-11.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTItMTIiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtMi0xMi5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIC0gJ2xlbmd0aCcgaXMgb3duIGFjY2Vzc29yIHByb3BlcnR5IHdpdGhvdXQgYSBnZXQgZnVuY3Rpb24gdGhhdCBvdmVycmlkZXMgYW4gaW5oZXJpdGVkIGFjY2Vzc29yIHByb3BlcnR5IiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKCiAgICAgICAgdmFyIGFjY2Vzc2VkID0gZmFsc2U7CiAgICAgICAgZnVuY3Rpb24gY2FsbGJhY2tmbih2YWwsIGlkeCwgb2JqKSB7CiAgICAgICAgICAgIGFjY2Vzc2VkID0gdHJ1ZTsKICAgICAgICAgICAgcmV0dXJuIHRydWU7CiAgICAgICAgfQoKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoT2JqZWN0LnByb3RvdHlwZSwgImxlbmd0aCIsIHsKICAgICAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgICAgIHJldHVybiAyOwogICAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICB9KTsKCiAgICAgICAgICAgIHZhciBvYmogPSB7IDA6IDEyLCAxOiAxMSB9OwogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAibGVuZ3RoIiwgewogICAgICAgICAgICAgICAgc2V0OiBmdW5jdGlvbiAoKSB7IH0sCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICAgICAgfSk7CgogICAgICAgICAgICB2YXIgbmV3QXJyID0gQXJyYXkucHJvdG90eXBlLmZpbHRlci5jYWxsKG9iaiwgY2FsbGJhY2tmbik7CiAgICAgICAgICAgIHJldHVybiBuZXdBcnIubGVuZ3RoID09PSAwICYmICFhY2Nlc3NlZDsKICAgICAgICB9IGZpbmFsbHkgewogICAgICAgICAgICBkZWxldGUgT2JqZWN0LnByb3RvdHlwZS5sZW5ndGg7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoQXJyYXkucHJvdG90eXBlLmZpbHRlcikgJiYgZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KCn0pOwo=","id":"15.4.4.20-2-12","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-2-12.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTItMTMiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtMi0xMy5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIGFwcGxpZWQgdG8gdGhlIEFycmF5LWxpa2Ugb2JqZWN0IHRoYXQgJ2xlbmd0aCcgaXMgaW5oZXJpdGVkIGFjY2Vzc29yIHByb3BlcnR5IHdpdGhvdXQgYSBnZXQgZnVuY3Rpb24iLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICAgICAgICB2YXIgYWNjZXNzZWQgPSBmYWxzZTsKICAgICAgICBmdW5jdGlvbiBjYWxsYmFja2ZuKHZhbCwgaWR4LCBvYmopIHsKICAgICAgICAgICAgYWNjZXNzZWQgPSB0cnVlOwogICAgICAgICAgICByZXR1cm4gdHJ1ZTsKICAgICAgICB9CgogICAgICAgIHZhciBwcm90byA9IHt9OwogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShwcm90bywgImxlbmd0aCIsIHsKICAgICAgICAgICAgc2V0OiBmdW5jdGlvbiAoKSB7IH0sCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgIH0pOwoKICAgICAgICB2YXIgQ29uID0gZnVuY3Rpb24gKCkgeyB9OwogICAgICAgIENvbi5wcm90b3R5cGUgPSBwcm90bzsKCiAgICAgICAgdmFyIGNoaWxkID0gbmV3IENvbigpOwogICAgICAgIGNoaWxkWzBdID0gMTE7CiAgICAgICAgY2hpbGRbMV0gPSAxMjsKCiAgICAgICAgdmFyIG5ld0FyciA9IEFycmF5LnByb3RvdHlwZS5maWx0ZXIuY2FsbChjaGlsZCwgY2FsbGJhY2tmbik7CiAgICAgICAgcmV0dXJuIG5ld0Fyci5sZW5ndGggPT09IDAgJiYgIWFjY2Vzc2VkOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoQXJyYXkucHJvdG90eXBlLmZpbHRlcikgJiYgZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KCn0pOwo=","id":"15.4.4.20-2-13","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-2-13.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTItMTQiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtMi0xNC5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIGFwcGxpZWQgdG8gdGhlIEFycmF5LWxpa2Ugb2JqZWN0IHRoYXQgJ2xlbmd0aCBwcm9wZXJ0eSBkb2Vzbid0IGV4aXN0IiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKCiAgICAgICAgdmFyIGFjY2Vzc2VkID0gZmFsc2U7CiAgICAgICAgZnVuY3Rpb24gY2FsbGJhY2tmbih2YWwsIGlkeCwgb2JqKSB7CiAgICAgICAgICAgIGFjY2Vzc2VkID0gdHJ1ZTsKICAgICAgICAgICAgcmV0dXJuIHRydWU7CiAgICAgICAgfQoKICAgICAgICB2YXIgb2JqID0geyAwOiAxMSwgMTogMTIgfTsKCiAgICAgICAgdmFyIG5ld0FyciA9IEFycmF5LnByb3RvdHlwZS5maWx0ZXIuY2FsbChvYmosIGNhbGxiYWNrZm4pOwogICAgICAgIHJldHVybiBuZXdBcnIubGVuZ3RoID09PSAwICYmICFhY2Nlc3NlZDsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5maWx0ZXIpOwogICAgfQoKfSk7Cg==","id":"15.4.4.20-2-14","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-2-14.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTItMTUiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtMi0xNS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIC0gJ2xlbmd0aCcgaXMgcHJvcGVydHkgb2YgdGhlIGdsb2JhbCBvYmplY3QiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgCiAgICAgICAgZnVuY3Rpb24gY2FsbGJhY2tmbih2YWwsIGlkeCwgb2JqKSB7CiAgICAgICAgICAgIHJldHVybiAgb2JqLmxlbmd0aCA9PT0gMjsKICAgICAgICB9CgogICAgICAgIHRyeSB7CiAgICAgICAgICAgIHZhciBvbGRMZW4gPSBmbkdsb2JhbE9iamVjdCgpLmxlbmd0aDsKICAgICAgICAgICAgZm5HbG9iYWxPYmplY3QoKVswXSA9IDEyOwogICAgICAgICAgICBmbkdsb2JhbE9iamVjdCgpWzFdID0gMTE7CiAgICAgICAgICAgIGZuR2xvYmFsT2JqZWN0KClbMl0gPSA5OwogICAgICAgICAgICBmbkdsb2JhbE9iamVjdCgpLmxlbmd0aCA9IDI7CiAgICAgICAgICAgIHZhciBuZXdBcnIgPSBBcnJheS5wcm90b3R5cGUuZmlsdGVyLmNhbGwoZm5HbG9iYWxPYmplY3QoKSwgY2FsbGJhY2tmbik7CiAgICAgICAgICAgIHJldHVybiBuZXdBcnIubGVuZ3RoID09PSAyOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIGRlbGV0ZSBmbkdsb2JhbE9iamVjdCgpWzBdOwogICAgICAgICAgICBkZWxldGUgZm5HbG9iYWxPYmplY3QoKVsxXTsKICAgICAgICAgICAgZGVsZXRlIGZuR2xvYmFsT2JqZWN0KClbMl07CiAgICAgICAgICAgIGZuR2xvYmFsT2JqZWN0KCkubGVuZ3RoID0gb2xkTGVuOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5maWx0ZXIpOwogICAgfQoKfSk7Cg==","id":"15.4.4.20-2-15","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-2-15.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTItMTciLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtMi0xNy5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIGFwcGxpZWQgdG8gdGhlIEFyZ3VtZW50cyBvYmplY3QsIHdoaWNoIGltcGxlbWVudHMgaXRzIG93biBwcm9wZXJ0eSBnZXQgbWV0aG9kIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKCiAgICAgICAgZnVuY3Rpb24gY2FsbGJhY2tmbih2YWwsIGlkeCwgb2JqKSB7CiAgICAgICAgICAgIHJldHVybiBvYmoubGVuZ3RoID09PSAyOwogICAgICAgIH0KCiAgICAgICAgdmFyIGZ1bmMgPSBmdW5jdGlvbiAoYSwgYikgewogICAgICAgICAgICB2YXIgbmV3QXJyID0gQXJyYXkucHJvdG90eXBlLmZpbHRlci5jYWxsKGFyZ3VtZW50cywgY2FsbGJhY2tmbik7CiAgICAgICAgICAgIHJldHVybiBuZXdBcnIubGVuZ3RoID09PSAyOwogICAgICAgIH07CgogICAgICAgIHJldHVybiBmdW5jKDEyLCAxMSk7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhBcnJheS5wcm90b3R5cGUuZmlsdGVyKTsKICAgIH0KCn0pOwo=","id":"15.4.4.20-2-17","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-2-17.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTItMTgiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtMi0xOC5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIGFwcGxpZWQgdG8gU3RyaW5nIG9iamVjdCwgd2hpY2ggaW1wbGVtZW50cyBpdHMgb3duIHByb3BlcnR5IGdldCBtZXRob2QiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICAgICAgICBmdW5jdGlvbiBjYWxsYmFja2ZuKHZhbCwgaWR4LCBvYmopIHsKICAgICAgICAgICAgcmV0dXJuIG9iai5sZW5ndGggPT09IDM7CiAgICAgICAgfQoKICAgICAgICB2YXIgc3RyID0gbmV3IFN0cmluZygiMDEyIik7CgogICAgICAgIHZhciBuZXdBcnIgPSBBcnJheS5wcm90b3R5cGUuZmlsdGVyLmNhbGwoc3RyLCBjYWxsYmFja2ZuKTsKICAgICAgICByZXR1cm4gbmV3QXJyLmxlbmd0aCA9PT0gMzsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5maWx0ZXIpOwogICAgfQoKfSk7Cg==","id":"15.4.4.20-2-18","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-2-18.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTItMTkiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtMi0xOS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIGFwcGxpZWQgdG8gRnVuY3Rpb24gb2JqZWN0LCB3aGljaCBpbXBsZW1lbnRzIGl0cyBvd24gcHJvcGVydHkgZ2V0IG1ldGhvZCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIGZ1bmN0aW9uIGNhbGxiYWNrZm4odmFsLCBpZHgsIG9iaikgewogICAgICAgICAgICByZXR1cm4gb2JqLmxlbmd0aCA9PT0gMjsKICAgICAgICB9CgogICAgICAgIHZhciBmdW4gPSBmdW5jdGlvbiAoYSwgYikgewogICAgICAgICAgICByZXR1cm4gYSArIGI7CiAgICAgICAgfTsKICAgICAgICBmdW5bMF0gPSAxMjsKICAgICAgICBmdW5bMV0gPSAxMTsKICAgICAgICBmdW5bMl0gPSA5OwoKICAgICAgICB2YXIgbmV3QXJyID0gQXJyYXkucHJvdG90eXBlLmZpbHRlci5jYWxsKGZ1biwgY2FsbGJhY2tmbik7CiAgICAgICAgcmV0dXJuIG5ld0Fyci5sZW5ndGggPT09IDI7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhBcnJheS5wcm90b3R5cGUuZmlsdGVyKTsKICAgIH0KCn0pOwo=","id":"15.4.4.20-2-19","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-2-19.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTItMiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuNC8xNS40LjQvMTUuNC40LjIwLzE1LjQuNC4yMC0yLTIuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQXJyYXkucHJvdG90eXBlLmZpbHRlciAtICdsZW5ndGgnIGlzIG93biBkYXRhIHByb3BlcnR5IG9uIGFuIEFycmF5IiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKCiAgICAgICAgZnVuY3Rpb24gY2FsbGJhY2tmbih2YWwsIGlkeCwgb2JqKSB7CiAgICAgICAgICAgIHJldHVybiBvYmoubGVuZ3RoID09PSAyOwogICAgICAgIH0KCiAgICAgICAgdmFyIG5ld0FyciA9IFsxMiwgMTFdLmZpbHRlcihjYWxsYmFja2ZuKTsKICAgICAgICByZXR1cm4gbmV3QXJyLmxlbmd0aCA9PT0gMjsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5maWx0ZXIpOwogICAgfQoKfSk7Cg==","id":"15.4.4.20-2-2","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-2-2.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTItMyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuNC8xNS40LjQvMTUuNC40LjIwLzE1LjQuNC4yMC0yLTMuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQXJyYXkucHJvdG90eXBlLmZpbHRlciBhcHBsaWVkIHRvIEFycmF5LWxpa2Ugb2JqZWN0LCAnbGVuZ3RoJyBpcyBhbiBvd24gZGF0YSBwcm9wZXJ0eSB0aGF0IG92ZXJyaWRlcyBhbiBpbmhlcml0ZWQgZGF0YSBwcm9wZXJ0eSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIGZ1bmN0aW9uIGNhbGxiYWNrZm4odmFsLCBpZHgsIG9iaikgewogICAgICAgICAgICByZXR1cm4gb2JqLmxlbmd0aCA9PT0gMjsKICAgICAgICB9CgogICAgICAgIHZhciBwcm90byA9IHsgbGVuZ3RoOiAzIH07CgogICAgICAgIHZhciBDb24gPSBmdW5jdGlvbiAoKSB7IH07CiAgICAgICAgQ29uLnByb3RvdHlwZSA9IHByb3RvOwoKICAgICAgICB2YXIgY2hpbGQgPSBuZXcgQ29uKCk7CiAgICAgICAgY2hpbGQubGVuZ3RoID0gMjsKICAgICAgICBjaGlsZFswXSA9IDEyOwogICAgICAgIGNoaWxkWzFdID0gMTE7CiAgICAgICAgY2hpbGRbMl0gPSA5OwoKICAgICAgICB2YXIgbmV3QXJyID0gQXJyYXkucHJvdG90eXBlLmZpbHRlci5jYWxsKGNoaWxkLCBjYWxsYmFja2ZuKTsKICAgICAgICByZXR1cm4gbmV3QXJyLmxlbmd0aCA9PT0gMjsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5maWx0ZXIpOwogICAgfQoKfSk7Cg==","id":"15.4.4.20-2-3","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-2-3.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTItNCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuNC8xNS40LjQvMTUuNC40LjIwLzE1LjQuNC4yMC0yLTQuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQXJyYXkucHJvdG90eXBlLmZpbHRlciAtICdsZW5ndGgnIGlzIG93biBkYXRhIHByb3BlcnR5IHRoYXQgb3ZlcnJpZGVzIGFuIGluaGVyaXRlZCBkYXRhIHByb3BlcnR5IG9uIGFuIEFycmF5IiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKCiAgICAgICAgdmFyIGFyclByb3RvTGVuOwoKICAgICAgICBmdW5jdGlvbiBjYWxsYmFja2ZuKHZhbCwgaWR4LCBvYmopIHsKICAgICAgICAgICAgcmV0dXJuIG9iai5sZW5ndGggPT09IDI7CiAgICAgICAgfQoKICAgICAgICB0cnkgewogICAgICAgICAgICBhcnJQcm90b0xlbiA9IEFycmF5LnByb3RvdHlwZS5sZW5ndGg7CiAgICAgICAgICAgIEFycmF5LnByb3RvdHlwZS5sZW5ndGggPSAwOwogICAgICAgICAgICB2YXIgbmV3QXJyID0gWzEyLCAxMV0uZmlsdGVyKGNhbGxiYWNrZm4pOwogICAgICAgICAgICByZXR1cm4gbmV3QXJyLmxlbmd0aCA9PT0gMjsKICAgICAgICB9IGZpbmFsbHkgewogICAgICAgICAgICBBcnJheS5wcm90b3R5cGUubGVuZ3RoID0gYXJyUHJvdG9MZW47CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoQXJyYXkucHJvdG90eXBlLmZpbHRlcik7CiAgICB9Cgp9KTsK","id":"15.4.4.20-2-4","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-2-4.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTItNSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuNC8xNS40LjQvMTUuNC40LjIwLzE1LjQuNC4yMC0yLTUuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQXJyYXkucHJvdG90eXBlLmZpbHRlciB0byBBcnJheS1saWtlIG9iamVjdCwgJ2xlbmd0aCcgaXMgYW4gb3duIGRhdGEgcHJvcGVydHkgdGhhdCBvdmVycmlkZXMgYW4gaW5oZXJpdGVkIGFjY2Vzc29yIHByb3BlcnR5IiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKCiAgICAgICAgZnVuY3Rpb24gY2FsbGJhY2tmbih2YWwsIGlkeCwgb2JqKSB7CiAgICAgICAgICAgIHJldHVybiBvYmoubGVuZ3RoID09PSAyOwogICAgICAgIH0KCiAgICAgICAgdmFyIHByb3RvID0ge307CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShwcm90bywgImxlbmd0aCIsIHsKICAgICAgICAgICAgZ2V0OiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gMzsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgfSk7CgogICAgICAgIHZhciBDb24gPSBmdW5jdGlvbiAoKSB7IH07CiAgICAgICAgQ29uLnByb3RvdHlwZSA9IHByb3RvOwoKICAgICAgICB2YXIgY2hpbGQgPSBuZXcgQ29uKCk7CiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGNoaWxkLCAibGVuZ3RoIiwgewogICAgICAgICAgICB2YWx1ZTogMiwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgfSk7CiAgICAgICAgY2hpbGRbMF0gPSAxMjsKICAgICAgICBjaGlsZFsxXSA9IDExOwogICAgICAgIGNoaWxkWzJdID0gOTsKCiAgICAgICAgdmFyIG5ld0FyciA9IEFycmF5LnByb3RvdHlwZS5maWx0ZXIuY2FsbChjaGlsZCwgY2FsbGJhY2tmbik7CiAgICAgICAgcmV0dXJuIG5ld0Fyci5sZW5ndGggPT09IDI7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhBcnJheS5wcm90b3R5cGUuZmlsdGVyKSAmJiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQoKfSk7Cg==","id":"15.4.4.20-2-5","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-2-5.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTItNiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuNC8xNS40LjQvMTUuNC40LjIwLzE1LjQuNC4yMC0yLTYuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQXJyYXkucHJvdG90eXBlLmZpbHRlciBhcHBsaWVkIHRvIEFycmF5LWxpa2Ugb2JqZWN0LCAnbGVuZ3RoJyBpcyBhbiBpbmhlcml0ZWQgZGF0YSBwcm9wZXJ0eSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIGZ1bmN0aW9uIGNhbGxiYWNrZm4odmFsLCBpZHgsIG9iaikgewogICAgICAgICAgICByZXR1cm4gb2JqLmxlbmd0aCA9PT0gMjsKICAgICAgICB9CgogICAgICAgIHZhciBwcm90byA9IHsgbGVuZ3RoOiAyIH07CgogICAgICAgIHZhciBDb24gPSBmdW5jdGlvbiAoKSB7IH07CiAgICAgICAgQ29uLnByb3RvdHlwZSA9IHByb3RvOwoKICAgICAgICB2YXIgY2hpbGQgPSBuZXcgQ29uKCk7CiAgICAgICAgY2hpbGRbMF0gPSAxMjsKICAgICAgICBjaGlsZFsxXSA9IDExOwogICAgICAgIGNoaWxkWzJdID0gOTsKCiAgICAgICAgdmFyIG5ld0FyciA9IEFycmF5LnByb3RvdHlwZS5maWx0ZXIuY2FsbChjaGlsZCwgY2FsbGJhY2tmbik7CiAgICAgICAgcmV0dXJuIG5ld0Fyci5sZW5ndGggPT09IDI7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhBcnJheS5wcm90b3R5cGUuZmlsdGVyKTsKICAgIH0KCn0pOwo=","id":"15.4.4.20-2-6","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-2-6.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTItNyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuNC8xNS40LjQvMTUuNC40LjIwLzE1LjQuNC4yMC0yLTcuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQXJyYXkucHJvdG90eXBlLmZpbHRlciBhcHBsaWVkIHRvIEFycmF5LWxpa2Ugb2JqZWN0LCAnbGVuZ3RoJyBpcyBhbiBvd24gYWNjZXNzb3IgcHJvcGVydHkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICAgICAgICBmdW5jdGlvbiBjYWxsYmFja2ZuKHZhbCwgaWR4LCBvYmopIHsKICAgICAgICAgICAgcmV0dXJuIG9iai5sZW5ndGggPT09IDI7CiAgICAgICAgfQoKICAgICAgICB2YXIgb2JqID0ge307CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJsZW5ndGgiLCB7CiAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgcmV0dXJuIDI7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgIH0pOwoKICAgICAgICBvYmpbMF0gPSAxMjsKICAgICAgICBvYmpbMV0gPSAxMTsKICAgICAgICBvYmpbMl0gPSA5OwoKICAgICAgICB2YXIgbmV3QXJyID0gQXJyYXkucHJvdG90eXBlLmZpbHRlci5jYWxsKG9iaiwgY2FsbGJhY2tmbik7CiAgICAgICAgcmV0dXJuIG5ld0Fyci5sZW5ndGggPT09IDI7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhBcnJheS5wcm90b3R5cGUuZmlsdGVyKSAmJiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQoKfSk7Cg==","id":"15.4.4.20-2-7","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-2-7.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTItOCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuNC8xNS40LjQvMTUuNC40LjIwLzE1LjQuNC4yMC0yLTguanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQXJyYXkucHJvdG90eXBlLmZpbHRlciBhcHBsaWVkIHRvIEFycmF5LWxpa2Ugb2JqZWN0LCAnbGVuZ3RoJyBpcyBvd24gYWNjZXNzb3IgcHJvcGVydHkgdGhhdCBvdmVycmlkZXMgYW4gaW5oZXJpdGVkIGRhdGEgcHJvcGVydHkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICAgICAgICBmdW5jdGlvbiBjYWxsYmFja2ZuKHZhbCwgaWR4LCBvYmopIHsKICAgICAgICAgICAgcmV0dXJuIG9iai5sZW5ndGggPT09IDI7CiAgICAgICAgfQoKICAgICAgICB2YXIgcHJvdG8gPSB7IGxlbmd0aDogMyB9OwoKICAgICAgICB2YXIgQ29uID0gZnVuY3Rpb24gKCkgeyB9OwogICAgICAgIENvbi5wcm90b3R5cGUgPSBwcm90bzsKCiAgICAgICAgdmFyIGNoaWxkID0gbmV3IENvbigpOwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoY2hpbGQsICJsZW5ndGgiLCB7CiAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgcmV0dXJuIDI7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgIH0pOwoKICAgICAgICBjaGlsZFswXSA9IDEyOwogICAgICAgIGNoaWxkWzFdID0gMTE7CiAgICAgICAgY2hpbGRbMl0gPSA5OwoKICAgICAgICB2YXIgbmV3QXJyID0gQXJyYXkucHJvdG90eXBlLmZpbHRlci5jYWxsKGNoaWxkLCBjYWxsYmFja2ZuKTsKICAgICAgICByZXR1cm4gbmV3QXJyLmxlbmd0aCA9PT0gMjsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5maWx0ZXIpICYmIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSk7CiAgICB9Cgp9KTsK","id":"15.4.4.20-2-8","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-2-8.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKIC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aWxkWzBdID0gMTI7CiAgICAgICAgY2hpbGRbMV0gPSAxMTsKICAgICAgICBjaGlsZFsyXSA9IDk7CgogICAgICAgIHZhciBuZXdBcnIgPSBBcnJheS5wcm90b3R5cGUuZmlsdGVyLmNhbGwoY2hpbGQsIGNhbGxiYWNrZm4pOwogICAgICAgIHJldHVybiBuZXdBcnIubGVuZ3RoID09PSAyOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoQXJyYXkucHJvdG90eXBlLmZpbHRlcikgJiYgZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KCn0pOwo=","id":"15.4.4.20-2-9","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-2-9.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTMtMSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuNC8xNS40LjQvMTUuNC40LjIwLzE1LjQuNC4yMC0zLTEuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQXJyYXkucHJvdG90eXBlLmZpbHRlciAtIHZhbHVlIG9mICdsZW5ndGgnIGlzIHVuZGVmaW5lZCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIHZhciBhY2Nlc3NlZCA9IGZhbHNlOwogICAgICAgIGZ1bmN0aW9uIGNhbGxiYWNrZm4odmFsLCBpZHgsIG9iaikgewogICAgICAgICAgICBhY2Nlc3NlZCA9IHRydWU7CiAgICAgICAgICAgIHJldHVybiB0cnVlOwogICAgICAgIH0KCiAgICAgICAgdmFyIG9iaiA9IHsgMDogMCwgMTogMSwgbGVuZ3RoOiB1bmRlZmluZWQgfTsKICAgICAgICB2YXIgbmV3QXJyID0gQXJyYXkucHJvdG90eXBlLmZpbHRlci5jYWxsKG9iaiwgY2FsbGJhY2tmbik7CgogICAgICAgIHJldHVybiBuZXdBcnIubGVuZ3RoID09PSAwICYmICFhY2Nlc3NlZDsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5maWx0ZXIpOwogICAgfQoKfSk7Cg==","id":"15.4.4.20-3-1","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-3-1.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTMtMTAiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtMy0xMC5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIC0gdmFsdWUgb2YgJ2xlbmd0aCcgaXMgYSBudW1iZXIgKHZhbHVlIGlzIE5hTikiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICAgICAgICB2YXIgYWNjZXNzZWQgPSBmYWxzZTsKICAgICAgICBmdW5jdGlvbiBjYWxsYmFja2ZuKHZhbCwgaWR4LCBvYmopIHsKICAgICAgICAgICAgYWNjZXNzZWQgPSB0cnVlOwogICAgICAgICAgICByZXR1cm4gdHJ1ZTsKICAgICAgICB9CgogICAgICAgIHZhciBvYmogPSB7IDA6IDksIGxlbmd0aDogTmFOIH07CgogICAgICAgIHZhciBuZXdBcnIgPSBBcnJheS5wcm90b3R5cGUuZmlsdGVyLmNhbGwob2JqLCBjYWxsYmFja2ZuKTsKCiAgICAgICAgcmV0dXJuIG5ld0Fyci5sZW5ndGggPT09IDAgJiYgIWFjY2Vzc2VkOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoQXJyYXkucHJvdG90eXBlLmZpbHRlcik7CiAgICB9Cgp9KTsK","id":"15.4.4.20-3-10","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-3-10.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTMtMTEiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtMy0xMS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIC0gJ2xlbmd0aCcgaXMgYSBzdHJpbmcgY29udGFpbmluZyBhIHBvc2l0aXZlIG51bWJlciIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIGZ1bmN0aW9uIGNhbGxiYWNrZm4odmFsLCBpZHgsIG9iaikgewogICAgICAgICAgICByZXR1cm4gdHJ1ZTsKICAgICAgICB9CgogICAgICAgIHZhciBvYmogPSB7IDE6IDExLCAyOiA5LCBsZW5ndGg6ICIyIiB9OwoKICAgICAgICB2YXIgbmV3QXJyID0gQXJyYXkucHJvdG90eXBlLmZpbHRlci5jYWxsKG9iaiwgY2FsbGJhY2tmbik7CgogICAgICAgIHJldHVybiBuZXdBcnIubGVuZ3RoID09PSAxICYmIG5ld0FyclswXSA9PT0gMTE7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhBcnJheS5wcm90b3R5cGUuZmlsdGVyKTsKICAgIH0KCn0pOwo=","id":"15.4.4.20-3-11","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-3-11.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTMtMTIiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtMy0xMi5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIC0gJ2xlbmd0aCcgaXMgYSBzdHJpbmcgY29udGFpbmluZyBhIG5lZ2F0aXZlIG51bWJlciIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIGZ1bmN0aW9uIGNhbGxiYWNrZm4odmFsLCBpZHgsIG9iaikgewogICAgICAgICAgICByZXR1cm4gdHJ1ZTsKICAgICAgICB9CgogICAgICAgIHZhciBvYmogPSB7IDE6IDExLCAyOiA5LCBsZW5ndGg6ICItNDI5NDk2NzI5NCIgfTsKCiAgICAgICAgdmFyIG5ld0FyciA9IEFycmF5LnByb3RvdHlwZS5maWx0ZXIuY2FsbChvYmosIGNhbGxiYWNrZm4pOwoKICAgICAgICByZXR1cm4gbmV3QXJyLmxlbmd0aCA9PT0gMSAmJiBuZXdBcnJbMF0gPT09IDExOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoQXJyYXkucHJvdG90eXBlLmZpbHRlcik7CiAgICB9Cgp9KTsK","id":"15.4.4.20-3-12","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-3-12.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTMtMTMiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtMy0xMy5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIC0gJ2xlbmd0aCcgaXMgYSBzdHJpbmcgY29udGFpbmluZyBhIGRlY2ltYWwgbnVtYmVyIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKCiAgICAgICAgZnVuY3Rpb24gY2FsbGJhY2tmbih2YWwsIGlkeCwgb2JqKSB7CiAgICAgICAgICAgIHJldHVybiB0cnVlOwogICAgICAgIH0KCiAgICAgICAgdmFyIG9iaiA9IHsgMTogMTEsIDI6IDksIGxlbmd0aDogIjIuNSIgfTsKCiAgICAgICAgdmFyIG5ld0FyciA9IEFycmF5LnByb3RvdHlwZS5maWx0ZXIuY2FsbChvYmosIGNhbGxiYWNrZm4pOwoKICAgICAgICByZXR1cm4gbmV3QXJyLmxlbmd0aCA9PT0gMSAmJiBuZXdBcnJbMF0gPT09IDExOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoQXJyYXkucHJvdG90eXBlLmZpbHRlcik7CiAgICB9Cgp9KTsK","id":"15.4.4.20-3-13","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-3-13.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTMtMTUiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtMy0xNS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIC0gJ2xlbmd0aCcgaXMgYSBzdHJpbmcgY29udGFpbmluZyBhbiBleHBvbmVudGlhbCBudW1iZXIiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICAgICAgICBmdW5jdGlvbiBjYWxsYmFja2ZuKHZhbCwgaWR4LCBvYmopIHsKICAgICAgICAgICAgcmV0dXJuIHRydWU7CiAgICAgICAgfQoKICAgICAgICB2YXIgb2JqID0geyAxOiAxMSwgMjogOSwgbGVuZ3RoOiAiMkUwIiB9OwoKICAgICAgICB2YXIgbmV3QXJyID0gQXJyYXkucHJvdG90eXBlLmZpbHRlci5jYWxsKG9iaiwgY2FsbGJhY2tmbik7CgogICAgICAgIHJldHVybiBuZXdBcnIubGVuZ3RoID09PSAxICYmIG5ld0FyclswXSA9PT0gMTE7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhBcnJheS5wcm90b3R5cGUuZmlsdGVyKTsKICAgIH0KCn0pOwo=","id":"15.4.4.20-3-15","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-3-15.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTMtMTYiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtMy0xNi5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIC0gJ2xlbmd0aCcgaXMgYSBzdHJpbmcgY29udGFpbmluZyBhIGhleCBudW1iZXIiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICAgICAgICBmdW5jdGlvbiBjYWxsYmFja2ZuKHZhbCwgaWR4LCBvYmopIHsKICAgICAgICAgICAgcmV0dXJuIHRydWU7CiAgICAgICAgfQoKICAgICAgICB2YXIgb2JqID0geyAxOiAxMSwgMjogOSwgbGVuZ3RoOiAiMHgwMDAyIiB9OwoKICAgICAgICB2YXIgbmV3QXJyID0gQXJyYXkucHJvdG90eXBlLmZpbHRlci5jYWxsKG9iaiwgY2FsbGJhY2tmbik7CgogICAgICAgIHJldHVybiBuZXdBcnIubGVuZ3RoID09PSAxICYmIG5ld0FyclswXSA9PT0gMTE7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhBcnJheS5wcm90b3R5cGUuZmlsdGVyKTsKICAgIH0KCn0pOwo=","id":"15.4.4.20-3-16","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-3-16.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTMtMTciLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtMy0xNy5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIC0gJ2xlbmd0aCcgaXMgYSBzdHJpbmcgY29udGFpbmluZyBhIG51bWJlciB3aXRoIGxlYWRpbmcgemVyb3MiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICAgICAgICBmdW5jdGlvbiBjYWxsYmFja2ZuKHZhbCwgaWR4LCBvYmopIHsKICAgICAgICAgICAgcmV0dXJuIHRydWU7CiAgICAgICAgfQoKICAgICAgICB2YXIgb2JqID0geyAxOiAxMSwgMjogOSwgbGVuZ3RoOiAiMDAwMi4wMCIgfTsKCiAgICAgICAgdmFyIG5ld0FyciA9IEFycmF5LnByb3RvdHlwZS5maWx0ZXIuY2FsbChvYmosIGNhbGxiYWNrZm4pOwoKICAgICAgICByZXR1cm4gbmV3QXJyLmxlbmd0aCA9PT0gMSAmJiBuZXdBcnJbMF0gPT09IDExOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoQXJyYXkucHJvdG90eXBlLmZpbHRlcik7CiAgICB9Cgp9KTsK","id":"15.4.4.20-3-17","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-3-17.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTMtMTgiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtMy0xOC5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIC0gdmFsdWUgb2YgJ2xlbmd0aCcgaXMgYSBzdHJpbmcgdGhhdCBjYW4ndCBjb252ZXJ0IHRvIGEgbnVtYmVyIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKCiAgICAgICAgdmFyIGFjY2Vzc2VkID0gZmFsc2U7CiAgICAgICAgZnVuY3Rpb24gY2FsbGJhY2tmbih2YWwsIGlkeCwgb2JqKSB7CiAgICAgICAgICAgIGFjY2Vzc2VkID0gdHJ1ZTsKICAgICAgICAgICAgcmV0dXJuIHRydWU7CiAgICAgICAgfQoKICAgICAgICB2YXIgb2JqID0geyAwOiA5LCBsZW5ndGg6ICJhc2RmIV8iIH07CgogICAgICAgIHZhciBuZXdBcnIgPSBBcnJheS5wcm90b3R5cGUuZmlsdGVyLmNhbGwob2JqLCBjYWxsYmFja2ZuKTsKCiAgICAgICAgcmV0dXJuICFhY2Nlc3NlZCAmJiBuZXdBcnIubGVuZ3RoID09PSAwOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoQXJyYXkucHJvdG90eXBlLmZpbHRlcik7CiAgICB9Cgp9KTsK","id":"15.4.4.20-3-18","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-3-18.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTMtMTkiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtMy0xOS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIC0gdmFsdWUgb2YgJ2xlbmd0aCcgaXMgYW4gT2JqZWN0IHdoaWNoIGhhcyBhbiBvd24gdG9TdHJpbmcgbWV0aG9kLiIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIGZ1bmN0aW9uIGNhbGxiYWNrZm4odmFsLCBpZHgsIG9iaikgewogICAgICAgICAgICByZXR1cm4gdHJ1ZTsKICAgICAgICB9CgogICAgICAgIHZhciBvYmogPSB7CiAgICAgICAgICAgIDE6IDExLAogICAgICAgICAgICAyOiA5LAogICAgICAgICAgICBsZW5ndGg6IHsKICAgICAgICAgICAgICAgIHRvU3RyaW5nOiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICAgICAgcmV0dXJuICcyJzsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgIH07CgogICAgICAgIHZhciBuZXdBcnIgPSBBcnJheS5wcm90b3R5cGUuZmlsdGVyLmNhbGwob2JqLCBjYWxsYmFja2ZuKTsKCiAgICAgICAgcmV0dXJuIG5ld0Fyci5sZW5ndGggPT09IDEgJiYgbmV3QXJyWzBdID09PSAxMTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5maWx0ZXIpOwogICAgfQoKfSk7Cg==","id":"15.4.4.20-3-19","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-3-19.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTMtMiIsCgogICAgcGF0aDogIlRlc3RDYXNlc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md0aCcgaXMgYW4gT2JqZWN0IHdoaWNoIGhhcyBhbiBvd24gdmFsdWVPZiBtZXRob2QuIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKCiAgICAgICAgZnVuY3Rpb24gY2FsbGJhY2tmbih2YWwsIGlkeCwgb2JqKSB7CiAgICAgICAgICAgIHJldHVybiB0cnVlOwogICAgICAgIH0KCiAgICAgICAgdmFyIG9iaiA9IHsKICAgICAgICAgICAgMTogMTEsCiAgICAgICAgICAgIDI6IDksCiAgICAgICAgICAgIGxlbmd0aDogewogICAgICAgICAgICAgICAgdmFsdWVPZjogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgICAgIHJldHVybiAyOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfTsKCiAgICAgICAgdmFyIG5ld0FyciA9IEFycmF5LnByb3RvdHlwZS5maWx0ZXIuY2FsbChvYmosIGNhbGxiYWNrZm4pOwoKICAgICAgICByZXR1cm4gbmV3QXJyLmxlbmd0aCA9PT0gMSAmJiBuZXdBcnJbMF0gPT09IDExOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoQXJyYXkucHJvdG90eXBlLmZpbHRlcik7CiAgICB9Cgp9KTsK","id":"15.4.4.20-3-20","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-3-20.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTMtMjEiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtMy0yMS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIC0gJ2xlbmd0aCcgaXMgYW4gb2JqZWN0IHRoYXQgaGFzIGFuIG93biB2YWx1ZU9mIG1ldGhvZCB0aGF0IHJldHVybnMgYW4gb2JqZWN0IGFuZCB0b1N0cmluZyBtZXRob2QgdGhhdCByZXR1cm5zIGEgc3RyaW5nIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKCiAgICAgICAgdmFyIGZpcnN0U3RlcE9jY3VyZWQgPSBmYWxzZTsKICAgICAgICB2YXIgc2Vjb25kU3RlcE9jY3VyZWQgPSBmYWxzZTsKCiAgICAgICAgZnVuY3Rpb24gY2FsbGJhY2tmbih2YWwsIGlkeCwgb2JqKSB7CiAgICAgICAgICAgIHJldHVybiB0cnVlOwogICAgICAgIH0KCiAgICAgICAgdmFyIG9iaiA9IHsKICAgICAgICAgICAgMTogMTEsCiAgICAgICAgICAgIDI6IDksCiAgICAgICAgICAgIGxlbmd0aDogewogICAgICAgICAgICAgICAgdmFsdWVPZjogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgICAgIGZpcnN0U3RlcE9jY3VyZWQgPSB0cnVlOwogICAgICAgICAgICAgICAgICAgIHJldHVybiB7fTsKICAgICAgICAgICAgICAgIH0sCiAgICAgICAgICAgICAgICB0b1N0cmluZzogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgICAgIHNlY29uZFN0ZXBPY2N1cmVkID0gdHJ1ZTsKICAgICAgICAgICAgICAgICAgICByZXR1cm4gJzInOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfTsKCiAgICAgICAgdmFyIG5ld0FyciA9IEFycmF5LnByb3RvdHlwZS5maWx0ZXIuY2FsbChvYmosIGNhbGxiYWNrZm4pOwoKICAgICAgICByZXR1cm4gbmV3QXJyLmxlbmd0aCA9PT0gMSAmJiBuZXdBcnJbMF0gPT09IDExICYmIGZpcnN0U3RlcE9jY3VyZWQgJiYgc2Vjb25kU3RlcE9jY3VyZWQ7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhBcnJheS5wcm90b3R5cGUuZmlsdGVyKTsKICAgIH0KCn0pOwo=","id":"15.4.4.20-3-21","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-3-21.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTMtMjIiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtMy0yMi5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIHRocm93cyBUeXBlRXJyb3IgZXhjZXB0aW9uIHdoZW4gJ2xlbmd0aCcgaXMgYW4gb2JqZWN0IHdpdGggdG9TdHJpbmcgYW5kIHZhbHVlT2YgbWV0aG9kcyB0aGF0IGRvbpJ0IHJldHVybiBwcmltaXRpdmUgdmFsdWVzIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKCiAgICAgICAgdmFyIGFjY2Vzc2VkID0gZmFsc2U7CiAgICAgICAgdmFyIGZpcnN0U3RlcE9jY3VyZWQgPSBmYWxzZTsKICAgICAgICB2YXIgc2Vjb25kU3RlcE9jY3VyZWQgPSBmYWxzZTsKCiAgICAgICAgZnVuY3Rpb24gY2FsbGJhY2tmbih2YWwsIGlkeCwgb2JqKSB7CiAgICAgICAgICAgIGFjY2Vzc2VkID0gdHJ1ZTsKICAgICAgICAgICAgcmV0dXJuIHRydWU7CiAgICAgICAgfQoKICAgICAgICB2YXIgb2JqID0gewogICAgICAgICAgICAxOiAxMSwKICAgICAgICAgICAgMjogMTIsCgogICAgICAgICAgICBsZW5ndGg6IHsKICAgICAgICAgICAgICAgIHZhbHVlT2Y6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgICAgICBmaXJzdFN0ZXBPY2N1cmVkID0gdHJ1ZTsKICAgICAgICAgICAgICAgICAgICByZXR1cm4ge307CiAgICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICAgdG9TdHJpbmc6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgICAgICBzZWNvbmRTdGVwT2NjdXJlZCA9IHRydWU7CiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHt9OwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfTsKCiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgQXJyYXkucHJvdG90eXBlLmZpbHRlci5jYWxsKG9iaiwgY2FsbGJhY2tmbik7CiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9IGNhdGNoIChleCkgewogICAgICAgICAgICByZXR1cm4gKGV4IGluc3RhbmNlb2YgVHlwZUVycm9yKSAmJiAhYWNjZXNzZWQgJiYgZmlyc3RTdGVwT2NjdXJlZCAmJiBzZWNvbmRTdGVwT2NjdXJlZDsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhBcnJheS5wcm90b3R5cGUuZmlsdGVyKTsKICAgIH0KCn0pOwo=","id":"15.4.4.20-3-22","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-3-22.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTMtMjMiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtMy0yMy5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIHVzZXMgaW5oZXJpdGVkIHZhbHVlT2YgbWV0aG9kIHdoZW4gJ2xlbmd0aCcgaXMgYW4gb2JqZWN0IHdpdGggYW4gb3duIHRvU3RyaW5nIGFuZCBpbmhlcml0ZWQgdmFsdWVPZiBtZXRob2RzIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKCiAgICAgICAgdmFyIHZhbHVlT2ZBY2Nlc3NlZCA9IGZhbHNlOwogICAgICAgIHZhciB0b1N0cmluZ0FjY2Vzc2VkID0gZmFsc2U7CgogICAgICAgIGZ1bmN0aW9uIGNhbGxiYWNrZm4odmFsLCBpZHgsIG9iaikgewogICAgICAgICAgICByZXR1cm4gdHJ1ZTsKICAgICAgICB9CgogICAgICAgIHZhciBwcm90byA9IHsKICAgICAgICAgICAgdmFsdWVPZjogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgdmFsdWVPZkFjY2Vzc2VkID0gdHJ1ZTsKICAgICAgICAgICAgICAgIHJldHVybiAyOwogICAgICAgICAgICB9CiAgICAgICAgfTsKCiAgICAgICAgdmFyIENvbiA9IGZ1bmN0aW9uICgpIHsgfTsKICAgICAgICBDb24ucHJvdG90eXBlID0gcHJvdG87CgogICAgICAgIHZhciBjaGlsZCA9IG5ldyBDb24oKTsKCiAgICAgICAgY2hpbGQudG9TdHJpbmcgPSBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgIHRvU3RyaW5nQWNjZXNzZWQgPSB0cnVlOwogICAgICAgICAgICByZXR1cm4gJzEnOwogICAgICAgIH07CgogICAgICAgIHZhciBvYmogPSB7CiAgICAgICAgICAgIDE6IDExLAogICAgICAgICAgICAyOiA5LAogICAgICAgICAgICBsZW5ndGg6IGNoaWxkCiAgICAgICAgfTsKCiAgICAgICAgdmFyIG5ld0FyciA9IEFycmF5LnByb3RvdHlwZS5maWx0ZXIuY2FsbChvYmosIGNhbGxiYWNrZm4pOwoKICAgICAgICByZXR1cm4gbmV3QXJyLmxlbmd0aCA9PT0gMSAmJiBuZXdBcnJbMF0gPT09IDExICYmIHZhbHVlT2ZBY2Nlc3NlZCAmJiAhdG9TdHJpbmdBY2Nlc3NlZDsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5maWx0ZXIpOwogICAgfQoKfSk7Cg==","id":"15.4.4.20-3-23","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-3-23.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTMtMjQiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtMy0yNC5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIC0gdmFsdWUgb2YgJ2xlbmd0aCcgaXMgYSBwb3NpdGl2ZSBub24taW50ZWdlciwgZW5zdXJlIHRydW5jYXRpb24gb2NjdXJzIGluIHRoZSBwcm9wZXIgZGlyZWN0aW9uIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKCiAgICAgICAgZnVuY3Rpb24gY2FsbGJhY2tmbih2YWwsIGlkeCwgb2JqKSB7CiAgICAgICAgICAgIHJldHVybiB0cnVlOwogICAgICAgIH0KCiAgICAgICAgdmFyIG9iaiA9IHsKICAgICAgICAgICAgMTogMTEsCiAgICAgICAgICAgIDI6IDksCiAgICAgICAgICAgIGxlbmd0aDogMi42ODUKICAgICAgICB9OwoKICAgICAgICB2YXIgbmV3QXJyID0gQXJyYXkucHJvdG90eXBlLmZpbHRlci5jYWxsKG9iaiwgY2FsbGJhY2tmbik7CgogICAgICAgIHJldHVybiBuZXdBcnIubGVuZ3RoID09PSAxICYmIG5ld0FyclswXSA9PT0gMTE7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhBcnJheS5wcm90b3R5cGUuZmlsdGVyKTsKICAgIH0KCn0pOwo=","id":"15.4.4.20-3-24","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-3-24.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTMtMjUiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtMy0yNS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIC0gdmFsdWUgb2YgJ2xlbmd0aCcgaXMgYSBuZWdhdGl2ZSBub24taW50ZWdlciwgZW5zdXJlIHRydW5jYXRpb24gb2NjdXJzIGluIHRoZSBwcm9wZXIgZGlyZWN0aW9uIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKCiAgICAgICAgZnVuY3Rpb24gY2FsbGJhY2tmbih2YWwsIGlkeCwgb2JqKSB7CiAgICAgICAgICAgIHJldHVybiB0cnVlOwogICAgICAgIH0KCiAgICAgICAgdmFyIG9iaiA9IHsKICAgICAgICAgICAgMTogMTEsCiAgICAgICAgICAgIDI6IDksCiAgICAgICAgICAgIGxlbmd0aDogLTQyOTQ5NjcyOTQuNQogICAgICAgIH07CgogICAgICAgIHZhciBuZXdBcnIgPSBBcnJheS5wcm90b3R5cGUuZmlsdGVyLmNhbGwob2JqLCBjYWxsYmFja2ZuKTsKCiAgICAgICAgcmV0dXJuIG5ld0Fyci5sZW5ndGggPT09IDEgJiYgbmV3QXJyWzBdID09PSAxMTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5maWx0ZXIpOwogICAgfQoKfSk7Cg==","id":"15.4.4.20-3-25","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-3-25.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTMtMyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuNC8xNS40LjQvMTUuNC40LjIwLzE1LjQuNC4yMC0zLTMuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQXJyYXkucHJvdG90eXBlLmZpbHRlciAtIHZhbHVlIG9mICdsZW5ndGgnIGlzIGEgbnVtYmVyICh2YWx1ZSBpcyAwKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIHZhciBhY2Nlc3NlZCA9IGZhbHNlOwogICAgICAgIGZ1bmN0aW9uIGNhbGxiYWNrZm4odmFsLCBpZHgsIG9iaikgewogICAgICAgICAgICBhY2Nlc3NlZCA9IHRydWU7CiAgICAgICAgICAgIHJldHVybiB0cnVlOwogICAgICAgIH0KCiAgICAgICAgdmFyIG9iaiA9IHsgMDogMTEsIGxlbmd0aDogMCB9OwogICAgICAgIHZhciBuZXdBcnIgPSBBcnJheS5wcm90b3R5cGUuZmlsdGVyLmNhbGwob2JqLCBjYWxsYmFja2ZuKTsKCiAgICAgICAgcmV0dXJuIG5ld0Fyci5sZW5ndGggPT09IDAgJiYgIWFjY2Vzc2VkOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoQXJyYXkucHJvdG90eXBlLmZpbHRlcik7CiAgICB9Cgp9KTsK","id":"15.4.4.20-3-3","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-3-3.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTMtNCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuNC8xNS40LjQvMTUuNC40LjIwLzE1LjQuNC4yMC0zLTQuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQXJyYXkucHJvdG90eXBlLmZpbHRlciAtIHZhbHVlIG9mICdsZW5ndGgnIGlzIGEgbnVtYmVyICh2YWx1ZSBpcyArMCkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICAgICAgICB2YXIgYWNjZXNzZWQgPSBmYWxzZTsKICAgICAgICBmdW5jdGlvbiBjYWxsYmFja2ZuKHZhbCwgaWR4LCBvYmopIHsKICAgICAgICAgICAgYWNjZXNzZWQgPSB0cnVlOwogICAgICAgICAgICByZXR1cm4gdHJ1ZTsKICAgICAgICB9CgogICAgICAgIHZhciBvYmogPSB7IDA6IDExLCBsZW5ndGg6ICswIH07CiAgICAgICAgdmFyIG5ld0FyciA9IEFycmF5LnByb3RvdHlwZS5maWx0ZXIuY2FsbChvYmosIGNhbGxiYWNrZm4pOwoKICAgICAgICByZXR1cm4gbmV3QXJyLmxlbmd0aCA9PT0gMCAmJiAhYWNjZXNzZWQ7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhBcnJheS5wcm90b3R5cGUuZmlsdGVyKTsKICAgIH0KCn0pOwo=","id":"15.4.4.20-3-4","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-3-4.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTMtNSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuNC8xNS40LjQvMTUuNC40LjIwLzE1LjQuNC4yMC0zLTUuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQXJyYXkucHJvdG90eXBlLmZpbHRlciAtIHZhbHVlIG9mICdsZW5ndGgnIGlzIGEgbnVtYmVyICh2YWx1ZSBpcyAtMCkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICAgICAgICB2YXIgYWNjZXNzZWQgPSBmYWxzZTsKICAgICAgICBmdW5jdGlvbiBjYWxsYmFja2ZuKHZhbCwgaWR4LCBvYmopIHsKICAgICAgICAgICAgYWNjZXNzZWQgPSB0cnVlOwogICAgICAgICAgICByZXR1cm4gdHJ1ZTsKICAgICAgICB9CgogICAgICAgIHZhciBvYmogPSB7IDA6IDExLCBsZW5ndGg6IC0wIH07CiAgICAgICAgdmFyIG5ld0FyciA9IEFycmF5LnByb3RvdHlwZS5maWx0ZXIuY2FsbChvYmosIGNhbGxiYWNrZm4pOwoKICAgICAgICByZXR1cm4gbmV3QXJyLmxlbmd0aCA9PT0gMCAmJiAhYWNjZXNzZWQ7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhBcnJheS5wcm90b3R5cGUuZmlsdGVyKTsKICAgIH0KCn0pOwo=","id":"15.4.4.20-3-5","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-3-5.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTMtNiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuNC8xNS40LjQvMTUuNC40LjIwLzE1LjQuNC4yMC0zLTYuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQXJyYXkucHJvdG90eXBlLmZpbHRlciAtIHZhbHVlIG9mICdsZW5ndGgnIGlzIGEgbnVtYmVyICh2YWx1ZSBpcyBwb3NpdGl2ZSkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICAgICAgICBmdW5jdGlvbiBjYWxsYmFja2ZuKHZhbCwgaWR4LCBvYmopIHsKICAgICAgICAgICAgcmV0dXJuIHRydWU7CiAgICAgICAgfQoKICAgICAgICB2YXIgb2JqID0geyAxOiAxMSwgMjogOSwgbGVuZ3RoOiAyIH07CgogICAgICAgIHZhciBuZXdBcnIgPSBBcnJheS5wcm90b3R5cGUuZmlsdGVyLmNhbGwob2JqLCBjYWxsYmFja2ZuKTsKCiAgICAgICAgcmV0dXJuIG5ld0Fyci5sZW5ndGggPT09IDEgJiYgbmV3QXJyWzBdID09PSAxMTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5maWx0ZXIpOwogICAgfQoKfSk7Cg==","id":"15.4.4.20-3-6","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-3-6.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTMtNyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuNC8xNS40LjQvMTUuNC40LjIwLzE1LjQuNC4yMC0zLTcuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQXJyYXkucHJvdG90eXBlLmZpbHRlciAtIHZhbHVlIG9mICdsZW5ndGgnIGlzIGEgbnVtYmVyICh2YWx1ZSBpcyBuZWdhdGl2ZSkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICAgICAgICBmdW5jdGlvbiBjYWxsYmFja2ZuKHZhbCwgaWR4LCBvYmopIHsKICAgICAgICAgICAgcmV0dXJuIHRydWU7CiAgICAgICAgfQoKICAgICAgICB2YXIgb2JqID0geyAxOiAxMSwgMjogOSwgbGVuZ3RoOiAtNDI5NDk2NzI5NCB9OwogICAgICAgIHZhciBuZXdBcnIgPSBBcnJheS5wcm90b3R5cGUuZmlsdGVyLmNhbGwob2JqLCBjYWxsYmFja2ZuKTsKCiAgICAgICAgcmV0dXJuIG5ld0Fyci5sZW5ndGggPT09IDEgJiYgbmV3QXJyWzBdID09PSAxMTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5maWx0ZXIpOwogICAgfQoKfSk7Cg==","id":"15.4.4.20-3-7","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-3-7.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTMtOSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuNC8xNS40LjQvMTUuNC40LjIwLzE1LjQuNC4yMC0zLTkuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQXJyYXkucHJvdG90eXBlLmZpbHRlciAtIHZhbHVlIG9mICdsZW5ndGgnIGlzIGEgbnVtYmVyICh2YWx1ZSBpcyAtSW5maW5pdHkpIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKCiAgICAgICAgdmFyIGFjY2Vzc2VkID0gZmFsc2U7CiAgICAgICAgZnVuY3Rpb24gY2FsbGJhY2tmbih2YWwsIGlkeCwgb2JqKSB7CiAgICAgICAgICAgIGFjY2Vzc2VkID0gdHJ1ZTsKICAgICAgICAgICAgcmV0dXJuIHRydWU7CiAgICAgICAgfQoKICAgICAgICB2YXIgb2JqID0geyAwOiA5LCBsZW5ndGg6IC1JbmZpbml0eSB9OwoKICAgICAgICB2YXIgbmV3QXJyID0gQXJyYXkucHJvdG90eXBlLmZpbHRlci5jYWxsKG9iaiwgY2FsbGJhY2tmbik7CgogICAgICAgIHJldHVybiBuZXdBcnIubGVuZ3RoID09PSAwICYmICFhY2Nlc3NlZDsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5maWx0ZXIpOwogICAgfQoKfSk7Cg==","id":"15.4.4.20-3-9","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-3-9.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxNS40LjQuMjAtNC0xIiwKCnBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtNC0xLmpzIiwKCmRlc2NyaXB0aW9uOiAiQXJyYXkucHJvdG90eXBlLmZpbHRlciB0aHJvd3MgVHlwZUVycm9yIGlmIGNhbGxiYWNrZm4gaXMgdW5kZWZpbmVkIiwKCnRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICB2YXIgYXJyID0gbmV3IEFycmF5KDEwKTsKICB0cnkgewogICAgYXJyLmZpbHRlcigpOyAgICAKICB9CiAgY2F0Y2goZSkgewogICAgaWYoZSBpbnN0YW5jZW9mIFR5cGVFcnJvcikKICAgICAgcmV0dXJuIHRydWU7ICAKICB9CgogfSwKCnByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogIHJldHVybiBmbkV4aXN0cyhBcnJheS5wcm90b3R5cGUuZmlsdGVyKTsKIH0KfSk7Cg==","id":"15.4.4.20-4-1","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-4-1.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTQtMTAiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtNC0xMC5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIC0gdGhlIGV4Y2VwdGlvbiBpcyBub3QgdGhyb3duIGlmIGV4Y2VwdGlvbiB3YXMgdGhyb3duIGJ5IHN0ZXAgMiIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIHZhciBvYmogPSB7IDA6IDExLCAxOiAxMiB9OwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAibGVuZ3RoIiwgewogICAgICAgICAgICBnZXQ6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgIHRocm93IG5ldyBTeW50YXhFcnJvcigpOwogICAgICAgICAgICB9LAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKCiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgQXJyYXkucHJvdG90eXBlLmZpbHRlci5jYWxsKG9iaiwgdW5kZWZpbmVkKTsKICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0gY2F0Y2ggKGV4KSB7CiAgICAgICAgICAgIHJldHVybiAhKGV4IGluc3RhbmNlb2YgVHlwZUVycm9yKTsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhBcnJheS5wcm90b3R5cGUuZmlsdGVyKSAmJiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQoKfSk7Cg==","id":"15.4.4.20-4-10","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-4-10.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTQtMTEiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtNC0xMS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIC0gdGhlIGV4Y2VwdGlvbiBpcyBub3QgdGhyb3duIGlmIGV4Y2VwdGlvbiB3YXMgdGhyb3duIGJ5IHN0ZXAgMyIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIHZhciBvYmogPSB7IDA6IDExLCAxOiAxMiB9OwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAibGVuZ3RoIiwgewogICAgICAgICAgICBnZXQ6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgIHJldHVybiB7CiAgICAgICAgICAgICAgICAgICAgdG9TdHJpbmc6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgICAgICAgICAgdGhyb3cgbmV3IFN5bnRheEVycm9yKCk7CiAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgfTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgfSk7CgogICAgICAgIHRyeSB7CiAgICAgICAgICAgIEFycmF5LnByb3RvdHlwZS5maWx0ZXIuY2FsbChvYmosIHVuZGVmaW5lZCk7CiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9IGNhdGNoIChleCkgewogICAgICAgICAgICByZXR1cm4gIShleCBpbnN0YW5jZW9mIFR5cGVFcnJvcik7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoQXJyYXkucHJvdG90eXBlLmZpbHRlcikgJiYgZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KCn0pOwo=","id":"15.4.4.20-4-11","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-4-11.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTQtMTIiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtNC0xMi5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIC0gJ2NhbGxiYWNrZm4nIGlzIGEgZnVuY3Rpb24iLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICAgICAgICBmdW5jdGlvbiBjYWxsYmFja2ZuKHZhbCwgaWR4LCBvYmopIHsKICAgICAgICAgICAgaWYgKGlkeCA9PT0gMSkgewogICAgICAgICAgICAgICAgcmV0dXJuIHZhbCA9PT0gOTsKICAgICAgICAgICAgfQogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfQoKICAgICAgICB2YXIgbmV3QXJyID0gWzExLCA5XS5maWx0ZXIoY2FsbGJhY2tmbik7CiAgICAgICAgcmV0dXJuIG5ld0Fyci5sZW5ndGggPT09IDEgJiYgbmV3QXJyWzBdID09PSA5OwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoQXJyYXkucHJvdG90eXBlLmZpbHRlcik7CiAgICB9Cgp9KTsK","id":"15.4.4.20-4-12","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-4-12.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTQtMTUiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtNC0xNS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIC0gY2FsbGluZyB3aXRoIG5vIGNhbGxiYWNrZm4gaXMgdGhlIHNhbWUgYXMgcGFzc2luZyB1bmRlZmluZWQgZm9yIGNhbGxiYWNrZm4iLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBvYmogPSB7IDEwOiAxMCB9OwogICAgICAgIHZhciBsZW5ndGhBY2Nlc3NlZCA9IGZhbHNlOwogICAgICAgIHZhciBsb29wQWNjZXNzZWQgPSBmYWxzZTsKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAibGVuZ3RoIiwgewogICAgICAgICAgICBnZXQ6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgIGxlbmd0aEFjY2Vzc2VkID0gdHJ1ZTsKICAgICAgICAgICAgICAgIHJldHVybiAyMDsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgfSk7CiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgIjAiLCB7CiAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgbG9vcEFjY2Vzc2VkID0gdHJ1ZTsKICAgICAgICAgICAgICAgIHJldHVybiAxMDsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgfSk7CgogICAgICAgIHRyeSB7CiAgICAgICAgICAgIEFycmF5LnByb3RvdHlwZS5maWx0ZXIuY2FsbChvYmopOwogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSBjYXRjaCAoZXgpIHsKICAgICAgICAgICAgcmV0dXJuIChleCBpbnN0YW5jZW9mIFR5cGVFcnJvcikgJiYgbGVuZ3RoQWNjZXNzZWQgJiYgIWxvb3BBY2Nlc3NlZDsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhBcnJheS5wcm90b3R5cGUuZmlsdGVyKSAmJiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuU3VwcG9ydHNBcnJheUluZGV4R2V0dGVyc09uT2JqZWN0cygpOwogICAgfQoKfSk7Cg==","id":"15.4.4.20-4-15","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-4-15.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxNS40LjQuMjAtNC0yIiwKCnBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtNC0yLmpzIiwKCmRlc2NyaXB0aW9uOiAiQXJyYXkucHJvdG90eXBlLmZpbHRlciB0aHJvd3MgUmVmZXJlbmNlRXJyb3IgaWYgY2FsbGJhY2tmbiBpcyB1bnJlZmVyZW5jZWQiLAoKdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogIHZhciBhcnIgPSBuZXcgQXJyYXkoMTApOwogIHRyeSB7CiAgICBhcnIuZmlsdGVyKGZvbyk7ICAgIAogIH0KICBjYXRjaChlKSB7CiAgICBpZihlIGluc3RhbmNlb2YgUmVmZXJlbmNlRXJyb3IpCiAgICAgIHJldHVybiB0cnVlOyAgCiAgfQoKIH0sCgpwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICByZXR1cm4gZm5FeGlzdHMoQXJyYXkucHJvdG90eXBlLmZpbHRlcik7CiB9Cn0pOwo=","id":"15.4.4.20-4-2","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-4-2.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxNS40LjQuMjAtNC0zIiwKCnBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtNC0zLmpzIiwKCmRlc2NyaXB0aW9uOiAiQXJyYXkucHJvdG90eXBlLmZpbHRlciB0aHJvd3MgVHlwZUVycm9yIGlmI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XJyLmZpbHRlcigiYWJjIik7ICAgIAogIH0KICBjYXRjaChlKSB7CiAgICBpZihlIGluc3RhbmNlb2YgVHlwZUVycm9yKQogICAgICByZXR1cm4gdHJ1ZTsgIAogIH0KCiB9LAoKcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgcmV0dXJuIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5maWx0ZXIpOwogfQp9KTsK","id":"15.4.4.20-4-6","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-4-6.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxNS40LjQuMjAtNC03IiwKCnBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtNC03LmpzIiwKCmRlc2NyaXB0aW9uOiAiQXJyYXkucHJvdG90eXBlLmZpbHRlciB0aHJvd3MgVHlwZUVycm9yIGlmIGNhbGxiYWNrZm4gaXMgT2JqZWN0IHdpdGhvdXQgW1tDYWxsXV0gaW50ZXJuYWwgbWV0aG9kIiwKCnRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICB2YXIgYXJyID0gbmV3IEFycmF5KDEwKTsKICB0cnkgewogICAgYXJyLmZpbHRlcihuZXcgT2JqZWN0KCkpOyAgICAKICB9CiAgY2F0Y2goZSkgewogICAgaWYoZSBpbnN0YW5jZW9mIFR5cGVFcnJvcikKICAgICAgcmV0dXJuIHRydWU7ICAKICB9CgogfSwKCnByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogIHJldHVybiBmbkV4aXN0cyhBcnJheS5wcm90b3R5cGUuZmlsdGVyKTsKIH0KfSk7Cg==","id":"15.4.4.20-4-7","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-4-7.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTQtOCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuNC8xNS40LjQvMTUuNC40LjIwLzE1LjQuNC4yMC00LTguanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQXJyYXkucHJvdG90eXBlLmZpbHRlciAtIHNpZGUgZWZmZWN0cyBwcm9kdWNlZCBieSBzdGVwIDIgYXJlIHZpc2libGUgd2hlbiBhbiBleGNlcHRpb24gb2NjdXJzIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKCiAgICAgICAgdmFyIG9iaiA9IHsgMDogMTEsIDE6IDEyIH07CgogICAgICAgIHZhciBhY2Nlc3NlZCA9IGZhbHNlOwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAibGVuZ3RoIiwgewogICAgICAgICAgICBnZXQ6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgIGFjY2Vzc2VkID0gdHJ1ZTsKICAgICAgICAgICAgICAgIHJldHVybiAyOwogICAgICAgICAgICB9LAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKCiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgQXJyYXkucHJvdG90eXBlLmZpbHRlci5jYWxsKG9iaiwgbnVsbCk7CiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9IGNhdGNoIChleCkgewogICAgICAgICAgICByZXR1cm4gZXggaW5zdGFuY2VvZiBUeXBlRXJyb3IgJiYgYWNjZXNzZWQ7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoQXJyYXkucHJvdG90eXBlLmZpbHRlcikgJiYgZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KCn0pOwo=","id":"15.4.4.20-4-8","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-4-8.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTQtOSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuNC8xNS40LjQvMTUuNC40LjIwLzE1LjQuNC4yMC00LTkuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQXJyYXkucHJvdG90eXBlLmZpbHRlciAtIHNpZGUgZWZmZWN0cyBwcm9kdWNlZCBieSBzdGVwIDMgYXJlIHZpc2libGUgd2hlbiBhbiBleGNlcHRpb24gb2NjdXJzIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKCiAgICAgICAgdmFyIG9iaiA9IHsgMDogMTEsIDE6IDEyIH07CgogICAgICAgIHZhciBhY2Nlc3NlZCA9IGZhbHNlOwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAibGVuZ3RoIiwgewogICAgICAgICAgICBnZXQ6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgIHJldHVybiB7CiAgICAgICAgICAgICAgICAgICAgdG9TdHJpbmc6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgICAgICAgICAgYWNjZXNzZWQgPSB0cnVlOwogICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gIjIiOwogICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIH07CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgIH0pOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBBcnJheS5wcm90b3R5cGUuZmlsdGVyLmNhbGwob2JqLCBudWxsKTsKICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0gY2F0Y2ggKGV4KSB7CiAgICAgICAgICAgIHJldHVybiBleCBpbnN0YW5jZW9mIFR5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estCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-5-1-s.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS40LjQuMjAtNS0xIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS40LzE1LjQuNC8xNS40LjQuMjAvMTUuNC40LjIwLTUtMS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIC0gdGhpc0FyZyBpcyBwYXNzZWQiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHRoaXMuXzE1XzRfNF8yMF81XzEgPSBmYWxzZTsKICAgICAgICB2YXIgXzE1XzRfNF8yMF81XzEgPSB0cnVlOwoKICAgICAgICBmdW5jdGlvbiBjYWxsYmFja2ZuKHZhbCwgaWR4LCBvYmopIHsKICAgICAgICAgICAgcmV0dXJuIHRoaXMuXzE1XzRfNF8yMF81XzE7CiAgICAgICAgfQogICAgICAgIHZhciBzcmNBcnIgPSBbMV07CiAgICAgICAgdmFyIHJlc0FyciA9IHNyY0Fyci5maWx0ZXIoY2FsbGJhY2tmbik7CiAgICAgICAgcmV0dXJuIHJlc0Fyci5sZW5ndGggPT09IDA7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhBcnJheS5wcm90b3R5cGUuZmlsdGVyKTsKICAgIH0KfSk7Cg==","id":"15.4.4.20-5-1","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-5-1.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTUtMTAiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtNS0xMC5qcyI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gICAgICAgdmFyIGFjY2Vzc2VkID0gZmFsc2U7CiAgICAgICAgdmFyIG9ialN0cmluZyA9IG5ldyBTdHJpbmcoKTsKCiAgICAgICAgZnVuY3Rpb24gY2FsbGJhY2tmbih2YWwsIGlkeCwgb2JqKSB7CiAgICAgICAgICAgIGFjY2Vzc2VkID0gdHJ1ZTsKICAgICAgICAgICAgcmV0dXJuIHRoaXMgPT09IG9ialN0cmluZzsKICAgICAgICB9CgogICAgICAgIHZhciBuZXdBcnIgPSBbMTFdLmZpbHRlcihjYWxsYmFja2ZuLCBvYmpTdHJpbmcpOwoKICAgICAgICByZXR1cm4gbmV3QXJyWzBdID09PSAxMSAmJiBhY2Nlc3NlZDsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5maWx0ZXIpOwogICAgfQoKfSk7Cg==","id":"15.4.4.20-5-11","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-5-11.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTUtMTIiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtNS0xMi5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIC0gQm9vbGVhbiBPYmplY3QgY2FuIGJlIHVzZWQgYXMgdGhpc0FyZyIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIHZhciBhY2Nlc3NlZCA9IGZhbHNlOwogICAgICAgIHZhciBvYmpCb29sZWFuID0gbmV3IEJvb2xlYW4oKTsKCiAgICAgICAgZnVuY3Rpb24gY2FsbGJhY2tmbih2YWwsIGlkeCwgb2JqKSB7CiAgICAgICAgICAgIGFjY2Vzc2VkID0gdHJ1ZTsKICAgICAgICAgICAgcmV0dXJuIHRoaXMgPT09IG9iakJvb2xlYW47CiAgICAgICAgfQoKICAgICAgICB2YXIgbmV3QXJyID0gWzExXS5maWx0ZXIoY2FsbGJhY2tmbiwgb2JqQm9vbGVhbik7CgogICAgICAgIHJldHVybiBuZXdBcnJbMF0gPT09IDExICYmIGFjY2Vzc2VkOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoQXJyYXkucHJvdG90eXBlLmZpbHRlcik7CiAgICB9Cgp9KTsK","id":"15.4.4.20-5-12","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-5-12.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTUtMTMiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtNS0xMy5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIC0gTnVtYmVyIE9iamVjdCBjYW4gYmUgdXNlZCBhcyB0aGlzQXJnIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKCiAgICAgICAgdmFyIGFjY2Vzc2VkID0gZmFsc2U7CiAgICAgICAgdmFyIG9iak51bWJlciA9IG5ldyBOdW1iZXIoKTsKCiAgICAgICAgZnVuY3Rpb24gY2FsbGJhY2tmbih2YWwsIGlkeCwgb2JqKSB7CiAgICAgICAgICAgIGFjY2Vzc2VkID0gdHJ1ZTsKICAgICAgICAgICAgcmV0dXJuIHRoaXMgPT09IG9iak51bWJlcjsKICAgICAgICB9CgogICAgICAgIHZhciBuZXdBcnIgPSBbMTFdLmZpbHRlcihjYWxsYmFja2ZuLCBvYmpOdW1iZXIpOwoKICAgICAgICByZXR1cm4gbmV3QXJyWzBdID09PSAxMSAmJiBhY2Nlc3NlZDsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5maWx0ZXIpOwogICAgfQoKfSk7Cg==","id":"15.4.4.20-5-13","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-5-13.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTUtMTQiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtNS0xNC5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIC0gdGhlIE1hdGggb2JqZWN0IGNhbiBiZSB1c2VkIGFzIHRoaXNBcmciLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICAgICAgICB2YXIgYWNjZXNzZWQgPSBmYWxzZTsKCiAgICAgICAgZnVuY3Rpb24gY2FsbGJhY2tmbih2YWwsIGlkeCwgb2JqKSB7CiAgICAgICAgICAgIGFjY2Vzc2VkID0gdHJ1ZTsKICAgICAgICAgICAgcmV0dXJuIHRoaXMgPT09IE1hdGg7CiAgICAgICAgfQoKICAgICAgICB2YXIgbmV3QXJyID0gWzExXS5maWx0ZXIoY2FsbGJhY2tmbiwgTWF0aCk7CgogICAgICAgIHJldHVybiBuZXdBcnJbMF0gPT09IDExICYmIGFjY2Vzc2VkOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoQXJyYXkucHJvdG90eXBlLmZpbHRlcik7CiAgICB9Cgp9KTsK","id":"15.4.4.20-5-14","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-5-14.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTUtMTUiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtNS0xNS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIC0gRGF0ZSBPYmplY3QgY2FuIGJlIHVzZWQgYXMgdGhpc0FyZyIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIHZhciBhY2Nlc3NlZCA9IGZhbHNlOwoKICAgICAgICB2YXIgb2JqRGF0ZSA9IG5ldyBEYXRlKCk7CgogICAgICAgIGZ1bmN0aW9uIGNhbGxiYWNrZm4odmFsLCBpZHgsIG9iaikgewogICAgICAgICAgICBhY2Nlc3NlZCA9IHRydWU7CiAgICAgICAgICAgIHJldHVybiB0aGlzID09PSBvYmpEYXRlOwogICAgICAgIH0KCiAgICAgICAgdmFyIG5ld0FyciA9IFsxMV0uZmlsdGVyKGNhbGxiYWNrZm4sIG9iakRhdGUpOwoKICAgICAgICByZXR1cm4gbmV3QXJyWzBdID09PSAxMSAmJiBhY2Nlc3NlZDsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5maWx0ZXIpOwogICAgfQoKfSk7Cg==","id":"15.4.4.20-5-15","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-5-15.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTUtMTYiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtNS0xNi5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIC0gUmVnRXhwIE9iamVjdCBjYW4gYmUgdXNlZCBhcyB0aGlzQXJnIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKCiAgICAgICAgdmFyIGFjY2Vzc2VkID0gZmFsc2U7CgogICAgICAgIHZhciBvYmpSZWdFeHAgPSBuZXcgUmVnRXhwKCk7CgogICAgICAgIGZ1bmN0aW9uIGNhbGxiYWNrZm4odmFsLCBpZHgsIG9iaikgewogICAgICAgICAgICBhY2Nlc3NlZCA9IHRydWU7CiAgICAgICAgICAgIHJldHVybiB0aGlzID09PSBvYmpSZWdFeHA7CiAgICAgICAgfQoKICAgICAgICB2YXIgbmV3QXJyID0gWzExXS5maWx0ZXIoY2FsbGJhY2tmbiwgb2JqUmVnRXhwKTsKCiAgICAgICAgcmV0dXJuIG5ld0FyclswXSA9PT0gMTEgJiYgYWNjZXNzZWQ7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhBcnJheS5wcm90b3R5cGUuZmlsdGVyKTsKICAgIH0KCn0pOwo=","id":"15.4.4.20-5-16","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-5-16.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTUtMTciLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtNS0xNy5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIC0gdGhlIEpTT04gb2JqZWN0IGNhbiBiZSB1c2VkIGFzIHRoaXNBcmciLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBhY2Nlc3NlZCA9IGZhbHNlOwoKICAgICAgICBmdW5jdGlvbiBjYWxsYmFja2ZuKHZhbCwgaWR4LCBvYmopIHsKICAgICAgICAgICAgYWNjZXNzZWQgPSB0cnVlOwogICAgICAgICAgICByZXR1cm4gdGhpcyA9PT0gSlNPTjsKICAgICAgICB9CgogICAgICAgIHZhciBuZXdBcnIgPSBbMTFdLmZpbHRlcihjYWxsYmFja2ZuLCBKU09OKTsKCiAgICAgICAgcmV0dXJuIG5ld0FyclswXSA9PT0gMTEgJiYgYWNjZXNzZWQ7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhBcnJheS5wcm90b3R5cGUuZmlsdGVyKTsKICAgIH0KCn0pOwo=","id":"15.4.4.20-5-17","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-5-17.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTUtMTgiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtNS0xOC5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIC0gRXJyb3IgT2JqZWN0IGNhbiBiZSB1c2VkIGFzIHRoaXNBcmciLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICAgICAgICB2YXIgYWNjZXNzZWQgPSBmYWxzZTsKICAgICAgICB2YXIgb2JqRXJyb3IgPSBuZXcgUmFuZ2VFcnJvcigpOwoKICAgICAgICBmdW5jdGlvbiBjYWxsYmFja2ZuKHZhbCwgaWR4LCBvYmopIHsKICAgICAgICAgICAgYWNjZXNzZWQgPSB0cnVlOwogICAgICAgICAgICByZXR1cm4gdGhpcyA9PT0gb2JqRXJyb3I7CiAgICAgICAgfQoKICAgICAgICB2YXIgbmV3QXJyID0gWzExXS5maWx0ZXIoY2FsbGJhY2tmbiwgb2JqRXJyb3IpOwoKICAgICAgICByZXR1cm4gbmV3QXJyWzBdID09PSAxMSAmJiBhY2Nlc3NlZDsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5maWx0ZXIpOwogICAgfQoKfSk7Cg==","id":"15.4.4.20-5-18","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-5-18.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTUtMTkiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtNS0xOS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIC0gdGhlIEFyZ3VtZW50cyBvYmplY3QgY2FuIGJlIHVzZWQgYXMgdGhpc0FyZyIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIHZhciBhY2Nlc3NlZCA9IGZhbHNlOwogICAgICAgIHZhciBhcmc7CgogICAgICAgIGZ1bmN0aW9uIGNhbGxiYWNrZm4odmFsLCBpZHgsIG9iaikgewogICAgICAgICAgICBhY2Nlc3NlZCA9IHRydWU7CiAgICAgICAgICAgIHJldHVybiB0aGlzID09PSBhcmc7CiAgICAgICAgfQoKICAgICAgICAoZnVuY3Rpb24gZnVuKCkgewogICAgICAgICAgICBhcmcgPSBhcmd1bWVudHM7CiAgICAgICAgfSgxLCAyLCAzKSk7CgogICAgICAgIHZhciBuZXdBcnIgPSBbMTFdLmZpbHRlcihjYWxsYmFja2ZuLCBhcmcpOwogICAgICAgIHJldHVybiBuZXdBcnJbMF0gPT09IDExICYmIGFjY2Vzc2VkOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoQXJyYXkucHJvdG90eXBlLmZpbHRlcik7CiAgICB9Cgp9KTs=","id":"15.4.4.20-5-19","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-5-19.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxNS40LjQuMjAtNS0yIiwKCnBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtNS0yLmpzIiwKCmRlc2NyaXB0aW9uOiAiQXJyYXkucHJvdG90eXBlLmZpbHRlciAtIHRoaXNBcmcgaXMgT2JqZWN0IiwKCnRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogIHZhciByZXMgPSBmYWxzZTsKICB2YXIgbyA9IG5ldyBPYmplY3QoKTsKICBvLnJlcyA9IHRydWU7CiAgZnVuY3Rpb24gY2FsbGJhY2tmbih2YWwsIGlkeCwgb2JqKQogIHsKICAgIHJldHVybiB0aGlzLnJlczsKICB9CgogIHZhciBzcmNBcnIgPSBbMV07CiAgdmFyIHJlc0FyciA9IHNyY0Fyci5maWx0ZXIoY2FsbGJhY2tmbixvKTsKICBpZiggcmVzQXJyLmxlbmd0aCA9PT0gMSkKICAgIHJldHVybiB0cnVlOwogfSwKCnByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogIHJldHVybiBmbkV4aXN0cyhBcnJheS5wcm90b3R5cGUuZmlsdGVyKTsKIH0KfSk7Cg==","id":"15.4.4.20-5-2","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-5-2.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTUtMjEiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtNS0yMS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIC0gdGhlIGdsb2JhbCBvYmplY3QgY2FuIGJlIHVzZWQgYXMgdGhpc0FyZyIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIHZhciBhY2Nlc3NlZCA9IGZhbHNlOwoKICAgICAgICBmdW5jdGlvbiBjYWxsYmFja2ZuKHZhbCwgaWR4LCBvYmopIHsKICAgICAgICAgICAgYWNjZXNzZWQgPSB0cnVlOwogICAgICAgICAgICByZXR1cm4gdGhpcyA9PT0gZm5HbG9iYWxPYmplY3QoKTsKICAgICAgICB9CgogICAgICAgIHZhciBuZXdBcnIgPSBbMTFdLmZpbHRlcihjYWxsYmFja2ZuLCBmbkdsb2JhbE9iamVjdCgpKTsKCiAgICAgICAgcmV0dXJuIG5ld0FyclswXSA9PT0gMTEgJiYgYWNjZXNzZWQ7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhBcnJheS5wcm90b3R5cGUuZmlsdGVyKTsKICAgIH0KCn0pOwo=","id":"15.4.4.20-5-21","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-5-21.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTUtMjIiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtNS0yMi5qcyIsCgogICAgZGVzY3JpcHRpb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W9uIGNhbGxiYWNrZm4odmFsLCBpZHgsIG9iaikgewogICAgICAgICAgICBhY2Nlc3NlZCA9IHRydWU7CiAgICAgICAgICAgIHJldHVybiB0aGlzLnZhbHVlT2YoKSA9PT0gMTAxOwogICAgICAgIH0KCiAgICAgICAgdmFyIG5ld0FyciA9IFsxMV0uZmlsdGVyKGNhbGxiYWNrZm4sIDEwMSk7CgogICAgICAgIHJldHVybiBuZXdBcnJbMF0gPT09IDExICYmIGFjY2Vzc2VkOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoQXJyYXkucHJvdG90eXBlLmZpbHRlcik7CiAgICB9Cgp9KTsK","id":"15.4.4.20-5-23","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-5-23.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTUtMjQiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtNS0yNC5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIC0gc3RyaW5nIHByaW1pdGl2ZSBjYW4gYmUgdXNlZCBhcyB0aGlzQXJnIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKCiAgICAgICAgdmFyIGFjY2Vzc2VkID0gZmFsc2U7CgogICAgICAgIGZ1bmN0aW9uIGNhbGxiYWNrZm4odmFsLCBpZHgsIG9iaikgewogICAgICAgICAgICBhY2Nlc3NlZCA9IHRydWU7CiAgICAgICAgICAgIHJldHVybiB0aGlzLnZhbHVlT2YoKSA9PT0gImFiYyI7CiAgICAgICAgfQoKICAgICAgICB2YXIgbmV3QXJyID0gWzExXS5maWx0ZXIoY2FsbGJhY2tmbiwgImFiYyIpOwoKICAgICAgICByZXR1cm4gbmV3QXJyWzBdID09PSAxMSAmJiBhY2Nlc3NlZDsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5maWx0ZXIpOwogICAgfQoKfSk7Cg==","id":"15.4.4.20-5-24","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-5-24.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTUtMjciLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtNS0yNy5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIC0gQXJyYXkuaXNBcnJheShhcmcpIHJldHVybnMgdHJ1ZSB3aGVuIGFyZyBpcyB0aGUgcmV0dXJuZWQgYXJyYXkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICAgICAgICB2YXIgbmV3QXJyID0gWzExXS5maWx0ZXIoZnVuY3Rpb24gKCkgeyB9KTsKCiAgICAgICAgcmV0dXJuIEFycmF5LmlzQXJyYXkobmV3QXJyKTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5maWx0ZXIpICYmIGZuRXhpc3RzKEFycmF5LmlzQXJyYXkpOwogICAgfQoKfSk7Cg==","id":"15.4.4.20-5-27","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-5-27.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTUtMjgiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtNS0yOC5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIC0gdGhlIHJldHVybmVkIGFycmF5IGlzIGluc3RhbmNlb2YgQXJyYXkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICAgICAgICB2YXIgbmV3QXJyID0gWzExXS5maWx0ZXIoZnVuY3Rpb24gKCkgeyB9KTsKCiAgICAgICAgcmV0dXJuIG5ld0FyciBpbnN0YW5jZW9mIEFycmF5OwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoQXJyYXkucHJvdG90eXBlLmZpbHRlcik7CiAgICB9Cgp9KTsK","id":"15.4.4.20-5-28","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-5-28.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTUtMjkiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtNS0yOS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIC0gcmV0dXJucyBhbiBhcnJheSB3aG9zZSBsZW5ndGggaXMgMCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIHZhciBuZXdBcnIgPSBbMTFdLmZpbHRlcihmdW5jdGlvbiAoKSB7IH0pOwoKICAgICAgICByZXR1cm4gbmV3QXJyLmxlbmd0aCA9PT0gMDsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5maWx0ZXIpOwogICAgfQoKfSk7Cg==","id":"15.4.4.20-5-29","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-5-29.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxNS40LjQuMjAtNS0zIiwKCnBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtNS0zLmpzIiwKCmRlc2NyaXB0aW9uOiAiQXJyYXkucHJvdG90eXBlLmZpbHRlciAtIHRoaXNBcmcgaXMgQXJyYXkiLAoKdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgdmFyIHJlcyA9IGZhbHNlOwogIHZhciBhID0gbmV3IEFycmF5KCk7CiAgYS5yZXMgPSB0cnVlOwogIGZ1bmN0aW9uIGNhbGxiYWNrZm4odmFsLCBpZHgsIG9iaikKICB7CiAgICByZXR1cm4gdGhpcy5yZXM7CiAgfQoKICB2YXIgc3JjQXJyID0gWzFdOwogIHZhciByZXNBcnIgPSBzcmNBcnIuZmlsdGVyKGNhbGxiYWNrZm4sYSk7CiAgaWYoIHJlc0Fyci5sZW5ndGggPT09IDEpCiAgICByZXR1cm4gdHJ1ZTsKCiB9LAoKcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgcmV0dXJuIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5maWx0ZXIpOwogfQp9KTsK","id":"15.4.4.20-5-3","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-5-3.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS40LjQuMjAtNS0zMCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuNC8xNS40LjQvMTUuNC40LjIwLzE1LjQuNC4yMC01LTMwLmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIkFycmF5LnByb3RvdHlwZS5maWx0ZXIgLSB0aGlzQXJnIG5vdCBwYXNzZWQiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIGZ1bmN0aW9uIGlubmVyT2JqKCkgewogICAgICAgICAgICB0aGlzLl8xNV80XzRfMjBfNV8zMCA9IHRydWU7CiAgICAgICAgICAgIHZhciBfMTVfNF80XzIwXzVfMzAgPSBmYWxzZTsKICAgICAgICAgICAgCiAgICAgICAgICAgIGZ1bmN0aW9uIGNhbGxiYWNrZm4odmFsLCBpZHgsIG9iaikgewogICAgICAgICAgICAgICAgcmV0dXJuIHRoaXMuXzE1XzRfNF8yMF81XzMwOwogICAgICAgICAgICB9CiAgICAgICAgICAgIHZhciBzcmNBcnIgPSBbMV07CiAgICAgICAgICAgIHZhciByZXNBcnIgPSBzcmNBcnIuZmlsdGVyKGNhbGxiYWNrZm4pOwogICAgICAgICAgICB0aGlzLnJldFZhbCA9IHJlc0Fyci5sZW5ndGggPT09IDA7CiAgICAgICAgfQogICAgICAgIHJldHVybiBuZXcgaW5uZXJPYmooKS5yZXRWYWw7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhBcnJheS5wcm90b3R5cGUuZmlsdGVyKTsKICAgIH0KfSk7Cg==","id":"15.4.4.20-5-30","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-5-30.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxNS40LjQuMjAtNS00IiwKCnBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtNS00LmpzIiwKCmRlc2NyaXB0aW9uOiAiQXJyYXkucHJvdG90eXBlLmZpbHRlciAtIHR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bkV4aXN0cyhBcnJheS5wcm90b3R5cGUuZmlsdGVyKTsKIH0KfSk7Cg==","id":"15.4.4.20-5-6","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-5-6.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTUtNyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuNC8xNS40LjQvMTUuNC40LjIwLzE1LjQuNC4yMC01LTcuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQXJyYXkucHJvdG90eXBlLmZpbHRlciAtIGJ1aWx0LWluIGZ1bmN0aW9ucyBjYW4gYmUgdXNlZCBhcyB0aGlzQXJnIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKCiAgICAgICAgdmFyIGFjY2Vzc2VkID0gZmFsc2U7CgogICAgICAgIGZ1bmN0aW9uIGNhbGxiYWNrZm4odmFsLCBpZHgsIG9iaikgewogICAgICAgICAgICBhY2Nlc3NlZCA9IHRydWU7CiAgICAgICAgICAgIHJldHVybiB0aGlzID09PSBldmFsOwogICAgICAgIH0KCiAgICAgICAgdmFyIG5ld0FyciA9IFsxMV0uZmlsdGVyKGNhbGxiYWNrZm4sIGV2YWwpOwoKICAgICAgICByZXR1cm4gbmV3QXJyWzBdID09PSAxMSAmJiBhY2Nlc3NlZDsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5maWx0ZXIpOwogICAgfQoKfSk7Cg==","id":"15.4.4.20-5-7","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-5-7.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTUtOSIsCgogICAgcGF0aDogIlRlc3RDYX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AgIHJldHVybiB0cnVlOwogIH0KIH0sCgpwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICByZXR1cm4gZm5FeGlzdHMoQXJyYXkucHJvdG90eXBlLmZpbHRlcik7CiB9Cn0pOwo=","id":"15.4.4.20-6-2","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-6-2.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxNS40LjQuMjAtNi0zIiwKCnBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtNi0zLmpzIiwKCmRlc2NyaXB0aW9uOiAiQXJyYXkucHJvdG90eXBlLmZpbHRlciByZXR1cm5zIGFuIGVtcHR5IGFycmF5IGlmICdsZW5ndGgnIGlzIDAgKHN1YmNsYXNzZWQgQXJyYXksIGxlbmd0aCBvdmVycmlkZGVuIHRvIGZhbHNlICh0eXBlIGNvbnZlcnNpb24pKSIsCgp0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICBmb28ucHJvdG90eXBlID0gbmV3IEFycmF5KDEsIDIsIDMpOwogIGZ1bmN0aW9uIGZvbygpIHt9CiAgdmFyIGYgPSBuZXcgZm9vKCk7CiAgZi5sZW5ndGggPSBmYWxzZTsKICAKICBmdW5jdGlvbiBjYigpe30KICB2YXIgYSA9IGYuZmlsdGVyKGNiKTsKICAKICBpZiAoQXJyYXkuaXNBcnJheShhKSAmJgogICAgICBhLmxlbmd0aCA9PT0gMCkgewogICAgcmV0dXJuIHRydWU7CiAgfQogfSwKCnByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogIHJldHVybiBmbkV4aXN0cyhBcnJheS5wcm90b3R5cGUuZmlsdGVyKTsKIH0KfSk7Cg==","id":"15.4.4.20-6-3","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-6-3.js"},{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lbnRhdGlvbiBvZiBuLCB3aGljaCBpcwogIC8vIHRoZW4gY29udmVydGVkIGJhY2sgdG8gbiBpdHNlbGYuIElmIGFuIGFycmF5IGNvbnRhaW5zIG1vcmUgdGhhbiBvbmUgZWxlbWVudCwKICAvLyBvciBpZiBpdHMgb25lIGVsZW1lbnQgaXMgbm90IGEgbnVtYmVyLCB0aGUgYXJyYXkgY29udmVydHMgdG8gTmFOLgoKICBmdW5jdGlvbiBjYigpe30KICB2YXIgYSA9IGYuZmlsdGVyKGNiKTsKICAKICBpZiAoQXJyYXkuaXNBcnJheShhKSAmJgogICAgICBhLmxlbmd0aCA9PT0gMCkgewogICAgcmV0dXJuIHRydWU7CiAgfQogfSwKCnByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogIHJldHVybiBmbkV4aXN0cyhBcnJheS5wcm90b3R5cGUuZmlsdGVyKTsKIH0KfSk7Cg==","id":"15.4.4.20-6-8","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-6-8.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS40LjQuMjAtOS0xIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS40LzE1LjQuNC8xNS40LjQuMjAvMTUuNC40LjIwLTktMS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIGRvZXNuJ3QgY29uc2lkZXIgbmV3IGVsZW1lbnRzIGFkZGVkIHRvIGFycmF5IGFmdGVyIGl0IGlzIGNhbGxlZCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIGZ1bmN0aW9uIGNhbGxiYWNrZm4odmFsLCBpZHgsIG9iaikgewogICAgICAgICAgICBzcmNBcnJbMl0gPSAzOwogICAgICAgICAgICBzcmNBcnJbNV0gPSA2OwogICAgICAgICAgICByZXR1cm4gdHJ1ZTsKICA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gZm5FeGlzdHMoQXJyYXkucHJvdG90eXBlLmZpbHRlcik7CiB9Cn0pOwo=","id":"15.4.4.20-9-3","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-3.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxNS40LjQuMjAtOS00IiwKCnBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtOS00LmpzIiwKCmRlc2NyaXB0aW9uOiAiQXJyYXkucHJvdG90eXBlLmZpbHRlciBkb2Vzbid0IHZpc2l0IGRlbGV0ZWQgZWxlbWVudHMgd2hlbiBBcnJheS5sZW5ndGggaXMgZGVjcmVhc2VkIiwKCnRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgeyAKIAogIGZ1bmN0aW9uIGNhbGxiYWNrZm4odmFsLCBpZHgsIG9iaikKICB7CiAgICBzcmNBcnIubGVuZ3RoID0gMjsKICAgIHJldHVybiB0cnVlOwogIH0KCiAgdmFyIHNyY0FyciA9IFsxLDIsMyw0LDZdOwogIHZhciByZXNBcnIgPSBzcmNBcnIuZmlsdGVyKGNhbGxiYWNrZm4pOwogIGlmKHJlc0Fyci5sZW5ndGggPT09IDIgKQogICAgICByZXR1cm4gdHJ1ZTsgIAogIAogfSwKCnByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogIHJldHVybiBmbkV4aXN0cyhBcnJheS5wcm90b3R5cGUuZmlsdGVyKTsKIH0KfSk7Cg==","id":"15.4.4.20-9-4","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-4.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxNS40LjQuMjAtOS01IiwKCnBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjA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GZ1bmN0aW9uIGNhbGxiYWNrZm4odmFsLCBpZHgsIG9iaikKICB7CiAgICBkZWxldGUgc3JjQXJyWzJdOwogICAgZGVsZXRlIHNyY0Fycls0XTsKICAgIGlmKHZhbCA+IDApCiAgICAgIHJldHVybiB0cnVlOwogICAgZWxzZQogICAgICByZXR1cm4gZmFsc2U7CiAgIH0KCiAgQXJyYXkucHJvdG90eXBlWzRdID0gNTsKICB2YXIgc3JjQXJyID0gWzEsMiwzLDQsNV07CiAgdmFyIHJlc0FyciA9IHNyY0Fyci5maWx0ZXIoY2FsbGJhY2tmbik7CiAgZGVsZXRlIEFycmF5LnByb3RvdHlwZVs0XTsKICBpZihyZXNBcnIubGVuZ3RoID09PSA0ICYmIHJlc0FyclswXSA9PT0gMSAmJiByZXNBcnJbM10gPT0gNSkgICAgLy8gb25seSBvbmUgZWxlbWVudCBkZWxldGVkCiAgICAgIHJldHVybiB0cnVlOyAgCiAgCiB9LAoKcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgcmV0dXJuIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5maWx0ZXIpOwogfQp9KTsK","id":"15.4.4.20-9-6","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-6.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS40LjQuMjAtOS03IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS40LzE1LjQuNC8xNS40LjQuMjAvMTUuNC40LjIwLTktNy5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIHN0b3BzIGNhbGxpbmcgY2FsbGJhY2tmbiBvbmNlIHRoZSBhcnJheSBpcyBkZWxldGVkIGR1cmluZyB0aGUgY2FsbCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIG8gPSBuZXcgT2JqZWN0KCk7CiAgICAgICAgby5zcmNBcnIgPSBbMSwgMiwgMywgNCwgNV07CgogICAgICAgIGZ1bmN0aW9uIGNhbGxiYWNrZm4odmFsLCBpZHgsIG9iaikgewogICAgICAgICAgICBkZWxldGUgby5zcmNBcnI7CiAgICAgICAgICAgIGlmICh2YWwgPiAwKQogICAgICAgICAgICAgICAgcmV0dXJuIHRydWU7CiAgICAgICAgICAgIGVsc2UKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9CgogICAgICAgIHZhciByZXNBcnIgPSBvLnNyY0Fyci5maWx0ZXIoY2FsbGJhY2tmbik7CiAgICAgICAgcmV0dXJuIHJlc0Fyci5sZW5ndGggPT09IDUgJiYgdHlwZW9mIG8uc3JjQXJyID09PSAidW5kZWZpbmVkIjsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5maWx0ZXIpOwogICAgfQp9KTsK","id":"15.4.4.20-9-7","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-7.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktOCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuNC8xNS40LjQvMTUuNC40LjIwLzE1LjQuNC4yMC05LTguanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQXJyYXkucHJvdG90eXBlLmZpbHRlciAtIG5vIG9ic2VydmFibGUgZWZmZWN0cyBvY2N1ciBpZiBsZW4gaXMgMCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIHZhciBhY2Nlc3NlZCA9IGZhbHNlOwoKICAgICAgICBmdW5jdGlvbiBjYWxsYmFja2ZuKHZhbCwgaWR4LCBvYmopIHsKICAgICAgICAgICAgYWNjZXNzZWQgPSB0cnVlOwogICAgICAgICAgICByZXR1cm4gdmFsID4gMTA7CiAgICAgICAgfQoKICAgICAgICB2YXIgb2JqID0geyAwOiAxMSwgMTogMTIsIGxlbmd0aDogMCB9OwoKICAgICAgICB2YXIgbmV3QXJyID0gQXJyYXkucHJvdG90eXBlLmZpbHRlci5jYWxsKG9iaiwgY2FsbGJhY2tmbik7CgogICAgICAgIHJldHVybiBhY2Nlc3NlZCA9PT0gZmFsc2UgJiYgb2JqLmxlbmd0aCA9PT0gMCAmJiBuZXdBcnIubGVuZ3RoID09PSAwOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoQXJyYXkucHJvdG90eXBlLmZpbHRlcik7CiAgICB9Cgp9KTsK","id":"15.4.4.20-9-8","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-8.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktOSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuNC8xNS40LjQvMTUuNC40LjIwLzE1LjQuNC4yMC05LTkuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQXJyYXkucHJvdG90eXBlLmZpbHRlciAtIG1vZGlmaWNhdGlvbnMgdG8gbGVuZ3RoIGRvbid0IGNoYW5nZSBudW1iZXIgb2YgaXRlcmF0aW9ucyIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIHZhciBjYWxsZWQgPSAwOwoKICAgICAgICBmdW5jdGlvbiBjYWxsYmFja2ZuKHZhbCwgaWR4LCBvYmopIHsKICAgICAgICAgICAgY2FsbGVkKys7CiAgICAgICAgICAgIHJldHVybiB0cnVlOwogICAgICAgIH0KCiAgICAgICAgdmFyIG9iaiA9IHsgMTogMTIsIDI6IDksIGxlbmd0aDogMiB9OwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAiMCIsIHsKICAgICAgICAgICAgZ2V0OiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICBvYmoubGVuZ3RoID0gMzsKICAgICAgICAgICAgICAgIHJldHVybiAxMTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgfSk7CgogICAgICAgIHZhciBuZXdBcnIgPSBBcnJheS5wcm90b3R5cGUuZmlsdGVyLmNhbGwob2JqLCBjYWxsYmFja2ZuKTsKCiAgICAgICAgcmV0dXJuIG5ld0Fyci5sZW5ndGggPT09IDIgJiYgMiA9PT0gY2FsbGVkOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoQXJyYXkucHJvdG90eXBlLmZpbHRlcikgJiYgZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmblN1cHBvcnRzQXJyYXlJbmRleEdldHRlcnNPbk9iamVjdHMoKTsKICAgIH0KCn0pOwo=","id":"15.4.4.20-9-9","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-9.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxNS40LjQuMjAtOS1iLTEiLAoKcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuNC8xNS40LjQvMTUuNC40LjIwLzE1LjQuNC4yMC05LWItMS5qcyIsCgpkZXNjcmlwdGlvbjogIkFycmF5LnByb3RvdHlwZS5maWx0ZXIgLSBjYWxsYmFja2ZuIG5vdCBjYWxsZWQgZm9yIGluZGV4ZXMgbmV2ZXIgYmVlbiBhc3NpZ25lZCB2YWx1ZXMiLAoKdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7IAogCiAgdmFyIGNhbGxDb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IH0KICAgICAgICB2YXIgb2JqID0geyAyOiAyLCBsZW5ndGg6IDIwIH07CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICIwIiwgewogICAgICAgICAgICBnZXQ6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgIGRlbGV0ZSBPYmplY3QucHJvdG90eXBlWzFdOwogICAgICAgICAgICAgICAgcmV0dXJuIDA7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgIH0pOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QucHJvdG90eXBlWzFdID0gMTsKICAgICAgICAgICAgdmFyIG5ld0FyciA9IEFycmF5LnByb3RvdHlwZS5maWx0ZXIuY2FsbChvYmosIGNhbGxiYWNrZm4pOwoKICAgICAgICAgICAgcmV0dXJuIG5ld0Fyci5sZW5ndGggPT09IDIgJiYgbmV3QXJyWzFdICE9PSAxOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIGRlbGV0ZSBPYmplY3QucHJvdG90eXBlWzFdOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5maWx0ZXIpICYmIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkgJiYgZm5TdXBwb3J0c0FycmF5SW5kZXhHZXR0ZXJzT25PYmplY3RzKCk7CiAgICB9Cgp9KTsK","id":"15.4.4.20-9-b-10","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-b-10.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYi0xMSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuNC8xNS40LjQvMTUuNC40LjIwLzE1LjQuNC4yMC05LWItMTEuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQXJyYXkucHJvdG90eXBlLmZpbHRlciAtIGRlbGV0aW5nIHByb3BlcnR5IG9mIHByb3RvdHlwZSBjYXVzZXMgcHJvdG90eXBlIGluZGV4IHByb3BlcnR5IG5vdCB0byBiZSB2aXNpdGVkIG9uIGFuIEFycmF5IiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKCiAgICAgICAgZnVuY3Rpb24gY2FsbGJhY2tmbih2YWwsIGlkeCwgb2JqKSB7CiAgICAgICAgICAgIHJldHVybiB0cnVlOwogICAgICAgIH0KICAgICAgICB2YXIgYXJyID0gWzAsICwgMl07CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcnIsICIwIiwgewogICAgICAgICAgICBnZXQ6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgIGRlbGV0ZSBBcnJheS5wcm90b3R5cGVbMV07CiAgICAgICAgICAgICAgICByZXR1cm4gMDsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgfSk7CgogICAgICAgIHRyeSB7CiAgICAgICAgICAgIEFycmF5LnByb3RvdHlwZVsxXSA9IDE7CiAgICAgICAgICAgIHZhciBuZXdBcnIgPSBhcnIuZmlsdGVyKGNhbGxiYWNrZm4pOwogICAgICAgICAgICByZXR1cm4gbmV3QXJyLmxlbmd0aCA9PT0gMiAmJiBuZXdBcnJbMV0gIT09IDE7CiAgICAgICAgfSBmaW5hbGx5IHsKICAgICAgICAgICAgZGVsZXRlIEFycmF5LnByb3RvdHlwZVsxXTsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhBcnJheS5wcm90b3R5cGUuZmlsdGVyKSAmJiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmICFbLCAxXS5oYXNPd25Qcm9wZXJ0eSgwKSAmJiBmblN1cHBvcnRzQXJyYXlJbmRleEdldHRlcnNPbkFycmF5cygpOwogICAgfQoKfSk7Cg==","id":"15.4.4.20-9-b-11","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-b-11.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYi0xMiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuNC8xNS40LjQvMTUuNC40LjIwLzE1LjQuNC4yMC05LWItMTIuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQXJyYXkucHJvdG90eXBlLmZpbHRlciAtIGRlbGV0aW5nIG93biBwcm9wZXJ0eSB3aXRoIHByb3RvdHlwZSBwcm9wZXJ0eSBjYXVzZXMgcHJvdG90eXBlIGluZGV4IHByb3BlcnR5IHRvIGJlIHZpc2l0ZWQgb24gYW4gQXJyYXktbGlrZSBvYmplY3QiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIGZ1bmN0aW9uIGNhbGxiYWNrZm4odmFsLCBpZHgsIG9iaikgewogICAgICAgICAgICByZXR1cm4gdHJ1ZTsKICAgICAgICB9CiAgICAgICAgdmFyIG9iaiA9IHsgMDogMCwgMTogMTExLCAyOiAyLCBsZW5ndGg6IDEwIH07CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICIwIiwgewogICAgICAgICAgICBnZXQ6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgIGRlbGV0ZSBvYmpbMV07CiAgICAgICAgICAgICAgICByZXR1cm4gMDsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgfSk7CgogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5wcm90b3R5cGVbMV0gPSAxOwogICAgICAgICAgICB2YXIgbmV3QXJyID0gQXJyYXkucHJvdG90eXBlLmZpbHRlci5jYWxsKG9iaiwgY2FsbGJhY2tmbik7CgogICAgICAgICAgICByZXR1cm4gbmV3QXJyLmxlbmd0aCA9PT0gMyAmJiBuZXdBcnJbMV0gPT09IDE7CiAgICAgICAgfSBmaW5hbGx5IHsKICAgICAgICAgICAgZGVsZXRlIE9iamVjdC5wcm90b3R5cGVbMV07CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoQXJyYXkucHJvdG90eXBlLmZpbHRlcikgJiYgZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmblN1cHBvcnRzQXJyYXlJbmRleEdldHRlcnNPbk9iamVjdHMoKTsKICAgIH0KCn0pOwo=","id":"15.4.4.20-9-b-12","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-b-12.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYi0xMyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuNC8xNS40LjQvMTUuNC40LjIwLzE1LjQuNC4yMC05LWItMTMuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQXJyYXkucHJvdG90eXBlLmZpbHRlciAtIGRlbGV0aW5nIG93biBwcm9wZXJ0eSB3aXRoIHByb3RvdHlwZSBwcm9wZXJ0eSBjYXVzZXMgcHJvdG90eXBlIGluZGV4IHByb3BlcnR5IHRvIGJlIHZpc2l0ZWQgb24gYW4gQXJyYXkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIGZ1bmN0aW9uIGNhbGxiYWNrZm4odmFsLCBpZHgsIG9iaikgewogICAgICAgICAgICByZXR1cm4gdmFsIDwgMyA/IHRydWUgOiBmYWxzZTsKICAgICAgICB9CiAgICAgICAgdmFyIGFyciA9IFswLCAxMTEsIDJdOwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXJyLCAiMCIsIHsKICAgICAgICAgICAgZ2V0OiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICBkZWxldGUgYXJyWzFdOwogICAgICAgICAgICAgICAgcmV0dXJuIDA7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgIH0pOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBBcnJheS5wcm90b3R5cGVbMV0gPSAxOwogICAgICAgICAgICB2YXIgbmV3QXJyID0gYXJyLmZpbHRlcihjYWxsYmFja2ZuKTsKCiAgICAgICAgICAgIHJldHVybiBuZXdBcnIubGVuZ3RoID09PSAzICYmIG5ld0FyclsxXSA9PT0gMTsKICAgICAgICB9IGZpbmFsbHkgewogICAgICAgICAgICBkZWxldGUgQXJyYXkucHJvdG90eXBlWzFdOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5maWx0ZXIpICYmIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkgJiYgZm5TdXBwb3J0c0FycmF5SW5kZXhHZXR0ZXJzT25BcnJheXMoKTsKICAgIH0KCn0pOwo=","id":"15.4.4.20-9-b-13","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-b-13.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYi0xNCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuNC8xNS40LjQvMTUuNC40LjIwLzE1LjQuNC4yMC05LWItMTQuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQXJyYXkucHJvdG90eXBlLmZpbHRlciAtIGRlY3JlYXNpbmcgbGVuZ3RoIG9mIGFycmF5IGNhdXNlcyBpbmRleCBwcm9wZXJ0eSBub3QgdG8gYmUgdmlzaXRlZCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIGZ1bmN0aW9uIGNhbGxiYWNrZm4odmFsLCBpZHgsIG9iaikgewogICAgICAgICAgICByZXR1cm4gdHJ1ZTsKICAgICAgICB9CiAgICAgICAgdmFyIGFyciA9IFswLCAxLCAyLCAibGFzdCJdOwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXJyLCAiMCIsIHsKICAgICAgICAgICAgZ2V0OiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICBhcnIubGVuZ3RoID0gMzsKICAgICAgICAgICAgICAgIHJldHVybiAwOwogICAgICAgICAgICB9LAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKCiAgICAgICAgdmFyIG5ld0FyciA9IGFyci5maWx0ZXIoY2FsbGJhY2tmbik7CgoKICAgICAgICByZXR1cm4gbmV3QXJyLmxlbmd0aCA9PT0gMyAmJiBuZXdBcnJbMl0gPT09IDI7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhBcnJheS5wcm90b3R5cGUuZmlsdGVyKSAmJiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuU3VwcG9ydHNBcnJheUluZGV4R2V0dGVyc09uQXJyYXlzKCk7CiAgICB9Cgp9KTsK","id":"15.4.4.20-9-b-14","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-b-14.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYi0xNSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuNC8xNS40LjQvMTUuNC40LjIwLzE1LjQuNC4yMC05LWItMTUuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQXJyYXkucHJvdG90eXBlLmZpbHRlciAtIGRlY3JlYXNpbmcgbGVuZ3RoIG9mIGFycmF5IHdpdGggcHJvdG90eXBlIHByb3BlcnR5IGNhdXNlcyBwcm90b3R5cGUgaW5kZXggcHJvcGVydHkgdG8gYmUgdmlzaXRlZCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgZnVuY3Rpb24gY2FsbGJhY2tmbih2YWwsIGlkeCwgb2JqKSB7CiAgICAgICAgICAgIHJldHVybiB0cnVlOwogICAgICAgIH0KICAgICAgICB2YXIgYXJyID0gWzAsIDEsIDJdOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoQXJyYXkucHJvdG90eXBlLCAiMiIsIHsKICAgICAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgICAgIHJldHVybiAicHJvdG90eXBlIjsKICAgICAgICAgICAgICAgIH0sCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICAgICAgfSk7CgogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXJyLCAiMSIsIHsKICAgICAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgICAgIGFyci5sZW5ndGggPSAyOwogICAgICAgICAgICAgICAgICAgIHJldHVybiAxOwogICAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICB9KTsKCiAgICAgICAgICAgIHZhciBuZXdBcnIgPSBhcnIuZmlsdGVyKGNhbGxiYWNrZm4pOwoKICAgICAgICAgICAgcmV0dXJuIG5ld0Fyci5sZW5ndGggPT09IDMgJiYgbmV3QXJyWzJdID09PSAicHJvdG90eXBlIjsKICAgICAgICB9IGZpbmFsbHkgewogICAgICAgICAgICBkZWxldGUgQXJyYXkucHJvdG90eXBlWzJdOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5maWx0ZXIpICYmIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkgJiYgZm5TdXBwb3J0c0FycmF5SW5kZXhHZXR0ZXJzT25BcnJheXMoKTsKICAgIH0KCn0pOwo=","id":"15.4.4.20-9-b-15","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-b-15.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYi0xNiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuNC8xNS40LjQvMTUuNC40LjIwLzE1LjQuNC4yMC05LWItMTYuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQXJyYXkucHJvdG90eXBlLmZpbHRlciAtIGRlY3JlYXNpbmcgbGVuZ3RoIG9mIGFycmF5IGRvZXMgbm90IGRlbGV0ZSBub24tY29uZmlndXJhYmxlIHByb3BlcnRpZXMiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICAgICAgICBmdW5jdGlvbiBjYWxsYmFja2ZuKHZhbCwgaWR4LCBvYmopIHsKICAgICAgICAgICAgcmV0dXJuIHRydWU7CiAgICAgICAgfQoKICAgICAgICB2YXIgYXJyID0gWzAsIDEsIDJdOwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXJyLCAiMiIsIHsKICAgICAgICAgICAgZ2V0OiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gInVuY29uZmlndXJhYmxlIjsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgIH0pOwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXJyLCAiMSIsIHsKICAgICAgICAgICAgZ2V0OiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICBhcnIubGVuZ3RoID0gMjsKICAgICAgICAgICAgICAgIHJldHVybiAxOwogICAgICAgICAgICB9LAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKCiAgICAgICAgdmFyIG5ld0FyciA9IGFyci5maWx0ZXIoY2FsbGJhY2tmbik7CgogICAgICAgIHJldHVybiBuZXdBcnIubGVuZ3RoID09PSAzICYmIG5ld0FyclsyXSA9PT0gInVuY29uZmlndXJhYmxlIjsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5maWx0ZXIpICYmIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkgJiYgZm5TdXBwb3J0c0FycmF5SW5kZXhHZXR0ZXJzT25BcnJheXMoKTsKICAgIH0KCn0pOwo=","id":"15.4.4.20-9-b-16","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-b-16.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYi0yIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS40LzE1LjQuNC8xNS40LjQuMjAvMTUuNC40LjIwLTktYi0yLmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIkFycmF5LnByb3RvdHlwZS5maWx0ZXIgLSBhZGRlZCBwcm9wZXJ0aWVzIGluIHN0ZXAgMiBhcmUgdmlzaWJsZSBoZXJlIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKCiAgICAgICAgZnVuY3Rpb24gY2FsbGJhY2tmbih2YWwsIGlkeCwgb2JqKSB7CiAgICAgICAgICAgIHJldHVybiB0cnVlOwogICAgICAgIH0KCiAgICAgICAgdmFyIG9iaiA9IHt9OwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAibGVuZ3RoIiwgewogICAgICAgICAgICBnZXQ6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgIG9ialsyXSA9ICJsZW5ndGgiOwogICAgICAgICAgICAgICAgcmV0dXJuIDM7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgIH0pOwoKICAgICAgICB2YXIgbmV3QXJyID0gQXJyYXkucHJvdG90eXBlLmZpbHRlci5jYWxsKG9iaiwgY2FsbGJhY2tmbik7CgogICAgICAgIHJldHVybiBuZXdBcnIubGVuZ3RoID09PSAxICYmIG5ld0FyclswXSA9PT0gImxlbmd0aCI7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhBcnJheS5wcm90b3R5cGUuZmlsdGVyKSAmJiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQoKfSk7Cg==","id":"15.4.4.20-9-b-2","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-b-2.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYi0zIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS40LzE1LjQuNC8xNS40LjQuMjAvMTUuNC40LjIwLTktYi0zLmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIkFycmF5LnByb3RvdHlwZS5maWx0ZXIgLSBkZWxldGVkIHByb3BlcnRpZXMgaW4gc3RlcCAyIGFyZSB2aXNpYmxlIGhlcmUiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICAgICAgICBmdW5jdGlvbiBjYWxsYmFja2ZuKHZhbCwgaWR4LCBvYmopIHsKICAgICAgICAgICAgcmV0dXJuIHRydWU7CiAgICAgICAgfQogICAgICAgIHZhciBvYmogPSB7IDI6IDYuOTksIDg6IDE5IH07CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJsZW5ndGgiLCB7CiAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgZGVsZXRlIG9ialsyXTsKICAgICAgICAgICAgICAgIHJldHVybiAxMDsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgfSk7CgogICAgICAgIHZhciBuZXdBcnIgPSBBcnJheS5wcm90b3R5cGUuZmlsdGVyLmNhbGwob2JqLCBjYWxsYmFja2ZuKTsKCiAgICAgICAgcmV0dXJuIG5ld0Fyci5sZW5ndGggPT09IDEgJiYgbmV3QXJyWzBdICE9PSA2Ljk5OwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoQXJyYXkucHJvdG90eXBlLmZpbHRlcikgJiYgZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KCn0pOwo=","id":"15.4.4.20-9-b-3","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-b-3.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYi00IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS40LzE1LjQuNC8xNS40LjQuMjAvMTUuNC40LjIwLTktYi00LmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIkFycmF5LnByb3RvdHlwZS5maWx0ZXIgLSBwcm9wZXJ0aWVzIGFkZGVkIGludG8gb3duIG9iamVjdCBhZnRlciBjdXJyZW50IHBvc2l0aW9uIGFyZSB2aXNpdGVkIG9uIGFuIEFycmF5LWxpa2Ugb2JqZWN0IiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKCiAgICAgICAgZnVuY3Rpb24gY2FsbGJhY2tmbih2YWwsIGlkeCwgb2JqKSB7CiAgICAgICAgICAgIHJldHVybiB0cnVlOwogICAgICAgIH0KCiAgICAgICAgdmFyIG9iaiA9IHsgbGVuZ3RoOiAyIH07CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICIwIiwgewogICAgICAgICAgICBnZXQ6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICIxIiwgewogICAgICAgICAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gNi45OTsKICAgICAgICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICAgICAgfSk7CiAgICAgICAgICAgICAgICByZXR1cm4gMDsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgfSk7CgogICAgICAgIHZhciBuZXdBcnIgPSBBcnJheS5wcm90b3R5cGUuZmlsdGVyLmNhbGwob2JqLCBjYWxsYmFja2ZuKTsKCiAgICAgICAgcmV0dXJuIG5ld0Fyci5sZW5ndGggPT09IDIgJiYgbmV3QXJyWzFdID09PSA2Ljk5OwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoQXJyYXkucHJvdG90eXBlLmZpbHRlcikgJiYgZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmblN1cHBvcnRzQXJyYXlJbmRleEdldHRlcnNPbk9iamVjdHMoKTsKICAgIH0KCn0pOwo=","id":"15.4.4.20-9-b-4","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-b-4.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYi01IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS40LzE1LjQuNC8xNS40LjQuMjAvMTUuNC40LjIwLTktYi01LmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIkFycmF5LnByb3RvdHlwZS5maWx0ZXIgLSBwcm9wZXJ0aWVzIGFkZGVkIGludG8gb3duIG9iamVjdCBhZnRlciBjdXJyZW50IHBvc2l0aW9uIGFyZSB2aXNpdGVkIG9uIGFuIEFycmF5IiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICBmdW5jdGlvbiBjYWxsYmFja2ZuKHZhbCwgaWR4LCBvYmopIHsKICAgICAgICAgICAgcmV0dXJuIHRydWU7CiAgICAgICAgfQoKICAgICAgICB2YXIgYXJyID0gWzAsICwgMl07CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcnIsICIwIiwgewogICAgICAgICAgICBnZXQ6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcnIsICIxIiwgewogICAgICAgICAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gNi45OTsKICAgICAgICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICAgICAgfSk7CiAgICAgICAgICAgICAgICByZXR1cm4gMDsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgfSk7CgogICAgICAgIHZhciBuZXdBcnIgPSBhcnIuZmlsdGVyKGNhbGxiYWNrZm4pOwoKICAgICAgICByZXR1cm4gbmV3QXJyLmxlbmd0aCA9PT0gMyAmJiBuZXdBcnJbMV0gPT09IDYuOTk7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhBcnJheS5wcm90b3R5cGUuZmlsdGVyKSAmJiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuU3VwcG9ydHNBcnJheUluZGV4R2V0dGVyc09uQXJyYXlzKCk7CiAgICB9Cgp9KTsK","id":"15.4.4.20-9-b-5","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-b-5.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYi02IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS40LzE1LjQuNC8xNS40LjQuMjAvMTUuNC40LjIwLTktYi02LmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIkFycmF5LnByb3RvdHlwZS5maWx0ZXIgLSBwcm9wZXJ0aWVzIGNhbiBiZSBhZGRlZCB0byBwcm90b3R5cGUgYWZ0ZXIgY3VycmVudCBwb3NpdGlvbiBhcmUgdmlzaXRlZCBvbiBhbiBBcnJheS1saWtlIG9iamVjdCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgZnVuY3Rpb24gY2FsbGJhY2tmbih2YWwsIGlkeCwgb2JqKSB7CiAgICAgICAgICAgIHJldHVybiB0cnVlOwogICAgICAgIH0KICAgICAgICB2YXIgb2JqID0geyBsZW5ndGg6IDIgfTsKCiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgIjAiLCB7CiAgICAgICAgICAgICAgICBnZXQ6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoT2JqZWN0LnByb3RvdHlwZSwgIjEiLCB7CiAgICAgICAgICAgICAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIDYuOTk7CiAgICAgICAgICAgICAgICAgICAgICAgIH0sCiAgICAgICAgICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICAgICAgICAgIH0pOwogICAgICAgICAgICAgICAgICAgIHJldHVybiAwOwogICAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICB9KTsKCiAgICAgICAgICAgIHZhciBuZXdBcnIgPSBBcnJheS5wcm90b3R5cGUuZmlsdGVyLmNhbGwob2JqLCBjYWxsYmFja2ZuKTsKCiAgICAgICAgICAgIHJldHVybiBuZXdBcnIubGVuZ3RoID09PSAyICYmIEFycmF5WzFdID09PSA2Ljk5OwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIGRlbGV0ZSBPYmplY3QucHJvdG90eXBlWzFdOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5maWx0ZXIpICYmIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkgJiYgZm5TdXBwb3J0c0FycmF5SW5kZXhHZXR0ZXJzT25PYmplY3RzKCk7CiAgICB9Cgp9KTsK","id":"15.4.4.20-9-b-6","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-b-6.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYi03IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS40LzE1LjQuNC8xNS40LjQuMjAvMTUuNC40LjIwLTktYi03LmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIkFycmF5LnByb3RvdHlwZS5maWx0ZXIgLSBwcm9wZXJ0aWVzIGNhbiBiZSBhZGRlZCB0byBwcm90b3R5cGUgYWZ0ZXIgY3VycmVudCBwb3NpdGlvbiBhcmUgdmlzaXRlZCBvbiBhbiBBcnJheSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgZnVuY3Rpb24gY2FsbGJhY2tmbih2YWwsIGlkeCwgb2JqKSB7CiAgICAgICAgICAgIHJldHVybiB0cnVlOwogICAgICAgIH0KICAgICAgICB2YXIgYXJyID0gWzAsICwgMl07CgogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcnIsICIwIiwgewogICAgICAgICAgICAgICAgZ2V0OiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KEFycmF5LnByb3RvdHlwZSwgIjEiLCB7CiAgICAgICAgICAgICAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIDYuOTk7CiAgICAgICAgICAgICAgICAgICAgICAgIH0sCiAgICAgICAgICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICAgICAgICAgIH0pOwogICAgICAgICAgICAgICAgICAgIHJldHVybiAwOwogICAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICB9KTsKCiAgICAgICAgICAgIHZhciBuZXdBcnIgPSBhcnIuZmlsdGVyKGNhbGxiYWNrZm4pOwoKICAgICAgICAgICAgcmV0dXJuIG5ld0Fyci5sZW5ndGggPT09IDMgJiYgbmV3QXJyWzFdID09PSA2Ljk5OwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIGRlbGV0ZSBBcnJheS5wcm90b3R5cGVbMV07CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoQXJyYXkucHJvdG90eXBlLmZpbHRlcikgJiYgZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiAhWywgMV0uaGFzT3duUHJvcGVydHkoMCkgJiYgZm5TdXBwb3J0c0FycmF5SW5kZXhHZXR0ZXJzT25BcnJheXMoKTsKICAgIH0KCn0pOwo=","id":"15.4.4.20-9-b-7","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-b-7.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYi04IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS40LzE1LjQuNC8xNS40LjQuMjAvMTUuNC40LjIwLTktYi04LmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIkFycmF5LnByb3RvdHlwZS5maWx0ZXIgLSBkZWxldGluZyBvd24gcHJvcGVydHkgY2F1c2VzIGluZGV4IHByb3BlcnR5IG5vdCB0byBiZSB2aXNpdGVkIG9uIGFuIEFycmF5LWxpa2Ugb2JqZWN0IiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgYWNjZXNzZWQgPSBmYWxzZTsKICAgICAgICB2YXIgb2JqID0geyBsZW5ndGg6IDIgfTsKCiAgICAgICAgZnVuY3Rpb24gY2FsbGJhY2tmbih2YWwsIGlkeCwgbykgewogICAgICAgICAgICBhY2Nlc3NlZCA9IHRydWU7CiAgICAgICAgICAgIHJldHVybiB0cnVlOwogICAgICAgIH0KCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgIjEiLCB7CiAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgcmV0dXJuIDYuOTk7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgIH0pOwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAiMCIsIHsKICAgICAgICAgICAgZ2V0OiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICBkZWxldGUgb2JqWzFdOwogICAgICAgICAgICAgICAgcmV0dXJuIDA7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgIH0pOwoKICAgICAgICB2YXIgbmV3QXJyID0gQXJyYXkucHJvdG90eXBlLmZpbHRlci5jYWxsKG9iaiwgY2FsbGJhY2tmbik7CgogICAgICAgIHJldHVybiBuZXdBcnIubGVuZ3RoID09PSAxICYmIG5ld0FyclswXSA9PT0gMDsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5maWx0ZXIpICYmIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkgJiYgZm5TdXBwb3J0c0FycmF5SW5kZXhHZXR0ZXJzT25PYmplY3RzKCk7CiAgICB9Cgp9KTsK","id":"15.4.4.20-9-b-8","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-b-8.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYi05IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS40LzE1LjQuNC8xNS40LjQuMjAvMTUuNC40LjIwLTktYi05LmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIkFycmF5LnByb3RvdHlwZS5maWx0ZXIgLSBkZWxldGluZyBvd24gcHJvcGVydHkgY2F1c2VzIGluZGV4IHByb3BlcnR5IG5vdCB0byBiZSB2aXNpdGVkIG9uIGFuIEFycmF5IiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKCiAgICAgICAgZnVuY3Rpb24gY2FsbGJhY2tmbih2YWwsIGlkeCwgb2JqKSB7CiAgICAgICAgICAgIHJldHVybiB0cnVlOwogICAgICAgIH0KICAgICAgICB2YXIgYXJyID0gWzEsIDJdOwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXJyLCAiMSIsIHsKICAgICAgICAgICAgZ2V0OiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gIjYuOTkiOwogICAgICAgICAgICB9LAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyciwgIjAiLCB7CiAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgZGVsZXRlIGFyclsxXTsKICAgICAgICAgICAgICAgIHJldHVybiAwOwogICAgICAgICAgICB9LAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKCiAgICAgICAgdmFyIG5ld0FyciA9IGFyci5maWx0ZXIoY2FsbGJhY2tmbik7CgogICAgICAgIHJldHVybiBuZXdBcnIubGVuZ3RoID09PSAxICYmIG5ld0FyclswXSA9PT0gMDsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5maWx0ZXIpICYmIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkgJiYgZm5TdXBwb3J0c0FycmF5SW5kZXhHZXR0ZXJzT25BcnJheXMoKTsKICAgIH0KCn0pOwo=","id":"15.4.4.20-9-b-9","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-b-9.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYy1pLTEiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtOS1jLWktMS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIC0gZWxlbWVudCB0byBiZSByZXRyaWV2ZWQgaXMgb3duIGRhdGEgcHJvcGVydHkgb24gYW4gQXJyYXktbGlrZSBvYmplY3QiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICAgICAgICB2YXIga1ZhbHVlID0ge307CiAgICAgICAgZnVuY3Rpb24gY2FsbGJhY2tmbih2YWwsIGlkeCwgb2JqKSB7CiAgICAgICAgICAgIHJldHVybiAoaWR4ID09PSA1KSAmJiAodmFsID09PSBrVmFsdWUpOwogICAgICAgIH0KCiAgICAgICAgdmFyIG9iaiA9IHsgNToga1ZhbHVlLCBsZW5ndGg6IDEwMCB9OwoKICAgICAgICB2YXIgbmV3QXJyID0gQXJyYXkucHJvdG90eXBlLmZpbHRlci5jYWxsKG9iaiwgY2FsbGJhY2tmbik7CgogICAgICAgIHJldHVybiBuZXdBcnIubGVuZ3RoID09PSAxICYmIG5ld0FyclswXSA9PT0ga1ZhbHVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICA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kZWZpbmVQcm9wZXJ0eSkgJiYgZm5TdXBwb3J0c0FycmF5SW5kZXhHZXR0ZXJzT25BcnJheXMoKTsKICAgIH0KCn0pOwo=","id":"15.4.4.20-9-c-i-10","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-i-10.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYy1pLTExIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS40LzE1LjQuNC8xNS40LjQuMjAvMTUuNC40LjIwLTktYy1pLTExLmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIkFycmF5LnByb3RvdHlwZS5maWx0ZXIgLSBlbGVtZW50IHRvIGJlIHJldHJpZXZlZCBpcyBvd24gYWNjZXNzb3IgcHJvcGVydHkgdGhhdCBvdmVycmlkZXMgYW4gaW5oZXJpdGVkIGRhdGEgcHJvcGVydHkgb24gYW4gQXJyYXktbGlrZSBvYmplY3QiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICAgICAgICBmdW5jdGlvbiBjYWxsYmFja2ZuKHZhbCwgaWR4LCBvYmopIHsKICAgICAgICAgICAgcmV0dXJuIGlkeCA9PT0gMCAmJiB2YWwgPT09IDExOwogICAgICAgIH0KCiAgICAgICAgdmFyIHByb3RvID0geyAwOiA1LCAxOiA2IH07CgogICAgICAgIHZhciBDb24gPSBmdW5jdGlvbiAoKSB7IH07CiAgICAgICAgQ29uLnByb3RvdHlwZSA9IHByb3RvOwoKICAgICAgICB2YXIgY2hpbGQgPSBuZXcgQ29uKCk7CiAgICAgICAgY2hpbGQubGVuZ3RoID0gMTA7CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShjaGlsZCwgIjAiLCB7CiAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgcmV0dXJuIDExOwogICAgICAgICAg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gICAgICAgQXJyYXkucHJvdG90eXBlWzBdID0gMTA7CgogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXJyLCAiMCIsIHsKICAgICAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgICAgIHJldHVybiAxMTE7CiAgICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICB2YXIgbmV3QXJyID0gYXJyLmZpbHRlcihjYWxsYmFja2ZuKTsKCiAgICAgICAgICAgIHJldHVybiBuZXdBcnIubGVuZ3RoID09PSAxICYmIG5ld0FyclswXSA9PT0gMTExOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIGRlbGV0ZSBBcnJheS5wcm90b3R5cGVbMF07CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoQXJyYXkucHJvdG90eXBlLmZpbHRlcikgJiYgZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmblN1cHBvcnRzQXJyYXlJbmRleEdldHRlcnNPbkFycmF5cygpOwogICAgfQoKfSk7Cg==","id":"15.4.4.20-9-c-i-12","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-i-12.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYy1pLTEzIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS40LzE1LjQuNC8xNS40LjQuMjAvMTUuNC40LjIwLTktYy1pLTEzLmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIkFycmF5LnByb3RvdHlwZS5maWx0ZXIgLSBlbGVtZW50IHRvIGJlIHJldHJpZXZlZCBpcyBvd24gYWNjZXNzb3IgcHJvcGVydHkgdGhhdCBvdmVycmlkZXMgYW4gaW5oZXJpdGVkIGFjY2Vzc29yIHByb3BlcnR5IG9uIGFuIEFycmF5LWxpa2Ugb2JqZWN0IiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICBmdW5jdGlvbiBjYWxsYmFja2ZuKHZhbCwgaWR4LCBvYmopIHsKICAgICAgICAgICAgcmV0dXJuIGlkeCA9PT0gMSAmJiB2YWwgPT09IDEyOwogICAgICAgIH0KCiAgICAgICAgdmFyIHByb3RvID0ge307CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShwcm90bywgIjEiLCB7CiAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgcmV0dXJuIDY7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgIH0pOwoKICAgICAgICB2YXIgQ29uID0gZnVuY3Rpb24gKCkgeyB9OwogICAgICAgIENvbi5wcm90b3R5cGUgPSBwcm90bzsKCiAgICAgICAgdmFyIGNoaWxkID0gbmV3IENvbigpOwogICAgICAgIGNoaWxkLmxlbmd0aCA9IDEwOwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoY2hpbGQsICIxIiwgewogICAgICAgICAgICBnZXQ6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgIHJldHVybiAxMjsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgfSk7CiAgICAgICAgdmFyIG5ld0FyciA9IEFycmF5LnByb3RvdHlwZS5maWx0ZXIuY2FsbChjaGlsZCwgY2FsbGJhY2tmbik7CgogICAgICAgIHJldHVybiBuZXdBcnIubGVuZ3RoID09PSAxICYmIG5ld0FyclswXSA9PT0gMTI7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVx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5KGFyciwgIjAiLCB7CiAgICAgICAgICAgICAgICBnZXQ6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgICAgICByZXR1cm4gMTE7CiAgICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICB2YXIgbmV3QXJyID0gYXJyLmZpbHRlcihjYWxsYmFja2ZuKTsKCiAgICAgICAgICAgIHJldHVybiBuZXdBcnIubGVuZ3RoID09PSAxICYmIG5ld0FyclswXSA9PT0gMTE7CiAgICAgICAgfSBmaW5hbGx5IHsKICAgICAgICAgICAgZGVsZXRlIEFycmF5LnByb3RvdHlwZVswXTsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhBcnJheS5wcm90b3R5cGUuZmlsdGVyKSAmJiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuU3VwcG9ydHNBcnJheUluZGV4R2V0dGVyc09uQXJyYXlzKCk7CiAgICB9Cgp9KTsK","id":"15.4.4.20-9-c-i-14","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-i-14.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYy1pLTE1IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS40LzE1LjQuNC8xNS40LjQuMjAvMTUuNC40LjIwLTktYy1pLTE1LmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIkFycmF5LnByb3RvdHlwZS5maWx0ZXIgLSBlbGVtZW50IHRvIGJlIHJldHJpZXZlZCBpcyBpbmhlcml0ZWQgYWNjZXNzb3IgcHJvcGVydHkgb24gYW4gQXJyYXktbGlrZSBvYmplY3QiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICAgICAgICBmdW5jdGlvbiBjYWxsYmFja2ZuKHZhbCwgaWR4LCBvYmopIHsKICAgICAgICAgICAgcmV0dXJuIHZhbCA9PT0gMTEgJiYgaWR4ID09PSAxOwogICAgICAgIH0KCiAgICAgICAgdmFyIHByb3RvID0ge307CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShwcm90bywgIjEiLCB7CiAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgcmV0dXJuIDExOwogICAgICAgICAgICB9LAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKCiAgICAgICAgdmFyIENvbiA9IGZ1bmN0aW9uICgpIHsgfTsKICAgICAgICBDb24ucHJvdG90eXBlID0gcHJvdG87CgogICAgICAgIHZhciBjaGlsZCA9IG5ldyBDb24oKTsKICAgICAgICBjaGlsZC5sZW5ndGggPSAyMDsKICAgICAgICB2YXIgbmV3QXJyID0gQXJyYXkucHJvdG90eXBlLmZpbHRlci5jYWxsKGNoaWxkLCBjYWxsYmFja2ZuKTsKCiAgICAgICAgcmV0dXJuIG5ld0Fyci5sZW5ndGggPT09IDEgJiYgbmV3QXJyWzBdID09PSAxMTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5maWx0ZXIpICYmIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkgJiYgZm5TdXBwb3J0c0FycmF5SW5kZXhHZXR0ZXJzT25PYmplY3RzKCk7CiAgICB9Cgp9KTsK","id":"15.4.4.20-9-c-i-15","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-i-15.js"},{"code":"77u/Ly8vIENvcHlyaWdodCAoYykgMjAwOSBNaWNyb3NvZnQgQ29ycG9yYXRpb24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LjQuNC8xNS40LjQuMjAvMTUuNC40LjIwLTktYy1pLTE2LmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIkFycmF5LnByb3RvdHlwZS5maWx0ZXIgLSBlbGVtZW50IHRvIGJlIHJldHJpZXZlZCBpcyBpbmhlcml0ZWQgYWNjZXNzb3IgcHJvcGVydHkgb24gYW4gQXJyYXkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICAgICAgICBmdW5jdGlvbiBjYWxsYmFja2ZuKHZhbCwgaWR4LCBvYmopIHsKICAgICAgICAgICAgcmV0dXJuIGlkeCA9PT0gMCAmJiB2YWwgPT09IDExOwogICAgICAgIH0KCiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KEFycmF5LnByb3RvdHlwZSwgIjAiLCB7CiAgICAgICAgICAgICAgICBnZXQ6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgICAgICByZXR1cm4gMTE7CiAgICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICB2YXIgbmV3QXJyID0gWywgLCAsIF0uZmlsdGVyKGNhbGxiYWNrZm4pOwoKICAgICAgICAgICAgcmV0dXJuIG5ld0Fyci5sZW5ndGggPT09IDEgJiYgbmV3QXJyWzBdID09PSAxMTsKICAgICAgICB9IGZpbmFsbHkgewogICAgICAgICAgICBkZWxldGUgQXJyYXkucHJvdG90eXBlWzBdOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5maWx0ZXIpICYmIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkgJiYgIVssIDFdLmhhc093blByb3BlcnR5KDApICYmIGZuU3VwcG9ydHNBcnJheUluZGV4R2V0dGVyc09uQXJyYXlzKCk7CiAgICB9Cgp9KTsK","id":"15.4.4.20-9-c-i-16","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-i-16.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYy1pLTE3IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS40LzE1LjQuNC8xNS40LjQuMjAvMTUuNC40LjIwLTktYy1pLTE3LmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIkFycmF5LnByb3RvdHlwZS5maWx0ZXIgLSBlbGVtZW50IHRvIGJlIHJldHJpZXZlZCBpcyBvd24gYWNjZXNzb3IgcHJvcGVydHkgd2l0aG91dCBhIGdldCBmdW5jdGlvbiBvbiBhbiBBcnJheS1saWtlIG9iamVjdCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIGZ1bmN0aW9uIGNhbGxiYWNrZm4odmFsLCBpZHgsIG9iaikgewogICAgICAgICAgICByZXR1cm4gdW5kZWZpbmVkID09PSB2YWwgJiYgaWR4ID09PSAxOwogICAgICAgIH0KCiAgICAgICAgdmFyIG9iaiA9IHsgbGVuZ3RoOiAyIH07CiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgIjEiLCB7CiAgICAgICAgICAgIHNldDogZnVuY3Rpb24gKCkgeyB9LAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKCiAgICAgICAgdmFyIG5ld0FyciA9IEFycmF5LnByb3RvdHlwZS5maWx0ZXIuY2FsbChvYmosIGNhbGxiYWNrZm4pOwoKICAgICAgICByZXR1cm4gbmV3QXJyLmxlbmd0aCA9PT0gMSAmJiBuZXdBcnJbMF0gPT09IHVuZGVmaW5lZDsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbi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9iamVjdC5wcm90b3R5cGVbMV0gPSAxMDsKICAgICAgICAgICAgdmFyIG5ld0FyciA9IEFycmF5LnByb3RvdHlwZS5maWx0ZXIuY2FsbChvYmosIGNhbGxiYWNrZm4pOwoKICAgICAgICAgICAgcmV0dXJuIG5ld0Fyci5sZW5ndGggPT09IDEgJiYgbmV3QXJyWzBdID09PSB1bmRlZmluZWQ7CiAgICAgICAgfSBmaW5hbGx5IHsKICAgICAgICAgICAgZGVsZXRlIE9iamVjdC5wcm90b3R5cGVbMV07CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoQXJyYXkucHJvdG90eXBlLmZpbHRlcikgJiYgZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmblN1cHBvcnRzQXJyYXlJbmRleEdldHRlcnNPbk9iamVjdHMoKTsKICAgIH0KCn0pOwo=","id":"15.4.4.20-9-c-i-19","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-i-19.js"},{"code":"77u/Ly8vIENvcHlyaWdodCAoYykgMjAwOSBNaWNyb3NvZnQgQ29ycG9yYXRpb24gCi8vLyAKLy8vIFJlZGlzdHJpYnV0aW9uIGFuZCB1c2UgaW4gc291cmNlIGFuZCBiaW5hcnkgZm9ybXMsIHdpdGggb3Igd2l0aG91dCBtb2RpZmljYXRpb24sIGFyZSBwZXJtaXR0ZWQgcHJvdmlkZWQKLy8vIHRoYXQgdGhlIGZvbGxvd2luZyBjb25kaXRpb25zIGFyZSBtZXQ6IAovLy8gICAgKiBSZWRpc3RyaWJ1dGlvbnMgb2Ygc291cmNlIGNvZGUgbXVzdCByZXRhaW4gdGhlIGFib3ZlIGNvcHlyaWdodCBub3RpY2UsIHRoaXMgbGlzdCBvZiBjb25kaXRpb25zIGFuZAovLy8gICAgICB0aGUgZm9sbG93aW5nIGRpc2NsYWltZXIu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gIEFycmF5LnByb3RvdHlwZVswXSA9IDEwMDsKICAgICAgICAgICAgdmFyIG5ld0FyciA9IGFyci5maWx0ZXIoY2FsbGJhY2tmbik7CgogICAgICAgICAgICByZXR1cm4gbmV3QXJyLmxlbmd0aCA9PT0gMSAmJiBuZXdBcnJbMF0gPT09IHVuZGVmaW5lZDsKICAgICAgICB9IGZpbmFsbHkgewogICAgICAgICAgICBkZWxldGUgQXJyYXkucHJvdG90eXBlWzBdOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5maWx0ZXIpICYmIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkgJiYgZm5TdXBwb3J0c0FycmF5SW5kZXhHZXR0ZXJzT25BcnJheXMoKTsKICAgIH0KCn0pOwo=","id":"15.4.4.20-9-c-i-20","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-i-20.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYy1pLTIxIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS40LzE1LjQuNC8xNS40LjQuMjAvMTUuNC40LjIwLTktYy1pLTIxLmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIkFycmF5LnByb3RvdHlwZS5maWx0ZXIgLSBlbGVtZW50IHRvIGJlIHJldHJpZXZlZCBpcyBpbmhlcml0ZWQgYWNjZXNzb3IgcHJvcGVydHkgd2l0aG91dCBhIGdldCBmdW5jdGlvbiBvbiBhbiBBcnJheS1saWtlIG9iamVjdCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIGZ1bmN0aW9uIGNhbGxiYWNrZm4odmFsLCBpZHgsIG9iaikgewogICAgICAgICAgICByZXR1cm4gdmFsID09PSB1bmRlZmluZWQgJiYgaWR4ID09PSAxOwogICAgICAgIH0KCiAgICAgICAgdmFyIHByb3RvID0ge307CiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KHByb3RvLCAiMSIsIHsKICAgICAgICAgICAgc2V0OiBmdW5jdGlvbiAoKSB7IH0sCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgIH0pOwoKICAgICAgICB2YXIgQ29uID0gZnVuY3Rpb24gKCkgeyB9OwogICAgICAgIENvbi5wcm90b3R5cGUgPSBwcm90bzsKCiAgICAgICAgdmFyIGNoaWxkID0gbmV3IENvbigpOwogICAgICAgIGNoaWxkLmxlbmd0aCA9IDI7CiAgICAgICAgdmFyIG5ld0FyciA9IEFycmF5LnByb3RvdHlwZS5maWx0ZXIuY2FsbChjaGlsZCwgY2FsbGJhY2tmbik7CgogICAgICAgIHJldHVybiBuZXdBcnIubGVuZ3RoID09PSAxICYmIG5ld0FyclswXSA9PT0gdW5kZWZpbmVkOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoQXJyYXkucHJvdG90eXBlLmZpbHRlcikgJiYgZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmblN1cHBvcnRzQXJyYXlJbmRleEdldHRlcnNPbk9iamVjdHMoKTsKICAgIH0KfSk7Cg==","id":"15.4.4.20-9-c-i-21","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-i-21.js"},{"code":"77u/Ly8vIENvcHlyaWdodCAoYykgMjAwOSBNaWNyb3NvZnQgQ29ycG9yYXRpb24gCi8vLyAKLy8vIFJlZGlzdHJpYnV0aW9uIGFuZCB1c2UgaW4gc291cmNlIGFuZCBiaW5hcnkgZm9ybXMsIHdpdGggb3Igd2l0aG91dCBtb2RpZmljYXRpb24sIGFyZSBwZ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RyaWV2ZWQgaXMgaW5oZXJpdGVkIGFjY2Vzc29yIHByb3BlcnR5IHdpdGhvdXQgYSBnZXQgZnVuY3Rpb24gb24gYW4gQXJyYXkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICAgICAgICBmdW5jdGlvbiBjYWxsYmFja2ZuKHZhbCwgaWR4LCBvYmopIHsKICAgICAgICAgICAgcmV0dXJuIHVuZGVmaW5lZCA9PT0gdmFsICYmIGlkeCA9PT0gMDsKICAgICAgICB9CgogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShBcnJheS5wcm90b3R5cGUsICIwIiwgewogICAgICAgICAgICAgICAgc2V0OiBmdW5jdGlvbiAoKSB7IH0sCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIHZhciBuZXdBcnIgPSBbLCBdLmZpbHRlcihjYWxsYmFja2ZuKTsKCiAgICAgICAgICAgIHJldHVybiBuZXdBcnIubGVuZ3RoID09PSAxICYmIG5ld0FyclswXSA9PT0gdW5kZWZpbmVkOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIGRlbGV0ZSBBcnJheS5wcm90b3R5cGVbMF07CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoQXJyYXkucHJvdG90eXBlLmZpbHRlcikgJiYgZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiAhWywgMV0uaGFzT3duUHJvcGVydHkoMCkgJiYgZm5TdXBwb3J0c0FycmF5SW5kZXhHZXR0ZXJzT25BcnJheXMoKTsKICAgIH0KCn0pOwo=","id":"15.4.4.20-9-c-i-22","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-i-22.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYy1pLTIzIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS40LzE1LjQuNC8xNS40LjQuMjAvMTUuNC40LjIwLTktYy1pLTIzLmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIkFycmF5LnByb3RvdHlwZS5maWx0ZXIgLSBUaGlzIG9iamVjdCBpcyB0aGUgZ2xvYmFsIG9iamVjdCB3aGljaCBjb250YWlucyBpbmRleCBwcm9wZXJ0eSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIGZ1bmN0aW9uIGNhbGxiYWNrZm4odmFsLCBpZHgsIG9iaikgewogICAgICAgICAgICByZXR1cm4gaWR4ID09PSAwICYmIHZhbCA9PT0gMTE7CiAgICAgICAgfQoKICAgICAgICB0cnkgewogICAgICAgICAgICB2YXIgb2xkTGVuID0gZm5HbG9iYWxPYmplY3QoKS5sZW5ndGg7CiAgICAgICAgICAgIGZuR2xvYmFsT2JqZWN0KClbMF0gPSAxMTsKICAgICAgICAgICAgZm5HbG9iYWxPYmplY3QoKS5sZW5ndGggPSAxOwogICAgICAgICAgICB2YXIgbmV3QXJyID0gQXJyYXkucHJvdG90eXBlLmZpbHRlci5jYWxsKGZuR2xvYmFsT2JqZWN0KCksIGNhbGxiYWNrZm4pOwogICAgICAgICAgICByZXR1cm4gbmV3QXJyLmxlbmd0aCA9PT0gMSAmJiBuZXdBcnJbMF0gPT09IDExOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIGRlbGV0ZSBmbkdsb2JhbE9iamVjdCgpWzBdOwogICAgICAgICAgICBmbkdsb2JhbE9iamVjdCgpLmxlbmd0aCA9IG9sZExlbjsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhBcnJheS5wcm90b3R5cGUuZmlsdGVyKTsKICAgIH0KfSk7Cg==","id":"15.4.4.20-9-c-i-23","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-i-23.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYy1pLTI1IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS40LzE1LjQuNC8xNS40LjQuMjAvMTUuNC40LjIwLTktYy1pLTI1LmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIkFycmF5LnByb3RvdHlwZS5maWx0ZXIgLSBUaGlzIG9iamVjdCBpcyB0aGUgQXJndW1lbnRzIG9iamVjdCB3aGljaCBpbXBsZW1lbnRzIGl0cyBvd24gcHJvcGVydHkgZ2V0IG1ldGhvZCAobnVtYmVyIG9mIGFyZ3VtZW50cyBpcyBsZXNzIHRoYW4gbnVtYmVyIG9mIHBhcmFtZXRlcnMpIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICBmdW5jdGlvbiBjYWxsYmFja2ZuKHZhbCwgaWR4LCBvYmopIHsKICAgICAgICAgICAgcmV0dXJuIHZhbCA9PT0gMTEgJiYgaWR4ID09PSAwOwogICAgICAgIH0KCiAgICAgICAgdmFyIGZ1bmMgPSBmdW5jdGlvbiAoYSwgYikgewogICAgICAgICAgICByZXR1cm4gQXJyYXkucHJvdG90eXBlLmZpbHRlci5jYWxsKGFyZ3VtZW50cywgY2FsbGJhY2tmbik7CiAgICAgICAgfTsKCiAgICAgICAgdmFyIG5ld0FyciA9IGZ1bmMoMTEpOwoKICAgICAgICByZXR1cm4gbmV3QXJyLmxlbmd0aCA9PT0gMSAmJiBuZXdBcnJbMF0gPT09IDExOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoQXJyYXkucHJvdG90eXBlLmZpbHRlcik7CiAgICB9Cgp9KTsK","id":"15.4.4.20-9-c-i-25","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-i-25.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYy1pLTI2IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS40LzE1LjQuNC8xNS40LjQuMjAvMTUuNC40LjIwLTktYy1pLTI2LmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIkFycmF5LnByb3RvdHlwZS5maWx0ZXIgLSBUaGlzIG9iamVjdCBpcyB0aGUgQXJndW1lbnRzIG9iamVjdCB3aGljaCBpbXBsZW1lbnRzIGl0cyBvd24gcHJvcGVydHkgZ2V0IG1ldGhvZCAobnVtYmVyIG9mIGFyZ3VtZW50cyBlcXVhbHMgbnVtYmVyIG9mIHBhcmFtZXRlcnMpIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKCiAgICAgICAgZnVuY3Rpb24gY2FsbGJhY2tmbih2YWwsIGlkeCwgb2JqKSB7CiAgICAgICAgICAgIGlmIChpZHggPT09IDApIHsKICAgICAgICAgICAgICAgIHJldHVybiB2YWwgPT09IDExOwogICAgICAgICAgICB9IGVsc2UgaWYgKGlkeCA9PT0gMSkgewogICAgICAgICAgICAgICAgcmV0dXJuIHZhbCA9PT0gOTsKICAgICAgICAgICAgfSBlbHNlIHsKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfQogICAgICAgIH0KCiAgICAgICAgdmFyIGZ1bmMgPSBmdW5jdGlvbiAoYSwgYikgewogICAgICAgICAgICByZXR1cm4gQXJyYXkucHJvdG90eXBlLmZpbHRlci5jYWxsKGFyZ3VtZW50cywgY2FsbGJhY2tmbik7CiAgICAgICAgfTsKICAgICAgICB2YXIgbmV3QXJyID0gZnVuYygxMSwgOSk7CgogICAgICAgIHJldHVybiBuZXdBcnIubGVuZ3RoID09PSAyICYmIG5ld0FyclswXSA9PT0gMTEgJiYKICAgICAgICAgICAgbmV3QXJyWzFdID09PSA5OwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoQXJyYXkucHJvdG90eXBlLmZpbHRlcik7CiAgICB9Cgp9KTsK","id":"15.4.4.20-9-c-i-26","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-i-26.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYy1pLTI3IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS40LzE1LjQuNC8xNS40LjQuMjAvMTUuNC40LjIwLTktYy1pLTI3LmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIkFycmF5LnByb3RvdHlwZS5maWx0ZXIgLSBUaGlzIG9iamVjdCBpcyB0aGUgQXJndW1lbnRzIG9iamVjdCB3aGljaCBpbXBsZW1lbnRzIGl0cyBvd24gcHJvcGVydHkgZ2V0IG1ldGhvZCAobnVtYmVyIG9mIGFyZ3VtZW50cyBpcyBncmVhdGVyIHRoYW4gbnVtYmVyIG9mIHBhcmFtZXRlcnMpIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKCiAgICAgICAgZnVuY3Rpb24gY2FsbGJhY2tmbih2YWwsIGlkeCwgb2JqKSB7CiAgICAgICAgICAgIGlmIChpZHggPT09IDApIHsKICAgICAgICAgICAgICAgIHJldHVybiB2YWwgPT09IDExOwogICAgICAgICAgICB9IGVsc2UgaWYgKGlkeCA9PT0gMSkgewogICAgICAgICAgICAgICAgcmV0dXJuIHZhbCA9PT0gMTI7CiAgICAgICAgICAgIH0gZWxzZSBpZiAoaWR4ID09PSAyKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gdmFsID09PSA5OwogICAgICAgICAgICB9IGVsc2UgewogICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICB9CiAgICAgICAgfQoKICAgICAgICB2YXIgZnVuYyA9IGZ1bmN0aW9uIChhLCBiKSB7CiAgICAgICAgICAgIHJldHVybiBBcnJheS5wcm90b3R5cGUuZmlsdGVyLmNhbGwoYXJndW1lbnRzLCBjYWxsYmFja2ZuKTsKICAgICAgICB9OwogICAgICAgIHZhciBuZXdBcnIgPSBmdW5jKDExLCAxMiwgOSk7CgogICAgICAgIHJldHVybiBuZXdBcnIubGVuZ3RoID09PSAzICYmIG5ld0FyclswXSA9PT0gMTEgJiYKICAgICAgICAgICAgbmV3QXJyWzFdID09PSAxMiAmJiBuZXdBcnJbMl0gPT09IDk7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhBcnJheS5wcm90b3R5cGUuZmlsdGVyKTsKICAgIH0KCn0pOwo=","id":"15.4.4.20-9-c-i-27","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-i-27.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYy1pLTI4IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS40LzE1LjQuNC8xNS40LjQuMjAvMTUuNC40LjIwLTktYy1pLTI4LmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIkFycmF5LnByb3RvdHlwZS5maWx0ZXIgLSBlbGVtZW50IGNoYW5nZWQgYnkgZ2V0dGVyIG9uIHByZXZpb3VzIGl0ZXJhdGlvbnMgaXMgb2JzZXJ2ZWQgb24gYW4gQXJyYXkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICAgICAgICB2YXIgcHJlSXRlclZpc2libGUgPSBmYWxzZTsKICAgICAgICB2YXIgYXJyID0gW107CgogICAgICAgIGZ1bmN0aW9uIGNhbGxiYWNrZm4odmFsLCBpZHgsIG9iaikgewogICAgICAgICAgICByZXR1cm4gaWR4ID09PSAxICYmIHZhbCA9PT0gOTsKICAgICAgICB9CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcnIsICIwIiwgewogICAgICAgICAgICBnZXQ6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgIHByZUl0ZXJWaXNpYmxlID0gdHJ1ZTsKICAgICAgICAgICAgICAgIHJldHVybiAxMTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgfSk7CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcnIsICIxIiwgewogICAgICAgICAgICBnZXQ6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgIGlmIChwcmVJdGVyVmlzaWJsZSkgewogICAgICAgICAgICAgICAgICAgIHJldHVybiA5OwogICAgICAgICAgICAgICAgfSBlbHNlIHsKICAgICAgICAgICAgICAgICAgICByZXR1cm4gMTE7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgIH0pOwogICAgICAgIHZhciBuZXdBcnIgPSBhcnIuZmlsdGVyKGNhbGxiYWNrZm4pOwoKICAgICAgICByZXR1cm4gbmV3QXJyLmxlbmd0aCA9PT0gMSAmJiBuZXdBcnJbMF0gPT09IDk7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhBcnJheS5wcm90b3R5cGUuZmlsdGVyKSAmJiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuU3VwcG9ydHNBcnJheUlu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WSVNFRCBPRiBUSEUgUE9TU0lCSUxJVFkgT0YgU1VDSCBEQU1BR0UuCgoKCkVTNUhhcm5lc3MucmVnaXN0ZXJUZXN0KHsKCiAgICBpZDogIjE1LjQuNC4yMC05LWMtaS0yOSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuNC8xNS40LjQvMTUuNC40LjIwLzE1LjQuNC4yMC05LWMtaS0yOS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIC0gZWxlbWVudCBjaGFuZ2VkIGJ5IGdldHRlciBvbiBwcmV2aW91cyBpdGVyYXRpb25zIGlzIG9ic2VydmVkIG9uIGFuIEFycmF5LWxpa2Ugb2JqZWN0IiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICBmdW5jdGlvbiBjYWxsYmFja2ZuKHZhbCwgaWR4LCBvYmopIHsKICAgICAgICAgICAgcmV0dXJuIHZhbCA9PT0gOSAmJiBpZHggPT09IDE7CiAgICAgICAgfQoKICAgICAgICB2YXIgcHJlSXRlclZpc2libGUgPSBmYWxzZTsKICAgICAgICB2YXIgb2JqID0geyBsZW5ndGg6IDIgfTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgIjAiLCB7CiAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgcHJlSXRlclZpc2libGUgPSB0cnVlOwogICAgICAgICAgICAgICAgcmV0dXJuIDExOwogICAgICAgICAgICB9LAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgIjEiLCB7CiAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgaWYgKHByZUl0ZXJWaXNpYmxlKSB7CiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIDk7CiAgICAgICAgICAgICAgICB9IGVsc2UgewogICAgICAgICAgICAgICAgICAgIHJldHVybiAxMzsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgfSk7CiAgICAgICAgdmFyIG5ld0FyciA9IEFycmF5LnByb3RvdHlwZS5maWx0ZXIuY2FsbChvYmosIGNhbGxiYWNrZm4pOwoKICAgICAgICByZXR1cm4gbmV3QXJyLmxlbmd0aCA9PT0gMSAmJiBuZXdBcnJbMF0gPT09IDk7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhBcnJheS5wcm90b3R5cGUuZmlsdGVyKSAmJiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuU3VwcG9ydHNBcnJheUluZGV4R2V0dGVyc09uT2JqZWN0cygpOwogICAgfQoKfSk7Cg==","id":"15.4.4.20-9-c-i-29","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-i-29.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYy1pLTMiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtOS1jLWktMy5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIC0gZWxlbWVudCB0byBiZSByZXRyaWV2ZWQgaXMgb3duIGRhdGEgcHJvcGVydHkgdGhhdCBvdmVycmlkZXMgYW4gaW5oZXJpdGVkIGRhdGEgcHJvcGVydHkgb24gYW4gQXJyYXktbGlrZSBvYmplY3QiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICAgICAgICBmdW5jdGlvbiBjYWxsYmFja2ZuKHZhbCwgaWR4LCBvYmopIHsKICAgICAgICAgICAgcmV0dXJuIChpZHggPT09IDUpICYmICh2YWwgPT09ICJhYmMiKTsKICAgICAgICB9CgogICAgICAgIHZhciBwcm90byA9IHsgMDogMTEsIDU6IDEwMCB9OwoKICAgICAgICB2YXIgQ29uID0gZnVuY3Rpb24gKCkgeyB9OwogICAgICAgIENvbi5wcm90b3R5cGUgPSBwcm90bzsKCiAgICAgICAgdmFyIGNoaWxkID0gbmV3IENvbigpOwogICAgICAgIGNoaWxkWzVdID0gImFiYyI7CiAgICAgICAgY2hpbGQubGVuZ3RoID0gMTA7CgogICAgICAgIHZhciBuZXdBcnIgPSBBcnJheS5wcm90b3R5cGUuZmlsdGVyLmNhbGwoY2hpbGQsIGNhbGxiYWNrZm4pOwoKICAgICAgICByZXR1cm4gbmV3QXJyLmxlbmd0aCA9PT0gMSAmJiBuZXdBcnJbMF0gPT09ICJhYmMiOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoQXJyYXkucHJvdG90eXBlLmZpbHRlcik7CiAgICB9Cgp9KTsK","id":"15.4.4.20-9-c-i-3","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-i-3.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYy1pLTMwIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS40LzE1LjQuNC8xNS40LjQuMjAvMTUuNC40LjIwLTktYy1pLTMwLmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIkFycmF5LnByb3RvdHlwZS5maWx0ZXIgLSB1bm5oYW5kbGVkIGV4Y2VwdGlvbnMgaGFwcGVuZWQgaW4gZ2V0dGVyIHRlcm1pbmF0ZSBpdGVyYXRpb24gb24gYW4gQXJyYXktbGlrZSBvYmplY3QiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICAgICAgICB2YXIgYWNjZXNzZWQgPSBmYWxzZTsKICAgICAgICBmdW5jdGlvbiBjYWxsYmFja2ZuKHZhbCwgaWR4LCBvYmopIHsKICAgICAgICAgICAgaWYgKGlkeCA+IDEpIHsKICAgICAgICAgICAgICAgIGFjY2Vzc2VkID0gdHJ1ZTsKICAgICAgICAgICAgfQogICAgICAgICAgICByZXR1cm4gdHJ1ZTsKICAgICAgICB9CgogICAgICAgIHZhciBvYmogPSB7IDA6IDExLCA1OiAxMCwgMTA6IDgsIGxlbmd0aDogMjAgfTsKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAiMSIsIHsKICAgICAgICAgICAgZ2V0OiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICB0aHJvdyBuZXcgUmFuZ2VFcnJvcigidW5oYW5kbGUgZXhjZXB0aW9uIGhhcHBlbmVkIGluIGdldHRlciIpOwogICAgICAgICAgICB9LAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKCiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgQXJyYXkucHJvdG90eXBlLmZpbHRlci5jYWxsKG9iaiwgY2FsbGJhY2tmbik7CiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9IGNhdGNoIChleCkgewogICAgICAgICAgICByZXR1cm4gKGV4IGluc3RhbmNlb2YgUmFuZ2VFcnJvcikgJiYgIWFjY2Vzc2VkOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5maWx0ZXIpICYmIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkgJiYgZm5TdXBwb3J0c0FycmF5SW5kZXhHZXR0ZXJ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OwoKICAgICAgICAgICAgcmV0dXJuIG5ld0Fyci5sZW5ndGggPT09IDEgJiYgbmV3QXJyWzBdID09PSAxMjsKICAgICAgICB9IGZpbmFsbHkgewogICAgICAgICAgICBkZWxldGUgQXJyYXkucHJvdG90eXBlWzBdOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5maWx0ZXIpOwogICAgfQoKfSk7Cg==","id":"15.4.4.20-9-c-i-4","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-i-4.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYy1pLTUiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtOS1jLWktNS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIC0gZWxlbWVudCB0byBiZSByZXRyaWV2ZWQgaXMgb3duIGRhdGEgcHJvcGVydHkgdGhhdCBvdmVycmlkZXMgYW4gaW5oZXJpdGVkIGFjY2Vzc29yIHByb3BlcnR5IG9uIGFuIEFycmF5LWxpa2Ugb2JqZWN0IiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKCiAgICAgICAgZnVuY3Rpb24gY2FsbGJhY2tmbih2YWwsIGlkeCwgb2JqKSB7CiAgICAgICAgICAgIHJldHVybiBpZHggPT09IDAgJiYgdmFsID09PSAxMTsKICAgICAgICB9CgogICAgICAgIHZhciBwcm90byA9IHt9OwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkocHJvdG8sICIwIiwgewogICAgICAgICAgICBnZXQ6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgIHJldHVybiA1OwogICAgICAgICAgICB9LAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKCiAgICAgICAgdmFyIENvbiA9IGZ1bmN0aW9uICgpIHsgfTsKICAgICAgICBDb24ucHJvdG90eXBlID0gcHJvdG87CgogICAgICAgIHZhciBjaGlsZCA9IG5ldyBDb24oKTsKICAgICAgICBjaGlsZC5sZW5ndGggPSAyOwogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShjaGlsZCwgIjAiLCB7CiAgICAgICAgICAgIHZhbHVlOiAxMSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgfSk7CiAgICAgICAgY2hpbGRbMV0gPSAxMjsKCiAgICAgICAgdmFyIG5ld0FyciA9IEFycmF5LnByb3RvdHlwZS5maWx0ZXIuY2FsbChjaGlsZCwgY2FsbGJhY2tmbik7CgogICAgICAgIHJldHVybiBuZXdBcnIubGVuZ3RoID09PSAxICYmIG5ld0FyclswXSA9PT0gMTE7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhBcnJheS5wcm90b3R5cGUuZmlsdGVyKSAmJiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuU3VwcG9ydHNBcnJheUluZGV4R2V0dGVyc09uT2JqZWN0cygpOwogICAgfQoKfSk7Cg==","id":"15.4.4.20-9-c-i-5","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-i-5.js"},{"code":"77u/Ly8vIENvcHlyaWdodCAoYykgMjAwOSBNaWNyb3NvZnQgQ29ycG9yYXRpb24gCi8vLyAKLy8vIFJlZGlzdHJpYnV0aW9uIGFuZCB1c2UgaW4gc291cmNlIGFuZCBiaW5hcnkgZm9ybXMsIHdpdGggb3Igd2l0aG91dCBtb2RpZmljYXRpb24sIGFyZSBwZXJ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cmlldmVkIGlzIG93biBkYXRhIHByb3BlcnR5IHRoYXQgb3ZlcnJpZGVzIGFuIGluaGVyaXRlZCBhY2Nlc3NvciBwcm9wZXJ0eSBvbiBhbiBBcnJheSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIGZ1bmN0aW9uIGNhbGxiYWNrZm4odmFsLCBpZHgsIG9iaikgewogICAgICAgICAgICByZXR1cm4gdmFsID09PSAxMTsKICAgICAgICB9CgogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShBcnJheS5wcm90b3R5cGUsICIwIiwgewogICAgICAgICAgICAgICAgZ2V0OiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIDk7CiAgICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICB2YXIgbmV3QXJyID0gWzExXS5maWx0ZXIoY2FsbGJhY2tmbik7CgogICAgICAgICAgICByZXR1cm4gbmV3QXJyLmxlbmd0aCA9PT0gMSAmJiBuZXdBcnJbMF0gPT09IDExOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIGRlbGV0ZSBBcnJheS5wcm90b3R5cGVbMF07CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoQXJyYXkucHJvdG90eXBlLmZpbHRlcikgJiYgZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmblN1cHBvcnRzQXJyYXlJbmRleEdldHRlcnNPbkFycmF5cygpOwogICAgfQoKfSk7Cg==","id":"15.4.4.20-9-c-i-6","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-i-6.js"},{"code":"RVM1SGFybmVzcy5yZWdpc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c3MucmVnaXN0ZXJUZXN0KHsKCiAgICBpZDogIjE1LjQuNC4yMC05LWMtaS04IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS40LzE1LjQuNC8xNS40LjQuMjAvMTUuNC40LjIwLTktYy1pLTguanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQXJyYXkucHJvdG90eXBlLmZpbHRlciAtIGVsZW1lbnQgdG8gYmUgcmV0cmlldmVkIGlzIGluaGVyaXRlZCBkYXRhIHByb3BlcnR5IG9uIGFuIEFycmF5IiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKCiAgICAgICAgZnVuY3Rpb24gY2FsbGJhY2tmbih2YWwsIGlkeCwgb2JqKSB7CiAgICAgICAgICAgIHJldHVybiAoaWR4ID09PSAxKSAmJiAodmFsID09PSAxMyk7CiAgICAgICAgfQoKICAgICAgICB0cnkgewogICAgICAgICAgICBBcnJheS5wcm90b3R5cGVbMV0gPSAxMzsKICAgICAgICAgICAgdmFyIG5ld0FyciA9IFssICwgLCBdLmZpbHRlcihjYWxsYmFja2ZuKTsKCiAgICAgICAgICAgIHJldHVybiBuZXdBcnIubGVuZ3RoID09PSAxICYmIG5ld0FyclswXSA9PT0gMTM7CiAgICAgICAgfSBmaW5hbGx5IHsKICAgICAgICAgICAgZGVsZXRlIEFycmF5LnByb3RvdHlwZVsxXTsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhBcnJheS5wcm90b3R5cGUuZmlsdGVyKSAmJiAhWywgMV0uaGFzT3duUHJvcGVydHkoMCk7CiAgICB9Cgp9KTsK","id":"15.4.4.20-9-c-i-8","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-i-8.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYy1pLTkiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtOS1jLWktOS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIC0gZWxlbWVudCB0byBiZSByZXRyaWV2ZWQgaXMgb3duIGFjY2Vzc29yIHByb3BlcnR5IG9uIGFuIEFycmF5LWxpa2Ugb2JqZWN0IiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKCiAgICAgICAgZnVuY3Rpb24gY2FsbGJhY2tmbih2YWwsIGlkeCwgb2JqKSB7CiAgICAgICAgICAgIHJldHVybiAoaWR4ID09PSAwKSAmJiAodmFsID09PSAxMSk7CiAgICAgICAgfQoKICAgICAgICB2YXIgb2JqID0geyAxMDogMTAsIGxlbmd0aDogMjAgfTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgIjAiLCB7CiAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgcmV0dXJuIDExOwogICAgICAgICAgICB9LAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKCiAgICAgICAgdmFyIG5ld0FyciA9IEFycmF5LnByb3RvdHlwZS5maWx0ZXIuY2FsbChvYmosIGNhbGxiYWNrZm4pOwogICAgICAgIHJldHVybiBuZXdBcnIubGVuZ3RoID09PSAxICYmIG5ld0FyclswXSA9PT0gMTE7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhBcnJheS5wcm90b3R5cGUuZmlsdGVyKSAmJiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuU3VwcG9ydHNBcnJheUluZGV4R2V0dGVyc09uT2JqZWN0cygpOwogICAgfQoKfSk7Cg==","id":"15.4.4.20-9-c-i-9","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-i-9.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxNS40LjQuMjAtOS1jLWlpLTEiLAoKcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuNC8xNS40LjQvMTUuNC40LjIwLzE1LjQuNC4yMC05LWMtaWktMS5qcyIsCgpkZXNjcmlwdGlvbjogIkFycmF5LnByb3RvdHlwZS5maWx0ZXIgLSBjYWxsYmFja2ZuIGNhbGxlZCB3aXRoIGNvcnJlY3QgcGFyYW1ldGVycyIsCgp0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsgCiAKICB2YXIgYlBhciA9IHRydWU7CiAgdmFyIGJDYWxsZWQgPSBmYWxzZTsKICBmdW5jdGlvbiBjYWxsYmFja2ZuKHZhbCwgaWR4LCBvYmopCiAgewogICAgYkNhbGxlZCA9IHRydWU7CiAgICBpZihvYmpbaWR4XSAhPT0gdmFsKQogICAgICBiUGFyID0gZmFsc2U7CiAgfQoKICB2YXIgc3JjQXJyID0gWzAsMSx0cnVlLG51bGwsbmV3IE9iamVjdCgpLCJmaXZlIl07CiAgc3JjQXJyWzk5OTk5OV0gPSAtNi42OwogIHZhciByZXNBcnIgPSBzcmNBcnIuZmlsdGVyKGNhbGxiYWNrZm4pOwogIAogIGlmKGJDYWxsZWQgPT09IHRydWUgJiYgYlBhciA9PT0gdHJ1ZSkKICAgIHJldHVybiB0cnVlOwogfSwKCnByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogIHJldHVybiBmbkV4aXN0cyhBcnJheS5wcm90b3R5cGUuZmlsdGVyKTsKIH0KfSk7Cg==","id":"15.4.4.20-9-c-ii-1","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-ii-1.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYy1paS0xMCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuNC8xNS40LjQvMTUuNC40LjIwLzE1LjQuNC4yMC05LWMtaWktMTAuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQXJyYXkucHJvdG90eXBlLmZpbHRlciAtIGNhbGxiYWNrZm4gaXMgY2FsbGVkIHdpdGggMSBmb3JtYWwgcGFyYW1ldGVyIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKCiAgICAgICAgZnVuY3Rpb24gY2FsbGJhY2tmbih2YWwpIHsKICAgICAgICAgICAgcmV0dXJuIHZhbCA+IDEwOwogICAgICAgIH0KICAgICAgICB2YXIgbmV3QXJyID0gWzEyXS5maWx0ZXIoY2FsbGJhY2tmbik7CgogICAgICAgIHJldHVybiBuZXdBcnIubGVuZ3RoID09PSAxICYmIG5ld0FyclswXSA9PT0gMTI7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhBcnJheS5wcm90b3R5cGUuZmlsdGVyKTsKICAgIH0KCn0pOwo=","id":"15.4.4.20-9-c-ii-10","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-ii-10.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYy1paS0xMSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuNC8xNS40LjQvMTUuNC40LjIwLzE1LjQuNC4yMC05LWMtaWktMTEuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQXJyYXkucHJvdG90eXBlLmZpbHRlciAtIGNhbGxiYWNrZm4gaXMgY2FsbGVkIHdpdGggMiBmb3JtYWwgcGFyYW1ldGVyIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKCiAgICAgICAgZnVuY3Rpb24gY2FsbGJhY2tmbih2YWwsIGlkeCkgewogICAgICAgICAgICByZXR1cm4gdmFsID4gMTAgJiYgYXJndW1lbnRzWzJdW2lkeF0gPT09IHZhbDsKICAgICAgICB9CiAgICAgICAgdmFyIG5ld0FyciA9IFsxMV0uZmlsdGVyKGNhbGxiYWNrZm4pOwoKICAgICAgICByZXR1cm4gbmV3QXJyLmxlbmd0aCA9PT0gMSAmJiBuZXdBcnJbMF0gPT09IDExOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoQXJyYXkucHJvdG90eXBlLmZpbHRlcik7CiAgICB9Cgp9KTsK","id":"15.4.4.20-9-c-ii-11","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-ii-11.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYy1paS0xMiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuNC8xNS40LjQvMTUuNC40LjIwLzE1LjQuNC4yMC05LWMtaWktMTIuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQXJyYXkucHJvdG90eXBlLmZpbHRlciAtIGNhbGxiYWNrZm4gaXMgY2FsbGVkIHdpdGggMyBmb3JtYWwgcGFyYW1ldGVyIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKCiAgICAgICAgZnVuY3Rpb24gY2FsbGJhY2tmbih2YWwsIGlkeCwgb2JqKSB7CiAgICAgICAgICAgIHJldHVybiB2YWwgPiAxMCAmJiBvYmpbaWR4XSA9PT0gdmFsOwogICAgICAgIH0KICAgICAgICB2YXIgbmV3QXJyID0gWzExXS5maWx0ZXIoY2FsbGJhY2tmbik7CgogICAgICAgIHJldHVybiBuZXdBcnIubGVuZ3RoID09PSAxICYmIG5ld0FyclswXSA9PT0gMTE7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhBcnJheS5wcm90b3R5cGUuZmlsdGVyKTsKICAgIH0KCn0pOwo=","id":"15.4.4.20-9-c-ii-12","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-ii-12.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYy1paS0xMyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuNC8xNS40LjQvMTUuNC40LjIwLzE1LjQuNC4yMC05LWMtaWktMTMuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQXJyYXkucHJvdG90eXBlLmZpbHRlciAtIGNhbGxiYWNrZm4gdGhhdCB1c2VzIGFyZ3VtZW50cyBvYmplY3QgdG8gZ2V0IHBhcmFtZXRlciB2YWx1ZSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIGZ1bmN0aW9uIGNhbGxiYWNrZm4oKSB7CiAgICAgICAgICAgIHJldHVybiBhcmd1bWVudHNbMl1bYXJndW1lbnRzWzFdXSA9PT0gYXJndW1lbnRzWzBdOwogICAgICAgIH0KICAgICAgICB2YXIgbmV3QXJyID0gWzExXS5maWx0ZXIoY2FsbGJhY2tmbik7CgogICAgICAgIHJldHVybiBuZXdBcnIubGVuZ3RoID09PSAxICYmIG5ld0FyclswXSA9PT0gMTE7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhBcnJheS5wcm90b3R5cGUuZmlsdGVyKTsKICAgIH0KCn0pOwo=","id":"15.4.4.20-9-c-ii-13","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-ii-13.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYy1paS0xNiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuNC8xNS40LjQvMTUuNC40LjIwLzE1LjQuNC4yMC05LWMtaWktMTYuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQXJyYXkucHJvdG90eXBlLmZpbHRlciAtICd0aGlzJyBvZiAnY2FsbGJhY2tmbicgaXMgYSBCb29sZWFuIG9iamVjdCB3aGVuIFQgaXMgbm90IGFuIG9iamVjdCAoVCBpcyBhIGJvb2xlYW4pIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKCiAgICAgICAgZnVuY3Rpb24gY2FsbGJhY2tmbih2YWwsIGlkeCwgb2JqKSB7CiAgICAgICAgICAgIHJldHVybiB0aGlzLnZhbHVlT2YoKSA9PT0gZmFsc2U7CiAgICAgICAgfQoKICAgICAgICB2YXIgb2JqID0geyAwOiAxMSwgbGVuZ3RoOiAyIH07CiAgICAgICAgdmFyIG5ld0FyciA9IEFycmF5LnByb3RvdHlwZS5maWx0ZXIuY2FsbChvYmosIGNhbGxiYWNrZm4sIGZhbHNlKTsKCiAgICAgICAgcmV0dXJuIG5ld0Fyci5sZW5ndGggPT09IDEgJiYgbmV3QXJyWzBdID09PSAxMTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5maWx0ZXIpOwogICAgfQoKfSk7Cg==","id":"15.4.4.20-9-c-ii-16","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-ii-16.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYy1paS0xNyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuNC8xNS40LjQvMTUuNC40LjIwLzE1LjQuNC4yMC05LWMtaWktMTcuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQXJyYXkucHJvdG90eXBlLmZpbHRlciAtJ3RoaXMnIG9mICdjYWxsYmFja2ZuJyBpcyBhIE51bWJlciBvYmplY3Qgd2hlbiBUIGlzIG5vdCBhbiBvYmplY3QgKFQgaXMgYSBudW1iZXIpIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKCiAgICAgICAgZnVuY3Rpb24gY2FsbGJhY2tmbih2YWwsIGlkeCwgbykgewogICAgICAgICAgICByZXR1cm4gNSA9PT0gdGhpcy52YWx1ZU9mKCk7CiAgICAgICAgfQoKICAgICAgICB2YXIgb2JqID0geyAwOiAxMSwgbGVuZ3RoOiAyIH07CiAgICAgICAgdmFyIG5ld0FyciA9IEFycmF5LnByb3RvdHlwZS5maWx0ZXIuY2FsbChvYmosIGNhbGxiYWNrZm4sIDUpOwoKICAgICAgICByZXR1cm4gbmV3QXJyLmxlbmd0aCA9PT0gMSAmJiBuZXdBcnJbMF0gPT09IDExOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoQXJyYXkucHJvdG90eXBlLmZpbHRlcik7CiAgICB9Cgp9KTsK","id":"15.4.4.20-9-c-ii-17","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-ii-17.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYy1paS0xOCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuNC8xNS40LjQvMTUuNC40LjIwLzE1LjQuNC4yMC05LWMtaWktMTguanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQXJyYXkucHJvdG90eXBlLmZpbHRlciAtICd0aGlzJyBvZiAnY2FsbGJhY2tmbicgaXMgYW4gU3RyaW5nIG9iamVjdCB3aGVuIFQgaXMgbm90IGFuIG9iamVjdCAoVCBpcyBhIHN0cmluZykiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICAgICAgICBmdW5jdGlvbiBjYWxsYmFja2ZuKHZhbCwgaWR4LCBvYmopIHsKICAgICAgICAgICAgcmV0dXJuICdoZWxsbycgPT09IHRoaXMudmFsdWVPZigpOwogICAgICAgIH0KCiAgICAgICAgdmFyIG9iaiA9IHsgMDogMTEsIGxlbmd0aDogMiB9OwogICAgICAgIHZhciBuZXdBcnIgPSBBcnJheS5wcm90b3R5cGUuZmlsdGVyLmNhbGwob2JqLCBjYWxsYmFja2ZuLCAiaGVsbG8iKTsKCiAgICAgICAgcmV0dXJuIG5ld0Fyci5sZW5ndGggPT09IDEgJiYgbmV3QXJyWzBdID09PSAxMTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5maWx0ZXIpOwogICAgfQoKfSk7Cg==","id":"15.4.4.20-9-c-ii-18","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-ii-18.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYy1paS0xOSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuNC8xNS40LjQvMTUuNC40LjIwLzE1LjQuNC4yMC05LWMtaWktMTkuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQXJyYXkucHJvdG90eXBlLmZpbHRlciAtIG5vbi1pbmRleGVkIHByb3BlcnRpZXMgYXJlIG5vdCBjYWxsZWQiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICAgICAgICB2YXIgYWNjZXNzZWQgPSBmYWxzZTsKCiAgICAgICAgZnVuY3Rpb24gY2FsbGJhY2tmbih2YWwsIGlkeCwgb2JqKSB7CiAgICAgICAgICAgIGFjY2Vzc2VkID0gdHJ1ZTsKICAgICAgICAgICAgcmV0dXJuIHZhbCA9PT0gODsKICAgICAgICB9CgogICAgICAgIHZhciBvYmogPSB7IDA6IDExLCBub25faW5kZXhfcHJvcGVydHk6IDgsIDI6IDUsIGxlbmd0aDogMjAgfTsKICAgICAgICB2YXIgbmV3QXJyID0gQXJyYXkucHJvdG90eXBlLmZpbHRlci5jYWxsKG9iaiwgY2FsbGJhY2tmbik7CgogICAgICAgIHJldHVybiBuZXdBcnIubGVuZ3RoID09PSAwICYmIGFjY2Vzc2VkOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoQXJyYXkucHJvdG90eXBlLmZpbHRlcik7CiAgICB9Cgp9KTsK","id":"15.4.4.20-9-c-ii-19","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-ii-19.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxNS40LjQuMjAtOS1jLWlpLTIiLAoKcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuNC8xNS40LjQvMTUuNC40LjIwLzE1LjQuNC4yMC05LWMtaWktMi5qcyIsCgpkZXNjcmlwdGlvbjogIkFycmF5LnByb3RvdHlwZS5maWx0ZXIgLSBjYWxsYmFja2ZuIHRha2VzIDMgYXJndW1lbnRzIiwKCnRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgeyAKIAogIHZhciBwYXJDbnQgPSAzOwogIHZhciBiQ2FsbGVkID0gZmFsc2UKICBmdW5jdGlvbiBjYWxsYmFja2ZuKHZh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gb2JqKSB7CiAgICAgICAgICAgIHJldHVybiB0aGlzID09PSB0aGlzQXJnOwogICAgICAgIH0KCiAgICAgICAgdmFyIG9iaiA9IHsgMDogMTEsIGxlbmd0aDogMSB9OwogICAgICAgIHZhciBuZXdBcnIgPSBBcnJheS5wcm90b3R5cGUuZmlsdGVyLmNhbGwob2JqLCBjYWxsYmFja2ZuLCB0aGlzQXJnKTsKCiAgICAgICAgcmV0dXJuIG5ld0Fyci5sZW5ndGggPT09IDEgJiYgbmV3QXJyWzBdID09PSAxMTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5maWx0ZXIpOwogICAgfQoKfSk7Cg==","id":"15.4.4.20-9-c-ii-20","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-ii-20.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYy1paS0yMSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuNC8xNS40LjQvMTUuNC40LjIwLzE1LjQuNC4yMC05LWMtaWktMjEuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQXJyYXkucHJvdG90eXBlLmZpbHRlciAtIGNhbGxiYWNrZm4gY2FsbGVkIHdpdGggY29ycmVjdCBwYXJhbWV0ZXJzIChrVmFsdWUgaXMgY29ycmVjdCkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICAgICAgICBmdW5jdGlvbiBjYWxsYmFja2ZuKHZhbCwgaWR4LCBvYmopIHsKICAgICAgICAgICAgaWYgKGlkeCA9PT0gMCkgewogICAgICAgICAgICAgICAgcmV0dXJuIHZhbCA9PT0gMTE7CiAgICAgICAgICAgIH0KCiAgICAgICAgICAgIGlmIChpZHggPT09IDEpIHsKICAgICAgICAgICAgICAgIHJldHVybiB2YWwgPT09IDEyOwogICAgICAgICAgICB9CgogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfQoKICAgICAgICB2YXIgb2JqID0geyAwOiAxMSwgMTogMTIsIGxlbmd0aDogMiB9OwogICAgICAgIHZhciBuZXdBcnIgPSBBcnJheS5wcm90b3R5cGUuZmlsdGVyLmNhbGwob2JqLCBjYWxsYmFja2ZuKTsKCiAgICAgICAgcmV0dXJuIG5ld0Fyci5sZW5ndGggPT09IDIgJiYgbmV3QXJyWzBdID09PSAxMSAmJiBuZXdBcnJbMV0gPT09IDEyOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoQXJyYXkucHJvdG90eXBlLmZpbHRlcik7CiAgICB9Cgp9KTsK","id":"15.4.4.20-9-c-ii-21","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-ii-21.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYy1paS0yMiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuNC8xNS40LjQvMTUuNC40LjIwLzE1LjQuNC4yMC05LWMtaWktMjIuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQXJyYXkucHJvdG90eXBlLmZpbHRlciAtIGNhbGxiYWNrZm4gY2FsbGVkIHdpdGggY29ycmVjdCBwYXJhbWV0ZXJzICh0aGUgaW5kZXggayBpcyBjb3JyZWN0KSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIGZ1bmN0aW9uIGNhbGxiYWNrZm4odmFsLCBpZHgsIG9iaikgewogICAgICAgICAgICBpZiAodmFsID09PSAxMSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGlkeCA9PT0gMDsKICAgICAgICAgICAgfQoKICAgICAgICAgICAgaWYgKHZhbCA9PT0gMTIpIHsKICAgICAgICAgICAgICAgIHJldHVybiBpZHggPT09IDE7CiAgICAgICAgICAgIH0KCiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9CgogICAgICAgIHZhciBvYmogPSB7IDA6IDExLCAxOiAxMiwgbGVuZ3RoOiAyIH07CiAgICAgICAgdmFyIG5ld0FyciA9IEFycmF5LnByb3RvdHlwZS5maWx0ZXIuY2FsbChvYmosIGNhbGxiYWNrZm4pOwoKICAgICAgICByZXR1cm4gbmV3QXJyLmxlbmd0aCA9PT0gMiAmJiBuZXdBcnJbMF0gPT09IDExICYmIG5ld0FyclsxXSA9PT0gMTI7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhBcnJheS5wcm90b3R5cGUuZmlsdGVyKTsKICAgIH0KCn0pOwo=","id":"15.4.4.20-9-c-ii-22","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-ii-22.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYy1paS0yMyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuNC8xNS40LjQvMTUuNC40LjIwLzE1LjQuNC4yMC05LWMtaWktMjMuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQXJyYXkucHJvdG90eXBlLmZpbHRlciAtIGNhbGxiYWNrZm4gY2FsbGVkIHdpdGggY29ycmVjdCBwYXJhbWV0ZXJzICh0aGlzIG9iamVjdCBPIGlzIGNvcnJlY3QpIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKCiAgICAgICAgdmFyIG9iaiA9IHsgMDogMTEsIGxlbmd0aDogMiB9OwoKICAgICAgICBmdW5jdGlvbiBjYWxsYmFja2ZuKHZhbCwgaWR4LCBvKSB7CiAgICAgICAgICAgIHJldHVybiBvYmogPT09IG87CiAgICAgICAgfQoKICAgICAgICB2YXIgbmV3QXJyID0gQXJyYXkucHJvdG90eXBlLmZpbHRlci5jYWxsKG9iaiwgY2FsbGJhY2tmbik7CgogICAgICAgIHJldHVybiBuZXdBcnIubGVuZ3RoID09PSAxICYmIG5ld0FyclswXSA9PT0gMTE7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhBcnJheS5wcm90b3R5cGUuZmlsdGVyKTsKICAgIH0KCn0pOwo=","id":"15.4.4.20-9-c-ii-23","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-ii-23.js"},{"code":"77u/Ly8vIENvcHlyaWdodCAoYykgMjAwOSBNaWNyb3NvZnQgQ29ycG9yYXRpb24gCi8vLyAKLy8vIFJlZGlzdHJpYnV0aW9uIGFuZCB1c2UgaW4gc291cmNlIGFuZCBiaW5hcnkgZm9ybXMsIHdpdGggb3Igd2l0aG91dCBtb2RpZmljYXRpb24sIGFyZSBwZXJtaXR0ZWQgcHJvdmlkZWQKLy8vIHRoYXQgdGhlIGZvbGxvd2luZyBjb25kaXRpb25zIGFyZSBtZXQ6IAovLy8gICAgKiBSZWRpc3RyaWJ1dGlvbnMgb2Ygc291cmNlIGNvZGUgbXVzdCByZXRhaW4gdGhlIGFib3ZlIGNvcHlyaWdodCBub3RpY2UsIHRoaXMgbGlzdCBvZiBjb25kaXRpb25zIGFuZAovLy8gICAgICB0aGUgZm9sbG93aW5nIGRpc2NsYWltZXIuIAovLy8gICAgKiBSZWRpc3RyaWJ1dGlvbnMgaW4gYmluYXJ5IGZvcm0gbXVzdCByZXByb2R1Y2UgdGhlIGFib3ZlIGNvcHlyaWdodCBub3RpY2UsIHRoaXMgbGlzdCBvZiBjb25kaXRpb25zIGFuZCAKLy8vICAgICAgdGhlIGZvbGxvd2luZ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AgICAgICBjYWxsZWQrKzsKICAgICAgICAgICAgLy9FYWNoIHBvc2l0aW9uIHNob3VsZCBiZSB2aXNpdGVkIG9uZSB0aW1lLCB3aGljaCBtZWFucyBrIGlzIGFjY2Vzc2VkIG9uZSB0aW1lIGR1cmluZyBpdGVyYXRpb25zLgogICAgICAgICAgICBpZiAoa0luZGV4W2lkeF0gPT09IHVuZGVmaW5lZCkgewogICAgICAgICAgICAgICAgLy93aGVuIGN1cnJlbnQgcG9zaXRpb24gaXMgdmlzaXRlZCwgaXRzIHByZXZpb3VzIGluZGV4IHNob3VsZCBoYXMgYmVlbiB2aXNpdGVkLgogICAgICAgICAgICAgICAgaWYgKGlkeCAhPT0gMCAmJiBrSW5kZXhbaWR4IC0gMV0gPT09IHVuZGVmaW5lZCkgewogICAgICAgICAgICAgICAgICAgIHJldHVybiB0cnVlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAga0luZGV4W2lkeF0gPSAxOwogICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICB9IGVsc2UgewogICAgICAgICAgICAgICAgcmV0dXJuIHRydWU7CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICAgICAgdmFyIG5ld0FyciA9IFsxMSwgMTIsIDEzLCAxNF0uZmlsdGVyKGNhbGxiYWNrZm4sIHVuZGVmaW5lZCk7CgogICAgICAgIHJldHVybiBuZXdBcnIubGVuZ3RoID09PSAwICYmIGNhbGxlZCA9PT0gNDsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5maWx0ZXIpOwogICAgfQoKfSk7Cg==","id":"15.4.4.20-9-c-ii-5","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-ii-5.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYy1paS02IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS40LzE1LjQuNC8xNS40LjQuMjAvMTUuNC40LjIwLTktYy1paS02LmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIkFycmF5LnByb3RvdHlwZS5maWx0ZXIgLSBhcmd1bWVudHMgdG8gY2FsbGJhY2tmbiBhcmUgc2VsZiBjb25zaXN0ZW50IiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKCiAgICAgICAgdmFyIG9iaiA9IHsgMDogMTEsIGxlbmd0aDogMSB9OwogICAgICAgIHZhciB0aGlzQXJnID0ge307CgogICAgICAgIGZ1bmN0aW9uIGNhbGxiYWNrZm4oKSB7CiAgICAgICAgICAgIHJldHVybiB0aGlzID09PSB0aGlzQXJnICYmCiAgICAgICAgICAgICAgICBhcmd1bWVudHNbMF0gPT09IDExICYmCiAgICAgICAgICAgICAgICBhcmd1bWVudHNbMV0gPT09IDAgJiYKICAgICAgICAgICAgICAgIGFyZ3VtZW50c1syXSA9PT0gb2JqOwogICAgICAgIH0KCiAgICAgICAgdmFyIG5ld0FyciA9IEFycmF5LnByb3RvdHlwZS5maWx0ZXIuY2FsbChvYmosIGNhbGxiYWNrZm4sIHRoaXNBcmcpOwoKICAgICAgICByZXR1cm4gbmV3QXJyLmxlbmd0aCA9PT0gMSAmJiBuZXdBcnJbMF0gPT09IDExOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoQXJyYXkucHJvdG90eXBlLmZpbHRlcik7CiAgICB9Cgp9KTsK","id":"15.4.4.20-9-c-ii-6","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-ii-6.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYy1paS03IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS40LzE1LjQuNC8xNS40LjQuMjAvMTUuNC40LjIwLTktYy1paS03LmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIkFycmF5LnByb3RvdHlwZS5maWx0ZXIgLSB1bmhhbmRsZWQgZXhjZXB0aW9ucyBoYXBwZW5lZCBpbiBjYWxsYmFja2ZuIHRlcm1pbmF0ZSBpdGVyYXRpb24iLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICAgICAgICB2YXIgY2FsbGVkID0gMDsKCiAgICAgICAgZnVuY3Rpb24gY2FsbGJhY2tmbih2YWwsIGlkeCwgb2JqKSB7CiAgICAgICAgICAgIGNhbGxlZCsrOwogICAgICAgICAgICBpZiAoY2FsbGVkID09PSAxKSB7CiAgICAgICAgICAgICAgICB0aHJvdyBuZXcgRXJyb3IoIkV4Y2VwdGlvbiBvY2N1cnJlZCBpbiBjYWxsYmFja2ZuIik7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgcmV0dXJuIHRydWU7CiAgICAgICAgfQoKICAgICAgICB2YXIgb2JqID0geyAwOiAxMSwgNDogMTAsIDEwOiA4LCBsZW5ndGg6IDIwIH07CgogICAgICAgIHRyeSB7CiAgICAgICAgICAgIEFycmF5LnByb3RvdHlwZS5maWx0ZXIuY2FsbChvYmosIGNhbGxiYWNrZm4pOwogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSBjYXRjaCAoZXgpIHsKICAgICAgICAgICAgcmV0dXJuIDEgPT09IGNhbGxlZCAmJiBleCBpbnN0YW5jZW9mIEVycm9yOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5maWx0ZXIpOwogICAgfQoKfSk7Cg==","id":"15.4.4.20-9-c-ii-7","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-ii-7.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYy1paS04IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS40LzE1LjQuNC8xNS40LjQuMjAvMTUuNC40LjIwLTktYy1paS04LmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIkFycmF5LnByb3RvdHlwZS5maWx0ZXIgLSBlbGVtZW50IGNoYW5nZWQgYnkgY2FsbGJhY2tmbiBvbiBwcmV2aW91cyBpdGVyYXRpb25zIGlzIG9ic2VydmVkIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKCiAgICAgICAgdmFyIG9iaiA9IHsgMDogMTEsIDE6IDEyLCBsZW5ndGg6IDIgfTsKCiAgICAgICAgZnVuY3Rpb24gY2FsbGJhY2tmbih2YWwsIGlkeCwgbykgewogICAgICAgICAgICBpZiAoaWR4ID09PSAwKSB7CiAgICAgICAgICAgICAgICBvYmpbaWR4ICsgMV0gPSA4OwogICAgICAgICAgICB9CiAgICAgICAgICAgIHJldHVybiB2YWwgPiAxMDsKICAgICAgICB9CgogICAgICAgIHZhciBuZXdBcnIgPSBBcnJheS5wcm90b3R5cGUuZmlsdGVyLmNhbGwob2JqLCBjYWxsYmFja2ZuKTsKCiAgICAgICAgcmV0dXJuIG5ld0Fyci5sZW5ndGggPT09IDEgJiYgbmV3QXJyWzBdID09PSAxMTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5maWx0ZXIpOwogICAgfQoKfSk7Cg==","id":"15.4.4.20-9-c-ii-8","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-ii-8.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYy1paS05IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS40LzE1LjQuNC8xNS40LjQuMjAvMTUuNC40LjIwLTktYy1paS05LmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIkFycmF5LnByb3RvdHlwZS5maWx0ZXIgLSBjYWxsYmFja2ZuIGlzIGNhbGxlZCB3aXRoIDAgZm9ybWFsIHBhcmFtZXRlciIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIGZ1bmN0aW9uIGNhbGxiYWNrZm4oKSB7CiAgICAgICAgICAgIHJldHVybiB0cnVlOwogICAgICAgIH0KICAgICAgICB2YXIgbmV3QXJyID0gWzExXS5maWx0ZXIoY2FsbGJhY2tmbik7CgogICAgICAgIHJldHVybiBuZXdBcnIubGVuZ3RoID09PSAxICYmIG5ld0FyclswXSA9PT0gMTE7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhBcnJheS5wcm90b3R5cGUuZmlsdGVyKTsKICAgIH0KCn0pOwo=","id":"15.4.4.20-9-c-ii-9","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-ii-9.js"},{"code":"77u/Ly8vIENvcHlyaWdodCAoYykgMjAwOSBNaWNyb3NvZnQgQ29ycG9yYXRpb24gCi8vLyAKLy8vIFJlZGlzdHJpYnV0aW9uIGFuZCB1c2UgaW4gc291cmNlIGFuZCBiaW5hcnkgZm9ybXMsIHdpdGggb3Igd2l0aG91dCBtb2RpZmljYXRpb24sIGFyZSBwZXJtaXR0ZWQgcHJvdmlkZWQKLy8vIHRoYXQgdGhlIGZvbGxvd2luZyBjb25kaXRpb25zIGFyZSBtZXQ6IAovLy8gICAgKiBSZWRpc3RyaWJ1dGlvbnMgb2Ygc291cmNlI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m4odmFsLCBpZHgsIG9iaikgewogICAgICAgICAgICByZXR1cm4gdHJ1ZTsKICAgICAgICB9CgogICAgICAgIHZhciBvYmogPSB7IDA6IDExLCAxOiA5LCBsZW5ndGg6IDIgfTsKICAgICAgICB2YXIgbmV3QXJyID0gQXJyYXkucHJvdG90eXBlLmZpbHRlci5jYWxsKG9iaiwgY2FsbGJhY2tmbik7CgogICAgICAgIHJldHVybiBuZXdBcnJbMF0gPT09IG9ialswXSAmJiBuZXdBcnJbMV0gPT09IG9ialsxXTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5maWx0ZXIpOwogICAgfQoKfSk7Cg==","id":"15.4.4.20-9-c-iii-1-1","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-iii-1-1.js"},{"code":"77u/Ly8vIENvcHlyaWdodCAoYykgMjAwOSBNaWNyb3NvZnQgQ29ycG9yYXRpb24gCi8vLyAKLy8vIFJlZGlzdHJpYnV0aW9uIGFuZCB1c2UgaW4gc291cmNlIGFuZCBiaW5hcnkgZm9ybXMsIHdpdGggb3Igd2l0aG91dCBtb2RpZmljYXRpb24sIGFyZSBwZXJtaXR0ZWQgcHJvdmlkZWQKLy8vIHRoYXQgdGhlIGZvbGxvd2luZyBjb25kaXRpb25zIGFyZSBtZXQ6IAovLy8gICAgKiBSZWRpc3RyaWJ1dGlvbnMgb2Ygc291cmNlIGNvZGUgbXVzdCByZXRhaW4gdGhlIGFib3ZlIGNvcHlyaWdodCBub3RpY2UsIHRoaXMgbGlzdCBvZiBjb25kaXRpb25zIGFuZAovLy8gICAgICB0aGUgZm9sbG93aW5nIGRpc2NsYWltZXIuIAovLy8gICAgKiBSZWRpc3RyaWJ1dGlvbnMgaW4gYmluYXJ5IGZvcm0gbXVzdCByZXByb2R1Y2UgdGhlIGFib3ZlIGNvcHlya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ICAgIHZhciB0ZW1wVmFsID0gbmV3QXJyWzFdOwogICAgICAgICAgICBuZXdBcnJbMV0gKz0gMTsKICAgICAgICAgICAgcmV0dXJuIG5ld0FyclsxXSAhPT0gdGVtcFZhbDsKICAgICAgICB9IGNhdGNoIChleCkgewogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoQXJyYXkucHJvdG90eXBlLmZpbHRlcik7CiAgICB9Cgp9KTsK","id":"15.4.4.20-9-c-iii-1-2","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-iii-1-2.js"},{"code":"77u/Ly8vIENvcHlyaWdodCAoYykgMjAwOSBNaWNyb3NvZnQgQ29ycG9yYXRpb24gCi8vLyAKLy8vIFJlZGlzdHJpYnV0aW9uIGFuZCB1c2UgaW4gc291cmNlIGFuZCBiaW5hcnkgZm9ybXMsIHdpdGggb3Igd2l0aG91dCBtb2RpZmljYXRpb24sIGFyZSBwZXJtaXR0ZWQgcHJvdmlkZWQKLy8vIHRoYXQgdGhlIGZvbGxvd2luZyBjb25kaXRpb25zIGFyZSBtZXQ6IAovLy8gICAgKiBSZWRpc3RyaWJ1dGlvbnMgb2Ygc291cmNlIGNvZGUgbXVzdCByZXRhaW4gdGhlIGFib3ZlIGNvcHlyaWdodCBub3RpY2UsIHRoaXMgbGlzdCBvZiBjb25kaXRpb25zIGFuZAovLy8gICAgICB0aGUgZm9sbG93aW5nIGRpc2NsYWltZXIuIAovLy8gICAgKiBSZWRpc3RyaWJ1dGlvbnMgaW4gYmluYXJ5IGZvcm0gbXVzdCByZXByb2R1Y2UgdGhlIGFib3ZlIGNvcHlyaWdodCBub3RpY2UsIHRoaXMgbGlzdCBvZiBjb25kaXRpb25zIGFuZCAKLy8vICAgICAgdGhlIGZvbGxvd2luZyBkaXNjbGFpbWVyIG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BcnIuaGFzT3duUHJvcGVydHkocHJvcCkpIHsKICAgICAgICAgICAgICAgIGlmIChwcm9wID09PSAiMCIpIHsKICAgICAgICAgICAgICAgICAgICBlbnVtZXJhYmxlID0gdHJ1ZTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgIH0KCiAgICAgICAgcmV0dXJuIGVudW1lcmFibGU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhBcnJheS5wcm90b3R5cGUuZmlsdGVyKTsKICAgIH0KCn0pOwo=","id":"15.4.4.20-9-c-iii-1-3","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-iii-1-3.js"},{"code":"77u/Ly8vIENvcHlyaWdodCAoYykgMjAwOSBNaWNyb3NvZnQgQ29ycG9yYXRpb24gCi8vLyAKLy8vIFJlZGlzdHJpYnV0aW9uIGFuZCB1c2UgaW4gc291cmNlIGFuZCBiaW5hcnkgZm9ybXMsIHdpdGggb3Igd2l0aG91dCBtb2RpZmljYXRpb24sIGFyZSBwZXJtaXR0ZWQgcHJvdmlkZWQKLy8vIHRoYXQgdGhlIGZvbGxvd2luZyBjb25kaXRpb25zIGFyZSBtZXQ6IAovLy8gICAgKiBSZWRpc3RyaWJ1dGlvbnMgb2Ygc291cmNlIGNvZGUgbXVzdCByZXRhaW4gdGhlIGFib3ZlIGNvcHlyaWdodCBub3RpY2UsIHRoaXMgbGlzdCBvZiBjb25kaXRpb25zIGFuZAovLy8gICAgICB0aGUgZm9sbG93aW5nIGRpc2NsYWltZXIuIAovLy8gICAgKiBSZWRpc3RyaWJ1dGlvbnMgaW4gYmluYXJ5IGZvcm0gbXVzdCByZXByb2R1Y2UgdGhlIGFib3ZlIGNvcHlyaWdodCBub3RpY2UsIHRoaXMgbGlzdCBvZiBjb25kaXRpb25zIGFuZCAKLy8vICAgICAgdGhlIGZvbGxvd2luZyBk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TsKICAgICAgICAgICAgcmV0dXJuIHRlbXBWYWwgIT09IHVuZGVmaW5lZCAmJiBuZXdBcnJbMV0gPT09IHVuZGVmaW5lZDsKICAgICAgICB9IGNhdGNoIChleCkgewogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoQXJyYXkucHJvdG90eXBlLmZpbHRlcik7CiAgICB9Cgp9KTsK","id":"15.4.4.20-9-c-iii-1-4","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-iii-1-4.js"},{"code":"77u/Ly8vIENvcHlyaWdodCAoYykgMjAwOSBNaWNyb3NvZnQgQ29ycG9yYXRpb24gCi8vLyAKLy8vIFJlZGlzdHJpYnV0aW9uIGFuZCB1c2UgaW4gc291cmNlIGFuZCBiaW5hcnkgZm9ybXMsIHdpdGggb3Igd2l0aG91dCBtb2RpZmljYXRpb24sIGFyZSBwZXJtaXR0ZWQgcHJvdmlkZWQKLy8vIHRoYXQgdGhlIGZvbGxvd2luZyBjb25kaXRpb25zIGFyZSBtZXQ6IAovLy8gICAgKiBSZWRpc3RyaWJ1dGlvbnMgb2Ygc291cmNlIGNvZGUgbXVzdCByZXRhaW4gdGhlIGFib3ZlIGNvcHlyaWdodCBub3RpY2UsIHRoaXMgbGlzdCBvZiBjb25kaXRpb25zIGFuZAovLy8gICAgICB0aGUgZm9sbG93aW5nIGRpc2NsYWltZXIuIAovLy8gICAgKiBSZWRpc3RyaWJ1dGlvbnMgaW4gYmluYXJ5IGZvcm0gbXVzdCByZXByb2R1Y2UgdGhlIGFib3ZlIGNvcHlyaWdodCBub3RpY2UsIHRoaXMgbGlzdCBvZiBjb25kaXRpb25zIGFuZCAKLy8vICAgICAgdGhlIGZvbGxvd2luZyBkaXNjbGFpbWVyIGluIHRoZSBkb2N1bWVudGF0aW9uIGFuZC9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gICAgICAgICAgLy9FYWNoIHBvc2l0aW9uIHNob3VsZCBiZSB2aXNpdGVkIG9uZSB0aW1lLCB3aGljaCBtZWFucyAndG8nIGlzIGFjY2Vzc2VkIG9uZSB0aW1lIGR1cmluZyBpdGVyYXRpb25zLgogICAgICAgICAgICBpZiAodG9JbmRleFtpZHhdID09PSB1bmRlZmluZWQpIHsKICAgICAgICAgICAgICAgIC8vd2hlbiBjdXJyZW50IHBvc2l0aW9uIGlzIHZpc2l0ZWQsIGl0cyBwcmV2aW91cyBpbmRleCBzaG91bGQgaGFzIGJlZW4gdmlzaXRlZC4KICAgICAgICAgICAgICAgIGlmIChpZHggIT09IDAgJiYgdG9JbmRleFtpZHggLSAxXSA9PT0gdW5kZWZpbmVkKSB7CiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgdG9JbmRleFtpZHhdID0gMTsKICAgICAgICAgICAgICAgIHJldHVybiB0cnVlOwogICAgICAgICAgICB9IGVsc2UgewogICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIHZhciBuZXdBcnIgPSBbMTEsIDEyLCAxMywgMTRdLmZpbHRlcihjYWxsYmFja2ZuLCB1bmRlZmluZWQpOwoKICAgICAgICByZXR1cm4gbmV3QXJyLmxlbmd0aCA9PT0gNCAmJiBjYWxsZWQgPT09IDQ7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhBcnJheS5wcm90b3R5cGUuZmlsdGVyKTsKICAgIH0KCn0pOwo=","id":"15.4.4.20-9-c-iii-1-6","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-iii-1-6.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxNS40LjQuMjAtOS1jLWlpaS0xIiwKCnBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtOS1jLWlpaS0xLmpzIiwKCmRlc2NyaXB0aW9uOiAiQXJyYXkucHJvdG90eXBlLmZpbHRlciAtIGdldE93blByb3BlcnR5RGVzY3JpcHRvcihhbGwgdHJ1ZSkgb2YgcmV0dXJuZWQgYXJyYXkgZWxlbWVudCIsCgp0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAKICBmdW5jdGlvbiBjYWxsYmFja2ZuKHZhbCwgaWR4LCBvYmopewogICAgaWYodmFsICUgMikKICAgICAgcmV0dXJuIHRydWU7IAogICAgZWxzZQogICAgICByZXR1cm4gZmFsc2U7CiAgfQogIHZhciBzcmNBcnIgPSBbMCwxLDIsMyw0XTsKICB2YXIgcmVzQXJyID0gc3JjQXJyLmZpbHRlcihjYWxsYmFja2ZuKTsKICBpZiAocmVzQXJyLmxlbmd0aCA+IDApewogICAgIHZhciBkZXNjID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihyZXNBcnIsIDEpIAogICAgIGlmKGRlc2MudmFsdWUgPT09IDMgJiYgICAgICAgIC8vc3JjQXJyWzFdID0gdHJ1ZQogICAgICAgZGVzYy53cml0YWJsZSA9PT0gdHJ1ZSAmJgogICAgICAgZGVzYy5lbnVtZXJhYmxlID09PSB0cnVlICYmCiAgICAgICBkZXNjLmNvbmZpZ3VyYWJsZSA9PT0gdHJ1ZSl7CiAgICAgICAgIHJldHVybiB0cnVlOwogICAgfQogIH0KIH0sCgpwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICByZXR1cm4gZm5FeGlzdHMoQXJyYXkucHJvdG90eXBlLmZpbHRlcik7CiB9Cn0pOwo=","id":"15.4.4.20-9-c-iii-1","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-iii-1.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYy1paWktMTAiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtOS1jLWlpaS0xMC5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIHJldHVybiB2YWx1ZSBvZiBjYWxsYmFja2ZuIGlzIGEgbnVtYmVyICh2YWx1ZSBpcyBuZWdhdGl2ZSBudW1iZXIpIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKCiAgICAgICAgZnVuY3Rpb24gY2FsbGJhY2tmbih2YWwsIGlkeCwgb2JqKSB7CiAgICAgICAgICAgIHJldHVybiAtNTsKICAgICAgICB9CgogICAgICAgIHZhciBuZXdBcnIgPSBbMTFdLmZpbHRlcihjYWxsYmFja2ZuKTsKICAgICAgICByZXR1cm4gbmV3QXJyLmxlbmd0aCA9PT0gMSAmJiBuZXdBcnJbMF0gPT09IDExOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoQXJyYXkucHJvdG90eXBlLmZpbHRlcik7CiAgICB9Cgp9KTsK","id":"15.4.4.20-9-c-iii-10","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-iii-10.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYy1paWktMTEiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtOS1jLWlpaS0xMS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIHJldHVybiB2YWx1ZSBvZiBjYWxsYmFja2ZuIGlzIGEgbnVtYmVyICh2YWx1ZSBpcyBJbmZpbml0eSkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICAgICAgICBmdW5jdGlvbiBjYWxsYmFja2ZuKHZhbCwgaWR4LCBvYmopIHsKICAgICAgICAgICAgcmV0dXJuIEluZmluaXR5OwogICAgICAgIH0KCiAgICAgICAgdmFyIG5ld0FyciA9IFsxMV0uZmlsdGVyKGNhbGxiYWNrZm4pOwogICAgICAgIHJldHVybiBuZXdBcnIubGVuZ3RoID09PSAxICYmIG5ld0FyclswXSA9PT0gMTE7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhBcnJheS5wcm90b3R5cGUuZmlsdGVyKTsKICAgIH0KCn0pOwo=","id":"15.4.4.20-9-c-iii-11","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-iii-11.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYy1paWktMTIiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtOS1jLWlpaS0xMi5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIHJldHVybiB2YWx1ZSBvZiBjYWxsYmFja2ZuIGlzIGEgbnVtYmVyICh2YWx1ZSBpcyAtSW5maW5pdHkpIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKCiAgICAgICAgZnVuY3Rpb24gY2FsbGJhY2tmbih2YWwsIGlkeCwgb2JqKSB7CiAgICAgICAgICAgIHJldHVybiAtSW5maW5pdHk7CiAgICAgICAgfQoKICAgICAgICB2YXIgbmV3QXJyID0gWzExXS5maWx0ZXIoY2FsbGJhY2tmbik7CiAgICAgICAgcmV0dXJuIG5ld0Fyci5sZW5ndGggPT09IDEgJiYgbmV3QXJyWzBdID09PSAxMTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5maWx0ZXIpOwogICAgfQoKfSk7Cg==","id":"15.4.4.20-9-c-iii-12","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-iii-12.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYy1paWktMTMiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtOS1jLWlpaS0xMy5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIHJldHVybiB2YWx1ZSBvZiBjYWxsYmFja2ZuIGlzIGEgbnVtYmVyICh2YWx1ZSBpcyBOYU4pIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKCiAgICAgICAgdmFyIGFjY2Vzc2VkID0gZmFsc2U7CgogICAgICAgIGZ1bmN0aW9uIGNhbGxiYWNrZm4odmFsLCBpZHgsIG9iaikgewogICAgICAgICAgICBhY2Nlc3NlZCA9IHRydWU7CiAgICAgICAgICAgIHJldHVybiBOYU47CiAgICAgICAgfQoKICAgICAgICB2YXIgbmV3QXJyID0gWzExXS5maWx0ZXIoY2FsbGJhY2tmbik7CiAgICAgICAgcmV0dXJuIG5ld0Fyci5sZW5ndGggPT09IDAgJiYgYWNjZXNzZWQ7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhBcnJheS5wcm90b3R5cGUuZmlsdGVyKTsKICAgIH0KCn0pOwo=","id":"15.4.4.20-9-c-iii-13","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-iii-13.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYy1paWktMTQiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtOS1jLWlpaS0xNC5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIHJldHVybiB2YWx1ZSBvZiBjYWxsYmFja2ZuIGlzIGFuIGVtcHR5IHN0cmluZyIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIHZhciBhY2Nlc3NlZCA9IGZhbHNlOwoKICAgICAgICBmdW5jdGlvbiBjYWxsYmFja2ZuKHZhbCwgaWR4LCBvYmopIHsKICAgICAgICAgICAgYWNjZXNzZWQgPSB0cnVlOwogICAgICAgICAgICByZXR1cm4gIiI7CiAgICAgICAgfQoKICAgICAgICB2YXIgbmV3QXJyID0gWzExXS5maWx0ZXIoY2FsbGJhY2tmbik7CiAgICAgICAgcmV0dXJuIG5ld0Fyci5sZW5ndGggPT09IDAgJiYgYWNjZXNzZWQ7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhBcnJheS5wcm90b3R5cGUuZmlsdGVyKTsKICAgIH0KCn0pOwo=","id":"15.4.4.20-9-c-iii-14","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-iii-14.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYy1paWktMTUiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtOS1jLWlpaS0xNS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIHJldHVybiB2YWx1ZSBvZiBjYWxsYmFja2ZuIGlzIGEgbm9uLWVtcHR5IHN0cmluZyIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAKICAgICAgICBmdW5jdGlvbiBjYWxsYmFja2ZuKHZhbCwgaWR4LCBvYmopIHsKICAgICAgICAgICAgcmV0dXJuICJub24tZW1wdHkgc3RyaW5nIjsKICAgICAgICB9CgogICAgICAgIHZhciBuZXdBcnIgPSBbMTFdLmZpbHRlcihjYWxsYmFja2ZuKTsKICAgICAgICByZXR1cm4gbmV3QXJyLmxlbmd0aCA9PT0gMSAmJiBuZXdBcnJbMF0gPT09IDExOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoQXJyYXkucHJvdG90eXBlLmZpbHRlcik7CiAgICB9Cgp9KTsK","id":"15.4.4.20-9-c-iii-15","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-iii-15.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYy1paWktMTYiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtOS1jLWlpaS0xNi5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIHJldHVybiB2YWx1ZSBvZiBjYWxsYmFja2ZuIGlzIGEgRnVuY3Rpb24gb2JqZWN0IiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKCiAgICAgICAgZnVuY3Rpb24gY2FsbGJhY2tmbih2YWwsIGlkeCwgb2JqKSB7CiAgICAgICAgICAgIHJldHVybiBmdW5jdGlvbiAoKSB7IH07CiAgICAgICAgfQoKICAgICAgICB2YXIgbmV3QXJyID0gWzExXS5maWx0ZXIoY2FsbGJhY2tmbik7CiAgICAgICAgcmV0dXJuIG5ld0Fyci5sZW5ndGggPT09IDEgJiYgbmV3QXJyWzBdID09PSAxMTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5maWx0ZXIpOwogICAgfQoKfSk7Cg==","id":"15.4.4.20-9-c-iii-16","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-iii-16.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYy1paWktMTciLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtOS1jLWlpaS0xNy5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIHJldHVybiB2YWx1ZSBvZiBjYWxsYmFja2ZuIGlzIGFuIEFycmF5IG9iamVjdCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIGZ1bmN0aW9uIGNhbGxiYWNrZm4odmFsLCBpZHgsIG9iaikgewogICAgICAgICAgICByZXR1cm4gbmV3IEFycmF5KDEwKTsKICAgICAgICB9CgogICAgICAgIHZhciBuZXdBcnIgPSBbMTFdLmZpbHRlcihjYWxsYmFja2ZuKTsKICAgICAgICByZXR1cm4gbmV3QXJyLmxlbmd0aCA9PT0gMSAmJiBuZXdBcnJbMF0gPT09IDExOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoQXJyYXkucHJvdG90eXBlLmZpbHRlcik7CiAgICB9Cgp9KTsK","id":"15.4.4.20-9-c-iii-17","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-iii-17.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYy1paWktMTgiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtOS1jLWlpaS0xOC5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIHJldHVybiB2YWx1ZSBvZiBjYWxsYmFja2ZuIGlzIGEgU3RyaW5nIG9iamVjdCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIGZ1bmN0aW9uIGNhbGxiYWNrZm4odmFsLCBpZHgsIG9iaikgewogICAgICAgICAgICByZXR1cm4gbmV3IFN0cmluZygpOwogICAgICAgIH0KCiAgICAgICAgdmFyIG5ld0FyciA9IFsxMV0uZmlsdGVyKGNhbGxiYWNrZm4pOwogICAgICAgIHJldHVybiBuZXdBcnIubGVuZ3RoID09PSAxICYmIG5ld0FyclswXSA9PT0gMTE7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhBcnJheS5wcm90b3R5cGUuZmlsdGVyKTsKICAgIH0KCn0pOwo=","id":"15.4.4.20-9-c-iii-18","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-iii-18.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYy1paWktMTkiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtOS1jLWlpaS0xOS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIHJldHVybiB2YWx1ZSBvZiBjYWxsYmFja2ZuIGlzIGEgQm9vbGVhbiBvYmplY3QiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICAgICAgICBmdW5jdGlvbiBjYWxsYmFja2ZuKHZhbCwgaWR4LCBvYmopIHsKICAgICAgICAgICAgcmV0dXJuIG5ldyBCb29sZWFuKCk7CiAgICAgICAgfQoKICAgICAgICB2YXIgbmV3QXJyID0gWzExXS5maWx0ZXIoY2FsbGJhY2tmbik7CiAgICAgICAgcmV0dXJuIG5ld0Fyci5sZW5ndGggPT09IDEgJiYgbmV3QXJyWzBdID09PSAxMTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5maWx0ZXIpOwogICAgfQoKfSk7Cg==","id":"15.4.4.20-9-c-iii-19","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-iii-19.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYy1paWktMiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuNC8xNS40LjQvMTUuNC40LjIwLzE1LjQuNC4yMC05LWMtaWlpLTIuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQXJyYXkucHJvdG90eXBlLmZpbHRlciAtIHJldHVybiB2YWx1ZSBvZiBjYWxsYmFja2ZuIGlzIHVuZGVmaW5lZCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoK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AgICAgICAgfQoKICAgICAgICB2YXIgbmV3QXJyID0gWzExXS5maWx0ZXIoY2FsbGJhY2tmbik7CiAgICAgICAgcmV0dXJuIG5ld0Fyci5sZW5ndGggPT09IDEgJiYgbmV3QXJyWzBdID09PSAxMTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5maWx0ZXIpOwogICAgfQoKfSk7Cg==","id":"15.4.4.20-9-c-iii-20","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-iii-20.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYy1paWktMjEiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtOS1jLWlpaS0yMS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIC0gcmV0dXJuIHZhbHVlIG9mIGNhbGxiYWNrZm4gaXMgdGhlIE1hdGggb2JqZWN0IiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKCiAgICAgICAgZnVuY3Rpb24gY2FsbGJhY2tmbih2YWwsIGlkeCwgb2JqKSB7CiAgICAgICAgICAgIHJldHVybiBNYXRoOwogICAgICAgIH0KCiAgICAgICAgdmFyIG5ld0FyciA9IFsxMV0uZmlsdGVyKGNhbGxiYWNrZm4pOwogICAgICAgIHJldHVybiBuZXdBcnIubGVuZ3RoID09PSAxICYmIG5ld0FyclswXSA9PT0gMTE7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhBcnJheS5wcm90b3R5cGUuZmlsdGVyKTsKICAgIH0KCn0pOwo=","id":"15.4.4.20-9-c-iii-21","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-iii-21.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYy1paWktMjIiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtOS1jLWlpaS0yMi5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIC0gcmV0dXJuIHZhbHVlIG9mIGNhbGxiYWNrZm4gaXMgYSBEYXRlIG9iamVjdCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIGZ1bmN0aW9uIGNhbGxiYWNrZm4odmFsLCBpZHgsIG9iaikgewogICAgICAgICAgICByZXR1cm4gbmV3IERhdGUoKTsKICAgICAgICB9CgogICAgICAgIHZhciBuZXdBcnIgPSBbMTFdLmZpbHRlcihjYWxsYmFja2ZuKTsKICAgICAgICByZXR1cm4gbmV3QXJyLmxlbmd0aCA9PT0gMSAmJiBuZXdBcnJbMF0gPT09IDExOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoQXJyYXkucHJvdG90eXBlLmZpbHRlcik7CiAgICB9Cgp9KTsK","id":"15.4.4.20-9-c-iii-22","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-iii-22.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYy1paWktMjMiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtOS1jLWlpaS0yMy5qcyIs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BKU09OOwogICAgICAgIH0KCiAgICAgICAgdmFyIG5ld0FyciA9IFsxMV0uZmlsdGVyKGNhbGxiYWNrZm4pOwogICAgICAgIHJldHVybiBuZXdBcnIubGVuZ3RoID09PSAxICYmIG5ld0FyclswXSA9PT0gMTE7CgogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoQXJyYXkucHJvdG90eXBlLmZpbHRlcik7CiAgICB9Cgp9KTsK","id":"15.4.4.20-9-c-iii-24","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-iii-24.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYy1paWktMjUiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtOS1jLWlpaS0yNS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIC0gcmV0dXJuIHZhbHVlIG9mIGNhbGxiYWNrZm4gaXMgYW4gRXJyb3Igb2JqZWN0IiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKCiAgICAgICAgZnVuY3Rpb24gY2FsbGJhY2tmbih2YWwsIGlkeCwgb2JqKSB7CiAgICAgICAgICAgIHJldHVybiBuZXcgRXZhbEVycm9yKCk7CiAgICAgICAgfQoKICAgICAgICB2YXIgbmV3QXJyID0gWzExXS5maWx0ZXIoY2FsbGJhY2tmbik7CiAgICAgICAgcmV0dXJuIG5ld0Fyci5sZW5ndGggPT09IDEgJiYgbmV3QXJyWzBdID09PSAxMTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5maWx0ZXIpOwogICAgfQoKfSk7Cg==","id":"15.4.4.20-9-c-iii-25","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-iii-25.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYy1paWktMjYiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtOS1jLWlpaS0yNi5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIC0gcmV0dXJuIHZhbHVlIG9mIGNhbGxiYWNrZm4gaXMgdGhlIEFyZ3VtZW50cyBvYmplY3QiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICAgICAgICBmdW5jdGlvbiBjYWxsYmFja2ZuKHZhbCwgaWR4LCBvYmopIHsKICAgICAgICAgICAgcmV0dXJuIGFyZ3VtZW50czsKICAgICAgICB9CgogICAgICAgIHZhciBuZXdBcnIgPSBbMTFdLmZpbHRlcihjYWxsYmFja2ZuKTsKICAgICAgICByZXR1cm4gbmV3QXJyLmxlbmd0aCA9PT0gMSAmJiBuZXdBcnJbMF0gPT09IDExOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoQXJyYXkucHJvdG90eXBlLmZpbHRlcik7CiAgICB9Cgp9KTsK","id":"15.4.4.20-9-c-iii-26","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-iii-26.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYy1paWktMjgiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtOS1jLWlpaS0yOC5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIC0gcmV0dXJuIHZhbHVlIG9mIGNhbGxiYWNrZm4gaXMgdGhlIGdsb2JhbCBvYmplY3QiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICAgICAgICBmdW5jdGlvbiBjYWxsYmFja2ZuKHZhbCwgaWR4LCBvYmopIHsKICAgICAgICAgICAgcmV0dXJuIGZuR2xvYmFsT2JqZWN0KCk7CiAgICAgICAgfQoKICAgICAgICB2YXIgbmV3QXJyID0gWzExXS5maWx0ZXIoY2FsbGJhY2tmbik7CiAgICAgICAgcmV0dXJuIG5ld0Fyci5sZW5ndGggPT09IDEgJiYgbmV3QXJyWzBdID09PSAxMTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5maWx0ZXIpOwogICAgfQoKfSk7Cg==","id":"15.4.4.20-9-c-iii-28","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-iii-28.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYy1paWktMjkiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4yMC8xNS40LjQuMjAtOS1jLWlpaS0yOS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuZmlsdGVyIC0gZmFsc2UgcHJldmVudHMgZWxlbWVudCBhZGRlZCB0byBvdXRwdXQgQXJyYXkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICAgICAgICB2YXIgY2FsbGVkID0gMDsKCiAgICAgICAgZnVuY3Rpb24gY2FsbGJhY2tmbih2YWwsIGlkeCwgb2JqKSB7CiAgICAgICAgICAgIGNhbGxlZCsrOwogICAgICAgICAgICByZXR1cm4gdmFsID4gMTA7CiAgICAgICAgfQoKICAgICAgICB2YXIgb2JqID0geyAwOiAxMSwgMTogOCwgbGVuZ3RoOiAyMCB9OwoKICAgICAgICB2YXIgbmV3QXJyID0gQXJyYXkucHJvdG90eXBlLmZpbHRlci5jYWxsKG9iaiwgY2FsbGJhY2tmbik7CiAgICAgICAgcmV0dXJuIG5ld0Fyci5sZW5ndGggPT09IDEgJiYgbmV3QXJyWzBdICE9PSA4ICYmIGNhbGxlZCA9PT0gMjsKCiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhBcnJheS5wcm90b3R5cGUuZmlsdGVyKTsKICAgIH0KCn0pOwo=","id":"15.4.4.20-9-c-iii-29","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-iii-29.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYy1paWktMyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuNC8xNS40LjQvMTUuNC40LjIwLzE1LjQuNC4yMC05LWMtaWlpLTMuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQXJyYXkucHJvdG90eXBlLmZpbHRlciAtIHJldHVybiB2YWx1ZSBvZiBjYWxsYmFja2ZuIGlzIG51bGwiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICAgICAgICB2YXIgYWNjZXNzZWQgPSBmYWxzZTsKCiAgICAgICAgZnVuY3Rpb24gY2FsbGJhY2tmbih2YWwsIGlkeCwgb2JqKSB7CiAgICAgICAgICAgIGFjY2Vzc2VkID0gdHJ1ZTsKICAgICAgICAgICAgcmV0dXJuIG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BdID09PSAxMTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5maWx0ZXIpOwogICAgfQoKfSk7Cg==","id":"15.4.4.20-9-c-iii-30","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-iii-30.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYy1paWktNCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuNC8xNS40LjQvMTUuNC40LjIwLzE1LjQuNC4yMC05LWMtaWlpLTQuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQXJyYXkucHJvdG90eXBlLmZpbHRlciAtIHJldHVybiB2YWx1ZSBvZiBjYWxsYmFja2ZuIGlzIGEgYm9vbGVhbiAodmFsdWUgaXMgZmFsc2UpIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKCiAgICAgICAgdmFyIGFjY2Vzc2VkID0gZmFsc2U7CgogICAgICAgIGZ1bmN0aW9uIGNhbGxiYWNrZm4odmFsLCBpZHgsIG9iaikgewogICAgICAgICAgICBhY2Nlc3NlZCA9IHRydWU7CiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9CgogICAgICAgIHZhciBvYmogPSB7IDA6IDExLCBsZW5ndGg6IDEgfTsKCiAgICAgICAgdmFyIG5ld0FyciA9IEFycmF5LnByb3RvdHlwZS5maWx0ZXIuY2FsbChvYmosIGNhbGxiYWNrZm4pOwogICAgICAgIHJldHVybiBuZXdBcnIubGVuZ3RoID09PSAwICYmIGFjY2Vzc2VkOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoQXJyYXkucHJvdG90eXBlLmZpbHRlcik7CiAgICB9Cgp9KTsK","id":"15.4.4.20-9-c-iii-4","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-iii-4.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYy1paWktNSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuNC8xNS40LjQvMTUuNC40LjIwLzE1LjQuNC4yMC05LWMtaWlpLTUuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQXJyYXkucHJvdG90eXBlLmZpbHRlciAtIHJldHVybiB2YWx1ZSBvZiBjYWxsYmFja2ZuIGlzIGEgYm9vbGVhbiAodmFsdWUgaXMgdHJ1ZSkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICAgICAgICBmdW5jdGlvbiBjYWxsYmFja2ZuKHZhbCwgaWR4LCBvYmopIHsKICAgICAgICAgICAgcmV0dXJuIHRydWU7CiAgICAgICAgfQoKICAgICAgICB2YXIgb2JqID0geyAwOiAxMSwgbGVuZ3RoOiAxIH07CgogICAgICAgIHZhciBuZXdBcnIgPSBBcnJheS5wcm90b3R5cGUuZmlsdGVyLmNhbGwob2JqLCBjYWxsYmFja2ZuKTsKICAgICAgICByZXR1cm4gbmV3QXJyLmxlbmd0aCA9PT0gMSAmJiBuZXdBcnJbMF0gPT09IDExOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoQXJyYXkucHJvdG90eXBlLmZpbHRlcik7CiAgICB9Cgp9KTsK","id":"15.4.4.20-9-c-iii-5","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-iii-5.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYy1paWktNiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuNC8xNS40LjQvMTUuNC40LjIwLzE1LjQuNC4yMC05LWMtaWlpLTYuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQXJyYXkucHJvdG90eXBlLmZpbHRlciAtIHJldHVybiB2YWx1ZSBvZiBjYWxsYmFja2ZuIGlzIGEgbnVtYmVyICh2YWx1ZSBpcyAwKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIHZhciBhY2Nlc3NlZCA9IGZhbHNlOwoKICAgICAgICBmdW5jdGlvbiBjYWxsYmFja2ZuKHZhbCwgaWR4LCBvYmopIHsKICAgICAgICAgICAgYWNjZXNzZWQgPSB0cnVlOwogICAgICAgICAgICByZXR1cm4gMDsKICAgICAgICB9CgogICAgICAgIHZhciBuZXdBcnIgPSBbMTFdLmZpbHRlcihjYWxsYmFja2ZuKTsKICAgICAgICByZXR1cm4gbmV3QXJyLmxlbmd0aCA9PT0gMCAmJiBhY2Nlc3NlZDsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5maWx0ZXIpOwogICAgfQoKfSk7Cg==","id":"15.4.4.20-9-c-iii-6","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-iii-6.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYy1paWktNyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuNC8xNS40LjQvMTUuNC40LjIwLzE1LjQuNC4yMC05LWMtaWlpLTcuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQXJyYXkucHJvdG90eXBlLmZpbHRlciAtIHJldHVybiB2YWx1ZSBvZiBjYWxsYmFja2ZuIGlzIGEgbnVtYmVyICh2YWx1ZSBpcyArMCkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICAgICAgICB2YXIgYWNjZXNzZWQgPSBmYWxzZTsKCiAgICAgICAgZnVuY3Rpb24gY2FsbGJhY2tmbih2YWwsIGlkeCwgb2JqKSB7CiAgICAgICAgICAgIGFjY2Vzc2VkID0gdHJ1ZTsKICAgICAgICAgICAgcmV0dXJuICswOwogICAgICAgIH0KCiAgICAgICAgdmFyIG5ld0FyciA9IFsxMV0uZmlsdGVyKGNhbGxiYWNrZm4pOwogICAgICAgIHJldHVybiBuZXdBcnIubGVuZ3RoID09PSAwICYmIGFjY2Vzc2VkOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoQXJyYXkucHJvdG90eXBlLmZpbHRlcik7CiAgICB9Cgp9KTsK","id":"15.4.4.20-9-c-iii-7","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-iii-7.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYy1paWktOCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuNC8xNS40LjQvMTUuNC40LjIwLzE1LjQuNC4yMC05LWMtaWlpLTguanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQXJyYXkucHJvdG90eXBlLmZpbHRlciAtIHJldHVybiB2YWx1ZSBvZiBjYWxsYmFja2ZuIGlzIGEgbnVubWJlciAodmFsdWUgaXMgLTApIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKCiAgICAgICAgdmFyIGFjY2Vzc2VkID0gZmFsc2U7CgogICAgICAgIGZ1bmN0aW9uIGNhbGxiYWNrZm4odmFsLCBpZHgsIG9iaikgewogICAgICAgICAgICBhY2Nlc3NlZCA9IHRydWU7CiAgICAgICAgICAgIHJldHVybiAtMDsKICAgICAgICB9CgogICAgICAgIHZhciBuZXdBcnIgPSBbMTFdLmZpbHRlcihjYWxsYmFja2ZuKTsKICAgICAgICByZXR1cm4gbmV3QXJyLmxlbmd0aCA9PT0gMCAmJiBhY2Nlc3NlZDsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5maWx0ZXIpOwogICAgfQoKfSk7Cg==","id":"15.4.4.20-9-c-iii-8","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-iii-8.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuNC40LjIwLTktYy1paWktOSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuNC8xNS40LjQvMTUuNC40LjIwLzE1LjQuNC4yMC05LWMtaWlpLTkuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQXJyYXkucHJvdG90eXBlLmZpbHRlciAtIHJldHVybiB2YWx1ZSBvZiBjYWxsYmFja2ZuIGlzIGEgbnVtYmVyICh2YWx1ZSBpcyBwb3NpdGl2ZSBudW1iZXIpIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKCiAgICAgICAgZnVuY3Rpb24gY2FsbGJhY2tmbih2YWwsIGlkeCwgb2JqKSB7CiAgICAgICAgICAgIHJldHVybiA1OwogICAgICAgIH0KCiAgICAgICAgdmFyIG5ld0FyciA9IFsxMV0uZmlsdGVyKGNhbGxiYWNrZm4pOwogICAgICAgIHJldHVybiBuZXdBcnIubGVuZ3RoID09PSAxICYmIG5ld0FyclswXSA9PT0gMTE7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhBcnJheS5wcm90b3R5cGUuZmlsdGVyKTsKICAgIH0KCn0pOwo=","id":"15.4.4.20-9-c-iii-9","path":"TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-9-c-iii-9.js"}]}}