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

1 line
160 KiB
JSON

{"testsCollection":{"name":"Chapter - 15.3","numTests":"112","tests":[{"code":"InVzZSBzdHJpY3QiOwp0aHJvdyBOb3RFYXJseUVycm9yOwp2YXIgXzE1XzNfMl8xXzEwXzRfZnVuID0gbmV3IEZ1bmN0aW9uKCdwYXJhbV8xJywgJ3BhcmFtXzInLCAncGFyYW1fMScsICcidXNlIHN0cmljdCI7IHJldHVybiAwOycpOw==","id":"15.3.2.1-10-4gs","path":"TestCases/chapter15/15.3/15.3.2/15.3.2.1/15.3.2.1-10-4gs.js"},{"code":"dGhyb3cgTm90RWFybHlFcnJvcjsKdmFyIF8xNV8zXzJfMV8xMF82X2Z1biA9IG5ldyBGdW5jdGlvbigncGFyYW1fMScsICdwYXJhbV8yJywgJ3BhcmFtXzEnLCAnInVzZSBzdHJpY3QiO3JldHVybiAwOycpOw==","id":"15.3.2.1-10-6gs","path":"TestCases/chapter15/15.3/15.3.2/15.3.2.1/15.3.2.1-10-6gs.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxNS4zLjIuMS0xMS0xLXMiLAoKcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMy8xNS4zLjIvMTUuMy4yLjEvMTUuMy4yLjEtMTEtMS1zLmpzIiwKCmRlc2NyaXB0aW9uOiAiRHVwbGljYXRlIHNlcGVyYXRlIHBhcmFtZXRlciBuYW1lIGluIEZ1bmN0aW9uIGNvbnN0cnVjdG9yIHRocm93cyBTeW50YXhFcnJvciBpbiBzdHJpY3QgbW9kZSIsCgp0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsgICAKICB0cnkgewogICAgRnVuY3Rpb24oJ2EnLCdhJywnInVzZSBzdHJpY3QiOycpOwogICAgcmV0dXJuIGZhbHNlOwogIH0KICBjYXRjaCAoZSkgewogICAgcmV0dXJuIChlIGluc3RhbmNlb2YgU3ludGF4RXJyb3IpOwogIH0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UgaW4gRnVuY3Rpb24gY29uc3RydWN0b3IgYWxsb3dlZCBpZiBib2R5IGlzIG5vdCBzdHJpY3QiLAoKdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKQp7ICAgCiAgICBGdW5jdGlvbignYSxhJywncmV0dXJuOycpOwogICAgcmV0dXJuIHRydWU7CiB9Cn0pOwo=","id":"15.3.2.1-11-5","path":"TestCases/chapter15/15.3/15.3.2/15.3.2.1/15.3.2.1-11-5.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxNS4zLjIuMS0xMS02LXMiLAoKcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMy8xNS4zLjIvMTUuMy4yLjEvMTUuMy4yLjEtMTEtNi1zLmpzIiwKCmRlc2NyaXB0aW9uOiAiRHVwbGljYXRlIGNvbWJpbmVkIHBhcmFtZXRlciBuYW1lIGFsbG93ZWQgaW4gRnVuY3Rpb24gY29uc3RydWN0b3IgY2FsbGVkIGluIHN0cmljdCBtb2RlIGlmIGJvZHkgbm90IHN0cmljdCIsCgp0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpCnsgCiAgInVzZSBzdHJpY3QiOyAKICB0cnkgewogICAgIEZ1bmN0aW9uKCdhLGEnLCdyZXR1cm4gYTsnKTsKCSByZXR1cm4gdHJ1ZTsKICB9IGNhdGNoIChlKSB7CiAgICAgcmV0dXJuIGZhbHNlOwogIH0KICAKIH0sCgpzdHJpY3Q6MSwKCnByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogIHJldHVybiB0cnVlOwogfQoKfSk7Cg==","id":"15.3.2.1-11-6-s","path":"TestCases/chapter15/15.3/15.3.2/15.3.2.1/15.3.2.1-11-6-s.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxNS4zLjIuMS0xMS03LXMiLAoKcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuM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0aW9uKCJiYXoiLCAiYmF6IiwgImJheiIsICJyZXR1cm4gMDsiKTsKICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0sCiAgICBzdHJpY3QgOiAxLAogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IAogICAgICAgICAgICByZXR1cm4gdHJ1ZTsKICAgfQp9KTsK","id":"15.3.2.1-11-9-s","path":"TestCases/chapter15/15.3/15.3.2/15.3.2.1/15.3.2.1-11-9-s.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxNS4zLjMuMi0xIiwKCnBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjMvMTUuMy4zLzE1LjMuMy4yLzE1LjMuMy4yLTEuanMiLAoKZGVzY3JpcHRpb246ICJGdW5jdGlvbi5sZW5ndGggLSBkYXRhIHByb3BlcnR5IHdpdGggdmFsdWUgMSIsCgp0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKCiAgdmFyIGRlc2MgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKEZ1bmN0aW9uLCJsZW5ndGgiKTsKICBpZihkZXNjLnZhbHVlID09PSAxICYmCiAgICAgZGVzYy53cml0YWJsZSA9PT0gZmFsc2UgJiYKICAgICBkZXNjLmVudW1lcmFibGUgPT09IGZhbHNlICYmCiAgICAgZGVzYy5jb25maWd1cmFibGUgPT09IGZhbHNlKQogICAgcmV0dXJuIHRydWU7IAoKIH0sCgpwcmVjb25kaXRpb246IGZ1bmN0aW9uICgpIHsKICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcik7CiB9Cgp9KTsK","id":"15.3.3.2-1","path":"TestCases/chapter15/15.3/15.3.3/15.3.3.2/15.3.3.2-1.js"},{"code":"77u/Ly8vIENvcHlyaWdodCAoYykgMjAwOSBNaWNyb3NvZnQgQ29ycG9yYXRpb24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dGVzdGNhc2UoKSB7CgogICAgICAgIHZhciBmb28gPSBmdW5jdGlvbiAoKSB7IH07CiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgRnVuY3Rpb24ucHJvdG90eXBlLnByb3BlcnR5ID0gMTI7CiAgICAgICAgICAgIHZhciBvYmogPSBmb28uYmluZCh7fSk7CgogICAgICAgICAgICByZXR1cm4gb2JqLnByb3BlcnR5ID09PSAxMjsKICAgICAgICB9IGZpbmFsbHkgewogICAgICAgICAgICBkZWxldGUgRnVuY3Rpb24ucHJvdG90eXBlLnByb3BlcnR5OwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKEZ1bmN0aW9uLnByb3RvdHlwZS5iaW5kKTsKICAgIH0KfSk7Cg==","id":"15.3.4.5-11-1","path":"TestCases/chapter15/15.3/15.3.4/15.3.4.5/15.3.4.5-11-1.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxNS4zLjQuNS0xMy5iLTEiLAoKcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMy8xNS4zLjQvMTUuMy40LjUvMTUuMy40LjUtMTMuYi0xLmpzIiwKCmRlc2NyaXB0aW9uOiAiRnVuY3Rpb24ucHJvdG90eXBlLmJpbmQsIGJvdW5kIGZuIGhhcyBhICdsZW5ndGgnIG93biBwcm9wZXJ0eSIsCgp0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICBmdW5jdGlvbiBmb28oKSB7IH0KICB2YXIgbyA9IHt9OwogIAogIHZhciBiZiA9IGZvby5iaW5kKG8pOwogIGlmIChiZi5oYXNPd25Qcm9wZXJ0eSgnbGVuZ3RoJykpIHsKICAgIHJldHVybiB0cnVlOwogIH0KIH0sCgpwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICByZXR1cm4gZm5FeGlzdHMoRnVuY3Rpb24ucHJvdG90eXBlLmJpbmQpOwogfQp9KTsK","id":"15.3.4.5-13.b-1","path":"TestCases/chapter15/15.3/15.3.4/15.3.4.5/15.3.4.5-13.b-1.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxNS4zLjQuNS0xMy5iLTIiLAoKcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMy8xNS4zLjQvMTUuMy40LjUvMTUuMy40LjUtMTMuYi0yLmpzIiwKCmRlc2NyaXB0aW9uOiAiRnVuY3Rpb24ucHJvdG90eXBlLmJpbmQsICdsZW5ndGgnIHNldCB0byByZW1haW5pbmcgbnVtYmVyIG9mIGV4cGVjdGVkIGFyZ3MiLAoKdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgZnVuY3Rpb24gZm9vKHgsIHkpIHsgfQogIHZhciBvID0ge307CiAgCiAgdmFyIGJmID0gZm9vLmJpbmQobyk7CiAgaWYgKGJmLmxlbmd0aCA9PT0gMikgewogICAgcmV0dXJuIHRydWU7CiAgfQogfSwKCnByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogIHJldHVybiBmbkV4aXN0cyhGdW5jdGlvbi5wcm90b3R5cGUuYmluZCk7CiB9Cn0pOwo=","id":"15.3.4.5-13.b-2","path":"TestCases/chapter15/15.3/15.3.4/15.3.4.5/15.3.4.5-13.b-2.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxNS4zLjQuNS0xMy5iLTMiLAoKcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMy8xNS4zLjQvMTUuMy40LjUvMTUuMy40LjUtMTMuYi0zLmpzIiwKCmRlc2NyaXB0aW9uOiAiRnVuY3Rpb24ucHJvdG90eXBlLmJpbmQsICdsZW5ndGgnIHNldCB0byByZW1haW5pbmcgbnVtYmVyIG9mIGV4cGVjdGVkIGFyZ3MgKGFsbCBhcmdzIHByZWZpbGxlZCkiLAoKdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgZnVuY3Rpb24gZm9vKHgsIHkpIHsgfQogIHZhciBvID0ge307CiAgCiAgdmFyIGJmID0gZm9vLmJpbmQobywgNDIsIDEwMSk7CiAgaWYgKGJmLmxlbmd0aCA9PT0gMCkgewogICAgcmV0dXJuIHRydWU7CiAgfQogfSwKCnByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogIHJldHVybiBmbkV4aXN0cyhGdW5jdGlvbi5wcm90b3R5cGUuYmluZCk7CiB9Cn0pOwo=","id":"15.3.4.5-13.b-3","path":"TestCases/chapter15/15.3/15.3.4/15.3.4.5/15.3.4.5-13.b-3.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxNS4zLjQuNS0xMy5iLTQiLAoKcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMy8xNS4zLjQvMTUuMy40LjUvMTUuMy40LjUtMTMuYi00LmpzIiwKCmRlc2NyaXB0aW9uOiAiRnVuY3Rpb24ucHJvdG90eXBlLmJpbmQsICdsZW5ndGgnIHNldCB0byByZW1haW5pbmcgbnVtYmVyIG9mIGV4cGVjdGVkIGFyZ3MgKHRhcmdldCB0YWtlcyAwIGFyZ3MpIiwKCnRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogIGZ1bmN0aW9uIGZvbygpIHsgfQogIHZhciBvID0ge307CiAgCiAgdmFyIGJmID0gZm9vLmJpbmQobyk7CiAgaWYgKGJmLmxlbmd0aCA9PT0gMCkgewogICAgcmV0dXJuIHRydWU7CiAgfQogfSwKCnByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogIHJldHVybiBmbkV4aXN0cyhGdW5jdGlvbi5wcm90b3R5cGUuYmluZCk7CiB9Cn0pOwo=","id":"15.3.4.5-13.b-4","path":"TestCases/chapter15/15.3/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0eURlc2NyaXB0b3IpOwogfQp9KTsK","id":"15.3.4.5-15-2","path":"TestCases/chapter15/15.3/15.3.4/15.3.4.5/15.3.4.5-15-2.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4zLjQuNS0xNS0zIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4zLzE1LjMuNC8xNS4zLjQuNS8xNS4zLjQuNS0xNS0zLmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIkZ1bmN0aW9uLnByb3RvdHlwZS5iaW5kIC0gVGhlIFtbV3JpdGFibGVdXSBhdHRyaWJ1dGUgb2YgbGVuZ3RoIHByb3BlcnR5IGluIEYgc2V0IGFzIGZhbHNlIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKCiAgICAgICAgdmFyIGNhbldyaXRhYmxlID0gZmFsc2U7CiAgICAgICAgdmFyIGhhc1Byb3BlcnR5ID0gZmFsc2U7CiAgICAgICAgZnVuY3Rpb24gZm9vKCkgeyB9CiAgICAgICAgdmFyIG9iaiA9IGZvby5iaW5kKHt9KTsKICAgICAgICBoYXNQcm9wZXJ0eSA9IG9iai5oYXNPd25Qcm9wZXJ0eSgibGVuZ3RoIik7CiAgICAgICAgb2JqLmxlbmd0aCA9IDEwMDsKICAgICAgICBjYW5Xcml0YWJsZSA9IChvYmoubGVuZ3RoID09PSAxMDApOwogICAgICAgIHJldHVybiBoYXNQcm9wZXJ0eSAmJiAhY2FuV3JpdGFibGU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhGdW5jdGlvbi5wcm90b3R5cGUuYmluZCk7CiAgICB9Cn0pOwo=","id":"15.3.4.5-15-3","path":"TestCases/chapter15/15.3/15.3.4/15.3.4.5/15.3.4.5-15-3.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4zLjQuNS0xNS00IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4zLzE1LjMuNC8xNS4zLjQuNS8xNS4zLjQuNS0xNS00LmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIkZ1bmN0aW9uLnByb3RvdHlwZS5iaW5kIC0gVGhlIFtbRW51bWVyYWJsZV1dIGF0dHJpYnV0ZSBvZiBsZW5ndGggcHJvcGVydHkgaW4gRiBzZXQgYXMgZmFsc2UiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICAgICAgICB2YXIgY2FuRW51bWVyYWJsZSA9IGZhbHNlOwogICAgICAgIHZhciBoYXNQcm9wZXJ0eSA9IGZhbHNlOwogICAgICAgIGZ1bmN0aW9uIGZvbygpIHsgfQogICAgICAgIHZhciBvYmogPSBmb28uYmluZCh7fSk7CiAgICAgICAgaGFzUHJvcGVydHkgPSBvYmouaGFzT3duUHJvcGVydHkoImxlbmd0aCIpOwogICAgICAgIGZvciAodmFyIHByb3AgaW4gb2JqKSB7CiAgICAgICAgICAgIGlmIChwcm9wID09PSAibGVuZ3RoIikgewogICAgICAgICAgICAgICAgY2FuRW51bWVyYWJsZSA9IHRydWU7CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICAgICAgcmV0dXJuIGhhc1Byb3BlcnR5ICYmICFjYW5FbnVtZXJhYmxlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoRnVuY3Rpb24ucHJvdG90eXBlLmJpbmQpOwogICAgfQp9KTsK","id":"15.3.4.5-15-4","path":"TestCases/chapter15/15.3/15.3.4/15.3.4.5/15.3.4.5-15-4.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4zLjQuNS0xNS01IiwKCiAgICBwYXRoOiAiVGV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lcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoRnVuY3Rpb24ucHJvdG90eXBlLmJpbmQpOwogICAgfQp9KTsK","id":"15.3.4.5-16-2","path":"TestCases/chapter15/15.3/15.3.4/15.3.4.5/15.3.4.5-16-2.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxNS4zLjQuNS0yLTEiLAoKcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMy8xNS4zLjQvMTUuMy40LjUvMTUuMy40LjUtMi0xLmpzIiwKCmRlc2NyaXB0aW9uOiAiRnVuY3Rpb24ucHJvdG90eXBlLmJpbmQgdGhyb3dzIFR5cGVFcnJvciBpZiB0aGUgVGFyZ2V0IGlzIG5vdCBjYWxsYWJsZSAoYnV0IGFuIGluc3RhbmNlIG9mIEZ1bmN0aW9uKSIsCgp0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICBmb28ucHJvdG90eXBlID0gRnVuY3Rpb24ucHJvdG90eXBlOwogIC8vIGR1bW15IGZ1bmN0aW9uCiAgZnVuY3Rpb24gZm9vKCkge30KICB2YXIgZiA9IG5ldyBmb28oKTsKCiAgdHJ5IHsKICAgIGYuYmluZCgpOwogIH0KICBjYXRjaCAoZSkgewogICAgaWYgKGUgaW5zdGFuY2VvZiBUeXBlRXJyb3IpIHsKICAgICAgcmV0dXJuIHRydWU7CiAgICB9CiAgfQogfSwKCnByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogIHJldHVybiBmbkV4aXN0cyhGdW5jdGlvbi5wcm90b3R5cGUuYmluZCk7CiB9Cn0pOwo=","id":"15.3.4.5-2-1","path":"TestCases/chapter15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-1.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4zLjQuNS0yLTEwIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0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lOwogICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgcmV0dXJuIChlIGluc3RhbmNlb2YgVHlwZUVycm9yKTsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhGdW5jdGlvbi5wcm90b3R5cGUuYmluZCk7CiAgICB9Cn0pOw==","id":"15.3.4.5-2-11","path":"TestCases/chapter15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-11.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4zLjQuNS0yLTEyIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4zLzE1LjMuNC8xNS4zLjQuNS8xNS4zLjQuNS0yLTEyLmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIkZ1bmN0aW9uLnByb3RvdHlwZS5iaW5kIHRocm93cyBUeXBlRXJyb3IgaWYgJ1RhcmdldCcgaXMgYSBib29sZWFuIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB0cnkgewogICAgICAgICAgICBGdW5jdGlvbi5wcm90b3R5cGUuYmluZC5jYWxsKHRydWUpOwogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICByZXR1cm4gKGUgaW5zdGFuY2VvZiBUeXBlRXJyb3IpOwogICAgICAgIH0gCiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhGdW5jdGlvbi5wcm90b3R5cGUuYmluZCk7CiAgICB9Cn0pOw==","id":"15.3.4.5-2-12","path":"TestCases/chapter15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-12.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3Qo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H0KfSk7","id":"15.3.4.5-2-15","path":"TestCases/chapter15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-15.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4zLjQuNS0yLTE2IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4zLzE1LjMuNC8xNS4zLjQuNS8xNS4zLjQuNS0yLTE2LmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIkZ1bmN0aW9uLnByb3RvdHlwZS5iaW5kIC0gJ1RhcmdldCcgaXMgYSBmdW5jdGlvbiIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgZnVuY3Rpb24gdGVzdEZ1bmMoKSB7fQogICAgICAgIHRyeSB7CiAgICAgICAgICAgIHRlc3RGdW5jLmJpbmQoKTsKICAgICAgICAgICAgcmV0dXJuIHRydWU7CiAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoRnVuY3Rpb24ucHJvdG90eXBlLmJpbmQpOwogICAgfQp9KTs=","id":"15.3.4.5-2-16","path":"TestCases/chapter15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-16.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxNS4zLjQuNS0yLTIiLAoKcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMy8xNS4zLjQvMTUuMy40LjUvMTUuMy40LjUtMi0yLmpzIiwKCmRlc2NyaXB0aW9uOiAiRnVuY3Rpb24ucHJvdG90eXBlLmJpbmQgdGhyb3dzIFR5cGVFcnJvciBpZiB0aGUgVGFyZ2V0IGlzIG5vdCBjYWxsYWJsZSAoYmluZCBhdHRhY2h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15.3.4.5-2-3","path":"TestCases/chapter15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-3.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxNS4zLjQuNS0yLTQiLAoKcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMy8xNS4zLjQvMTUuMy40LjUvMTUuMy40LjUtMi00LmpzIiwKCmRlc2NyaXB0aW9uOiAiRnVuY3Rpb24ucHJvdG90eXBlLmJpbmQgYWxsb3dzIFRhcmdldCB0byBiZSBhIGNvbnN0cnVjdG9yIChTdHJpbmcpIiwKCnRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogIHZhciBic2MgPSBTdHJpbmcuYmluZChudWxsKTsKICB2YXIgcyA9IGJzYygiaGVsbG8gd29ybGQiKTsKICBpZiAocyA9PT0gImhlbGxvIHdvcmxkIikgewogICAgcmV0dXJuIHRydWU7CiAgfQogfSwKCnByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogIHJldHVybiBmbkV4aXN0cyhGdW5jdGlvbi5wcm90b3R5cGUuYmluZCk7CiB9Cn0pOwo=","id":"15.3.4.5-2-4","path":"TestCases/chapter15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-4.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxNS4zLjQuNS0yLTUiLAoKcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMy8xNS4zLjQvMTUuMy40LjUvMTUuMy40LjUtMi01LmpzIiwKCmRlc2NyaXB0aW9uOiAiRnVuY3Rpb24ucHJvdG90eXBlLmJpbmQgYWxsb3dzIFRhcmdldCB0byBiZSBhIGNvbnN0cnVjdG9yIChCb29sZWFuKSIsCgp0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICB2YXIgYmJjID0gQm9vbGVhbi5iaW5kKG51bGwpOwogIHZhciBiID0gYmJjKHRydWUpOwogIGlmIChiID09PSB0cnVlKSB7CiAgICByZXR1cm4gdHJ1ZTsKICB9CiB9LAoKcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgcmV0dXJuIGZuRXhpc3RzKEZ1bmN0aW9uLnByb3RvdHlwZS5iaW5kKTsKIH0KfSk7Cg==","id":"15.3.4.5-2-5","path":"TestCases/chapter15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-5.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxNS4zLjQuNS0yLTYiLAoKcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMy8xNS4zLjQvMTUuMy40LjUvMTUuMy40LjUtMi02LmpzIiwKCmRlc2NyaXB0aW9uOiAiRnVuY3Rpb24ucHJvdG90eXBlLmJpbmQgYWxsb3dzIFRhcmdldCB0byBiZSBhIGNvbnN0cnVjdG9yIChPYmplY3QpIiwKCnRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogIHZhciBib2MgPSBPYmplY3QuYmluZChudWxsKTsKICB2YXIgbyA9IGJvYyg0Mik7CiAgaWYgKG8gPT0gNDIpIHsKICAgIHJldHVybiB0cnVlOwogIH0KIH0sCgpwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICByZXR1cm4gZm5FeGlzdHMoRnVuY3Rpb24ucHJvdG90eXBlLmJpbmQpOwogfQp9KTsK","id":"15.3.4.5-2-6","path":"TestCases/chapter15/15.3/15.3.4/15.3.4.5/15.3.4.5-2-6.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxNS4zLjQuNS0yLTciLAoKcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMy8xNS4zLjQvMTUuMy40LjUvMTUuMy40LjUtMi03LmpzIiwKCmRlc2NyaXB0aW9uOiAiRnVuY3Rpb24ucHJvdG90eXBlLmJpbmQgdGhy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zZSgpIHsKCiAgICAgICAgdmFyIGNhbkVudW1lcmFibGUgPSBmYWxzZTsKICAgICAgICB2YXIgaGFzUHJvcGVydHkgPSBmYWxzZTsKICAgICAgICBmdW5jdGlvbiBmb28oKSB7IH0KICAgICAgICB2YXIgb2JqID0gZm9vLmJpbmQoe30pOwogICAgICAgIGhhc1Byb3BlcnR5ID0gb2JqLmhhc093blByb3BlcnR5KCJjYWxsZXIiKTsKICAgICAgICBmb3IgKHZhciBwcm9wIGluIG9iaikgewogICAgICAgICAgICBpZiAocHJvcCA9PT0gImNhbGxlciIpIHsKICAgICAgICAgICAgICAgIGNhbkVudW1lcmFibGUgPSB0cnVlOwogICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIHJldHVybiBoYXNQcm9wZXJ0eSAmJiAhY2FuRW51bWVyYWJsZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKEZ1bmN0aW9uLnByb3RvdHlwZS5iaW5kKTsKICAgIH0KfSk7Cg==","id":"15.3.4.5-20-4","path":"TestCases/chapter15/15.3/15.3.4/15.3.4.5/15.3.4.5-20-4.js"},{"code":"77u/Ly8vIENvcHlyaWdodCAoYykgMjAwOSBNaWNyb3NvZnQgQ29ycG9yYXRpb24gCi8vLyAKLy8vIFJlZGlzdHJpYnV0aW9uIGFuZCB1c2UgaW4gc291cmNlIGFuZCBiaW5hcnkgZm9ybXMsIHdpdGggb3Igd2l0aG91dCBtb2RpZmljYXRpb24sIGFyZSBwZXJtaXR0ZWQgcHJvdmlkZWQKLy8vIHRoYXQgdGhlIGZvbGxvd2luZyBjb25kaXRpb25zIGFyZSBtZXQ6IAovLy8gICAgKiBSZWRpc3RyaWJ1dGlvbnMgb2Ygc291cmNlIGNvZGUgbXVzdCByZXRhaW4gdGhlIGFib3ZlIGNvcHlyaWdodCBub3RpY2UsIHRoaXMgbGlzdCBvZiBjb25kaXRpb25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B0ZXN0Y2FzZSgpIHsKCiAgICAgICAgZnVuY3Rpb24gZm9vKCkgeyB9CiAgICAgICAgdmFyIG9iaiA9IGZvby5iaW5kKHt9KTsKICAgICAgICB0cnkgewogICAgICAgICAgICBvYmouYXJndW1lbnRzID0gMTI7CiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9IGNhdGNoIChleCkgewogICAgICAgICAgICByZXR1cm4gKGV4IGluc3RhbmNlb2YgVHlwZUVycm9yKTsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhGdW5jdGlvbi5wcm90b3R5cGUuYmluZCk7CiAgICB9Cn0pOwo=","id":"15.3.4.5-21-3","path":"TestCases/chapter15/15.3/15.3.4/15.3.4.5/15.3.4.5-21-3.js"},{"code":"77u/Ly8vIENvcHlyaWdodCAoYykgMjAwOSBNaWNyb3NvZnQgQ29ycG9yYXRpb24gCi8vLyAKLy8vIFJlZGlzdHJpYnV0aW9uIGFuZCB1c2UgaW4gc291cmNlIGFuZCBiaW5hcnkgZm9ybXMsIHdpdGggb3Igd2l0aG91dCBtb2RpZmljYXRpb24sIGFyZSBwZXJtaXR0ZWQgcHJvdmlkZWQKLy8vIHRoYXQgdGhlIGZvbGxvd2luZyBjb25kaXRpb25zIGFyZSBtZXQ6IAovLy8gICAgKiBSZWRpc3RyaWJ1dGlvbnMgb2Ygc291cmNlIGNvZGUgbXVzdCByZXRhaW4gdGhlIGFib3ZlIGNvcHlyaWdodCBub3RpY2UsIHRoaXMgbGlzdCBvZiBjb25kaXRpb25zIGFuZAovLy8gICAgICB0aGUgZm9sbG93aW5nIGRpc2NsYWltZXIuIAovLy8gICAgKiBSZWRpc3RyaWJ1dGlvbnMgaW4gYmluYXJ5IGZvcm0gbXVzdCByZXByb2R1Y2UgdGhlIGFib3ZlIGNvcHlyaWdodCBub3RpY2UsIHRoaXMgbGlzdCB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wgInByb3BlcnR5IiwgewogICAgICAgICAgICAgICAgZ2V0OiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIDM7CiAgICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwoKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3BlcnR5IiwgewogICAgICAgICAgICAgICAgc2V0OiBmdW5jdGlvbiAoKSB7IH0KICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIHJldHVybiB0eXBlb2YgKG9iai5wcm9wZXJ0eSkgPT09ICJ1bmRlZmluZWQiOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIGRlbGV0ZSBGdW5jdGlvbi5wcm90b3R5cGUucHJvcGVydHk7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoRnVuY3Rpb24ucHJvdG90eXBlLmJpbmQpICYmIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSk7CiAgICB9Cn0pOwo=","id":"15.3.4.5-6-10","path":"TestCases/chapter15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-10.js"},{"code":"77u/Ly8vIENvcHlyaWdodCAoYykgMjAwOSBNaWNyb3NvZnQgQ29ycG9yYXRpb24gCi8vLyAKLy8vIFJlZGlzdHJpYnV0aW9uIGFuZCB1c2UgaW4gc291cmNlIGFuZCBiaW5hcnkgZm9ybXMsIHdpdGggb3Igd2l0aG91dCBtb2RpZmljYXRpb24sIGFyZSBwZXJtaXR0ZWQgcHJvdmlkZWQKLy8vIHRoYXQgdGhlIGZvbGxvd2luZyBjb25kaXRpb25zIGFyZSBtZXQ6IAovLy8gICAgKiBSZWRpc3RyaWJ1dGlvbnMgb2Ygc291cmNlIGNvZGUgbXVzdCBy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IHsgfTsKCiAgICAgICAgdmFyIG9iaiA9IGZvby5iaW5kKHt9KTsKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoRnVuY3Rpb24ucHJvdG90eXBlLCAicHJvcGVydHkiLCB7CiAgICAgICAgICAgICAgICBzZXQ6IGZ1bmN0aW9uICgpIHsgfSwKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICB9KTsKICAgICAgICAgICAgcmV0dXJuIHR5cGVvZiAob2JqLnByb3BlcnR5KSA9PT0gInVuZGVmaW5lZCI7CiAgICAgICAgfSBmaW5hbGx5IHsKICAgICAgICAgICAgZGVsZXRlIEZ1bmN0aW9uLnByb3RvdHlwZS5wcm9wZXJ0eTsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhGdW5jdGlvbi5wcm90b3R5cGUuYmluZCkgJiYgZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cg==","id":"15.3.4.5-6-11","path":"TestCases/chapter15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-11.js"},{"code":"77u/Ly8vIENvcHlyaWdodCAoYykgMjAwOSBNaWNyb3NvZnQgQ29ycG9yYXRpb24gCi8vLyAKLy8vIFJlZGlzdHJpYnV0aW9uIGFuZCB1c2UgaW4gc291cmNlIGFuZCBiaW5hcnkgZm9ybXMsIHdpdGggb3Igd2l0aG91dCBtb2RpZmljYXRpb24sIGFyZSBwZXJtaXR0ZWQgcHJvdmlkZWQKLy8vIHRoYXQgdGhlIGZvbGxvd2luZyBjb25kaXRpb25zIGFyZSBtZXQ6IAovLy8gICAgKiBSZWRpc3RyaWJ1dGlvbnMgb2Ygc291cmNlIGNvZGUgbXVzdCByZXRhaW4gdGhlIGFib3ZlIGNvcHlyaWdodCBub3RpY2Us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E5FR0xJR0VOQ0UgT1IgT1RIRVJXSVNFKSBBUklTSU5HIElOIEFOWSBXQVkgT1VUIE9GIFRIRSBVU0UgT0YgVEhJUyBTT0ZUV0FSRSwgRVZFTiBJRgovLy8gQURWSVNFRCBPRiBUSEUgUE9TU0lCSUxJVFkgT0YgU1VDSCBEQU1BR0UuCgoKRVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4zLjQuNS02LTIiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjMvMTUuMy40LzE1LjMuNC41LzE1LjMuNC41LTYtMi5qcyIsCgogICAgZGVzY3JpcHRpb246ICJGdW5jdGlvbi5wcm90b3R5cGUuYmluZCAtIEYgY2FuIGdldCBpbmhlcml0ZWQgZGF0YSBwcm9wZXJ0eSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIHZhciBmb28gPSBmdW5jdGlvbiAoKSB7IH07CgogICAgICAgIHZhciBvYmogPSBmb28uYmluZCh7fSk7CiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgRnVuY3Rpb24ucHJvdG90eXBlLnByb3BlcnR5ID0gMTI7CiAgICAgICAgICAgIHJldHVybiBvYmoucHJvcGVydHkgPT09IDEyOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIGRlbGV0ZSBGdW5jdGlvbi5wcm90b3R5cGUucHJvcGVydHk7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoRnVuY3Rpb24ucHJvdG90eXBlLmJpbmQpOwogICAgfQp9KTsK","id":"15.3.4.5-6-2","path":"TestCases/chapter15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-2.js"},{"code":"77u/Ly8vIENvcHlyaWdodCAoYykgMjAwOSBNaWNyb3NvZnQgQ29ycG9yYXRpb24gCi8vLy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C41LzE1LjMuNC41LTYtMy5qcyIsCgogICAgZGVzY3JpcHRpb246ICJGdW5jdGlvbi5wcm90b3R5cGUuYmluZCAtIEYgY2FuIGdldCBvd24gZGF0YSBwcm9wZXJ0eSB0aGF0IG92ZXJyaWRlcyBhbiBpbmhlcml0ZWQgZGF0YSBwcm9wZXJ0eSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIHZhciBmb28gPSBmdW5jdGlvbiAoKSB7IH07CgogICAgICAgIHZhciBvYmogPSBmb28uYmluZCh7fSk7CgogICAgICAgIHRyeSB7CiAgICAgICAgICAgIEZ1bmN0aW9uLnByb3RvdHlwZS5wcm9wZXJ0eSA9IDM7CiAgICAgICAgICAgIG9iai5wcm9wZXJ0eSA9IDEyOwogICAgICAgICAgICByZXR1cm4gb2JqLnByb3BlcnR5ID09PSAxMjsKICAgICAgICB9IGZpbmFsbHkgewogICAgICAgICAgICBkZWxldGUgRnVuY3Rpb24ucHJvdG90eXBlLnByb3BlcnR5OwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKEZ1bmN0aW9uLnByb3RvdHlwZS5iaW5kKTsKICAgIH0KfSk7Cg==","id":"15.3.4.5-6-3","path":"TestCases/chapter15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-3.js"},{"code":"77u/Ly8vIENvcHlyaWdodCAoYykgMjAwOSBNaWNyb3NvZnQgQ29ycG9yYXRpb24gCi8vLyAKLy8vIFJlZGlzdHJpYnV0aW9uIGFuZCB1c2UgaW4gc291cmNlIGFuZCBiaW5hcnkgZm9ybXMsIHdpdGggb3Igd2l0aG91dCBtb2RpZmljYXRpb24sIGFyZSBwZXJtaXR0ZWQgcHJvdmlkZWQKLy8vIHRoYXQgdGhlIGZvbGxvd2luZyBjb25kaXRpb25zIGFyZSBtZXQ6IAovLy8gICAgKiBSZ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c3RjYXNlKCkgewoKICAgICAgICB2YXIgZm9vID0gZnVuY3Rpb24gKCkgeyB9OwoKICAgICAgICB2YXIgb2JqID0gZm9vLmJpbmQoe30pOwogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShGdW5jdGlvbi5wcm90b3R5cGUsICJwcm9wZXJ0eSIsIHsKICAgICAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgICAgIHJldHVybiAzOwogICAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICB9KTsKICAgICAgICAgICAKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3BlcnR5IiwgewogICAgICAgICAgICAgICAgdmFsdWU6IDEyCiAgICAgICAgICAgIH0pOwoKICAgICAgICAgICAgcmV0dXJuIG9iai5wcm9wZXJ0eSA9PT0gMTI7CiAgICAgICAgfSBmaW5hbGx5IHsKICAgICAgICAgICAgZGVsZXRlIEZ1bmN0aW9uLnByb3RvdHlwZS5wcm9wZXJ0eTsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhGdW5jdGlvbi5wcm90b3R5cGUuYmluZCkgJiYgZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cg==","id":"15.3.4.5-6-4","path":"TestCases/chapter15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-4.js"},{"code":"77u/Ly8vIENvcHlyaWdodCAoYykgMjAwOSBNaWNyb3NvZnQgQ29ycG9yYXRpb24gCi8vLyAKLy8vIFJlZGlzdHJpYnV0aW9uIGFuZCB1c2UgaW4gc291cmNlIGFuZCBiaW5hcnkgZm9ybXMsIHdpdGggb3Igd2l0aG91dCBtb2RpZmlj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gICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgICAgIHJldHVybiAxMjsKICAgICAgICAgICAgICAgIH0sCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIHJldHVybiBvYmoucHJvcGVydHkgPT09IDEyOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIGRlbGV0ZSBGdW5jdGlvbi5wcm90b3R5cGUucHJvcGVydHk7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoRnVuY3Rpb24ucHJvdG90eXBlLmJpbmQpICYmIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSk7CiAgICB9Cn0pOwo=","id":"15.3.4.5-6-6","path":"TestCases/chapter15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-6.js"},{"code":"77u/Ly8vIENvcHlyaWdodCAoYykgMjAwOSBNaWNyb3NvZnQgQ29ycG9yYXRpb24gCi8vLyAKLy8vIFJlZGlzdHJpYnV0aW9uIGFuZCB1c2UgaW4gc291cmNlIGFuZCBiaW5hcnkgZm9ybXMsIHdpdGggb3Igd2l0aG91dCBtb2RpZmljYXRpb24sIGFyZSBwZXJtaXR0ZWQgcHJvdmlkZWQKLy8vIHRoYXQgdGhlIGZvbGxvd2luZyBjb25kaXRpb25zIGFyZSBtZXQ6IAovLy8gICAgKiBSZWRpc3RyaWJ1dGlvbnMgb2Ygc291cmNlIGNvZGUgbXVzdCByZXRhaW4gdGhlIGFib3ZlIGNvcHlyaWdodCBub3RpY2UsIHRoaXMgbGlzdCBvZiBjb25kaXRpb25zIGFuZAovLy8gICAgICB0aGUgZm9sbG93aW5nIGRpc2NsYWltZXIuIAovLy8gICAgKiBSZWRpc3RyaWJ1dGlvbnMgaW4gYmluYXJ5IGZvcm0gbXVzd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SIsIHsKICAgICAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgICAgIHJldHVybiAxMjsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIHJldHVybiBvYmoucHJvcGVydHkgPT09IDEyOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIGRlbGV0ZSBGdW5jdGlvbi5wcm90b3R5cGUucHJvcGVydHk7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoRnVuY3Rpb24ucHJvdG90eXBlLmJpbmQpICYmIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSk7CiAgICB9Cn0pOwo=","id":"15.3.4.5-6-7","path":"TestCases/chapter15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-7.js"},{"code":"77u/Ly8vIENvcHlyaWdodCAoYykgMjAwOSBNaWNyb3NvZnQgQ29ycG9yYXRpb24gCi8vLyAKLy8vIFJlZGlzdHJpYnV0aW9uIGFuZCB1c2UgaW4gc291cmNlIGFuZCBiaW5hcnkgZm9ybXMsIHdpdGggb3Igd2l0aG91dCBtb2RpZmljYXRpb24sIGFyZSBwZXJtaXR0ZWQgcHJvdmlkZWQKLy8vIHRoYXQgdGhlIGZvbGxvd2luZyBjb25kaXRpb25zIGFyZSBtZXQ6IAovLy8gICAgKiBSZWRpc3RyaWJ1dGlvbnMgb2Ygc291cmNlIGNvZGUgbXVzdCByZXRhaW4gdGhlIGFib3ZlIGNvcHlyaWdodCBub3RpY2UsIHRoaXMgbGlzdCBvZiBjb25kaXRpb25zIGFuZAovLy8gICAgICB0aGUgZm9sbG93aW5nIGRpc2NsYWltZXIuIAovLy8gICAgKiBSZWRpc3RyaWJ1dGlvbnMgaW4gYmluYXJ5IGZvcm0gbXVzdCByZXByb2R1Y2UgdGhlIGFib3ZlI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ICAgICAgICAgICByZXR1cm4gMzsKICAgICAgICAgICAgICAgIH0sCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICAgICAgfSk7CgogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcGVydHkiLCB7CiAgICAgICAgICAgICAgICBnZXQ6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgICAgICByZXR1cm4gMTI7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0pOwogICAgICAgICAgICByZXR1cm4gb2JqLnByb3BlcnR5ID09PSAxMjsKICAgICAgICB9IGZpbmFsbHkgewogICAgICAgICAgICBkZWxldGUgRnVuY3Rpb24ucHJvdG90eXBlLnByb3BlcnR5OwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKEZ1bmN0aW9uLnByb3RvdHlwZS5iaW5kKSAmJiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.3.4.5-6-8","path":"TestCases/chapter15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-8.js"},{"code":"77u/Ly8vIENvcHlyaWdodCAoYykgMjAwOSBNaWNyb3NvZnQgQ29ycG9yYXRpb24gCi8vLyAKLy8vIFJlZGlzdHJpYnV0aW9uIGFuZCB1c2UgaW4gc291cmNlIGFuZCBiaW5hcnkgZm9ybXMsIHdpdGggb3Igd2l0aG91dCBtb2RpZmljYXRpb24sIGFyZSBwZXJtaXR0ZWQgcHJvdmlkZWQKLy8vIHRoYXQgdGhlIGZvbGxvd2luZyBjb25kaXRpb25zIGFyZSBtZXQ6IAovLy8gICAgKiBSZWRpc3RyaWJ1dGlvbnMgb2Ygc291cmNlIGNvZGUgbXVzdCByZXRhaW4gdGhlIGFib3ZlIGNvcHlyaWdodCBub3RpY2UsIHRoaXM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ICAgdmFyIG9iaiA9IHsgcHJvcDogImFiYyIgfTsKCiAgICAgICAgdmFyIGZ1bmMgPSBmdW5jdGlvbiAoeCkgewogICAgICAgICAgICByZXR1cm4gdGhpcyA9PT0gb2JqICYmIHggPT09IDEgJiYgYXJndW1lbnRzWzFdID09PSAyICYmCiAgICAgICAgICAgICAgICBhcmd1bWVudHNbMF0gPT09IDEgJiYgYXJndW1lbnRzLmxlbmd0aCA9PT0gMiAmJiB0aGlzLnByb3AgPT09ICJhYmMiOwogICAgICAgIH07CgogICAgICAgIHZhciBuZXdGdW5jID0gRnVuY3Rpb24ucHJvdG90eXBlLmJpbmQuY2FsbChmdW5jLCBvYmosIDEsIDIpOwoKICAgICAgICByZXR1cm4gbmV3RnVuYygpOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoRnVuY3Rpb24ucHJvdG90eXBlLmJpbmQpOwogICAgfQp9KTsK","id":"15.3.4.5.1-4-15","path":"TestCases/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-15.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4zLjQuNS4xLTQtMiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMy8xNS4zLjQvMTUuMy40LjUuMS8xNS4zLjQuNS4xLTQtMi5qcyIsCgogICAgZGVzY3JpcHRpb246ICJbW0NhbGxdXSAtICdGJydzIFtbQm91bmRUaGlzXV0gaXMgdXNlZCBhcyB0aGUgJ3RoaXMnIHZhbHVlIG9mIGNhbGxpbmcgdGhlIFtbQ2FsbF1dIGludGVybmFsIG1ldGhvZCBvZiAnRicncyBbW1RhcmdldEZ1bmN0aW9uXV0gd2hlbiAnRicgaXMgY2FsbGVkIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgb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2FsbChmdW5jLCB7fSwgImEiLCAiYiIpOwoKICAgICAgICByZXR1cm4gbmV3RnVuYygiYyIpID09PSAiYyI7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhGdW5jdGlvbi5wcm90b3R5cGUuYmluZCk7CiAgICB9Cn0pOwo=","id":"15.3.4.5.1-4-3","path":"TestCases/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-3.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4zLjQuNS4xLTQtNCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMy8xNS4zLjQvMTUuMy40LjUuMS8xNS4zLjQuNS4xLTQtNC5qcyIsCgogICAgZGVzY3JpcHRpb246ICJbW0NhbGxdXSAtIGxlbmd0aCBvZiBwYXJhbWV0ZXJzIG9mICd0YXJnZXQnIGlzIDAsIGxlbmd0aCBvZiAnYm91bmRBcmdzJyBpcyAwLCBsZW5ndGggb2YgJ0V4dHJhQXJncycgaXMgMCwgYW5kIHdpdGhvdXQgJ2JvdW5kVGhpcyciLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBmdW5jID0gZnVuY3Rpb24gKCkgewogICAgICAgICAgICByZXR1cm4gYXJndW1lbnRzLmxlbmd0aCA9PT0gMDsKICAgICAgICB9OwoKICAgICAgICB2YXIgbmV3RnVuYyA9IEZ1bmN0aW9uLnByb3RvdHlwZS5iaW5kLmNhbGwoZnVuYyk7CgogICAgICAgIHJldHVybiBuZXdGdW5jKCk7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhGdW5jdGlvbi5wcm90b3R5cGUuYmluZCk7CiAgICB9Cn0pOwo=","id":"15.3.4.5.1-4-4","path":"TestCases/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-4.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4zLjQuNS4xLTQtNSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMy8xNS4zLjQvMTUuMy40LjUuMS8xNS4zLjQuNS4xLTQtNS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJbW0NhbGxdXSAtIGxlbmd0aCBvZiBwYXJhbWV0ZXJzIG9mICd0YXJnZXQnIGlzIDAsIGxlbmd0aCBvZiAnYm91bmRBcmdzJyBpcyAwLCBsZW5ndGggb2YgJ0V4dHJhQXJncycgaXMgMSwgYW5kIHdpdGhvdXQgJ2JvdW5kVGhpcyciLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBmdW5jID0gZnVuY3Rpb24gKCkgewogICAgICAgICAgICByZXR1cm4gYXJndW1lbnRzWzBdID09PSAxOwogICAgICAgIH07CgogICAgICAgIHZhciBuZXdGdW5jID0gRnVuY3Rpb24ucHJvdG90eXBlLmJpbmQuY2FsbChmdW5jKTsKCiAgICAgICAgcmV0dXJuIG5ld0Z1bmMoMSk7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhGdW5jdGlvbi5wcm90b3R5cGUuYmluZCk7CiAgICB9Cn0pOwo=","id":"15.3.4.5.1-4-5","path":"TestCases/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-5.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4zLjQuNS4xLTQtNiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMy8xNS4zLjQvMTUuMy40LjUuMS8xNS4zLjQuNS4xLTQtNi5q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W5jID0gZnVuY3Rpb24gKCkgewogICAgICAgICAgICByZXR1cm4gdGhpcyA9PT0gb2JqICYmIGFyZ3VtZW50c1swXSA9PT0gMTsKICAgICAgICB9OwoKICAgICAgICB2YXIgbmV3RnVuYyA9IEZ1bmN0aW9uLnByb3RvdHlwZS5iaW5kLmNhbGwoZnVuYywgb2JqKTsKCiAgICAgICAgcmV0dXJuIG5ld0Z1bmMoMSk7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhGdW5jdGlvbi5wcm90b3R5cGUuYmluZCk7CiAgICB9Cn0pOwo=","id":"15.3.4.5.1-4-8","path":"TestCases/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-8.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4zLjQuNS4xLTQtOSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMy8xNS4zLjQvMTUuMy40LjUuMS8xNS4zLjQuNS4xLTQtOS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJbW0NhbGxdXSAtIGxlbmd0aCBvZiBwYXJhbWV0ZXJzIG9mICd0YXJnZXQnIGlzIDAsIGxlbmd0aCBvZiAnYm91bmRBcmdzJyBpcyAxLCBsZW5ndGggb2YgJ0V4dHJhQXJncycgaXMgMSwgYW5kIHdpdGggJ2JvdW5kVGhpcyciLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBvYmogPSB7IHByb3A6ICJhYmMiIH07CgogICAgICAgIHZhciBmdW5jID0gZnVuY3Rpb24gKCkgewogICAgICAgICAgICByZXR1cm4gdGhpcyA9PT0gb2JqICYmIGFyZ3VtZW50c1swXSA9PT0gMSAmJiBhcmd1bWVudHNbMV0gPT09IDI7CiAgICAgICAgfTsKCiAgICAgICAgdmFyIG5ld0Z1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YXNlKCkgewogICAgICAgIHZhciBmdW5jID0gZnVuY3Rpb24gKHgpIHsKICAgICAgICAgICAgcmV0dXJuIG5ldyBCb29sZWFuKGFyZ3VtZW50cy5sZW5ndGggPT09IDEgJiYgeCA9PT0gMSAmJiBhcmd1bWVudHNbMF0gPT09IDEpOwogICAgICAgIH07CgogICAgICAgIHZhciBOZXdGdW5jID0gRnVuY3Rpb24ucHJvdG90eXBlLmJpbmQuY2FsbChmdW5jLCB7fSk7CgogICAgICAgIHZhciBuZXdJbnN0YW5jZSA9IG5ldyBOZXdGdW5jKDEpOwoKICAgICAgICByZXR1cm4gbmV3SW5zdGFuY2UudmFsdWVPZigpID09PSB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoRnVuY3Rpb24ucHJvdG90eXBlLmJpbmQpOwogICAgfQp9KTsK","id":"15.3.4.5.2-4-10","path":"TestCases/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-10.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4zLjQuNS4yLTQtMTEiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjMvMTUuMy40LzE1LjMuNC41LjIvMTUuMy40LjUuMi00LTExLmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIltbQ29uc3RydWN0XV0gLSBsZW5ndGggb2YgcGFyYW1ldGVycyBvZiAndGFyZ2V0JyBpcyAxLCBsZW5ndGggb2YgJ2JvdW5kQXJncycgaXMgMCwgbGVuZ3RoIG9mICdFeHRyYUFyZ3MnIGlzIDIiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBmdW5jID0gZnVuY3Rpb24gKHgpIHsKICAgICAgICAgICAgcmV0dXJuIG5ldyBCb29sZWFuKGFyZ3VtZW50cy5s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IDEpOwogICAgICAgIH07CgogICAgICAgIHZhciBOZXdGdW5jID0gRnVuY3Rpb24ucHJvdG90eXBlLmJpbmQuY2FsbChmdW5jLCB7fSwgMSk7CgogICAgICAgIHZhciBuZXdJbnN0YW5jZSA9IG5ldyBOZXdGdW5jKCk7CgogICAgICAgIHJldHVybiBuZXdJbnN0YW5jZS52YWx1ZU9mKCkgPT09IHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhGdW5jdGlvbi5wcm90b3R5cGUuYmluZCk7CiAgICB9Cn0pOwo=","id":"15.3.4.5.2-4-12","path":"TestCases/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-12.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4zLjQuNS4yLTQtMTMiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjMvMTUuMy40LzE1LjMuNC41LjIvMTUuMy40LjUuMi00LTEzLmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIltbQ29uc3RydWN0XV0gLSBsZW5ndGggb2YgcGFyYW1ldGVycyBvZiAndGFyZ2V0JyBpcyAxLCBsZW5ndGggb2YgJ2JvdW5kQXJncycgaXMgMSwgbGVuZ3RoIG9mICdFeHRyYUFyZ3MnIGlzIDEiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBmdW5jID0gZnVuY3Rpb24gKHgpIHsKICAgICAgICAgICAgcmV0dXJuIG5ldyBCb29sZWFuKGFyZ3VtZW50cy5sZW5ndGggPT09IDIgJiYgeCA9PT0gMSAmJiBhcmd1bWVudHNbMV0gPT09IDIgJiYgYXJndW1lbnRzWzBdID09PSAxKTsKICAgICAgICB9OwoKICAgICAgICB2YXIgTmV3RnVuYyA9IEZ1bmN0aW9uLnByb3RvdHl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AgICAgICB2YXIgZnVuYyA9IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgIHJldHVybiBuZXcgQm9vbGVhbihhcmd1bWVudHMubGVuZ3RoID09PSAwICYmIE9iamVjdC5wcm90b3R5cGUudG9TdHJpbmcuY2FsbCh0aGlzKSA9PT0gIltvYmplY3QgT2JqZWN0XSIgJiYKICAgICAgICAgICAgICAgICAgICB0aGlzLnZlcmlmeVRoaXMgPT09ICJ2ZXJpZnlUaGlzIik7CiAgICAgICAgICAgIH07CgogICAgICAgICAgICB2YXIgTmV3RnVuYyA9IEZ1bmN0aW9uLnByb3RvdHlwZS5iaW5kLmNhbGwoZnVuYywgb2JqKTsKCiAgICAgICAgICAgIHZhciBuZXdJbnN0YW5jZSA9IG5ldyBOZXdGdW5jKCk7CgogICAgICAgICAgICByZXR1cm4gbmV3SW5zdGFuY2UudmFsdWVPZigpOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIGRlbGV0ZSBPYmplY3QucHJvdG90eXBlLnZlcmlmeVRoaXM7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoRnVuY3Rpb24ucHJvdG90eXBlLmJpbmQpOwogICAgfQp9KTsK","id":"15.3.4.5.2-4-5","path":"TestCases/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-5.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4zLjQuNS4yLTQtNiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMy8xNS4zLjQvMTUuMy40LjUuMi8xNS4zLjQuNS4yLTQtNi5qcyIsCgogICAgZGVzY3JpcHRpb246ICJbW0NvbnN0cnVjdF1dIC0gbGVuZ3RoIG9mIHBhcmFtZXRlcnMgb2YgJ3RhcmdldCcgaXMgMCwgbGVuZ3RoIG9m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AgdmFyIE5ld0Z1bmMgPSBGdW5jdGlvbi5wcm90b3R5cGUuYmluZC5jYWxsKGZ1bmMsIHt9KTsKCiAgICAgICAgdmFyIG5ld0luc3RhbmNlID0gbmV3IE5ld0Z1bmMoKTsKCiAgICAgICAgcmV0dXJuIG5ld0luc3RhbmNlLnZhbHVlT2YoKSA9PT0gdHJ1ZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKEZ1bmN0aW9uLnByb3RvdHlwZS5iaW5kKTsKICAgIH0KfSk7Cg==","id":"15.3.4.5.2-4-9","path":"TestCases/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-9.js"},{"code":"InVzZSBzdHJpY3QiOwpmdW5jdGlvbiBfMTVfM181XzFfZ3MoKSB7fQp0aHJvdyBOb3RFYXJseUVycm9yOwpfMTVfM181XzFfZ3MuY2FsbGVyOwo=","id":"15.3.5-1gs","path":"TestCases/chapter15/15.3/15.3.5/15.3.5-1gs.js"},{"code":"InVzZSBzdHJpY3QiOwpmdW5jdGlvbiBfMTVfM181XzFfZ3MoKSB7fQpfMTVfM181XzFfZ3MuY2FsbGVyOwp0aHJvdyBOb3RFYXJseUVycm9yOw==","id":"15.3.5-2gs","path":"TestCases/chapter15/15.3/15.3.5/15.3.5-2gs.js"}]}}