mirror of https://github.com/tc39/test262.git
1 line
179 KiB
JSON
1 line
179 KiB
JSON
{"testsCollection":{"name":"Chapter - chapter10","numTests":"93","tests":[{"code":"77u/Ly8vIENvcHlyaWdodCAoYykgMjAwOSBNaWNyb3NvZnQgQ29ycG9yYXRpb24gCi8vLyAKLy8vIFJlZGlzdHJpYnV0aW9uIGFuZCB1c2UgaW4gc291cmNlIGFuZCBiaW5hcnkgZm9ybXMsIHdpdGggb3Igd2l0aG91dCBtb2RpZmljYXRpb24sIGFyZSBwZXJtaXR0ZWQgcHJvdmlkZWQKLy8vIHRoYXQgdGhlIGZvbGxvd2luZyBjb25kaXRpb25zIGFyZSBtZXQ6IAovLy8gICAgKiBSZWRpc3RyaWJ1dGlvbnMgb2Ygc291cmNlIGNvZGUgbXVzdCByZXRhaW4gdGhlIGFib3ZlIGNvcHlyaWdodCBub3RpY2UsIHRoaXMgbGlzdCBvZiBjb25kaXRpb25zIGFuZAovLy8gICAgICB0aGUgZm9sbG93aW5nIGRpc2NsYWltZXIuIAovLy8gICAgKiBSZWRpc3RyaWJ1dGlvbnMgaW4gYmluYXJ5IGZvcm0gbXVzdCByZXByb2R1Y2UgdGhlIGFib3ZlIGNvcHlyaWdodCBub3RpY2UsIHRoaXMgbGlzdCBvZiBjb25kaXRpb25zIGFuZCAKLy8vICAgICAgdGhlIGZvbGxvd2luZyBkaXNjbGFpbWVyIGluIHRoZSBkb2N1bWVudGF0aW9uIGFuZC9vciBvdGhlciBtYXRlcmlhbHMgcHJvdmlkZWQgd2l0aCB0aGUgZGlzdHJpYnV0aW9uLiAgCi8vLyAgICAqIE5laXRoZXIgdGhlIG5hbWUgb2YgTWljcm9zb2Z0IG5vciB0aGUgbmFtZXMgb2YgaXRzIGNvbnRyaWJ1dG9ycyBtYXkgYmUgdXNlZCB0bwovLy8gICAgICBlbmRvcnNlIG9yIHByb21vdGUgcHJvZHVjdHMgZGVyaXZlZCBmcm9tIHRoaXMgc29mdHdhcmUgd2l0aG91dCBzcGV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BpcyBzdHJpY3QgZnVuY3Rpb24gY29kZSBpZiBGdW5jdGlvbkRlY2xhcmF0aW9uIGlzIGNvbnRhaW5lZCBpbiB1c2Ugc3RyaWN0IiwKICAgIHN0cmljdDoxLA0KCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICAidXNlIHN0cmljdCI7CiAgICAgICAgZnVuY3Rpb24gZnVuKCkgewogICAgICAgICAgICB0cnkgewogICAgICAgICAgICAgICAgZXZhbCgidmFyIHB1YmxpYyA9IDE7Iik7CiAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgICAgIHJldHVybiBlIGluc3RhbmNlb2YgU3ludGF4RXJyb3I7CiAgICAgICAgICAgIH0KICAgICAgICB9CgogICAgICAgIHJldHVybiBmdW4oKTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuU3VwcG9ydHNTdHJpY3QoKTsKICAgIH0KfSk7Cg==","id":"10.1.1-15-s","path":"TestCases/chapter10/10.1/10.1.1/10.1.1-15-s.js"},{"code":"77u/Ly8vIENvcHlyaWdodCAoYykgMjAwOSBNaWNyb3NvZnQgQ29ycG9yYXRpb24gCi8vLyAKLy8vIFJlZGlzdHJpYnV0aW9uIGFuZCB1c2UgaW4gc291cmNlIGFuZCBiaW5hcnkgZm9ybXMsIHdpdGggb3Igd2l0aG91dCBtb2RpZmljYXRpb24sIGFyZSBwZXJtaXR0ZWQgcHJvdmlkZWQKLy8vIHRoYXQgdGhlIGZvbGxvd2luZyBjb25kaXRpb25zIGFyZSBtZXQ6IAovLy8gICAgKiBSZWRpc3RyaWJ1dGlvbnMgb2Ygc291cmNlIGNvZGUgbXVzdCByZXRhaW4gdGhlIGFib3ZlIGNvcHlyaWdodCBub3RpY2UsIHRoaXMgbGlzdCBvZiBjb25kaXRp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dW5jdGlvbiAoKSB7CiAgICAgICAgICAgIHRyeSB7CiAgICAgICAgICAgICAgICBldmFsKCJ2YXIgcHVibGljID0gMTsiKTsKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBTeW50YXhFcnJvcjsKICAgICAgICAgICAgfQogICAgICAgIH0gKCk7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmblN1cHBvcnRzU3RyaWN0KCk7CiAgICB9Cn0pOwo=","id":"10.1.1-16-s","path":"TestCases/chapter10/10.1/10.1.1/10.1.1-16-s.js"},{"code":"77u/Ly8vIENvcHlyaWdodCAoYykgMjAwOSBNaWNyb3NvZnQgQ29ycG9yYXRpb24gCi8vLyAKLy8vIFJlZGlzdHJpYnV0aW9uIGFuZCB1c2UgaW4gc291cmNlIGFuZCBiaW5hcnkgZm9ybXMsIHdpdGggb3Igd2l0aG91dCBtb2RpZmljYXRpb24sIGFyZSBwZXJtaXR0ZWQgcHJvdmlkZWQKLy8vIHRoYXQgdGhlIGZvbGxvd2luZyBjb25kaXRpb25zIGFyZSBtZXQ6IAovLy8gICAgKiBSZWRpc3RyaWJ1dGlvbnMgb2Ygc291cmNlIGNvZGUgbXVzdCByZXRhaW4gdGhlIGFib3ZlIGNvcHlyaWdodCBub3RpY2UsIHRoaXMgbGlzdCBvZiBjb25kaXRpb25zIGFuZAovLy8gICAgICB0aGUgZm9sbG93aW5nIGRpc2NsYWltZXIuIAovLy8gICAgKiBSZWRpc3RyaWJ1dGlvbnMgaW4gYmluYXJ5IGZvcm0gbXVzdCByZXByb2R1Y2UgdGhlIGFib3ZlIGNvcHlyaWdodCBub3RpY2UsIHRoaXMgbGlzdCBvZiBjb25kaXRpb25zIGFuZCAKLy8vICAgICAgdGhlIGZvbGxvd2luZyBkaXNjb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HVybiAxMTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfSk7CgogICAgICAgICAgICB2YXIgdGVtcCA9IG9iai5hY2NQcm9wZXJ0eSA9PT0gMTE7CiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgIHJldHVybiBlIGluc3RhbmNlb2YgU3ludGF4RXJyb3I7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5TdXBwb3J0c1N0cmljdCgpICYmIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSk7CiAgICB9Cn0pOwo=","id":"10.1.1-17-s","path":"TestCases/chapter10/10.1/10.1.1/10.1.1-17-s.js"},{"code":"77u/Ly8vIENvcHlyaWdodCAoYykgMjAwOSBNaWNyb3NvZnQgQ29ycG9yYXRpb24gCi8vLyAKLy8vIFJlZGlzdHJpYnV0aW9uIGFuZCB1c2UgaW4gc291cmNlIGFuZCBiaW5hcnkgZm9ybXMsIHdpdGggb3Igd2l0aG91dCBtb2RpZmljYXRpb24sIGFyZSBwZXJtaXR0ZWQgcHJvdmlkZWQKLy8vIHRoYXQgdGhlIGZvbGxvd2luZyBjb25kaXRpb25zIGFyZSBtZXQ6IAovLy8gICAgKiBSZWRpc3RyaWJ1dGlvbnMgb2Ygc291cmNlIGNvZGUgbXVzdCByZXRhaW4gdGhlIGFib3ZlIGNvcHlyaWdodCBub3RpY2UsIHRoaXMgbGlzdCBvZiBjb25kaXRpb25zIGFuZAovLy8gICAgICB0aGUgZm9sbG93aW5nIGRpc2NsYWltZXIuIAovLy8gICAgKiBSZWRpc3RyaWJ1dGlvbnMgaW4gYmluYXJ5IGZvcm0gbXVzdCByZXByb2R1Y2UgdGhlIGFib3ZlIGNvcHlyaWdodCBub3RpY2UsIHRoaXMgbGlzdCBvZiBjb25kaXRpb25zIGFuZCAK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WUpIHsKICAgICAgICAgICAgICAgICAgICBldmFsKCJ2YXIgcHVibGljID0gMTsiKTsKICAgICAgICAgICAgICAgICAgICBkYXRhID0gdmFsdWU7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0pOwoKICAgICAgICAgICAgb2JqLmFjY1Byb3BlcnR5ID0gIm92ZXJyaWRlRGF0YSI7CiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgIHJldHVybiBlIGluc3RhbmNlb2YgU3ludGF4RXJyb3IgJiYgZGF0YSA9PT0gImRhdGEiOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuU3VwcG9ydHNTdHJpY3QoKSAmJiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"10.1.1-18-s","path":"TestCases/chapter10/10.1/10.1.1/10.1.1-18-s.js"},{"code":"77u/Ly8vIENvcHlyaWdodCAoYykgMjAwOSBNaWNyb3NvZnQgQ29ycG9yYXRpb24gCi8vLyAKLy8vIFJlZGlzdHJpYnV0aW9uIGFuZCB1c2UgaW4gc291cmNlIGFuZCBiaW5hcnkgZm9ybXMsIHdpdGggb3Igd2l0aG91dCBtb2RpZmljYXRpb24sIGFyZSBwZXJtaXR0ZWQgcHJvdmlkZWQKLy8vIHRoYXQgdGhlIGZvbGxvd2luZyBjb25kaXRpb25zIGFyZSBtZXQ6IAovLy8gICAgKiBSZWRpc3RyaWJ1dGlvbnMgb2Ygc291cmNlIGNvZGUgbXVzdCByZXRhaW4gdGhlIGFib3ZlIGNvcHlyaWdodCBub3RpY2UsIHRoaXMgbGlzdCBvZiBjb25kaXRpb25zIGFuZAovLy8gICAgICB0aGUgZm9sbG93aW5nIGRpc2NsYWltZXIuIAovLy8gICAgKiBSZWRpc3RyaWJ1dGlvbnMgaW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E9GIFRIRSBVU0UgT0YgVEhJUyBTT0ZUV0FSRSwgRVZFTiBJRgovLy8gQURWSVNFRCBPRiBUSEUgUE9TU0lCSUxJVFkgT0YgU1VDSCBEQU1BR0UuCgpFUzVIYXJuZXNzLnJlZ2lzdGVyVGVzdCh7CiAgICBpZDogIjEwLjEuMS0yOS1zIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxMC8xMC4xLzEwLjEuMS8xMC4xLjEtMjktcy5qcyIsCgogICAgZGVzY3JpcHRpb246ICJTdHJpY3QgTW9kZSAtIFRoZSBidWlsdC1pbiBGdW5jdGlvbiBjb25zdHJ1Y3RvciBpcyBjb250YWluZWQgaW4gdXNlIHN0cmljdCBjb2RlIiwKICAgIHN0cmljdDoxLA0KCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICAidXNlIHN0cmljdCI7CiAgICAgICAgdmFyIGZ1bk9iaiA9IG5ldyBGdW5jdGlvbigiYSIsICJldmFsKCdwdWJsaWMgPSAxOycpOyIpOwogICAgICAgIGZ1bk9iaigpOwogICAgICAgIHJldHVybiB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"10.1.1-29-s","path":"TestCases/chapter10/10.1/10.1.1/10.1.1-29-s.js"},{"code":"77u/InVzZSBzdHJpY3QiCnRocm93IE5vdEVhcmx5RXJyb3I7CnZhciBwdWJsaWMgPSAxOw==","id":"10.1.1-2gs","path":"TestCases/chapter10/10.1/10.1.1/10.1.1-2gs.js"},{"code":"77u/Ly8vIENvcHlyaWdodCAoYykgMjAwOSBNaWNyb3NvZnQgQ29ycG9yYXRpb24gCi8vLyAKLy8vIFJlZGlzdHJpYnV0aW9uIGFuZCB1c2UgaW4gc291cmNlIGFuZCBiaW5hcnkgZm9ybXMsIHdpdGggb3Igd2l0aG91d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g6ICJUZXN0Q2FzZXMvY2hhcHRlcjEwLzEwLjEvMTAuMS4xLzEwLjEuMS01LXMuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiU3RyaWN0IE1vZGUgLSBVc2UgU3RyaWN0IERpcmVjdGl2ZSBQcm9sb2d1ZSBpcyAnJ3VzZSBzdHJpY3QnOycgd2hpY2ggYXBwZWFycyBhdCB0aGUgYmVnaW5uaW5nIG9mIHRoZSBibG9jayIsCiAgICBzdHJpY3Q6MSwNCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgInVzZSBzdHJpY3QiOwogICAgICAgIHRyeSB7CiAgICAgICAgICAgIGV2YWwoInZhciBwdWJsaWMgPSAxOyIpOwogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICByZXR1cm4gZSBpbnN0YW5jZW9mIFN5bnRheEVycm9yOwogICAgICAgIH0KCiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmblN1cHBvcnRzU3RyaWN0KCk7CiAgICB9Cn0pOwo=","id":"10.1.1-5-s","path":"TestCases/chapter10/10.1/10.1.1/10.1.1-5-s.js"},{"code":"77u/InVzZSBzdHJpY3QiOwp0aHJvdyBOb3RFYXJseUVycm9yOwp2YXIgcHVibGljID0gMTs=","id":"10.1.1-5gs","path":"TestCases/chapter10/10.1/10.1.1/10.1.1-5gs.js"},{"code":"77u/Ly8vIENvcHlyaWdodCAoYykgMjAwOSBNaWNyb3NvZnQgQ29ycG9yYXRpb24gCi8vLyAKLy8vIFJlZGlzdHJpYnV0aW9uIGFuZCB1c2UgaW4gc291cmNlIGFuZCBiaW5hcnkgZm9ybXMsIHdpdGggb3Igd2l0aG91dCBtb2RpZmljYXRpb24sIGFyZSBwZXJtaXR0ZWQgcHJvdmlkZWQKLy8vIHRoYXQgdGhlIGZvbGxvd2luZy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yaWN0IERpcmVjdGl2ZSBQcm9sb2d1ZSBpcyAnJ3VzZSBzdHJpY3QnOycgd2hpY2ggYXBwZWFycyB0d2ljZSBpbiB0aGUgZGlyZWN0aXZlIHByb2xvZ3VlIiwKICAgIHN0cmljdDoxLA0KCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICAidXNlIHN0cmljdCI7CiAgICAgICAgInVzZSBzdHJpY3QiOwogICAgICAgIHRyeSB7CiAgICAgICAgICAgIGV2YWwoInZhciBwdWJsaWMgPSAxOyIpOwogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICByZXR1cm4gZSBpbnN0YW5jZW9mIFN5bnRheEVycm9yOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuU3VwcG9ydHNTdHJpY3QoKTsKICAgIH0KfSk7Cg==","id":"10.1.1-8-s","path":"TestCases/chapter10/10.1/10.1.1/10.1.1-8-s.js"},{"code":"77u/InVzZSBzdHJpY3QiOwoidXNlIHN0cmljdCI7CnRocm93IE5vdEVhcmx5RXJyb3I7CnZhciBwdWJsaWMgPSAxOw==","id":"10.1.1-8gs","path":"TestCases/chapter10/10.1/10.1.1/10.1.1-8gs.js"},{"code":"77u/Ly8vIENvcHlyaWdodCAoYykgMjAwOSBNaWNyb3NvZnQgQ29ycG9yYXRpb24gCi8vLyAKLy8vIFJlZGlzdHJpYnV0aW9uIGFuZCB1c2UgaW4gc291cmNlIGFuZCBiaW5hcnkgZm9ybXMsIHdpdGggb3Igd2l0aG91dCBtb2RpZmljYXRpb24sIGFyZSBwZXJtaXR0ZWQgcHJvdmlkZWQKLy8vIHRoYXQgdGhlIGZvbGxvd2luZyBjb25kaXRpb25zIGFyZSBtZXQ6IAovLy8gICAgKiBSZWRpc3RyaWJ1dGlvbnMgb2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9IGZpbmFsbHkgewogICAgICAgICAgICBOdW1iZXIgPSBudW1CYWs7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"10.2.1.1.3-4-27-s","path":"TestCases/chapter10/10.2/10.2.1/10.2.1.1/10.2.1.1.3/10.2.1.1.3-4-27-s.js"},{"code":"dmFyIF9fMTBfNF8yXzFfMV8xID0gInN0ciI7CkVTNUhhcm5lc3MucmVnaXN0ZXJUZXN0KCB7CmlkOiAiMTAuNC4yLTEtMSIsCgpwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxMC8xMC40LzEwLjQuMi8xMC40LjItMS0xLmpzIiwKCmRlc2NyaXB0aW9uOiAiSW5kaXJlY3QgY2FsbCB0byBldmFsIGhhcyBjb250ZXh0IHNldCB0byBnbG9iYWwgY29udGV4dCIsCgp0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICB0cnkgewoKICAgIHZhciBfZXZhbCA9IGV2YWw7CiAgICB2YXIgX18xMF80XzJfMV8xXzEgPSAic3RyMSI7CiAgICBpZihfZXZhbCgiXCdzdHJcJyA9PT0gX18xMF80XzJfMV8xXzEiKSA9PT0gdHJ1ZSAmJiAgLy8gaW5kaXJlY3QgZXZhbAogICAgICAgZXZhbCgiXCdzdHIxXCcgPT09IF9fMTBfNF8yXzFfMV8xIikgPT09IHRydWUpIHsgICAvLyBkaXJlY3QgZXZhbAogICAgICAgcmV0dXJuIHRydWU7CiAgICB9CiAgICByZXR1cm4gZmFsc2U7CiAgfSBmaW5hbGx5IHsKICAgIGRlbGV0ZSB0aGlzLl9fMTBfNF8yXzFfMV8xOwogIH0KfQp9KTsK","id":"10.4.2-1-1","path":"TestCases/chapter10/10.4/10.4.2/10.4.2-1-1.js"},{"code":"dmFyIF9fMTBfNF8yXzFfMiA9ICJzdHIiOwpFUzVIYXJuZXNzLnJlZ2lzdGVyVGVzdCggewppZDogIjEwLjQuMi0xLTIiLAoKcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTAvMTAuNC8xMC40LjIvMTAuNC4yLTEtMi5qcyIsCgpkZXNjcmlwdGlvbjogIkluZGlyZWN0IGNhbGwgdG8gZXZhbCBoYXMgY29udGV4dCBzZXQgdG8gZ2xvYmFsIGNvbnRleHQgKG5lc3RlZCBmdW5jdGlvbikiLAoKdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdHJ5IHsKCiAgICAgICAgICAgIHZhciBfZXZhbCA9IGV2YWw7CiAgICAgICAgICAgIHZhciBfXzEwXzRfMl8xXzIgPSAic3RyMSI7CiAgICAgICAgICAgIGZ1bmN0aW9uIGZvbygpIHsKICAgICAgICAgICAgICAgIHZhciBfXzEwXzRfMl8xXzIgPSAic3RyMiI7CiAgICAgICAgICAgICAgICBpZihfZXZhbCgiXCdzdHJcJyA9PT0gX18xMF80XzJfMV8yIikgPT09IHRydWUgJiYgIC8vIGluZGlyZWN0IGV2YWwKICAgICAgICAgICAgICAgICAgICBldmFsKCJcJ3N0cjJcJyA9PT0gX18xMF80XzJfMV8yIikgPT09IHRydWUpIHsgICAvLyBkaXJlY3QgZXZhbAogICAgICAgICAgICAgICAgICAgIHJldHVybiB0cnVlOwogICAgICAgICAgICAgICAgfSBlbHNlIHsKICAgICAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICAgICAgcmV0dXJuIGZvbygpOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIGRlbGV0ZSB0aGlzLl9fMTBfNF8yXzFfMV8yOwogICAgICAgIH0KICAgIH0KfSk7Cg==","id":"10.4.2-1-2","path":"TestCases/chapter10/10.4/10.4.2/10.4.2-1-2.js"},{"code":"dmFyIF9fMTBfNF8yXzFfMyA9ICJzdHIiOwpFUzVIYXJuZXNzLnJlZ2lzdGVyVGVzdCggewppZDogIjEwLjQuMi0xLTMiLAoKcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTAvMTAuNC8xMC40LjIvMTAuNC4yLTEtMy5qcyIsCgpkZXNjcmlwdGlvbjogIkluZGlyZWN0IGNhbGwgdG8gZXZhbCBoYXMgY29udGV4dCBzZXQgdG8gZ2xvYmFsIGNvbnRleHQgKGNhdGNoIGJsb2NrKSIsCgp0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKCiAgICAgICAgdHJ5IHsKCiAgICAgICAgICAgIHZhciBfZXZhbCA9IGV2YWw7CiAgICAgICAgICAgIHZhciBfXzEwXzRfMl8xXzMgPSAic3RyMSI7CiAgICAgICAgICAgIHRyeSB7CiAgICAgICAgICAgICAgICB0aHJvdyAiZXJyb3IiOwogICAgICAgICAgICB9CiAgICAgICAgICAgIGNhdGNoIChlKSB7CiAgICAgICAgICAgICAgICB2YXIgX18xMF80XzJfMV8zID0gInN0cjIiOwogICAgICAgICAgICAgICAgaWYgKF9ldmFsKCJcJ3N0clwnID09PSBfXzEwXzRfMl8xXzMiKSA9PT0gdHJ1ZSAmJiAgLy8gaW5kaXJlY3QgZXZhbAogICAgICAgICAgICAgICAgICAgIGV2YWwoIlwnc3RyMlwnID09PSBfXzEwXzRfMl8xXzMiKSA9PT0gdHJ1ZSkgeyAgLy8gZGlyZWN0IGV2YWwKICAgICAgICAgICAgICAgICAgICByZXR1cm4gdHJ1ZTsKICAgICAgICAgICAgICAgIH0gZWxzZSB7CiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfSBmaW5hbGx5IHsKICAgICAgICAgICAgZGVsZXRlIHRoaXMuX18xMF80XzJfMV8zOwogICAgICAgIH0KICAgIH0KfSk7Cg==","id":"10.4.2-1-3","path":"TestCases/chapter10/10.4/10.4.2/10.4.2-1-3.js"},{"code":"dmFyIF9fMTBfNF8yXzFfNCA9ICJzdHIiOwpFUzVIYXJuZXNzLnJlZ2lzdGVyVGVzdCggewppZDogIjEwLjQuMi0xLTQiLAoKcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTAvMTAuNC8xMC40LjIvMTAuNC4yLTEtNC5qcyIsCgpkZXNjcmlwdGlvbjogIkluZGlyZWN0IGNhbGwgdG8gZXZhbCBoYXMgY29udGV4dCBzZXQgdG8gZ2xvYmFsIGNvbnRleHQgKHdpdGggYmxvY2spIiwKCnRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHRyeSB7CiAgICAgICAgICAgIHZhciBvID0gbmV3IE9iamVjdCgpOwogICAgICAgICAgICBvLl9fMTBfNF8yXzFfNCA9ICJzdHIyIjsKICAgICAgICAgICAgdmFyIF9ldmFsID0gZXZhbDsKICAgICAgICAgICAgdmFyIF9fMTBfNF8yXzFfNCA9ICJzdHIxIjsKICAgICAgICAgICAgd2l0aCAobykgewogICAgICAgICAgICAgICAgaWYgKF9ldmFsKCJcJ3N0clwnID09PSBfXzEwXzRfMl8xXzQiKSA9PT0gdHJ1ZSAmJiAgLy8gaW5kaXJlY3QgZXZhbAogICAgICAgICAgICAgICAgICAgIGV2YWwoIlwnc3RyMlwnID09PSBfXzEwXzRfMl8xXzQiKSA9PT0gdHJ1ZSkgeyAgLy8gZGlyZWN0IGV2YWwKICAgICAgICAgICAgICAgICAgICByZXR1cm4gdHJ1ZTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSBmaW5hbGx5IHsKICAgICAgICAgICAgZGVsZXRlIHRoaXMuX18xMF80XzJfMV80OwogICAgICAgIH0KICAgIH0KfSk7Cg==","id":"10.4.2-1-4","path":"TestCases/chapter10/10.4/10.4.2/10.4.2-1-4.js"},{"code":"dmFyIF9fMTBfNF8yXzFfNSA9ICJzdHIiOwpFUzVIYXJuZXNzLnJlZ2lzdGVyVGVzdCggewppZDogIjEwLjQuMi0xLTUiLAoKcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTAvMTAuNC8xMC40LjIvMTAuNC4yLTEtNS5qcyIsCgpkZXNjcmlwdGlvbjogIkluZGlyZWN0IGNhbGwgdG8gZXZhbCBoYXMgY29udGV4dCBzZXQgdG8gZ2xvYmFsIGNvbnRleHQgKGluc2lkZSBhbm90aGVyIGV2YWwpIiwKCnRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHRyeSB7CgogICAgICAgICAgICB2YXIgX18xMF80XzJfMV81ID0gInN0cjEiOwogICAgICAgICAgICB2YXIgciA9IGV2YWwoIlwKICAgICAgICAgICAgICAgICAgICAgICAgICB2YXIgX2V2YWwgPSBldmFsOyBcCiAgICAgICAgICAgICAgICAgICAgICAgICAgdmFyIF9fMTBfNF8yXzFfNSA9IFwnc3RyMlwnOyBcCiAgICAgICAgICAgICAgICAgICAgICAgICAgX2V2YWwoXCJcJ3N0clwnID09PSBfXzEwXzRfMl8xXzUgXCIpICYmIFwKICAgICAgICAgICAgICAgICAgICAgICAgICBldmFsKFwiXCdzdHIyXCcgPT09IF9fMTBfNF8yXzFfNVwiKVwKICAgICAgICAgICAgICAgICAgICAgICAgIik7CiAgICAgICAgICAgIHJldHVybiByOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIGRlbGV0ZSB0aGlzLl9fMTBfNF8yXzFfNTsKICAgICAgICB9CiAgICB9Cn0pOwo=","id":"10.4.2-1-5","path":"TestCases/chapter10/10.4/10.4.2/10.4.2-1-5.js"},{"code":"77u/Ly8vIENvcHlyaWdodCAoYykgMjAwOSBNaWNyb3NvZnQgQ29ycG9yYXRpb24gCi8vLyAKLy8vIFJlZGlzdHJpYnV0aW9uIGFuZCB1c2UgaW4gc291cmNlIGFuZCBiaW5hcnkgZm9ybXMsIHdpdGggb3Igd2l0aG91dCBtb2RpZmljYXRpb24sIGFyZSBwZXJtaXR0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lvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogIHJldHVybiBmblN1cHBvcnRzU3RyaWN0KCk7CiB9Cgp9KTsK","id":"10.4.2-3-c-1-s","path":"TestCases/chapter10/10.4/10.4.2/10.4.2-3-c-1-s.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxMC40LjItMy1jLTItcyIsCgpwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxMC8xMC40LzEwLjQuMi8xMC40LjItMy1jLTItcy5qcyIsCgpkZXNjcmlwdGlvbjogIkNhbGxpbmcgY29kZSBpbiBzdHJpY3QgbW9kZSAtIGV2YWwgY2Fubm90IGluc3RhbnRpYXRlIHZhcmlhYmxlIGluIHRoZSB2YXJpYWJsZSBlbnZpcm9ubWVudCBvZiB0aGUgY2FsbGluZyBjb250ZXh0IiwKCnRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogIHZhciBfMTBfNF8yXzNfY18yX3MgPSAwOwogIGZ1bmN0aW9uIF8xMF80XzJfM19jXzJfc0Z1bmMoKSB7CiAgICAgJ3VzZSBzdHJpY3QnOwogICAgIGV2YWwoInZhciBfMTBfNF8yXzNfY18yX3MgPSAxIik7CiAgICAgcmV0dXJuIF8xMF80XzJfM19jXzJfcz09PTA7CiAgfQogIHJldHVybiBfMTBfNF8yXzNfY18yX3NGdW5jKCk7CiB9LAoKc3RyaWN0OjEsCgpwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICByZXR1cm4gZm5TdXBwb3J0c1N0cmljdCgpOwogfQoKfSk7Cg==","id":"10.4.2-3-c-2-s","path":"TestCases/chapter10/10.4/10.4.2/10.4.2-3-c-2-s.js"},{"code":"77u/InVzZSBzdHJpY3QiOwpldmFsKCJ2YXIgeCA9IDc7Iik7CnggPSA5Owp0aHJvdyBOb3RFYXJseUVycm9yOw==","id":"10.4.2.1-1gs","path":"TestCases/chapter10/10.4/10.4.2/10.4.2.1-1gs.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ugc3RyaWN0JzsgZnVuY3Rpb24gXzEwXzRfMl8xXzRfZnVuKCl7fSIpOwogICAgICAgIHJldHVybiB0eXBlb2YgXzEwXzRfMl8xXzRfZnVuID09PSAidW5kZWZpbmVkIjsKICAgIH0sCgogICAgc3RyaWN0OiAxLAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmblN1cHBvcnRzU3RyaWN0KCk7CiAgICB9Cn0pOwo=","id":"10.4.2.1-4-s","path":"TestCases/chapter10/10.4/10.4.2/10.4.2.1-4-s.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxMC40LjMtMS0xLXMiLAoKcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTAvMTAuNC8xMC40LjMvMTAuNC4zLTEtMS1zLmpzIiwKCmRlc2NyaXB0aW9uOiAidGhpcyBpcyBub3QgY29lcmNlZCB0byBhbiBvYmplY3QgaW4gc3RyaWN0IG1vZGUgKE51bWJlcikiLAoKdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogIGZ1bmN0aW9uIGZvbygpCiAgewogICAgJ3VzZSBzdHJpY3QnOwogICAgcmV0dXJuIHR5cGVvZih0aGlzKTsKICB9IAoKICBmdW5jdGlvbiBiYXIoKQogIHsKICAgIHJldHVybiB0eXBlb2YodGhpcyk7CiAgfQoKCiAgcmV0dXJuIGZvby5jYWxsKDEpID09PSAnbnVtYmVyJyAmJiBiYXIuY2FsbCgxKSA9PT0gJ29iamVjdCc7CiB9LAoKc3RyaWN0OjEsCgpwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICByZXR1cm4gZm5TdXBwb3J0c1N0cmljdCgpOwogfQoKfSk7Cg==","id":"10.4.3-1-1-s","path":"TestCases/chapter10/10.4/10.4.3/10.4.3-1-1-s.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxMC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eXBlb2YodGhpcyk7CiAgfQogIHJldHVybiBmb28uY2FsbCh1bmRlZmluZWQpID09PSAndW5kZWZpbmVkJyAmJiBiYXIuY2FsbCgpID09PSAnb2JqZWN0JzsKIH0sCgpzdHJpY3Q6MSwKCnByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogIHJldHVybiBmblN1cHBvcnRzU3RyaWN0KCk7CiB9Cgp9KTsK","id":"10.4.3-1-3-s","path":"TestCases/chapter10/10.4/10.4.3/10.4.3-1-3-s.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxMC40LjMtMS00LXMiLAoKcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTAvMTAuNC8xMC40LjMvMTAuNC4zLTEtNC1zLmpzIiwKCmRlc2NyaXB0aW9uOiAidGhpcyBpcyBub3QgY29lcmNlZCB0byBhbiBvYmplY3QgaW4gc3RyaWN0IG1vZGUgKGJvb2xlYW4pIiwKCnRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICBmdW5jdGlvbiBmb28oKQogIHsKICAgICd1c2Ugc3RyaWN0JzsKICAgIHJldHVybiB0eXBlb2YodGhpcyk7CiAgfSAKCiAgZnVuY3Rpb24gYmFyKCkKICB7CiAgICByZXR1cm4gdHlwZW9mKHRoaXMpOwogIH0KCgogIHJldHVybiBmb28uY2FsbCh0cnVlKSA9PT0gJ2Jvb2xlYW4nICYmIGJhci5jYWxsKHRydWUpID09PSAnb2JqZWN0JzsKIH0sCgpzdHJpY3Q6MSwKCnByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogIHJldHVybiBmblN1cHBvcnRzU3RyaWN0KCk7CiB9Cgp9KTsK","id":"10.4.3-1-4-s","path":"TestCases/chapter10/10.4/10.4.3/10.4.3-1-4-s.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxMC40LjMtMS01LXMiLAoKcGF0aD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igpIHsKICAgIHJldHVybiB0eXBlb2YgdGhpczsKfQpyZXR1cm4gZigpID09PSAidW5kZWZpbmVkIjsKfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHtyZXR1cm4gZm5TdXBwb3J0c1N0cmljdCgpO30KfSk7Cg==","id":"10.4.3-1-7-s","path":"TestCases/chapter10/10.4/10.4.3/10.4.3-1-7-s.js"},{"code":"InVzZSBzdHJpY3QiOwpmdW5jdGlvbiBmKCkgewogICAgcmV0dXJuIHR5cGVvZiB0aGlzOwp9CmlmIChmKCkgIT09ICJ1bmRlZmluZWQiKSB7CiAgICB0aHJvdyAiJ3RoaXMnIGhhZCBpbmNvcnJlY3QgdmFsdWUhIjsKfQ==","id":"10.4.3-1-7gs","path":"TestCases/chapter10/10.4/10.4.3/10.4.3-1-7gs.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICAgICAgICAgICIxMC40LjMtMS04LXMiLAogICAgcGF0aDogICAgICAgICJUZXN0Q2FzZXMvY2hhcHRlcjEwLzEwLjQvMTAuNC4zLzEwLjQuMy0xLTgtcy5qcyIsCiAgICBkZXNjcmlwdGlvbjogIlN0cmljdCBNb2RlIC0gY2hlY2tpbmcgJ3RoaXMnIChGdW5jdGlvbkRlY2xhcmF0aW9uIGluY2x1ZGVzIHN0cmljdCBkaXJlY3RpdmUgcHJvbG9ndWUpIiwKICAgIHN0cmljdDoxLAogICAgCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKZnVuY3Rpb24gZigpIHsKICAgICJ1c2Ugc3RyaWN0IjsKICAgIHJldHVybiB0eXBlb2YgdGhpczsKfQpyZXR1cm4gZigpID09PSAidW5kZWZpbmVkIjsKfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHtyZXR1cm4gZm5TdXBwb3J0c1N0cmljdCgpO30KfSk7Cg==","id":"10.4.3-1-8-s","path":"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VE9SVCAoSU5DTFVESU5HIE5FR0xJR0VOQ0UgT1IgT1RIRVJXSVNFKSBBUklTSU5HIElOIEFOWSBXQVkgT1VUIE9GIFRIRSBVU0UgT0YgVEhJUyBTT0ZUV0FSRSwgRVZFTiBJRgovLy8gQURWSVNFRCBPRiBUSEUgUE9TU0lCSUxJVFkgT0YgU1VDSCBEQU1BR0UuCgpFUzVIYXJuZXNzLnJlZ2lzdGVyVGVzdCh7CiAgICBpZDogIjEwLjUtMS1zIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxMC8xMC41LzEwLjUtMS1zLmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIlN0cmljdCBNb2RlIC0gYXJndW1lbnRzIG9iamVjdCBpcyBpbW11dGFibGUiLAogICAgc3RyaWN0OjEsCgoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgICJ1c2Ugc3RyaWN0IjsKICAgICAgICB0cnkgewogICAgICAgICAgICAoZnVuY3Rpb24gZnVuKCkgewogICAgICAgICAgICAgICAgZXZhbCgiYXJndW1lbnRzID0gMTAiKTsKICAgICAgICAgICAgfSkoMzApOwogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICByZXR1cm4gKGUgaW5zdGFuY2VvZiBTeW50YXhFcnJvcik7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgCiAgICAgICAgcmV0dXJuIGZuU3VwcG9ydHNTdHJpY3QoKTsKICAgIH0KfSk7Cg==","id":"10.5-1-s","path":"TestCases/chapter10/10.5/10.5-1-s.js"},{"code":"77u/InVzZSBzdHJpY3QiOwp0aHJvdyBOb3RFYXJseUVycm9yOwoKZnVuY3Rpb24gZl8xMF81XzFfZ3MoKXsKICAgIGFyZ3VtZW50cyA9IDc7Cn0K","id":"10.5-1gs","path":"TestCases/chapter10/10.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ZGUiLAoKdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgZnVuY3Rpb24gZm9vKGEsYixjKQogIHsKICAgICd1c2Ugc3RyaWN0JzsKICAgIGEgPSAxOyBiID0gJ3N0cic7IGMgPSAyLjE7CiAgICByZXR1cm4gKGFyZ3VtZW50c1swXSA9PT0gMTAgJiYgYXJndW1lbnRzWzFdID09PSAnc3NzJyAmJiBhcmd1bWVudHNbMl0gPT09IDEpOwogIH0KICByZXR1cm4gZm9vKDEwLCAnc3NzJywgMSk7CiB9LAoKc3RyaWN0OjEsCgpwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICByZXR1cm4gZm5TdXBwb3J0c1N0cmljdCgpOwogfQoKCgp9KTsK","id":"10.6-10-c-ii-1-s","path":"TestCases/chapter10/10.6/10.6-10-c-ii-1-s.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxMC42LTEwLWMtaWktMSIsCgpwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxMC8xMC42LzEwLjYtMTAtYy1paS0xLmpzIiwKCmRlc2NyaXB0aW9uOiAiYXJndW1lbnRzW2ldIGNoYW5nZSB3aXRoIGFjdHVhbCBwYXJhbWV0ZXJzIiwKCnRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogIGZ1bmN0aW9uIGZvbyhhLGIsYykKICB7CiAgICBhID0gMTsgYiA9ICdzdHInOyBjID0gMi4xOwogICAgaWYoYXJndW1lbnRzWzBdID09PSAxICYmIGFyZ3VtZW50c1sxXSA9PT0gJ3N0cicgJiYgYXJndW1lbnRzWzJdID09PSAyLjEpCiAgICAgIHJldHVybiB0cnVlOyAgIAogIH0KICByZXR1cm4gZm9vKDEwLCdzc3MnLDEpOwogfQp9KTsK","id":"10.6-10-c-ii-1","path":"TestCases/chapter10/10.6/10.6-10-c-ii-1.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHs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IChmdW5jdGlvbiAoKSB7IHJldHVybiBhcmd1bWVudHMgfSkoMSk7CgogICAgICAgICAgICB2YXIgdmVyaWZ5VmFsdWUgPSBmYWxzZTsKICAgICAgICAgICAgdmVyaWZ5VmFsdWUgPSAoYXJnT2JqWzBdID09PSAxKTsKCiAgICAgICAgICAgIHZhciB2ZXJpZnlFbnVtZXJhYmxlID0gZmFsc2U7CiAgICAgICAgICAgIGZvciAodmFyIHAgaW4gYXJnT2JqKSB7CiAgICAgICAgICAgICAgICBpZiAocCA9PT0gIjAiICYmIGFyZ09iai5oYXNPd25Qcm9wZXJ0eSgiMCIpKSB7CiAgICAgICAgICAgICAgICAgICAgdmVyaWZ5RW51bWVyYWJsZSA9IHRydWU7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KCiAgICAgICAgICAgIHZhciB2ZXJpZnlXcml0YWJsZSA9IGZhbHNlOwogICAgICAgICAgICBhcmdPYmpbMF0gPSAxMDAxOwogICAgICAgICAgICB2ZXJpZnlXcml0YWJsZSA9IChhcmdPYmpbMF0gPT09IDEwMDEpOwoKICAgICAgICAgICAgdmFyIHZlcmlmeUNvbmZpZ3VyYWJsZSA9IGZhbHNlOwogICAgICAgICAgICBkZWxldGUgYXJnT2JqWzBdOwogICAgICAgICAgICB2ZXJpZnlDb25maWd1cmFibGUgPSBhcmdPYmouaGFzT3duUHJvcGVydHkoIjAiKTsKCiAgICAgICAgICAgIHJldHVybiB2ZXJpZnlWYWx1ZSAmJiB2ZXJpZnlXcml0YWJsZSAmJiB2ZXJpZnlFbnVtZXJhYmxlICYmICF2ZXJpZnlDb25maWd1cmFibGUgJiYgZGF0YSA9PT0gImRhdGEiOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIGRlbGV0ZSBPYmplY3QucHJvdG90eXBlWzBdOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSk7CiAgICB9Cn0pOwo=","id":"10.6-11-b-1","path":"TestCases/chapter10/10.6/10.6-11-b-1.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxMC42LTEyLTEiLAoKcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTAvMTAuNi8xMC42LTEyLTEuanMiLAoKZGVzY3JpcHRpb246ICJBY2Nlc3NpbmcgY2FsbGVlIHByb3BlcnR5IG9mIEFyZ3VtZW50cyBvYmplY3QgaXMgYWxsb3dlZCIsCgp0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICB0cnkgCiAgewogICAgYXJndW1lbnRzLmNhbGxlZTsKICAgIHJldHVybiB0cnVlOwogIH0KICBjYXRjaCAoZSkgewogIH0KIH0KfSk7Cg==","id":"10.6-12-1","path":"TestCases/chapter10/10.6/10.6-12-1.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxMC42LTEyLTIiLAoKcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTAvMTAuNi8xMC42LTEyLTIuanMiLAoKZGVzY3JpcHRpb246ICJhcmd1bWVudHMuY2FsbGVlIGhhcyBjb3JyZWN0IGF0dHJpYnV0ZXMiLAoKdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgCiAgdmFyIGRlc2MgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKGFyZ3VtZW50cywiY2FsbGVlIik7CiAgaWYoZGVzYy5jb25maWd1cmFibGUgPT09IHRydWUgJiYKICAgICBkZXNjLmVudW1lcmFibGUgPT09IGZhbHNlICYmCiAgICAgZGVzYy53cml0YWJsZSA9PT0gdHJ1ZSAmJgogICAgIGRlc2MuaGFzT3duUHJvcGVydHkoJ2dldCcpID09IGZhbHNlICYmCiAgICAgZGVzYy5oYXNPd25Qcm9wZXJ0eSgncHV0JykgPT0gZmFsc2UpCiAgICByZXR1cm4gdHJ1ZTsgICAKIH0sCgpwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcik7CiB9Cn0pOwo=","id":"10.6-12-2","path":"TestCases/chapter10/10.6/10.6-12-2.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxMC42LTEzLTEiLAoKcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTAvMTAuNi8xMC42LTEzLTEuanMiLAoKZGVzY3JpcHRpb246ICJBY2Nlc3NpbmcgY2FsbGVyIHByb3BlcnR5IG9mIEFyZ3VtZW50cyBvYmplY3QgaXMgYWxsb3dlZCIsCgp0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICB0cnkgCiAgewogICAgYXJndW1lbnRzLmNhbGxlcjsKICAgIHJldHVybiB0cnVlOwogIH0KICBjYXRjaCAoZSkgewogIH0KIH0KfSk7Cg==","id":"10.6-13-1","path":"TestCases/chapter10/10.6/10.6-13-1.js"},{"code":"77u/Ly8vIENvcHlyaWdodCAoYykgMjAwOSBNaWNyb3NvZnQgQ29ycG9yYXRpb24gCi8vLyAKLy8vIFJlZGlzdHJpYnV0aW9uIGFuZCB1c2UgaW4gc291cmNlIGFuZCBiaW5hcnkgZm9ybXMsIHdpdGggb3Igd2l0aG91dCBtb2RpZmljYXRpb24sIGFyZSBwZXJtaXR0ZWQgcHJvdmlkZWQKLy8vIHRoYXQgdGhlIGZvbGxvd2luZyBjb25kaXRpb25zIGFyZSBtZXQ6IAovLy8gICAgKiBSZWRpc3RyaWJ1dGlvbnMgb2Ygc291cmNlIGNvZGUgbXVzdCByZXRhaW4gdGhlIGFib3ZlIGNvcHlyaWdodCBub3RpY2UsIHRoaXMgbGlzdCBvZiBjb25kaXRpb25zIGFuZAovLy8gICAgICB0aGU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Fsc2UsCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICAgICAgfSk7CgogICAgICAgICAgICB2YXIgYXJnT2JqID0gKGZ1bmN0aW9uICgpIHsgcmV0dXJuIGFyZ3VtZW50cyB9KSgpOwoKICAgICAgICAgICAgdmFyIHZlcmlmeVZhbHVlID0gZmFsc2U7CiAgICAgICAgICAgIHZlcmlmeVZhbHVlID0gdHlwZW9mIGFyZ09iai5jYWxsZWUgPT09ICJmdW5jdGlvbiI7CiAgICAgICAgICAgIAogICAgICAgICAgICB2YXIgdmVyaWZ5V3JpdGFibGUgPSBmYWxzZTsKICAgICAgICAgICAgYXJnT2JqLmNhbGxlZSA9IDEwMDE7CiAgICAgICAgICAgIHZlcmlmeVdyaXRhYmxlID0gKGFyZ09iai5jYWxsZWUgPT09IDEwMDEpOwoKICAgICAgICAgICAgdmFyIHZlcmlmeUVudW1lcmFibGUgPSBmYWxzZTsKICAgICAgICAgICAgZm9yICh2YXIgcCBpbiBhcmdPYmopIHsKICAgICAgICAgICAgICAgIGlmIChwID09PSAiY2FsbGVlIiAmJiBhcmdPYmouaGFzT3duUHJvcGVydHkoImNhbGxlZSIpKSB7CiAgICAgICAgICAgICAgICAgICAgdmVyaWZ5RW51bWVyYWJsZSA9IHRydWU7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KCiAgICAgICAgICAgIHZhciB2ZXJpZnlDb25maWd1cmFibGUgPSBmYWxzZTsKICAgICAgICAgICAgZGVsZXRlIGFyZ09iai5jYWxsZWU7CiAgICAgICAgICAgIHZlcmlmeUNvbmZpZ3VyYWJsZSA9IGFyZ09iai5oYXNPd25Qcm9wZXJ0eSgiY2FsbGVlIik7CgogICAgICAgICAgICByZXR1cm4gdmVyaWZ5VmFsdWUgJiYgdmVyaWZ5V3JpdGFibGUgJiYgIXZlcmlmeUVudW1lcmFibGUgJiYgIXZlcmlmeUNvbmZpZ3VyYWJsZTsKICAgICAgICB9IGZpbmFsbHkgewogICAgICAgICAgICBkZWxldGUgT2JqZWN0LnByb3RvdHlwZS5jYWxsZWU7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cg==","id":"10.6-13-a-1","path":"TestCases/chapter10/10.6/10.6-13-a-1.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxMC42LTEzLWItMS1zIiwKCnBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjEwLzEwLjYvMTAuNi0xMy1iLTEtcy5qcyIsCgpkZXNjcmlwdGlvbjogIkFjY2Vzc2luZyBjYWxsZXIgcHJvcGVydHkgb2YgQXJndW1lbnRzIG9iamVjdCB0aHJvd3MgVHlwZUVycm9yIGluIHN0cmljdCBtb2RlIiwKCnRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICd1c2Ugc3RyaWN0JzsKICB0cnkgCiAgewogICAgYXJndW1lbnRzLmNhbGxlcjsKICB9CiAgY2F0Y2ggKGUpIHsKICAgIGlmKGUgaW5zdGFuY2VvZiBUeXBlRXJyb3IpCiAgICAgIHJldHVybiB0cnVlOwogIH0KIH0sCgpzdHJpY3Q6MSwKCnByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogIHJldHVybiBmblN1cHBvcnRzU3RyaWN0KCk7CiB9Cgp9KTsK","id":"10.6-13-b-1-s","path":"TestCases/chapter10/10.6/10.6-13-b-1-s.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxMC42LTEzLWItMi1zIiwKCnBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjEwLzEwLjYvMTAuNi0xMy1iLTItcy5qcyIsCgpkZXNjcmlwdGlvbjogImFyZ3VtZW50cy5jYWxsZXIgZXhpc3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IAogICAgIGRlc2MuaGFzT3duUHJvcGVydHkoJ3NldCcpID09IHRydWUpOyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgIAogfSwKCnN0cmljdDoxLAoKcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgcmV0dXJuIGZuU3VwcG9ydHNTdHJpY3QoKTsKIH0KCn0pOwo=","id":"10.6-13-b-3-s","path":"TestCases/chapter10/10.6/10.6-13-b-3-s.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxMC42LTEzLWMtMS1zIiwKCnBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjEwLzEwLjYvMTAuNi0xMy1jLTEtcy5qcyIsCgpkZXNjcmlwdGlvbjogIkFjY2Vzc2luZyBjYWxsZWUgcHJvcGVydHkgb2YgQXJndW1lbnRzIG9iamVjdCB0aHJvd3MgVHlwZUVycm9yIGluIHN0cmljdCBtb2RlIiwKCnRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICd1c2Ugc3RyaWN0JzsKICB0cnkgCiAgewogICAgYXJndW1lbnRzLmNhbGxlZTsKICAgIHJldHVybiBmYWxzZTsKICB9CiAgY2F0Y2ggKGUpIHsKICAgIHJldHVybiAoZSBpbnN0YW5jZW9mIFR5cGVFcnJvcik7CiAgfQogfSwKCnN0cmljdDoxLAoKcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgcmV0dXJuIGZuU3VwcG9ydHNTdHJpY3QoKTsKIH0KCn0pOwo=","id":"10.6-13-c-1-s","path":"TestCases/chapter10/10.6/10.6-13-c-1-s.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxMC42LTEzLWMtMi1zIiwKCnBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjEwLzEwLjYvMTAuNi0xMy1jLTItcy5qcyIsCgpkZXNjcmlwdGlvbj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yBpcyBmYWxzZSB1bmRlciBzdHJpY3QgbW9kZSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgInVzZSBzdHJpY3QiOwoKICAgICAgICB2YXIgYXJnT2JqID0gZnVuY3Rpb24gKCkgewogICAgICAgICAgICByZXR1cm4gYXJndW1lbnRzOwogICAgICAgIH0gKCk7CgogICAgICAgIHZhciB2ZXJpZnlFbnVtZXJhYmxlID0gZmFsc2U7CiAgICAgICAgZm9yICh2YXIgXzEwXzZfMTRfYl8xIGluIGFyZ09iaikgewogICAgICAgICAgICBpZiAoYXJnT2JqLmhhc093blByb3BlcnR5KF8xMF82XzE0X2JfMSkgJiYgXzEwXzZfMTRfYl8xID09PSAiY2FsbGVyIikgewogICAgICAgICAgICAgICAgdmVyaWZ5RW51bWVyYWJsZSA9IHRydWU7CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICAgICAgcmV0dXJuICF2ZXJpZnlFbnVtZXJhYmxlICYmIGFyZ09iai5oYXNPd25Qcm9wZXJ0eSgiY2FsbGVyIik7CiAgICB9LAoKICAgIHN0cmljdDogMSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5TdXBwb3J0c1N0cmljdCgpOwogICAgfQp9KTs=","id":"10.6-14-b-1-s","path":"TestCases/chapter10/10.6/10.6-14-b-1-s.js"},{"code":"77u/Ly8vIENvcHlyaWdodCAoYykgMjAwOSBNaWNyb3NvZnQgQ29ycG9yYXRpb24gCi8vLyAKLy8vIFJlZGlzdHJpYnV0aW9uIGFuZCB1c2UgaW4gc291cmNlIGFuZCBiaW5hcnkgZm9ybXMsIHdpdGggb3Igd2l0aG91dCBtb2RpZmljYXRpb24sIGFyZSBwZXJtaXR0ZWQgcHJvdmlkZWQKLy8vIHRoYXQgdGhlIGZvbGxvd2luZyBjb25kaXRpb25zIGFyZSBtZXQ6IAovLy8gICAgKiBSZWRpc3RyaWJ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XNlIHN0cmljdCI7CgogICAgICAgIHZhciBhcmdPYmogPSBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgIHJldHVybiBhcmd1bWVudHM7CiAgICAgICAgfSAoKTsKCiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgYXJnT2JqLmNhbGxlciA9IHt9OwogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICByZXR1cm4gZSBpbnN0YW5jZW9mIFR5cGVFcnJvcjsKICAgICAgICB9CiAgICB9LAoKICAgIHN0cmljdDogMSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5TdXBwb3J0c1N0cmljdCgpOwogICAgfQp9KTs=","id":"10.6-14-b-4-s","path":"TestCases/chapter10/10.6/10.6-14-b-4-s.js"},{"code":"77u/Ly8vIENvcHlyaWdodCAoYykgMjAwOSBNaWNyb3NvZnQgQ29ycG9yYXRpb24gCi8vLyAKLy8vIFJlZGlzdHJpYnV0aW9uIGFuZCB1c2UgaW4gc291cmNlIGFuZCBiaW5hcnkgZm9ybXMsIHdpdGggb3Igd2l0aG91dCBtb2RpZmljYXRpb24sIGFyZSBwZXJtaXR0ZWQgcHJvdmlkZWQKLy8vIHRoYXQgdGhlIGZvbGxvd2luZyBjb25kaXRpb25zIGFyZSBtZXQ6IAovLy8gICAgKiBSZWRpc3RyaWJ1dGlvbnMgb2Ygc291cmNlIGNvZGUgbXVzdCByZXRhaW4gdGhlIGFib3ZlIGNvcHlyaWdodCBub3RpY2UsIHRoaXMgbGlzdCBvZiBjb25kaXRpb25zIGFuZAovLy8gICAgICB0aGUgZm9sbG93aW5nIGRpc2NsYWltZXIuIAovLy8gICAgKiBSZWRpc3RyaWJ1dGlvbnMgaW4gYmluYXJ5IGZvcm0gbXVzdCByZXByb2R1Y2UgdGhlIGFib3ZlIGNvcHlyaWdodCBub3RpY2UsIHRoaXMgbGlz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gfQp9KTs=","id":"10.6-14-c-4-s","path":"TestCases/chapter10/10.6/10.6-14-c-4-s.js"},{"code":"77u/InVzZSBzdHJpY3QiOwpmdW5jdGlvbiBmXzEwXzZfMV9ncygpewogICAgcmV0dXJuIGFyZ3VtZW50cy5jYWxsZWU7Cn0K","id":"10.6-1gs","path":"TestCases/chapter10/10.6/10.6-1gs.js"},{"code":"77u/InVzZSBzdHJpY3QiOwpmdW5jdGlvbiBmXzEwXzZfMV9ncygpewogICAgcmV0dXJuIGFyZ3VtZW50cy5jYWxsZWU7Cn0KZl8xMF82XzFfZ3MoKTsK","id":"10.6-2gs","path":"TestCases/chapter10/10.6/10.6-2gs.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxMC42LTUtMSIsCgpwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxMC8xMC42LzEwLjYtNS0xLmpzIiwKCmRlc2NyaXB0aW9uOiAiW1tQcm90b3R5cGVdXSBwcm9wZXJ0eSBvZiBBcmd1bWVudHMgaXMgc2V0IHRvIE9iamVjdCBwcm90b3R5cGUgb2JqZWN0IiwKCnRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogIGlmKE9iamVjdC5nZXRQcm90b3R5cGVPZihhcmd1bWVudHMpID09PSBPYmplY3QuZ2V0UHJvdG90eXBlT2Yoe30pKQogICAgcmV0dXJuIHRydWU7CiB9LApwcmVjb25kaXRpb246IGZ1bmN0aW9uICgpIHsKICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmdldFByb3RvdHlwZU9mKTsKIH0KfSk7Cg==","id":"10.6-5-1","path":"TestCases/chapter10/10.6/10.6-5-1.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxMC42LTYtMSIsCgpwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxMC8xMC42LzEwLjYtNi0xLmpzIiwKCmRlc2NyaXB0aW9uOiAiJ2xlbmd0aCB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},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxMC42LTYtMyIsCgpwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxMC8xMC42LzEwLjYtNi0zLmpzIiwKCmRlc2NyaXB0aW9uOiAiJ2xlbmd0aCcgcHJvcGVydHkgb2YgYXJndW1lbnRzIG9iamVjdCBmb3IgMCBhcmd1bWVudCBmdW5jdGlvbiBleGlzdHMiLAoKdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgIHZhciBhcmd1bWVudHM9IHVuZGVmaW5lZDsKCXJldHVybiAoZnVuY3Rpb24gKCkge3JldHVybiBhcmd1bWVudHMubGVuZ3RoICE9PSB1bmRlZmluZWR9KSgpOwogfQoKfSk7Cg==","id":"10.6-6-3","path":"TestCases/chapter10/10.6/10.6-6-3.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxMC42LTYtNCIsCgpwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxMC8xMC42LzEwLjYtNi00LmpzIiwKCmRlc2NyaXB0aW9uOiAiJ2xlbmd0aCcgcHJvcGVydHkgb2YgYXJndW1lbnRzIG9iamVjdCBmb3IgMCBhcmd1bWVudCBmdW5jdGlvbiBjYWxsIGlzIDAgZXZlbiB3aXRoIGZvcm1hbCBwYXJhbWV0ZXJzIiwKCnRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICB2YXIgYXJndW1lbnRzPSB1bmRlZmluZWQ7CglyZXR1cm4gKGZ1bmN0aW9uIChhLGIsYykge3JldHVybiBhcmd1bWVudHMubGVuZ3RoID09PSAwfSkoKTsKIH0KCn0pOwo=","id":"10.6-6-4","path":"TestCases/chapter10/10.6/10.6-6-4.js"},{"code":"77u/Ly8vIENvcHlyaWdodCAoYykgMjAwOSBNaWNyb3NvZnQgQ29ycG9yYXRpb24gCi8vLyAKLy8vIFJlZGlzdHJpYnV0aW9uIGFuZ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50cyBPYmplY3QgaGFzIGxlbmd0aCBhcyBpdHMgb3duIHByb3BlcnR5IGFuZCBkb2VzIG5vdCBpbnZva2UgdGhlIHNldHRlciBkZWZpbmVkIG9uIE9iamVjdC5wcm90b3R5cGUubGVuZ3RoIChTdGVwIDcpIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB0cnkgewogICAgICAgICAgICB2YXIgZGF0YSA9ICJkYXRhIjsKICAgICAgICAgICAgdmFyIGdldEZ1bmMgPSBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gMTI7CiAgICAgICAgICAgIH07CgogICAgICAgICAgICB2YXIgc2V0RnVuYyA9IGZ1bmN0aW9uICh2YWx1ZSkgewogICAgICAgICAgICAgICAgZGF0YSA9IHZhbHVlOwogICAgICAgICAgICB9OwoKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KE9iamVjdC5wcm90b3R5cGUsICJsZW5ndGgiLCB7CiAgICAgICAgICAgICAgICBnZXQ6IGdldEZ1bmMsCiAgICAgICAgICAgICAgICBzZXQ6IHNldEZ1bmMsCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICAgICAgfSk7CgogICAgICAgICAgICB2YXIgdmVyaWZ5VmFsdWUgPSBmYWxzZTsKICAgICAgICAgICAgdmFyIGFyZ09iaiA9IChmdW5jdGlvbiAoKSB7IHJldHVybiBhcmd1bWVudHMgfSkoKTsKICAgICAgICAgICAgdmVyaWZ5VmFsdWUgPSAoYXJnT2JqLmxlbmd0aCA9PT0gMCk7CgogICAgICAgICAgICB2YXIgdmVyaWZ5V3JpdGFibGUgPSBmYWxzZTsKICAgICAgICAgICAgYXJnT2JqLmxlbmd0aCA9IDEwMDE7CiAgICAgICAgICAgIHZlcmlmeVdyaXRhYmxlID0gKGFyZ09iai5sZW5ndGggPT09IDEwMDEpOwoKICAgICAgICAgICAgdmFyIHZlcmlmeUVudW1lcmFibGUgPSBmYWxzZTsKICAgICAgICAgICAgZm9yICh2YXIgcCBpbiBhcmdPYmopIHsKICAgICAgICAgICAgICAgIGlmIChwID09PSAibGVuZ3RoIikgewogICAgICAgICAgICAgICAgICAgIHZlcmlmeUVudW1lcmFibGUgPSB0cnVlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CgogICAgICAgICAgICB2YXIgdmVyaWZ5Q29uZmlndXJhYmxlID0gZmFsc2U7CiAgICAgICAgICAgIGRlbGV0ZSBhcmdPYmoubGVuZ3RoOwogICAgICAgICAgICB2ZXJpZnlDb25maWd1cmFibGUgPSBhcmdPYmouaGFzT3duUHJvcGVydHkoImxlbmd0aCIpOwoKICAgICAgICAgICAgcmV0dXJuIHZlcmlmeVZhbHVlICYmIHZlcmlmeVdyaXRhYmxlICYmICF2ZXJpZnlFbnVtZXJhYmxlICYmICF2ZXJpZnlDb25maWd1cmFibGUgJiYgZGF0YSA9PT0gImRhdGEiOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIGRlbGV0ZSBPYmplY3QucHJvdG90eXBlLmxlbmd0aDsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"10.6-7-1","path":"TestCases/chapter10/10.6/10.6-7-1.js"}]}} |