diff --git a/test/suite/ietestcenter/chapter07/7.8/7.8.5/7.8.5-1.js b/test/suite/ietestcenter/chapter07/7.8/7.8.5/7.8.5-1.js index 2750af3c9f..dca0fb3533 100644 --- a/test/suite/ietestcenter/chapter07/7.8/7.8.5/7.8.5-1.js +++ b/test/suite/ietestcenter/chapter07/7.8/7.8.5/7.8.5-1.js @@ -22,7 +22,7 @@ ES5Harness.registerTest({ id: "7.8.5-1", - path: "TestCases/chapter7/7.8.5/7.8.5-1.js", + path: "TestCases/chapter07/7.8/7.8.5/7.8.5-1.js", description: "Literal RegExp Objects - SyntaxError exception is thrown if the RegularExpressionNonTerminator position of a RegularExpressionBackslashSequence is a LineTerminator.", diff --git a/test/suite/ietestcenter/chapter11/11.8/11.8.2/11.8.2-1.js b/test/suite/ietestcenter/chapter11/11.8/11.8.2/11.8.2-1.js index 4e90fb17da..c27ad620a0 100644 --- a/test/suite/ietestcenter/chapter11/11.8/11.8.2/11.8.2-1.js +++ b/test/suite/ietestcenter/chapter11/11.8/11.8.2/11.8.2-1.js @@ -21,7 +21,7 @@ ES5Harness.registerTest({ id: "11.8.2-1", - path: "TestCases/chapter11/11.8/11.8.2-1.js", + path: "TestCases/chapter11/11.8/11.8.2/11.8.2-1.js", description: "11.8.2 Greater-than Operator - Partial left to right order enforced when using Greater-than operator: valueOf > valueOf", diff --git a/test/suite/ietestcenter/chapter11/11.8/11.8.2/11.8.2-2.js b/test/suite/ietestcenter/chapter11/11.8/11.8.2/11.8.2-2.js index 08491fe893..fe49efe0e7 100644 --- a/test/suite/ietestcenter/chapter11/11.8/11.8.2/11.8.2-2.js +++ b/test/suite/ietestcenter/chapter11/11.8/11.8.2/11.8.2-2.js @@ -21,7 +21,7 @@ ES5Harness.registerTest({ id: "11.8.2-2", - path: "TestCases/chapter11/11.8/11.8.2-2.js", + path: "TestCases/chapter11/11.8/11.8.2/11.8.2-2.js", description: "11.8.2 Greater-than Operator - Partial left to right order enforced when using Greater-than operator: valueOf > toString", diff --git a/test/suite/ietestcenter/chapter11/11.8/11.8.2/11.8.2-3.js b/test/suite/ietestcenter/chapter11/11.8/11.8.2/11.8.2-3.js index 7eb3fa8089..0dec0691b8 100644 --- a/test/suite/ietestcenter/chapter11/11.8/11.8.2/11.8.2-3.js +++ b/test/suite/ietestcenter/chapter11/11.8/11.8.2/11.8.2-3.js @@ -21,7 +21,7 @@ ES5Harness.registerTest({ id: "11.8.2-3", - path: "TestCases/chapter11/11.8/11.8.2-3.js", + path: "TestCases/chapter11/11.8/11.8.2/11.8.2-3.js", description: "11.8.2 Greater-than Operator - Partial left to right order enforced when using Greater-than operator: toString > valueOf", diff --git a/test/suite/ietestcenter/chapter11/11.8/11.8.2/11.8.2-4.js b/test/suite/ietestcenter/chapter11/11.8/11.8.2/11.8.2-4.js index 80237e3392..f5fb5f4227 100644 --- a/test/suite/ietestcenter/chapter11/11.8/11.8.2/11.8.2-4.js +++ b/test/suite/ietestcenter/chapter11/11.8/11.8.2/11.8.2-4.js @@ -21,7 +21,7 @@ ES5Harness.registerTest({ id: "11.8.2-4", - path: "TestCases/chapter11/11.8/11.8.2-4.js", + path: "TestCases/chapter11/11.8/11.8.2/11.8.2-4.js", description: "11.8.2 Greater-than Operator - Partial left to right order enforced when using Greater-than operator: toString > toString", diff --git a/test/suite/ietestcenter/chapter11/11.8/11.8.3/11.8.3-1.js b/test/suite/ietestcenter/chapter11/11.8/11.8.3/11.8.3-1.js index f1cbe6dcde..3a8a34d064 100644 --- a/test/suite/ietestcenter/chapter11/11.8/11.8.3/11.8.3-1.js +++ b/test/suite/ietestcenter/chapter11/11.8/11.8.3/11.8.3-1.js @@ -21,7 +21,7 @@ ES5Harness.registerTest({ id: "11.8.3-1", - path: "TestCases/chapter11/11.8/11.8.2-1.js", + path: "TestCases/chapter11/11.8/11.8.3/11.8.3-1.js", description: "11.8.3 Less-than-or-equal Operator - Partial left to right order enforced when using Less-than-or-equal operator: valueOf <= valueOf", diff --git a/test/suite/ietestcenter/chapter11/11.8/11.8.3/11.8.3-2.js b/test/suite/ietestcenter/chapter11/11.8/11.8.3/11.8.3-2.js index 8a2b63883f..a2c829d981 100644 --- a/test/suite/ietestcenter/chapter11/11.8/11.8.3/11.8.3-2.js +++ b/test/suite/ietestcenter/chapter11/11.8/11.8.3/11.8.3-2.js @@ -21,7 +21,7 @@ ES5Harness.registerTest({ id: "11.8.3-2", - path: "TestCases/chapter11/11.8/11.8.3-2.js", + path: "TestCases/chapter11/11.8/11.8.3/11.8.3-2.js", description: "11.8.3 Less-than-or-equal Operator - Partial left to right order enforced when using Less-than-or-equal operator: valueOf <= toString", diff --git a/test/suite/ietestcenter/chapter11/11.8/11.8.3/11.8.3-3.js b/test/suite/ietestcenter/chapter11/11.8/11.8.3/11.8.3-3.js index 1d194d742d..bc8528ba2a 100644 --- a/test/suite/ietestcenter/chapter11/11.8/11.8.3/11.8.3-3.js +++ b/test/suite/ietestcenter/chapter11/11.8/11.8.3/11.8.3-3.js @@ -21,7 +21,7 @@ ES5Harness.registerTest({ id: "11.8.3-3", - path: "TestCases/chapter11/11.8/11.8.3-3.js", + path: "TestCases/chapter11/11.8/11.8.3/11.8.3-3.js", description: "11.8.3 Less-than-or-equal Operator - Partial left to right order enforced when using Less-than-or-equal operator: toString <= valueOf", diff --git a/test/suite/ietestcenter/chapter11/11.8/11.8.3/11.8.3-4.js b/test/suite/ietestcenter/chapter11/11.8/11.8.3/11.8.3-4.js index f1589a0728..187067986c 100644 --- a/test/suite/ietestcenter/chapter11/11.8/11.8.3/11.8.3-4.js +++ b/test/suite/ietestcenter/chapter11/11.8/11.8.3/11.8.3-4.js @@ -21,7 +21,7 @@ ES5Harness.registerTest({ id: "11.8.3-4", - path: "TestCases/chapter11/11.8/11.8.3-4.js", + path: "TestCases/chapter11/11.8/11.8.3/11.8.3-4.js", description: "11.8.3 Less-than-or-equal Operator - Partial left to right order enforced when using Less-than-or-equal operator: toString <= toString", diff --git a/test/suite/ietestcenter/chapter11/11.8/11.8.3/11.8.3-5.js b/test/suite/ietestcenter/chapter11/11.8/11.8.3/11.8.3-5.js index 71ac2fd817..2d0a56f2fe 100644 --- a/test/suite/ietestcenter/chapter11/11.8/11.8.3/11.8.3-5.js +++ b/test/suite/ietestcenter/chapter11/11.8/11.8.3/11.8.3-5.js @@ -21,7 +21,7 @@ ES5Harness.registerTest({ id: "11.8.3-5", - path: "TestCases/chapter11/11.8/11.8.3-5.js", + path: "TestCases/chapter11/11.8/11.8.3/11.8.3-5.js", description: "11.8.3 Less-than-or-equal Operator - Partial left to right order enforced when using Less-than-or-equal operator: valueOf <= valueOf", diff --git a/test/suite/ietestcenter/chapter15/15.10/15.10.2/15.10.2.15-3-1.js b/test/suite/ietestcenter/chapter15/15.10/15.10.2/15.10.2.15-3-1.js index 1574f43f66..f0e1f23219 100644 --- a/test/suite/ietestcenter/chapter15/15.10/15.10.2/15.10.2.15-3-1.js +++ b/test/suite/ietestcenter/chapter15/15.10/15.10.2/15.10.2.15-3-1.js @@ -21,7 +21,7 @@ ES5Harness.registerTest({ id: "15.10.2.15-3-1", - path: "TestCases/15.10.2.15-3-1.js", + path: "TestCases/chapter15/15.10/15.10.2/15.10.2.15-3-1.js", description: "Pattern - SyntaxError was thrown when 'A' does not contain exactly one character (15.10.2.5 step 3)", diff --git a/test/suite/ietestcenter/chapter15/15.10/15.10.2/15.10.2.15-3-2.js b/test/suite/ietestcenter/chapter15/15.10/15.10.2/15.10.2.15-3-2.js index 36404c2809..7b360b15aa 100644 --- a/test/suite/ietestcenter/chapter15/15.10/15.10.2/15.10.2.15-3-2.js +++ b/test/suite/ietestcenter/chapter15/15.10/15.10.2/15.10.2.15-3-2.js @@ -21,7 +21,7 @@ ES5Harness.registerTest({ id: "15.10.2.15-3-2", - path: "TestCases/15.10.2.15-3-2.js", + path: "TestCases/chapter15/15.10/15.10.2/15.10.2.15-3-2.js", description: "Pattern - SyntaxError was thrown when 'B' does not contain exactly one character (15.10.2.5 step 3)", diff --git a/test/suite/ietestcenter/chapter15/15.10/15.10.2/15.10.2.15-6-1.js b/test/suite/ietestcenter/chapter15/15.10/15.10.2/15.10.2.15-6-1.js index 752569f930..fa84c404c1 100644 --- a/test/suite/ietestcenter/chapter15/15.10/15.10.2/15.10.2.15-6-1.js +++ b/test/suite/ietestcenter/chapter15/15.10/15.10.2/15.10.2.15-6-1.js @@ -21,7 +21,7 @@ ES5Harness.registerTest({ id: "15.10.2.15-6-1", - path: "TestCases/15.10.2.15-6-1.js", + path: "TestCases/chapter15/15.10/15.10.2/15.10.2.15-6-1.js", description: "Pattern - SyntaxError was thrown when one character in CharSet 'A' greater than one character in CharSet 'B' (15.10.2.15 CharacterRange step 6)", diff --git a/test/suite/ietestcenter/chapter15/15.10/15.10.2/15.10.2.2-1.js b/test/suite/ietestcenter/chapter15/15.10/15.10.2/15.10.2.2-1.js index 7047822445..f5e930a9f6 100644 --- a/test/suite/ietestcenter/chapter15/15.10/15.10.2/15.10.2.2-1.js +++ b/test/suite/ietestcenter/chapter15/15.10/15.10.2/15.10.2.2-1.js @@ -21,7 +21,7 @@ ES5Harness.registerTest({ id: "15.10.2.2-1", - path: "TestCases/15.10.2.2-1.js", + path: "TestCases/chapter15/15.10/15.10.2/15.10.2.2-1.js", description: "Pattern - SyntaxError was thrown when compile a pattern", diff --git a/test/suite/ietestcenter/chapter15/15.10/15.10.2/15.10.2.5-3-1.js b/test/suite/ietestcenter/chapter15/15.10/15.10.2/15.10.2.5-3-1.js index 805a58d15e..d2c4b785c6 100644 --- a/test/suite/ietestcenter/chapter15/15.10/15.10.2/15.10.2.5-3-1.js +++ b/test/suite/ietestcenter/chapter15/15.10/15.10.2/15.10.2.5-3-1.js @@ -21,7 +21,7 @@ ES5Harness.registerTest({ id: "15.10.2.5-3-1", - path: "TestCases/15.10.2.5-3-1.js", + path: "TestCases/chapter15/15.10/15.10.2/15.10.2.5-3-1.js", description: "Term - SyntaxError was thrown when max is finite and less than min (15.10.2.5 step 3)", diff --git a/test/suite/ietestcenter/chapter15/15.10/15.10.4/15.10.4.1-1.js b/test/suite/ietestcenter/chapter15/15.10/15.10.4/15.10.4.1-1.js index 00585ebfb8..3ca7c0c848 100644 --- a/test/suite/ietestcenter/chapter15/15.10/15.10.4/15.10.4.1-1.js +++ b/test/suite/ietestcenter/chapter15/15.10/15.10.4/15.10.4.1-1.js @@ -22,7 +22,7 @@ ES5Harness.registerTest({ id: "15.10.4.1-1", - path: "TestCases/chapter15/15.10/15.10.4.1/15.10.4.1-1.js", + path: "TestCases/chapter15/15.10/15.10.4/15.10.4.1-1.js", description: "RegExp - the thrown error is TypeError instead of RegExpError when pattern is an object whose [[Class]] property is 'RegExp' and flags is not undefined ", diff --git a/test/suite/ietestcenter/chapter15/15.10/15.10.4/15.10.4.1-2.js b/test/suite/ietestcenter/chapter15/15.10/15.10.4/15.10.4.1-2.js index c5d0dd25cb..7b9013729d 100644 --- a/test/suite/ietestcenter/chapter15/15.10/15.10.4/15.10.4.1-2.js +++ b/test/suite/ietestcenter/chapter15/15.10/15.10.4/15.10.4.1-2.js @@ -22,7 +22,7 @@ ES5Harness.registerTest({ id: "15.10.4.1-2", - path: "TestCases/chapter15/15.10/15.10.4.1/15.10.4.1-2.js", + path: "TestCases/chapter15/15.10/15.10.4/15.10.4.1-2.js", description: "RegExp - the thrown error is SyntaxError instead of RegExpError when the characters of 'P' do not have the syntactic form Pattern", diff --git a/test/suite/ietestcenter/chapter15/15.10/15.10.4/15.10.4.1-3.js b/test/suite/ietestcenter/chapter15/15.10/15.10.4/15.10.4.1-3.js index b0c83206e9..a2a78cd734 100644 --- a/test/suite/ietestcenter/chapter15/15.10/15.10.4/15.10.4.1-3.js +++ b/test/suite/ietestcenter/chapter15/15.10/15.10.4/15.10.4.1-3.js @@ -22,7 +22,7 @@ ES5Harness.registerTest({ id: "15.10.4.1-3", - path: "TestCases/chapter15/15.10/15.10.4.1/15.10.4.1-3.js", + path: "TestCases/chapter15/15.10/15.10.4/15.10.4.1-3.js", description: "RegExp - the thrown error is SyntaxError instead of RegExpError when 'F' contains any character other than 'g', 'i', or 'm' ", diff --git a/test/suite/ietestcenter/chapter15/15.10/15.10.4/15.10.4.1-4.js b/test/suite/ietestcenter/chapter15/15.10/15.10.4/15.10.4.1-4.js index 09386d19c6..4ccfa2d6b9 100644 --- a/test/suite/ietestcenter/chapter15/15.10/15.10.4/15.10.4.1-4.js +++ b/test/suite/ietestcenter/chapter15/15.10/15.10.4/15.10.4.1-4.js @@ -22,7 +22,7 @@ ES5Harness.registerTest({ id: "15.10.4.1-4", - path: "TestCases/chapter15/15.10/15.10.4.1/15.10.4.1-4.js", + path: "TestCases/chapter15/15.10/15.10.4/15.10.4.1-4.js", description: "RegExp - the SyntaxError is not thrown when flags is 'gim'", diff --git a/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-1.js b/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-1.js index 86a02c6f5a..e2ffec25fc 100644 --- a/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-1.js +++ b/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-1.js @@ -22,7 +22,7 @@ ES5Harness.registerTest( { id: "15.12.1.1-0-1", -path: "TestCases/chapter15/15.12/15.12.1/25.12.1.1/15.12.1.1-0-1.js", +path: "TestCases/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-1.js", description: "The JSON lexical grammar treats whitespace as a token seperator", diff --git a/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-2.js b/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-2.js index 1689a18a75..b7e0e3f74f 100644 --- a/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-2.js +++ b/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-2.js @@ -22,7 +22,7 @@ ES5Harness.registerTest( { id: "15.12.1.1-0-2", -path: "TestCases/chapter15/15.12/15.12.1/25.12.1.1/15.12.1.1-0-2.js", +path: "TestCases/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-2.js", description: " is not valid JSON whitespace as specified by the production JSONWhitespace.", diff --git a/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-3.js b/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-3.js index 2f152c27a2..c968ef0599 100644 --- a/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-3.js +++ b/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-3.js @@ -22,7 +22,7 @@ ES5Harness.registerTest( { id: "15.12.1.1-0-3", -path: "TestCases/chapter15/15.12/15.12.1/25.12.1.1/15.12.1.1-0-3.js", +path: "TestCases/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-3.js", description: " is not valid JSON whitespace as specified by the production JSONWhitespace.", diff --git a/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-4.js b/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-4.js index 77c2f57111..e66f18536e 100644 --- a/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-4.js +++ b/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-4.js @@ -22,7 +22,7 @@ ES5Harness.registerTest( { id: "15.12.1.1-0-4", -path: "TestCases/chapter15/15.12/15.12.1/25.12.1.1/15.12.1.1-0-4.js", +path: "TestCases/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-4.js", description: " is not valid JSON whitespace as specified by the production JSONWhitespace.", diff --git a/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-5.js b/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-5.js index 7aa872e839..8c31a8a9bb 100644 --- a/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-5.js +++ b/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-5.js @@ -22,7 +22,7 @@ ES5Harness.registerTest( { id: "15.12.1.1-0-5", -path: "TestCases/chapter15/15.12/15.12.1/25.12.1.1/15.12.1.1-0-5.js", +path: "TestCases/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-5.js", description: " is not valid JSON whitespace as specified by the production JSONWhitespace.", diff --git a/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-6.js b/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-6.js index 3f76186e58..45c3a01232 100644 --- a/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-6.js +++ b/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-6.js @@ -22,7 +22,7 @@ ES5Harness.registerTest( { id: "15.12.1.1-0-6", -path: "TestCases/chapter15/15.12/15.12.1/25.12.1.1/15.12.1.1-0-6.js", +path: "TestCases/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-6.js", description: " is not valid JSON whitespace as specified by the production JSONWhitespace.", diff --git a/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-7.js b/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-7.js index b97675f453..d65c2fadbb 100644 --- a/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-7.js +++ b/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-7.js @@ -22,7 +22,7 @@ ES5Harness.registerTest( { id: "15.12.1.1-0-7", -path: "TestCases/chapter15/15.12/15.12.1/25.12.1.1/15.12.1.1-0-7.js", +path: "TestCases/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-7.js", description: "other category z spaces are not valid JSON whitespace as specified by the production JSONWhitespace.", diff --git a/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-8.js b/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-8.js index 5ebf10b65e..07b2d3f284 100644 --- a/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-8.js +++ b/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-8.js @@ -22,7 +22,7 @@ ES5Harness.registerTest( { id: "15.12.1.1-0-8", -path: "TestCases/chapter15/15.12/15.12.1/25.12.1.1/15.12.1.1-0-8.js", +path: "TestCases/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-8.js", description: "U+2028 and U+2029 are not valid JSON whitespace as specified by the production JSONWhitespace.", diff --git a/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-9.js b/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-9.js index 96757e9ead..91cdb843a2 100644 --- a/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-9.js +++ b/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-9.js @@ -22,7 +22,7 @@ ES5Harness.registerTest( { id: "15.12.1.1-0-9", -path: "TestCases/chapter15/15.12/15.12.1/25.12.1.1/15.12.1.1-0-9.js", +path: "TestCases/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-0-9.js", description: "Whitespace characters can appear before/after any JSONtoken", diff --git a/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g1-1.js b/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g1-1.js index 27b029232b..b006925a36 100644 --- a/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g1-1.js +++ b/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g1-1.js @@ -22,7 +22,7 @@ ES5Harness.registerTest( { id: "15.12.1.1-g1-1", -path: "TestCases/chapter15/15.12/15.12.1/25.12.1.1/15.12.1.1-g1-1.js", +path: "TestCases/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g1-1.js", description: "The JSON lexical grammar treats as a whitespace character", diff --git a/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g1-2.js b/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g1-2.js index 3b6f3775a4..af3d983c96 100644 --- a/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g1-2.js +++ b/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g1-2.js @@ -22,7 +22,7 @@ ES5Harness.registerTest( { id: "15.12.1.1-g1-2", -path: "TestCases/chapter15/15.12/15.12.1/25.12.1.1/15.12.1.1-g1-2.js", +path: "TestCases/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g1-2.js", description: "The JSON lexical grammar treats as a whitespace character", diff --git a/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g1-3.js b/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g1-3.js index 15098dac90..0108930a38 100644 --- a/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g1-3.js +++ b/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g1-3.js @@ -22,7 +22,7 @@ ES5Harness.registerTest( { id: "15.12.1.1-g1-3", -path: "TestCases/chapter15/15.12/15.12.1/25.12.1.1/15.12.1.1-g1-3.js", +path: "TestCases/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g1-3.js", description: "The JSON lexical grammar treats as a whitespace character", diff --git a/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g1-4.js b/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g1-4.js index 71259b3523..53b79bef59 100644 --- a/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g1-4.js +++ b/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g1-4.js @@ -22,7 +22,7 @@ ES5Harness.registerTest( { id: "15.12.1.1-g1-4", -path: "TestCases/chapter15/15.12/15.12.1/25.12.1.1/15.12.1.1-g1-4.js", +path: "TestCases/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g1-4.js", description: "The JSON lexical grammar treats as a whitespace character", diff --git a/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g2-1.js b/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g2-1.js index 85ca8b3b1b..f9c2d7784b 100644 --- a/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g2-1.js +++ b/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g2-1.js @@ -22,7 +22,7 @@ ES5Harness.registerTest( { id: "15.12.1.1-g2-1", -path: "TestCases/chapter15/15.12/15.12.1/25.12.1.1/15.12.1.1-g2-1.js", +path: "TestCases/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g2-1.js", description: "JSONStrings can be written using double quotes", diff --git a/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g2-2.js b/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g2-2.js index 3d90176f24..e0e761fd59 100644 --- a/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g2-2.js +++ b/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g2-2.js @@ -22,7 +22,7 @@ ES5Harness.registerTest( { id: "15.12.1.1-g2-2", -path: "TestCases/chapter15/15.12/15.12.1/25.12.1.1/15.12.1.1-g2-2.js", +path: "TestCases/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g2-2.js", description: "A JSONString may not be delimited by single quotes ", diff --git a/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g2-3.js b/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g2-3.js index 80d2111d8f..6b6ba390af 100644 --- a/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g2-3.js +++ b/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g2-3.js @@ -22,7 +22,7 @@ ES5Harness.registerTest( { id: "15.12.1.1-g2-3", -path: "TestCases/chapter15/15.12/15.12.1/25.12.1.1/15.12.1.1-g2-3.js", +path: "TestCases/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g2-3.js", description: "A JSONString may not be delimited by Uncode escaped quotes ", diff --git a/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g2-4.js b/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g2-4.js index ea82bdb10a..8051050094 100644 --- a/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g2-4.js +++ b/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g2-4.js @@ -22,7 +22,7 @@ ES5Harness.registerTest( { id: "15.12.1.1-g2-4", -path: "TestCases/chapter15/15.12/15.12.1/25.12.1.1/15.12.1.1-g2-4.js", +path: "TestCases/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g2-4.js", description: "A JSONString must both begin and end with double quotes", diff --git a/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g2-5.js b/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g2-5.js index 877ba3ebf9..28379d5d0c 100644 --- a/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g2-5.js +++ b/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g2-5.js @@ -22,7 +22,7 @@ ES5Harness.registerTest( { id: "15.12.1.1-g2-5", -path: "TestCases/chapter15/15.12/15.12.1/25.12.1.1/15.12.1.1-g2-5.js", +path: "TestCases/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g2-5.js", description: "A JSONStrings can contain no JSONStringCharacters (Empty JSONStrings)", diff --git a/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g4-1.js b/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g4-1.js index b5ee9280b8..1cfe305fc4 100644 --- a/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g4-1.js +++ b/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g4-1.js @@ -22,7 +22,7 @@ ES5Harness.registerTest( { id: "15.12.1.1-g4-1", -path: "TestCases/chapter15/15.12/15.12.1/25.12.1.1/15.12.1.1-g4-1.js", +path: "TestCases/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g4-1.js", description: "The JSON lexical grammar does not allow a JSONStringCharacter to be any of the Unicode characters U+0000 thru U+0007", diff --git a/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g4-2.js b/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g4-2.js index a3279099a3..e9faff70d7 100644 --- a/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g4-2.js +++ b/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g4-2.js @@ -22,7 +22,7 @@ ES5Harness.registerTest( { id: "15.12.1.1-g4-2", -path: "TestCases/chapter15/15.12/15.12.1/25.12.1.1/15.12.1.1-g4-2.js", +path: "TestCases/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g4-2.js", description: "The JSON lexical grammar does not allow a JSONStringCharacter to be any of the Unicode characters U+0008 thru U+000F", diff --git a/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g4-3.js b/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g4-3.js index 181d5623e9..b55df67d53 100644 --- a/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g4-3.js +++ b/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g4-3.js @@ -22,7 +22,7 @@ ES5Harness.registerTest( { id: "15.12.1.1-g4-3", -path: "TestCases/chapter15/15.12/15.12.1/25.12.1.1/15.12.1.1-g4-3.js", +path: "TestCases/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g4-3.js", description: "The JSON lexical grammar does not allow a JSONStringCharacter to be any of the Unicode characters U+0010 thru U+0017", diff --git a/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g4-4.js b/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g4-4.js index aa7a67d234..17a5920f8f 100644 --- a/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g4-4.js +++ b/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g4-4.js @@ -22,7 +22,7 @@ ES5Harness.registerTest( { id: "15.12.1.1-g4-4", -path: "TestCases/chapter15/15.12/15.12.1/25.12.1.1/15.12.1.1-g4-4.js", +path: "TestCases/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g4-4.js", description: "The JSON lexical grammar does not allow a JSONStringCharacter to be any of the Unicode characters U+0018 thru U+001F", diff --git a/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g5-1.js b/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g5-1.js index f175bc24f8..0388bd4409 100644 --- a/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g5-1.js +++ b/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g5-1.js @@ -22,7 +22,7 @@ ES5Harness.registerTest( { id: "15.12.1.1-g5-1", -path: "TestCases/chapter15/15.12/15.12.1/25.12.1.1/15.12.1.1-g5-1.js", +path: "TestCases/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g5-1.js", description: "The JSON lexical grammar allows Unicode escape sequences in a JSONString", diff --git a/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g5-2.js b/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g5-2.js index 8bb27a3623..ae189dba41 100644 --- a/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g5-2.js +++ b/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g5-2.js @@ -22,7 +22,7 @@ ES5Harness.registerTest( { id: "15.12.1.1-g5-2", -path: "TestCases/chapter15/15.12/15.12.1/25.12.1.1/15.12.1.1-g5-2.js", +path: "TestCases/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g5-2.js", description: "A JSONStringCharacter UnicodeEscape may not have fewer than 4 hex characters", diff --git a/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g5-3.js b/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g5-3.js index 0087e2d284..6f2af4eee7 100644 --- a/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g5-3.js +++ b/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g5-3.js @@ -22,7 +22,7 @@ ES5Harness.registerTest( { id: "15.12.1.1-g5-3", -path: "TestCases/chapter15/15.12/15.12.1/25.12.1.1/15.12.1.1-g5-3.js", +path: "TestCases/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g5-3.js", description: "A JSONStringCharacter UnicodeEscape may not include any non=hex characters", diff --git a/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g6-1.js b/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g6-1.js index 5ff49b40e1..2c4c4ffa22 100644 --- a/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g6-1.js +++ b/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g6-1.js @@ -22,7 +22,7 @@ ES5Harness.registerTest( { id: "15.12.1.1-g6-1", -path: "TestCases/chapter15/15.12/15.12.1/25.12.1.1/15.12.1.1-g6-1.js", +path: "TestCases/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g6-1.js", description: "The JSON lexical grammer allows '/' as a JSONEscapeCharacter after '\' in a JSONString", diff --git a/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g6-2.js b/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g6-2.js index 78e9c2696c..024409dced 100644 --- a/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g6-2.js +++ b/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g6-2.js @@ -22,7 +22,7 @@ ES5Harness.registerTest( { id: "15.12.1.1-g6-2", -path: "TestCases/chapter15/15.12/15.12.1/25.12.1.1/15.12.1.1-g6-2.js", +path: "TestCases/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g6-2.js", description: "The JSON lexical grammer allows '\' as a JSONEscapeCharacter after '\' in a JSONString", diff --git a/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g6-3.js b/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g6-3.js index fd038d1c46..48ba019e10 100644 --- a/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g6-3.js +++ b/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g6-3.js @@ -22,7 +22,7 @@ ES5Harness.registerTest( { id: "15.12.1.1-g6-3", -path: "TestCases/chapter15/15.12/15.12.1/25.12.1.1/15.12.1.1-g6-3.js", +path: "TestCases/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g6-3.js", description: "The JSON lexical grammer allows 'b' as a JSONEscapeCharacter after '\' in a JSONString", diff --git a/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g6-4.js b/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g6-4.js index 6be18c47b8..e659dd0369 100644 --- a/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g6-4.js +++ b/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g6-4.js @@ -22,7 +22,7 @@ ES5Harness.registerTest( { id: "15.12.1.1-g6-4", -path: "TestCases/chapter15/15.12/15.12.1/25.12.1.1/15.12.1.1-g6-4.js", +path: "TestCases/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g6-4.js", description: "The JSON lexical grammer allows 'f' as a JSONEscapeCharacter after '\' in a JSONString", diff --git a/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g6-5.js b/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g6-5.js index 55366b5ca6..251df26cb1 100644 --- a/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g6-5.js +++ b/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g6-5.js @@ -22,7 +22,7 @@ ES5Harness.registerTest( { id: "15.12.1.1-g6-5", -path: "TestCases/chapter15/15.12/15.12.1/25.12.1.1/15.12.1.1-g6-5.js", +path: "TestCases/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g6-5.js", description: "The JSON lexical grammer allows 'n' as a JSONEscapeCharacter after '\' in a JSONString", diff --git a/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g6-6.js b/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g6-6.js index e4e1982cbd..f0aac2a801 100644 --- a/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g6-6.js +++ b/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g6-6.js @@ -22,7 +22,7 @@ ES5Harness.registerTest( { id: "15.12.1.1-g6-6", -path: "TestCases/chapter15/15.12/15.12.1/25.12.1.1/15.12.1.1-g6-6.js", +path: "TestCases/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g6-6.js", description: "The JSON lexical grammer allows 'r' as a JSONEscapeCharacter after '\' in a JSONString", diff --git a/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g6-7.js b/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g6-7.js index 431d4dd0c4..5d56629a15 100644 --- a/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g6-7.js +++ b/test/suite/ietestcenter/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g6-7.js @@ -22,7 +22,7 @@ ES5Harness.registerTest( { id: "15.12.1.1-g6-7", -path: "TestCases/chapter15/15.12/15.12.1/25.12.1.1/15.12.1.1-g6-7.js", +path: "TestCases/chapter15/15.12/15.12.1/15.12.1.1/15.12.1.1-g6-7.js", description: "The JSON lexical grammer allows 't' as a JSONEscapeCharacter after '\' in a JSONString", diff --git a/test/suite/ietestcenter/chapter15/15.12/15.12.2/15.12.2-2-5.js b/test/suite/ietestcenter/chapter15/15.12/15.12.2/15.12.2-2-5.js index 65e96cca98..6c90c6f83d 100644 --- a/test/suite/ietestcenter/chapter15/15.12/15.12.2/15.12.2-2-5.js +++ b/test/suite/ietestcenter/chapter15/15.12/15.12.2/15.12.2-2-5.js @@ -21,7 +21,7 @@ ES5Harness.registerTest({ id: "15.12.2-2-5", - path: "TestCases/chapter15/15.12/15.12.2/15.12.2-5.js", + path: "TestCases/chapter15/15.12/15.12.2/15.12.2-2-5.js", description: "JSON.parse - parsing an object where property name middles with a null character", diff --git a/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-573.js b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-573.js index feafe6fecd..d8f6a4c759 100644 --- a/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-573.js +++ b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-573.js @@ -21,7 +21,7 @@ ES5Harness.registerTest({ id: "15.2.3.6-4-573", - path: "TestCases/chapter15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-573", + path: "TestCases/chapter15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-573.js", description: "ES5 Attributes - [[Set]] attribute is a function which has one argument", diff --git a/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-574.js b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-574.js index b33eea3444..be9ca1f389 100644 --- a/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-574.js +++ b/test/suite/ietestcenter/chapter15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-574.js @@ -21,7 +21,7 @@ ES5Harness.registerTest({ id: "15.2.3.6-4-574", - path: "TestCases/chapter15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-574", + path: "TestCases/chapter15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-574.js", description: "ES5 Attributes - [[Set]] attribute is a function which has two arguments", diff --git a/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-1.js b/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-1.js index 01c6b40dfd..4b26b1257d 100644 --- a/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-1.js +++ b/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-1.js @@ -22,7 +22,7 @@ ES5Harness.registerTest({ id: "15.3.4.5.1-4-1", - path: "TestCases/chapter15/15.3/15.3.4/15.3.4.5/15.3.4.5.1/15.3.4.5.1-4-1.js", + path: "TestCases/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-1.js", description: "[[Call]] - 'F''s [[BoundArgs]] is used as the former part of arguments of calling the [[Call]] internal method of 'F''s [[TargetFunction]] when 'F' is called", diff --git a/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-10.js b/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-10.js index 62af1e1f2b..f5697ea262 100644 --- a/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-10.js +++ b/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-10.js @@ -22,7 +22,7 @@ ES5Harness.registerTest({ id: "15.3.4.5.1-4-10", - path: "TestCases/chapter15/15.3/15.3.4/15.3.4.5/15.3.4.5.1/15.3.4.5.1-4-10.js", + path: "TestCases/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-10.js", description: "[[Call]] - length of parameters of 'target' is 1, length of 'boundArgs' is 0, length of 'ExtraArgs' is 0, and with 'boundThis'", diff --git a/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-11.js b/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-11.js index 65468c9701..5a32464a70 100644 --- a/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-11.js +++ b/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-11.js @@ -22,7 +22,7 @@ ES5Harness.registerTest({ id: "15.3.4.5.1-4-11", - path: "TestCases/chapter15/15.3/15.3.4/15.3.4.5/15.3.4.5.1/15.3.4.5.1-4-11.js", + path: "TestCases/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-11.js", description: "[[Call]] - length of parameters of 'target' is 1, length of 'boundArgs' is 0, length of 'ExtraArgs' is 1, and with 'boundThis'", diff --git a/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-12.js b/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-12.js index 111a89e32b..85da45e748 100644 --- a/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-12.js +++ b/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-12.js @@ -22,7 +22,7 @@ ES5Harness.registerTest({ id: "15.3.4.5.1-4-12", - path: "TestCases/chapter15/15.3/15.3.4/15.3.4.5/15.3.4.5.1/15.3.4.5.1-4-12.js", + path: "TestCases/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-12.js", description: "[[Call]] - length of parameters of 'target' is 1, length of 'boundArgs' is 0, length of 'ExtraArgs' is 2, and with 'boundThis'", diff --git a/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-13.js b/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-13.js index fae62ee47d..ee5fe2a719 100644 --- a/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-13.js +++ b/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-13.js @@ -22,7 +22,7 @@ ES5Harness.registerTest({ id: "15.3.4.5.1-4-13", - path: "TestCases/chapter15/15.3/15.3.4/15.3.4.5/15.3.4.5.1/15.3.4.5.1-4-13.js", + path: "TestCases/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-13.js", description: "[[Call]] - length of parameters of 'target' is 1, length of 'boundArgs' is 1, length of 'ExtraArgs' is 0, and with 'boundThis'", diff --git a/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-14.js b/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-14.js index b5ece02df1..26aa9de857 100644 --- a/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-14.js +++ b/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-14.js @@ -22,7 +22,7 @@ ES5Harness.registerTest({ id: "15.3.4.5.1-4-14", - path: "TestCases/chapter15/15.3/15.3.4/15.3.4.5/15.3.4.5.1/15.3.4.5.1-4-14.js", + path: "TestCases/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-14.js", description: "[[Call]] - length of parameters of 'target' is 1, length of 'boundArgs' is 1, length of 'ExtraArgs' is 1, and with 'boundThis'", diff --git a/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-15.js b/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-15.js index 05f337643c..204d9a89a6 100644 --- a/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-15.js +++ b/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-15.js @@ -22,7 +22,7 @@ ES5Harness.registerTest({ id: "15.3.4.5.1-4-15", - path: "TestCases/chapter15/15.3/15.3.4/15.3.4.5/15.3.4.5.1/15.3.4.5.1-4-15.js", + path: "TestCases/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-15.js", description: "[[Call]] - length of parameters of 'target' is 1, length of 'boundArgs' is 2, length of 'ExtraArgs' is 0, and with 'boundThis'", diff --git a/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-2.js b/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-2.js index 0caf2022c1..d58e016e4f 100644 --- a/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-2.js +++ b/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-2.js @@ -22,7 +22,7 @@ ES5Harness.registerTest({ id: "15.3.4.5.1-4-2", - path: "TestCases/chapter15/15.3/15.3.4/15.3.4.5/15.3.4.5.1/15.3.4.5.1-4-2.js", + path: "TestCases/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-2.js", description: "[[Call]] - 'F''s [[BoundThis]] is used as the 'this' value of calling the [[Call]] internal method of 'F''s [[TargetFunction]] when 'F' is called", diff --git a/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-3.js b/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-3.js index 272ebb2004..6375f54f1c 100644 --- a/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-3.js +++ b/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-3.js @@ -22,7 +22,7 @@ ES5Harness.registerTest({ id: "15.3.4.5.1-4-3", - path: "TestCases/chapter15/15.3/15.3.4/15.3.4.5/15.3.4.5.1/15.3.4.5.1-4-3.js", + path: "TestCases/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-3.js", description: "[[Call]] - the provided arguments is used as the latter part of arguments of calling the [[Call]] internal method of 'F''s [[TargetFunction]] when 'F' is called", diff --git a/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-4.js b/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-4.js index d64b4ed77b..2e21e86059 100644 --- a/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-4.js +++ b/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-4.js @@ -22,7 +22,7 @@ ES5Harness.registerTest({ id: "15.3.4.5.1-4-4", - path: "TestCases/chapter15/15.3/15.3.4/15.3.4.5/15.3.4.5.1/15.3.4.5.1-4-4.js", + path: "TestCases/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-4.js", description: "[[Call]] - length of parameters of 'target' is 0, length of 'boundArgs' is 0, length of 'ExtraArgs' is 0, and without 'boundThis'", diff --git a/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-5.js b/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-5.js index cdd59173a2..08257c7c0c 100644 --- a/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-5.js +++ b/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-5.js @@ -22,7 +22,7 @@ ES5Harness.registerTest({ id: "15.3.4.5.1-4-5", - path: "TestCases/chapter15/15.3/15.3.4/15.3.4.5/15.3.4.5.1/15.3.4.5.1-4-5.js", + path: "TestCases/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-5.js", description: "[[Call]] - length of parameters of 'target' is 0, length of 'boundArgs' is 0, length of 'ExtraArgs' is 1, and without 'boundThis'", diff --git a/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-6.js b/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-6.js index 52c1fa62b5..c4f1e3abf1 100644 --- a/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-6.js +++ b/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-6.js @@ -22,7 +22,7 @@ ES5Harness.registerTest({ id: "15.3.4.5.1-4-6", - path: "TestCases/chapter15/15.3/15.3.4/15.3.4.5/15.3.4.5.1/15.3.4.5.1-4-6.js", + path: "TestCases/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-6.js", description: "[[Call]] - length of parameters of 'target' is 0, length of 'boundArgs' is 0, length of 'ExtraArgs' is 0, and with 'boundThis'", diff --git a/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-7.js b/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-7.js index 5beeeb6f39..ce9355c3ab 100644 --- a/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-7.js +++ b/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-7.js @@ -22,7 +22,7 @@ ES5Harness.registerTest({ id: "15.3.4.5.1-4-7", - path: "TestCases/chapter15/15.3/15.3.4/15.3.4.5/15.3.4.5.1/15.3.4.5.1-4-7.js", + path: "TestCases/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-7.js", description: "[[Call]] - length of parameters of 'target' is 0, length of 'boundArgs' is 1, length of 'ExtraArgs' is 0, and with 'boundThis'", diff --git a/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-8.js b/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-8.js index d4cad8aff1..dc0b90bbf9 100644 --- a/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-8.js +++ b/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-8.js @@ -22,7 +22,7 @@ ES5Harness.registerTest({ id: "15.3.4.5.1-4-8", - path: "TestCases/chapter15/15.3/15.3.4/15.3.4.5/15.3.4.5.1/15.3.4.5.1-4-8.js", + path: "TestCases/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-8.js", description: "[[Call]] - length of parameters of 'target' is 0, length of 'boundArgs' is 0, length of 'ExtraArgs' is 1, and with 'boundThis'", diff --git a/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-9.js b/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-9.js index 006b925460..1fb48cb38f 100644 --- a/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-9.js +++ b/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-9.js @@ -22,7 +22,7 @@ ES5Harness.registerTest({ id: "15.3.4.5.1-4-9", - path: "TestCases/chapter15/15.3/15.3.4/15.3.4.5/15.3.4.5.1/15.3.4.5.1-4-9.js", + path: "TestCases/chapter15/15.3/15.3.4/15.3.4.5.1/15.3.4.5.1-4-9.js", description: "[[Call]] - length of parameters of 'target' is 0, length of 'boundArgs' is 1, length of 'ExtraArgs' is 1, and with 'boundThis'", diff --git a/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-1.js b/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-1.js index e85ba665a8..5b611e0caf 100644 --- a/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-1.js +++ b/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-1.js @@ -22,7 +22,7 @@ ES5Harness.registerTest({ id: "15.3.4.5.2-4-1", - path: "TestCases/chapter15/15.3/15.3.4/15.3.4.5/15.3.4.5.2/15.3.4.5.2-4-1.js", + path: "TestCases/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-1.js", description: "[[Construct]] - 'F''s [[BoundArgs]] is used as the former part of arguments of calling the [[Construct]] internal method of 'F''s [[TargetFunction]] when 'F' is called as constructor", diff --git a/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-10.js b/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-10.js index b0a1c14fc5..24f8e3b0cf 100644 --- a/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-10.js +++ b/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-10.js @@ -22,7 +22,7 @@ ES5Harness.registerTest({ id: "15.3.4.5.2-4-10", - path: "TestCases/chapter15/15.3/15.3.4/15.3.4.5/15.3.4.5.2/15.3.4.5.2-4-10.js", + path: "TestCases/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-10.js", description: "[[Construct]] - length of parameters of 'target' is 1, length of 'boundArgs' is 0, length of 'ExtraArgs' is 1", diff --git a/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-11.js b/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-11.js index 6113fabf3c..65b81630f1 100644 --- a/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-11.js +++ b/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-11.js @@ -22,7 +22,7 @@ ES5Harness.registerTest({ id: "15.3.4.5.2-4-11", - path: "TestCases/chapter15/15.3/15.3.4/15.3.4.5/15.3.4.5.2/15.3.4.5.2-4-11.js", + path: "TestCases/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-11.js", description: "[[Construct]] - length of parameters of 'target' is 1, length of 'boundArgs' is 0, length of 'ExtraArgs' is 2", diff --git a/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-12.js b/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-12.js index 97b54b9b88..7babf01ee8 100644 --- a/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-12.js +++ b/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-12.js @@ -22,7 +22,7 @@ ES5Harness.registerTest({ id: "15.3.4.5.2-4-12", - path: "TestCases/chapter15/15.3/15.3.4/15.3.4.5/15.3.4.5.2/15.3.4.5.2-4-12.js", + path: "TestCases/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-12.js", description: "[[Construct]] - length of parameters of 'target' is 1, length of 'boundArgs' is 1, length of 'ExtraArgs' is 0", diff --git a/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-13.js b/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-13.js index c1f885dfc0..10583b0856 100644 --- a/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-13.js +++ b/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-13.js @@ -22,7 +22,7 @@ ES5Harness.registerTest({ id: "15.3.4.5.2-4-13", - path: "TestCases/chapter15/15.3/15.3.4/15.3.4.5/15.3.4.5.2/15.3.4.5.2-4-13.js", + path: "TestCases/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-13.js", description: "[[Construct]] - length of parameters of 'target' is 1, length of 'boundArgs' is 1, length of 'ExtraArgs' is 1", diff --git a/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-14.js b/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-14.js index e6ac9ea24c..579a373cc7 100644 --- a/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-14.js +++ b/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-14.js @@ -22,7 +22,7 @@ ES5Harness.registerTest({ id: "15.3.4.5.2-4-14", - path: "TestCases/chapter15/15.3/15.3.4/15.3.4.5/15.3.4.5.2/15.3.4.5.2-4-14.js", + path: "TestCases/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-14.js", description: "[[Construct]] - length of parameters of 'target' is 1, length of 'boundArgs' is 2, length of 'ExtraArgs' is 0", diff --git a/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-2.js b/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-2.js index f689d2e7ef..c0055c9f44 100644 --- a/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-2.js +++ b/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-2.js @@ -22,7 +22,7 @@ ES5Harness.registerTest({ id: "15.3.4.5.2-4-2", - path: "TestCases/chapter15/15.3/15.3.4/15.3.4.5/15.3.4.5.2/15.3.4.5.2-4-2.js", + path: "TestCases/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-2.js", description: "[[Construct]] - the provided arguments is used as the latter part of arguments of calling the [[Construct]] internal method of 'F''s [[TargetFunction]] when 'F' is called as constructor", diff --git a/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-3.js b/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-3.js index c017e3a1ab..65f61a10d0 100644 --- a/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-3.js +++ b/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-3.js @@ -22,7 +22,7 @@ ES5Harness.registerTest({ id: "15.3.4.5.2-4-3", - path: "TestCases/chapter15/15.3/15.3.4/15.3.4.5/15.3.4.5.2/15.3.4.5.2-4-3.js", + path: "TestCases/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-3.js", description: "[[Construct]] - length of parameters of 'target' is 0, length of 'boundArgs' is 0, length of 'ExtraArgs' is 0, and without 'boundThis'", diff --git a/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-4.js b/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-4.js index f5014179f8..09d86ac502 100644 --- a/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-4.js +++ b/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-4.js @@ -22,7 +22,7 @@ ES5Harness.registerTest({ id: "15.3.4.5.2-4-4", - path: "TestCases/chapter15/15.3/15.3.4/15.3.4.5/15.3.4.5.2/15.3.4.5.2-4-4.js", + path: "TestCases/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-4.js", description: "[[Construct]] - length of parameters of 'target' is 0, length of 'boundArgs' is 0, length of 'ExtraArgs' is 1, and without 'boundThis'", diff --git a/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-5.js b/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-5.js index 82fef551c1..9e7f9ea88f 100644 --- a/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-5.js +++ b/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-5.js @@ -22,7 +22,7 @@ ES5Harness.registerTest({ id: "15.3.4.5.2-4-5", - path: "TestCases/chapter15/15.3/15.3.4/15.3.4.5/15.3.4.5.2/15.3.4.5.2-4-5.js", + path: "TestCases/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-5.js", description: "[[Construct]] - length of parameters of 'target' is 0, length of 'boundArgs' is 0, length of 'ExtraArgs' is 0, and with 'boundThis'", diff --git a/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-6.js b/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-6.js index 6d32855f8c..0bbc6092b4 100644 --- a/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-6.js +++ b/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-6.js @@ -22,7 +22,7 @@ ES5Harness.registerTest({ id: "15.3.4.5.2-4-6", - path: "TestCases/chapter15/15.3/15.3.4/15.3.4.5/15.3.4.5.2/15.3.4.5.2-4-6.js", + path: "TestCases/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-6.js", description: "[[Construct]] - length of parameters of 'target' is 0, length of 'boundArgs' is 1, length of 'ExtraArgs' is 0", diff --git a/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-7.js b/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-7.js index 8ecef91357..a57170c7de 100644 --- a/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-7.js +++ b/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-7.js @@ -22,7 +22,7 @@ ES5Harness.registerTest({ id: "15.3.4.5.2-4-7", - path: "TestCases/chapter15/15.3/15.3.4/15.3.4.5/15.3.4.5.2/15.3.4.5.2-4-7.js", + path: "TestCases/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-7.js", description: "[[Construct]] - length of parameters of 'target' is 0, length of 'boundArgs' is 0, length of 'ExtraArgs' is 1", diff --git a/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-8.js b/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-8.js index 140b3bf262..5d5cf906d1 100644 --- a/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-8.js +++ b/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-8.js @@ -22,7 +22,7 @@ ES5Harness.registerTest({ id: "15.3.4.5.2-4-8", - path: "TestCases/chapter15/15.3/15.3.4/15.3.4.5/15.3.4.5.2/15.3.4.5.2-4-8.js", + path: "TestCases/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-8.js", description: "[[Construct]] - length of parameters of 'target' is 0, length of 'boundArgs' is 1, length of 'ExtraArgs' is 1", diff --git a/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-9.js b/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-9.js index 6fee87b925..053b9f1ca1 100644 --- a/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-9.js +++ b/test/suite/ietestcenter/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-9.js @@ -22,7 +22,7 @@ ES5Harness.registerTest({ id: "15.3.4.5.2-4-9", - path: "TestCases/chapter15/15.3/15.3.4/15.3.4.5/15.3.4.5.2/15.3.4.5.2-4-9.js", + path: "TestCases/chapter15/15.3/15.3.4/15.3.4.5.2/15.3.4.5.2-4-9.js", description: "[[Construct]] - length of parameters of 'target' is 1, length of 'boundArgs' is 0, length of 'ExtraArgs' is 0", diff --git a/test/suite/ietestcenter/chapter15/15.7/15.7.4/15.7.4-1.js b/test/suite/ietestcenter/chapter15/15.7/15.7.4/15.7.4-1.js index 1ec2775936..9c39736f14 100644 --- a/test/suite/ietestcenter/chapter15/15.7/15.7.4/15.7.4-1.js +++ b/test/suite/ietestcenter/chapter15/15.7/15.7.4/15.7.4-1.js @@ -22,7 +22,7 @@ ES5Harness.registerTest( { id: "15.7.4-1", -path: "TestCases/chapter15/15.7/15.7.3/15.7.4/15.7.4-1.js", +path: "TestCases/chapter15/15.7/15.7.4/15.7.4-1.js", description: "Number prototype object: its [[Class]] must be 'Number'", diff --git a/tools/TestCaseHTMLPackager/TestCasePackager.py b/tools/TestCaseHTMLPackager/TestCasePackager.py index 240fe97448..9feb9feeeb 100644 --- a/tools/TestCaseHTMLPackager/TestCasePackager.py +++ b/tools/TestCaseHTMLPackager/TestCasePackager.py @@ -99,8 +99,8 @@ def getJSCount(dirName): tempList = [os.path.join(dirName, x) for x in os.listdir(dirName)] for x in tempList: retVal += getJSCount(x) - else: - raise Exception("getJSCount: encountered a non-file/non-dir!") + #else: + # raise Exception("getJSCount: encountered a non-file/non-dir!") return retVal #------------------------------------------------------------------------------ diff --git a/tools/misc/FixPathsAndIds.py b/tools/misc/FixPathsAndIds.py new file mode 100644 index 0000000000..b82ae605e8 --- /dev/null +++ b/tools/misc/FixPathsAndIds.py @@ -0,0 +1,80 @@ +#--Imports--------------------------------------------------------------------- +import argparse +import os +import sys +import re + +#--Globals--------------------------------------------------------------------- +PRE_PATH = "TestCases/" + +#------------------------------------------------------------------------------ +def getAllJSFiles(dirName): + ''' + Returns all JS files under dirName + ''' + retVal = [] + if os.path.isfile(dirName) and dirName.endswith(".js"): + retVal = [dirName] + elif os.path.isdir(dirName): + tempList = [os.path.join(dirName, x) for x in os.listdir(dirName)] + for x in tempList: + retVal += getAllJSFiles(x) + #else: + # raise Exception("getAllJSFiles: encountered a non-file/non-dir:" + dirName) + return retVal + +#------------------------------------------------------------------------------ +def handleFile(filePath, partialPath): + global PRE_PATH + + tempPath = filePath.replace(partialPath + os.path.sep, "", 1) + tempPath = tempPath.replace(os.path.sep, "/") + tempId = tempPath.rsplit("/", 1)[1][:-3] + + with open(filePath, "r") as f: + origLines = f.readlines() + + with open(filePath, "w") as f: + pathHit = False + idHit = False + testHit = False + descriptHit = False + + for line in origLines: + #TODO? + #if (not testHit) and re.match("^$", line)!=None: + # #Throw away empty lines until we hit the first test function + # continue + #elif (not testHit) and re.search("test\s*:\s*function\s+testcase\(\)", line)!=None: + # testHit = True + # line = line.rstrip() + os.linesep + if (not pathHit) and re.search("path\s*:\s*\"", line)!=None: + pathHit = True + line = re.sub("\"[^\"]*\"", + "\"%s\"" % (PRE_PATH + tempPath), + line) + elif (not idHit) and re.search("id\s*:\s*\"", line)!=None: + idHit = True + line = re.sub("\"[^\"]*\"", + "\"%s\"" % tempId, + line) + #TODO? + #elif (not descriptHit) and re.search("description\s*:\s*\"", line)!=None: + # descriptHit = True + # line = line.strip() + os.linesep + f.write(line) + +#--Main------------------------------------------------------------------------ +if __name__=="__main__": + __parser = argparse.ArgumentParser(description='Tool used to fix the id and path properties of test case objects') + __parser.add_argument('tpath', action='store', + help='Full path to test cases. E.g., C:\repos\test262-msft\test\suite\ietestcenter') + ARGS = __parser.parse_args() + if not os.path.exists(ARGS.tpath): + print "Cannot fix tests in '%s' when it doesn't exist!" % ARGS.tpath + sys.exit(1) + + ALL_JS_FILES = getAllJSFiles(ARGS.tpath) + for fileName in ALL_JS_FILES: + handleFile(fileName, ARGS.tpath) + print "Done!" \ No newline at end of file diff --git a/tools/misc/move_test.py b/tools/misc/move_test.py new file mode 100644 index 0000000000..4132eef867 --- /dev/null +++ b/tools/misc/move_test.py @@ -0,0 +1,104 @@ +#--Imports--------------------------------------------------------------------- +import argparse +import os +import sys +import re + +#--Globals--------------------------------------------------------------------- +PRE_PATH = "TestCases/" + +#------------------------------------------------------------------------------ +def getAllJSFiles(dirName): + ''' + Returns all JS files under dirName + ''' + retVal = [] + if os.path.isfile(dirName) and dirName.endswith(".js"): + retVal = [dirName] + elif os.path.isdir(dirName): + tempList = [os.path.join(dirName, x) for x in os.listdir(dirName)] + for x in tempList: + retVal += getAllJSFiles(x) + #else: + # raise Exception("getAllJSFiles: encountered a non-file/non-dir:" + dirName) + return retVal + +#------------------------------------------------------------------------------ +def handleFile(filePath, partialPath): + global PRE_PATH + + tempPath = filePath.replace(partialPath + os.path.sep, "", 1) + tempPath = tempPath.replace(os.path.sep, "/") + tempId = tempPath.rsplit("/", 1)[1][:-3] + + with open(filePath, "r") as f: + origLines = f.readlines() + + with open(filePath, "w") as f: + pathHit = False + idHit = False + testHit = False + descriptHit = False + + for line in origLines: + if (not testHit) and re.match("^$", line)!=None: + #Throw away empty lines until we hit the first test function + continue + elif (not testHit) and re.search("test\s*:\s*function\s+testcase\(\)", line)!=None: + testHit = True + line = line.rstrip() + os.linesep + elif (not pathHit) and re.search("path\s*:\s*\"", line)!=None: + pathHit = True + line = "path: \"%s\",%s" % (PRE_PATH + tempPath, os.linesep) + elif (not idHit) and re.search("id\s*:\s*\"", line)!=None: + idHit = True + line = "id: \"%s\",%s" % (tempId, os.linesep) + elif (not descriptHit) and re.search("description\s*:\s*\"", line)!=None: + descriptHit = True + line = line.strip() + os.linesep + f.write(line) + +def getPartialPath(tc): + tc = os.path.splitext(os.path.basename(tc))[0] + if not ("-" in tc): + print "'-' not detected in '%s'; cannot continue!" % tc + sys.exit(1) + elif not ("." in tc): + tc = tc.replace("-", ".0-", 1) + + #Generate the partial path of the test case + tempList = tc.split("-",1)[0].split(".") + partialPath = "" + for i in xrange(1, len(tempList)+1): + partialPath += ".".join(tempList[0:i]) + os.path.sep + partialPath = os.path.join(partialPath, tc + ".js") + if partialPath.index(os.path.sep)==1: + partialPath = "chapter0" + partialPath + elif partialPath.index(os.path.sep)==2: + partialPath = "chapter" + partialPath + return partialPath + + +#--Main------------------------------------------------------------------------ +if __name__=="__main__": + __parser = argparse.ArgumentParser(description='Tool used to fix the id and path properties of test case objects') + __parser.add_argument('path', action='store', + help='Full path to test cases. E.g., C:\repos\test262-msft\test\suite\ietestcenter') + __parser.add_argument('add', action='store', + help='Command used to add a test file to source control') + __parser.add_argument('del', action='store', + help='Command used to remove a test file from source control') + __parser.add_argument('tc', action='store', + help='test case to move') + + ARGS = __parser.parse_args() + if not os.path.exists(ARGS.path): + print "Cannot fix tests in '%s' when it doesn't exist!" % ARGS.path + sys.exit(1) + elif not os.path.isfile(ARGS.tc): + print "Cannot move '%s' when it doesn't exist!" % ARGS.tc + + partialPath = getPartialPath(ARGS.tc) + + + print "Done!", partialPath \ No newline at end of file diff --git a/website/resources/scripts/testcases/15.10.json b/website/resources/scripts/testcases/15.10.json index baf1481af3..f4fcda338a 100644 --- a/website/resources/scripts/testcases/15.10.json +++ b/website/resources/scripts/testcases/15.10.json @@ -1 +1 @@ -{"testsCollection":{"name":"Chapter - 15.10","numTests":"21","tests":[{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4xMC4yLjE1LTMtMSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy8xNS4xMC4yLjE1LTMtMS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJQYXR0ZXJuIC0gU3ludGF4RXJyb3Igd2FzIHRocm93biB3aGVuICdBJyBkb2VzIG5vdCBjb250YWluIGV4YWN0bHkgb25lIGNoYXJhY3RlciAoMTUuMTAuMi41IHN0ZXAgMykiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHRyeSB7CiAgICAgICAgICAgIHZhciByZWdFeHAgPSBuZXcgUmVnRXhwKCJeWy93LWNdJCIpOwoKICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBTeW50YXhFcnJvcjsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"15.10.2.15-3-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4xMC4yLjE1LTMtMiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy8xNS4xMC4yLjE1LTMtMi5qcyIsCgogICAgZGVzY3JpcHRpb246ICJQYXR0ZXJuIC0gU3ludGF4RXJyb3Igd2FzIHRocm93biB3aGVuICdCJyBkb2VzIG5vdCBjb250YWluIGV4YWN0bHkgb25lIGNoYXJhY3RlciAoMTUuMTAuMi41IHN0ZXAgMykiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHRyeSB7CiAgICAgICAgICAgIHZhciByZWdFeHAgPSBuZXcgUmVnRXhwKCJeW2EtL3ddJCIpOwoKICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBTeW50YXhFcnJvcjsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"15.10.2.15-3-2"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4xMC4yLjE1LTYtMSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy8xNS4xMC4yLjE1LTYtMS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJQYXR0ZXJuIC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43LjUtMiIsCgpwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4xMC8xNS4xMC43LzE1LjEwLjcuNS8xNS4xMC43LjUtMi5qcyIsCgpkZXNjcmlwdGlvbjogIlJlZ0V4cC5wcm90b3R5cGUubGFzdEluZGV4IGlzIGEgZGF0YSBwcm9wZXJ0eSB3aXRoIHNwZWNpZmllZCBhdHRyaWJ1dGUgdmFsdWVzIiwKCnRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogIHZhciBkID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihSZWdFeHAucHJvdG90eXBlLCAnbGFzdEluZGV4Jyk7CiAgCiAgaWYgKGQud3JpdGFibGUgPT09IHRydWUgJiYKICAgICAgZC5lbnVtZXJhYmxlID09PSBmYWxzZSAmJgogICAgICBkLmNvbmZpZ3VyYWJsZSA9PT0gZmFsc2UpIHsKICAgIHJldHVybiB0cnVlOwogIH0KIH0sCgpwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcik7ICAKIH0KfSk7Cg==","id":"15.10.7.5-2"}]}} \ No newline at end of file +{"testsCollection":{"name":"Chapter - 15.10","numTests":"21","tests":[{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4xMC4yLjE1LTMtMSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMTAvMTUuMTAuMi8xNS4xMC4yLjE1LTMtMS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJQYXR0ZXJuIC0gU3ludGF4RXJyb3Igd2FzIHRocm93biB3aGVuICdBJyBkb2VzIG5vdCBjb250YWluIGV4YWN0bHkgb25lIGNoYXJhY3RlciAoMTUuMTAuMi41IHN0ZXAgMykiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHRyeSB7CiAgICAgICAgICAgIHZhciByZWdFeHAgPSBuZXcgUmVnRXhwKCJeWy93LWNdJCIpOwoKICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBTeW50YXhFcnJvcjsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"15.10.2.15-3-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4xMC4yLjE1LTMtMiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMTAvMTUuMTAuMi8xNS4xMC4yLjE1LTMtMi5qcyIsCgogICAgZGVzY3JpcHRpb246ICJQYXR0ZXJuIC0gU3ludGF4RXJyb3Igd2FzIHRocm93biB3aGVuICdCJyBkb2VzIG5vdCBjb250YWluIGV4YWN0bHkgb25lIGNoYXJhY3RlciAoMTUuMTAuMi41IHN0ZXAgMykiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHRyeSB7CiAgICAgICAgICAgIHZhciByZWdFeHAgPSBuZXcgUmVnRXhwKCJeW2EtL3ddJCIpOwoKICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBTeW50YXhFcnJvcjsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"15.10.2.15-3-2"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4x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CiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgIHJldHVybiBlIGluc3RhbmNlb2YgU3ludGF4RXJyb3I7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"15.10.2.2-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4xMC4yLjUtMy0xIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4xMC8xNS4xMC4yLzE1LjEwLjIuNS0zLTEuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiVGVybSAtIFN5bnRheEVycm9yIHdhcyB0aHJvd24gd2hlbiBtYXggaXMgZmluaXRlIGFuZCBsZXNzIHRoYW4gbWluICgxNS4xMC4yLjUgc3RlcCAzKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgdmFyIHJlZ0V4cCA9IG5ldyBSZWdFeHAoIjB7MiwxfSIpOwoKICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBTeW50YXhFcnJvcjsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"15.10.2.5-3-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4xMC40LjEtMSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMTAvMTUuMTAuNC8xNS4xMC40LjEtMS5qcyIsCgogICAgZGVz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WdFeHBPYmogPSBuZXcgUmVnRXhwKCdcXCcpOwoKICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBTeW50YXhFcnJvcjsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"15.10.4.1-2"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4xMC40LjEtMyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMTAvMTUuMTAuNC8xNS4xMC40LjEtMy5qcyIsCgogICAgZGVzY3JpcHRpb246ICJSZWdFeHAgLSB0aGUgdGhyb3duIGVycm9yIGlzIFN5bnRheEVycm9yIGluc3RlYWQgb2YgUmVnRXhwRXJyb3Igd2hlbiAnRicgY29udGFpbnMgYW55IGNoYXJhY3RlciBvdGhlciB0aGFuICdnJywgJ2knLCBvciAnbScgIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB0cnkgewogICAgICAgICAgICB2YXIgcmVnRXhwT2JqID0gbmV3IFJlZ0V4cCgnYWJjJywgJ2EnKTsKCiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgIHJldHVybiBlIGluc3RhbmNlb2YgU3ludGF4RXJyb3I7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"15.10.4.1-3"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4xMC40LjEtNCIsCgogICAgcGF0aDogIl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W9uIHRlc3RjYXNlKCkgewogIHJldHVybiAodHlwZW9mKFJlZ0V4cC5wcm90b3R5cGUubGFzdEluZGV4KSkgPT09ICdudW1iZXInOwogfQp9KTsK","id":"15.10.7.5-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxNS4xMC43LjUtMiIsCgpwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4xMC8xNS4xMC43LzE1LjEwLjcuNS8xNS4xMC43LjUtMi5qcyIsCgpkZXNjcmlwdGlvbjogIlJlZ0V4cC5wcm90b3R5cGUubGFzdEluZGV4IGlzIGEgZGF0YSBwcm9wZXJ0eSB3aXRoIHNwZWNpZmllZCBhdHRyaWJ1dGUgdmFsdWVzIiwKCnRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogIHZhciBkID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihSZWdFeHAucHJvdG90eXBlLCAnbGFzdEluZGV4Jyk7CiAgCiAgaWYgKGQud3JpdGFibGUgPT09IHRydWUgJiYKICAgICAgZC5lbnVtZXJhYmxlID09PSBmYWxzZSAmJgogICAgICBkLmNvbmZpZ3VyYWJsZSA9PT0gZmFsc2UpIHsKICAgIHJldHVybiB0cnVlOwogIH0KIH0sCgpwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcik7ICAKIH0KfSk7Cg==","id":"15.10.7.5-2"}]}} \ No newline at end of file diff --git a/website/resources/scripts/testcases/15.12.json b/website/resources/scripts/testcases/15.12.json index 37cfa0b663..6b66e8cb41 100644 --- a/website/resources/scripts/testcases/15.12.json +++ b/website/resources/scripts/testcases/15.12.json @@ -1 +1 @@ -{"testsCollection":{"name":"Chapter - 15.12","numTests":"102","tests":[{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6IC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VwiJzsKICAgICAgICBudWxsQ2hhcnNbMjZdID0gJ1wiXHUwMDFBXCInOwogICAgICAgIG51bGxDaGFyc1syN10gPSAnXCJcdTAwMUJcIic7CiAgICAgICAgbnVsbENoYXJzWzI4XSA9ICdcIlx1MDAxQ1wiJzsKICAgICAgICBudWxsQ2hhcnNbMjldID0gJ1wiXHUwMDFEXCInOwogICAgICAgIG51bGxDaGFyc1szMF0gPSAnXCJcdTAwMUVcIic7CiAgICAgICAgbnVsbENoYXJzWzMxXSA9ICdcIlx1MDAxRlwiJzsKCiAgICAgICAgZm9yICh2YXIgaW5kZXggaW4gbnVsbENoYXJzKSB7CiAgICAgICAgICAgIHRyeSB7CiAgICAgICAgICAgICAgICB2YXIgb2JqID0gSlNPTi5wYXJzZSgneyAnICsgbnVsbENoYXJzW2luZGV4XSArICcgOiAiSm9obiIgfSAnKTsKICAgICAgICAgICAgICAgIHJlc3VsdCA9IChyZXN1bHQgJiYgZmFsc2UpOwogICAgICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgICAgICByZXN1bHQgPSAocmVzdWx0ICYmIChlIGluc3RhbmNlb2YgU3ludGF4RXJyb3IpKTsKICAgICAgICAgICAgfQogICAgICAgIH0KICAgICAgICByZXR1cm4gcmVzdWx0OwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"15.12.2-2-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4xMi4yLTItMTAiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjEyLzE1LjEyLjIvMTUuMTIuMi0yLTEwLmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIkpTT04ucGFyc2UgLSBwYXJzaW5nIGFuIG9iamVjdCB3aGVyZSBwcm9wZXJ0eSB2YWx1ZSBtaWRkbGVzIH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bGxDaGFyc1sxOV0gPSAnXCJcdTAwMTNcIic7CiAgICAgICAgbnVsbENoYXJzWzIwXSA9ICdcIlx1MDAxNFwiJzsKICAgICAgICBudWxsQ2hhcnNbMjFdID0gJ1wiXHUwMDE1XCInOwogICAgICAgIG51bGxDaGFyc1syMl0gPSAnXCJcdTAwMTZcIic7CiAgICAgICAgbnVsbENoYXJzWzIzXSA9ICdcIlx1MDAxN1wiJzsKICAgICAgICBudWxsQ2hhcnNbMjRdID0gJ1wiXHUwMDE4XCInOwogICAgICAgIG51bGxDaGFyc1syNV0gPSAnXCJcdTAwMTlcIic7CiAgICAgICAgbnVsbENoYXJzWzI2XSA9ICdcIlx1MDAxQVwiJzsKICAgICAgICBudWxsQ2hhcnNbMjddID0gJ1wiXHUwMDFCXCInOwogICAgICAgIG51bGxDaGFyc1syOF0gPSAnXCJcdTAwMUNcIic7CiAgICAgICAgbnVsbENoYXJzWzI5XSA9ICdcIlx1MDAxRFwiJzsKICAgICAgICBudWxsQ2hhcnNbMzBdID0gJ1wiXHUwMDFFXCInOwogICAgICAgIG51bGxDaGFyc1szMV0gPSAnXCJcdTAwMUZcIic7CgogICAgICAgIGZvciAodmFyIGluZGV4IGluIG51bGxDaGFycykgewogICAgICAgICAgICB0cnkgewogICAgICAgICAgICAgICAgdmFyIG9iaiA9IEpTT04ucGFyc2UoJ3sgIm5hbWUiIDogJyArICJKbyIgKyBudWxsQ2hhcnNbaW5kZXhdICsgImhuIiArICcgfSAnKTsKICAgICAgICAgICAgICAgIHJlc3VsdCA9IChyZXN1bHQgJiYgZmFsc2UpOwogICAgICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgICAgICByZXN1bHQgPSAocmVzdWx0ICYmIChlIGluc3RhbmNlb2YgU3ludGF4RXJyb3IpKTsKICAgICAgICAgICAgfQogICAgICAgIH0KICAgICAgICByZXR1cm4gcmVzdWx0OwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSg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bnVsbENoYXJzW2luZGV4XSArICJuYW1lIiArICcgOiAiSm9obiIgfSAnKTsKICAgICAgICAgICAgICAgIHJlc3VsdCA9IChyZXN1bHQgJiYgZmFsc2UpOwogICAgICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgICAgICByZXN1bHQgPSAocmVzdWx0ICYmIChlIGluc3RhbmNlb2YgU3ludGF4RXJyb3IpKTsKICAgICAgICAgICAgfQogICAgICAgIH0KICAgICAgICByZXR1cm4gcmVzdWx0OwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"15.12.2-2-2"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4xMi4yLTItMyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMTIvMTUuMTIuMi8xNS4xMi4yLTItMy5qcyIsCgogICAgZGVzY3JpcHRpb246ICJKU09OLnBhcnNlIC0gcGFyc2luZyBhbiBvYmplY3Qgd2hlcmUgcHJvcGVydHkgbmFtZSBlbmRzIHdpdGggYSBudWxsIGNoYXJhY3RlciIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIHZhciByZXN1bHQgPSB0cnVlOwoKICAgICAgICB2YXIgbnVsbENoYXJzID0gbmV3IEFycmF5KCk7CiAgICAgICAgbnVsbENoYXJzWzBdID0gJ1wiXHUwMDAwXCInOwogICAgICAgIG51bGxDaGFyc1sxXSA9ICdcIlx1MDAwMVwiJzsKICAgICAgICBudWxsQ2hhcnNbMl0gPSAnXCJcdTAwMDJcIic7CiAgICAgICAgbnVsbENoYXJzWzNdID0gJ1wiXHUwMDAzXCInOwogICAgICAgIG51bGxDaGFyc1s0XSA9ICdcIlx1MDAwNFwiJzsKICAgICAgICBudWxsQ2hhcnNbNV0gPSAnXCJcdTAwM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ICAgIG51bGxDaGFyc1syOF0gPSAnXCJcdTAwMUNcIic7CiAgICAgICAgbnVsbENoYXJzWzI5XSA9ICdcIlx1MDAxRFwiJzsKICAgICAgICBudWxsQ2hhcnNbMzBdID0gJ1wiXHUwMDFFXCInOwogICAgICAgIG51bGxDaGFyc1szMV0gPSAnXCJcdTAwMUZcIic7CgogICAgICAgIGZvciAodmFyIGluZGV4IGluIG51bGxDaGFycykgewogICAgICAgICAgICB0cnkgewogICAgICAgICAgICAgICAgdmFyIG9iaiA9IEpTT04ucGFyc2UoJ3snICsgIm5hbWUiICsgbnVsbENoYXJzW2luZGV4XSArICcgOiAiSm9obiIgfSAnKTsKICAgICAgICAgICAgICAgIHJlc3VsdCA9IChyZXN1bHQgJiYgZmFsc2UpOwogICAgICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgICAgICByZXN1bHQgPSAocmVzdWx0ICYmIChlIGluc3RhbmNlb2YgU3ludGF4RXJyb3IpKTsKICAgICAgICAgICAgfQogICAgICAgIH0KICAgICAgICByZXR1cm4gcmVzdWx0OwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"15.12.2-2-3"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4xMi4yLTItNCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMTIvMTUuMTIuMi8xNS4xMi4yLTItNC5qcyIsCgogICAgZGVzY3JpcHRpb246ICJKU09OLnBhcnNlIC0gcGFyc2luZyBhbiBvYmplY3Qgd2hlcmUgcHJvcGVydHkgbmFtZSBzdGFydHMgYW5kIGVuZHMgd2l0aCBhIG51bGwgY2hhcmFjdGVyIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKCiAgICAgICAgdmFyIHJlc3VsdCA9IHRyd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xDaGFyc1syMV0gPSAnXCJcdTAwMTVcIic7CiAgICAgICAgbnVsbENoYXJzWzIyXSA9ICdcIlx1MDAxNlwiJzsKICAgICAgICBudWxsQ2hhcnNbMjNdID0gJ1wiXHUwMDE3XCInOwogICAgICAgIG51bGxDaGFyc1syNF0gPSAnXCJcdTAwMThcIic7CiAgICAgICAgbnVsbENoYXJzWzI1XSA9ICdcIlx1MDAxOVwiJzsKICAgICAgICBudWxsQ2hhcnNbMjZdID0gJ1wiXHUwMDFBXCInOwogICAgICAgIG51bGxDaGFyc1syN10gPSAnXCJcdTAwMUJcIic7CiAgICAgICAgbnVsbENoYXJzWzI4XSA9ICdcIlx1MDAxQ1wiJzsKICAgICAgICBudWxsQ2hhcnNbMjldID0gJ1wiXHUwMDFEXCInOwogICAgICAgIG51bGxDaGFyc1szMF0gPSAnXCJcdTAwMUVcIic7CiAgICAgICAgbnVsbENoYXJzWzMxXSA9ICdcIlx1MDAxRlwiJzsKCiAgICAgICAgZm9yICh2YXIgaW5kZXggaW4gbnVsbENoYXJzKSB7CiAgICAgICAgICAgIHRyeSB7CiAgICAgICAgICAgICAgICB2YXIgb2JqID0gSlNPTi5wYXJzZSgneycgKyBudWxsQ2hhcnNbaW5kZXhdICsgIm5hbWUiICsgbnVsbENoYXJzW2luZGV4XSArICcgOiAiSm9obiIgfSAnKTsKICAgICAgICAgICAgICAgIHJlc3VsdCA9IChyZXN1bHQgJiYgZmFsc2UpOwogICAgICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgICAgICByZXN1bHQgPSAocmVzdWx0ICYmIChlIGluc3RhbmNlb2YgU3ludGF4RXJyb3IpKTsKICAgICAgICAgICAgfQogICAgICAgIH0KICAgICAgICByZXR1cm4gcmVzdWx0OwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7","id":"15.12.2-2-4"},{"code":"RVM1SGFybm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InOwogICAgICAgIG51bGxDaGFyc1sxNF0gPSAnXCJcdTAwMEVcIic7CiAgICAgICAgbnVsbENoYXJzWzE1XSA9ICdcIlx1MDAwRlwiJzsKICAgICAgICBudWxsQ2hhcnNbMTZdID0gJ1wiXHUwMDEwXCInOwogICAgICAgIG51bGxDaGFyc1sxN10gPSAnXCJcdTAwMTFcIic7CiAgICAgICAgbnVsbENoYXJzWzE4XSA9ICdcIlx1MDAxMlwiJzsKICAgICAgICBudWxsQ2hhcnNbMTldID0gJ1wiXHUwMDEzXCInOwogICAgICAgIG51bGxDaGFyc1syMF0gPSAnXCJcdTAwMTRcIic7CiAgICAgICAgbnVsbENoYXJzWzIxXSA9ICdcIlx1MDAxNVwiJzsKICAgICAgICBudWxsQ2hhcnNbMjJdID0gJ1wiXHUwMDE2XCInOwogICAgICAgIG51bGxDaGFyc1syM10gPSAnXCJcdTAwMTdcIic7CiAgICAgICAgbnVsbENoYXJzWzI0XSA9ICdcIlx1MDAxOFwiJzsKICAgICAgICBudWxsQ2hhcnNbMjVdID0gJ1wiXHUwMDE5XCInOwogICAgICAgIG51bGxDaGFyc1syNl0gPSAnXCJcdTAwMUFcIic7CiAgICAgICAgbnVsbENoYXJzWzI3XSA9ICdcIlx1MDAxQlwiJzsKICAgICAgICBudWxsQ2hhcnNbMjhdID0gJ1wiXHUwMDFDXCInOwogICAgICAgIG51bGxDaGFyc1syOV0gPSAnXCJcdTAwMURcIic7CiAgICAgICAgbnVsbENoYXJzWzMwXSA9ICdcIlx1MDAxRVwiJzsKICAgICAgICBudWxsQ2hhcnNbMzFdID0gJ1wiXHUwMDFGXCInOwoKICAgICAgICBmb3IgKHZhciBpbmRleCBpbiBudWxsQ2hhcnMpIHsKICAgICAgICAgICAgdHJ5IHsKICAgICAgICAgICAgICAgIHZhciBvYmogPSBKU09OLnBhcnNlKCd7ICcgKyAibmEiICsgbnVsbENoYXJzW2luZGV4XSArICJtZSIgKyAnIDogIkpvaG4iIH0gJyk7CiAgICAgICAgICAgICAgICByZXN1bHQgPSAocmVzdWx0ICYmIGZhbHNlKTsKICAgICAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICAgICAgcmVzdWx0ID0gKHJlc3VsdCAmJiAoZSBpbnN0YW5jZW9mIFN5bnRheEVycm9yKSk7CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICAgICAgcmV0dXJuIHJlc3VsdDsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"15.12.2-2-5"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4xMi4yLTItNiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMTIvMTUuMTIuMi8xNS4xMi4yLTItNi5qcyIsCgogICAgZGVzY3JpcHRpb246ICJKU09OLnBhcnNlIC0gcGFyc2luZyBhbiBvYmplY3Qgd2hlcmUgcHJvcGVydHkgdmFsdWUgaXMgYSBudWxsIGNoYXJhY3RlciIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIHZhciByZXN1bHQgPSB0cnVlOwoKICAgICAgICB2YXIgbnVsbENoYXJzID0gbmV3IEFycmF5KCk7CiAgICAgICAgbnVsbENoYXJzWzBdID0gJ1wiXHUwMDAwXCInOwogICAgICAgIG51bGxDaGFyc1sxXSA9ICdcIlx1MDAwMVwiJzsKICAgICAgICBudWxsQ2hhcnNbMl0gPSAnXCJcdTAwMDJcIic7CiAgICAgICAgbnVsbENoYXJzWzNdID0gJ1wiXHUwMDAzXCInOwogICAgICAgIG51bGxDaGFyc1s0XSA9ICdcIlx1MDAwNFwiJzsKICAgICAgICBudWxsQ2hhcnNbNV0gPSAnXCJcdTAwMDVcIic7CiAgICAgICAgbnVsbENoYXJzWzZdID0gJ1wiXHUwMDA2XCInOwogICAgICAgIG51b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I5XSA9ICdcIlx1MDAxRFwiJzsKICAgICAgICBudWxsQ2hhcnNbMzBdID0gJ1wiXHUwMDFFXCInOwogICAgICAgIG51bGxDaGFyc1szMV0gPSAnXCJcdTAwMUZcIic7CgogICAgICAgIGZvciAodmFyIGluZGV4IGluIG51bGxDaGFycykgewogICAgICAgICAgICB0cnkgewogICAgICAgICAgICAgICAgdmFyIG9iaiA9IEpTT04ucGFyc2UoJ3sgIm5hbWUiIDogJyArIG51bGxDaGFyc1tpbmRleF0gKyAnIH0gJyk7CiAgICAgICAgICAgICAgICByZXN1bHQgPSAocmVzdWx0ICYmIGZhbHNlKTsKICAgICAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICAgICAgcmVzdWx0ID0gKHJlc3VsdCAmJiAoZSBpbnN0YW5jZW9mIFN5bnRheEVycm9yKSk7CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICAgICAgcmV0dXJuIHJlc3VsdDsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"15.12.2-2-6"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4xMi4yLTItNyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMTIvMTUuMTIuMi8xNS4xMi4yLTItNy5qcyIsCgogICAgZGVzY3JpcHRpb246ICJKU09OLnBhcnNlIC0gcGFyc2luZyBhbiBvYmplY3Qgd2hlcmUgcHJvcGVydHkgdmFsdWUgc3RhcnRzIHdpdGggYSBudWxsIGNoYXJhY3RlciIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIHZhciByZXN1bHQgPSB0cnVlOwoKICAgICAgICB2YXIgbnVsbENoYXJzID0gbmV3IEFycmF5KCk7CiAgICAgICAgbnVsbENoYXJzWzBdID0gJ1wiXH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gICAgbnVsbENoYXJzWzIzXSA9ICdcIlx1MDAxN1wiJzsKICAgICAgICBudWxsQ2hhcnNbMjRdID0gJ1wiXHUwMDE4XCInOwogICAgICAgIG51bGxDaGFyc1syNV0gPSAnXCJcdTAwMTlcIic7CiAgICAgICAgbnVsbENoYXJzWzI2XSA9ICdcIlx1MDAxQVwiJzsKICAgICAgICBudWxsQ2hhcnNbMjddID0gJ1wiXHUwMDFCXCInOwogICAgICAgIG51bGxDaGFyc1syOF0gPSAnXCJcdTAwMUNcIic7CiAgICAgICAgbnVsbENoYXJzWzI5XSA9ICdcIlx1MDAxRFwiJzsKICAgICAgICBudWxsQ2hhcnNbMzBdID0gJ1wiXHUwMDFFXCInOwogICAgICAgIG51bGxDaGFyc1szMV0gPSAnXCJcdTAwMUZcIic7CgogICAgICAgIGZvciAodmFyIGluZGV4IGluIG51bGxDaGFycykgewogICAgICAgICAgICB0cnkgewogICAgICAgICAgICAgICAgdmFyIG9iaiA9IEpTT04ucGFyc2UoJ3sgIm5hbWUiIDogJyArIG51bGxDaGFyc1tpbmRleF0gKyAiSm9obiIgKyAnIH0gJyk7CiAgICAgICAgICAgICAgICByZXN1bHQgPSAocmVzdWx0ICYmIGZhbHNlKTsKICAgICAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICAgICAgcmVzdWx0ID0gKHJlc3VsdCAmJiAoZSBpbnN0YW5jZW9mIFN5bnRheEVycm9yKSk7CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICAgICAgcmV0dXJuIHJlc3VsdDsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"15.12.2-2-7"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4xMi4yLTItOCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMTIvMTUuM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bHQgJiYgKGUgaW5zdGFuY2VvZiBTeW50YXhFcnJvcikpOwogICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIHJldHVybiByZXN1bHQ7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"15.12.2-2-8"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4xMi4yLTItOSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMTIvMTUuMTIuMi8xNS4xMi4yLTItOS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJKU09OLnBhcnNlIC0gcGFyc2luZyBhbiBvYmplY3Qgd2hlcmUgcHJvcGVydHkgdmFsdWUgc3RhcnRzIGFuZCBlbmRzIHdpdGggYSBudWxsIGNoYXJhY3RlciIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIHZhciByZXN1bHQgPSB0cnVlOwoKICAgICAgICB2YXIgbnVsbENoYXJzID0gbmV3IEFycmF5KCk7CiAgICAgICAgbnVsbENoYXJzWzBdID0gJ1wiXHUwMDAwXCInOwogICAgICAgIG51bGxDaGFyc1sxXSA9ICdcIlx1MDAwMVwiJzsKICAgICAgICBudWxsQ2hhcnNbMl0gPSAnXCJcdTAwMDJcIic7CiAgICAgICAgbnVsbENoYXJzWzNdID0gJ1wiXHUwMDAzXCInOwogICAgICAgIG51bGxDaGFyc1s0XSA9ICdcIlx1MDAwNFwiJzsKICAgICAgICBudWxsQ2hhcnNbNV0gPSAnXCJcdTAwMDVcIic7CiAgICAgICAgbnVsbENoYXJzWzZdID0gJ1wiXHUwMDA2XCInOwogICAgICAgIG51bGxDaGFyc1s3XSA9ICdcIlx1MDAwN1wiJzsKICAgICAgICBudWxsQ2hhcnNbOF0gPSAnXCJcdTAwMDhcIic7CiAgICAgICAgbnVsb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V0gPSAnXCJcdTAwMUZcIic7CgogICAgICAgIGZvciAodmFyIGluZGV4IGluIG51bGxDaGFycykgewogICAgICAgICAgICB0cnkgewogICAgICAgICAgICAgICAgdmFyIG9iaiA9IEpTT04ucGFyc2UoJ3sgIm5hbWUiIDogJyArIG51bGxDaGFyc1tpbmRleF0gKyAiSm9obiIgKyBudWxsQ2hhcnNbaW5kZXhdICsgJyB9ICcpOwogICAgICAgICAgICAgICAgcmVzdWx0ID0gKHJlc3VsdCAmJiBmYWxzZSk7CiAgICAgICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgICAgIHJlc3VsdCA9IChyZXN1bHQgJiYgKGUgaW5zdGFuY2VvZiBTeW50YXhFcnJvcikpOwogICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIHJldHVybiByZXN1bHQ7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"15.12.2-2-9"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxNS4xMi4zLTAtMSIsCgpwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4xMi8xNS4xMi4zLzE1LjEyLjMtMC0xLmpzIiwKCmRlc2NyaXB0aW9uOiAiSlNPTi5zdHJpbmdpZnkgbXVzdCBleGlzdCBhcyBiZSBhIGZ1bmN0aW9uIiwKCnRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogIHZhciBmID0gSlNPTi5zdHJpbmdpZnk7CgogIGlmICh0eXBlb2YoZikgPT09ICJmdW5jdGlvbiIpIHsKICAgIHJldHVybiB0cnVlOwogIH0KIH0sCgogcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVxICgpIHsKICByZXR1cm4gSlNPTiAhPT0gdW5kZWZpbmVkOwogIH0KCn0pOwo=","id":"15.12.3-0-1"},{"code":"RVM1SGFyb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7ICAvLyBzaG91bGQgbm90IHJlYWNoIGhlcmUKICAgICB9CiAgIGNhdGNoIChlKSB7cmV0dXJuICB0cnVlfQogIH0sCiAgCiBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXEgKCkgewogIHJldHVybiBKU09OICYmIGZuRXhpc3RzKEpTT04uc3RyaW5naWZ5KTsKIH0KfSApOwo=","id":"15.12.3_4-1-3"}]}} \ No newline at end of file +{"testsCollection":{"name":"Chapter - 15.12","numTests":"102","tests":[{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxNS4xMi0wLTEiLAoKcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMTIvMTUuMTItMC0xLmpzIiwKCmRlc2NyaXB0aW9uOiAiSlNPTiBtdXN0IGJlIGEgYnVpbHQtaW4gb2JqZWN0IiwKCnRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogIHZhciBvID0gSlNPTjsKICBpZiAodHlwZW9mKG8pID09PSAib2JqZWN0IikgeyAgCiAgICByZXR1cm4gdHJ1ZTsKICB9CiB9LAoKIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcSAoKSB7CiAgcmV0dXJuIEpTT04gIT09IHVuZGVmaW5lZDsKICB9Cn0pOwo=","id":"15.12-0-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxNS4xMi0wLTIiLAoKcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMTIvMTUuMTItMC0yLmpzIiwKCmRlc2NyaXB0aW9uOiAiSlNPTiBtdXN0IG5vdCBzdXBwb3J0IHRoZSBbW0NvbnN0cnVjdF1dIG1ldGhvZCIsCgp0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICB2YXIgbyA9IEpTT047CgogIHRyeSB7CiAgICB2YXIgaiA9IG5ldyBKU09OKCk7CiAgfQogIGNhdGNoIChlKSB7CiAgICBpZiA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XJzWzE5XSA9ICdcIlx1MDAxM1wiJzsKICAgICAgICBudWxsQ2hhcnNbMjBdID0gJ1wiXHUwMDE0XCInOwogICAgICAgIG51bGxDaGFyc1syMV0gPSAnXCJcdTAwMTVcIic7CiAgICAgICAgbnVsbENoYXJzWzIyXSA9ICdcIlx1MDAxNlwiJzsKICAgICAgICBudWxsQ2hhcnNbMjNdID0gJ1wiXHUwMDE3XCInOwogICAgICAgIG51bGxDaGFyc1syNF0gPSAnXCJcdTAwMThcIic7CiAgICAgICAgbnVsbENoYXJzWzI1XSA9ICdcIlx1MDAxOVwiJzsKICAgICAgICBudWxsQ2hhcnNbMjZdID0gJ1wiXHUwMDFBXCInOwogICAgICAgIG51bGxDaGFyc1syN10gPSAnXCJcdTAwMUJcIic7CiAgICAgICAgbnVsbENoYXJzWzI4XSA9ICdcIlx1MDAxQ1wiJzsKICAgICAgICBudWxsQ2hhcnNbMjldID0gJ1wiXHUwMDFEXCInOwogICAgICAgIG51bGxDaGFyc1szMF0gPSAnXCJcdTAwMUVcIic7CiAgICAgICAgbnVsbENoYXJzWzMxXSA9ICdcIlx1MDAxRlwiJzsKCiAgICAgICAgZm9yICh2YXIgaW5kZXggaW4gbnVsbENoYXJzKSB7CiAgICAgICAgICAgIHRyeSB7CiAgICAgICAgICAgICAgICB2YXIgb2JqID0gSlNPTi5wYXJzZSgneyAnICsgbnVsbENoYXJzW2luZGV4XSArICcgOiAiSm9obiIgfSAnKTsKICAgICAgICAgICAgICAgIHJlc3VsdCA9IChyZXN1bHQgJiYgZmFsc2UpOwogICAgICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgICAgICByZXN1bHQgPSAocmVzdWx0ICYmIChlIGluc3RhbmNlb2YgU3ludGF4RXJyb3IpKTsKICAgICAgICAgICAgfQogICAgICAgIH0KICAgICAgICByZXR1cm4gcmVzdWx0OwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR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iXHUwMDBDXCInOwogICAgICAgIG51bGxDaGFyc1sxM10gPSAnXCJcdTAwMERcIic7CiAgICAgICAgbnVsbENoYXJzWzE0XSA9ICdcIlx1MDAwRVwiJzsKICAgICAgICBudWxsQ2hhcnNbMTVdID0gJ1wiXHUwMDBGXCInOwogICAgICAgIG51bGxDaGFyc1sxNl0gPSAnXCJcdTAwMTBcIic7CiAgICAgICAgbnVsbENoYXJzWzE3XSA9ICdcIlx1MDAxMVwiJzsKICAgICAgICBudWxsQ2hhcnNbMThdID0gJ1wiXHUwMDEyXCInOwogICAgICAgIG51bGxDaGFyc1sxOV0gPSAnXCJcdTAwMTNcIic7CiAgICAgICAgbnVsbENoYXJzWzIwXSA9ICdcIlx1MDAxNFwiJzsKICAgICAgICBudWxsQ2hhcnNbMjFdID0gJ1wiXHUwMDE1XCInOwogICAgICAgIG51bGxDaGFyc1syMl0gPSAnXCJcdTAwMTZcIic7CiAgICAgICAgbnVsbENoYXJzWzIzXSA9ICdcIlx1MDAxN1wiJzsKICAgICAgICBudWxsQ2hhcnNbMjRdID0gJ1wiXHUwMDE4XCInOwogICAgICAgIG51bGxDaGFyc1syNV0gPSAnXCJcdTAwMTlcIic7CiAgICAgICAgbnVsbENoYXJzWzI2XSA9ICdcIlx1MDAxQVwiJzsKICAgICAgICBudWxsQ2hhcnNbMjddID0gJ1wiXHUwMDFCXCInOwogICAgICAgIG51bGxDaGFyc1syOF0gPSAnXCJcdTAwMUNcIic7CiAgICAgICAgbnVsbENoYXJzWzI5XSA9ICdcIlx1MDAxRFwiJzsKICAgICAgICBudWxsQ2hhcnNbMzBdID0gJ1wiXHUwMDFFXCInOwogICAgICAgIG51bGxDaGFyc1szMV0gPSAnXCJcdTAwMUZcIic7CgogICAgICAgIGZvciAodmFyIGluZGV4IGluIG51bGxDaGFycykgewogICAgICAgICAgICB0cnkgewogICAgICAgICAgICAgICAgdmFyIG9iaiA9IEpTT04ucGFyc2UoJ3sgIm5hbWUiIDogJyArICJKbyIgKyBudWxsQ2hhcnNbaW5kZXhdICsgImhuIiArICcgfSAnKTsKICAgICAgICAgICAgICAgIHJlc3VsdCA9IChyZXN1bHQgJiYgZmFsc2UpOwogICAgICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgICAgICByZXN1bHQgPSAocmVzdWx0ICYmIChlIGluc3RhbmNlb2YgU3ludGF4RXJyb3IpKTsKICAgICAgICAgICAgfQogICAgICAgIH0KICAgICAgICByZXR1cm4gcmVzdWx0OwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"15.12.2-2-10"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4xMi4yLTItMiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMTIvMTUuMTIuMi8xNS4xMi4yLTItMi5qcyIsCgogICAgZGVzY3JpcHRpb246ICJKU09OLnBhcnNlIC0gcGFyc2luZyBhbiBvYmplY3Qgd2hlcmUgcHJvcGVydHkgbmFtZSBzdGFydHMgd2l0aCBhIG51bGwgY2hhcmFjdGVyIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKCiAgICAgICAgdmFyIHJlc3VsdCA9IHRydWU7CgogICAgICAgIHZhciBudWxsQ2hhcnMgPSBuZXcgQXJyYXkoKTsKICAgICAgICBudWxsQ2hhcnNbMF0gPSAnXCJcdTAwMDBcIic7CiAgICAgICAgbnVsbENoYXJzWzFdID0gJ1wiXHUwMDAxXCInOwogICAgICAgIG51bGxDaGFyc1syXSA9ICdcIlx1MDAwMlwiJzsKICAgICAgICBudWxsQ2hhcnNbM10gPSAnXCJcdTAwMDNcIic7CiAgICAgICAgbnVsbENoYXJzWzRdID0gJ1wiXHUwMDA0XCInOwogICAgICAgIG51bGxDaGFyc1s1XSA9ICdcIlx1MDAwNV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ICAgbnVsbENoYXJzWzI4XSA9ICdcIlx1MDAxQ1wiJzsKICAgICAgICBudWxsQ2hhcnNbMjldID0gJ1wiXHUwMDFEXCInOwogICAgICAgIG51bGxDaGFyc1szMF0gPSAnXCJcdTAwMUVcIic7CiAgICAgICAgbnVsbENoYXJzWzMxXSA9ICdcIlx1MDAxRlwiJzsKCiAgICAgICAgZm9yICh2YXIgaW5kZXggaW4gbnVsbENoYXJzKSB7CiAgICAgICAgICAgIHRyeSB7CiAgICAgICAgICAgICAgICB2YXIgb2JqID0gSlNPTi5wYXJzZSgneyAnICsgbnVsbENoYXJzW2luZGV4XSArICJuYW1lIiArICcgOiAiSm9obiIgfSAnKTsKICAgICAgICAgICAgICAgIHJlc3VsdCA9IChyZXN1bHQgJiYgZmFsc2UpOwogICAgICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgICAgICByZXN1bHQgPSAocmVzdWx0ICYmIChlIGluc3RhbmNlb2YgU3ludGF4RXJyb3IpKTsKICAgICAgICAgICAgfQogICAgICAgIH0KICAgICAgICByZXR1cm4gcmVzdWx0OwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"15.12.2-2-2"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4xMi4yLTItMyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMTIvMTUuMTIuMi8xNS4xMi4yLTItMy5qcyIsCgogICAgZGVzY3JpcHRpb246ICJKU09OLnBhcnNlIC0gcGFyc2luZyBhbiBvYmplY3Qgd2hlcmUgcHJvcGVydHkgbmFtZSBlbmRzIHdpdGggYSBudWxsIGNoYXJhY3RlciIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIHZhciByZXN1bHQgPSB0cnVlOwoKICAgICAgIC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0gJ1wiXHUwMDE1XCInOwogICAgICAgIG51bGxDaGFyc1syMl0gPSAnXCJcdTAwMTZcIic7CiAgICAgICAgbnVsbENoYXJzWzIzXSA9ICdcIlx1MDAxN1wiJzsKICAgICAgICBudWxsQ2hhcnNbMjRdID0gJ1wiXHUwMDE4XCInOwogICAgICAgIG51bGxDaGFyc1syNV0gPSAnXCJcdTAwMTlcIic7CiAgICAgICAgbnVsbENoYXJzWzI2XSA9ICdcIlx1MDAxQVwiJzsKICAgICAgICBudWxsQ2hhcnNbMjddID0gJ1wiXHUwMDFCXCInOwogICAgICAgIG51bGxDaGFyc1syOF0gPSAnXCJcdTAwMUNcIic7CiAgICAgICAgbnVsbENoYXJzWzI5XSA9ICdcIlx1MDAxRFwiJzsKICAgICAgICBudWxsQ2hhcnNbMzBdID0gJ1wiXHUwMDFFXCInOwogICAgICAgIG51bGxDaGFyc1szMV0gPSAnXCJcdTAwMUZcIic7CgogICAgICAgIGZvciAodmFyIGluZGV4IGluIG51bGxDaGFycykgewogICAgICAgICAgICB0cnkgewogICAgICAgICAgICAgICAgdmFyIG9iaiA9IEpTT04ucGFyc2UoJ3snICsgIm5hbWUiICsgbnVsbENoYXJzW2luZGV4XSArICcgOiAiSm9obiIgfSAnKTsKICAgICAgICAgICAgICAgIHJlc3VsdCA9IChyZXN1bHQgJiYgZmFsc2UpOwogICAgICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgICAgICByZXN1bHQgPSAocmVzdWx0ICYmIChlIGluc3RhbmNlb2YgU3ludGF4RXJyb3IpKTsKICAgICAgICAgICAgfQogICAgICAgIH0KICAgICAgICByZXR1cm4gcmVzdWx0OwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"15.12.2-2-3"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4xMi4yL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UwMDBFXCInOwogICAgICAgIG51bGxDaGFyc1sxNV0gPSAnXCJcdTAwMEZcIic7CiAgICAgICAgbnVsbENoYXJzWzE2XSA9ICdcIlx1MDAxMFwiJzsKICAgICAgICBudWxsQ2hhcnNbMTddID0gJ1wiXHUwMDExXCInOwogICAgICAgIG51bGxDaGFyc1sxOF0gPSAnXCJcdTAwMTJcIic7CiAgICAgICAgbnVsbENoYXJzWzE5XSA9ICdcIlx1MDAxM1wiJzsKICAgICAgICBudWxsQ2hhcnNbMjBdID0gJ1wiXHUwMDE0XCInOwogICAgICAgIG51bGxDaGFyc1syMV0gPSAnXCJcdTAwMTVcIic7CiAgICAgICAgbnVsbENoYXJzWzIyXSA9ICdcIlx1MDAxNlwiJzsKICAgICAgICBudWxsQ2hhcnNbMjNdID0gJ1wiXHUwMDE3XCInOwogICAgICAgIG51bGxDaGFyc1syNF0gPSAnXCJcdTAwMThcIic7CiAgICAgICAgbnVsbENoYXJzWzI1XSA9ICdcIlx1MDAxOVwiJzsKICAgICAgICBudWxsQ2hhcnNbMjZdID0gJ1wiXHUwMDFBXCInOwogICAgICAgIG51bGxDaGFyc1syN10gPSAnXCJcdTAwMUJcIic7CiAgICAgICAgbnVsbENoYXJzWzI4XSA9ICdcIlx1MDAxQ1wiJzsKICAgICAgICBudWxsQ2hhcnNbMjldID0gJ1wiXHUwMDFEXCInOwogICAgICAgIG51bGxDaGFyc1szMF0gPSAnXCJcdTAwMUVcIic7CiAgICAgICAgbnVsbENoYXJzWzMxXSA9ICdcIlx1MDAxRlwiJzsKCiAgICAgICAgZm9yICh2YXIgaW5kZXggaW4gbnVsbENoYXJzKSB7CiAgICAgICAgICAgIHRyeSB7CiAgICAgICAgICAgICAgICB2YXIgb2JqID0gSlNPTi5wYXJzZSgneycgKyBudWxsQ2hhcnNbaW5kZXhdICsgIm5hbWUiICsgbnVsbENoYXJzW2luZGV4XSArICcgOiAiSm9obiIgfSAnKTsKICAgICAgICAgICAgICAgIHJlc3VsdCA9IChyZXN1bHQgJiYgZmFsc2UpOwogICAgICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgICAgICByZXN1bHQgPSAocmVzdWx0ICYmIChlIGluc3RhbmNlb2YgU3ludGF4RXJyb3IpKTsKICAgICAgICAgICAgfQogICAgICAgIH0KICAgICAgICByZXR1cm4gcmVzdWx0OwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7","id":"15.12.2-2-4"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4xMi4yLTItNSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMTIvMTUuMTIuMi8xNS4xMi4yLTItNS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJKU09OLnBhcnNlIC0gcGFyc2luZyBhbiBvYmplY3Qgd2hlcmUgcHJvcGVydHkgbmFtZSBtaWRkbGVzIHdpdGggYSBudWxsIGNoYXJhY3RlciIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIHZhciByZXN1bHQgPSB0cnVlOwoKICAgICAgICB2YXIgbnVsbENoYXJzID0gbmV3IEFycmF5KCk7CiAgICAgICAgbnVsbENoYXJzWzBdID0gJ1wiXHUwMDAwXCInOwogICAgICAgIG51bGxDaGFyc1sxXSA9ICdcIlx1MDAwMVwiJzsKICAgICAgICBudWxsQ2hhcnNbMl0gPSAnXCJcdTAwMDJcIic7CiAgICAgICAgbnVsbENoYXJzWzNdID0gJ1wiXHUwMDAzXCInOwogICAgICAgIG51bGxDaGFyc1s0XSA9ICdcIlx1MDAwNFwiJzsKICAgICAgICBudWxsQ2hhcnNbNV0gPSAnXCJcdTAwMDVcIic7CiAgICAgICAgbnVsbENoYXJzWzZdID0gJ1wiXHUwMDA2XCInOwogICAgICAgIG51bGxDaGFyc1s3XSA9ICdcI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wiJzsKICAgICAgICBudWxsQ2hhcnNbMzBdID0gJ1wiXHUwMDFFXCInOwogICAgICAgIG51bGxDaGFyc1szMV0gPSAnXCJcdTAwMUZcIic7CgogICAgICAgIGZvciAodmFyIGluZGV4IGluIG51bGxDaGFycykgewogICAgICAgICAgICB0cnkgewogICAgICAgICAgICAgICAgdmFyIG9iaiA9IEpTT04ucGFyc2UoJ3sgJyArICJuYSIgKyBudWxsQ2hhcnNbaW5kZXhdICsgIm1lIiArICcgOiAiSm9obiIgfSAnKTsKICAgICAgICAgICAgICAgIHJlc3VsdCA9IChyZXN1bHQgJiYgZmFsc2UpOwogICAgICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgICAgICByZXN1bHQgPSAocmVzdWx0ICYmIChlIGluc3RhbmNlb2YgU3ludGF4RXJyb3IpKTsKICAgICAgICAgICAgfQogICAgICAgIH0KICAgICAgICByZXR1cm4gcmVzdWx0OwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"15.12.2-2-5"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4xMi4yLTItNiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMTIvMTUuMTIuMi8xNS4xMi4yLTItNi5qcyIsCgogICAgZGVzY3JpcHRpb246ICJKU09OLnBhcnNlIC0gcGFyc2luZyBhbiBvYmplY3Qgd2hlcmUgcHJvcGVydHkgdmFsdWUgaXMgYSBudWxsIGNoYXJhY3RlciIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIHZhciByZXN1bHQgPSB0cnVlOwoKICAgICAgICB2YXIgbnVsbENoYXJzID0gbmV3IEFycmF5KCk7CiAgICAgICAgbnVsbENoYXJzWzBdID0gJ1wiXHUwMDAwXCInOwogICAgICAgIG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SA9ICdcIlx1MDAxN1wiJzsKICAgICAgICBudWxsQ2hhcnNbMjRdID0gJ1wiXHUwMDE4XCInOwogICAgICAgIG51bGxDaGFyc1syNV0gPSAnXCJcdTAwMTlcIic7CiAgICAgICAgbnVsbENoYXJzWzI2XSA9ICdcIlx1MDAxQVwiJzsKICAgICAgICBudWxsQ2hhcnNbMjddID0gJ1wiXHUwMDFCXCInOwogICAgICAgIG51bGxDaGFyc1syOF0gPSAnXCJcdTAwMUNcIic7CiAgICAgICAgbnVsbENoYXJzWzI5XSA9ICdcIlx1MDAxRFwiJzsKICAgICAgICBudWxsQ2hhcnNbMzBdID0gJ1wiXHUwMDFFXCInOwogICAgICAgIG51bGxDaGFyc1szMV0gPSAnXCJcdTAwMUZcIic7CgogICAgICAgIGZvciAodmFyIGluZGV4IGluIG51bGxDaGFycykgewogICAgICAgICAgICB0cnkgewogICAgICAgICAgICAgICAgdmFyIG9iaiA9IEpTT04ucGFyc2UoJ3sgIm5hbWUiIDogJyArIG51bGxDaGFyc1tpbmRleF0gKyAnIH0gJyk7CiAgICAgICAgICAgICAgICByZXN1bHQgPSAocmVzdWx0ICYmIGZhbHNlKTsKICAgICAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICAgICAgcmVzdWx0ID0gKHJlc3VsdCAmJiAoZSBpbnN0YW5jZW9mIFN5bnRheEVycm9yKSk7CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICAgICAgcmV0dXJuIHJlc3VsdDsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"15.12.2-2-6"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4xMi4yLTItNyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMTIvMTUuMTIuMi8xNS4xMi4yLTItNy5qcyIsCgogICA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bnVsbENoYXJzWzE3XSA9ICdcIlx1MDAxMVwiJzsKICAgICAgICBudWxsQ2hhcnNbMThdID0gJ1wiXHUwMDEyXCInOwogICAgICAgIG51bGxDaGFyc1sxOV0gPSAnXCJcdTAwMTNcIic7CiAgICAgICAgbnVsbENoYXJzWzIwXSA9ICdcIlx1MDAxNFwiJzsKICAgICAgICBudWxsQ2hhcnNbMjFdID0gJ1wiXHUwMDE1XCInOwogICAgICAgIG51bGxDaGFyc1syMl0gPSAnXCJcdTAwMTZcIic7CiAgICAgICAgbnVsbENoYXJzWzIzXSA9ICdcIlx1MDAxN1wiJzsKICAgICAgICBudWxsQ2hhcnNbMjRdID0gJ1wiXHUwMDE4XCInOwogICAgICAgIG51bGxDaGFyc1syNV0gPSAnXCJcdTAwMTlcIic7CiAgICAgICAgbnVsbENoYXJzWzI2XSA9ICdcIlx1MDAxQVwiJzsKICAgICAgICBudWxsQ2hhcnNbMjddID0gJ1wiXHUwMDFCXCInOwogICAgICAgIG51bGxDaGFyc1syOF0gPSAnXCJcdTAwMUNcIic7CiAgICAgICAgbnVsbENoYXJzWzI5XSA9ICdcIlx1MDAxRFwiJzsKICAgICAgICBudWxsQ2hhcnNbMzBdID0gJ1wiXHUwMDFFXCInOwogICAgICAgIG51bGxDaGFyc1szMV0gPSAnXCJcdTAwMUZcIic7CgogICAgICAgIGZvciAodmFyIGluZGV4IGluIG51bGxDaGFycykgewogICAgICAgICAgICB0cnkgewogICAgICAgICAgICAgICAgdmFyIG9iaiA9IEpTT04ucGFyc2UoJ3sgIm5hbWUiIDogJyArIG51bGxDaGFyc1tpbmRleF0gKyAiSm9obiIgKyAnIH0gJyk7CiAgICAgICAgICAgICAgICByZXN1bHQgPSAocmVzdWx0ICYmIGZhbHNlKTsKICAgICAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICAgICAgcmVzdWx0ID0gKHJlc3VsdCAmJiAoZSBpbnN0YW5jZW9mIFN5bnRheEVycm9yKSk7CiAgICAgICAgICA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RleCBpbiBudWxsQ2hhcnMpIHsKICAgICAgICAgICAgdHJ5IHsKICAgICAgICAgICAgICAgIHZhciBvYmogPSBKU09OLnBhcnNlKCd7ICJuYW1lIiA6ICcgKyAiSm9obiIgKyBudWxsQ2hhcnNbaW5kZXhdICsgJyB9ICcpOwogICAgICAgICAgICAgICAgcmVzdWx0ID0gKHJlc3VsdCAmJiBmYWxzZSk7CiAgICAgICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgICAgIHJlc3VsdCA9IChyZXN1bHQgJiYgKGUgaW5zdGFuY2VvZiBTeW50YXhFcnJvcikpOwogICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIHJldHVybiByZXN1bHQ7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"15.12.2-2-8"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4xMi4yLTItOSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMTIvMTUuMTIuMi8xNS4xMi4yLTItOS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJKU09OLnBhcnNlIC0gcGFyc2luZyBhbiBvYmplY3Qgd2hlcmUgcHJvcGVydHkgdmFsdWUgc3RhcnRzIGFuZCBlbmRzIHdpdGggYSBudWxsIGNoYXJhY3RlciIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIHZhciByZXN1bHQgPSB0cnVlOwoKICAgICAgICB2YXIgbnVsbENoYXJzID0gbmV3IEFycmF5KCk7CiAgICAgICAgbnVsbENoYXJzWzBdID0gJ1wiXHUwMDAwXCInOwogICAgICAgIG51bGxDaGFyc1sxXSA9ICdcIlx1MDAwMVwiJzsKICAgICAgICBudWxsQ2hhcnNbMl0gPSAnXCJcdTAwMDJcIic7CiAgICAgICAgbnV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PSAnXCJcdTAwMTlcIic7CiAgICAgICAgbnVsbENoYXJzWzI2XSA9ICdcIlx1MDAxQVwiJzsKICAgICAgICBudWxsQ2hhcnNbMjddID0gJ1wiXHUwMDFCXCInOwogICAgICAgIG51bGxDaGFyc1syOF0gPSAnXCJcdTAwMUNcIic7CiAgICAgICAgbnVsbENoYXJzWzI5XSA9ICdcIlx1MDAxRFwiJzsKICAgICAgICBudWxsQ2hhcnNbMzBdID0gJ1wiXHUwMDFFXCInOwogICAgICAgIG51bGxDaGFyc1szMV0gPSAnXCJcdTAwMUZcIic7CgogICAgICAgIGZvciAodmFyIGluZGV4IGluIG51bGxDaGFycykgewogICAgICAgICAgICB0cnkgewogICAgICAgICAgICAgICAgdmFyIG9iaiA9IEpTT04ucGFyc2UoJ3sgIm5hbWUiIDogJyArIG51bGxDaGFyc1tpbmRleF0gKyAiSm9obiIgKyBudWxsQ2hhcnNbaW5kZXhdICsgJyB9ICcpOwogICAgICAgICAgICAgICAgcmVzdWx0ID0gKHJlc3VsdCAmJiBmYWxzZSk7CiAgICAgICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgICAgIHJlc3VsdCA9IChyZXN1bHQgJiYgKGUgaW5zdGFuY2VvZiBTeW50YXhFcnJvcikpOwogICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIHJldHVybiByZXN1bHQ7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"15.12.2-2-9"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxNS4xMi4zLTAtMSIsCgpwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4xMi8xNS4xMi4zLzE1LjEyLjMtMC0xLmpzIiwKCmRlc2NyaXB0aW9uOiAiSlNPTi5zdHJpbmdpZnkgbXVzdCBleGlzdCBhcyBiZSBhIGZ1bm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180LTEtMy5qcyIsCgpkZXNjcmlwdGlvbjogIkpTT04uc3RyaW5naWZ5IGEgaW5kaXJlY3RseSBjaXJjdWxhciBvYmplY3QgdGhyb3dzIGEgZXJyb3IiLAoKdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgdmFyIG9iaiA9IHtwMToge3AyOiB7fX19OwogIG9iai5wMS5wMi5wcm9wID0gb2JqOwogIHRyeSB7CiAgICAgSlNPTi5zdHJpbmdpZnkob2JqKTsKICAgICByZXR1cm4gZmFsc2U7ICAvLyBzaG91bGQgbm90IHJlYWNoIGhlcmUKICAgICB9CiAgIGNhdGNoIChlKSB7cmV0dXJuICB0cnVlfQogIH0sCiAgCiBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXEgKCkgewogIHJldHVybiBKU09OICYmIGZuRXhpc3RzKEpTT04uc3RyaW5naWZ5KTsKIH0KfSApOwo=","id":"15.12.3_4-1-3"}]}} \ No newline at end of file diff --git a/website/resources/scripts/testcases/15.2.3.6.json b/website/resources/scripts/testcases/15.2.3.6.json index a958925a99..56c3f6400b 100644 --- a/website/resources/scripts/testcases/15.2.3.6.json +++ b/website/resources/scripts/testcases/15.2.3.6.json @@ -1 +1 @@ -{"testsCollection":{"name":"Chapter - 15.2.3.6","numTests":"1076","tests":[{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxNS4yLjMuNi0wLTEiLAoKcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtMC0xLmpzIiwKCmRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IG11c3QgZXhpc3QgYXMgYSBmdW5jdGlvbiIsCgp0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICB2YXIgZiA9IE9iamVjdC5kZWZpbmVQcm9wZXJ0eTsKICBpZiAodHlwZW9mKGYpID09PSAiZnVuY3Rp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gewogICAgICAgICAgICByZXR1cm4gZSBpbnN0YW5jZW9mIFR5cGVFcnJvcjsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-1-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi0xLTIiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjIvMTUuMi4zLzE1LjIuMy42LzE1LjIuMy42LTEtMi5qcyIsCgogICAgZGVzY3JpcHRpb246ICJPYmplY3QuZGVmaW5lUHJvcGVydHkgYXBwbGllZCB0byBudWxsIHRocm93cyBhIFR5cGVFcnJvciIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG51bGwsICJmb28iLCB7fSk7CiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgIHJldHVybiBlIGluc3RhbmNlb2YgVHlwZUVycm9yOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSk7CiAgICB9Cn0pOwo=","id":"15.2.3.6-1-2"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi0xLTMiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjIvMTUuMi4zLzE1LjIuMy42LzE1LjIuMy42LTEtMy5qcyIsCgogICAgZGVzY3JpcHRpb246ICJPYmplY3QuZGVmaW5lUHJvcGVydHkgYXBwbGllZCB0byBudW1iZXIgcHJpbWl0aXZlIHRocm93cyBhIFR5cGVFcnJvciIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KDUsICJmb28iLCB7fSk7CiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgIHJldHVybiBlIGluc3RhbmNlb2YgVHlwZUVycm9yOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSk7CiAgICB9Cn0pOwo=","id":"15.2.3.6-1-3"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi0xLTQiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjIvMTUuMi4zLzE1LjIuMy42LzE1LjIuMy42LTEtNC5qcyIsCgogICAgZGVzY3JpcHRpb246ICJPYmplY3QuZGVmaW5lUHJvcGVydHkgYXBwbGllZCB0byBzdHJpbmcgcHJpbWl0aXZlIHRocm93cyBhIFR5cGVFcnJvciIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KCJoZWxsb1xud29ybGRcXCEiLCAiZm9vIiwge30pOwogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICByZXR1cm4gZSBpbnN0YW5jZW9mIFR5cGVFcnJvcjsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZ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CiAgICAgICAgdmFyIHByb3RvID0gewogICAgICAgICAgICB0b1N0cmluZzogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgdG9TdHJpbmdBY2Nlc3NlZCA9IHRydWU7CiAgICAgICAgICAgICAgICByZXR1cm4gInRlc3QiOwogICAgICAgICAgICB9CiAgICAgICAgfTsKCiAgICAgICAgdmFyIENvbnN0cnVjdEZ1biA9IGZ1bmN0aW9uICgpIHsgfTsKICAgICAgICBDb25zdHJ1Y3RGdW4ucHJvdG90eXBlID0gcHJvdG87CgogICAgICAgIHZhciBjaGlsZCA9IG5ldyBDb25zdHJ1Y3RGdW4oKTsKICAgICAgICBjaGlsZC52YWx1ZU9mID0gZnVuY3Rpb24gKCkgewogICAgICAgICAgICB2YWx1ZU9mQWNjZXNzZWQgPSB0cnVlOwogICAgICAgICAgICByZXR1cm4gIjEwIjsKICAgICAgICB9OwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCBjaGlsZCwge30pOwoKICAgICAgICByZXR1cm4gb2JqLmhhc093blByb3BlcnR5KCJ0ZXN0IikgJiYgIXZhbHVlT2ZBY2Nlc3NlZCAmJiB0b1N0cmluZ0FjY2Vzc2VkOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-2-48"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi0yLTUiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjIvMTUuMi4zLzE1LjIuMy42LzE1LjIuMy42LTItNS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJPYmplY3QuZGVmaW5lUHJvcGVydHkgLSBhcmd1bWVudCAnUCcgaXMgYSBudW1iZXIgdGhhdCBjb252ZXJ0cyB0byBhIHN0cmluZyAodmFsdWUgaXMgTmFOKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIG9iaiA9IHt9OwogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosIE5hTiwge30pOwoKICAgICAgICByZXR1cm4gb2JqLmhhc093blByb3BlcnR5KCJOYU4iKTsKCiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-2-5"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi0yLTYiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjIvMTUuMi4zLzE1LjIuMy42LzE1LjIuMy42LTItNi5qcyIsCgogICAgZGVzY3JpcHRpb246ICJPYmplY3QuZGVmaW5lUHJvcGVydHkgLSBhcmd1bWVudCAnUCcgaXMgYSBudW1iZXIgdGhhdCBjb252ZXJ0cyB0byBhIHN0cmluZyAodmFsdWUgaXMgMCkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBvYmogPSB7fTsKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAwLCB7fSk7CgogICAgICAgIHJldHVybiBvYmouaGFzT3duUHJvcGVydHkoIjAiKTsKCiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-2-6"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi0yLTciL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ICAgICAgICAgIH0KICAgICAgICB9KTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3BlcnR5IiwgY2hpbGQpOwoKICAgICAgICByZXR1cm4gb2JqLnByb3BlcnR5ID09PSAib3duQWNjZXNzb3JQcm9wZXJ0eSI7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-3-135"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi0zLTEzNiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtMy0xMzYuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gJ3ZhbHVlJyBwcm9wZXJ0eSBpbiAnQXR0cmlidXRlcycgaXMgb3duIGFjY2Vzc29yIHByb3BlcnR5IHdpdGhvdXQgYSBnZXQgZnVuY3Rpb24gICg4LjEwLjUgc3RlcCA1LmEpIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgb2JqID0ge307CgogICAgICAgIHZhciBhdHRyID0ge307CiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGF0dHIsICJ2YWx1ZSIsIHsKICAgICAgICAgICAgc2V0OiBmdW5jdGlvbiAoKSB7IH0KICAgICAgICB9KTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3BlcnR5IiwgYXR0cik7CgogICAgICAgIHJldHVybiBvYmouaGFzT3duUHJvcGVydHkoInByb3BlcnR5IikgJiYgdHlwZW9mIChvYmoucHJvcGVydHkpID09PSAidW5kZWZpb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dHJ1ZTsKICAgICAgICAgICAgdmFyIGZ1bk9iaiA9IGZ1bmN0aW9uIChhLCBiKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gYSArIGI7CiAgICAgICAgICAgIH07CgogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcGVydHkiLCBmdW5PYmopOwoKICAgICAgICAgICAgdmFyIGJlZm9yZVdyaXRlID0gb2JqLmhhc093blByb3BlcnR5KCJwcm9wZXJ0eSIpOwoKICAgICAgICAgICAgb2JqLnByb3BlcnR5ID0gImlzV3JpdGFibGUiOwoKICAgICAgICAgICAgdmFyIGFmdGVyV3JpdGUgPSAob2JqLnByb3BlcnR5ID09PSAiaXNXcml0YWJsZSIpOwoKICAgICAgICAgICAgcmV0dXJuIGJlZm9yZVdyaXRlID09PSB0cnVlICYmIGFmdGVyV3JpdGUgPT09IHRydWU7CiAgICAgICAgfSBmaW5hbGx5IHsKICAgICAgICAgICAgZGVsZXRlIEZ1bmN0aW9uLnByb3RvdHlwZS53cml0YWJsZTsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-3-165-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi0zLTE2NSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtMy0xNjUuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gJ0F0dHJpYnV0ZXMnIGlzIGEgRnVuY3Rpb24gb2JqZWN0IHdoaWNoIGltcGxlbWVudHMgaXRzIG93biBbW0dldF1dIG1ldGhvZCB0byBhY2Nlc3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pcyBhbiBBcmd1bWVudHMgb2JqZWN0IHdoaWNoIGltcGxlbWVudHMgaXRzIG93biBbW0dldF1dIG1ldGhvZCB0byBhY2Nlc3MgdGhlICd3cml0YWJsZScgcHJvcGVydHkgb2YgcHJvdG90eXBlIG9iamVjdCAoOC4xMC41IHN0ZXAgNi5iKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIG9iaiA9IHt9OwogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5wcm90b3R5cGUud3JpdGFibGUgPSB0cnVlOwoKICAgICAgICAgICAgdmFyIGFyZ09iaiA9IChmdW5jdGlvbiAoKSB7IHJldHVybiBhcmd1bWVudHM7IH0pKCk7CgogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcGVydHkiLCBhcmdPYmopOwoKICAgICAgICAgICAgdmFyIGJlZm9yZVdyaXRlID0gb2JqLmhhc093blByb3BlcnR5KCJwcm9wZXJ0eSIpOwoKICAgICAgICAgICAgb2JqLnByb3BlcnR5ID0gImlzV3JpdGFibGUiOwoKICAgICAgICAgICAgdmFyIGFmdGVyV3JpdGUgPSAob2JqLnByb3BlcnR5ID09PSAiaXNXcml0YWJsZSIpOwoKICAgICAgICAgICAgcmV0dXJuIGJlZm9yZVdyaXRlID09PSB0cnVlICYmIGFmdGVyV3JpdGUgPT09IHRydWU7CiAgICAgICAgfSBmaW5hbGx5IHsKICAgICAgICAgICAgZGVsZXRlIE9iamVjdC5wcm90b3R5cGUud3JpdGFibGU7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-3-175-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS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IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgIHJldHVybiAib3duRGF0YVByb3BlcnR5IjsKICAgICAgICAgICAgfQogICAgICAgIH0pOwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcGVydHkiLCBjaGlsZCk7CgogICAgICAgIHJldHVybiBvYmoucHJvcGVydHkgPT09ICJvd25EYXRhUHJvcGVydHkiOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-3-210"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi0zLTIxMSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtMy0yMTEuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gJ2dldCcgcHJvcGVydHkgaW4gJ0F0dHJpYnV0ZXMnIGlzIG93biBhY2Nlc3NvciBwcm9wZXJ0eSAoOC4xMC41IHN0ZXAgNy5hKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIG9iaiA9IHt9OwoKICAgICAgICB2YXIgYXR0cmlidXRlcyA9IHt9OwogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhdHRyaWJ1dGVzLCAiZ2V0IiwgewogICAgICAgICAgICBnZXQ6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgIHJldHVybiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICAgICAgcmV0dXJuICJvd25BY2Nlc3NvclByb3BlcnR5IjsKICAgICAgICAgICAgICAgIH07CiAgICAgICAgICAgIH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kiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBvYmogPSB7fTsKICAgICAgICB2YXIgcHJvdG8gPSB7fTsKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkocHJvdG8sICJnZXQiLCB7CiAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgcmV0dXJuIGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgICAgICByZXR1cm4gImluaGVyaXRlZEFjY2Vzc29yUHJvcGVydHkiOwogICAgICAgICAgICAgICAgfTsKICAgICAgICAgICAgfQogICAgICAgIH0pOwoKICAgICAgICB2YXIgQ29uc3RydWN0RnVuID0gZnVuY3Rpb24gKCkgeyB9OwogICAgICAgIENvbnN0cnVjdEZ1bi5wcm90b3R5cGUgPSBwcm90bzsKCiAgICAgICAgdmFyIGNoaWxkID0gbmV3IENvbnN0cnVjdEZ1bigpOwogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShjaGlsZCwgImdldCIsIHsKICAgICAgICAgICAgZ2V0OiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgICAgIHJldHVybiAib3duQWNjZXNzb3JQcm9wZXJ0eSI7CiAgICAgICAgICAgICAgICB9OwogICAgICAgICAgICB9CiAgICAgICAgfSk7CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wZXJ0eSIsIGNoaWxkKTsKCiAgICAgICAgcmV0dXJuIG9iai5wcm9wZXJ0eSA9PT0gIm93bkFjY2Vzc29yUHJvcGVydHkiOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-3-214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uYSkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBvYmogPSB7fTsKICAgICAgICB0cnkgewogICAgICAgICAgICBCb29sZWFuLnByb3RvdHlwZS5nZXQgPSBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gImJvb2xlYW5HZXRQcm9wZXJ0eSI7CiAgICAgICAgICAgIH07CiAgICAgICAgICAgIHZhciBib29sT2JqID0gbmV3IEJvb2xlYW4odHJ1ZSk7CgogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcGVydHkiLCBib29sT2JqKTsKCiAgICAgICAgICAgIHJldHVybiBvYmoucHJvcGVydHkgPT09ICJib29sZWFuR2V0UHJvcGVydHkiOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIGRlbGV0ZSBCb29sZWFuLnByb3RvdHlwZS5nZXQ7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-3-221-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi0zLTIyMSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtMy0yMjEuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gJ0F0dHJpYnV0ZXMnIGlzIGEgQm9vbGVhbiBvYmplY3QgdGhhdCB1c2VzIE9iamVjdCdzIFtbR2V0XV0gbWV0aG9kIHRvIGFjY2VzcyB0aGUgJ2dldCcgcHJvcGVydHkgKDguMTAuNSBzdGVwIDcuYSkiLAoKICAgIHR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oKSB7CiAgICAgICAgICAgIHJldHVybiAibnVtYmVyR2V0UHJvcGVydHkiOwogICAgICAgIH07CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wZXJ0eSIsIG51bU9iaik7CgogICAgICAgIHJldHVybiBvYmoucHJvcGVydHkgPT09ICJudW1iZXJHZXRQcm9wZXJ0eSI7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-3-222"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi0zLTIyMy0xIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuNi8xNS4yLjMuNi0zLTIyMy0xLmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5kZWZpbmVQcm9wZXJ0eSAtICdBdHRyaWJ1dGVzJyBpcyB0aGUgTWF0aCBvYmplY3QgdGhhdCB1c2VzIE9iamVjdCdzIFtbR2V0XV0gbWV0aG9kIHRvIGFjY2VzcyB0aGUgJ2dldCcgcHJvcGVydHkgb2YgcHJvdG90eXBlIG9iamVjdCAoOC4xMC41IHN0ZXAgNy5hKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIG9iaiA9IHt9OwoKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QucHJvdG90eXBlLmdldCA9IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgIHJldHVybiAibWF0aEdldFByb3BlcnR5IjsKICAgICAgICAgICAgfTsKCiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wZXJ0eSIsIE1hdGgpOwoKICAgICAg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SBzdGVwIDcuYSkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBvYmogPSB7fTsKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QucHJvdG90eXBlLmdldCA9IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgIHJldHVybiAiYXJndW1lbnRHZXRQcm9wZXJ0eSI7CiAgICAgICAgICAgIH07CiAgICAgICAgICAgIHZhciBhcmdPYmogPSAoZnVuY3Rpb24gKCkgeyByZXR1cm4gYXJndW1lbnRzOyB9KSgpOwoKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3BlcnR5IiwgYXJnT2JqKTsKCiAgICAgICAgICAgIHJldHVybiBvYmoucHJvcGVydHkgPT09ICJhcmd1bWVudEdldFByb3BlcnR5IjsKICAgICAgICB9IGZpbmFsbHkgewogICAgICAgICAgICBkZWxldGUgT2JqZWN0LnByb3RvdHlwZS5nZXQ7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-3-228-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi0zLTIyOCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtMy0yMjguanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gJ0F0dHJpYnV0ZXMnIGlzIGFuIEFyZ3VtZW50cyBvYmplY3Qgd2hpY2ggaW1wbGVtZW50cyBpdHMgb3duIFtbR2V0XV0gbWV0aG9kIHRvIGFjY2VzcyB0aGUgJ2dldCcgc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uZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcGVydHkiLCB7CiAgICAgICAgICAgIGdldDogdW5kZWZpbmVkCiAgICAgICAgfSk7CgogICAgICAgIHJldHVybiBvYmouaGFzT3duUHJvcGVydHkoInByb3BlcnR5IikgJiYgdHlwZW9mIG9iai5wcm9wZXJ0eSA9PT0gInVuZGVmaW5lZCI7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-3-231"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi0zLTIzMiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtMy0yMzIuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gdmFsdWUgb2YgJ2dldCcgcHJvcGVydHkgaW4gJ0F0dHJpYnV0ZXMnIGlzIGEgZnVuY3Rpb24gKDguMTAuNSBzdGVwIDcuYikiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBvYmogPSB7fTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3BlcnR5IiwgewogICAgICAgICAgICBnZXQ6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgIHJldHVybiAiZ2V0RnVuY3Rpb24iOwogICAgICAgICAgICB9CiAgICAgICAgfSk7CgogICAgICAgIHJldHVybiBvYmouaGFzT3duUHJvcGVydHkoInByb3BlcnR5IikgJiYgb2JqLnByb3BlcnR5ID09PSAiZ2V0RnVuY3Rpb24iOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9u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cCA9PT0gInByb3BlcnR5IikgewogICAgICAgICAgICAgICAgYWNjZXNzZWQgPSB0cnVlOwogICAgICAgICAgICB9CiAgICAgICAgfQoKICAgICAgICByZXR1cm4gYWNjZXNzZWQ7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-3-24"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi0zLTI0MCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtMy0yNDAuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gJ3NldCcgcHJvcGVydHkgaW4gJ0F0dHJpYnV0ZXMnIGlzIG93biBkYXRhIHByb3BlcnR5IHRoYXQgb3ZlcnJpZGVzIGFuIGluaGVyaXRlZCBhY2Nlc3NvciBwcm9wZXJ0eSAoOC4xMC41IHN0ZXAgOC5hKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIG9iaiA9IHt9OwogICAgICAgIHZhciBwcm90byA9IHt9OwogICAgICAgIHZhciBkYXRhMSA9ICJkYXRhIjsKICAgICAgICB2YXIgZGF0YTIgPSAiZGF0YSI7CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShwcm90bywgInNldCIsIHsKICAgICAgICAgICAgZ2V0OiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZnVuY3Rpb24gKHZhbHVlKSB7CiAgICAgICAgICAgICAgICAgICAgZGF0YTEgPSB2YWx1ZTsKICAgICAgICAgICAgICAgIH07CiAgICAgICAgICAgIH0KICAgICAgICB9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uIGluaGVyaXRlZCBhY2Nlc3NvciBwcm9wZXJ0eSAoOC4xMC41IHN0ZXAgOC5hKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIG9iaiA9IHt9OwogICAgICAgIHZhciBwcm90byA9IHt9OwogICAgICAgIHZhciBkYXRhID0gImRhdGEiOwogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShwcm90bywgInNldCIsIHsKICAgICAgICAgICAgZ2V0OiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZnVuY3Rpb24gKHZhbHVlKSB7CiAgICAgICAgICAgICAgICAgICAgZGF0YSA9IHZhbHVlOwogICAgICAgICAgICAgICAgfTsKICAgICAgICAgICAgfQogICAgICAgIH0pOwoKICAgICAgICB2YXIgQ29uc3RydWN0RnVuID0gZnVuY3Rpb24gKCkgeyB9OwogICAgICAgIENvbnN0cnVjdEZ1bi5wcm90b3R5cGUgPSBwcm90bzsKCiAgICAgICAgdmFyIGNoaWxkID0gbmV3IENvbnN0cnVjdEZ1bigpOwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcGVydHkiLCBjaGlsZCk7CiAgICAgICAgb2JqLnByb3BlcnR5ID0gImluaGVyaXRlZEFjY2Vzc29yUHJvcGVydHkiOwoKICAgICAgICByZXR1cm4gb2JqLmhhc093blByb3BlcnR5KCJwcm9wZXJ0eSIpICYmIGRhdGEgPT09ICJpbmhlcml0ZWRBY2Nlc3NvclByb3BlcnR5IjsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSk7CiAgICB9Cn0pOwo=","id":"15.2.3.6-3-242"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi0zLT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ICAgICAgICAgICAgICAgICAgZGF0YTEgPSB2YWx1ZTsKICAgICAgICAgICAgICAgIH07CiAgICAgICAgICAgIH0KICAgICAgICB9KTsKCiAgICAgICAgdmFyIENvbnN0cnVjdEZ1biA9IGZ1bmN0aW9uICgpIHsgfTsKICAgICAgICBDb25zdHJ1Y3RGdW4ucHJvdG90eXBlID0gcHJvdG87CgogICAgICAgIHZhciBjaGlsZCA9IG5ldyBDb25zdHJ1Y3RGdW4oKTsKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoY2hpbGQsICJzZXQiLCB7CiAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgcmV0dXJuIGZ1bmN0aW9uICh2YWx1ZSkgewogICAgICAgICAgICAgICAgICAgIGRhdGEyID0gdmFsdWU7CiAgICAgICAgICAgICAgICB9OwogICAgICAgICAgICB9CiAgICAgICAgfSk7CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wZXJ0eSIsIGNoaWxkKTsKICAgICAgICBvYmoucHJvcGVydHkgPSAib3duQWNjZXNzb3JQcm9wZXJ0eSI7CgogICAgICAgIHJldHVybiBvYmouaGFzT3duUHJvcGVydHkoInByb3BlcnR5IikgJiYgZGF0YTEgPT09ICJkYXRhIiAmJiBkYXRhMiA9PT0gIm93bkFjY2Vzc29yUHJvcGVydHkiOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-3-244"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi0zLTI0NSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtMy0yNDUuan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kID0gZmFsc2U7CgogICAgICAgIHZhciBwcm90byA9IHt9OwogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShwcm90bywgImVudW1lcmFibGUiLCB7CiAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICB9CiAgICAgICAgfSk7CgogICAgICAgIHZhciBDb25zdHJ1Y3RGdW4gPSBmdW5jdGlvbiAoKSB7IH07CiAgICAgICAgQ29uc3RydWN0RnVuLnByb3RvdHlwZSA9IHByb3RvOwoKICAgICAgICB2YXIgY2hpbGQgPSBuZXcgQ29uc3RydWN0RnVuKCk7CiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGNoaWxkLCAiZW51bWVyYWJsZSIsIHsKICAgICAgICAgICAgdmFsdWU6ICB0cnVlCiAgICAgICAgfSk7CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wZXJ0eSIsIGNoaWxkKTsKCiAgICAgICAgZm9yICh2YXIgcHJvcCBpbiBvYmopIHsKICAgICAgICAgICAgaWYgKHByb3AgPT09ICJwcm9wZXJ0eSIpIHsKICAgICAgICAgICAgICAgIGFjY2Vzc2VkID0gdHJ1ZTsKICAgICAgICAgICAgfQogICAgICAgIH0KCiAgICAgICAgcmV0dXJuIGFjY2Vzc2VkOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-3-25"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi0zLTI1MC0xIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuNi8xNS4yLjMuNi0zLTI1MC0xLmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5kZWZpbmVQcm9wZXJ0eSAtICdBdHRyaWJ1dGVzJyBpcyBhIFN0cmluZyBvYmplY3QgdGhhdCB1c2VzIE9iamVjdCdzIFtbR2V0XV0gbWV0aG9kIHRvIGFjY2VzcyB0aGUgJ3NldCcgcHJvcGVydHkgb2YgcHJvdG90eXBlIG9iamVjdCAoOC4xMC41IHN0ZXAgOC5hKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIG9iaiA9IHt9OwogICAgICAgIHRyeSB7CiAgICAgICAgICAgIFN0cmluZy5wcm90b3R5cGUuc2V0ID0gZnVuY3Rpb24gKHZhbHVlKSB7CiAgICAgICAgICAgICAgICBkYXRhID0gdmFsdWU7CiAgICAgICAgICAgIH07CiAgICAgICAgICAgIHZhciBzdHJPYmogPSBuZXcgU3RyaW5nKCk7CiAgICAgICAgICAgIHZhciBkYXRhID0gImRhdGEiOwoKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3BlcnR5Iiwgc3RyT2JqKTsKICAgICAgICAgICAgb2JqLnByb3BlcnR5ID0gIm92ZXJyaWRlRGF0YSI7CgogICAgICAgICAgICByZXR1cm4gb2JqLmhhc093blByb3BlcnR5KCJwcm9wZXJ0eSIpICYmIGRhdGEgPT09ICJvdmVycmlkZURhdGEiOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIGRlbGV0ZSBTdHJpbmcucHJvdG90eXBlLnNldDsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-3-250-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yL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zE1LjIuMy8xNS4yLjMuNi8xNS4yLjMuNi0zLTI1MS0xLmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5kZWZpbmVQcm9wZXJ0eSAtICdBdHRyaWJ1dGVzJyBpcyBhIEJvb2xlYW4gb2JqZWN0IHRoYXQgdXNlcyBPYmplY3QncyBbW0dldF1dIG1ldGhvZCB0byBhY2Nlc3MgdGhlICdzZXQnIHByb3BlcnR5IG9mIHByb3RvdHlwZSBvYmplY3QgKDguMTAuNSBzdGVwIDguYSkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBvYmogPSB7fTsKICAgICAgICB2YXIgZGF0YSA9ICJkYXRhIjsKICAgICAgICB0cnkgewogICAgICAgICAgICBCb29sZWFuLnByb3RvdHlwZS5zZXQgPSBmdW5jdGlvbiAodmFsdWUpIHsKICAgICAgICAgICAgICAgIGRhdGEgPSB2YWx1ZTsKICAgICAgICAgICAgfTsKICAgICAgICAgICAgdmFyIGJvb2xPYmogPSBuZXcgQm9vbGVhbih0cnVlKTsKCiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wZXJ0eSIsIGJvb2xPYmopOwogICAgICAgICAgICBvYmoucHJvcGVydHkgPSAib3ZlcnJpZGVEYXRhIjsKCiAgICAgICAgICAgIHJldHVybiBvYmouaGFzT3duUHJvcGVydHkoInByb3BlcnR5IikgJiYgZGF0YSA9PT0gIm92ZXJyaWRlRGF0YSI7CiAgICAgICAgfSBmaW5hbGx5IHsKICAgICAgICAgICAgZGVsZXRlIEJvb2xlYW4ucHJvdG90eXBlLnNldDsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-3-251-1"},{"code":"RVM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Byb3RvdHlwZS5zZXQ7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-3-256-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi0zLTI1NiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtMy0yNTYuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gJ0F0dHJpYnV0ZXMnIGlzIHRoZSBKU09OIG9iamVjdCB0aGF0IHVzZXMgT2JqZWN0J3MgW1tHZXRdXSBtZXRob2QgdG8gYWNjZXNzIHRoZSAnc2V0JyBwcm9wZXJ0eSAoOC4xMC41IHN0ZXAgOC5hKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIG9iaiA9IHt9OwogICAgICAgIHZhciBkYXRhID0gImRhdGEiOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBKU09OLnNldCA9IGZ1bmN0aW9uICh2YWx1ZSkgewogICAgICAgICAgICAgICAgZGF0YSA9IHZhbHVlOwogICAgICAgICAgICB9OwoKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3BlcnR5IiwgSlNPTik7CiAgICAgICAgICAgIG9iai5wcm9wZXJ0eSA9ICJvdmVycmlkZURhdGEiOwoKICAgICAgICAgICAgcmV0dXJuIG9iai5oYXNPd25Qcm9wZXJ0eSgicHJvcGVydHkiKSAmJiBkYXRhID09PSAib3ZlcnJpZGVEYXRhIjsKICAgICAgICB9IGZpbmFsbHkgewogICAgICAgICAgICBkZWxldGUgS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qLnByb3BlcnR5ID0gIm92ZXJyaWRlRGF0YSI7CgogICAgICAgICAgICByZXR1cm4gb2JqLmhhc093blByb3BlcnR5KCJwcm9wZXJ0eSIpICYmIGRhdGEgPT09ICJvdmVycmlkZURhdGEiOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIGRlbGV0ZSBmbkdsb2JhbE9iamVjdCgpLnNldDsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-3-260"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi0zLTI2MSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtMy0yNjEuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gdmFsdWUgb2YgJ3NldCcgcHJvcGVydHkgaW4gJ0F0dHJpYnV0ZXMnIGlzIHVuZGVmaW5lZCAoOC4xMC41IHN0ZXAgOC5iKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIG9iaiA9IHt9OwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcGVydHkiLCB7CiAgICAgICAgICAgIHNldDogdW5kZWZpbmVkCiAgICAgICAgfSk7CgogICAgICAgIG9iai5wcm9wZXJ0eSA9ICJvdmVycmlkZURhdGEiOwogICAgICAgIHZhciBkZXNjID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wZXJ0eSIpOwogICAgICAgIHJldHVybiBvYmouaGFzT3duUHJvcGVydHkoInByb3BlcnR5IikgJi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HNlOwogICAgICAgIHZhciBwcm90byA9IHt9OwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkocHJvdG8sICJlbnVtZXJhYmxlIiwgewogICAgICAgICAgICBnZXQ6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfQogICAgICAgIH0pOwoKICAgICAgICB2YXIgQ29uc3RydWN0RnVuID0gZnVuY3Rpb24gKCkgeyB9OwogICAgICAgIENvbnN0cnVjdEZ1bi5wcm90b3R5cGUgPSBwcm90bzsKCiAgICAgICAgdmFyIGNoaWxkID0gbmV3IENvbnN0cnVjdEZ1bigpOwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoY2hpbGQsICJlbnVtZXJhYmxlIiwgewogICAgICAgICAgICBnZXQ6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgIHJldHVybiB0cnVlOwogICAgICAgICAgICB9CiAgICAgICAgfSk7CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wZXJ0eSIsIGNoaWxkKTsKCiAgICAgICAgZm9yICh2YXIgcHJvcCBpbiBvYmopIHsKICAgICAgICAgICAgaWYgKHByb3AgPT09ICJwcm9wZXJ0eSIpIHsKICAgICAgICAgICAgICAgIGFjY2Vzc2VkID0gdHJ1ZTsKICAgICAgICAgICAgfQogICAgICAgIH0KICAgICAgICByZXR1cm4gYWNjZXNzZWQ7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-3-29"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxNS4yLjMuNi0zLTMiLAoKcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvM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XQgb3ZlcnJpZGVzIGFuIGluaGVyaXRlZCBhY2Nlc3NvciBwcm9wZXJ0eSAoOC4xMC41IHN0ZXAgMy5hKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIG9iaiA9IHt9OwogICAgICAgIHZhciBhY2Nlc3NlZCA9IGZhbHNlOwogICAgICAgIHZhciBwcm90byA9IHt9OwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkocHJvdG8sICJlbnVtZXJhYmxlIiwgewogICAgICAgICAgICBnZXQ6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgIHJldHVybiB0cnVlOwogICAgICAgICAgICB9CiAgICAgICAgfSk7CgogICAgICAgIHZhciBDb25zdHJ1Y3RGdW4gPSBmdW5jdGlvbiAoKSB7IH07CiAgICAgICAgQ29uc3RydWN0RnVuLnByb3RvdHlwZSA9IHByb3RvOwoKICAgICAgICB2YXIgY2hpbGQgPSBuZXcgQ29uc3RydWN0RnVuKCk7CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShjaGlsZCwgImVudW1lcmFibGUiLCB7CiAgICAgICAgICAgIHNldDogZnVuY3Rpb24gKCkgeyB9CiAgICAgICAgfSk7CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wZXJ0eSIsIGNoaWxkKTsKCiAgICAgICAgZm9yICh2YXIgcHJvcCBpbiBvYmopIHsKICAgICAgICAgICAgaWYgKHByb3AgPT09ICJwcm9wZXJ0eSIpIHsKICAgICAgICAgICAgICAgIGFjY2Vzc2VkID0gdHJ1ZTsKICAgICAgICAgICAgfQogICAgICAgIH0KICAgICAgICByZXR1cm4gIWFjY2Vzc2VkOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0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JldHVybiAhYWNjZXNzZWQ7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-3-32"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi0zLTMzLTEiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjIvMTUuMi4zLzE1LjIuMy42LzE1LjIuMy42LTMtMzMtMS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJPYmplY3QuZGVmaW5lUHJvcGVydHkgLSAnQXR0cmlidXRlcycgaXMgYSBGdW5jdGlvbiBvYmplY3Qgd2hpY2ggaW1wbGVtZW50cyBpdHMgb3duIFtbR2V0XV0gbWV0aG9kIHRvIGFjY2VzcyB0aGUgJ2VudW1lcmFibGUnIHByb3BlcnR5IG9mIHByb3RvdHlwZSBvYmplY3QgKDguMTAuNSBzdGVwIDMuYSkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBvYmogPSB7fTsKICAgICAgICB2YXIgYWNjZXNzZWQgPSBmYWxzZTsKICAgICAgICB0cnkgewogICAgICAgICAgICBGdW5jdGlvbi5wcm90b3R5cGUuZW51bWVyYWJsZSA9IHRydWU7CiAgICAgICAgICAgIHZhciBmdW4gPSBmdW5jdGlvbiAoKSB7IH07CgogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcGVydHkiLCBmdW4pOwoKICAgICAgICAgICAgZm9yICh2YXIgcHJvcCBpbiBvYmopIHsKICAgICAgICAgICAgICAgIGlmIChwcm9wID09PSAicHJvcGVydHkiKSB7CiAgICAgICAgICAgICAgICAgICAgYWNjZXNzZWQgPSB0cnVlOwogICAgICAgICAgICAgICAgfQogICAgIC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ydHkiLCBzdHJPYmopOwoKICAgICAgICBmb3IgKHZhciBwcm9wIGluIG9iaikgewogICAgICAgICAgICBpZiAocHJvcCA9PT0gInByb3BlcnR5IikgewogICAgICAgICAgICAgICAgYWNjZXNzZWQgPSB0cnVlOwogICAgICAgICAgICB9CiAgICAgICAgfQoKICAgICAgICByZXR1cm4gYWNjZXNzZWQ7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-3-35"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi0zLTM2LTEiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjIvMTUuMi4zLzE1LjIuMy42LzE1LjIuMy42LTMtMzYtMS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJPYmplY3QuZGVmaW5lUHJvcGVydHkgLSAnQXR0cmlidXRlcycgaXMgYSBCb29sZWFuIG9iamVjdCB0aGF0IHVzZXMgT2JqZWN0J3MgW1tHZXRdXSBtZXRob2QgdG8gYWNjZXNzIHRoZSAnZW51bWVyYWJsZScgcHJvcGVydHkgb2YgcHJvdG90eXBlIG9iamVjdCAoOC4xMC41IHN0ZXAgMy5hKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIG9iaiA9IHt9OwogICAgICAgIHZhciBhY2Nlc3NlZCA9IGZhbHNlOwogICAgICAgIHRyeSB7CiAgICAgICAgICAgIEJvb2xlYW4ucHJvdG90eXBlLmVudW1lcmFibGUgPSB0cnVlOwogICAgICAgICAgICB2YXIgYm9vbE9iaiA9IG5ldyBCb29sZWFuKHRydWUpOwoKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3BlcnR5IiwgYm9vbE9iaik7CgogICAgICAgICAgICBmb3IgKHZhciBwcm9wIGluIG9iaikgewogICAgICAgICAgICAgICAgaWYgKHByb3AgPT09ICJwcm9wZXJ0eSIpIHsKICAgICAgICAgICAgICAgICAgICBhY2Nlc3NlZCA9IHRydWU7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KCiAgICAgICAgICAgIHJldHVybiBhY2Nlc3NlZDsKICAgICAgICB9IGZpbmFsbHkgewogICAgICAgICAgICBkZWxldGUgQm9vbGVhbi5wcm90b3R5cGUuZW51bWVyYWJsZTsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-3-36-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi0zLTM2IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuNi8xNS4yLjMuNi0zLTM2LmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5kZWZpbmVQcm9wZXJ0eSAtICdBdHRyaWJ1dGVzJyBpcyBhIEJvb2xlYW4gb2JqZWN0IHRoYXQgdXNlcyBPYmplY3QncyBbW0dldF1dIG1ldGhvZCB0byBhY2Nlc3MgdGhlICdlbnVtZXJhYmxlJyBwcm9wZXJ0eSAoOC4xMC41IHN0ZXAgMy5hKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIG9iaiA9IHt9OwogICAgICAgIHZhciBhY2Nlc3NlZCA9IGZhbHNlOwoKICAgICAgICB2YXIgYm9vbE9iaiA9IG5ldyBCb29sZWFuKHRydWUpOwogICAgICAgIGJvb2xPYmouZW51bWVyYWJsZSA9I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c2U7CgogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE1hdGguZW51bWVyYWJsZSA9IHRydWU7CgogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcGVydHkiLCBNYXRoKTsKCiAgICAgICAgICAgIGZvciAodmFyIHByb3AgaW4gb2JqKSB7CiAgICAgICAgICAgICAgICBpZiAocHJvcCA9PT0gInByb3BlcnR5IikgewogICAgICAgICAgICAgICAgICAgIGFjY2Vzc2VkID0gdHJ1ZTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgICAgICByZXR1cm4gYWNjZXNzZWQ7CiAgICAgICAgfSBmaW5hbGx5IHsKICAgICAgICAgICAgZGVsZXRlIE1hdGguZW51bWVyYWJsZTsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-3-38"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi0zLTM5LTEiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjIvMTUuMi4zLzE1LjIuMy42LzE1LjIuMy42LTMtMzktMS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJPYmplY3QuZGVmaW5lUHJvcGVydHkgLSAnQXR0cmlidXRlcycgaXMgYSBEYXRlIG9iamVjdCB0aGF0IHVzZXMgT2JqZWN0J3MgW1tHZXRdXSBtZXRob2QgdG8gYWNjZXNzIHRoZSAnZW51bWVyYWJsZScgcHJvcGVydHkgb2YgcHJvdG90eXBlIG9iamVjdCAoOC4xMC41IHN0ZXAgMy5hKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIG9iaiA9IHt9OwogICAgICA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ZSA9IHRydWU7CiAgICAgICAgICAgIHZhciByZWdPYmogPSBuZXcgUmVnRXhwKCk7CgogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcGVydHkiLCByZWdPYmopOwoKICAgICAgICAgICAgZm9yICh2YXIgcHJvcCBpbiBvYmopIHsKICAgICAgICAgICAgICAgIGlmIChwcm9wID09PSAicHJvcGVydHkiKSB7CiAgICAgICAgICAgICAgICAgICAgYWNjZXNzZWQgPSB0cnVlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CgogICAgICAgICAgICByZXR1cm4gYWNjZXNzZWQ7CiAgICAgICAgfSBmaW5hbGx5IHsKICAgICAgICAgICAgZGVsZXRlIFJlZ0V4cC5wcm90b3R5cGUuZW51bWVyYWJsZTsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-3-40-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi0zLTQwIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuNi8xNS4yLjMuNi0zLTQwLmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5kZWZpbmVQcm9wZXJ0eSAtICdBdHRyaWJ1dGVzJyBpcyBhbiBSZWdFeHAgb2JqZWN0IHRoYXQgdXNlcyBPYmplY3QncyBbW0dldF1dIG1ldGhvZCB0byBhY2Nlc3MgdGhlICdlbnVtZXJhYmxlJyBwcm9wZXJ0eSAoOC4xMC41IHN0ZXAgMy5hKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIG9iaiA9IHt9OwogICAgICAgIHZ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Igb2JqID0ge307CiAgICAgICAgdmFyIGFjY2Vzc2VkID0gZmFsc2U7CgogICAgICAgIHRyeSB7CiAgICAgICAgICAgIEpTT04uZW51bWVyYWJsZSA9IHRydWU7CgogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcGVydHkiLCBKU09OKTsKCiAgICAgICAgICAgIGZvciAodmFyIHByb3AgaW4gb2JqKSB7CiAgICAgICAgICAgICAgICBpZiAocHJvcCA9PT0gInByb3BlcnR5IikgewogICAgICAgICAgICAgICAgICAgIGFjY2Vzc2VkID0gdHJ1ZTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQoKICAgICAgICAgICAgcmV0dXJuIGFjY2Vzc2VkOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIGRlbGV0ZSBKU09OLmVudW1lcmFibGU7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-3-41"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi0zLTQyLTEiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjIvMTUuMi4zLzE1LjIuMy42LzE1LjIuMy42LTMtNDItMS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJPYmplY3QuZGVmaW5lUHJvcGVydHkgLSAnQXR0cmlidXRlcycgaXMgYW4gRXJyb3Igb2JqZWN0IHRoYXQgdXNlcyBPYmplY3QncyBbW0dldF1dIG1ldGhvZCB0byBhY2Nlc3MgdGhlICdlbnVtZXJhYmxlJyBwcm9wZXJ0eSBvZiBwcm90b3R5cGUgb2JqZWN0ICg4LjEwLjUgc3RlcCAzLmEpIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgb2JqID0ge307CiAgICAgICAgdmFyIGFjY2Vzc2VkID0gZmFsc2U7CiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgRXJyb3IucHJvdG90eXBlLmVudW1lcmFibGUgPSB0cnVlOwogICAgICAgICAgICB2YXIgZXJyT2JqID0gbmV3IEVycm9yKCk7CgogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcGVydHkiLCBlcnJPYmopOwoKICAgICAgICAgICAgZm9yICh2YXIgcHJvcCBpbiBvYmopIHsKICAgICAgICAgICAgICAgIGlmIChwcm9wID09PSAicHJvcGVydHkiKSB7CiAgICAgICAgICAgICAgICAgICAgYWNjZXNzZWQgPSB0cnVlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CgogICAgICAgICAgICByZXR1cm4gYWNjZXNzZWQ7CiAgICAgICAgfSBmaW5hbGx5IHsKICAgICAgICAgICAgZGVsZXRlIEVycm9yLnByb3RvdHlwZS5lbnVtZXJhYmxlOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSk7CiAgICB9Cn0pOwo=","id":"15.2.3.6-3-42-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi0zLTQyIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuNi8xNS4yLjMuNi0zLTQyLmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5kZWZpbmVQcm9wZXJ0eSAtICdBdHRyaWJ1dGVzJyBpcyBhbiBFcnJvciBvYmplY3QgdGhhdCB1c2VzIE9iamVjdCdzIFtbR2V0XV0gbWV0aG9k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HJvdG90eXBlIG9iamVjdCAoOC4xMC41IHN0ZXAgMy5hKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIG9iaiA9IHt9OwogICAgICAgIHZhciBhY2Nlc3NlZCA9IGZhbHNlOwogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5wcm90b3R5cGUuZW51bWVyYWJsZSA9IHRydWU7CiAgICAgICAgICAgIHZhciBhcmdPYmogPSAoZnVuY3Rpb24gKCkgeyByZXR1cm4gYXJndW1lbnRzOyB9KSgpOwoKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3BlcnR5IiwgYXJnT2JqKTsKCiAgICAgICAgICAgIGZvciAodmFyIHByb3AgaW4gb2JqKSB7CiAgICAgICAgICAgICAgICBpZiAocHJvcCA9PT0gInByb3BlcnR5IikgewogICAgICAgICAgICAgICAgICAgIGFjY2Vzc2VkID0gdHJ1ZTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQoKICAgICAgICAgICAgcmV0dXJuIGFjY2Vzc2VkOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIGRlbGV0ZSBPYmplY3QucHJvdG90eXBlLmVudW1lcmFibGU7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-3-43-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi0zLTQzIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuNi8xNS4yLjMuNi0zLTQzLmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5kZWZpbmVQ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TsKICAgIH0KfSk7Cg==","id":"15.2.3.6-3-77"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi0zLTc4IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuNi8xNS4yLjMuNi0zLTc4LmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5kZWZpbmVQcm9wZXJ0eSAtICdjb25maWd1cmFibGUnIHByb3BlcnR5IGluICdBdHRyaWJ1dGVzJyBpcyBvd24gZGF0YSBwcm9wZXJ0eSB0aGF0IG92ZXJyaWRlcyBhbiBpbmhlcml0ZWQgYWNjZXNzb3IgcHJvcGVydHkgKDguMTAuNSBzdGVwIDQuYSkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBvYmogPSB7fTsKCiAgICAgICAgdmFyIHByb3RvID0geyB9OwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkocHJvdG8sICJjb25maWd1cmFibGUiLCB7CiAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICB9CiAgICAgICAgfSk7CgogICAgICAgIHZhciBDb25zdHJ1Y3RGdW4gPSBmdW5jdGlvbiAoKSB7IH07CiAgICAgICAgQ29uc3RydWN0RnVuLnByb3RvdHlwZSA9IHByb3RvOwoKICAgICAgICB2YXIgY2hpbGQgPSBuZXcgQ29uc3RydWN0RnVuKCk7CiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGNoaWxkLCAiY29uZmlndXJhYmxlIiwgewogICAgICAgICAgICB2YWx1ZTogdHJ1ZQogICAgICAgIH0pOwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcGVydHkiLCBjaGlsZCk7CgogICAgICAgIHZhciBiZWZvcmVEZWxldGVkID0gb2JqLmhhc093blByb3BlcnR5KCJwcm9wZXJ0eSIpOwoKICAgICAgICBkZWxldGUgb2JqLnByb3BlcnR5OwoKICAgICAgICB2YXIgYWZ0ZXJEZWxldGVkID0gb2JqLmhhc093blByb3BlcnR5KCJwcm9wZXJ0eSIpOwoKICAgICAgICByZXR1cm4gYmVmb3JlRGVsZXRlZCA9PT0gdHJ1ZSAmJiBhZnRlckRlbGV0ZWQgPT09IGZhbHNlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-3-78"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi0zLTc5IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuNi8xNS4yLjMuNi0zLTc5LmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5kZWZpbmVQcm9wZXJ0eSAtICdjb25maWd1cmFibGUnIHByb3BlcnR5IGluICdBdHRyaWJ1dGVzJyBpcyBvd24gYWNjZXNzb3IgcHJvcGVydHkgKDguMTAuNSBzdGVwIDQuYSkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBvYmogPSB7IH07CgogICAgICAgIHZhciBhdHRyID0ge307CiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGF0dHIsICJjb25maWd1cmFibGUiLCB7CiAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgcmV0dXJuIHRydWU7CiAgICAgICAgICAgIH0KICAgICAgICB9KTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3BlcnR5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l0aG91dCBhIGdldCBmdW5jdGlvbiAoOC4xMC41IHN0ZXAgNC5hKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIG9iaiA9IHt9OwoKICAgICAgICB2YXIgcHJvdG8gPSB7fTsKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkocHJvdG8sICJjb25maWd1cmFibGUiLCB7CiAgICAgICAgICAgIHNldDogZnVuY3Rpb24gKCkgeyB9CiAgICAgICAgfSk7CgogICAgICAgIHZhciBDb25zdHJ1Y3RGdW4gPSBmdW5jdGlvbiAoKSB7IH07CiAgICAgICAgQ29uc3RydWN0RnVuLnByb3RvdHlwZSA9IHByb3RvOwoKICAgICAgICB2YXIgY2hpbGQgPSBuZXcgQ29uc3RydWN0RnVuKCk7CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wZXJ0eSIsIGNoaWxkKTsKCiAgICAgICAgdmFyIGJlZm9yZURlbGV0ZWQgPSBvYmouaGFzT3duUHJvcGVydHkoInByb3BlcnR5Iik7CgogICAgICAgIGRlbGV0ZSBvYmoucHJvcGVydHk7CgogICAgICAgIHZhciBhZnRlckRlbGV0ZWQgPSBvYmouaGFzT3duUHJvcGVydHkoInByb3BlcnR5IikgJiYgdHlwZW9mIChvYmoucHJvcGVydHkpID09PSAidW5kZWZpbmVkIjsKCiAgICAgICAgcmV0dXJuIGJlZm9yZURlbGV0ZWQgPT09IHRydWUgJiYgYWZ0ZXJEZWxldGVkID09PSB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-3-85"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi0zLTg2LTEiLAoKICA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ycgaXMgYSBEYXRlIG9iamVjdCB0aGF0IHVzZXMgT2JqZWN0J3MgW1tHZXRdXSBtZXRob2QgdG8gYWNjZXNzIHRoZSAnY29uZmlndXJhYmxlJyBwcm9wZXJ0eSAoOC4xMC41IHN0ZXAgNC5hKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIG9iaiA9IHt9OwogICAgICAgIHRyeSB7CiAgICAgICAgICAgIERhdGUucHJvdG90eXBlLmNvbmZpZ3VyYWJsZSA9IHRydWU7CiAgICAgICAgICAgIHZhciBkYXRlT2JqID0gbmV3IERhdGUoKTsKCiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wZXJ0eSIsIGRhdGVPYmopOwoKICAgICAgICAgICAgdmFyIGJlZm9yZURlbGV0ZWQgPSBvYmouaGFzT3duUHJvcGVydHkoInByb3BlcnR5Iik7CgogICAgICAgICAgICBkZWxldGUgb2JqLnByb3BlcnR5OwoKICAgICAgICAgICAgdmFyIGFmdGVyRGVsZXRlZCA9IG9iai5oYXNPd25Qcm9wZXJ0eSgicHJvcGVydHkiKTsKCiAgICAgICAgICAgIHJldHVybiBiZWZvcmVEZWxldGVkID09PSB0cnVlICYmIGFmdGVyRGVsZXRlZCA9PT0gZmFsc2U7CiAgICAgICAgfSBmaW5hbGx5IHsKICAgICAgICAgICAgZGVsZXRlIERhdGUucHJvdG90eXBlLmNvbmZpZ3VyYWJsZTsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-3-92-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi0zLTkyIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoY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wogICAgfQp9KTsK","id":"15.2.3.6-3-93"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi0zLTk0LTEiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjIvMTUuMi4zLzE1LjIuMy42LzE1LjIuMy42LTMtOTQtMS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJPYmplY3QuZGVmaW5lUHJvcGVydHkgLSAnQXR0cmlidXRlcycgaXMgdGhlIEpTT04gb2JqZWN0IHRoYXQgdXNlcyBPYmplY3QncyBbW0dldF1dIG1ldGhvZCB0byBhY2Nlc3MgdGhlICdjb25maWd1cmFibGUnIHByb3BlcnR5ICg4LjEwLjUgc3RlcCA0LmEpIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgb2JqID0ge307CgogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5wcm90b3R5cGUuY29uZmlndXJhYmxlID0gdHJ1ZTsKCiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wZXJ0eSIsIEpTT04pOwoKICAgICAgICAgICAgdmFyIGJlZm9yZURlbGV0ZWQgPSBvYmouaGFzT3duUHJvcGVydHkoInByb3BlcnR5Iik7CgogICAgICAgICAgICBkZWxldGUgb2JqLnByb3BlcnR5OwoKICAgICAgICAgICAgdmFyIGFmdGVyRGVsZXRlZCA9IG9iai5oYXNPd25Qcm9wZXJ0eSgicHJvcGVydHkiKTsKCiAgICAgICAgICAgIHJldHVybiBiZWZvcmVEZWxldGVkID09PSB0cnVlICYmIGFmdGVyRGVsZXRlZCA9PT0gZmFsc2U7CiAgICAgICAgfSBmaW5hbGx5IHsKICAgICAgICAgICAgZGVsZXRlIE9iamVjdC5wcm90b3R5cGUuY29uZmlndXJhYmxlOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9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ICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICB9KTsKICAgICAgICAKICAgICAgICByZXR1cm4gZGF0YVByb3BlcnR5QXR0cmlidXRlc0FyZUNvcnJlY3Qob2JqLCAiZm9vIiwgMjAwLCB0cnVlLCB0cnVlLCBmYWxzZSk7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-4-105"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTEwNiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0xMDYuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gJ25hbWUnIGFuZCAnZGVzYycgYXJlIGRhdGEgcHJvcGVydGllcywgc2V2ZXJhbCBhdHRyaWJ1dGVzIHZhbHVlcyBvZiBuYW1lIGFuZCBkZXNjIGFyZSBkaWZmZXJlbnQgKDguMTIuOSBzdGVwIDEyKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIHZhciBvYmogPSB7fTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgImZvbyIsIHsgCiAgICAgICAgICAgIHZhbHVlOiAxMDAsIAogICAgICAgICAgICB3cml0YWJsZTogdHJ1ZSwgCiAgICAgICAgICAgIGVudW1lcmFibGU6IHRydWUsIAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUgCiAgICAgICAgfSk7CiAgICAgICAgCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgImZvbyIsIHsgCiAgICAgICAgICAgIHZhbHVlOiAyMDAsIAogICAgICAgICAgICB3cml0YWJsZTogZmFsc2UsIAogICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZSAKICAgICAgICB9KTsKICAgICAgICByZXR1cm4gZGF0YVByb3BlcnR5QXR0cmlidXRlc0FyZUNvcnJlY3Qob2JqLCAiZm9vIiwgMjAwLCBmYWxzZSwgZmFsc2UsIHRydWUpOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-106"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTEwNyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0xMDcuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gJ25hbWUnIGFuZCAnZGVzYycgYXJlIGFjY2Vzc29yIHByb3BlcnRpZXMsIGJvdGggZGVzYy5bW0dldF1dIGFuZCBuYW1lLltbR2V0XV0gYXJlIHR3byBkaWZmZXJlbnQgdmFsdWVzICg4LjEyLjkgc3RlcCAxMikiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICAgICAgICB2YXIgb2JqID0ge307CgogICAgICAgIGZ1bmN0aW9uIGdldEZ1bmMoKSB7CiAgICAgICAgICAgIHJldHVybiAxMDsKICAgICAgICB9CgogICAgICAgIGZ1bmN0aW9uIHNldEZ1bmModmFsdWUpIHsKICAgICAgICAgICAgb2JqLnNldFZlcmlmeUhlbHBQcm9wID0gdmFsdWU7CiAgICAgICAgfQoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAiZm9vIiwgewogICA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5jdGlvbiBnZXRGdW5jKCkgewogICAgICAgICAgICByZXR1cm4gMTA7CiAgICAgICAgfQoKICAgICAgICBmdW5jdGlvbiBzZXRGdW5jKHZhbHVlKSB7CiAgICAgICAgICAgIG9iai5zZXRWZXJpZnlIZWxwUHJvcCA9IHZhbHVlOwogICAgICAgIH0KCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgImZvbyIsIHsKICAgICAgICAgICAgZ2V0OiBnZXRGdW5jLAogICAgICAgICAgICBzZXQ6IHNldEZ1bmMsCiAgICAgICAgICAgIGVudW1lcmFibGU6IHRydWUsCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgIH0pOwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAiZm9vIiwgewogICAgICAgICAgICBzZXQ6IHNldEZ1bmMsCiAgICAgICAgICAgIGdldDogdW5kZWZpbmVkCiAgICAgICAgfSk7CiAgICAgICAgcmV0dXJuIGFjY2Vzc29yUHJvcGVydHlBdHRyaWJ1dGVzQXJlQ29ycmVjdChvYmosICJmb28iLCB1bmRlZmluZWQsIHNldEZ1bmMsICJzZXRWZXJpZnlIZWxwUHJvcCIsIHRydWUsIHRydWUpOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-108"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTEwOSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0xMDkuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gJ25hbWUnIGFuZCAnZGVzYycgYXJlIGFjY2Vzc29yIHByb3BlcnRpZXMsIG5hbWUuW1tHZXRdXSBpcyB1bmRlZmluZWQgYW5kIGRlc2MuW1tHZXRdXSBpcyBmdW5jdGlvbiAoOC4xMi45IHN0ZXAgMTIpIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgb2JqID0ge307CgogICAgICAgIGZ1bmN0aW9uIHNldEZ1bmModmFsdWUpIHsKICAgICAgICAgICAgb2JqLnNldFZlcmlmeUhlbHBQcm9wID0gdmFsdWU7CiAgICAgICAgfQogICAgICAgCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgImZvbyIsIHsKICAgICAgICAgICAgc2V0OiBzZXRGdW5jLAogICAgICAgICAgICBnZXQ6IHVuZGVmaW5lZCwKICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgfSk7CgogICAgICAgIGZ1bmN0aW9uIGdldEZ1bmMoKSB7CiAgICAgICAgICAgIHJldHVybiAxMDsKICAgICAgICB9CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJmb28iLCB7CiAgICAgICAgICAgIGdldDogZ2V0RnVuYwogICAgICAgIH0pOwogICAgICAgIHJldHVybiBhY2Nlc3NvclByb3BlcnR5QXR0cmlidXRlc0FyZUNvcnJlY3Qob2JqLCAiZm9vIiwgZ2V0RnVuYywgc2V0RnVuYywgInNldFZlcmlmeUhlbHBQcm9wIiwgdHJ1ZSwgdHJ1ZSk7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-4-109"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKa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SBzaG91bGQgcmVtYWluIHVuY2hhbmdlZC4KICAgICAgdmFyIGQyID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvLCAiZm9vIik7CiAgICAgIGlmIChkMi5nZXQgPT09IGdldHRlciAmJgogICAgICAgICAgZDIuZW51bWVyYWJsZSA9PT0gdHJ1ZSAmJgogICAgICAgICAgZDIuY29uZmlndXJhYmxlID09PSBmYWxzZSkgewogICAgICAgIHJldHVybiB0cnVlOwogICAgICB9CiAgICB9CiAgfQogfSwKCnByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuRXhpc3RzKE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IpOwogfQp9KTsK","id":"15.2.3.6-4-11"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTExMCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0xMTAuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gJ25hbWUnIGFuZCAnZGVzYycgYXJlIGFjY2Vzc29yIHByb3BlcnRpZXMsIGJvdGggZGVzYy5bW1NldF1dIGFuZCBuYW1lLltbU2V0XV0gYXJlIHR3byBkaWZmZXJlbnQgdmFsdWVzICg4LjEyLjkgc3RlcCAxMikiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICAgICAgICB2YXIgb2JqID0ge307CgogICAgICAgIGZ1bmN0aW9uIHNldEZ1bmMxKCkgewogICAgICAgICAgICByZXR1cm4gMTA7CiAgICAgICAgfQoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAiZm9vIiwgewogICAgICAg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IHsKCiAgICAgICAgdmFyIG9iaiA9IHt9OwoKICAgICAgICBmdW5jdGlvbiBnZXRGdW5jKCkgewogICAgICAgICAgICByZXR1cm4gMTA7CiAgICAgICAgfQoKICAgICAgICBmdW5jdGlvbiBzZXRGdW5jKHZhbHVlKSB7CiAgICAgICAgICAgIG9iai5zZXRWZXJpZnlIZWxwUHJvcCA9IHZhbHVlOwogICAgICAgIH0KCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgImZvbyIsIHsKICAgICAgICAgICAgZ2V0OiBnZXRGdW5jLAogICAgICAgICAgICBzZXQ6IHNldEZ1bmMsCiAgICAgICAgICAgIGVudW1lcmFibGU6IHRydWUsCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgIH0pOwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAiZm9vIiwgewogICAgICAgICAgICBzZXQ6IHVuZGVmaW5lZCwKICAgICAgICAgICAgZ2V0OiBnZXRGdW5jCiAgICAgICAgfSk7CgoKICAgICAgICB2YXIgZGVzYyA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAiZm9vIik7CiAgICAgICAgcmV0dXJuIG9iai5oYXNPd25Qcm9wZXJ0eSgiZm9vIikgJiYgdHlwZW9mIChkZXNjLnNldCkgPT09ICJ1bmRlZmluZWQiOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmbkV4aXN0cyhPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-111"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTExMiIsCgogICAgcGF0aDogIlRlc3RDYXN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CkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-4-112"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTExMyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0xMTMuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gJ25hbWUnIGFuZCAnZGVzYycgYXJlIGFjY2Vzc29yIHByb3BlcnRpZXMsIG5hbWUuZW51bWVyYWJsZSBhbmQgZGVzYy5lbnVtZXJhYmxlIGFyZSBkaWZmZXJlbnQgdmFsdWVzICg4LjEyLjkgc3RlcCAxMikiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICAgICAgICB2YXIgb2JqID0ge307CgogICAgICAgIGZ1bmN0aW9uIGdldEZ1bmMoKSB7CiAgICAgICAgICAgIHJldHVybiAxMDsKICAgICAgICB9CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJmb28iLCB7CiAgICAgICAgICAgIGdldDogZ2V0RnVuYywKICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgfSk7CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJmb28iLCB7CiAgICAgICAgICAgIGdldDogZ2V0RnVuYywKICAgICAgICAgICAgZW51bWVyYWJsZTogZmFsc2UKICAgICAgICB9KTsKCiAgICAgICAgcmV0dXJuIGFjY2Vzc29yUHJvcGVydHlBdHRyaWJ1dGVzQXJlQ29ycmVjdChvYmosICJmb28iLCBnZXRGdW5jLCB1bmRlZmluZWQsIHVuZGVmaW5lZCwgZmF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ICJmb28iLCB7CiAgICAgICAgICAgIGdldDogZ2V0RnVuYzEsCiAgICAgICAgICAgIHNldDogc2V0RnVuYzEsCiAgICAgICAgICAgIGVudW1lcmFibGU6IHRydWUsCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgIH0pOwoKICAgICAgICBmdW5jdGlvbiBnZXRGdW5jMigpIHsKICAgICAgICAgICAgcmV0dXJuIDIwOwogICAgICAgIH0KICAgICAgICBmdW5jdGlvbiBzZXRGdW5jMih2YWx1ZSkgewogICAgICAgICAgICBvYmouc2V0VmVyaWZ5SGVscFByb3AgPSB2YWx1ZTsKICAgICAgICB9CiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgImZvbyIsIHsKICAgICAgICAgICAgZ2V0OiBnZXRGdW5jMiwKICAgICAgICAgICAgc2V0OiBzZXRGdW5jMiwKICAgICAgICAgICAgZW51bWVyYWJsZTogZmFsc2UKICAgICAgICB9KTsKICAgICAgICByZXR1cm4gYWNjZXNzb3JQcm9wZXJ0eUF0dHJpYnV0ZXNBcmVDb3JyZWN0KG9iaiwgImZvbyIsIGdldEZ1bmMyLCBzZXRGdW5jMiwgInNldFZlcmlmeUhlbHBQcm9wIiwgZmFsc2UsIHRydWUpOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-115"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuMi4zLjYtNC0xMTYiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjIvMTUuMi4zLzE1LjIuMy42LzE1LjIuMy42LTQtMTE2LmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5kZWZpbmVQcm9wZXJ0eSAtICdPJyBpcyBhbiBBcnJheSwgdGVzdCB0aGUgbGVuZ3RoIHByb3BlcnR5IG9mICdPJyBpcyBvd24gZGF0YSBwcm9wZXJ0eSAoMTUuNC41LjEgc3RlcCAxKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIHZhciBhcnJPYmogPSBbMCwgMV07CiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyck9iaiwgIjEiLCB7CiAgICAgICAgICAgIHZhbHVlOiAxLAogICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgfSk7CiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyck9iaiwgImxlbmd0aCIsIHsgdmFsdWU6IDEgfSk7CiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgIHZhciBkZXNjID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihhcnJPYmosICJsZW5ndGgiKTsKCiAgICAgICAgICAgIHJldHVybiBPYmplY3QuaGFzT3duUHJvcGVydHkuY2FsbChhcnJPYmosICJsZW5ndGgiKSAmJiBkZXNjLnZhbHVlID09PSAyICYmCiAgICAgICAgICAgICAgICBkZXNjLndyaXRhYmxlID09PSB0cnVlICYmIGRlc2MuY29uZmlndXJhYmxlID09PSBmYWxzZSAmJiBkZXNjLmVudW1lcmFibGUgPT09IGZhbHNlOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSk7CiAgICB9Cgp9KTsK","id":"15.2.3.6-4-116"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuMi4zLjYtNC0xMTciLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjIvMTUuMi4zLzE1LjIuMy42LzE1LjIuMy42LTQtMTE3LmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5kZWZpbmVQcm9wZXJ0eSAtICdPJyBpcyBhbiBBcnJheSwgdGVzdCB0aGUgbGVuZ3RoIHByb3BlcnR5IG9mICdPJyBpcyBvd24gZGF0YSBwcm9wZXJ0eSB0aGF0IG92ZXJyaWRlcyBhbiBpbmhlcml0ZWQgZGF0YSBwcm9wZXJ0eSAoMTUuNC41LjEgc3RlcCAxKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIGFyck9iaiA9IFswLCAxLCAyXTsKICAgICAgICB2YXIgYXJyUHJvdG9MZW47CgogICAgICAgIHRyeSB7CiAgICAgICAgICAgIGFyclByb3RvTGVuID0gQXJyYXkucHJvdG90eXBlLmxlbmd0aDsKICAgICAgICAgICAgQXJyYXkucHJvdG90eXBlLmxlbmd0aCA9IDA7CgogICAgICAgICAgICAKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyck9iaiwgIjIiLCB7CiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgICAgIH0pOwoKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyck9iaiwgImxlbmd0aCIsIHsKICAgICAgICAgICAgICAgIHZhbHVlOiAxCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICByZXR1cm4gZSBpbnN0YW5jZW9mIFR5cGVFcnJvciAmJiBhcnJPYmoubGVuZ3RoID09PSAzICYmIEFycmF5LnByb3RvdHlwZS5sZW5ndGggPT09IDA7CiAgICAgICAgfSBmaW5hbGx5IHsKICAgICAgICAgICAgQXJyYXkucHJvdG90eXBlLmxlbmd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3RoIHByb3BlcnR5IGluICdPJyAoMTUuNC41LjEgc3RlcCAzLmEuaSkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICAgICAgICB2YXIgYXJyT2JqID0gW107CiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyck9iaiwgImxlbmd0aCIsIHsKICAgICAgICAgICAgd3JpdGFibGU6IHRydWUsCiAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgfSk7CgogICAgICAgIHZhciB2ZXJpZnlWYWx1ZSA9IGZhbHNlOwogICAgICAgIGlmIChhcnJPYmoubGVuZ3RoID09PSAwKSB7CiAgICAgICAgICAgIHZlcmlmeVZhbHVlID0gdHJ1ZTsKICAgICAgICB9CgogICAgICAgIGFyck9iai5sZW5ndGggPSAyOwogICAgICAgIHZhciB2ZXJpZnlXcml0YWJsZSA9IGFyck9iai5sZW5ndGggPT09IDIgPyB0cnVlIDogZmFsc2U7CgogICAgICAgIHZhciB2ZXJpZnlFbnVtZXJhYmxlID0gZmFsc2U7CiAgICAgICAgZm9yICh2YXIgcCBpbiBhcnJPYmopIHsKICAgICAgICAgICAgaWYgKHAgPT09ICJsZW5ndGgiICYmIGFyck9iai5oYXNPd25Qcm9wZXJ0eShwKSkgewogICAgICAgICAgICAgICAgdmVyaWZ5RW51bWVyYWJsZSA9IHRydWU7CiAgICAgICAgICAgIH0KICAgICAgICB9CgogICAgICAgIGRlbGV0ZSBhcnJPYmoubGVuZ3RoOwogICAgICAgIHZhciB2ZXJpZnlDb25maWd1cmFibGUgPSBhcnJPYmouaGFzT3duUHJvcGVydHkoImxlbmd0aCIpOwoKICAgICAgICByZXR1cm4gdmVyaWZ5VmFsdWUgJiYgdmVyaWZ5V3JpdGFibGUgJiYgIXZlcmlmeUVudW1lcmFibGUgJiYgdmVyaWZ5Q29uZmlndXJhYmxlOwogICAgfSwKCiA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CkgewoKICAgICAgICB2YXIgYXJyT2JqID0gW107CiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyck9iaiwgImxlbmd0aCIsIHsKICAgICAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgICAgIHJldHVybiAyOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9KTsKICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBUeXBlRXJyb3I7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KCn0pOwo=","id":"15.2.3.6-4-122"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuMi4zLjYtNC0xMjMiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjIvMTUuMi4zLzE1LjIuMy42LzE1LjIuMy42LTQtMTIzLmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5kZWZpbmVQcm9wZXJ0eSAtICdPJyBpcyBhbiBBcnJheSwgJ25hbWUnIGlzIHRoZSBsZW5ndGggcHJvcGVydHkgb2YgJ08nLCB0aGUgW1tWYWx1ZV1dIGZpZWxkIG9mICdkZXNjJyBpcyBhYnNlbnQsIHRlc3QgVHlwZUVycm9yIGlzIHRocm93biB3aGVuIHVwZGF0aW5nIHRoZSBbW1dyaXRhYmxlXV0gYXR0cmlidXRlIG9mIHRoZSBsZW5ndGggcHJvcGVydHkgZnJvbSBmYWxzZSB0byB0cnVlICgxNS40LjUuMSBzdGVwIDMuYS5pKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIHZhciBhcnJPYmogPSBbXTsKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXJyT2JqLCAibGVuZ3RoIiwgewogICAgICAgICAgICAgICAgd3JpdGFibGU6IGZhbHNlCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXJyT2JqLCAibGVuZ3RoIiwgewogICAgICAgICAgICAgICAgd3JpdGFibGU6IHRydWUKICAgICAgICAgICAgfSk7CgogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICByZXR1cm4gZSBpbnN0YW5jZW9mIFR5cGVFcnJvcjsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQoKfSk7Cg==","id":"15.2.3.6-4-123"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuMi4zLjYtNC0xMjQiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjIvMTUuMi4zLzE1LjIuMy42LzE1LjIuMy42LTQtMTI0LmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5kZWZpbmVQcm9wZXJ0eSAtICdPJyBpcyBhbiBBcnJheSwgJ25hbWUnIGlzIHRoZSBsZW5ndGggcHJvcGVydHkgb2YgJ08nLCB0aGUgW1tWYWx1ZV1dIGZpZWxkIG9mICdkZXNjJyBpcyBhYnNlbnQsIHRlc3QgdXBkYXRpbmcgdGhlIFtbV3JpdGFibGVdXSBhdHRyaWJ1dGUgb2YgdGhlIGxlbmd0aCBwcm9wZXJ0eSBmcm9tIHRydWUgdG8gZmFsc2UgKDE1LjQuNS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gbWV0aG9kIHRoYXQgcmV0dXJucyBhbiBvYmplY3QgYW5kIHRvU3RyaW5nIG1ldGhvZCB0aGF0IHJldHVybnMgYSBzdHJpbmcgKDE1LjQuNS4xIHN0ZXAgMy5jKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIHZhciBhcnJPYmogPSBbXTsKICAgICAgICB2YXIgdG9TdHJpbmdBY2Nlc3NlZCA9IGZhbHNlOwogICAgICAgIHZhciB2YWx1ZU9mQWNjZXNzZWQgPSBmYWxzZTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyck9iaiwgImxlbmd0aCIsIHsKICAgICAgICAgICAgdmFsdWU6IHsKICAgICAgICAgICAgICAgIHRvU3RyaW5nOiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICAgICAgdG9TdHJpbmdBY2Nlc3NlZCA9IHRydWU7CiAgICAgICAgICAgICAgICAgICAgcmV0dXJuICcyJzsKICAgICAgICAgICAgICAgIH0sCgogICAgICAgICAgICAgICAgdmFsdWVPZjogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgICAgIHZhbHVlT2ZBY2Nlc3NlZCA9IHRydWU7CiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHt9OwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfSk7CiAgICAgICAgcmV0dXJuIGFyck9iai5sZW5ndGggPT09IDIgJiYgdG9TdHJpbmdBY2Nlc3NlZCAmJiB2YWx1ZU9mQWNjZXNzZWQ7CgogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KCn0pOwo=","id":"15.2.3.6-4-148"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuMi4zLjYtNC0xNDk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gdGhhdCBib3RoIHRvU3RyaW5nIGFuZCB2YWx1ZU9mIHdvdWxkbid0IHJldHVybiBwcmltaXRpdmUgdmFsdWUgKDE1LjQuNS4xIHN0ZXAgMy5jKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIHZhciBhcnJPYmogPSBbXTsKICAgICAgICB2YXIgdG9TdHJpbmdBY2Nlc3NlZCA9IGZhbHNlOwogICAgICAgIHZhciB2YWx1ZU9mQWNjZXNzZWQgPSBmYWxzZTsKCiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyck9iaiwgImxlbmd0aCIsIHsKICAgICAgICAgICAgICAgIHZhbHVlOiB7CiAgICAgICAgICAgICAgICAgICAgdG9TdHJpbmc6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgICAgICAgICAgdG9TdHJpbmdBY2Nlc3NlZCA9IHRydWU7CiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiB7fTsKICAgICAgICAgICAgICAgICAgICB9LAoKICAgICAgICAgICAgICAgICAgICB2YWx1ZU9mOiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHZhbHVlT2ZBY2Nlc3NlZCA9IHRydWU7CiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiB7fTsKICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0pOwogICAgICAgICAgICByZXR1cm4gZmFsc2U7CgogICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBUeXBlRXJyb3IgJiYgdG9TdHJpbmdBY2Nlc3NlZCAmJiB2YWx1ZU9mQWNjZXNzZWQ7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlz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gICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICAKICAgICAgICAgICAgQXJyYXkucHJvdG90eXBlWzFdID0gMjsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyck9iaiwgImxlbmd0aCIsIHsKICAgICAgICAgICAgICAgIHZhbHVlOiAxCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICByZXR1cm4gZSBpbnN0YW5jZW9mIFR5cGVFcnJvciAmJiBhcnJPYmoubGVuZ3RoID09PSAyICYmIGFyck9iai5oYXNPd25Qcm9wZXJ0eSgiMSIpOyAKICAgICAgICB9IGZpbmFsbHkgewogICAgICAgICAgICBkZWxldGUgQXJyYXkucHJvdG90eXBlWzFdOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSk7CiAgICB9Cgp9KTsK","id":"15.2.3.6-4-172"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuMi4zLjYtNC0xNzMiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjIvMTUuMi4zLzE1LjIuMy42LzE1LjIuMy42LTQtMTczLmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5kZWZpbmVQcm9wZXJ0eSAtICdPJyBpcyBhbiBBcnJheSwgJ25hbWUnIGlzIHRoZSBsZW5ndGggcHJvcGVydHkgb2YgJ08nLCB0aGUgW1tWYWx1ZV1dIGZpZWxkIG9mICdkZXNjJyBpcyBsZXNzIHRoYW4gdmFsdWUgb2YgIHRoZSBsZW5ndGggcHJvcGVydHksIHRlc3QgdGhlIFtbQ29uZmlndXJhYmxlXV0gYXR0cmlidXRlIG9mIG93biBkYXRhIHByb3BlcnR5IHdpdGggbGFyZ2UgaW5kZXggbmFtZWQgaW4gJ08nIHRoYXQgb3ZlcnJpZGVzIGFuIGluaGVyaXRlZCBhY2Nlc3NvciBwcm9wZXJ0eSBjYW4gc3RvcCBkZWxldGluZyBpbmRleCBuYW1lZCBwcm9wZXJ0aWVzICgxNS40LjUuMSBzdGVwIDMubC5paSkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICAgICAgICB2YXIgYXJyT2JqID0gWzAsIDFdOwogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcnJPYmosICIxIiwgewogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgICAgICB9KTsKCiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShBcnJheS5wcm90b3R5cGUsICIxIiwgewogICAgICAgICAgICAgICAgZ2V0OiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIDI7CiAgICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwoKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyck9iaiwgImxlbmd0aCIsIHsKICAgICAgICAgICAgICAgIHZhbHVlOiAxCiAgICAgICAgICAgIH0pOwoKICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBUeXBlRXJyb3IgJiYgYXJyT2JqLmxlbmd0aCA9PT0gMiAmJiBhcnJPYmouaGFzT3duUHJvcGVydHkoIjEiKTsKICAgICAgICB9IGZpbmFsbHkgewogICAgICAgICAgICBkZWxldGUgQXJyYXkucHJvdG90eXBlWz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G5hbWVkIHByb3BlcnRpZXMgKDE1LjQuNS4xIHN0ZXAgMy5sLmlpKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIHZhciBhcnJPYmogPSBbMCwgMV07CiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KEFycmF5LnByb3RvdHlwZSwgIjEiLCB7CiAgICAgICAgICAgICAgICBnZXQ6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgICAgICByZXR1cm4gMTsKICAgICAgICAgICAgICAgIH0sCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUgLy8gTm90IHNldHRpbmcgdGhlIFtbQ29uZmlndXJhYmxlXV0gYXR0cmlidXRlIG9mIHByb3BlcnR5ICIxIiB0byBmYWxzZSBoZXJlLCBzaW5jZSBBcnJheS5wcm90b3R5cGUgaXMgYSBnbG9iYWwgb2JqZWN0LCBhbmQgbm9uLWNvbmZpZ3VyYmFsZSBwcm9wZXJ0eSBjYW4ndCByZXZlcnQgdG8gY29uZmlndXJhYmxlCiAgICAgICAgICAgIH0pOwoKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyck9iaiwgImxlbmd0aCIsIHsKICAgICAgICAgICAgICAgIHZhbHVlOiAxCiAgICAgICAgICAgIH0pOwoKICAgICAgICAgICAgcmV0dXJuIGFyck9iai5sZW5ndGggPT09IDEgJiYgIWFyck9iai5oYXNPd25Qcm9wZXJ0eSgiMSIpOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIGRlbGV0ZSBBcnJheS5wcm90b3R5cGVbMV07CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KCn0pOwo=","id":"15.2.3.6-4-175"},{"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mhlcml0ZWQgYWNjZXNzb3IgcHJvcGVydHkgY2FuIHN0b3AgZGVsZXRpbmcgaW5kZXggbmFtZWQgcHJvcGVydGllcyAoMTUuNC41LjEgc3RlcCAzLmwuaWkpIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKCiAgICAgICAgdmFyIGFyck9iaiA9IFswLCAxXTsKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXJyT2JqLCAiMSIsIHsKICAgICAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgICAgIHJldHVybiAxOwogICAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIAogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoQXJyYXkucHJvdG90eXBlLCAiMSIsIHsKICAgICAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgICAgIHJldHVybiAyOwogICAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICB9KTsKCiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcnJPYmosICJsZW5ndGgiLCB7CiAgICAgICAgICAgICAgICB2YWx1ZTogMQogICAgICAgICAgICB9KTsKICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBUeXBlRXJyb3IgJiYgYXJyT2JqLmxlbmd0aCA9PT0gMiAmJiBhcnJPYmouaGFzT3duUHJvcGVydHkoIjEiKTsgCiAgICAgICAgfSBmaW5hbGx5IHsKICAgICAgICAgICAgZGVsZXRlIEFycmF5LnByb3RvdHlwZVsxXTsKICAgICAgIC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PJyBpcyBmYWxzZSBhbmQgdmFsdWUgb2YgJ25hbWUnIGVxdWFscyB0byB2YWx1ZSBvZiB0aGUgbGVuZ3RoIHByb3BlcnR5ICgxNS40LjUuMSBzdGVwIDQuYikiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBhcnJPYmogPSBbMSwgMiwgM107CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcnJPYmosICJsZW5ndGgiLCB7CiAgICAgICAgICAgIHdyaXRhYmxlOiBmYWxzZQogICAgICAgIH0pOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXJyT2JqLCAzLCB7CiAgICAgICAgICAgICAgICB2YWx1ZTogImFiYyIKICAgICAgICAgICAgfSk7CgogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICByZXR1cm4gZSBpbnN0YW5jZW9mIFR5cGVFcnJvcjsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-4-188"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTE4OSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0xODkuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gJ08nIGlzIGFuIEFycmF5LCAnbmFtZScgaXMgYW4gYXJyYXkgaW5kZXggbmFtZWQgcHJvcGVydHksIHRlc3QgVHlwZUVycm9yIGlzIHRocm93biBpZiB0aGUgW1tXcml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YXRhUHJvcGVydHkiLCBmYWxzZSwgZmFsc2UsIGZhbHNlKTsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-4-190"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTE5MSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0xOTEuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gJ08nIGlzIGFuIEFycmF5LCAnbmFtZScgaXMgYW4gYXJyYXkgaW5kZXggbmFtZWQgcHJvcGVydHksICduYW1lJyBpcyBhbiBpbmhlcml0ZWQgZGF0YSBwcm9wZXJ0eSwgdGVzdCB0aGF0IGRlZmluaW5nIG93biBpbmRleCBuYW1lZCBwcm9wZXJ0eSBpcyBzdWNjZXNzZnVsICgxNS40LjUuMSBzdGVwIDQuYykiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShBcnJheS5wcm90b3R5cGUsICIwIiwgewogICAgICAgICAgICAgICAgdmFsdWU6IDExLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwoKICAgICAgICAgICAgdmFyIGFyck9iaiA9IFtdOwoKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyck9iaiwgIjAiLCB7CiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICByZXR1cm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gICAgICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICAgICAgfSk7CgogICAgICAgICAgICB2YXIgYXJyT2JqID0gW107CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcnJPYmosICIwIiwgewogICAgICAgICAgICAgICAgdmFsdWU6IDEyLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgICAgICB9KTsKICAgICAgIAogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXJyT2JqLCAiMCIsIHsKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICB9KTsKICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBUeXBlRXJyb3IgJiYgQXJyYXkucHJvdG90eXBlWzBdID09PSAxMSAmJiBhcnJPYmpbMF0gPT09IDEyOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIGRlbGV0ZSBBcnJheS5wcm90b3R5cGVbMF07CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-192"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTE5MyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0xOTMuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gJ08nIGlzIGFuIEFycmF5LCAnbmFtZScgaXMgYW4gYXJyYXkgaW5kZXggbmFtZWQgcHJvcGVydHksICduYW1lJyBpcyBvd24gZGF0YSBwcm9wZXJ0eSB0aGF0IG92ZXJyaWRlcyBhbiBpbmhlcml0ZWQgYWNjZXNzb3IgcHJvcGVydHksIHRlc3QgVHlwZUVycm9yIGlzIHRocm93biB3aGVuIHVwZGF0ZSB0aGUgW1tDb25maWd1cmFibGVdXSBhdHRyaWJ1dGUgdG8gdHJ1ZSBhbmQgdmFsdWUgb2YgW1tDb25maWd1cmFibGVdXSBhdHRyaWJ1dGUgb2Ygb3JpZ2luYWwgaXMgZmFsc2UgICgxNS40LjUuMSBzdGVwIDQuYykiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShBcnJheS5wcm90b3R5cGUsICIwIiwgewogICAgICAgICAgICAgICAgZ2V0OiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIDExOwogICAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICB9KTsKCiAgICAgICAgICAgIHZhciBhcnJPYmogPSBbXTsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyck9iaiwgIjAiLCB7CiAgICAgICAgICAgICAgICB2YWx1ZTogMTIsCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgICAgIH0pOwoKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyck9iaiwgIjAiLCB7CiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgIHJldHVybiBlIGluc3RhbmNlb2YgVHlwZUVycm9yICYmIEFycmF5LnByb3Rvd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ZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KEFycmF5LnByb3RvdHlwZSwgIjAiLCB7CiAgICAgICAgICAgICAgICBnZXQ6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgICAgICByZXR1cm4gMTE7CiAgICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwoKICAgICAgICAgICAgdmFyIGFyck9iaiA9IFtdOwoKICAgICAgICAgICAgZnVuY3Rpb24gZ2V0RnVuYygpIHsKICAgICAgICAgICAgICAgIHJldHVybiBhcnJPYmouaGVscFZlcmlmeVNldDsKICAgICAgICAgICAgfQogICAgICAgICAgICBmdW5jdGlvbiBzZXRGdW5jKHZhbHVlKSB7CiAgICAgICAgICAgICAgICBhcnJPYmouaGVscFZlcmlmeVNldCA9IHZhbHVlOwogICAgICAgICAgICB9CgogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXJyT2JqLCAiMCIsIHsKICAgICAgICAgICAgICAgIGdldDogZ2V0RnVuYywKICAgICAgICAgICAgICAgIHNldDogc2V0RnVuYywKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICAgICAgfSk7CgogICAgICAgICAgICBhcnJPYmpbMF0gPSAxMzsKCiAgICAgICAgICAgIHJldHVybiBhY2Nlc3NvclByb3BlcnR5QXR0cmlidXRlc0FyZUNvcnJlY3QoYXJyT2JqLCAiMCIsIGdldEZ1bmMsIHNldEZ1bmMsICJoZWxwVmVyaWZ5U2V0IiwgZmFsc2UsIGZhbHNlKTsKICAgICAgICB9IGZpbmFsbHkgewogICAgICAgICAgICBkZWxldGUgQXJyYXkucHJvdG90eXBlWzBdOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkgJiYgZm5TdXBwb3J0c0FycmF5SW5kZXhHZXR0ZXJzT25BcnJheXMoKTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-195"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTE5NiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0xOTYuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gJ08nIGlzIGFuIEFycmF5LCAnbmFtZScgaXMgYW4gYXJyYXkgaW5kZXggbmFtZWQgcHJvcGVydHksICduYW1lJyBpcyBvd24gYWNjZXNzb3IgcHJvcGVydHkgdGhhdCBvdmVycmlkZXMgYW4gaW5oZXJpdGVkIGRhdGEgcHJvcGVydHkgKDE1LjQuNS4xIHN0ZXAgNC5jKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KEFycmF5LnByb3RvdHlwZSwgIjAiLCB7CiAgICAgICAgICAgICAgICB2YWx1ZTogMTEsCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICAgICAgfSk7CgogICAgICAgICAgICB2YXIgYXJyT2JqID0gW107CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcnJPYmosICIwIiwgewogICAgICAgICAgICAgICAgZ2V0OiBmdW5jdGlvbiAoKSB7IH0sCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgICAgIH0pOwoKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyck9iaiwgIjAiLCB7CiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgIHJldHVybiBlIGluc3RhbmNlb2YgVHlwZUVycm9yOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIGRlbGV0ZSBBcnJheS5wcm90b3R5cGVbMF07CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmblN1cHBvcnRzQXJyYXlJbmRleEdldHRlcnNPbkFycmF5cygpOwogICAgfQp9KTsK","id":"15.2.3.6-4-196"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTE5NyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0xOTcuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gJ08nIGlzIGFuIEFycmF5LCAnbmFtZScgaXMgYW4gYXJyYXkgaW5kZXggbmFtZWQgcHJvcGVydHksICduYW1lJyBpcyBvd24gYWNjZXNzb3IgcHJvcGVydHkgdGhhdCBvdmVycmlkZXMgYW4gaW5oZXJpdGVkIGFjY2Vzc29yIHByb3BlcnR5ICgxNS40LjUuMSBzdGVwIDQuYykiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShBcnJheS5wcm90b3R5cGUsICIwIiwgewogICAgICAgICAgICAgICAgZ2V0OiBmdW5jdGlvbiAoKSB7IH0sCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICAgICAgfSk7CgogICAgICAgICAgICB2YXIgYXJyT2JqID0gW107CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcnJPYmosICIwIiwgewogICAgICAgICAgICAgICAgZ2V0OiBmdW5jdGlvbiAoKSB7IH0sCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgICAgIH0pOwoKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyck9iaiwgIjAiLCB7CiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgIHJldHVybiBlIGluc3RhbmNlb2YgVHlwZUVycm9yOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIGRlbGV0ZSBBcnJheS5wcm90b3R5cGVbMF07CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmblN1cHBvcnRzQXJyYXlJbmRleEdldHRlcnNPbkFycmF5cygpOwogICAgfQp9KTsK","id":"15.2.3.6-4-197"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTE5OCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0xOTguanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gJ08nIGlzIGFuIEFycmF5LCAnbmFtZScgaXMgYW4gYXJyYXkgaW5kZXggbmFtZWQgc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VmVyaWZ5SGVscFByb3AgPSB2YWx1ZTsKICAgICAgICB9OwoKICAgICAgICB2YXIgZGVzYyA9IHsKICAgICAgICAgICAgZ2V0OiBnZXRGdW5jLAogICAgICAgICAgICBzZXQ6IHNldEZ1bmMsCiAgICAgICAgICAgIGVudW1lcmFibGU6IHRydWUsCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgIH07CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcnJPYmosICIwIiwgewogICAgICAgICAgICBnZXQ6IGdldEZ1bmMsCiAgICAgICAgICAgIHNldDogc2V0RnVuYywKICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgfSk7CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcnJPYmosICIwIiwgZGVzYyk7CgogICAgICAgIHJldHVybiBhY2Nlc3NvclByb3BlcnR5QXR0cmlidXRlc0FyZUNvcnJlY3QoYXJyT2JqLCAiMCIsIGdldEZ1bmMsIHNldEZ1bmMsICJzZXRWZXJpZnlIZWxwUHJvcCIsIHRydWUsIHRydWUpOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmblN1cHBvcnRzQXJyYXlJbmRleEdldHRlcnNPbkFycmF5cygpOwogICAgfQp9KTsK","id":"15.2.3.6-4-213"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTIxNCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0yMTQuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3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Z3VyYWJsZV1dIGF0dHJpYnV0ZSB2YWx1ZSBvZiAnbmFtZScgaXMgZmFsc2UgKDE1LjQuNS4xIHN0ZXAgNC5jKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIHZhciBhcnJPYmogPSBbXTsKCiAgICAgICAgZnVuY3Rpb24gc2V0RnVuYyh2YWx1ZSkgewogICAgICAgICAgICBhcnJPYmouc2V0VmVyaWZ5SGVscFByb3AgPSB2YWx1ZTsKICAgICAgICB9CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcnJPYmosICIxIiwgewogICAgICAgICAgICBzZXQ6IHNldEZ1bmMsCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICB9KTsKCiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyck9iaiwgIjEiLCB7CiAgICAgICAgICAgICAgICB2YWx1ZTogMTMKICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKCiAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICByZXR1cm4gZSBpbnN0YW5jZW9mIFR5cGVFcnJvciAmJiBhY2Nlc3NvclByb3BlcnR5QXR0cmlidXRlc0FyZUNvcnJlY3QoYXJyT2JqLCAiMSIsIHVuZGVmaW5lZCwgc2V0RnVuYywgInNldFZlcmlmeUhlbHBQcm9wIiwgZmFsc2UsIGZhbHNlKTsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuU3VwcG9ydHNBcnJheUluZGV4R2V0dGVyc09uQXJyYXlzKCk7CiAgICB9Cn0pOwo=","id":"15.2.3.6-4-240"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3Qoew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0RnVuYwogICAgICAgIH0pOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXJyT2JqLCAiMSIsIHsKICAgICAgICAgICAgICAgIGdldDogdW5kZWZpbmVkCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICB2YXIgaGFzUHJvcGVydHkgPSBhcnJPYmouaGFzT3duUHJvcGVydHkoIjEiKTsKICAgICAgICAgICAgdmFyIGRlc2MgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKGFyck9iaiwgIjEiKTsKCiAgICAgICAgICAgIHZhciB2ZXJpZnlHZXQgPSBhcnJPYmpbMV0gPT09IGdldEZ1bmMoKTsKCiAgICAgICAgICAgIHZhciB2ZXJpZnlTZXQgPSBkZXNjLmhhc093blByb3BlcnR5KCJzZXQiKSAmJiB0eXBlb2YgZGVzYy5zZXQgPT09ICJ1bmRlZmluZWQiOwoKICAgICAgICAgICAgdmFyIHZlcmlmeUVudW1lcmFibGUgPSBmYWxzZTsKICAgICAgICAgICAgZm9yICh2YXIgcCBpbiBhcnJPYmopIHsKICAgICAgICAgICAgICAgIGlmIChwID09PSAiMSIpIHsKICAgICAgICAgICAgICAgICAgICB2ZXJpZnlFbnVtZXJhYmxlID0gdHJ1ZQogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CgogICAgICAgICAgICB2YXIgdmVyaWZ5Q29uZmlndXJhYmxlID0gZmFsc2U7CiAgICAgICAgICAgIGRlbGV0ZSBhcnJPYmpbMV07CiAgICAgICAgICAgIHZlcmlmeUNvbmZpZ3VyYWJsZSA9IGFyck9iai5oYXNPd25Qcm9wZXJ0eSgiMSIpOwoKICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBUeXBlRXJyb3IgJiYgaGFzUHJvcGVydHkgJiYgdmVyaWZ5R2V0ICYmCiAgICAgIC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KSB7CiAgICAgICAgdmFyIGFyck9iaiA9IFtdOwogICAgICAgIGZ1bmN0aW9uIHNldEZ1bmModmFsdWUpIHsKICAgICAgICAgICAgYXJyT2JqLnNldFZlcmlmeUhlbHBQcm9wID0gdmFsdWU7CiAgICAgICAgfQoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXJyT2JqLCAiMSIsIHsKICAgICAgICAgICAgZ2V0OiB1bmRlZmluZWQsCiAgICAgICAgICAgIHNldDogc2V0RnVuYywKICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgIH0pOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXJyT2JqLCAiMSIsIHsKICAgICAgICAgICAgICAgIGdldDogdW5kZWZpbmVkCiAgICAgICAgICAgIH0pOwoKICAgICAgICAgICAgcmV0dXJuIGFjY2Vzc29yUHJvcGVydHlBdHRyaWJ1dGVzQXJlQ29ycmVjdChhcnJPYmosICIxIiwgdW5kZWZpbmVkLCBzZXRGdW5jLCAic2V0VmVyaWZ5SGVscFByb3AiLCBmYWxzZSwgZmFsc2UpOwogICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkgJiYgZm5TdXBwb3J0c0FycmF5SW5kZXhHZXR0ZXJzT25BcnJheXMoKTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-257"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTI1OCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0yN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wcm9wZXJ0eSIsIHsKICAgICAgICAgICAgZ2V0OiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gMTE7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICB9KTsKCiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3BlcnR5IiwgewogICAgICAgICAgICAgICAgZ2V0OiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIDEyOwogICAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICB9KTsKICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBUeXBlRXJyb3IgJiYgb2JqLnByb3BlcnR5ID09PSAxMTsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-4-26"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTI2MCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0yNjAuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gJ08nIGlzIGFuIEFycmF5LCAnbmFtZScgaXMgYW4gYXJyYXkgaW5kZXggbmFtZWQgcHJvcGVydHksIG5hbWUgaXMgZGF0YSBwcm9wZXJ0eSBhbmQgJ2Rlc2MnIGlz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yYXkgaW5kZXggbmFtZWQgcHJvcGVydHksIG5hbWUgaXMgYWNjZXNzb3IgcHJvcGVydHkgYW5kICdkZXNjJyBpcyBhY2Nlc3NvciBkZXNjcmlwdG9yLCB0ZXN0IHVwZGF0aW5nIHRoZSBbW1NldF1dIGF0dHJpYnV0ZSB2YWx1ZSBvZiAnbmFtZScgKDE1LjQuNS4xIHN0ZXAgNC5jKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIHZhciBhcnJPYmogPSBbXTsKCiAgICAgICAgZnVuY3Rpb24gc2V0RnVuYyh2YWx1ZSkgewogICAgICAgICAgICBhcnJPYmouc2V0VmVyaWZ5SGVscFByb3AgPSB2YWx1ZTsKICAgICAgICB9CiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyck9iaiwgIjAiLCB7CiAgICAgICAgICAgIHNldDogZnVuY3Rpb24gKCkgeyB9LAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyck9iaiwgIjAiLCB7CiAgICAgICAgICAgIHNldDogc2V0RnVuYwogICAgICAgIH0pOwogICAgICAgIHJldHVybiBhY2Nlc3NvclByb3BlcnR5QXR0cmlidXRlc0FyZUNvcnJlY3QoYXJyT2JqLCAiMCIsIHVuZGVmaW5lZCwgc2V0RnVuYywgInNldFZlcmlmeUhlbHBQcm9wIiwgZmFsc2UsIHRydWUpOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmblN1cHBvcnRzQXJyYXlJbmRleEdldHRlcnNPbkFycmF5cygpOwogICAgfQp9KTsK","id":"15.2.3.6-4-268"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4y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i8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0yNzMuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gJ08nIGlzIGFuIEFycmF5LCAnbmFtZScgaXMgYW4gYXJyYXkgaW5kZXggbmFtZWQgcHJvcGVydHksIG5hbWUgaXMgYWNjZXNzb3IgcHJvcGVydHkgYW5kICdkZXNjJyBpcyBhY2Nlc3NvciBkZXNjcmlwdG9yLCB0ZXN0IHVwZGF0aW5nIG11bHRpcGxlIGF0dHJpYnV0ZSB2YWx1ZXMgb2YgJ25hbWUnICgxNS40LjUuMSBzdGVwIDQuYykiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICAgICAgICB2YXIgYXJyT2JqID0gW107CgogICAgICAgIGZ1bmN0aW9uIHNldEZ1bmModmFsdWUpIHsKICAgICAgICAgICAgYXJyT2JqLnNldFZlcmlmeUhlbHBQcm9wID0gdmFsdWU7CiAgICAgICAgfQogICAgICAgIGZ1bmN0aW9uIGdldEZ1bmMoKSB7CiAgICAgICAgICAgIHJldHVybiAxMjsKICAgICAgICB9CiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyck9iaiwgIjEiLCB7CiAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgcmV0dXJuIDY7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIHNldDogc2V0RnVuYywKICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgfSk7CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcnJPYmosICIxIiwgewogICAgICAgICAgICBnZXQ6IGdldEZ1bmMsCiAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgfSk7C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VByb3BlcnR5KGFyck9iaiwgInByb3BlcnR5IiwgewogICAgICAgICAgICBnZXQ6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgIHJldHVybiAyNDsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgfSk7CiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyck9iaiwgInByb3BlcnR5IiwgewogICAgICAgICAgICBnZXQ6IGdldEZ1bmMsCiAgICAgICAgICAgIHNldDogc2V0RnVuYywKICAgICAgICAgICAgZW51bWVyYWJsZTogZmFsc2UsCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICB9KTsKCiAgICAgICAgcmV0dXJuIGFjY2Vzc29yUHJvcGVydHlBdHRyaWJ1dGVzQXJlQ29ycmVjdChhcnJPYmosICJwcm9wZXJ0eSIsIGdldEZ1bmMsIHNldEZ1bmMsICJzZXRWZXJpZnlIZWxwUHJvcCIsIGZhbHNlLCBmYWxzZSk7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-4-279"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTI4IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuNi8xNS4yLjMuNi00LTI4LmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5kZWZpbmVQcm9wZXJ0eSAtICduYW1lJyBpcyBvd24gYWNjZXNzb3IgcHJvcGVydHkgdGhhdCBvdmVycmlkZXMgYW4gaW5oZXJpdGVkIGRhdGEgcHJvcGVydHkgKDguMTIuOSBzdGVwIDEpIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgcHJvdG8gPSB7fTsKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkocHJvdG8sICJmb28iLCB7CiAgICAgICAgICAgIHZhbHVlOiAxMSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgfSk7CgogICAgICAgIHZhciBDb25zdHJ1Y3RGdW4gPSBmdW5jdGlvbiAoKSB7IH07CiAgICAgICAgQ29uc3RydWN0RnVuLnByb3RvdHlwZSA9IHByb3RvOwogICAgICAgIHZhciBvYmogPSBuZXcgQ29uc3RydWN0RnVuKCk7CiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgImZvbyIsIHsKICAgICAgICAgICAgZ2V0OiBmdW5jdGlvbiAoKSB7IH0sCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICB9KTsKCiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgImZvbyIsIHsKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICB9KTsKICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBUeXBlRXJyb3I7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-28"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTI4MCIsCgogICAgcGF0aDogIlRlc3RD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WJsZSAoMTUuNC41LjEgc3RlcCA1KSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIHZhciBhcnJPYmogPSBbXTsKCiAgICAgICAgZnVuY3Rpb24gZ2V0RnVuYygpIHsKICAgICAgICAgICAgcmV0dXJuIDEyOwogICAgICAgIH0KICAgICAgICBmdW5jdGlvbiBzZXRGdW5jKHZhbHVlKSB7CiAgICAgICAgICAgIGFyck9iai5zZXRWZXJpZnlIZWxwUHJvcCA9IHZhbHVlOwogICAgICAgIH0KICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXJyT2JqLCAicHJvcGVydHkiLCB7CiAgICAgICAgICAgIGdldDogZ2V0RnVuYywKICAgICAgICAgICAgc2V0OiBzZXRGdW5jCiAgICAgICAgfSk7CiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyck9iaiwgInByb3BlcnR5IiwgewogICAgICAgICAgICAgICAgZ2V0OiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIDM2OwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9KTsKICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBUeXBlRXJyb3IgJiYgYWNjZXNzb3JQcm9wZXJ0eUF0dHJpYnV0ZXNBcmVDb3JyZWN0KGFyck9iaiwgInByb3BlcnR5IiwgZ2V0RnVuYywgc2V0RnVuYywgInNldFZlcmlmeUhlbHBQcm9wIiwgZmFsc2UsIGZhbHNlKTsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-4-285"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SIsIHsKICAgICAgICAgICAgc2V0OiBzZXRGdW5jLAogICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZQogICAgICAgIH0pOwogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcnJPYmosICJwcm9wZXJ0eSIsIHsKICAgICAgICAgICAgICAgIGVudW1lcmFibGU6IHRydWUKICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgIHJldHVybiBlIGluc3RhbmNlb2YgVHlwZUVycm9yICYmIGFjY2Vzc29yUHJvcGVydHlBdHRyaWJ1dGVzQXJlQ29ycmVjdChhcnJPYmosICJwcm9wZXJ0eSIsIHVuZGVmaW5lZCwgc2V0RnVuYywgInNldFZlcmlmeUhlbHBQcm9wIiwgZmFsc2UsIGZhbHNlKTsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-4-287"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTI4OCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0yODguanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gJ08nIGlzIGFuIEFycmF5LCAnbmFtZScgaXMgZ2VuZXJpYyBvd24gYWNjZXNzb3IgcHJvcGVydHkgb2YgJ08nLCB0ZXN0IFR5cGVFcnJvciBpcyB0aHJvd24gd2hlbiB1cGRhdGluZyB0aGUgW1tDb25maWd1cmFibGVdXSBhdHRyaWJ1dGUgdmFsdWUgb2YgJ25hbWUnIHdoaWNoIGlzIGRlZmluZWQgYXMgbm9uLWNvbmZpZ3VyYWJsZSAoMTUuNC41LjEgc3RlcCA1KSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIHZhciBhcnJPYmogPSBbXTsKCiAgICAgICAgZnVuY3Rpb24gc2V0RnVuYyh2YWx1ZSkgewogICAgICAgICAgICBhcnJPYmouc2V0VmVyaWZ5SGVscFByb3AgPSB2YWx1ZTsKICAgICAgICB9CiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyck9iaiwgInByb3BlcnR5IiwgewogICAgICAgICAgICBzZXQ6IHNldEZ1bmMsCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICB9KTsKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXJyT2JqLCAicHJvcGVydHkiLCB7CiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgIHJldHVybiBlIGluc3RhbmNlb2YgVHlwZUVycm9yICYmIGFjY2Vzc29yUHJvcGVydHlBdHRyaWJ1dGVzQXJlQ29ycmVjdChhcnJPYmosICJwcm9wZXJ0eSIsIHVuZGVmaW5lZCwgc2V0RnVuYywgInNldFZlcmlmeUhlbHBQcm9wIiwgZmFsc2UsIGZhbHNlKTsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-4-288"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTI4OS0xI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IHRydWUsCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIHJldHVybiBkYXRhUHJvcGVydHlBdHRyaWJ1dGVzQXJlQ29ycmVjdChhcmd1bWVudHMsICIwIiwgMTAsIHRydWUsIHRydWUsIHRydWUpOwogICAgICAgIH0oMCwgMSwgMikpOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-289"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTI5IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuNi8xNS4yLjMuNi00LTI5LmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5kZWZpbmVQcm9wZXJ0eSAtICduYW1lJyBpcyBvd24gYWNjZXNzb3IgcHJvcGVydHkgdGhhdCBvdmVycmlkZXMgYW4gaW5oZXJpdGVkIGFjY2Vzc29yIHByb3BlcnR5ICg4LjEyLjkgc3RlcCAxKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHByb3RvID0ge307CiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KHByb3RvLCAiZm9vIiwgewogICAgICAgICAgICBnZXQ6IGZ1bmN0aW9uICgpIHsgfSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgfSk7CgogICAgICAgIHZhciBDb25zdHJ1Y3RGdW4gPSBmdW5jdGlvbiAoKSB7IH07CiAgICAgICAgQ29uc3RydWN0RnVuLnByb3RvdHlwZSA9IHByb3RvOwogICAgICAgIHZhciBvYmogPSBuZXcg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IHBhcmFtZXRlcnMsICduYW1lJyBpcyBvd24gYWNjZXNzb3IgcHJvcGVydHkgb2YgJ08nIHdoaWNoIGlzIGFsc28gZGVmaW5lZCBpbiBbW1BhcmFtZXRlck1hcF1dIG9mICdPJywgYW5kICdkZXNjJyBpcyBhY2Nlc3NvciBkZXNjcmlwdG9yLCB0ZXN0IHVwZGF0aW5nIG11bHRpcGxlIGF0dHJpYnV0ZSB2YWx1ZXMgb2YgJ25hbWUnICgxMC42IFtbRGVmaW5lT3duUHJvcGVydHldXSBzdGVwIDMgYW5kIDUuYS5pKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgcmV0dXJuIChmdW5jdGlvbiAoYSwgYiwgYykgeyAKICAgICAgICAgICAgZnVuY3Rpb24gZ2V0RnVuYzEoKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gMTA7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyZ3VtZW50cywgIjAiLCB7CiAgICAgICAgICAgICAgICBnZXQ6IGdldEZ1bmMxLAogICAgICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZSwKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICB9KTsKICAgICAgICAgICAgZnVuY3Rpb24gZ2V0RnVuYzIoKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gMjA7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyZ3VtZW50cywgIjAiLCB7CiAgICAgICAgICAgICAgICBnZXQ6IGdldEZ1bmMyLAogICAgICAgICAgICAgICAgZW51bWVyYWJsZTogZmFsc2UsCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICB2YXIgdmVyaWZ5Rm9ybWFsID0gYSA9PT0gMDsKICAgICAgICAgICAgcm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biBnZXRGdW5jMSgpIHsKICAgICAgICAgICAgICAgIHJldHVybiAxMDsKICAgICAgICAgICAgfQogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXJndW1lbnRzLCAiMCIsIHsKICAgICAgICAgICAgICAgIGdldDogZ2V0RnVuYzEsCiAgICAgICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICBmdW5jdGlvbiBnZXRGdW5jMigpIHsKICAgICAgICAgICAgICAgIHJldHVybiAyMDsKICAgICAgICAgICAgfQogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXJndW1lbnRzLCAiMCIsIHsKICAgICAgICAgICAgICAgIGdldDogZ2V0RnVuYzIsCiAgICAgICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZSwKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIHJldHVybiBhY2Nlc3NvclByb3BlcnR5QXR0cmlidXRlc0FyZUNvcnJlY3QoYXJndW1lbnRzLCAiMCIsIGdldEZ1bmMyLCB1bmRlZmluZWQsIHVuZGVmaW5lZCwgZmFsc2UsIGZhbHNlKTsKICAgICAgICB9KDAsIDEsIDIpKTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkgJiYgZm5TdXBwb3J0c0FycmF5SW5kZXhHZXR0ZXJzT25PYmplY3RzKCkgJiYgZm5FeGlzdHMoT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcik7CiAgICB9Cn0pOwo=","id":"15.2.3.6-4-291"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxN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gICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICByZXR1cm4gKGZ1bmN0aW9uIChhLCBiLCBjKSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcmd1bWVudHMsICIwIiwgewogICAgICAgICAgICAgICAgdmFsdWU6IDEwLAogICAgICAgICAgICAgICAgd3JpdGFibGU6IGZhbHNlLAogICAgICAgICAgICAgICAgZW51bWVyYWJsZTogZmFsc2UsCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICB0cnkgewogICAgICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyZ3VtZW50cywgIjAiLCB7CiAgICAgICAgICAgICAgICAgICAgdmFsdWU6IDIwCiAgICAgICAgICAgICAgICB9KTsKICAgICAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICAgICAgdmFyIHZlcmlmeUZvcm1hbCA9IGEgPT09IDEwOwogICAgICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBUeXBlRXJyb3IgJiYgZGF0YVByb3BlcnR5QXR0cmlidXRlc0FyZUNvcnJlY3QoYXJndW1lbnRzLCAiMCIsIDEwLCBmYWxzZSwgZmFsc2UsIGZhbHNlKSAmJiB2ZXJpZnlGb3JtYWw7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0oMCwgMSwgMikpOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-293-2"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTI5My0zIiwKCiAgICBwYXRoOiAiVGVzd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hlbiB1cGRhdGluZyB0aGUgW1tXcml0YWJsZV1dIGF0dHJpYnV0ZSB2YWx1ZSBvZiAnbmFtZScgd2hpY2ggaXMgZGVmaW5lZCBhcyBub24tY29uZmlndXJhYmxlICgxMC42IFtbRGVmaW5lT3duUHJvcGVydHldXSBzdGVwIDQgYW5kIDViKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgcmV0dXJuIChmdW5jdGlvbiAoYSwgYiwgYykgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXJndW1lbnRzLCAiMCIsIHsKICAgICAgICAgICAgICAgIHZhbHVlOiAxMCwKICAgICAgICAgICAgICAgIHdyaXRhYmxlOiBmYWxzZSwKICAgICAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgICAgICB9KTsKICAgICAgICAgICAgdHJ5IHsKICAgICAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcmd1bWVudHMsICIwIiwgewogICAgICAgICAgICAgICAgICAgIHdyaXRhYmxlOiB0cnVlCiAgICAgICAgICAgICAgICB9KTsKICAgICAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICAgICAgdmFyIHZlcmlmeUZvcm1hbCA9IGEgPT09IDEwOwogICAgICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBUeXBlRXJyb3IgJiYgZGF0YVByb3BlcnR5QXR0cmlidXRlc0FyZUNvcnJlY3QoYXJndW1lbnRzLCAiMCIsIDEwLCBmYWxzZSwgZmFsc2UsIGZhbHNlKSAmJiB2ZXJpZnlGb3JtYWw7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0oMCwgMSwgMikpOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-294-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTI5NCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0yOTQuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gJ08nIGlzIGFuIEFyZ3VtZW50cyBvYmplY3QsICduYW1lJyBpcyBvd24gZGF0YSBwcm9wZXJ0eSBvZiAnTycsIHRlc3QgVHlwZUVycm9yIGlzIHRocm93biB3aGVuIHVwZGF0aW5nIHRoZSBbW1dyaXRhYmxlXV0gYXR0cmlidXRlIHZhbHVlIG9mICduYW1lJyB3aGljaCBpcyBkZWZpbmVkIGFzIG5vbi1jb25maWd1cmFibGUgKDEwLjYgW1tEZWZpbmVPd25Qcm9wZXJ0eV1dIHN0ZXAgNCkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHJldHVybiAoZnVuY3Rpb24gKCkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXJndW1lbnRzLCAiMCIsIHsKICAgICAgICAgICAgICAgIHZhbHVlOiAxMCwKICAgICAgICAgICAgICAgIHdyaXRhYmxlOiBmYWxzZSwKICAgICAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgICAgICB9KTsKICAgICAgICAgICAgdHJ5IHsKICAgICAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcmd1bWVudHMsICIwIiwgewogICAgICAgICAgICAgICAgICAgIHdyaXRhYmxlOiB0cnVlCiAgICAg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V1dIHN0ZXAgNCBhbmQgc3RlcCA1YikiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHJldHVybiAoZnVuY3Rpb24gKGEsIGIsIGMpIHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyZ3VtZW50cywgIjAiLCB7CiAgICAgICAgICAgICAgICB2YWx1ZTogMTAsCiAgICAgICAgICAgICAgICB3cml0YWJsZTogZmFsc2UsCiAgICAgICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgICAgICB9KTsKICAgICAgICAgICAgdHJ5IHsKICAgICAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcmd1bWVudHMsICIwIiwgewogICAgICAgICAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlCiAgICAgICAgICAgICAgICB9KTsKICAgICAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICAgICAgdmFyIHZlcmlmeUZvcm1hbCA9IGEgPT09IDEwOwogICAgICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBUeXBlRXJyb3IgJiYgZGF0YVByb3BlcnR5QXR0cmlidXRlc0FyZUNvcnJlY3QoYXJndW1lbnRzLCAiMCIsIDEwLCBmYWxzZSwgdHJ1ZSwgZmFsc2UpICYmIHZlcmlmeUZvcm1hbDsKICAgICAgICAgICAgfQogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSgwLCAxLCAyKSk7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-4-295-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4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gICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXJndW1lbnRzLCAiMCIsIHsKICAgICAgICAgICAgICAgIHZhbHVlOiAxMCwKICAgICAgICAgICAgICAgIHdyaXRhYmxlOiBmYWxzZSwKICAgICAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgICAgICB9KTsKICAgICAgICAgICAgdHJ5IHsKICAgICAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcmd1bWVudHMsICIwIiwgewogICAgICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgICAgIHZhciB2ZXJpZnlGb3JtYWwgPSBhID09PSAxMDsKICAgICAgICAgICAgICAgIHJldHVybiBlIGluc3RhbmNlb2YgVHlwZUVycm9yICYmIGRhdGFQcm9wZXJ0eUF0dHJpYnV0ZXNBcmVDb3JyZWN0KGFyZ3VtZW50cywgIjAiLCAxMCwgZmFsc2UsIGZhbHNlLCBmYWxzZSkgJiYgdmVyaWZ5Rm9ybWFsOwogICAgICAgICAgICB9CiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9KDAsIDEsIDIpKTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSk7CiAgICB9Cn0pOwo=","id":"15.2.3.6-4-296-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTI5NiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0yOTYuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gJ08nIGlzIGFuIEFyZ3VtZW50cyBvYmplY3QsICduYW1lJyBpcyBvd24gZGF0YSBwcm9wZXJ0eSBvZiAnTycsIHRlc3QgVHlwZUVycm9yIGlzIHRocm93biB3aGVuIHVwZGF0aW5nIHRoZSBbW0NvbmZpZ3VyYWJsZV1dIGF0dHJpYnV0ZSB2YWx1ZSBvZiAnbmFtZScgd2hpY2ggaXMgZGVmaW5lZCBhcyBub24tY29uZmlndXJhYmxlICgxMC42IFtbRGVmaW5lT3duUHJvcGVydHldXSBzdGVwIDQpIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICByZXR1cm4gKGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyZ3VtZW50cywgIjAiLCB7CiAgICAgICAgICAgICAgICB2YWx1ZTogMTAsCiAgICAgICAgICAgICAgICB3cml0YWJsZTogZmFsc2UsCiAgICAgICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZSwKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIHRyeSB7CiAgICAgICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXJndW1lbnRzLCAiMCIsIHsKICAgICAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICAgICAgICAgIH0pOwogICAgICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZSBpbnN0YW5jZW9mIFR5cGVFcnJvciAmJiBkYXRhUHJvcGVydHlBdHRyaWJ1dGVzQXJlQ29ycmVjdChhcmd1bWVudHMsICIwIiwgMTAsIGZhbHNlLCBmYWxzZSwgZmFsc2UpOwogICAgICAgICAgICB9CiAgICAgICAgICAgIHJldHVybiBmYW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mluZVByb3BlcnR5KGFyZ3VtZW50cywgIjAiLCB7CiAgICAgICAgICAgICAgICBnZXQ6IGdldEZ1bmMxLAogICAgICAgICAgICAgICAgZW51bWVyYWJsZTogZmFsc2UsCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICBmdW5jdGlvbiBnZXRGdW5jMigpIHsKICAgICAgICAgICAgICAgIHJldHVybiAyMDsKICAgICAgICAgICAgfQogICAgICAgICAgICB0cnkgewogICAgICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyZ3VtZW50cywgIjAiLCB7CiAgICAgICAgICAgICAgICAgICAgZ2V0OiBnZXRGdW5jMgogICAgICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgICAgIHZhciB2ZXJpZnlGb3JtYWwgPSBhID09PSAwOwogICAgICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBUeXBlRXJyb3IgJiYgYWNjZXNzb3JQcm9wZXJ0eUF0dHJpYnV0ZXNBcmVDb3JyZWN0KGFyZ3VtZW50cywgIjAiLCBnZXRGdW5jMSwgdW5kZWZpbmVkLCB1bmRlZmluZWQsIGZhbHNlLCBmYWxzZSkgJiYgdmVyaWZ5Rm9ybWFsOwogICAgICAgICAgICB9CiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9KDAsIDEsIDIpKTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkgJiYgZm5TdXBwb3J0c0FycmF5SW5kZXhHZXR0ZXJzT25PYmplY3RzKCkgJiYKICAgICAgICAgICAgZm5FeGlzdHMoT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcik7CiAgICB9Cn0pOwo=","id":"15.2.3.6-4-297-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTI5NyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0yOTcuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gJ08nIGlzIGFuIEFyZ3VtZW50cyBvYmplY3QsICduYW1lJyBpcyBvd24gYWNjZXNzb3IgcHJvcGVydHkgb2YgJ08nLCB0ZXN0IFR5cGVFcnJvciBpcyB0aHJvd24gd2hlbiB1cGRhdGluZyB0aGUgW1tHZXRdXSBhdHRyaWJ1dGUgdmFsdWUgb2YgJ25hbWUnIHdoaWNoIGlzIGRlZmluZWQgYXMgbm9uLWNvbmZpZ3VyYWJsZSAoMTAuNiBbW0RlZmluZU93blByb3BlcnR5XV0gc3RlcCA0KSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgcmV0dXJuIChmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgIGZ1bmN0aW9uIGdldEZ1bmMxKCkgewogICAgICAgICAgICAgICAgcmV0dXJuIDEwOwogICAgICAgICAgICB9CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcmd1bWVudHMsICIwIiwgewogICAgICAgICAgICAgICAgZ2V0OiBnZXRGdW5jMSwKICAgICAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgICAgICB9KTsKICAgICAgICAgICAgZnVuY3Rpb24gZ2V0RnVuYzIoKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gMjA7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgdHJ5IHsKICAgICAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9w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cmFtZXRlck1hcF1dIG9mICdPJywgdGVzdCBUeXBlRXJyb3IgaXMgdGhyb3duIHdoZW4gdXBkYXRpbmcgdGhlIFtbU2V0XV0gYXR0cmlidXRlIHZhbHVlIG9mICduYW1lJyB3aGljaCBpcyBkZWZpbmVkIGFzIG5vbi1jb25maWd1cmFibGUgKDEwLjYgW1tEZWZpbmVPd25Qcm9wZXJ0eV1dIHN0ZXBzIDQgYW5kIDVhKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgcmV0dXJuIChmdW5jdGlvbiAoYSwgYiwgYykgewogICAgICAgICAgICBmdW5jdGlvbiBnZXRGdW5jKCkgewogICAgICAgICAgICAgICAgcmV0dXJuIDEwOwogICAgICAgICAgICB9CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcmd1bWVudHMsICIwIiwgewogICAgICAgICAgICAgICAgZ2V0OiBnZXRGdW5jLAogICAgICAgICAgICAgICAgc2V0OiB1bmRlZmluZWQsCiAgICAgICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZSwKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIGZ1bmN0aW9uIHNldEZ1bmModmFsdWUpIHsKICAgICAgICAgICAgICAgIHRoaXMuc2V0VmVyaWZ5SGVscFByb3AgPSB2YWx1ZTsKICAgICAgICAgICAgfQogICAgICAgICAgICB0cnkgewogICAgICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyZ3VtZW50cywgIjAiLCB7CiAgICAgICAgICAgICAgICAgICAgc2V0OiBzZXRGdW5jCiAgICAgICAgICAgICAgICB9KTsKICAgICAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICAgICAgdmFyIHZlcmlmeUZvcm1hbCA9IGEgPT09IDA7CiAgICAgICAgICAgICAgICByZXR1cm4gZSBpbnN0YW5jZW9mIFR5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sCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgcmV0dXJuIChmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgIGZ1bmN0aW9uIGdldEZ1bmMoKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gMTA7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyZ3VtZW50cywgIjAiLCB7CiAgICAgICAgICAgICAgICBnZXQ6IGdldEZ1bmMsCiAgICAgICAgICAgICAgICBzZXQ6IHVuZGVmaW5lZCwKICAgICAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgICAgICB9KTsKICAgICAgICAgICAgZnVuY3Rpb24gc2V0RnVuYyh2YWx1ZSkgewogICAgICAgICAgICAgICAgdGhpcy5zZXRWZXJpZnlIZWxwUHJvcCA9IHZhbHVlOwogICAgICAgICAgICB9CiAgICAgICAgICAgIHRyeSB7CiAgICAgICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXJndW1lbnRzLCAiMCIsIHsKICAgICAgICAgICAgICAgICAgICBzZXQ6IHNldEZ1bmMKICAgICAgICAgICAgICAgIH0pOwogICAgICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZSBpbnN0YW5jZW9mIFR5cGVFcnJvciAmJiBhY2Nlc3NvclByb3BlcnR5QXR0cmlidXRlc0FyZUNvcnJlY3QoYXJndW1lbnRzLCAiMCIsIGdldEZ1bmMsIHVuZGVmaW5lZCwgdW5kZWZpbmVkLCBmYWxzZSwgZmFsc2UpOwogICAgICAgICAgICB9CiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9KDAsIDEsIDIpKTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJ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lUHJvcGVydHkoYXJndW1lbnRzLCAiMCIsIHsKICAgICAgICAgICAgICAgIGdldDogZ2V0RnVuYywKICAgICAgICAgICAgICAgIGVudW1lcmFibGU6IHRydWUsCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICB0cnkgewogICAgICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyZ3VtZW50cywgIjAiLCB7CiAgICAgICAgICAgICAgICAgICAgZW51bWVyYWJsZTogZmFsc2UKICAgICAgICAgICAgICAgIH0pOwogICAgICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgICAgICB2YXIgdmVyaWZ5Rm9ybWFsID0gYSA9PT0gMDsKICAgICAgICAgICAgICAgIHJldHVybiBlIGluc3RhbmNlb2YgVHlwZUVycm9yICYmCiAgICAgICAgICAgICAgICAgICAgYWNjZXNzb3JQcm9wZXJ0eUF0dHJpYnV0ZXNBcmVDb3JyZWN0KGFyZ3VtZW50cywgIjAiLCBnZXRGdW5jLCB1bmRlZmluZWQsIHVuZGVmaW5lZCwgdHJ1ZSwgZmFsc2UpICYmIHZlcmlmeUZvcm1hbDsKICAgICAgICAgICAgfQogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSgwLCAxLCAyKSk7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuU3VwcG9ydHNBcnJheUluZGV4R2V0dGVyc09uT2JqZWN0cygpICYmCiAgICAgICAgICAgIGZuRXhpc3RzKE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IpOwogICAgfQp9KTsK","id":"15.2.3.6-4-299-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTI5OSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0yOTkuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gJ08nIGlzIGFuIEFyZ3VtZW50cyBvYmplY3QsICduYW1lJyBpcyBvd24gYWNjZXNzb3IgcHJvcGVydHkgb2YgJ08nLCB0ZXN0IFR5cGVFcnJvciBpcyB0aHJvd24gd2hlbiB1cGRhdGluZyB0aGUgW1tFbnVtZXJhYmxlXV0gYXR0cmlidXRlIHZhbHVlIG9mICduYW1lJyB3aGljaCBpcyBkZWZpbmVkIGFzIG5vbi1jb25maWd1cmFibGUgKDEwLjYgW1tEZWZpbmVPd25Qcm9wZXJ0eV1dIHN0ZXAgNCkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHJldHVybiAoZnVuY3Rpb24gKCkgewogICAgICAgICAgICBmdW5jdGlvbiBnZXRGdW5jKCkgewogICAgICAgICAgICAgICAgcmV0dXJuIDEwOwogICAgICAgICAgICB9CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcmd1bWVudHMsICIwIiwgewogICAgICAgICAgICAgICAgZ2V0OiBnZXRGdW5jLAogICAgICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZSwKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIHRyeSB7CiAgICAgICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXJndW1lbnRzLCAiMCIsIHsKICAgICAgICAgICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZQogICAgICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgICAgIHJldHVybiBlIGluc3RhbmNlb2Yg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pIHsgfSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgIH0pOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAiZm9vIiwgewogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICByZXR1cm4gZSBpbnN0YW5jZW9mIFR5cGVFcnJvcjsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-4-30"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTMwMC0xIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuNi8xNS4yLjMuNi00LTMwMC0xLmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5kZWZpbmVQcm9wZXJ0eSAtICdPJyBpcyBhbiBBcmd1bWVudHMgb2JqZWN0IG9mIGEgZnVuY3Rpb24gdGhhdCBoYXMgZm9ybWFsIHBhcmFtZXRlcnMsICduYW1lJyBpcyBvd24gYWNjZXNzb3IgcHJvcGVydHkgb2YgJ08nIHdoaWNoIGlzIGFsc28gZGVmaW5lZCBpbiBbW1BhcmFtZXRlck1hcF1dIG9mICdPJywgdGVzdCBUeXBlRXJyb3IgaXMgdGhyb3duIHdoZW4gdXBkYXRpbmcgdGhlIFtbQ29uZmlndXJhYmxlXV0gYXR0cmlidXRlIHZhbHVlIG9mICduYW1lJyB3aGljaCBpcyBkZWZpbmVkIGFzIG5vbi1jb25maWd1cmFibGUgKDEwLjYgW1tEZWZpbmVPd25Qcm9wZXJ0eV1dIHN0ZXAgNCBhbmQgc3RlcCA1YSkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHJldHVybiAoZnVuY3Rpb24gKGEsIGIsIGMpIHsKICAgICAgICAgICAgZnVuY3Rpb24gZ2V0RnVuYygpIHsKICAgICAgICAgICAgICAgIHJldHVybiAwOwogICAgICAgICAgICB9CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcmd1bWVudHMsICIwIiwgewogICAgICAgICAgICAgICAgZ2V0OiBnZXRGdW5jLAogICAgICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZSwKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIHRyeSB7CiAgICAgICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXJndW1lbnRzLCAiMCIsIHsKICAgICAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICAgICAgICAgIH0pOwogICAgICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgICAgICB2YXIgdmVyaWZ5Rm9ybWFsID0gYSA9PT0gMDsKICAgICAgICAgICAgICAgIHJldHVybiBlIGluc3RhbmNlb2YgVHlwZUVycm9yICYmCiAgICAgICAgICAgICAgICAgICAgYWNjZXNzb3JQcm9wZXJ0eUF0dHJpYnV0ZXNBcmVDb3JyZWN0KGFyZ3VtZW50cywgIjAiLCBnZXRGdW5jLCB1bmRlZmluZWQsIHVuZGVmaW5lZCwgdHJ1ZSwgZmFsc2UpICYmIHZlcmlmeUZvcm1hbDsKICAgICAgICAgICAgfQogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSgwLCAxLCAyKSk7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkg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ogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgICAgICB9KTsKICAgICAgICAgICAgdHJ5IHsKICAgICAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcmd1bWVudHMsICIwIiwgewogICAgICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgICAgIHJldHVybiBlIGluc3RhbmNlb2YgVHlwZUVycm9yICYmIGFjY2Vzc29yUHJvcGVydHlBdHRyaWJ1dGVzQXJlQ29ycmVjdChhcmd1bWVudHMsICIwIiwgZ2V0RnVuYywgdW5kZWZpbmVkLCB1bmRlZmluZWQsIHRydWUsIGZhbHNlKTsKICAgICAgICAgICAgfQogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSgwLCAxLCAyKSk7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuU3VwcG9ydHNBcnJheUluZGV4R2V0dGVyc09uT2JqZWN0cygpICYmIGZuRXhpc3RzKE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IpOwogICAgfQp9KTsK","id":"15.2.3.6-4-300"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTMwMS0xIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuNi8xNS4yLjMuNi00LTMwMS0xLmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5kZWZpbmVQcm9wZXJ0eSAtICdPJyBpcyBhbiBBcmd1bWVudHMgb2JqZWN0IG9mIGEgZnVuY3Rpb24gd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GVscFByb3AgPSB2YWx1ZTsKICAgICAgICAgICAgfQogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXJndW1lbnRzLCAiMCIsIHsKICAgICAgICAgICAgICAgIGdldDogZ2V0RnVuYywKICAgICAgICAgICAgICAgIHNldDogc2V0RnVuYywKICAgICAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgICAgICB9KTsKICAgICAgICAgICAgdmFyIHZlcmlmeUZvcm1hbCA9IGEgPT09IDA7CiAgICAgICAgICAgIHJldHVybiBhY2Nlc3NvclByb3BlcnR5QXR0cmlidXRlc0FyZUNvcnJlY3QoYXJndW1lbnRzLCAiMCIsIGdldEZ1bmMsIHNldEZ1bmMsICJzZXRWZXJpZnlIZWxwUHJvcCIsIGZhbHNlLCBmYWxzZSkgJiYgdmVyaWZ5Rm9ybWFsOwogICAgICAgIH0oMCwgMSwgMikpOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmblN1cHBvcnRzQXJyYXlJbmRleEdldHRlcnNPbk9iamVjdHMoKSAmJgogICAgICAgICAgICBmbkV4aXN0cyhPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-302-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTMwMiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0zMDIuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gJ08nIGlzIGFuIEFyZ3VtZW50c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IsIHsKICAgICAgICAgICAgICAgIGdldDogZ2V0RnVuYzEsCiAgICAgICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICBmdW5jdGlvbiBnZXRGdW5jMigpIHsKICAgICAgICAgICAgICAgIHJldHVybiAyMDsKICAgICAgICAgICAgfQogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXJndW1lbnRzLCAiMCIsIHsKICAgICAgICAgICAgICAgIGdldDogZ2V0RnVuYzIsCiAgICAgICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZSwKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIHJldHVybiBhY2Nlc3NvclByb3BlcnR5QXR0cmlidXRlc0FyZUNvcnJlY3QoYXJndW1lbnRzLCAiMCIsIGdldEZ1bmMyLCB1bmRlZmluZWQsIHVuZGVmaW5lZCwgZmFsc2UsIGZhbHNlKTsKICAgICAgICB9KCkpOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmblN1cHBvcnRzQXJyYXlJbmRleEdldHRlcnNPbk9iamVjdHMoKSAmJiBmbkV4aXN0cyhPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-303"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTMwNCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0zMDQuanMiLAoKICAgIGRlc2NyaXB0aW9u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U6IGZhbHNlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgICAgICB9KTsKICAgICAgICAgICAgdHJ5IHsKICAgICAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcmd1bWVudHMsICIwIiwgewogICAgICAgICAgICAgICAgICAgIHdyaXRhYmxlOiB0cnVlCiAgICAgICAgICAgICAgICB9KTsKICAgICAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBUeXBlRXJyb3IgJiYgZGF0YVByb3BlcnR5QXR0cmlidXRlc0FyZUNvcnJlY3QoYXJndW1lbnRzLCAiMCIsIDAsIGZhbHNlLCBmYWxzZSwgZmFsc2UpOwogICAgICAgICAgICB9CiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9KCkpOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-306"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTMwNyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0zMDcuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gJ08nIGlzIGFuIEFyZ3VtZW50cyBvYmplY3QsICduYW1lJyBpcyBhbiBpbmRleCBuYW1lZCBkYXRhIHByb3BlcnR5IG9mICdPJyBidXQgbm90IGRlZmluZWQgaW4gW1tQYXJhbWV0ZXJNYXBdXSBvZiAnTycsIHRlc3QgVHlwZUVycm9yIGlzIHRocm93biB3aGVuIHVwZGF0aW5nIHRoZSBbW0VudW1lcmFibGVdXSBhdHRyaWJ1dGUgdmFsdWUgb2YgJ25hbWUnIHdoaWNoIGlzIG5vdCBjb25maWd1cmFibGUgKDEwLjYgW1tEZWZpbmVPd25Qcm9wZXJ0eV1dIHN0ZXAgNCkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHJldHVybiAoZnVuY3Rpb24gKCkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXJndW1lbnRzLCAiMCIsIHsKICAgICAgICAgICAgICAgIHZhbHVlOiAwLAogICAgICAgICAgICAgICAgd3JpdGFibGU6IGZhbHNlLAogICAgICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZSwKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIHRyeSB7CiAgICAgICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXJndW1lbnRzLCAiMCIsIHsKICAgICAgICAgICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZQogICAgICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgICAgIHJldHVybiBlIGluc3RhbmNlb2YgVHlwZUVycm9yICYmIGRhdGFQcm9wZXJ0eUF0dHJpYnV0ZXNBcmVDb3JyZWN0KGFyZ3VtZW50cywgIjAiLCAwLCBmYWxzZSwgdHJ1ZSwgZmFsc2UpOwogICAgICAgICAgICB9CiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9KCkpOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-307"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTMwOCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0zMDguanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gJ08nIGlzIGFuIEFyZ3VtZW50cyBvYmplY3QsICduYW1lJyBpcyBhbiBpbmRleCBuYW1lZCBkYXRhIHByb3BlcnR5IG9mICdPJyBidXQgbm90IGRlZmluZWQgaW4gW1tQYXJhbWV0ZXJNYXBdXSBvZiAnTycsIHRlc3QgVHlwZUVycm9yIGlzIHRocm93biB3aGVuIHVwZGF0aW5nIHRoZSBbW0NvbmZpZ3VyYWJsZV1dIGF0dHJpYnV0ZSB2YWx1ZSBvZiAnbmFtZScgd2hpY2ggaXMgbm90IGNvbmZpZ3VyYWJsZSAoMTAuNiBbW0RlZmluZU93blByb3BlcnR5XV0gc3RlcCA0KSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgcmV0dXJuIChmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcmd1bWVudHMsICIwIiwgewogICAgICAgICAgICAgICAgdmFsdWU6IDAsCiAgICAgICAgICAgICAgICB3cml0YWJsZTogZmFsc2UsCiAgICAgICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZSwKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIHRyeSB7CiAgICAgICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXJndW1lbnRzLCAiMCIsIHsKICAgICAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICAgICAgICAgIH0pOwogICAgICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgICA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AgICAgICAgICAgICAgIHJldHVybiAwOwogICAgICAgICAgICB9CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcmd1bWVudHMsICIwIiwgewogICAgICAgICAgICAgICAgZ2V0OiBnZXRGdW5jMSwKICAgICAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgICAgICB9KTsKICAgICAgICAgICAgZnVuY3Rpb24gZ2V0RnVuYzIoKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gMTA7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgdHJ5IHsKICAgICAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcmd1bWVudHMsICIwIiwgewogICAgICAgICAgICAgICAgICAgIGdldDogZ2V0RnVuYzIKICAgICAgICAgICAgICAgIH0pOwogICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZSBpbnN0YW5jZW9mIFR5cGVFcnJvciAmJiBhY2Nlc3NvclByb3BlcnR5QXR0cmlidXRlc0FyZUNvcnJlY3QoYXJndW1lbnRzLCAiMCIsIGdldEZ1bmMxLCB1bmRlZmluZWQsIHVuZGVmaW5lZCwgZmFsc2UsIGZhbHNlKTsKICAgICAgICAgICAgfQogICAgICAgIH0oKSk7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuU3VwcG9ydHNBcnJheUluZGV4R2V0dGVyc09uT2JqZWN0cygpICYmIGZuRXhpc3RzKE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IpOwogICAgfQp9KTsK","id":"15.2.3.6-4-309"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTMxIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuNi8xNS4yLjMuNi00LTMxLmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5kZWZpbmVQcm9wZXJ0eSAtICduYW1lJyBpcyBvd24gYWNjZXNzb3IgcHJvcGVydHkgd2l0aG91dCBhIGdldCBmdW5jdGlvbiB0aGF0IG92ZXJyaWRlcyBhbiBpbmhlcml0ZWQgYWNjZXNzb3IgcHJvcGVydHkoOC4xMi45IHN0ZXAgMSkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBwcm90byA9IHt9OwogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShwcm90bywgImZvbyIsIHsKICAgICAgICAgICAgZ2V0OiBmdW5jdGlvbiAoKSB7IH0sCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgIH0pOwoKICAgICAgICB2YXIgQ29uc3RydWN0RnVuID0gZnVuY3Rpb24gKCkgeyB9OwogICAgICAgIENvbnN0cnVjdEZ1bi5wcm90b3R5cGUgPSBwcm90bzsKICAgICAgICB2YXIgb2JqID0gbmV3IENvbnN0cnVjdEZ1bigpOwogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJmb28iLCB7CiAgICAgICAgICAgIHNldDogZnVuY3Rpb24gKCkgeyB9LAogICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgfSk7CgogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJmb28iLCB7CiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9IGN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BnZXQ6IGdldEZ1bmMsCiAgICAgICAgICAgICAgICBzZXQ6IHVuZGVmaW5lZCwKICAgICAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgICAgICB9KTsKICAgICAgICAgICAgZnVuY3Rpb24gc2V0RnVuYyh2YWx1ZSkgewogICAgICAgICAgICAgICAgdGhpcy5zZXRWZXJpZnlIZWxwUHJvcCA9IHZhbHVlOwogICAgICAgICAgICB9CiAgICAgICAgICAgIHRyeSB7CiAgICAgICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXJndW1lbnRzLCAiMCIsIHsKICAgICAgICAgICAgICAgICAgICBzZXQ6IHNldEZ1bmMKICAgICAgICAgICAgICAgIH0pOyAgICAgICAgICAgIAogICAgICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZSBpbnN0YW5jZW9mIFR5cGVFcnJvciAmJiBhY2Nlc3NvclByb3BlcnR5QXR0cmlidXRlc0FyZUNvcnJlY3QoYXJndW1lbnRzLCAiMCIsIGdldEZ1bmMsIHVuZGVmaW5lZCwgdW5kZWZpbmVkLCBmYWxzZSwgZmFsc2UpOwogICAgICAgICAgICB9CiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9KCkpOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmblN1cHBvcnRzQXJyYXlJbmRleEdldHRlcnNPbk9iamVjdHMoKSAmJiBmbkV4aXN0cyhPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-310"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00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b25maWd1cmFibGUgKDEwLjYgW1tEZWZpbmVPd25Qcm9wZXJ0eV1dIHN0ZXAgNCkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHJldHVybiAoZnVuY3Rpb24gKCkgewogICAgICAgICAgICBmdW5jdGlvbiBnZXRGdW5jKCkgewogICAgICAgICAgICAgICAgcmV0dXJuIDA7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyZ3VtZW50cywgIjAiLCB7CiAgICAgICAgICAgICAgICBnZXQ6IGdldEZ1bmMsCiAgICAgICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgICAgICB9KTsKICAgICAgICAgICAgdHJ5IHsKICAgICAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcmd1bWVudHMsICIwIiwgewogICAgICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgICAgIHJldHVybiBlIGluc3RhbmNlb2YgVHlwZUVycm9yICYmIGFjY2Vzc29yUHJvcGVydHlBdHRyaWJ1dGVzQXJlQ29ycmVjdChhcmd1bWVudHMsICIwIiwgZ2V0RnVuYywgdW5kZWZpbmVkLCB1bmRlZmluZWQsIHRydWUsIGZhbHNlKTsKICAgICAgICAgICAgfQogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSgpKTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkgJiYgZm5TdXBwb3J0c0FycmF5SW5kZXhHZXR0ZXJzT25PYmplY3RzKCkgJiY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ldEZ1bmModmFsdWUpIHsKICAgICAgICAgICAgICAgIHRoaXMudGVzdGdldEZ1bmN0aW9uID0gdmFsdWU7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyZ3VtZW50cywgImdlbmVyaWNQcm9wZXJ0eSIsIHsKICAgICAgICAgICAgICAgIGdldDogZ2V0RnVuYywKICAgICAgICAgICAgICAgIHNldDogc2V0RnVuYywKICAgICAgICAgICAgICAgIGVudW1lcmFibGU6IHRydWUsCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIHJldHVybiBhY2Nlc3NvclByb3BlcnR5QXR0cmlidXRlc0FyZUNvcnJlY3QoYXJndW1lbnRzLCAiZ2VuZXJpY1Byb3BlcnR5IiwgZ2V0RnVuYywgc2V0RnVuYywgInRlc3RnZXRGdW5jdGlvbiIsIHRydWUsIHRydWUpOwogICAgICAgICAgICB9KDEsIDIsIDMpKTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkgJiYgZm5FeGlzdHMoT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcik7CiAgICB9Cn0pOwo=","id":"15.2.3.6-4-314-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTMxNCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0zMTQuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gJ08nIGlzIGFuIEFyZ3VtZW50cyBvYmplY3QsICdQJyBpcyBnZW5lcmljIHByb3BlcnR5LCBhbmQgJ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AgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZSwKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICB9KTsKICAgICAgICAgICAgZnVuY3Rpb24gZ2V0RnVuYygpIHsKICAgICAgICAgICAgICAgIHJldHVybiAiZ2V0RnVuY3Rpb25TdHJpbmciOwogICAgICAgICAgICB9CiAgICAgICAgICAgIGZ1bmN0aW9uIHNldEZ1bmModmFsdWUpIHsKICAgICAgICAgICAgICAgIHRoaXMudGVzdGdldEZ1bmN0aW9uID0gdmFsdWU7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyZ3VtZW50cywgImdlbmVyaWNQcm9wZXJ0eSIsIHsKICAgICAgICAgICAgICAgIGdldDogZ2V0RnVuYywKICAgICAgICAgICAgICAgIHNldDogc2V0RnVuYywKICAgICAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgICAgICB9KTsKICAgICAgICAgICAgdmFyIHZlcmlmeUZvcm1hbCA9IGMgPT09IDM7CiAgICAgICAgICAgIHJldHVybiBhY2Nlc3NvclByb3BlcnR5QXR0cmlidXRlc0FyZUNvcnJlY3QoYXJndW1lbnRzLCAiZ2VuZXJpY1Byb3BlcnR5IiwgZ2V0RnVuYywgc2V0RnVuYywgInRlc3RnZXRGdW5jdGlvbiIsIGZhbHNlLCBmYWxzZSkgJiYgdmVyaWZ5Rm9ybWFsOwogICAgICAgIH0oMSwgMiwgMykpOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmbkV4aXN0cyhPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-315-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTMxNSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0zMTUuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gJ08nIGlzIGFuIEFyZ3VtZW50cyBvYmplY3QsICdQJyBpcyBnZW5lcmljIG93biBhY2Nlc3NvciBwcm9wZXJ0eSBvZiAnTycsIGFuZCAnZGVzYycgaXMgYWNjZXNzb3IgZGVzY3JpcHRvciwgdGVzdCB1cGRhdGluZyBtdWx0aXBsZSBhdHRyaWJ1dGUgdmFsdWVzIG9mICdQJyAoMTAuNiBbW0RlZmluZU93blByb3BlcnR5XV0gc3RlcCAzKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgcmV0dXJuIChmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcmd1bWVudHMsICJnZW5lcmljUHJvcGVydHkiLCB7CiAgICAgICAgICAgICAgICBnZXQ6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgICAgICByZXR1cm4gMTAwMTsKICAgICAgICAgICAgICAgIH0sCiAgICAgICAgICAgICAgICBzZXQ6IGZ1bmN0aW9uICh2YWx1ZSkgewogICAgICAgICAgICAgICAgICAgIHRoaXMudGVzdGdldEZ1bmN0aW9uMSA9IHZhbHVlOwogICAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICAgIGVudW1lcmFibGU6IHRydWUsCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIGZ1bmN0aW9uIGdldEZ1bmMoKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gImdldEZ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AgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHJldHVybiAoZnVuY3Rpb24gKGEsIGIsIGMpIHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyZ3VtZW50cywgImdlbmVyaWNQcm9wZXJ0eSIsIHsKICAgICAgICAgICAgICAgIHZhbHVlOiAxMDAxLAogICAgICAgICAgICAgICAgd3JpdGFibGU6IGZhbHNlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgICAgICB9KTsKICAgICAgICAgICAgdHJ5IHsKICAgICAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcmd1bWVudHMsICJnZW5lcmljUHJvcGVydHkiLCB7CiAgICAgICAgICAgICAgICAgICAgdmFsdWU6IDEwMDIKICAgICAgICAgICAgICAgIH0pOwogICAgICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgICAgICB2YXIgdmVyaWZ5Rm9ybWFsID0gYiA9PT0gMjsKICAgICAgICAgICAgICAgIHJldHVybiBlIGluc3RhbmNlb2YgVHlwZUVycm9yICYmCiAgICAgICAgICAgICAgICAgICAgZGF0YVByb3BlcnR5QXR0cmlidXRlc0FyZUNvcnJlY3QoYXJndW1lbnRzLCAiZ2VuZXJpY1Byb3BlcnR5IiwgMTAwMSwgZmFsc2UsIGZhbHNlLCBmYWxzZSkgJiYgdmVyaWZ5Rm9ybWFsOwogICAgICAgICAgICB9CiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9KDEsIDIsIDMpKTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSk7CiAgICB9Cn0pOwo=","id":"15.2.3.6-4-317-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ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HJvcGVydHkiLCB7CiAgICAgICAgICAgICAgICB3cml0YWJsZTogZmFsc2UsCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICB0cnkgewogICAgICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyZ3VtZW50cywgImdlbmVyaWNQcm9wZXJ0eSIsIHsKICAgICAgICAgICAgICAgICAgICB3cml0YWJsZTogdHJ1ZQogICAgICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgICAgIHJldHVybiBlIGluc3RhbmNlb2YgVHlwZUVycm9yICYmCiAgICAgICAgICAgICAgICAgICAgZGF0YVByb3BlcnR5QXR0cmlidXRlc0FyZUNvcnJlY3QoYXJndW1lbnRzLCAiZ2VuZXJpY1Byb3BlcnR5IiwgdW5kZWZpbmVkLCBmYWxzZSwgZmFsc2UsIGZhbHNlKTsKICAgICAgICAgICAgfQogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSgxLCAyLCAzKSk7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-4-318-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTMxOCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0zMTguanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gJ08nIGlzIGFuIEFyZ3VtZW50cyBvYmplY3QsICduYW1lJyBpcyBnZW5lcmljIG93biBkYXRhIHByb3BlcnR5IG9mICdPJywgdGVzdCBUeXBlRXJyb3IgaXMgdGhyb3duIHdoZW4gdXBkYXRpbmcgdGhlIFtbV3JpdGFibGVdXSBhdHRyaWJ1dGUgdmFsdWUgb2YgJ25hbWUnIHdoaWNoIGlzIG5vdCBjb25maWd1cmFibGUgKDEwLjYgW1tEZWZpbmVPd25Qcm9wZXJ0eV1dIHN0ZXAgNCkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHJldHVybiAoZnVuY3Rpb24gKCkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXJndW1lbnRzLCAiZ2VuZXJpY1Byb3BlcnR5IiwgewogICAgICAgICAgICAgICAgd3JpdGFibGU6IGZhbHNlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgICAgICB9KTsKICAgICAgICAgICAgdHJ5IHsKICAgICAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcmd1bWVudHMsICJnZW5lcmljUHJvcGVydHkiLCB7CiAgICAgICAgICAgICAgICAgICAgd3JpdGFibGU6IHRydWUKICAgICAgICAgICAgICAgIH0pOwogICAgICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZSBpbnN0YW5jZW9mIFR5cGVFcnJvciAmJgogICAgICAgICAgICAgICAgICAgIGRhdGFQcm9wZXJ0eUF0dHJpYnV0ZXNBcmVDb3JyZWN0KGFyZ3VtZW50cywgImdlbmVyaWNQcm9wZXJ0eSIsIHVuZGVmaW5lZCwgZmFsc2UsIGZhbHNlLCBmYWxzZSk7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0oMSwgMiwgMykpOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5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3QuZGVmaW5lUHJvcGVydHkoYXJndW1lbnRzLCAiZ2VuZXJpY1Byb3BlcnR5IiwgewogICAgICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZSwKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIHRyeSB7CiAgICAgICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXJndW1lbnRzLCAiZ2VuZXJpY1Byb3BlcnR5IiwgewogICAgICAgICAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlCiAgICAgICAgICAgICAgICB9KTsKICAgICAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBUeXBlRXJyb3IgJiYKICAgICAgICAgICAgICAgICAgICBkYXRhUHJvcGVydHlBdHRyaWJ1dGVzQXJlQ29ycmVjdChhcmd1bWVudHMsICJnZW5lcmljUHJvcGVydHkiLCB1bmRlZmluZWQsIGZhbHNlLCB0cnVlLCBmYWxzZSk7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0oMSwgMiwgMykpOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-319"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTMyIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuNi8xNS4yLjMuNi00LTMyLmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5kZWZpbmVQcm9wZXJ0eSAtICduYW1lJyBpcyBhbiBpbmhlcml0ZWQg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pcyBhbiBBcmd1bWVudHMgb2JqZWN0IG9mIGEgZnVuY3Rpb24gdGhhdCBoYXMgZm9ybWFsIHBhcmFtZXRlcnMsICdQJyBpcyBvd24gZGF0YSBwcm9wZXJ0eSBvZiAnTycsIHRlc3QgVHlwZUVycm9yIGlzIHRocm93biB3aGVuIHVwZGF0aW5nIHRoZSBbW0NvbmZpZ3VyYWJsZV1dIGF0dHJpYnV0ZSB2YWx1ZSBvZiAnUCcgd2hpY2ggaXMgbm90IGNvbmZpZ3VyYWJsZSAoMTAuNiBbW0RlZmluZU93blByb3BlcnR5XV0gc3RlcCA0KSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgcmV0dXJuIChmdW5jdGlvbiAoYSwgYiwgYykgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXJndW1lbnRzLCAiZ2VuZXJpY1Byb3BlcnR5IiwgewogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgICAgICB9KTsKICAgICAgICAgICAgdHJ5IHsKICAgICAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcmd1bWVudHMsICJnZW5lcmljUHJvcGVydHkiLCB7CiAgICAgICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgICAgICB9KTsKICAgICAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBUeXBlRXJyb3IgJiYKICAgICAgICAgICAgICAgICAgICBkYXRhUHJvcGVydHlBdHRyaWJ1dGVzQXJlQ29ycmVjdChhcmd1bWVudHMsICJnZW5lcmljUHJvcGVydHkiLCB1bmRlZmluZWQsIGZhbHNlLCBmYWxzZSwgZmFsc2UpOwogICAgICAgICAgICB9CiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9KDEsIDIsIDMpKTsKICAgIH0sCgogICAgcH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gICAgIHJldHVybiAoZnVuY3Rpb24gKGEsIGIsIGMpIHsKICAgICAgICAgICAgZnVuY3Rpb24gZ2V0RnVuYygpIHsKICAgICAgICAgICAgICAgIHJldHVybiAiZ2VuZXJpY1Byb3BlcnR5U3RyaW5nIjsKICAgICAgICAgICAgfQogICAgICAgICAgICBmdW5jdGlvbiBzZXRGdW5jKHZhbHVlKSB7CiAgICAgICAgICAgICAgICB0aGlzLmhlbHBWZXJpZnlHZXQgPSB2YWx1ZTsKICAgICAgICAgICAgfQogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXJndW1lbnRzLCAiZ2VuZXJpY1Byb3BlcnR5IiwgewogICAgICAgICAgICAgICAgZ2V0OiBnZXRGdW5jLAogICAgICAgICAgICAgICAgc2V0OiBzZXRGdW5jLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgICAgICB9KTsKICAgICAgICAgICAgdHJ5IHsKICAgICAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcmd1bWVudHMsICJnZW5lcmljUHJvcGVydHkiLCB7CiAgICAgICAgICAgICAgICAgICAgZ2V0OiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiAib3ZlcmlkZUdlbmVyaWNQcm9wZXJ0eVN0cmluZyI7CiAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgICAgIHZhciB2ZXJpZnlGb3JtYWwgPSBhID09PSAxOwogICAgICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBUeXBlRXJyb3IgJiYKICAgICAgICAgICAgICAgICAgICBhY2Nlc3NvclByb3BlcnR5QXR0cmlidXRlc0FyZUNvcnJlY3QoYXJndW1lbnRzLCAiZ2VuZXJpY1Byb3BlcnR5IiwgZ2V0RnVuYywgc2V0RnVuYywgImhlbH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Z1bmN0aW9uIHNldEZ1bmModmFsdWUpIHsKICAgICAgICAgICAgICAgIHRoaXMuaGVscFZlcmlmeUdldCA9IHZhbHVlOwogICAgICAgICAgICB9CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcmd1bWVudHMsICJnZW5lcmljUHJvcGVydHkiLCB7CiAgICAgICAgICAgICAgICBnZXQ6IGdldEZ1bmMsCiAgICAgICAgICAgICAgICBzZXQ6IHNldEZ1bmMsCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICB0cnkgewogICAgICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyZ3VtZW50cywgImdlbmVyaWNQcm9wZXJ0eSIsIHsKICAgICAgICAgICAgICAgICAgICBnZXQ6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuICJvdmVyaWRlR2VuZXJpY1Byb3BlcnR5U3RyaW5nIjsKICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICB9KTsKICAgICAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBUeXBlRXJyb3IgJiYKICAgICAgICAgICAgICAgICAgICBhY2Nlc3NvclByb3BlcnR5QXR0cmlidXRlc0FyZUNvcnJlY3QoYXJndW1lbnRzLCAiZ2VuZXJpY1Byb3BlcnR5IiwgZ2V0RnVuYywgc2V0RnVuYywgImhlbHBWZXJpZnlHZXQiLCBmYWxzZSwgZmFsc2UsIGZhbHNlKTsKICAgICAgICAgICAgfQogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSgxLCAyLCAzKSk7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydH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ICAgICAgdHJ5IHsKICAgICAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcmd1bWVudHMsICJnZW5lcmljUHJvcGVydHkiLCB7CiAgICAgICAgICAgICAgICAgICAgc2V0OiBmdW5jdGlvbiAodmFsdWUpIHsKICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy5nZW5lcmljUHJvcGVydHlTdHJpbmcxID0gdmFsdWU7CiAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgICAgIHJldHVybiBlIGluc3RhbmNlb2YgVHlwZUVycm9yICYmCiAgICAgICAgICAgICAgICAgICAgYWNjZXNzb3JQcm9wZXJ0eUF0dHJpYnV0ZXNBcmVDb3JyZWN0KGFyZ3VtZW50cywgImdlbmVyaWNQcm9wZXJ0eSIsIHVuZGVmaW5lZCwgc2V0RnVuYywgImdlbmVyaWNQcm9wZXJ0eVN0cmluZyIsIGZhbHNlLCBmYWxzZSwgZmFsc2UpOwogICAgICAgICAgICB9CiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9KDEsIDIsIDMpKTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkgJiYgZm5FeGlzdHMoT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcik7CiAgICB9Cn0pOwo=","id":"15.2.3.6-4-322-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTMyMiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0zMjIuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gJ08nIGlzIGFuIEFyZ3VtZW50cyBvYmplY3QsICdQJyBpcyBvd24gYWNjZXNzb3IgcHJvcGVydHkgb2YgJ08nLCB0ZXN0IFR5cGVFcnJvciBpcyB0aHJvd24gd2hlbiB1cGRhdGluZyB0aGUgW1tTZXRdXSBhdHRyaWJ1dGUgdmFsdWUgb2YgJ1AnIHdoaWNoIGlzIG5vdCBjb25maWd1cmFibGUgKDEwLjYgW1tEZWZpbmVPd25Qcm9wZXJ0eV1dIHN0ZXAgNCkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHJldHVybiAoZnVuY3Rpb24gKCkgewogICAgICAgICAgICBmdW5jdGlvbiBzZXRGdW5jKHZhbHVlKSB7CiAgICAgICAgICAgICAgICB0aGlzLmdlbmVyaWNQcm9wZXJ0eVN0cmluZyA9IHZhbHVlOwogICAgICAgICAgICB9CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcmd1bWVudHMsICJnZW5lcmljUHJvcGVydHkiLCB7CiAgICAgICAgICAgICAgICBzZXQ6IHNldEZ1bmMsCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICB0cnkgewogICAgICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyZ3VtZW50cywgImdlbmVyaWNQcm9wZXJ0eSIsIHsKICAgICAgICAgICAgICAgICAgICBzZXQ6IGZ1bmN0aW9uICh2YWx1ZSkgewogICAgICAgICAgICAgICAgICAgICAgICB0aGlzLmdlbmVyaWNQcm9wZXJ0eVN0cmluZzEgPSB2YWx1ZTsKICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICB9KTsKICAgICAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBUeXBlRXJyb3IgJiYKIC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AgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgcmV0dXJuIChmdW5jdGlvbiAoYSwgYiwgYykgewogICAgICAgICAgICBmdW5jdGlvbiBzZXRGdW5jKHZhbHVlKSB7CiAgICAgICAgICAgICAgICB0aGlzLmdlbmVyaWNQcm9wZXJ0eVN0cmluZyA9IHZhbHVlOwogICAgICAgICAgICB9CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcmd1bWVudHMsICJnZW5lcmljUHJvcGVydHkiLCB7CiAgICAgICAgICAgICAgICBzZXQ6IHNldEZ1bmMsCiAgICAgICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgICAgICB9KTsKICAgICAgICAgICAgdHJ5IHsKICAgICAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcmd1bWVudHMsICJnZW5lcmljUHJvcGVydHkiLCB7CiAgICAgICAgICAgICAgICAgICAgZW51bWVyYWJsZTogZmFsc2UKICAgICAgICAgICAgICAgIH0pOwogICAgICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgICAgICB2ZXJpZnlGb3JtYWwgPSBjID09PSAzOwogICAgICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBUeXBlRXJyb3IgJiYKICAgICAgICAgICAgICAgICAgICBhY2Nlc3NvclByb3BlcnR5QXR0cmlidXRlc0FyZUNvcnJlY3QoYXJndW1lbnRzLCAiZ2VuZXJpY1Byb3BlcnR5IiwgdW5kZWZpbmVkLCBzZXRGdW5jLCAiZ2VuZXJpY1Byb3BlcnR5U3RyaW5nIiwgdHJ1ZSwgZmFsc2UpICYmIHZlcmlmeUZvcm1hbDsKICAgICAgICAgICAgfQogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSgxLCAyLCAzKSk7CiAgICB9LAoKICAgIHByZWNvbmR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gICAgICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICB0cnkgewogICAgICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyZ3VtZW50cywgImdlbmVyaWNQcm9wZXJ0eSIsIHsKICAgICAgICAgICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZQogICAgICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgICAgIHJldHVybiBlIGluc3RhbmNlb2YgVHlwZUVycm9yICYmCiAgICAgICAgICAgICAgICAgICAgYWNjZXNzb3JQcm9wZXJ0eUF0dHJpYnV0ZXNBcmVDb3JyZWN0KGFyZ3VtZW50cywgImdlbmVyaWNQcm9wZXJ0eSIsIHVuZGVmaW5lZCwgc2V0RnVuYywgImdlbmVyaWNQcm9wZXJ0eVN0cmluZyIsIHRydWUsIGZhbHNlKTsKICAgICAgICAgICAgfQogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSgxLCAyLCAzKSk7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuRXhpc3RzKE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IpOwogICAgfQp9KTsK","id":"15.2.3.6-4-323"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTMyNC0xIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuNi8xNS4yLjMuNi00LTMyNC0xLmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5kZWZpbmVQcm9wZXJ0eSAtICdPJyBpcyBhbiBBcmd1bWVudHMgb2JqZWN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LmdlbmVyaWNQcm9wZXJ0eVN0cmluZyA9IHZhbHVlOwogICAgICAgICAgICB9CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcmd1bWVudHMsICJnZW5lcmljUHJvcGVydHkiLCB7CiAgICAgICAgICAgICAgICBzZXQ6IHNldEZ1bmMsCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICB0cnkgewogICAgICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyZ3VtZW50cywgImdlbmVyaWNQcm9wZXJ0eSIsIHsKICAgICAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICAgICAgICAgIH0pOwogICAgICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZSBpbnN0YW5jZW9mIFR5cGVFcnJvciAmJgogICAgICAgICAgICAgICAgICAgIGFjY2Vzc29yUHJvcGVydHlBdHRyaWJ1dGVzQXJlQ29ycmVjdChhcmd1bWVudHMsICJnZW5lcmljUHJvcGVydHkiLCB1bmRlZmluZWQsIHNldEZ1bmMsICJnZW5lcmljUHJvcGVydHlTdHJpbmciLCBmYWxzZSwgZmFsc2UsIGZhbHNlKTsKICAgICAgICAgICAgfQogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSgxLCAyLCAzKSk7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuRXhpc3RzKE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IpOwogICAgfQp9KTsK","id":"15.2.3.6-4-324"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTMyNS0xIiwKCiAgICBwYXRoO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BlcnR5KTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-326"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTMyNyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0zMjcuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBwcm9wZXJ0eSAoW1tXcml0YWJsZV1dIGlzIHRydWUsIFtbRW51bWVyYWJsZV1dIGlzIHRydWUsIFtbQ29uZmlndXJhYmxlXV0gaXMgdHJ1ZSkgaXMgZW51bWVyYWJsZSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIG9iaiA9IHt9OwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgdmFsdWU6IDIwMTAsCiAgICAgICAgICAgIHdyaXRhYmxlOiB0cnVlLAogICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKICAgICAgICB2YXIgcHJvcGVydHlEZWZpbmVDb3JyZWN0ID0gb2JqLmhhc093blByb3BlcnR5KCJwcm9wIik7CiAgICAgICAgdmFyIGRlc2MgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKG9iaiwgInByb3AiKTsKICAgICAgICBmb3IgKHZhciBwcm9wZXJ0eSBpbiBvYmopIHsKICAgICAgICAgICAgaWYgKHByb3BlcnR5ID09PSAicHJvcCIpIHsKICAgICAgICAgICAgICAgIHJldHVybiBwcm9wZXJ0eURlZmluZUNvcnJlY3QgJiYgZGVzYy5lbnVtZXJhYmxlID09PSB0cnVlOwogICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIHJldHVybiBmY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KICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgIH0pOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoZnVuLCAiZm9vIiwgewogICAgICAgICAgICAgICAgdmFsdWU6IDExLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICByZXR1cm4gZSBpbnN0YW5jZW9mIFR5cGVFcnJvciAmJiBmdW4uZm9vID09PSAxMjsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-4-33"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTMzMCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0zMzAuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBzdWNjZXNzIHRvIHVwZGF0ZSBbW2VudW1lcmFibGVdXSBhdHRyaWJ1dGUgb2YgZGF0YSBwcm9wZXJ0eSAoW1tXcml0YWJsZV1dIGlzIHRydWUsIFtbRW51bWVyYWJsZV1dIGlzIHRydWUsIFtbQ29uZmlndXJhYmxlXV0gaXMgdHJ1ZSkgdG8gZGlmZmVyZW50IHZhbHVlIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgb2JqID0ge307CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICB2YWx1ZTogMjAxMCwKICAgICAgICAgICAgd3JpdGFibGU6IHRydWUsCiAgICAgICAgICAgIGVudW1lcmFibGU6IHRydWUsCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgIH0pOwogICAgICAgIHZhciBwcm9wZXJ0eURlZmluZUNvcnJlY3QgPSBvYmouaGFzT3duUHJvcGVydHkoInByb3AiKTsKICAgICAgICB2YXIgZGVzYzEgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKG9iaiwgInByb3AiKTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlCiAgICAgICAgfSk7CiAgICAgICAgdmFyIGRlc2MyID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIHJldHVybiBwcm9wZXJ0eURlZmluZUNvcnJlY3QgJiYgZGVzYzEuZW51bWVyYWJsZSA9PT0gdHJ1ZSAmJiBvYmoucHJvcCA9PT0gMjAxMCAmJiBkZXNjMi5lbnVtZXJhYmxlID09PSBmYWxzZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkgJiYgZm5FeGlzdHMoT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcik7CiAgICB9Cn0pOwo=","id":"15.2.3.6-4-330"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTMzMSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0zMzEuanMiLAoKICAgIGRlc2NyaXB0aW9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AgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICB2YWx1ZTogMjAxMCwKICAgICAgICAgICAgd3JpdGFibGU6IHRydWUsCiAgICAgICAgICAgIGVudW1lcmFibGU6IHRydWUsCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICB9KTsKICAgICAgICB2YXIgcHJvcGVydHlEZWZpbmVDb3JyZWN0ID0gKG9iai5wcm9wID09PSAyMDEwKTsKICAgICAgICBvYmoucHJvcCA9IDEwMDE7CgogICAgICAgIHJldHVybiBwcm9wZXJ0eURlZmluZUNvcnJlY3QgJiYgb2JqLnByb3AgPT09IDEwMDE7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-4-333"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTMzNCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0zMzQuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBwcm9wZXJ0eSAoW1tXcml0YWJsZV1dIGlzIHRydWUsIFtbRW51bWVyYWJsZV1dIGlzIHRydWUsIFtbQ29uZmlndXJhYmxlXV0gaXMgZmFsc2UpIGlzIGVudW1lcmFibGUiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBvYmogPSB7fTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIHZhbHVlOiAyMDEwLAogICAgICAgICAgICB3cml0YWJsZTogdHJ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XJlbnQgdmFsdWUiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBvYmogPSB7fTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIHZhbHVlOiAyMDEwLAogICAgICAgICAgICB3cml0YWJsZTogdHJ1ZSwKICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgIH0pOwogICAgICAgIHZhciBwcm9wZXJ0eURlZmluZUNvcnJlY3QgPSBvYmouaGFzT3duUHJvcGVydHkoInByb3AiKTsKICAgICAgICB2YXIgZGVzYzEgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKG9iaiwgInByb3AiKTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIHdyaXRhYmxlOiBmYWxzZQogICAgICAgIH0pOwogICAgICAgIHZhciBkZXNjMiA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwoKICAgICAgICByZXR1cm4gcHJvcGVydHlEZWZpbmVDb3JyZWN0ICYmIGRlc2MxLndyaXRhYmxlID09PSB0cnVlICYmIG9iai5wcm9wID09PSAyMDEwICYmIGRlc2MyLndyaXRhYmxlID09PSBmYWxzZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkgJiYgZm5FeGlzdHMoT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcik7CiAgICB9Cn0pOwo=","id":"15.2.3.6-4-336"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxN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GU6IHRydWUsCiAgICAgICAgICAgIGVudW1lcmFibGU6IHRydWUsCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICB9KTsKICAgICAgICB2YXIgcHJvcGVydHlEZWZpbmVDb3JyZWN0ID0gb2JqLmhhc093blByb3BlcnR5KCJwcm9wIik7CiAgICAgICAgdmFyIGRlc2MxID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICB2YXIgZGVzYzIgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKG9iaiwgInByb3AiKTsKICAgICAgICAgICAgcmV0dXJuIHByb3BlcnR5RGVmaW5lQ29ycmVjdCAmJiBkZXNjMS5jb25maWd1cmFibGUgPT09IGZhbHNlICYmIG9iai5wcm9wID09PSAyMDEwICYmIGRlc2MyLmNvbmZpZ3VyYWJsZSA9PT0gZmFsc2UgJiYgZSBpbnN0YW5jZW9mIFR5cGVFcnJvcjsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuRXhpc3RzKE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IpOwogICAgfQp9KTsK","id":"15.2.3.6-4-338"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTMzOSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGF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Y3QuZGVmaW5lUHJvcGVydHkoYXJyT2JqLCAiZm9vIiwgewogICAgICAgICAgICAgICAgdmFsdWU6IDExLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICByZXR1cm4gZSBpbnN0YW5jZW9mIFR5cGVFcnJvciAmJiBhcnJPYmouZm9vID09PSAxMjsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-4-34"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTM0MCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0zNDAuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBwcm9wZXJ0eSAoW1tXcml0YWJsZV1dIGlzIHRydWUsIFtbRW51bWVyYWJsZV1dIGlzIGZhbHNlLCBbW0NvbmZpZ3VyYWJsZV1dIGlzIHRydWUpIGlzIHdyaXRhYmxlIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgb2JqID0ge307CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICB2YWx1ZTogMjAxMCwKICAgICAgICAgICAgd3JpdGFibGU6IHRydWUsCiAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKICAgICAgICB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CiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIHZhbHVlOiAyMDEwLAogICAgICAgICAgICB3cml0YWJsZTogdHJ1ZSwKICAgICAgICAgICAgZW51bWVyYWJsZTogZmFsc2UsCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICB9KTsKICAgICAgICB2YXIgcHJvcGVydHlEZWZpbmVDb3JyZWN0ID0gb2JqLmhhc093blByb3BlcnR5KCJwcm9wIik7CiAgICAgICAgdmFyIGRlc2MgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKG9iaiwgInByb3AiKTsKICAgICAgICBmb3IgKHZhciBwIGluIG9iaikgewogICAgICAgICAgICBpZiAocCA9PT0gInByb3AiKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICAgICAgcmV0dXJuIHByb3BlcnR5RGVmaW5lQ29ycmVjdCAmJiBkZXNjLmVudW1lcmFibGUgPT09IGZhbHNlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmbkV4aXN0cyhPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-348"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTM0OSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0zNDkuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBwcm9wZXJ0eSAoW1tXcml0YWJsZV1dIGlzIHRyd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cyBpdHMgb3duIFtbR2V0T3duUHJvcGVydHldXSBtZXRob2QgdG8gYWNjZXNzIHRoZSAnbmFtZScgcHJvcGVydHkgKDguMTIuOSBzdGVwIDEpIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgc3RyID0gbmV3IFN0cmluZygiYWJjIik7CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShzdHIsICJmb28iLCB7CiAgICAgICAgICAgIHZhbHVlOiAxMiwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgIH0pOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoc3RyLCAiZm9vIiwgewogICAgICAgICAgICAgICAgdmFsdWU6IDExLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICByZXR1cm4gZSBpbnN0YW5jZW9mIFR5cGVFcnJvciAmJiBzdHIuZm9vID09PSAxMjsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-4-35"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTM1MCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0zNTAuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBmYWlsIHRvIHVwZGF0ZSBbW1dyaXRhYmxlXV0gYXR0cmlidXRlIG9mIGRhdGEgcHJvcGVydHkgKFtbV3JpdGFibGVdXSBpcyB0cnVlLCBbW0VudW1lcmFibGVdXSBpcyBmYWxzZSwgW1tDb25maWd1cmFibGVdXSBpcyBmYWxzZSkgdG8gZGlmZmVyZW50IHZhbHVlIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgb2JqID0ge307CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICB2YWx1ZTogMjAxMCwKICAgICAgICAgICAgd3JpdGFibGU6IHRydWUsCiAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgfSk7CiAgICAgICAgdmFyIHByb3BlcnR5RGVmaW5lQ29ycmVjdCA9IG9iai5oYXNPd25Qcm9wZXJ0eSgicHJvcCIpOwogICAgICAgIHZhciBkZXNjMSA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgd3JpdGFibGU6IGZhbHNlCiAgICAgICAgfSk7CiAgICAgICAgdmFyIGRlc2MyID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIHJldHVybiBwcm9wZXJ0eURlZmluZUNvcnJlY3QgJiYgZGVzYzEud3JpdGFibGUgPT09IHRydWUgJiYgb2JqLnByb3AgPT09IDIwMTAgJiYgZGVzYzIud3JpdGFibGUgPT09IGZhbHNlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmbkV4aXN0cyhPYmplY3Q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ICAgdmFyIG9iaiA9IHt9OwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgdmFsdWU6IDIwMTAsCiAgICAgICAgICAgIHdyaXRhYmxlOiB0cnVlLAogICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgIH0pOwoKICAgICAgICB2YXIgcHJvcGVydHlEZWZpbmVDb3JyZWN0ID0gb2JqLmhhc093blByb3BlcnR5KCJwcm9wIik7CiAgICAgICAgdmFyIGRlc2MxID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICB2YXIgZGVzYzIgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKG9iaiwgInByb3AiKTsKICAgICAgICAgICAgcmV0dXJuIHByb3BlcnR5RGVmaW5lQ29ycmVjdCAmJiBkZXNjMS5jb25maWd1cmFibGUgPT09IGZhbHNlICYmIG9iai5wcm9wID09PSAyMDEwICYmIGRlc2MyLmNvbmZpZ3VyYWJsZSA9PT0gZmFsc2UgJiYgZSBpbnN0YW5jZW9mIFR5cGVFcnJvcjsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuRXhpc3RzKE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IpOw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ggYXR0cmlidXRlcyBbW1dyaXRhYmxlXV06IGZhbHNlLCBbW0VudW1lcmFibGVdXTogdHJ1ZSwgW1tDb25maWd1cmFibGVdXSA6IHRydWUpIGlzIG5vbi13cml0YWJsZSB1c2luZyBzaW1wbGUgYXNzaWdubWVudCwgJ08nIGlzIGFuIEFyZ3VtZW50cyBvYmplY3QiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBvYmogPSAoZnVuY3Rpb24gKCkgewogICAgICAgICAgICByZXR1cm4gYXJndW1lbnRzOwogICAgICAgIH0oKSk7CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICIwIiwgewogICAgICAgICAgICB2YWx1ZTogMjAxMCwKICAgICAgICAgICAgd3JpdGFibGU6IGZhbHNlLAogICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKICAgICAgICB2YXIgdmFsdWVWZXJpZnkgPSAob2JqWzBdID09PSAyMDEwKTsKICAgICAgICBvYmpbMF0gPSAxMDAxOwoKICAgICAgICByZXR1cm4gdmFsdWVWZXJpZnkgJiYgb2JqWzBdID09PSAyMDEwOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7","id":"15.2.3.6-4-354-16"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTM1NC0yIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuNi8xNS4yLjMuNi00LTM1NC0yLmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5kZWZpbmVQcm9wZXJ0eSB3aWxsIHV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kpOwogICAgfQp9KTs=","id":"15.2.3.6-4-354-6"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTM1NC03IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuNi8xNS4yLjMuNi00LTM1NC03LmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIkVTNSBBdHRyaWJ1dGVzIC0gcHJvcGVydHkgJ1AnIHdpdGggYXR0cmlidXRlcyBbW1dyaXRhYmxlXV06IGZhbHNlLCBbW0VudW1lcmFibGVdXTogdHJ1ZSwgW1tDb25maWd1cmFibGVdXSA6IHRydWUpIGlzIG5vbi13cml0YWJsZSB1c2luZyBzaW1wbGUgYXNzaWdubWVudCwgJ08nIGlzIGFuIEFyZ3VtZW50cyBvYmplY3QiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBvYmogPSAoZnVuY3Rpb24gKCkgewogICAgICAgICAgICByZXR1cm4gYXJndW1lbnRzOwogICAgICAgIH0oKSk7CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICB2YWx1ZTogMjAxMCwKICAgICAgICAgICAgd3JpdGFibGU6IGZhbHNlLAogICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKICAgICAgICB2YXIgdmFsdWVWZXJpZnkgPSAob2JqLnByb3AgPT09IDIwMTApOwogICAgICAgIG9iai5wcm9wID0gMTAwMTsKCiAgICAgICAgcmV0dXJuIHZhbHVlVmVyaWZ5ICYmIG9iai5wcm9wID09PSAyMDEwOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7","id":"15.2.3.6-4-354-7"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTM1NC04IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuNi8xNS4yLjMuNi00LTM1NC04LmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIkVTNSBBdHRyaWJ1dGVzIC0gcHJvcGVydHkgJ1AnIHdpdGggYXR0cmlidXRlcyBbW1dyaXRhYmxlXV06IGZhbHNlLCBbW0VudW1lcmFibGVdXTogdHJ1ZSwgW1tDb25maWd1cmFibGVdXTogdHJ1ZSBpcyBub24td3JpdGFibGUgdXNpbmcgc2ltcGxlIGFzc2lnbm1lbnQsICdPJyBpcyB0aGUgZ2xvYmFsIG9iamVjdCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIG9iaiA9IGZuR2xvYmFsT2JqZWN0KCk7CiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgICAgICB2YWx1ZTogMjAxMCwKICAgICAgICAgICAgICAgIHdyaXRhYmxlOiBmYWxzZSwKICAgICAgICAgICAgICAgIGVudW1lcmFibGU6IHRydWUsCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIHZhciB2YWx1ZVZlcmlmeSA9IChvYmoucHJvcCA9PT0gMjAxMCk7CiAgICAgICAgICAgIG9iai5wcm9wID0gMTAwMTsKCiAgICAgICAgICAgIHJldHVybiB2YWx1ZVZlcmlmeSAmJiBvYmoucHJvcCA9PT0gMjAxMDsKICAgICAgICB9IGZpbmFsbHkgewogICAgICAgICAgICBkZWxldGUgb2JqLnByb3A7CiAgICAg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jdC5kZWZpbmVQcm9wZXJ0eSk7CiAgICB9Cn0pOwo=","id":"15.2.3.6-4-354"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTM1NSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0zNTUuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBwcm9wZXJ0eSAoW1tXcml0YWJsZV1dIGlzIGZhbHNlLCBbW0VudW1lcmFibGVdXSBpcyB0cnVlLCBbW0NvbmZpZ3VyYWJsZV1dIGlzIHRydWUpIGlzIGVudW1lcmFibGUiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBvYmogPSB7fTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIHZhbHVlOiAyMDEwLAogICAgICAgICAgICB3cml0YWJsZTogZmFsc2UsCiAgICAgICAgICAgIGVudW1lcmFibGU6IHRydWUsCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgIH0pOwogICAgICAgIHZhciBwcm9wZXJ0eURlZmluZUNvcnJlY3QgPSBvYmouaGFzT3duUHJvcGVydHkoInByb3AiKTsKICAgICAgICB2YXIgZGVzYyA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwogICAgICAgIGZvciAodmFyIHByb3BlcnR5IGluIG9iaikgewogICAgICAgICAgICBpZiAocHJvcGVydHkgPT09ICJwcm9wIikgewogICAgICAgICAgICAgICAgcmV0dXJuIHByb3BlcnR5RGVmaW5lQ29ycmVjdCAmJiBkZXNjLmVudW1lcmFibGUgPT09IHRydWU7CiAgICAgICAgICAgIH0KICAgICAgICB9CiA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GVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgdmFsdWU6IDIwMTAsCiAgICAgICAgICAgIHdyaXRhYmxlOiBmYWxzZSwKICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgfSk7CiAgICAgICAgdmFyIHByb3BlcnR5RGVmaW5lQ29ycmVjdCA9IG9iai5oYXNPd25Qcm9wZXJ0eSgicHJvcCIpOwogICAgICAgIHZhciBkZXNjMSA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgZW51bWVyYWJsZTogZmFsc2UKICAgICAgICB9KTsKICAgICAgICB2YXIgZGVzYzIgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKG9iaiwgInByb3AiKTsKCiAgICAgICAgcmV0dXJuIHByb3BlcnR5RGVmaW5lQ29ycmVjdCAmJiBkZXNjMS5lbnVtZXJhYmxlID09PSB0cnVlICYmIG9iai5wcm9wID09PSAyMDEwICYmIGRlc2MyLmVudW1lcmFibGUgPT09IGZhbHNlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmbkV4aXN0cyhPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-358"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTM1OSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi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ID0ge307CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICB2YWx1ZTogMjAxMCwKICAgICAgICAgICAgd3JpdGFibGU6IGZhbHNlLAogICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgfSk7CiAgICAgICAgdmFyIHByb3BlcnR5RGVmaW5lQ29ycmVjdCA9IG9iai5oYXNPd25Qcm9wZXJ0eSgicHJvcCIpOwogICAgICAgIHZhciBkZXNjMSA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICAgICAgd3JpdGFibGU6IHRydWUKICAgICAgICAgICAgfSk7CgogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICB2YXIgZGVzYzIgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKG9iaiwgInByb3AiKTsKCiAgICAgICAgICAgIHJldHVybiBwcm9wZXJ0eURlZmluZUNvcnJlY3QgJiYgZGVzYzEud3JpdGFibGUgPT09IGZhbHNlICYmIG9iai5wcm9wID09PSAyMDEwICYmIGRlc2MyLndyaXRhYmxlID09PSBmYWxzZSAmJiBlIGluc3RhbmNlb2YgVHlwZUVycm9yOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkgJiYgZm5FeGlzdHMoT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcik7CiAgICB9Cn0pOwo=","id":"15.2.3.6-4-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gICAgICAgICAgdmFsdWU6IDIwMTAsCiAgICAgICAgICAgIHdyaXRhYmxlOiBmYWxzZSwKICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgIH0pOwogICAgICAgIHZhciBwcm9wZXJ0eURlZmluZUNvcnJlY3QgPSBvYmouaGFzT3duUHJvcGVydHkoInByb3AiKTsKICAgICAgICB2YXIgZGVzYzEgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKG9iaiwgInByb3AiKTsKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICB9KTsKCiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgIHZhciBkZXNjMiA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwoKICAgICAgICAgICAgcmV0dXJuIHByb3BlcnR5RGVmaW5lQ29ycmVjdCAmJiBkZXNjMS5jb25maWd1cmFibGUgPT09IGZhbHNlICYmIG9iai5wcm9wID09PSAyMDEwICYmIGRlc2MyLmNvbmZpZ3VyYWJsZSA9PT0gZmFsc2UgJiYgZSBpbnN0YW5jZW9mIFR5cGVFcnJvcjsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuRXhpc3RzKE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IpOyAKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-366"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3Qoewog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nVtZXJhYmxlOiBmYWxzZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgfSk7CiAgICAgICAgdmFyIHByb3BlcnR5RGVmaW5lQ29ycmVjdCA9IChvYmoucHJvcCA9PT0gMjAxMCk7CiAgICAgICAgb2JqLnByb3AgPSAxMDAxOwoKICAgICAgICByZXR1cm4gcHJvcGVydHlEZWZpbmVDb3JyZWN0ICYmIG9iai5wcm9wID09PSAyMDEwOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-368"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTM2OSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0zNjkuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBwcm9wZXJ0eSAoW1tXcml0YWJsZV1dIGlzIGZhbHNlLCBbW0VudW1lcmFibGVdXSBpcyBmYWxzZSwgW1tDb25maWd1cmFibGVdXSBpcyB0cnVlKSBpcyB1bmVudW1lcmFibGUiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBvYmogPSB7fTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIHZhbHVlOiAyMDEwLAogICAgICAgICAgICB3cml0YWJsZTogZmFsc2UsCiAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKICAgICAgICB2YXIgcHJvcGVydHlEZW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eShvYmosICJmb28iLCB7CiAgICAgICAgICAgIHZhbHVlOiAxMiwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgIH0pOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAiZm9vIiwgewogICAgICAgICAgICAgICAgdmFsdWU6IDExLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICByZXR1cm4gZSBpbnN0YW5jZW9mIFR5cGVFcnJvciAmJiBvYmouZm9vID09PSAxMjsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-4-37"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTM3MCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0zNzAuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBwcm9wZXJ0eSAoW1tXcml0YWJsZV1dIGlzIGZhbHNlLCBbW0VudW1lcmFibGVdXSBpcyBmYWxzZSwgW1tDb25maWd1cmFibGVdXSBpcyB0cnVlKSBpcyBkZWxldGFibGUiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBvYmogPSB7fTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIHZhbHVlOiAyMDEwLAogICAgIC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SBzdWNjZXNzIHRvIHVwZGF0ZSBbW0VudW1lcmFibGVdXSBhdHRyaWJ1dGUgb2YgZGF0YSBwcm9wZXJ0eSAoW1tXcml0YWJsZV1dIGlzIGZhbHNlLCBbW0VudW1lcmFibGVdXSBpcyBmYWxzZSwgW1tDb25maWd1cmFibGVdXSBpcyB0cnVlKSB0byBkaWZmZXJlbnQgdmFsdWUiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBvYmogPSB7fTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIHZhbHVlOiAyMDEwLAogICAgICAgICAgICB3cml0YWJsZTogZmFsc2UsCiAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKICAgICAgICB2YXIgcHJvcGVydHlEZWZpbmVDb3JyZWN0ID0gb2JqLmhhc093blByb3BlcnR5KCJwcm9wIik7CiAgICAgICAgdmFyIGRlc2MxID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlCiAgICAgICAgfSk7CiAgICAgICAgdmFyIGRlc2MyID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIHJldHVybiBwcm9wZXJ0eURlZmluZUNvcnJlY3QgJiYgZGVzYzEuZW51bWVyYWJsZSA9PT0gZmFsc2UgJiYgb2JqLnByb3AgPT09IDIwMTAgJiYgZGVzYzIuZW51bWVyYWJsZSA9PT0gdHJ1ZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0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AgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgb2JqID0ge307CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICB2YWx1ZTogMjAxMCwKICAgICAgICAgICAgd3JpdGFibGU6IGZhbHNlLAogICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgIH0pOwogICAgICAgIHZhciBwcm9wZXJ0eURlZmluZUNvcnJlY3QgPSBvYmouaGFzT3duUHJvcGVydHkoInByb3AiKTsKICAgICAgICB2YXIgZGVzYyA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwogICAgICAgIGZvciAodmFyIHAgaW4gb2JqKSB7CiAgICAgICAgICAgIGlmIChwID09PSAicHJvcCIpIHsKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfQogICAgICAgIH0KICAgICAgICByZXR1cm4gcHJvcGVydHlEZWZpbmVDb3JyZWN0ICYmIGRlc2MuZW51bWVyYWJsZSA9PT0gZmFsc2U7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuRXhpc3RzKE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IpOwogICAgfQp9KTsK","id":"15.2.3.6-4-376"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTM3NyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0zNzcuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAi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WlsIHRvIHVwZGF0ZSBbW1dyaXRhYmxlXV0gYXR0cmlidXRlIG9mIGRhdGEgcHJvcGVydHkgKFtbV3JpdGFibGVdXSBpcyBmYWxzZSwgW1tFbnVtZXJhYmxlXV0gaXMgZmFsc2UsIFtbQ29uZmlndXJhYmxlXV0gaXMgZmFsc2UpIHRvIGRpZmZlcmVudCB2YWx1ZSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIG9iaiA9IHt9OwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgdmFsdWU6IDIwMTAsCiAgICAgICAgICAgIHdyaXRhYmxlOiBmYWxzZSwKICAgICAgICAgICAgZW51bWVyYWJsZTogZmFsc2UsCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICB9KTsKICAgICAgICB2YXIgcHJvcGVydHlEZWZpbmVDb3JyZWN0ID0gb2JqLmhhc093blByb3BlcnR5KCJwcm9wIik7CiAgICAgICAgdmFyIGRlc2MxID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICAgICAgd3JpdGFibGU6IHRydWUKICAgICAgICAgICAgfSk7CgogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICB2YXIgZGVzYzIgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKG9iaiwgInByb3AiKTsKCiAgICAgICAgICAgIHJldHVybiBwcm9wZXJ0eURlZmluZUNvcnJlY3QgJiYgZGVzYzEud3JpdGFibGUgPT09IGZhbHNlICYmIG9iai5wcm9wID09PSAyMDEwICYmIGRlc2MyLndyaXRhYmxlID09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lbnQgdmFsdWUiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBvYmogPSB7fTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIHZhbHVlOiAyMDEwLAogICAgICAgICAgICB3cml0YWJsZTogZmFsc2UsCiAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgfSk7CiAgICAgICAgdmFyIHByb3BlcnR5RGVmaW5lQ29ycmVjdCA9IG9iai5oYXNPd25Qcm9wZXJ0eSgicHJvcCIpOwogICAgICAgIHZhciBkZXNjMSA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICB9KTsKCiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgIHZhciBkZXNjMiA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwoKICAgICAgICAgICAgcmV0dXJuIHByb3BlcnR5RGVmaW5lQ29ycmVjdCAmJiBkZXNjMS5jb25maWd1cmFibGUgPT09IGZhbHNlICYmIG9iai5wcm9wID09PSAyMDEwICYmIGRlc2MyLmNvbmZpZ3VyYWJsZSA9PT0gZmFsc2UgJiYgZSBpbnN0YW5jZW9mIFR5cGVFcnJvcjsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVm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AgICAgdmFyIGRlc2MgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKG9iaiwgInByb3AiKTsKCiAgICAgICAgcmV0dXJuIG9iai5wcm9wID09PSBudW1PYmogJiYgZGVzYy52YWx1ZSA9PT0gbnVtT2JqOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmbkV4aXN0cyhPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-388"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTM4OSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0zODkuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBbW1ZhbHVlXV0gYXR0cmlidXRlIG9mIGRhdGEgcHJvcGVydHkgaXMgYSBCb29sZWFuIE9iamVjdCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIG9iaiA9IHt9OwogICAgICAgIHZhciBib29sT2JqID0gbmV3IEJvb2xlYW4oKTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIHZhbHVlOiBib29sT2JqCiAgICAgICAgfSk7CgogICAgICAgIHZhciBkZXNjID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIHJldHVybiBvYmoucHJvcCA9PT0gYm9vbE9iaiAmJiBkZXNjLnZhbHVlID09PSBib29sT2JqOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmbkV4aXN0cyhPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-389"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTM5IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuNi8xNS4yLjMuNi00LTM5LmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5kZWZpbmVQcm9wZXJ0eSAtICdPJyBpcyBhIERhdGUgb2JqZWN0IHRoYXQgdXNlcyBPYmplY3QncyBbW0dldE93blByb3BlcnR5XV0gbWV0aG9kIHRvIGFjY2VzcyB0aGUgJ25hbWUnIHByb3BlcnR5ICg4LjEyLjkgc3RlcCAxKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIGRlc2MgPSBuZXcgRGF0ZSgpOwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoZGVzYywgImZvbyIsIHsKICAgICAgICAgICAgdmFsdWU6IDEyLAogICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgfSk7CgogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShkZXNjLCAiZm9vIiwgewogICAgICAgICAgICAgICAgdmFsdWU6IDExLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICByZXR1cm4gZSBpbnN0YW5jZW9mIFR5cGVFcnJvciAmJi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ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgb2JqID0ge307CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICB2YWx1ZTogLUluZmluaXR5CiAgICAgICAgfSk7CgogICAgICAgIHZhciBkZXNjID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIHJldHVybiBvYmoucHJvcCA9PT0gLUluZmluaXR5ICYmIGRlc2MudmFsdWUgPT09IC1JbmZpbml0eTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkgJiYgZm5FeGlzdHMoT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcik7CiAgICB9Cn0pOwo=","id":"15.2.3.6-4-398"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTM5OSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0zOTkuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBbW1ZhbHVlXV0gYXR0cmlidXRlIG9mIGRhdGEgcHJvcGVydHkgaXMgdGhlIGdsb2JhbCBvYmplY3QiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBvYmogPSB7fTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIHZhbHVlOiBmbkdsb2JhbE9iamVjdCgpCiAgICAgICAgfSk7CgogICAgICAgIHZhciBkZXNjID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3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gICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmbkV4aXN0cyhPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-401"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTQwMiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC00MDIuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBbW1ZhbHVlXV0gYXR0cmlidXRlIG9mIGluaGVyaXRlZCBwcm9wZXJ0eSBvZiBbW1Byb3RvdHlwZV1dIGludGVybmFsIHByb3BlcnR5IGlzIGNvcnJlY3QgKFN0cmluZyBpbnN0YW5jZSkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShTdHJpbmcucHJvdG90eXBlLCAicHJvcCIsIHsKICAgICAgICAgICAgICAgIHZhbHVlOiAxMDAxLAogICAgICAgICAgICAgICAgd3JpdGFibGU6IHRydWUsCiAgICAgICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICB2YXIgc3RyT2JqID0gbmV3IFN0cmluZygpOwoKICAgICAgICAgICAgcmV0dXJuICFzdHJPYmouaGFzT3duUHJvcGVydHkoInByb3AiKSAmJiBzdHJPYmoucHJvcCA9PT0gMTAwMTsKICAgICAgICB9IGZpbmFsbHkgewogICAgICAgICAgICBkZWxldGUgU3Rya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UHJvcGVydHkoInByb3AiKSAmJiBhcnJPYmoucHJvcCA9PT0gMTAwMjsKICAgICAgICB9IGZpbmFsbHkgewogICAgICAgICAgICBkZWxldGUgQXJyYXkucHJvdG90eXBlLnByb3A7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cgo=","id":"15.2.3.6-4-403"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTQwNCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC00MDQuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBJbmhlcml0ZWQgcHJvcGVydHkgd2hvc2UgW1tFbnVtZXJhYmxlXV0gYXR0cmlidXRlIGlzIHNldCB0byB0cnVlIGlzIGVudW1lcmFibGUgKEJvb2xlYW4gaW5zdGFuY2UpIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoQm9vbGVhbi5wcm90b3R5cGUsICJwcm9wIiwgewogICAgICAgICAgICAgICAgdmFsdWU6IDEwMDEsCiAgICAgICAgICAgICAgICB3cml0YWJsZTogdHJ1ZSwKICAgICAgICAgICAgICAgIGVudW1lcmFibGU6IHRydWUsCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIHZhciBib29sT2JqID0gbmV3IEJvb2xlYW4oKTsKCiAgICAgICAgICAgIHZhciB2ZXJpZnlFbnVtZXJhYmxlID0gZmFsc2U7CiAgICAgICAgICA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sKICAgICAgICAgICAgICAgIHZhbHVlOiAxMDAxLAogICAgICAgICAgICAgICAgd3JpdGFibGU6IGZhbHNlLAogICAgICAgICAgICAgICAgZW51bWVyYWJsZTogZmFsc2UsCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIHZhciBudW1PYmogPSBuZXcgTnVtYmVyKCk7CiAgICAgICAgICAgIG51bU9iai5wcm9wID0gMTAwMjsKCiAgICAgICAgICAgIHJldHVybiAhbnVtT2JqLmhhc093blByb3BlcnR5KCJwcm9wIikgJiYgbnVtT2JqLnByb3AgPT09IDEwMDE7CiAgICAgICAgfSBmaW5hbGx5IHsKICAgICAgICAgICAgZGVsZXRlIE51bWJlci5wcm90b3R5cGUucHJvcDsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsKCg==","id":"15.2.3.6-4-405"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTQwNiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC00MDYuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBJbmhlcml0ZWQgcHJvcGVydHkgd2hvc2UgW1tFbnVtZXJhYmxlXV0gYXR0cmlidXRlIGlzIHNldCB0byBmYWxzZSBpcyB1bmVudW1lcmFibGUgKEZ1bmN0aW9uIGluc3RhbmNlKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KEZ1bmN0aW9uLnByb3RvdHlwZSwgInByb3AiLCB7CiAgICAgICAgICAgICAgICB2YWx1ZTogMTAwMSwKICAgICAgICAgICAgICAgIHdyaXRhYmxlOiBmYWxzZSwKICAgICAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICB2YXIgZnVuT2JqID0gZnVuY3Rpb24gKCkgeyB9OwoKICAgICAgICAgICAgdmFyIHZlcmlmeUVudW1lcmFibGUgPSBmYWxzZTsKICAgICAgICAgICAgZm9yICh2YXIgcCBpbiBmdW5PYmopIHsKICAgICAgICAgICAgICAgIGlmIChwID09PSAicHJvcCIpIHsKICAgICAgICAgICAgICAgICAgICB2ZXJpZnlFbnVtZXJhYmxlID0gdHJ1ZTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQoKICAgICAgICAgICAgcmV0dXJuICFmdW5PYmouaGFzT3duUHJvcGVydHkoInByb3AiKSAmJiAhdmVyaWZ5RW51bWVyYWJsZTsKICAgICAgICB9IGZpbmFsbHkgewogICAgICAgICAgICBkZWxldGUgRnVuY3Rpb24ucHJvdG90eXBlLnByb3A7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cgo=","id":"15.2.3.6-4-406"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTQwNyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC00MDcuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBbW1ZhbHVlXV0gYXR0cmlidXRlIG9mIGluaGVyaXRlZCBwcm9wZXJ0eSBvZiBbW1Byb3RvdHlwZV1dIGludGVybmFsIHByb3BlcnR5IGlzIGNvcnJlY3QgKEVycm9yIEluc3RhbmNlKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KEVycm9yLnByb3RvdHlwZSwgInByb3AiLCB7CiAgICAgICAgICAgICAgICB2YWx1ZTogMTAwMSwKICAgICAgICAgICAgICAgIHdyaXRhYmxlOiB0cnVlLAogICAgICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZSwKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICB9KTsKICAgICAgICAgICAgdmFyIGVyck9iaiA9IG5ldyBFcnJvcigpOwoKICAgICAgICAgICAgcmV0dXJuICFlcnJPYmouaGFzT3duUHJvcGVydHkoInByb3AiKSAmJiBlcnJPYmoucHJvcCA9PT0gMTAwMTsKICAgICAgICB9IGZpbmFsbHkgewogICAgICAgICAgICBkZWxldGUgRXJyb3IucHJvdG90eXBlLnByb3A7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cgo=","id":"15.2.3.6-4-407"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTQwOCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC00MDguanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBTdWNjZXNzZnVsbHkgYWRkIGEgcHJvcGVydHkgdG8gYW4gb2JqZWN0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anMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBJbmhlcml0ZWQgcHJvcGVydHkgd2hvc2UgW1tFbnVtZXJhYmxlXV0gYXR0cmlidXRlIGlzIHNldCB0byBmYWxzZSBpcyBlbnVtZXJhYmxlIChSZWdFeHAgaW5zdGFuY2UpIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoUmVnRXhwLnByb3RvdHlwZSwgInByb3AiLCB7CiAgICAgICAgICAgICAgICB2YWx1ZTogMTAwMSwKICAgICAgICAgICAgICAgIHdyaXRhYmxlOiB0cnVlLAogICAgICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZSwKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICB9KTsKICAgICAgICAgICAgdmFyIHJlZ09iaiA9IG5ldyBSZWdFeHAoKTsKCiAgICAgICAgICAgIHZhciB2ZXJpZnlFbnVtZXJhYmxlID0gZmFsc2U7CiAgICAgICAgICAgIGZvciAodmFyIHAgaW4gcmVnT2JqKSB7CiAgICAgICAgICAgICAgICBpZiAocCA9PT0gInByb3AiKSB7CiAgICAgICAgICAgICAgICAgICAgdmVyaWZ5RW51bWVyYWJsZSA9IHRydWU7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KCiAgICAgICAgICAgIHJldHVybiAhcmVnT2JqLmhhc093blByb3BlcnR5KCJwcm9wIikgJiYgdmVyaWZ5RW51bWVyYWJsZTsKICAgICAgICB9IGZpbmFsbHkgewogICAgICAgICAgICBkZWxldGUgUmVnRXhwLnByb3RvdHlwZS5wcm9wOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSk7CiAgICB9Cn0pOwoK","id":"15.2.3.6-4-409"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTQxIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuNi8xNS4yLjMuNi00LTQxLmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5kZWZpbmVQcm9wZXJ0eSAtICdPJyBpcyB0aGUgSlNPTiBvYmplY3QgdGhhdCB1c2VzIE9iamVjdCdzIFtbR2V0T3duUHJvcGVydHldXSBtZXRob2QgdG8gYWNjZXNzIHRoZSAnbmFtZScgcHJvcGVydHkgKDguMTIuOSBzdGVwIDEpIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKCiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KEpTT04sICJmb28iLCB7CiAgICAgICAgICAgICAgICB2YWx1ZTogMTIsCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICAgICAgfSk7CgogICAgICAgICAgICByZXR1cm4gZGF0YVByb3BlcnR5QXR0cmlidXRlc0FyZUNvcnJlY3QoSlNPTiwgImZvbyIsIDEyLCBmYWxzZSwgZmFsc2UsIHRydWUpOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIGRlbGV0ZSBKU09OLmZvbzsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-4-41"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTQxMCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC00MTAuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBGYWlsZWQgdG8gYWRkIGEgcHJvcGVydHkgdG8gYW4gb2JqZWN0IHdoZW4gdGhlIG9iamVjdCdzIHByb3RvdHlwZSBoYXMgYSBwcm9wZXJ0eSB3aXRoIHRoZSBzYW1lIG5hbWUgYW5kIFtbV3JpdGFibGVdXSBzZXQgdG8gZmFsc2UgKEpTT04pIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoT2JqZWN0LnByb3RvdHlwZSwgInByb3AiLCB7CiAgICAgICAgICAgICAgICB2YWx1ZTogMTAwMSwKICAgICAgICAgICAgICAgIHdyaXRhYmxlOiBmYWxzZSwKICAgICAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICBKU09OLnByb3AgPSAxMDAyOwoKICAgICAgICAgICAgcmV0dXJuICFKU09OLmhhc093blByb3BlcnR5KCJwcm9wIikgJiYgSlNPTi5wcm9wID09PSAxMDAxOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIGRlbGV0ZSBPYmplY3QucHJvdG90eXBlLnByb3A7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cgo=","id":"15.2.3.6-4-410"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTQxMSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC00MTEuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBJbmhlcml0ZWQgcHJvcGVydHkgd2hvc2UgW1tFbnVtZXJhYmxlXV0gYXR0cmlidXRlIGlzIHNldCB0byBmYWxzZSBpcyB1bmVudW1lcmFibGUgKE1hdGgpIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoT2JqZWN0LnByb3RvdHlwZSwgInByb3AiLCB7CiAgICAgICAgICAgICAgICB2YWx1ZTogMTAwMSwKICAgICAgICAgICAgICAgIHdyaXRhYmxlOiBmYWxzZSwKICAgICAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwoKICAgICAgICAgICAgdmFyIHZlcmlmeUVudW1lcmFibGUgPSBmYWxzZTsKICAgICAgICAgICAgZm9yICh2YXIgcCBpbiBNYXRoKSB7CiAgICAgICAgICAgICAgICBpZiAocCA9PT0gInByb3AiKSB7CiAgICAgICAgICAgICAgICAgICAgdmVyaWZ5RW51bWVyYWJsZSA9IHRydWU7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KCiAgICAgICAgICAgIHJldHVybiAhTWF0aC5oYXNPd25Qcm9wZXJ0eSgicHJvcCIpICYmICF2ZXJpZnlFbnVtZXJhYmxlOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIGRlbGV0ZSBPYmplY3QucHJvdG90eXBlLnByb3A7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cgo=","id":"15.2.3.6-4-411"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTQxMiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC00MTIuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBbW1ZhbHVlXV0gZmllbGQgb2YgaW5oZXJpdGVkIHByb3BlcnR5IG9mIFtbUHJvdG90eXBlXV0gaW50ZXJuYWwgcHJvcGVydHkgaXMgY29ycmVjdChPYmplY3QuY3JlYXRlKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIGFwcG9pbnRtZW50ID0ge307CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcHBvaW50bWVudCwgInN0YXJ0VGltZSIsIHsKICAgICAgICAgICAgdmFsdWU6IDEwMDEsCiAgICAgICAgICAgIHdyaXRhYmxlOiB0cnVlLAogICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXBwb2ludG1lbnQsICJuYW1lIiwgewogICAgICAgICAgICB2YWx1ZTogIk5BTUUiLAogICAgICAgICAgICB3cml0YWJsZTogdHJ1ZSwKICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgfSk7CgogICAgICAgIHZhciBtZWV0aW5nID0gT2JqZWN0LmNyZWF0ZShhcHBvaW50bWVudCk7CiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG1lZXRpbmcsICJjb25mZXJlbmNlQ2FsbCIsIHsKICAgICAgICAgICAgdmFsdWU6ICJJbi1wZXJzb24gbWVldGluZyIsCiAgICAgICAgICAgIHdyaXRhYmxlOiB0cnVlLAogICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKCiAgICAgICAgdmFyIHRlYW1NZWV0aW5nID0gT2JqZWN0LmNyZWF0ZShtZWV0aW5nKTsKCiAgICAgICAgdmFyIGhhc093blByb3BlcnR5ID0gIXRlYW1NZWV0aW5nLmhhc093blByb3BlcnR5KCJuYW1lIikgJiYKICAgICAgICAgICAgIXRlYW1NZWV0aW5nLmhhc093blByb3BlcnR5KCJzdGFydFRpbWUiKSAmJgogICAgICAgICAgICAhdGVhbU1lZXRpbmcuaGFzT3duUHJvcGVydHkoJ2NvbmZlcmVuY2VDYWxsJyk7CgogICAgICAgIHJldHVybiBoYXNPd25Qcm9wZXJ0eSAmJiB0ZWFtTWVldGluZy5uYW1lID09PSAiTkFNRSIgJiYKICAgICAgICAgICAgdGVhbU1lZXRpbmcuc3RhcnRUaW1lID09PSAxMDAxICYmCiAgICAgICAgICAgIHRlYW1NZWV0aW5nLmNvbmZlcmVuY2VDYWxsID09PSAiSW4tcGVyc29uIG1lZXRpbmciOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmbkV4aXN0cyhPYmplY3QuY3JlYXRlKTsKICAgIH0KfSk7Cgo=","id":"15.2.3.6-4-412"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTQxMyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC00MTMuanM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iB0cnVlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKCiAgICAgICAgdmFyIHRlYW1NZWV0aW5nID0gT2JqZWN0LmNyZWF0ZShtZWV0aW5nKTsKCiAgICAgICAgdmFyIHZlcmlmeVRpbWVQcm9wID0gZmFsc2U7CiAgICAgICAgdmFyIHZlcmlmeU5hbWVQcm9wID0gZmFsc2U7CiAgICAgICAgdmFyIHZlcmlmeUNhbGxQcm9wID0gZmFsc2U7CiAgICAgICAgZm9yICh2YXIgcCBpbiB0ZWFtTWVldGluZykgewogICAgICAgICAgICBpZiAocCA9PT0gInN0YXJ0VGltZSIpIHsKICAgICAgICAgICAgICAgIHZlcmlmeVRpbWVQcm9wID0gdHJ1ZTsKICAgICAgICAgICAgfQogICAgICAgICAgICBpZiAocCA9PT0gIm5hbWUiKSB7CiAgICAgICAgICAgICAgICB2ZXJpZnlOYW1lUHJvcCA9IHRydWU7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgaWYgKHAgPT09ICJjb25mZXJlbmNlQ2FsbCIpIHsKICAgICAgICAgICAgICAgIHZlcmlmeUNhbGxQcm9wID0gdHJ1ZTsKICAgICAgICAgICAgfQogICAgICAgIH0KCiAgICAgICAgdmFyIGhhc093blByb3BlcnR5ID0gIXRlYW1NZWV0aW5nLmhhc093blByb3BlcnR5KCJuYW1lIikgJiYKICAgICAgICAgICAgIXRlYW1NZWV0aW5nLmhhc093blByb3BlcnR5KCJzdGFydFRpbWUiKSAmJgogICAgICAgICAgICAhdGVhbU1lZXRpbmcuaGFzT3duUHJvcGVydHkoImNvbmZlcmVuY2VDYWxsIik7CgogICAgICAgIHJldHVybiBoYXNPd25Qcm9wZXJ0eSAmJiB2ZXJpZnlUaW1lUHJvcCAmJiB2ZXJpZnlOYW1lUHJvcCAmJiB2ZXJpZnlDYWxsUHJvcDsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAg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U6IGZhbHNlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKCiAgICAgICAgdmFyIG1lZXRpbmcgPSBPYmplY3QuY3JlYXRlKGFwcG9pbnRtZW50KTsKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkobWVldGluZywgImNvbmZlcmVuY2VDYWxsIiwgewogICAgICAgICAgICB2YWx1ZTogIkluLXBlcnNvbiBtZWV0aW5nIiwKICAgICAgICAgICAgd3JpdGFibGU6IGZhbHNlLAogICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgfSk7CgogICAgICAgIHZhciB0ZWFtTWVldGluZyA9IE9iamVjdC5jcmVhdGUobWVldGluZyk7CgogICAgICAgIHZhciB2ZXJpZnlUaW1lUHJvcCA9IGZhbHNlOwogICAgICAgIHZhciB2ZXJpZnlOYW1lUHJvcCA9IGZhbHNlOwogICAgICAgIHZhciB2ZXJpZnlDYWxsUHJvcCA9IGZhbHNlOwogICAgICAgIGZvciAodmFyIHAgaW4gdGVhbU1lZXRpbmcpIHsKICAgICAgICAgICAgaWYgKHAgPT09ICJzdGFydFRpbWUiKSB7CiAgICAgICAgICAgICAgICB2ZXJpZnlUaW1lUHJvcCA9IHRydWU7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgaWYgKHAgPT09ICJuYW1lIikgewogICAgICAgICAgICAgICAgdmVyaWZ5TmFtZVByb3AgPSB0cnVlOwogICAgICAgICAgICB9CiAgICAgICAgICAgIGlmIChwID09PSAiY29uZmVyZW5jZUNhbGwiKSB7CiAgICAgICAgICAgICAgICB2ZXJpZnlDYWxsUHJvcCA9IHRydWU7CiAgICAgICAgICAgIH0KICAgICAgICB9CgogICAgICAgIHZhciBoYXNPd25Qcm9wZXJ0eSA9ICF0ZWFtTWVldGluZy5oYXNPd25Qcm9wZXJ0eSgibmFtZSIpICYmCiAgICAgICAgICAgICF0ZW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ICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShGdW5jdGlvbi5wcm90b3R5cGUsICJwcm9wIiwgewogICAgICAgICAgICAgICAgdmFsdWU6IDEwMDEsCiAgICAgICAgICAgICAgICB3cml0YWJsZTogdHJ1ZSwKICAgICAgICAgICAgICAgIGVudW1lcmFibGU6IHRydWUsCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICAgICAgfSk7CgogICAgICAgICAgICB2YXIgb2JqID0gZm9vLmJpbmQoe30pOwogICAgICAgICAgICBvYmoucHJvcCA9IDEwMDI7CgogICAgICAgICAgICByZXR1cm4gb2JqLmhhc093blByb3BlcnR5KCJwcm9wIikgJiYgb2JqLnByb3AgPT09IDEwMDI7CiAgICAgICAgfSBmaW5hbGx5IHsKICAgICAgICAgICAgZGVsZXRlIEZ1bmN0aW9uLnByb3RvdHlwZS5wcm9wOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkgJiYgZm5FeGlzdHMoRnVuY3Rpb24ucHJvdG90eXBlLmJpbmQpOwogICAgfQp9KTsKCg==","id":"15.2.3.6-4-418"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTQxOSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC00MTkuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBJbmhlcml0ZWQgcHJvcGVydHkgd2hvc2UgW1tFbnVtZXJhYmxlXV0gYXR0cmlidXRlIGlzIHNldCB0byB0cnVlIGlzIGVudW1lcmFibGUgKEZ1bmN0aW9uLnByb3RvdHlwZS5iaW5kKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIGZvbyA9IGZ1bmN0aW9uICgpIHsgfTsKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoRnVuY3Rpb24ucHJvdG90eXBlLCAicHJvcCIsIHsKICAgICAgICAgICAgICAgIHZhbHVlOiAxMDAxLAogICAgICAgICAgICAgICAgd3JpdGFibGU6IHRydWUsCiAgICAgICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwoKICAgICAgICAgICAgdmFyIG9iaiA9IGZvby5iaW5kKHt9KTsKICAgICAgICAgICAgdmFyIHZlcmlmeUVudW1lcmFibGUgPSBmYWxzZTsKICAgICAgICAgICAgZm9yICh2YXIgcCBpbiBvYmopIHsKICAgICAgICAgICAgICAgIGlmIChwID09PSAicHJvcCIpIHsKICAgICAgICAgICAgICAgICAgICB2ZXJpZnlFbnVtZXJhYmxlID0gdHJ1ZTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQoKICAgICAgICAgICAgcmV0dXJuICFvYmouaGFzT3duUHJvcGVydHkoInByb3AiKSAmJiB2ZXJpZnlFbnVtZXJhYmxlOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIGRlbGV0ZSBGdW5jdGlvbi5wcm90b3R5cGUucHJvcDsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuRXhpc3RzKEZ1bmN0aW9uLnByb3RvdHlwZS5iaW5kKTsKICAgIH0KfSk7Cgo=","id":"15.2.3.6-4-419"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTQyIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuNi8xNS4yLjMuNi00LTQyLmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5kZWZpbmVQcm9wZXJ0eSAtICdPJyBpcyBhbiBFcnJvciBvYmplY3QgdGhhdCB1c2VzIE9iamVjdCdzIFtbR2V0T3duUHJvcGVydHldXSBtZXRob2QgdG8gYWNjZXNzIHRoZSAnbmFtZScgcHJvcGVydHkgKDguMTIuOSBzdGVwIDEpIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgZGVzYyA9IG5ldyBFcnJvcigpOwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoZGVzYywgImZvbyIsIHsKICAgICAgICAgICAgdmFsdWU6IDEyLAogICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgfSk7CgogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShkZXNjLCAiZm9vIiwgewogICAgICAgICAgICAgICAgdmFsdWU6IDExLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICByZXR1cm4gZSBpbnN0YW5jZW9mIFR5cGVFcnJvciAmJiBkZXNjLmZvbyA9PT0gMTI7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-42"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLj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ICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkgJiYgZm5FeGlzdHMoRnVuY3Rpb24ucHJvdG90eXBlLmJpbmQpOwogICAgfQp9KTsKCg==","id":"15.2.3.6-4-420"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTQyMSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC00MjEuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBJbmhlcml0ZWQgcHJvcGVydHkgd2hvc2UgW1tFbnVtZXJhYmxlXV0gYXR0cmlidXRlIGlzIHNldCB0byBmYWxzZSBpcyB1bmVudW1lcmFibGUgKEZ1bmN0aW9uLnByb3RvdHlwZS5iaW5kKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIGZvbyA9IGZ1bmN0aW9uICgpIHsgfTsKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoRnVuY3Rpb24ucHJvdG90eXBlLCAicHJvcCIsIHsKICAgICAgICAgICAgICAgIHZhbHVlOiAxMDAxLAogICAgICAgICAgICAgICAgd3JpdGFibGU6IGZhbHNlLAogICAgICAgICAgICAgICAgZW51bWVyYWJsZTogZmFsc2UsCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICAgICAgfSk7CgogICAgICAgICAgICB2YXIgb2JqID0gZm9vLmJpbmQoe30pOwogICAgICAgICAgICB2YXIgdmVyaWZ5RW51bWVyYWJsZSA9IGZhbHNlOwogICAgICAgICAgICBmb3IgKHZhciBwIGluIG9iaikgewogICAgICAgICAgICAgICAgaWYgKHAgPT09ICJwcm9wIikgewogICAgICAgICAgICAgICAgICAgIHZlcmlmeUV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lc3RjYXNlKCkgewogICAgICAgIHZhciBvYmogPSB7fTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIGdldDogdW5kZWZpbmVkLAogICAgICAgICAgICBzZXQ6IHVuZGVmaW5lZCwKICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgfSk7CgogICAgICAgIHZhciBwcm9wZXJ0eURlZmluZUNvcnJlY3QgPSBvYmouaGFzT3duUHJvcGVydHkoInByb3AiKTsKICAgICAgICB2YXIgZGVzYyA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwoKICAgICAgICBmb3IgKHZhciBwIGluIG9iaikgewogICAgICAgICAgICBpZiAocCA9PT0gInByb3AiKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gcHJvcGVydHlEZWZpbmVDb3JyZWN0ICYmIGRlc2MuZW51bWVyYWJsZSA9PT0gdHJ1ZTsKICAgICAgICAgICAgfQogICAgICAgIH0KCiAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmbkV4aXN0cyhPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-424"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTQyNSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC00MjUuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0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B2YWx1ZTsKICAgICAgICB9OwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgZ2V0OiB1bmRlZmluZWQsCiAgICAgICAgICAgIHNldDogdW5kZWZpbmVkLAogICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKCiAgICAgICAgdmFyIGRlc2MxID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICBzZXQ6IHNldEZ1bmMKICAgICAgICB9KTsKCiAgICAgICAgb2JqLnByb3AgPSAib3ZlcnJpZGVEYXRhIjsKICAgICAgICB2YXIgcHJvcGVydHlEZWZpbmVDb3JyZWN0ID0gb2JqLmhhc093blByb3BlcnR5KCJwcm9wIik7CiAgICAgICAgdmFyIGRlc2MyID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIHJldHVybiBwcm9wZXJ0eURlZmluZUNvcnJlY3QgJiYgdHlwZW9mIGRlc2MxLnNldCA9PT0gInVuZGVmaW5lZCIgJiYgZGVzYzIuc2V0ID09PSBzZXRGdW5jICYmIHZlcmlmeVNldEZ1bmMgPT09ICJvdmVycmlkZURhdGEiOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmbkV4aXN0cyhPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-427"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjM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Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIG9iaiA9IHt9OwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgZ2V0OiB1bmRlZmluZWQsCiAgICAgICAgICAgIHNldDogdW5kZWZpbmVkLAogICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKICAgICAgICB2YXIgZGVzYzEgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKG9iaiwgInByb3AiKTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICB9KTsKICAgICAgICB2YXIgZGVzYzIgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKG9iaiwgInByb3AiKTsKICAgICAgICBkZWxldGUgb2JqLnByb3A7CgogICAgICAgIHJldHVybiBkZXNjMS5jb25maWd1cmFibGUgPT09IHRydWUgJiYgZGVzYzIuY29uZmlndXJhYmxlID09PSBmYWxzZSAmJiBvYmouaGFzT3duUHJvcGVydHkoInByb3AiKTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkgJiYgZm5FeGlzdHMoT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcik7CiAgICB9Cn0pOwo=","id":"15.2.3.6-4-429"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTQzIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuNi8xNS4yLjMuNi00LTQzLmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5kZWZpbmVQcm9wZXJ0eSAtICdPJyBpcyBhbiBBcmd1bWVudHMgb2JqZWN0IHdoaWNoIGltcGxlbWVudHMgaXRzIG93biBbW0dldE93blByb3BlcnR5XV0gbWV0aG9kIHRvIGFjY2VzcyB0aGUgJ25hbWUnIHByb3BlcnR5ICg4LjEyLjkgc3RlcCAxKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIGFyZ09iaiA9IChmdW5jdGlvbiAoKSB7IHJldHVybiBhcmd1bWVudHM7IH0pKCk7CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcmdPYmosICJmb28iLCB7CiAgICAgICAgICAgIHZhbHVlOiAxMiwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgIH0pOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXJnT2JqLCAiZm9vIiwgewogICAgICAgICAgICAgICAgdmFsdWU6IDExLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICByZXR1cm4gZSBpbnN0YW5jZW9mIFR5cGVFcnJvciAmJiBhcmdPYmouZm9vID09PSAxMjsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-4-43"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTQzMCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFw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W5kZWZpbmVkLAogICAgICAgICAgICBzZXQ6IHVuZGVmaW5lZCwKICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgIH0pOwoKICAgICAgICB2YXIgZGVzYzEgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKG9iaiwgInByb3AiKTsKCiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgICAgICBzZXQ6IHNldEZ1bmMKICAgICAgICAgICAgfSk7CgogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICB2YXIgZGVzYzIgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKG9iaiwgInByb3AiKTsKICAgICAgICAgICAgcmV0dXJuIHR5cGVvZiBkZXNjMS5zZXQgPT09ICJ1bmRlZmluZWQiICYmIHR5cGVvZiBkZXNjMi5zZXQgPT09ICJ1bmRlZmluZWQiICYmIGUgaW5zdGFuY2VvZiBUeXBlRXJyb3I7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmbkV4aXN0cyhPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-436"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTQzNyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC00MzcuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBmYWlsIHRvIHVwZGF0ZSBbW0VudW1lcmFibGVdXSBhdHRyaWJ1dGUgb2YgYWNjZXNzb3IgcHJvcGVydHkgKFtbR2V0XV0gaXMgdW5kZWZpbmVkLCBbW1NldF1dIGlzIHVuZGVmaW5lZCwgW1tFbnVtZXJhYmxlXV0gaXMgdHJ1ZSwgW1tDb25maWd1cmFibGVdXSBpcyBmYWxzZSkgdG8gZGlmZmVyZW50IHZhbHVlIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgb2JqID0ge307CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICBnZXQ6IHVuZGVmaW5lZCwKICAgICAgICAgICAgc2V0OiB1bmRlZmluZWQsCiAgICAgICAgICAgIGVudW1lcmFibGU6IHRydWUsCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICB9KTsKICAgICAgICB2YXIgcmVzdWx0MSA9IGZhbHNlOwogICAgICAgIHZhciBkZXNjMSA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwogICAgICAgIGZvciAodmFyIHAxIGluIG9iaikgewogICAgICAgICAgICBpZiAocDEgPT09ICJwcm9wIikgewogICAgICAgICAgICAgICAgcmVzdWx0MSA9IHRydWU7CiAgICAgICAgICAgIH0KICAgICAgICB9CgogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICAgICAgZW51bWVyYWJsZTogZmFsc2UKICAgICAgICAgICAgfSk7CgogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICB2YXIgcmVzdWx0MiA9IGZhbHNlOwogICAgICAgICAgICB2Y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ZXJlbnQgdmFsdWUiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBvYmogPSB7fTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIGdldDogdW5kZWZpbmVkLAogICAgICAgICAgICBzZXQ6IHVuZGVmaW5lZCwKICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgIH0pOwogICAgICAgIHZhciBkZXNjMSA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICB9KTsKCiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgIHZhciBkZXNjMiA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwogICAgICAgICAgICBkZWxldGUgb2JqLnByb3A7CgogICAgICAgICAgICByZXR1cm4gZGVzYzEuY29uZmlndXJhYmxlID09PSBmYWxzZSAmJiBkZXNjMi5jb25maWd1cmFibGUgPT09IGZhbHNlICYmIG9iai5oYXNPd25Qcm9wZXJ0eSgicHJvcCIpICYmIGUgaW5zdGFuY2VvZiBUeXBlRXJyb3I7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmbkV4aXN0cyhPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcml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NlKCkgewogICAgICAgIHZhciBvYmogPSB7fTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIGdldDogdW5kZWZpbmVkLAogICAgICAgICAgICBzZXQ6IHVuZGVmaW5lZCwKICAgICAgICAgICAgZW51bWVyYWJsZTogZmFsc2UsCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgIH0pOwoKICAgICAgICB2YXIgcHJvcGVydHlEZWZpbmVDb3JyZWN0ID0gb2JqLmhhc093blByb3BlcnR5KCJwcm9wIik7CiAgICAgICAgdmFyIGRlc2MgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKG9iaiwgInByb3AiKTsKCiAgICAgICAgZm9yICh2YXIgcCBpbiBvYmopIHsKICAgICAgICAgICAgaWYgKHAgPT09ICJwcm9wIikgewogICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICB9CiAgICAgICAgfQoKICAgICAgICByZXR1cm4gcHJvcGVydHlEZWZpbmVDb3JyZWN0ICYmIGRlc2MuZW51bWVyYWJsZSA9PT0gZmFsc2U7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuRXhpc3RzKE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IpOwogICAgfQp9KTsKCg==","id":"15.2.3.6-4-442"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTQ0MyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC00NDMuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZX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dmVyaWZ5U2V0RnVuYyA9IHZhbHVlOwogICAgICAgIH07CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICBnZXQ6IHVuZGVmaW5lZCwKICAgICAgICAgICAgc2V0OiB1bmRlZmluZWQsCiAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKCiAgICAgICAgdmFyIGRlc2MxID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CiAgICAgICAgdmFyIHByb3BlcnR5RGVmaW5lQ29ycmVjdCA9IG9iai5oYXNPd25Qcm9wZXJ0eSgicHJvcCIpOwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgc2V0OiBzZXRGdW5jCiAgICAgICAgfSk7CgogICAgICAgIG9iai5wcm9wID0gIm92ZXJyaWRlRGF0YSI7CiAgICAgICAgdmFyIGRlc2MyID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIHJldHVybiB0eXBlb2YgZGVzYzEuc2V0ID09PSAidW5kZWZpbmVkIiAmJiBwcm9wZXJ0eURlZmluZUNvcnJlY3QgJiYgZGVzYzIuc2V0ID09PSBzZXRGdW5jICYmIHZlcmlmeVNldEZ1bmMgPT09ICJvdmVycmlkZURhdGEiOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmbkV4aXN0cyhPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKTsKICAgIH0KfSk7Cgo=","id":"15.2.3.6-4-445"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclR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ZW50IHZhbHVlIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgb2JqID0ge307CiAgICAgICAgdmFyIGdldEZ1bmMgPSBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgIHJldHVybiAxMDAxOwogICAgICAgIH07CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICBnZXQ6IHVuZGVmaW5lZCwKICAgICAgICAgICAgc2V0OiB1bmRlZmluZWQsCiAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgfSk7CgogICAgICAgIHZhciByZXN1bHQxID0gdHlwZW9mIG9iai5wcm9wID09PSAidW5kZWZpbmVkIjsKICAgICAgICB2YXIgZGVzYzEgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKG9iaiwgInByb3AiKTsKCiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgICAgICBnZXQ6IGdldEZ1bmMKICAgICAgICAgICAgfSk7CgogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICB2YXIgcmVzdWx0MiA9IHR5cGVvZiBvYmoucHJvcCA9PT0gInVuZGVmaW5lZCI7CiAgICAgICAgICAgIHZhciBkZXNjMiA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwogICAgICAgICAgICByZXR1cm4gcmVzdWx0MSAmJiByZXN1bHQyICYmIHR5cGVvZiBkZXNjMS5nZXQgPT09ICJ1bmRlZmluZWQiICYmIHR5cGVvZiBkZXNjMi5nZXQgPT09ICJ1bmRlZmluZWQiICYmIGUgaW5zdGFuY2VvZiBUeXB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dHRyaWJ1dGUgb2YgYWNjZXNzb3IgcHJvcGVydHkgKFtbR2V0XV0gaXMgdW5kZWZpbmVkLCBbW1NldF1dIGlzIHVuZGVmaW5lZCwgW1tFbnVtZXJhYmxlXV0gaXMgZmFsc2UsIFtbQ29uZmlndXJhYmxlXV0gaXMgZmFsc2UpIHRvIGRpZmZlcmVudCB2YWx1ZSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIG9iaiA9IHt9OwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgZ2V0OiB1bmRlZmluZWQsCiAgICAgICAgICAgIHNldDogdW5kZWZpbmVkLAogICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgIH0pOwogICAgICAgIHZhciByZXN1bHQxID0gZmFsc2U7CiAgICAgICAgdmFyIGRlc2MxID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CiAgICAgICAgZm9yICh2YXIgcDEgaW4gb2JqKSB7CiAgICAgICAgICAgIGlmIChwMSA9PT0gInByb3AiKSB7CiAgICAgICAgICAgICAgICByZXN1bHQxID0gdHJ1ZTsKICAgICAgICAgICAgfQogICAgICAgIH0KCiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwoKICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgdmFyIHJlc3VsdDIgPSBmYWxzZTsKICAgICAgICAgICAgdmFyIGRlc2MyID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm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gICB2YXIgb2JqID0ge307CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICBnZXQ6IHVuZGVmaW5lZCwKICAgICAgICAgICAgc2V0OiB1bmRlZmluZWQsCiAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgfSk7CiAgICAgICAgdmFyIGRlc2MxID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwoKICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgdmFyIGRlc2MyID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CiAgICAgICAgICAgIGRlbGV0ZSBvYmoucHJvcDsKCiAgICAgICAgICAgIHJldHVybiBkZXNjMS5jb25maWd1cmFibGUgPT09IGZhbHNlICYmIGRlc2MyLmNvbmZpZ3VyYWJsZSA9PT0gZmFsc2UgJiYgb2JqLmhhc093blByb3BlcnR5KCJwcm9wIikgJiYgZSBpbnN0YW5jZW9mIFR5cGVFcnJvcjsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuRXhpc3RzKE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IpOwogICAgfQp9KTs=","id":"15.2.3.6-4-456"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3Qoew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gICAgIHZhciBvYmogPSB7fTsKCiAgICAgICAgdmFyIGdldEZ1bmMgPSBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgIHJldHVybiAxMDAxOwogICAgICAgIH07CgogICAgICAgIHZhciB2ZXJpZnlTZXRGdW5jID0gImRhdGEiOwogICAgICAgIHZhciBzZXRGdW5jID0gZnVuY3Rpb24gKHZhbHVlKSB7CiAgICAgICAgICAgIHZlcmlmeVNldEZ1bmMgPSB2YWx1ZTsKICAgICAgICB9OwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgZ2V0OiB1bmRlZmluZWQsCiAgICAgICAgICAgIHNldDogc2V0RnVuYywKICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgfSk7CgogICAgICAgIHZhciByZXN1bHQxID0gdHlwZW9mIG9iai5wcm9wID09PSAidW5kZWZpbmVkIjsKICAgICAgICB2YXIgZGVzYzEgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKG9iaiwgInByb3AiKTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIGdldDogZ2V0RnVuYwogICAgICAgIH0pOwoKICAgICAgICB2YXIgcmVzdWx0MiA9IG9iai5wcm9wID09PSAxMDAxOwogICAgICAgIHZhciBkZXNjMiA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwoKICAgICAgICByZXR1cm4gcmVzdWx0MSAmJiByZXN1bHQyICYmIHR5cGVvZiBkZXNjMS5nZXQgPT09ICJ1bmRlZmluZWQiICYmIGRlc2MyLmdldCA9PT0gZ2V0RnVuYzsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgc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ZSgpIHsKICAgICAgICB2YXIgb2JqID0ge307CgogICAgICAgIHZhciB2ZXJpZnlTZXRGdW5jID0gImRhdGEiOwogICAgICAgIHZhciBzZXRGdW5jID0gZnVuY3Rpb24gKHZhbHVlKSB7CiAgICAgICAgICAgIHZlcmlmeVNldEZ1bmMgPSB2YWx1ZTsKICAgICAgICB9OwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgZ2V0OiB1bmRlZmluZWQsCiAgICAgICAgICAgIHNldDogc2V0RnVuYywKICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgfSk7CgogICAgICAgIHZhciByZXN1bHQxID0gZmFsc2U7CiAgICAgICAgdmFyIGRlc2MxID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CiAgICAgICAgZm9yICh2YXIgcDEgaW4gb2JqKSB7CiAgICAgICAgICAgIGlmIChwMSA9PT0gInByb3AiKSB7CiAgICAgICAgICAgICAgICByZXN1bHQxID0gdHJ1ZTsKICAgICAgICAgICAgfQogICAgICAgIH0KCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlCiAgICAgICAgfSk7CiAgICAgICAgdmFyIHJlc3VsdDIgPSBmYWxzZTsKICAgICAgICB2YXIgZGVzYzIgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKG9iaiwgInByb3AiKTsKICAgICAgICBmb3IgKHZhciBwMiBpbiBvYmopIHsKICAgICAgICAgICAgaWYgKHAyID09PSAicHJvcCIpIHsKICAgICAgICAgICAgICAgIHJlc3VsdDIgPSB0cnVlOwogICAgICAgICAgICB9CiAgICAgICAgfQoKICAgICAgICByZXR1cm4gcmVzdWx0MSAmJiAhcm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ICAgICBnZXQ6IHVuZGVmaW5lZCwKICAgICAgICAgICAgc2V0OiBzZXRGdW5jLAogICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKICAgICAgICB2YXIgZGVzYzEgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKG9iaiwgInByb3AiKTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICB9KTsKICAgICAgICB2YXIgZGVzYzIgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKG9iaiwgInByb3AiKTsKICAgICAgICBkZWxldGUgb2JqLnByb3A7CgogICAgICAgIHJldHVybiBkZXNjMS5jb25maWd1cmFibGUgPT09IHRydWUgJiYgZGVzYzIuY29uZmlndXJhYmxlID09PSBmYWxzZSAmJiBvYmouaGFzT3duUHJvcGVydHkoInByb3AiKTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkgJiYgZm5FeGlzdHMoT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcik7CiAgICB9Cn0pOwo=","id":"15.2.3.6-4-465"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTQ2NiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC00NjYuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBzdWNjZXNzIHRvIHVwZGF0ZSB0aGUgYWNjZXNzb3IgcHJvcGVydHkgKFtbR2V0XV0gaXMgdW5kZWZpbmVkLCBbW1NldF1dIGlzIGEgRnVuY3Rpb24sIFtbRW51bWVyYWJsZV1dIGlzIHRydWUsIFtbQ29uZmlndXJhYmxlXV0gaXMgdHJ1ZSkgdG8gYSBkYXRhIHByb3BlcnR5IiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgb2JqID0ge307CgogICAgICAgIHZhciB2ZXJpZnlTZXRGdW5jID0gImRhdGEiOwogICAgICAgIHZhciBzZXRGdW5jID0gZnVuY3Rpb24gKHZhbHVlKSB7CiAgICAgICAgICAgIHZlcmlmeVNldEZ1bmMgPSB2YWx1ZTsKICAgICAgICB9OwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgZ2V0OiB1bmRlZmluZWQsCiAgICAgICAgICAgIHNldDogc2V0RnVuYywKICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgfSk7CiAgICAgICAgdmFyIGRlc2MxID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICB2YWx1ZTogMTAwMQogICAgICAgIH0pOwogICAgICAgIHZhciBkZXNjMiA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwoKICAgICAgICByZXR1cm4gZGVzYzEuaGFzT3duUHJvcGVydHkoImdldCIpICYmIGRlc2MyLmhhc093blByb3BlcnR5KCJ2YWx1ZSIpOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZm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dHJ1ZSwgW1tDb25maWd1cmFibGVdXSBpcyBmYWxzZSkgaXMgZW51bWVyYWJsZSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIG9iaiA9IHt9OwoKICAgICAgICB2YXIgdmVyaWZ5U2V0RnVuYyA9ICJkYXRhIjsKICAgICAgICB2YXIgc2V0RnVuYyA9IGZ1bmN0aW9uICh2YWx1ZSkgewogICAgICAgICAgICB2ZXJpZnlTZXRGdW5jID0gdmFsdWU7CiAgICAgICAgfTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIGdldDogdW5kZWZpbmVkLAogICAgICAgICAgICBzZXQ6IHNldEZ1bmMsCiAgICAgICAgICAgIGVudW1lcmFibGU6IHRydWUsCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICB9KTsKCiAgICAgICAgdmFyIHByb3BlcnR5RGVmaW5lQ29ycmVjdCA9IG9iai5oYXNPd25Qcm9wZXJ0eSgicHJvcCIpOwogICAgICAgIHZhciBkZXNjID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIGZvciAodmFyIHAgaW4gb2JqKSB7CiAgICAgICAgICAgIGlmIChwID09PSAicHJvcCIpIHsKICAgICAgICAgICAgICAgIHJldHVybiBwcm9wZXJ0eURlZmluZUNvcnJlY3QgJiYgZGVzYy5lbnVtZXJhYmxlID09PSB0cnVlOwogICAgICAgICAgICB9CiAgICAgICAgfQoKICAgICAgICByZXR1cm4gZmFsc2U7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuRXhpc3RzKE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3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AgICAgICAgICAgIGdldDogdW5kZWZpbmVkLAogICAgICAgICAgICBzZXQ6IHNldEZ1bmMsCiAgICAgICAgICAgIGVudW1lcmFibGU6IHRydWUsCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICB9KTsKCiAgICAgICAgdmFyIHJlc3VsdDEgPSB0eXBlb2Ygb2JqLnByb3AgPT09ICJ1bmRlZmluZWQiOwogICAgICAgIHZhciBkZXNjMSA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgICAgIGdldDogZ2V0RnVuYwogICAgICAgICAgICB9KTsKCiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgIHZhciByZXN1bHQyID0gdHlwZW9mIG9iai5wcm9wID09PSAidW5kZWZpbmVkIjsKICAgICAgICAgICAgdmFyIGRlc2MyID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgICAgICByZXR1cm4gcmVzdWx0MSAmJiByZXN1bHQyICYmIHR5cGVvZiBkZXNjMS5nZXQgPT09ICJ1bmRlZmluZWQiICYmIHR5cGVvZiBkZXNjMi5nZXQgPT09ICJ1bmRlZmluZWQiICYmIGUgaW5zdGFuY2VvZiBUeXBlRXJyb3I7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmbkV4aXN0cyhPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-471"},{"code":"RVM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OwoKICAgICAgICB2YXIgdmVyaWZ5U2V0RnVuYyA9ICJkYXRhIjsKICAgICAgICB2YXIgc2V0RnVuYyA9IGZ1bmN0aW9uICh2YWx1ZSkgewogICAgICAgICAgICB2ZXJpZnlTZXRGdW5jID0gdmFsdWU7CiAgICAgICAgfTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIGdldDogdW5kZWZpbmVkLAogICAgICAgICAgICBzZXQ6IHNldEZ1bmMsCiAgICAgICAgICAgIGVudW1lcmFibGU6IHRydWUsCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICB9KTsKCiAgICAgICAgdmFyIHJlc3VsdDEgPSBmYWxzZTsKICAgICAgICB2YXIgZGVzYzEgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKG9iaiwgInByb3AiKTsKICAgICAgICBmb3IgKHZhciBwMSBpbiBvYmopIHsKICAgICAgICAgICAgaWYgKHAxID09PSAicHJvcCIpIHsKICAgICAgICAgICAgICAgIHJlc3VsdDEgPSB0cnVlOwogICAgICAgICAgICB9CiAgICAgICAgfQoKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlCiAgICAgICAgICAgIH0pOwoKICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgdmFyIHJlc3VsdDIgPSBmYWxzZTsKICAgICAgICAgICAgdmFyIGRlc2MyID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CiAgICAgICAgICAgIGZvciAodmFyIHAyIGluIG9iaikgewogICAgICAgICAgICAgICAgaWYgKHAyID09PSAicHJvcCIpIHsKICAgICAgICAgICAgICAgICAgICByZXN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HVlKSB7CiAgICAgICAgICAgIHZlcmlmeVNldEZ1bmMgPSB2YWx1ZTsKICAgICAgICB9OwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgZ2V0OiB1bmRlZmluZWQsCiAgICAgICAgICAgIHNldDogc2V0RnVuYywKICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgIH0pOwogICAgICAgIHZhciBkZXNjMSA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICB9KTsKCiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgIHZhciBkZXNjMiA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwogICAgICAgICAgICBkZWxldGUgb2JqLnByb3A7CgogICAgICAgICAgICByZXR1cm4gZGVzYzEuY29uZmlndXJhYmxlID09PSBmYWxzZSAmJiBkZXNjMi5jb25maWd1cmFibGUgPT09IGZhbHNlICYmIG9iai5oYXNPd25Qcm9wZXJ0eSgicHJvcCIpICYmIGUgaW5zdGFuY2VvZiBUeXBlRXJyb3I7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmbkV4aXN0cyhPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKTsKICAgIH0KfSk7Cg==","id":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ZXJhYmxlXV0gaXMgZmFsc2UsIFtbQ29uZmlndXJhYmxlXV0gaXMgdHJ1ZSkgdG8gZGlmZmVyZW50IHZhbHVlIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgb2JqID0ge307CgogICAgICAgIHZhciBnZXRGdW5jID0gZnVuY3Rpb24gKCkgewogICAgICAgICAgICByZXR1cm4gMTAwMTsKICAgICAgICB9OwoKICAgICAgICB2YXIgdmVyaWZ5U2V0RnVuYyA9ICJkYXRhIjsKICAgICAgICB2YXIgc2V0RnVuYyA9IGZ1bmN0aW9uICh2YWx1ZSkgewogICAgICAgICAgICB2ZXJpZnlTZXRGdW5jID0gdmFsdWU7CiAgICAgICAgfTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIGdldDogdW5kZWZpbmVkLAogICAgICAgICAgICBzZXQ6IHNldEZ1bmMsCiAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKCiAgICAgICAgdmFyIHJlc3VsdDEgPSB0eXBlb2Ygb2JqLnByb3AgPT09ICJ1bmRlZmluZWQiOwogICAgICAgIHZhciBkZXNjMSA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgZ2V0OiBnZXRGdW5jCiAgICAgICAgfSk7CgogICAgICAgIHZhciByZXN1bHQyID0gb2JqLnByb3AgPT09IDEwMDE7CiAgICAgICAgdmFyIGRlc2MyID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIHJldHVybiByZXN1bHQxICYmIHJlc3VsdDIgJiYgdHlwZW9mIG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Y3Rpb24sIFtbRW51bWVyYWJsZV1dIGlzIGZhbHNlLCBbW0NvbmZpZ3VyYWJsZV1dIGlzIHRydWUpIHRvIGRpZmZlcmVudCB2YWx1ZSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIG9iaiA9IHt9OwoKICAgICAgICB2YXIgdmVyaWZ5U2V0RnVuYyA9ICJkYXRhIjsKICAgICAgICB2YXIgc2V0RnVuYyA9IGZ1bmN0aW9uICh2YWx1ZSkgewogICAgICAgICAgICB2ZXJpZnlTZXRGdW5jID0gdmFsdWU7CiAgICAgICAgfTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIGdldDogdW5kZWZpbmVkLAogICAgICAgICAgICBzZXQ6IHNldEZ1bmMsCiAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKCiAgICAgICAgdmFyIHJlc3VsdDEgPSBmYWxzZTsKICAgICAgICB2YXIgZGVzYzEgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKG9iaiwgInByb3AiKTsKICAgICAgICBmb3IgKHZhciBwMSBpbiBvYmopIHsKICAgICAgICAgICAgaWYgKHAxID09PSAicHJvcCIpIHsKICAgICAgICAgICAgICAgIHJlc3VsdDEgPSB0cnVlOwogICAgICAgICAgICB9CiAgICAgICAgfQoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZQogICAgICAgIH0pOwogICAgICAgIHZhciByZXN1bHQyID0gZmFsc2U7CiAgICAgICAgdmFyIGRlc2MyID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CiAgICAgICAgZm9yICh2YXIgcDIgaW4gb2JqK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GdW5jID0gZnVuY3Rpb24gKHZhbHVlKSB7CiAgICAgICAgICAgIHZlcmlmeVNldEZ1bmMgPSB2YWx1ZTsKICAgICAgICB9OwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgZ2V0OiB1bmRlZmluZWQsCiAgICAgICAgICAgIHNldDogc2V0RnVuYywKICAgICAgICAgICAgZW51bWVyYWJsZTogZmFsc2UsCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgIH0pOwogICAgICAgIHZhciBkZXNjMSA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgIH0pOwogICAgICAgIHZhciBkZXNjMiA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwogICAgICAgIGRlbGV0ZSBvYmoucHJvcDsKCiAgICAgICAgcmV0dXJuIGRlc2MxLmNvbmZpZ3VyYWJsZSA9PT0gdHJ1ZSAmJiBkZXNjMi5jb25maWd1cmFibGUgPT09IGZhbHNlICYmIG9iai5oYXNPd25Qcm9wZXJ0eSgicHJvcCIpOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmbkV4aXN0cyhPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-483"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTQ4NCIsCgogICAgcGF0aDogIlRlc3RD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IG9iaiA9IHt9OwoKICAgICAgICB2YXIgdmVyaWZ5U2V0RnVuYyA9ICJkYXRhIjsKICAgICAgICB2YXIgc2V0RnVuYyA9IGZ1bmN0aW9uICh2YWx1ZSkgewogICAgICAgICAgICB2ZXJpZnlTZXRGdW5jID0gdmFsdWU7CiAgICAgICAgfTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIGdldDogdW5kZWZpbmVkLAogICAgICAgICAgICBzZXQ6IHNldEZ1bmMsCiAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgfSk7CgogICAgICAgIG9iai5wcm9wID0gIm92ZXJyaWRlRGF0YSI7CiAgICAgICAgdmFyIHByb3BlcnR5RGVmaW5lQ29ycmVjdCA9IG9iai5oYXNPd25Qcm9wZXJ0eSgicHJvcCIpOwogICAgICAgIHZhciBkZXNjID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIHJldHVybiBwcm9wZXJ0eURlZmluZUNvcnJlY3QgJiYgZGVzYy5zZXQgPT09IHNldEZ1bmMgJiYgdmVyaWZ5U2V0RnVuYyA9PT0gIm92ZXJyaWRlRGF0YSI7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuRXhpc3RzKE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IpOwogICAgfQp9KTs=","id":"15.2.3.6-4-486"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTQ4NyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTU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ICAgICB2YXIgZ2V0RnVuYyA9IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgcmV0dXJuIDEwMDE7CiAgICAgICAgfTsKCiAgICAgICAgdmFyIHZlcmlmeVNldEZ1bmMgPSAiZGF0YSI7CiAgICAgICAgdmFyIHNldEZ1bmMgPSBmdW5jdGlvbiAodmFsdWUpIHsKICAgICAgICAgICAgdmVyaWZ5U2V0RnVuYyA9IHZhbHVlOwogICAgICAgIH07CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICBnZXQ6IHVuZGVmaW5lZCwKICAgICAgICAgICAgc2V0OiBzZXRGdW5jLAogICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgIH0pOwoKICAgICAgICB2YXIgcmVzdWx0MSA9IHR5cGVvZiBvYmoucHJvcCA9PT0gInVuZGVmaW5lZCI7CiAgICAgICAgdmFyIGRlc2MxID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICAgICAgZ2V0OiBnZXRGdW5jCiAgICAgICAgICAgIH0pOwoKICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgdmFyIHJlc3VsdDIgPSB0eXBlb2Ygb2JqLnByb3AgPT09ICJ1bmRlZmluZWQiOwogICAgICAgICAgICB2YXIgZGVzYzIgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKG9iaiwgInByb3AiKTsKCiAgICAgICAgICAgIHJldHVybiByZXN1bHQxICYmIHJlc3VsdDIgJiYgdHlwZW9mIGRlc2MxLmdldCA9PT0gInVuZGVmaW5lZCI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LAogICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgfSk7CgogICAgICAgIHZhciBkZXNjMSA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgICAgIHNldDogdW5kZWZpbmVkCiAgICAgICAgICAgIH0pOwoKICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgdmFyIGRlc2MyID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgICAgICByZXR1cm4gZGVzYzEuc2V0ID09PSBzZXRGdW5jICYmIGRlc2MyLnNldCA9PT0gc2V0RnVuYyAmJiBlIGluc3RhbmNlb2YgVHlwZUVycm9yOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkgJiYgZm5FeGlzdHMoT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcik7CiAgICB9Cn0pOwo=","id":"15.2.3.6-4-490"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTQ5MSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC00OTEuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBmYWlsIHRvIHVwZGF0ZSBbW0VudW1lcmFibGVdXSBhdHRyaWJ1dGUgb2YgYWNjZXNzb3IgcHJvcGVydHkgKFtbR2V0XV0gaXMgdW5kZWZpbmVkLCBbW1NldF1dIGlzIGEgRnVuY3Rpb24sIFtbRW51bWVyYWJsZV1dIGlzIGZhbHNlLCBbW0NvbmZpZ3VyYWJsZV1dIGlzIGZhbHNlKSB0byBkaWZmZXJlbnQgdmFsdWUiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBvYmogPSB7fTsKCiAgICAgICAgdmFyIHZlcmlmeVNldEZ1bmMgPSAiZGF0YSI7CiAgICAgICAgdmFyIHNldEZ1bmMgPSBmdW5jdGlvbiAodmFsdWUpIHsKICAgICAgICAgICAgdmVyaWZ5U2V0RnVuYyA9IHZhbHVlOwogICAgICAgIH07CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICBnZXQ6IHVuZGVmaW5lZCwKICAgICAgICAgICAgc2V0OiBzZXRGdW5jLAogICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgIH0pOwoKICAgICAgICB2YXIgcmVzdWx0MSA9IGZhbHNlOwogICAgICAgIHZhciBkZXNjMSA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwogICAgICAgIGZvciAodmFyIHAxIGluIG9iaikgewogICAgICAgICAgICBpZiAocDEgPT09ICJwcm9wIikgewogICAgICAgICAgICAgICAgcmVzdWx0MSA9IHRydWU7CiAgICAgICAgICAgIH0KICAgICAgICB9CgogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZQogICAgICAgICAgICB9KTsKCiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICA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gaXMgZmFsc2UsIFtbQ29uZmlndXJhYmxlXV0gaXMgZmFsc2UpIHRvIGRpZmZlcmVudCB2YWx1ZSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIG9iaiA9IHt9OwoKICAgICAgICB2YXIgdmVyaWZ5U2V0RnVuYyA9ICJkYXRhIjsKICAgICAgICB2YXIgc2V0RnVuYyA9IGZ1bmN0aW9uICh2YWx1ZSkgewogICAgICAgICAgICB2ZXJpZnlTZXRGdW5jID0gdmFsdWU7CiAgICAgICAgfTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIGdldDogdW5kZWZpbmVkLAogICAgICAgICAgICBzZXQ6IHNldEZ1bmMsCiAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgfSk7CiAgICAgICAgdmFyIGRlc2MxID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwoKICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgdmFyIGRlc2MyID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CiAgICAgICAgICAgIGRlbGV0ZSBvYmoucHJvcDsKCiAgICAgICAgICAgIHJldHVybiBkZXNjMS5jb25maWd1cmFibGUgPT09IGZhbHNlICYmIGRlc2MyLmNvbmZpZ3VyYWJsZSA9PT0gZmFsc2UgJiYgb2JqLmhhc093blByb3BlcnR5KCJwcm9wIikgJiY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iBmYWxzZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgIH0pOwogICAgICAgIHZhciBkZXNjMSA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgICAgIHZhbHVlOiAxMDAxCiAgICAgICAgICAgIH0pOwoKICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgdmFyIGRlc2MyID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgICAgICByZXR1cm4gZGVzYzEuaGFzT3duUHJvcGVydHkoImdldCIpICYmICFkZXNjMi5oYXNPd25Qcm9wZXJ0eSgidmFsdWUiKSAmJiBlIGluc3RhbmNlb2YgVHlwZUVycm9yOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkgJiYgZm5FeGlzdHMoT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcik7CiAgICB9Cn0pOwo=","id":"15.2.3.6-4-493"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTQ5NCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC00OTQuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBbW0dldF1dIGF0dHJpYnV0ZSBvZiBhY2Nlc3NvciBwcm9wZXJ0eSAoW1tHZXRdXSBpcyBhIEZ1bmN0aW9uLCBbW1NldF1dIGlzIHVuZGVmaW5lZCwgW1tFbnVtZXJhYmxlXV0gaXMgdHJ1ZSwgW1tDb25maWd1cmFibGVdXSBpcyB0cnVlKSBpcyB0aGUgZXhwZWN0ZWQgZnVuY3Rpb24iLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBvYmogPSB7fTsKCiAgICAgICAgdmFyIGdldEZ1bmMgPSBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgIHJldHVybiAxMDAxOwogICAgICAgIH07CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICBnZXQ6IGdldEZ1bmMsCiAgICAgICAgICAgIHNldDogdW5kZWZpbmVkLAogICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKCiAgICAgICAgdmFyIHByb3BlcnR5RGVmaW5lQ29ycmVjdCA9IG9iai5oYXNPd25Qcm9wZXJ0eSgicHJvcCIpOwogICAgICAgIHZhciBkZXNjID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIHJldHVybiBwcm9wZXJ0eURlZmluZUNvcnJlY3QgJiYgZGVzYy5nZXQgPT09IGdldEZ1bmMgJiYgb2JqLnByb3AgPT09IDEwMDE7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuRXhpc3RzKE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IpOwogICAgfQp9KTsK","id":"15.2.3.6-4-494"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjM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IgcmVzdWx0MSA9IGZhbHNlOwogICAgICAgIHZhciBkZXNjMSA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwogICAgICAgIGZvciAodmFyIHAxIGluIG9iaikgewogICAgICAgICAgICBpZiAocDEgPT09ICJwcm9wIikgewogICAgICAgICAgICAgICAgcmVzdWx0MSA9IHRydWU7CiAgICAgICAgICAgIH0KICAgICAgICB9CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZQogICAgICAgIH0pOwogICAgICAgIHZhciByZXN1bHQyID0gZmFsc2U7CiAgICAgICAgdmFyIGRlc2MyID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CiAgICAgICAgZm9yICh2YXIgcDIgaW4gb2JqKSB7CiAgICAgICAgICAgIGlmIChwMiA9PT0gInByb3AiKSB7CiAgICAgICAgICAgICAgICByZXN1bHQyID0gdHJ1ZTsKICAgICAgICAgICAgfQogICAgICAgIH0KCiAgICAgICAgcmV0dXJuIHJlc3VsdDEgJiYgIXJlc3VsdDIgJiYgZGVzYzEuZW51bWVyYWJsZSA9PT0gdHJ1ZSAmJiBkZXNjMi5lbnVtZXJhYmxlID09PSBmYWxzZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkgJiYgZm5FeGlzdHMoT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcik7CiAgICB9Cn0pOwo=","id":"15.2.3.6-4-500"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTUwMSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTU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GVzYy5lbnVtZXJhYmxlID09PSB0cnVlOwogICAgICAgICAgICB9CiAgICAgICAgfQoKICAgICAgICByZXR1cm4gZmFsc2U7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuRXhpc3RzKE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IpOwogICAgfQp9KTs=","id":"15.2.3.6-4-505"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTUwNiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC01MDYuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBwcm9wZXJ0eSAoW1tHZXRdXSBpcyBhIEZ1bmN0aW9uLCBbW1NldF1dIGlzIHVuZGVmaW5lZCwgW1tFbnVtZXJhYmxlXV0gaXMgdHJ1ZSwgW1tDb25maWd1cmFibGVdXSBpcyBmYWxzZSkgaXMgdW5kZWxldGFibGUiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBvYmogPSB7fTsKCiAgICAgICAgdmFyIGdldEZ1bmMgPSBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgIHJldHVybiAxMDAxOwogICAgICAgIH07CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICBnZXQ6IGdldEZ1bmMsCiAgICAgICAgICAgIHNldDogdW5kZWZpbmVkLAogICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgfSk7CgogICAgICAgIHZhciB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EZ1bmMgPSBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgIHJldHVybiAxMDAxOwogICAgICAgIH07CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICBnZXQ6IGdldEZ1bmMsCiAgICAgICAgICAgIHNldDogdW5kZWZpbmVkLAogICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgfSk7CgogICAgICAgIHZhciByZXN1bHQxID0gb2JqLnByb3AgPT09IDEwMDE7CiAgICAgICAgdmFyIGRlc2MxID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICAgICAgZ2V0OiB1bmRlZmluZWQKICAgICAgICAgICAgfSk7CgogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICB2YXIgcmVzdWx0MiA9IG9iai5wcm9wID09PSAxMDAxOwogICAgICAgICAgICB2YXIgZGVzYzIgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKG9iaiwgInByb3AiKTsKCiAgICAgICAgICAgIHJldHVybiByZXN1bHQxICYmIHJlc3VsdDIgJiYgZGVzYzEuZ2V0ID09PSBnZXRGdW5jICYmIGRlc2MyLmdldCA9PT0gZ2V0RnVuYyAmJiBlIGluc3RhbmNlb2YgVHlwZUVycm9yOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkgJiYgZm5FeGlzdHMoT2JqZWN0LmdldE93blByb3Bl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FtbRW51bWVyYWJsZV1dIGlzIHRydWUsIFtbQ29uZmlndXJhYmxlXV0gaXMgZmFsc2UpIHRvIGRpZmZlcmVudCB2YWx1ZSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIG9iaiA9IHt9OwoKICAgICAgICB2YXIgZ2V0RnVuYyA9IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgcmV0dXJuIDEwMDE7CiAgICAgICAgfTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIGdldDogZ2V0RnVuYywKICAgICAgICAgICAgc2V0OiB1bmRlZmluZWQsCiAgICAgICAgICAgIGVudW1lcmFibGU6IHRydWUsCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICB9KTsKICAgICAgICB2YXIgcmVzdWx0MSA9IGZhbHNlOwogICAgICAgIHZhciBkZXNjMSA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwogICAgICAgIGZvciAodmFyIHAxIGluIG9iaikgewogICAgICAgICAgICBpZiAocDEgPT09ICJwcm9wIikgewogICAgICAgICAgICAgICAgcmVzdWx0MSA9IHRydWU7CiAgICAgICAgICAgIH0KICAgICAgICB9CgogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICAgICAgZW51bWVyYWJsZTogZmFsc2UKICAgICAgICAgICAgfSk7CgogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICB2YXIgcmVzdWx0MiA9IGZhbHNlOwogICAgICAgICAgICB2YXIgZGVzYzIgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKG9iaiwgInByb3AiKTsKICAgICAgICAgICAgZ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ZhciBnZXRGdW5jID0gZnVuY3Rpb24gKCkgewogICAgICAgICAgICByZXR1cm4gMTAwMTsKICAgICAgICB9OwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgZ2V0OiBnZXRGdW5jLAogICAgICAgICAgICBzZXQ6IHVuZGVmaW5lZCwKICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgIH0pOwogICAgICAgIHZhciBkZXNjMSA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICB9KTsKCiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgIHZhciBkZXNjMiA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwogICAgICAgICAgICBkZWxldGUgb2JqLnByb3A7CgogICAgICAgICAgICByZXR1cm4gZGVzYzEuY29uZmlndXJhYmxlID09PSBmYWxzZSAmJiBkZXNjMi5jb25maWd1cmFibGUgPT09IGZhbHNlICYmIG9iai5oYXNPd25Qcm9wZXJ0eSgicHJvcCIpICYmIGUgaW5zdGFuY2VvZiBUeXBlRXJyb3I7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmbkV4aXN0cyhPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKTsKICAgIH0K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0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICBnZXQ6IGdldEZ1bmMsCiAgICAgICAgICAgIHNldDogdW5kZWZpbmVkLAogICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgfSk7CgogICAgICAgIHZhciByZXN1bHQxID0gb2JqLnByb3AgPT09IDEwMDE7CiAgICAgICAgdmFyIGRlc2MxID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICBnZXQ6IHVuZGVmaW5lZAogICAgICAgIH0pOwoKICAgICAgICB2YXIgcmVzdWx0MiA9IHR5cGVvZiBvYmoucHJvcCA9PT0gInVuZGVmaW5lZCI7CiAgICAgICAgdmFyIGRlc2MyID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIHJldHVybiByZXN1bHQxICYmIHJlc3VsdDIgJiYgZGVzYzEuZ2V0ID09PSBnZXRGdW5jICYmIHR5cGVvZiBkZXNjMi5nZXQgPT09ICJ1bmRlZmluZWQiOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmbkV4aXN0cyhPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-516"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTUxNyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC01MTcuanMiL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IHt9OwoKICAgICAgICB2YXIgZ2V0RnVuYyA9IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgcmV0dXJuIDEwMDE7CiAgICAgICAgfTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIGdldDogZ2V0RnVuYywKICAgICAgICAgICAgc2V0OiB1bmRlZmluZWQsCiAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKICAgICAgICB2YXIgcmVzdWx0MSA9IGZhbHNlOwogICAgICAgIHZhciBkZXNjMSA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwogICAgICAgIGZvciAodmFyIHAxIGluIG9iaikgewogICAgICAgICAgICBpZiAocDEgPT09ICJwcm9wIikgewogICAgICAgICAgICAgICAgcmVzdWx0MSA9IHRydWU7CiAgICAgICAgICAgIH0KICAgICAgICB9CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlCiAgICAgICAgfSk7CiAgICAgICAgdmFyIHJlc3VsdDIgPSBmYWxzZTsKICAgICAgICB2YXIgZGVzYzIgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKG9iaiwgInByb3AiKTsKICAgICAgICBmb3IgKHZhciBwMiBpbiBvYmopIHsKICAgICAgICAgICAgaWYgKHAyID09PSAicHJvcCIpIHsKICAgICAgICAgICAgICAgIHJlc3VsdDIgPSB0cnVlOwogICAgICAgICAgICB9CiAgICAgICAgfQoKICAgICAgICByZXR1cm4gIXJlc3VsdDEgJiYgcmVzdWx0MiAmJiBkZXNjMS5lbnVtZXJhYmxlID09PSBmYWxzZSAmJiBkZXNjMi5lbnVtZXJhYmxlID09PSB0cnVlOwogICAgfSwKC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lcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIGdldDogZ2V0RnVuYywKICAgICAgICAgICAgc2V0OiB1bmRlZmluZWQsCiAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKICAgICAgICB2YXIgZGVzYzEgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKG9iaiwgInByb3AiKTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIHZhbHVlOiAxMDAxCiAgICAgICAgfSk7CiAgICAgICAgdmFyIGRlc2MyID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIHJldHVybiBkZXNjMS5oYXNPd25Qcm9wZXJ0eSgiZ2V0IikgJiYgZGVzYzIuaGFzT3duUHJvcGVydHkoInZhbHVlIik7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuRXhpc3RzKE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IpOwogICAgfQp9KTsK","id":"15.2.3.6-4-520"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTUyMSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC01MjEuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBbW0dldF1dIGF0dHJpYnV0ZSBvZiBhY2Nlc3NvciBwcm9wZXJ0eSAoW1tHZXRdXSBpcyBhIEZ1bmN0aW9uLCBbW1NldF1dIGlzIHVuZGVmaW5lZCwgW1tFbnVtZXJhYmxlXV0gaXMgZmFsc2UsIFtbQ29uZmlndXJhYmxlXV0gaXMgZmFsc2UpIGlzIHRoZSBleHBlY3RlZCBmdW5jdGlvbiIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIG9iaiA9IHt9OwoKICAgICAgICB2YXIgZ2V0RnVuYyA9IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgcmV0dXJuIDEwMDE7CiAgICAgICAgfTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIGdldDogZ2V0RnVuYywKICAgICAgICAgICAgc2V0OiB1bmRlZmluZWQsCiAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgfSk7CgogICAgICAgIHZhciBwcm9wZXJ0eURlZmluZUNvcnJlY3QgPSBvYmouaGFzT3duUHJvcGVydHkoInByb3AiKTsKICAgICAgICB2YXIgZGVzYyA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwoKICAgICAgICByZXR1cm4gcHJvcGVydHlEZWZpbmVDb3JyZWN0ICYmIGRlc2MuZ2V0ID09PSBnZXRGdW5jICYmIG9iai5wcm9wID09PSAxMDAxOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmbkV4aXN0cyhPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKTsKICAgIH0KfSk7","id":"15.2.3.6-4-521"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTUyMiIsCgogICAgcGF0aD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V0gaXMgZmFsc2UpIHRvIGRpZmZlcmVudCB2YWx1ZSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIG9iaiA9IHt9OwogICAgICAgIHZhciBnZXRGdW5jID0gZnVuY3Rpb24gKCkgewogICAgICAgICAgICByZXR1cm4gMTAwMTsKICAgICAgICB9OwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgZ2V0OiBnZXRGdW5jLAogICAgICAgICAgICBzZXQ6IHVuZGVmaW5lZCwKICAgICAgICAgICAgZW51bWVyYWJsZTogZmFsc2UsCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICB9KTsKCiAgICAgICAgdmFyIHJlc3VsdDEgPSBvYmoucHJvcCA9PT0gMTAwMTsKICAgICAgICB2YXIgZGVzYzEgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKG9iaiwgInByb3AiKTsKCiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgICAgICBnZXQ6IHVuZGVmaW5lZAogICAgICAgICAgICB9KTsKCiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgIHZhciByZXN1bHQyID0gb2JqLnByb3AgPT09IDEwMDE7CiAgICAgICAgICAgIHZhciBkZXNjMiA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwoKICAgICAgICAgICAgcmV0dXJuIHJlc3VsdDEgJiYgcmVzdWx0MiAmJiBkZXNjMS5nZXQgPT09IGdldEZ1bmMgJiYgZGVzYzIuZ2V0ID09PSBnZXRGdW5jICYmIGUgaW5zdGFuY2VvZiBUeXBlRXJyb3I7CiAgICAgICAgfQogICAg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IGdldEZ1bmMsCiAgICAgICAgICAgIHNldDogdW5kZWZpbmVkLAogICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgIH0pOwoKICAgICAgICB2YXIgZGVzYzEgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKG9iaiwgInByb3AiKTsKCiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgICAgICBzZXQ6IHNldEZ1bmMKICAgICAgICAgICAgfSk7CgogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICB2YXIgZGVzYzIgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKG9iaiwgInByb3AiKTsKCiAgICAgICAgICAgIHJldHVybiB0eXBlb2YgZGVzYzEuc2V0ID09PSAidW5kZWZpbmVkIiAmJiB0eXBlb2YgZGVzYzIuc2V0ID09PSAidW5kZWZpbmVkIiAmJiBlIGluc3RhbmNlb2YgVHlwZUVycm9yOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkgJiYgZm5FeGlzdHMoT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcik7CiAgICB9Cn0pOwo=","id":"15.2.3.6-4-526"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTUyNyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC01MjcuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBmYWlsIHRvIHVwZGF0ZSBbW0VudW1lcmFibGVdXSBhdHRyaWJ1dGUgb2YgYWNjZXNzb3IgcHJvcGVydHkgKFtbR2V0XV0gaXMgYSBGdW5jdGlvbiwgW1tTZXRdXSBpcyB1bmRlZmluZWQsIFtbRW51bWVyYWJsZV1dIGlzIGZhbHNlLCBbW0NvbmZpZ3VyYWJsZV1dIGlzIGZhbHNlKSB0byBkaWZmZXJlbnQgdmFsdWUiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBvYmogPSB7fTsKCiAgICAgICAgdmFyIGdldEZ1bmMgPSBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgIHJldHVybiAxMDAxOwogICAgICAgIH07CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICBnZXQ6IGdldEZ1bmMsCiAgICAgICAgICAgIHNldDogdW5kZWZpbmVkLAogICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgIH0pOwogICAgICAgIHZhciByZXN1bHQxID0gZmFsc2U7CiAgICAgICAgdmFyIGRlc2MxID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CiAgICAgICAgZm9yICh2YXIgcDEgaW4gb2JqKSB7CiAgICAgICAgICAgIGlmIChwMSA9PT0gInByb3AiKSB7CiAgICAgICAgICAgICAgICByZXN1bHQxID0gdHJ1ZTsKICAgICAgICAgICAgfQogICAgICAgIH0KCiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwoKICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgdmFyIHJlc3VsdDIgPSBmYWxzZTsKICAgICAgICAgICAgdmFyIGRlc2MyID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CiAgICAgICAgICAgIGZvciAodmFyIHAyIGluIG9iaikgewogICAgICAgICAgICAgICAgaWYgKHAyID09PSAicHJvcCIpIHsKICAgICAgICAgICAgICAgICAgICByZXN1bHQyID0gdHJ1ZTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQoKICAgICAgICAgICAgcmV0dXJuICFyZXN1bHQxICYmICFyZXN1bHQyICYmIGRlc2MxLmVudW1lcmFibGUgPT09IGZhbHNlICYmIGRlc2MyLmVudW1lcmFibGUgPT09IGZhbHNlICYmIGUgaW5zdGFuY2VvZiBUeXBlRXJyb3I7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmbkV4aXN0cyhPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-527"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTUyOCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC01MjguanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBmYWlsIHRvIHVwZGF0ZSBbW0NvbmZpZ3VyYWJsZV1dIGF0dHJpYnV0ZSBvZiBhY2Nlc3NvciBwcm9wZXJ0eSAoW1tHZXRdXSBpcyBhIEZ1bmN0aW9uLCBbW1NldF1dIGlzIHVuZGVmaW5lZCwgW1tFbnVtZXJhYmxlXV0gaXMgZmFsc2UsIFtbQ29uZmlndXJhYmxlXV0gaXMgZmFsc2UpIHRvIGRpZmZlcmVudCB2YWx1ZSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIG9iaiA9IHt9OwoKICAgICAgICB2YXIgZ2V0RnVuYyA9IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgcmV0dXJuIDEwMDE7CiAgICAgICAgfTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIGdldDogZ2V0RnVuYywKICAgICAgICAgICAgc2V0OiB1bmRlZmluZWQsCiAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgfSk7CiAgICAgICAgdmFyIGRlc2MxID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwoKICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgdmFyIGRlc2MyID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CiAgICAgICAgICAgIGRlbGV0ZSBvYmoucHJvcDsKCiAgICAgICAgICAgIHJldHVybiBkZXNjMS5jb25maWd1cmFibGUgPT09IGZhbHNlICYmIGRlc2MyLmNvbmZpZ3VyYWJsZSA9PT0gZmFsc2UgJiYgb2JqLmhhc093blByb3BlcnR5KCJwcm9wIikgJiYgZSBpbnN0YW5jZW9mIFR5cGVFcnJvc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rpb24sIFtbRW51bWVyYWJsZV1dIGlzIHRydWUsIFtbQ29uZmlndXJhYmxlXV0gaXMgdHJ1ZSkgaXMgdGhlIGV4cGVjdGVkIGZ1bmN0aW9uIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgb2JqID0ge307CgogICAgICAgIHZhciBnZXRGdW5jID0gZnVuY3Rpb24gKCkgewogICAgICAgICAgICByZXR1cm4gMTAwMTsKICAgICAgICB9OwoKICAgICAgICB2YXIgdmVyaWZ5U2V0RnVuYyA9ICJkYXRhIjsKICAgICAgICB2YXIgc2V0RnVuYyA9IGZ1bmN0aW9uICh2YWx1ZSkgewogICAgICAgICAgICB2ZXJpZnlTZXRGdW5jID0gdmFsdWU7CiAgICAgICAgfTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIGdldDogZ2V0RnVuYywKICAgICAgICAgICAgc2V0OiBzZXRGdW5jLAogICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKCiAgICAgICAgdmFyIHByb3BlcnR5RGVmaW5lQ29ycmVjdCA9IG9iai5oYXNPd25Qcm9wZXJ0eSgicHJvcCIpOwogICAgICAgIHZhciBkZXNjID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIHJldHVybiBwcm9wZXJ0eURlZmluZUNvcnJlY3QgJiYgZGVzYy5nZXQgPT09IGdldEZ1bmMgJiYgb2JqLnByb3AgPT09IDEwMDE7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuRXhpc3RzKE9iamVjdC5nZXRPd25Qcm9wZXJ0e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KICAgICAgICAgICAgfSwKICAgICAgICAgICAgc2V0OiBmdW5jdGlvbiAodmFsdWUpIHsKICAgICAgICAgICAgICAgIG9iai52ZXJpZnlTZXRGdW5jdGlvbiA9IHZhbHVlOwogICAgICAgICAgICB9LAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKCiAgICAgICAgb2JqLnZlcmlmeVNldEZ1bmN0aW9uMSA9ICJkYXRhMSI7CiAgICAgICAgdmFyIGdldEZ1bmMgPSBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgIHJldHVybiBvYmoudmVyaWZ5U2V0RnVuY3Rpb24xOwogICAgICAgIH07CiAgICAgICAgdmFyIHNldEZ1bmMgPSBmdW5jdGlvbiAodmFsdWUpIHsKICAgICAgICAgICAgb2JqLnZlcmlmeVNldEZ1bmN0aW9uMSA9IHZhbHVlOwogICAgICAgIH07CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICBnZXQ6IGdldEZ1bmMsCiAgICAgICAgICAgIHNldDogc2V0RnVuYwogICAgICAgIH0pOwoKICAgICAgICByZXR1cm4gYWNjZXNzb3JQcm9wZXJ0eUF0dHJpYnV0ZXNBcmVDb3JyZWN0KG9iaiwgInByb3AiLCBnZXRGdW5jLCBzZXRGdW5jLCAidmVyaWZ5U2V0RnVuY3Rpb24xIiwgZmFsc2UsIHRydWUpOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmbkV4aXN0cyhPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKTsKICAgIH0KfSk7","id":"15.2.3.6-4-531-11"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTUzMS0xMiIsCgogICAgcGF0a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gKDguMTIuOSBzdGVwIDExKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIHZhciBvYmogPSBmbkdsb2JhbE9iamVjdCgpOwogICAgICAgIHRyeSB7CiAgICAgICAgICAgIG9iai52ZXJpZnlTZXRGdW5jdGlvbiA9ICJkYXRhIjsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgIjAiLCB7CiAgICAgICAgICAgICAgICBnZXQ6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgICAgICByZXR1cm4gb2JqLnZlcmlmeVNldEZ1bmN0aW9uOwogICAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICAgIHNldDogZnVuY3Rpb24gKHZhbHVlKSB7CiAgICAgICAgICAgICAgICAgICAgb2JqLnZlcmlmeVNldEZ1bmN0aW9uID0gdmFsdWU7CiAgICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwoKICAgICAgICAgICAgb2JqLnZlcmlmeVNldEZ1bmN0aW9uMSA9ICJkYXRhMSI7CiAgICAgICAgICAgIHZhciBnZXRGdW5jID0gZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgcmV0dXJuIG9iai52ZXJpZnlTZXRGdW5jdGlvbjE7CiAgICAgICAgICAgIH07CiAgICAgICAgICAgIHZhciBzZXRGdW5jID0gZnVuY3Rpb24gKHZhbHVlKSB7CiAgICAgICAgICAgICAgICBvYmoudmVyaWZ5U2V0RnVuY3Rpb24xID0gdmFsdWU7CiAgICAgICAgICAgIH07CgogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAiMCIsIHsKICAgICAgICAgICAgICAgIGdldDogZ2V0RnVuYywKICAgICAgICAgICAgICAgIHNldDogc2V0RnVuYwogICAgICAgICAgICB9KTsKCiAgICAgICAgICAgIHJldHVybiBhY2Nlc3NvclByb3BlcnR5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vYmoudmVyaWZ5U2V0RnVuY3Rpb24gPSAiZGF0YSI7CiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgIjAiLCB7CiAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgcmV0dXJuIG9iai52ZXJpZnlTZXRGdW5jdGlvbjsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgc2V0OiBmdW5jdGlvbiAodmFsdWUpIHsKICAgICAgICAgICAgICAgIG9iai52ZXJpZnlTZXRGdW5jdGlvbiA9IHZhbHVlOwogICAgICAgICAgICB9LAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKCiAgICAgICAgb2JqLnZlcmlmeVNldEZ1bmN0aW9uMSA9ICJkYXRhMSI7CiAgICAgICAgdmFyIGdldEZ1bmMgPSBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgIHJldHVybiBvYmoudmVyaWZ5U2V0RnVuY3Rpb24xOwogICAgICAgIH07CiAgICAgICAgdmFyIHNldEZ1bmMgPSBmdW5jdGlvbiAodmFsdWUpIHsKICAgICAgICAgICAgb2JqLnZlcmlmeVNldEZ1bmN0aW9uMSA9IHZhbHVlOwogICAgICAgIH07CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICIwIiwgewogICAgICAgICAgICBnZXQ6IGdldEZ1bmMsCiAgICAgICAgICAgIHNldDogc2V0RnVuYwogICAgICAgIH0pOwoKICAgICAgICByZXR1cm4gYWNjZXNzb3JQcm9wZXJ0eUF0dHJpYnV0ZXNBcmVDb3JyZWN0KG9iaiwgIjAiLCBnZXRGdW5jLCBzZXRGdW5jLCAidmVyaWZ5U2V0RnVuY3Rpb24xIiwgZmFsc2UsIHRydWUpOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3Blcn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XRGdW5jID0gZnVuY3Rpb24gKCkgewogICAgICAgICAgICByZXR1cm4gMTAwMTsKICAgICAgICB9OwoKICAgICAgICB2YXIgdmVyaWZ5U2V0RnVuYyA9ICJkYXRhIjsKICAgICAgICB2YXIgc2V0RnVuYyA9IGZ1bmN0aW9uICh2YWx1ZSkgewogICAgICAgICAgICB2ZXJpZnlTZXRGdW5jID0gdmFsdWU7CiAgICAgICAgfTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIGdldDogZ2V0RnVuYywKICAgICAgICAgICAgc2V0OiBzZXRGdW5jLAogICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKCiAgICAgICAgdmFyIHByb3BlcnR5RGVmaW5lQ29ycmVjdCA9IG9iai5oYXNPd25Qcm9wZXJ0eSgicHJvcCIpOwogICAgICAgIHZhciBkZXNjID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIGRlbGV0ZSBvYmoucHJvcDsKCiAgICAgICAgcmV0dXJuIHByb3BlcnR5RGVmaW5lQ29ycmVjdCAmJiBkZXNjLmNvbmZpZ3VyYWJsZSA9PT0gdHJ1ZSAmJiAhb2JqLmhhc093blByb3BlcnR5KCJwcm9wIik7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuRXhpc3RzKE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IpOwogICAgfQp9KTsK","id":"15.2.3.6-4-533"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTUzNCIsCgogICAgcGF0aDogIlRlc3RDYXN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ICAgICB2YXIgb2JqID0ge307CgogICAgICAgIHZhciBnZXRGdW5jID0gZnVuY3Rpb24gKCkgewogICAgICAgICAgICByZXR1cm4gMTAwMTsKICAgICAgICB9OwoKICAgICAgICB2YXIgdmVyaWZ5U2V0RnVuYyA9ICJkYXRhIjsKICAgICAgICB2YXIgc2V0RnVuYyA9IGZ1bmN0aW9uICh2YWx1ZSkgewogICAgICAgICAgICB2ZXJpZnlTZXRGdW5jID0gdmFsdWU7CiAgICAgICAgfTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIGdldDogZ2V0RnVuYywKICAgICAgICAgICAgc2V0OiBzZXRGdW5jLAogICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKCiAgICAgICAgdmFyIGRlc2MxID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICBzZXQ6IHVuZGVmaW5lZAogICAgICAgIH0pOwoKICAgICAgICB2YXIgZGVzYzIgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKG9iaiwgInByb3AiKTsKCiAgICAgICAgcmV0dXJuIGRlc2MxLnNldCA9PT0gc2V0RnVuYyAmJiB0eXBlb2YgZGVzYzIuc2V0ID09PSAidW5kZWZpbmVkIjsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkgJiYgZm5FeGlzdHMoT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcik7CiAgICB9Cn0pOwo=","id":"15.2.3.6-4-535"},{"code":"RVM1SG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3duUHJvcGVydHlEZXNjcmlwdG9yKG9iaiwgInByb3AiKTsKICAgICAgICBmb3IgKHZhciBwMSBpbiBvYmopIHsKICAgICAgICAgICAgaWYgKHAxID09PSAicHJvcCIpIHsKICAgICAgICAgICAgICAgIHJlc3VsdDEgPSB0cnVlOwogICAgICAgICAgICB9CiAgICAgICAgfQoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgZW51bWVyYWJsZTogZmFsc2UKICAgICAgICB9KTsKICAgICAgICB2YXIgcmVzdWx0MiA9IGZhbHNlOwogICAgICAgIHZhciBkZXNjMiA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwogICAgICAgIGZvciAodmFyIHAyIGluIG9iaikgewogICAgICAgICAgICBpZiAocDIgPT09ICJwcm9wIikgewogICAgICAgICAgICAgICAgcmVzdWx0MiA9IHRydWU7CiAgICAgICAgICAgIH0KICAgICAgICB9CgogICAgICAgIHJldHVybiByZXN1bHQxICYmICFyZXN1bHQyICYmIGRlc2MxLmVudW1lcmFibGUgPT09IHRydWUgJiYgZGVzYzIuZW51bWVyYWJsZSA9PT0gZmFsc2U7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuRXhpc3RzKE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IpOwogICAgfQp9KTsK","id":"15.2.3.6-4-536"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTUzNyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC01MzcuanMiLAoKICAgIGRlc2NyaXB0aW9uOiA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MgPSBmdW5jdGlvbiAodmFsdWUpIHsKICAgICAgICAgICAgdmVyaWZ5U2V0RnVuYyA9IHZhbHVlOwogICAgICAgIH07CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICBnZXQ6IGdldEZ1bmMsCiAgICAgICAgICAgIHNldDogc2V0RnVuYywKICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgfSk7CiAgICAgICAgdmFyIGRlc2MxID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICB2YWx1ZTogMTAwMQogICAgICAgIH0pOwogICAgICAgIHZhciBkZXNjMiA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwoKICAgICAgICByZXR1cm4gZGVzYzEuaGFzT3duUHJvcGVydHkoImdldCIpICYmIGRlc2MyLmhhc093blByb3BlcnR5KCJ2YWx1ZSIpOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmbkV4aXN0cyhPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-538"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTUzOSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC01MzkuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IE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gICB9CiAgICAgICAgdmFyIGRlc2MgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKG9iaiwgInByb3BlcnR5Iik7CiAgICAgICAgaWYgKHR5cGVvZiBkZXNjLnNldCAhPT0gInVuZGVmaW5lZCIpIHsKICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0KICAgICAgICBmb3IgKHZhciBwIGluIG9iaikgewogICAgICAgICAgICBpZiAocCA9PT0gInByb3BlcnR5IikgewogICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIGRlbGV0ZSBvYmoucHJvcGVydHk7CiAgICAgICAgaWYgKCFvYmouaGFzT3duUHJvcGVydHkoInByb3BlcnR5IikpIHsKICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0KCiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuRXhpc3RzKE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IpOwogICAgfQp9KTsK","id":"15.2.3.6-4-54"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTU0MC0xIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuNi8xNS4yLjMuNi00LTU0MC0xLmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5kZWZpbmVQcm9wZXJ0eSBmYWlscyB0byB1cGRhdGUgW1tHZXRdXSBhbmQgW1tTZXRdXSBhdHRyaWJ1dGVzIG9mIGEgbmFtZWQgYWNjZXNzb3IgcHJvcGVydHkgJ1AnIHdob3NlIFtbQ29uZmlndXJhYmxlXV0gYXR0cmlidXRlIGlzIGZhbHNlIGFuZCB0aHJvd3MgVHlwZUVycm9yIGV4Y2VwdGlvbiwgJ08nIGlzIGFuIE9iamVjdCBvYmplY3QgKDguMTIuOSBzdGVwIDExLmEpIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgb2JqID0ge307CgogICAgICAgIG9iai52ZXJpZnlTZXRGdW5jdGlvbiA9ICJkYXRhIjsKICAgICAgICB2YXIgZ2V0RnVuYyA9IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgcmV0dXJuIG9iai52ZXJpZnlTZXRGdW5jdGlvbjsKICAgICAgICB9OwogICAgICAgIHZhciBzZXRGdW5jID0gZnVuY3Rpb24gKHZhbHVlKSB7CiAgICAgICAgICAgIG9iai52ZXJpZnlTZXRGdW5jdGlvbiA9IHZhbHVlOwogICAgICAgIH07CiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3BlcnR5IiwgewogICAgICAgICAgICBnZXQ6IGdldEZ1bmMsCiAgICAgICAgICAgIHNldDogc2V0RnVuYywKICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgIH0pOwoKICAgICAgICB2YXIgcmVzdWx0ID0gZmFsc2U7CiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3BlcnR5IiwgewogICAgICAgICAgICAgICAgZ2V0OiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIDEwMDsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfSk7CiAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICByZXN1bHQgPSBlIGluc3RhbmNlb2YgVHlwZUVycm9yICYmCiAgICAgICAgICAgICAgICBhY2Nlc3NvclByb3BlcnR5QXR0cmlidXRlc0FyZUNvcnJlY3Qob2JqLCAicH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GRhdGUgW1tHZXRdXSBhbmQgW1tTZXRdXSBhdHRyaWJ1dGVzIG9mIGEgbmFtZWQgYWNjZXNzb3IgcHJvcGVydHkgJ1AnIHdob3NlIFtbQ29uZmlndXJhYmxlXV0gYXR0cmlidXRlIGlzIGZhbHNlLCAnTycgaXMgYW4gQXJndW1lbnRzIG9iamVjdCAoOC4xMi45IHN0ZXAgMTEuYSkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBvYmogPSAoZnVuY3Rpb24gKCkgewogICAgICAgICAgICByZXR1cm4gYXJndW1lbnRzOwogICAgICAgIH0oKSk7CgogICAgICAgIG9iai52ZXJpZnlTZXRGdW5jdGlvbiA9ICJkYXRhIjsKICAgICAgICB2YXIgZ2V0RnVuYyA9IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgcmV0dXJuIG9iai52ZXJpZnlTZXRGdW5jdGlvbjsKICAgICAgICB9OwogICAgICAgIHZhciBzZXRGdW5jID0gZnVuY3Rpb24gKHZhbHVlKSB7CiAgICAgICAgICAgIG9iai52ZXJpZnlTZXRGdW5jdGlvbiA9IHZhbHVlOwogICAgICAgIH07CiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3BlcnR5IiwgewogICAgICAgICAgICBnZXQ6IGdldEZ1bmMsCiAgICAgICAgICAgIHNldDogc2V0RnVuYywKICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgIH0pOwoKICAgICAgICB2YXIgcmVzdWx0ID0gZmFsc2U7CiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3BlcnR5IiwgewogICAgICAgICAgICAgICAgZ2V0OiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIDEwMDsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfSk7CiAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICByZXN1bHQgPSBlIGluc3RhbmNlb2YgVHlwZUVycm9yICYmCiAgICAgICAgICAgICAgICBhY2Nlc3NvclByb3BlcnR5QXR0cmlidXRlc0FyZUNvcnJlY3Qob2JqLCAicHJvcGVydHkiLCBnZXRGdW5jLCBzZXRGdW5jLCAidmVyaWZ5U2V0RnVuY3Rpb24iLCBmYWxzZSwgZmFsc2UpOwogICAgICAgIH0KCiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3BlcnR5IiwgewogICAgICAgICAgICAgICAgc2V0OiBmdW5jdGlvbiAodmFsdWUpIHsKICAgICAgICAgICAgICAgICAgICBvYmoudmVyaWZ5U2V0RnVuY3Rpb24xID0gdmFsdWU7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0pOwogICAgICAgIH0gY2F0Y2ggKGUxKSB7CiAgICAgICAgICAgIHJldHVybiByZXN1bHQgJiYgZTEgaW5zdGFuY2VvZiBUeXBlRXJyb3IgJiYKICAgICAgICAgICAgICAgIGFjY2Vzc29yUHJvcGVydHlBdHRyaWJ1dGVzQXJlQ29ycmVjdChvYmosICJwcm9wZXJ0eSIsIGdldEZ1bmMsIHNldEZ1bmMsICJ2ZXJpZnlTZXRGdW5jdGlvbiIsIGZhbHNlLCBmYWxzZSk7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmbkV4aXN0cyhPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKTsKICAgIH0KfSk7","id":"15.2.3.6-4-540-3"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTU0MC02IiwKCiAgICBwYXRoOiAiVGVzdENhc2Vz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ICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICAgICAgZ2V0OiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIDEwMDsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfSk7CiAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICByZXN1bHQgPSBlIGluc3RhbmNlb2YgVHlwZUVycm9yICYmCiAgICAgICAgICAgICAgICBhY2Nlc3NvclByb3BlcnR5QXR0cmlidXRlc0FyZUNvcnJlY3Qob2JqLCAicHJvcCIsIGdldEZ1bmMsIHNldEZ1bmMsICJ2ZXJpZnlTZXRGdW5jdGlvbiIsIGZhbHNlLCBmYWxzZSk7CiAgICAgICAgfQoKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgICAgIHNldDogZnVuY3Rpb24gKHZhbHVlKSB7CiAgICAgICAgICAgICAgICAgICAgb2JqLnZlcmlmeVNldEZ1bmN0aW9uMSA9IHZhbHVlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9KTsKICAgICAgICB9IGNhdGNoIChlMSkgewogICAgICAgICAgICByZXR1cm4gcmVzdWx0ICYmIGUxIGluc3RhbmNlb2YgVHlwZUVycm9yICYmCiAgICAgICAgICAgICAgICBhY2Nlc3NvclByb3BlcnR5QXR0cmlidXRlc0FyZUNvcnJlY3Qob2JqLCAicHJvcCIsIGdldEZ1bmMsIHNldEZ1bmMsICJ2ZXJpZnlTZXRGdW5jdGlvbiIsIGZhbHNlLCBmYWxzZSk7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmbkV4aXN0cyhPYmplY3QuZ2V0T3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AgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgfSk7CgogICAgICAgIHZhciByZXN1bHQgPSBmYWxzZTsKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAiMCIsIHsKICAgICAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgICAgIHJldHVybiAxMDA7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0pOwogICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgcmVzdWx0ID0gZSBpbnN0YW5jZW9mIFR5cGVFcnJvciAmJgogICAgICAgICAgICAgICAgYWNjZXNzb3JQcm9wZXJ0eUF0dHJpYnV0ZXNBcmVDb3JyZWN0KG9iaiwgIjAiLCBnZXRGdW5jLCBzZXRGdW5jLCAidmVyaWZ5U2V0RnVuY3Rpb24iLCBmYWxzZSwgZmFsc2UpOwogICAgICAgIH0KCiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgIjAiLCB7CiAgICAgICAgICAgICAgICBzZXQ6IGZ1bmN0aW9uICh2YWx1ZSkgewogICAgICAgICAgICAgICAgICAgIG9iai52ZXJpZnlTZXRGdW5jdGlvbjEgPSB2YWx1ZTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfSk7CiAgICAgICAgfSBjYXRjaCAoZTEpIHsKICAgICAgICAgICAgcmV0dXJuIHJlc3VsdCAmJiBlMSBpbnN0YW5jZW9mIFR5cGVFcnJvciAmJgogICAgICAgICAgICAgICAgYWNjZXNzb3JQcm9wZXJ0eUF0dHJpYnV0ZXNBcmVDb3JyZWN0KG9iaiwgIjAiLCBnZXRGdW5jLCBzZXRGdW5jLCAidmVyaWZ5U2V0RnVuY3Rpb24iLCBmYWxzZSwgZmFsc2UpOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdG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hciBvYmogPSB7fTsKCiAgICAgICAgdmFyIGdldEZ1bmMgPSBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgIHJldHVybiAxMDAxOwogICAgICAgIH07CgogICAgICAgIHZhciB2ZXJpZnlTZXRGdW5jID0gImRhdGEiOwogICAgICAgIHZhciBzZXRGdW5jID0gZnVuY3Rpb24gKHZhbHVlKSB7CiAgICAgICAgICAgIHZlcmlmeVNldEZ1bmMgPSB2YWx1ZTsKICAgICAgICB9OwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgZ2V0OiBnZXRGdW5jLAogICAgICAgICAgICBzZXQ6IHNldEZ1bmMsCiAgICAgICAgICAgIGVudW1lcmFibGU6IHRydWUsCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICB9KTsKCiAgICAgICAgdmFyIHByb3BlcnR5RGVmaW5lQ29ycmVjdCA9IG9iai5oYXNPd25Qcm9wZXJ0eSgicHJvcCIpOwogICAgICAgIHZhciBkZXNjID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIGZvciAodmFyIHAgaW4gb2JqKSB7CiAgICAgICAgICAgIGlmIChwID09PSAicHJvcCIpIHsKICAgICAgICAgICAgICAgIHJldHVybiBwcm9wZXJ0eURlZmluZUNvcnJlY3QgJiYgZGVzYy5lbnVtZXJhYmxlID09PSB0cnVlOwogICAgICAgICAgICB9CiAgICAgICAgfQoKICAgICAgICByZXR1cm4gZmFsc2U7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuRXhpc3RzKE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IpOwogICAgfQp9KTs=","id":"15.2.3.6-4-541"},{"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ldEZ1bmMgPSBmdW5jdGlvbiAodmFsdWUpIHsKICAgICAgICAgICAgdmVyaWZ5U2V0RnVuYyA9IHZhbHVlOwogICAgICAgIH07CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICBnZXQ6IGdldEZ1bmMsCiAgICAgICAgICAgIHNldDogc2V0RnVuYywKICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgIH0pOwoKICAgICAgICB2YXIgcmVzdWx0MSA9IG9iai5wcm9wID09PSAxMDAxOwogICAgICAgIHZhciBkZXNjMSA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgICAgIGdldDogdW5kZWZpbmVkCiAgICAgICAgICAgIH0pOwoKICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgdmFyIHJlc3VsdDIgPSBvYmoucHJvcCA9PT0gMTAwMTsKICAgICAgICAgICAgdmFyIGRlc2MyID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgICAgICByZXR1cm4gcmVzdWx0MSAmJiByZXN1bHQyICYmIGRlc2MxLmdldCA9PT0gZ2V0RnVuYyAmJiBkZXNjMi5nZXQgPT09IGdldEZ1bmMgJiYgZSBpbnN0YW5jZW9mIFR5cGVFcnJvcjsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuRXhpc3RzK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Z1bmN0aW9uLCBbW0VudW1lcmFibGVdXSBpcyB0cnVlLCBbW0NvbmZpZ3VyYWJsZV1dIGlzIGZhbHNlKSB0byBkaWZmZXJlbnQgdmFsdWUiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBvYmogPSB7fTsKCiAgICAgICAgdmFyIGdldEZ1bmMgPSBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgIHJldHVybiAxMDAxOwogICAgICAgIH07CgogICAgICAgIHZhciB2ZXJpZnlTZXRGdW5jID0gImRhdGEiOwogICAgICAgIHZhciBzZXRGdW5jID0gZnVuY3Rpb24gKHZhbHVlKSB7CiAgICAgICAgICAgIHZlcmlmeVNldEZ1bmMgPSB2YWx1ZTsKICAgICAgICB9OwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgZ2V0OiBnZXRGdW5jLAogICAgICAgICAgICBzZXQ6IHNldEZ1bmMsCiAgICAgICAgICAgIGVudW1lcmFibGU6IHRydWUsCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICB9KTsKICAgICAgICB2YXIgcmVzdWx0MSA9IGZhbHNlOwogICAgICAgIHZhciBkZXNjMSA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwogICAgICAgIGZvciAodmFyIHAxIGluIG9iaikgewogICAgICAgICAgICBpZiAocDEgPT09ICJwcm9wIikgewogICAgICAgICAgICAgICAgcmVzdWx0MSA9IHRydWU7CiAgICAgICAgICAgIH0KICAgICAgICB9CgogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICAgICAgZW51bWVyYWJsZTogZmFsc2UKICAgICAgICAgICAgfSk7CgogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiA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rpb24sIFtbRW51bWVyYWJsZV1dIGlzIHRydWUsIFtbQ29uZmlndXJhYmxlXV0gaXMgZmFsc2UpIHRvIGRpZmZlcmVudCB2YWx1ZSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIG9iaiA9IHt9OwoKICAgICAgICB2YXIgZ2V0RnVuYyA9IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgcmV0dXJuIDEwMDE7CiAgICAgICAgfTsKCiAgICAgICAgdmFyIHZlcmlmeVNldEZ1bmMgPSAiZGF0YSI7CiAgICAgICAgdmFyIHNldEZ1bmMgPSBmdW5jdGlvbiAodmFsdWUpIHsKICAgICAgICAgICAgdmVyaWZ5U2V0RnVuYyA9IHZhbHVlOwogICAgICAgIH07CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICBnZXQ6IGdldEZ1bmMsCiAgICAgICAgICAgIHNldDogc2V0RnVuYywKICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgIH0pOwogICAgICAgIHZhciBkZXNjMSA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICB9KTsKCiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgIHZhciBkZXNjMiA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwogICAgICAgICAgICBkZWxldGUgb2JqLnByb3A7CgogICAgICAgICAgICByZXR1cm4gZGVz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AgICAgIHZlcmlmeVNldEZ1bmMgPSB2YWx1ZTsKICAgICAgICB9OwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgZ2V0OiBnZXRGdW5jLAogICAgICAgICAgICBzZXQ6IHNldEZ1bmMsCiAgICAgICAgICAgIGVudW1lcmFibGU6IHRydWUsCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICB9KTsKICAgICAgICB2YXIgZGVzYzEgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKG9iaiwgInByb3AiKTsKCiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgICAgICB2YWx1ZTogMTAwMQogICAgICAgICAgICB9KTsKCiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgIHZhciBkZXNjMiA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwoKICAgICAgICAgICAgcmV0dXJuIGRlc2MxLmhhc093blByb3BlcnR5KCJnZXQiKSAmJiAhZGVzYzIuaGFzT3duUHJvcGVydHkoInZhbHVlIikgJiYgZSBpbnN0YW5jZW9mIFR5cGVFcnJvcjsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuRXhpc3RzKE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IpOwogICAgfQp9KTsK","id":"15.2.3.6-4-547"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTU0OCIsCgogICAgcGF0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yA9IHZhbHVlOwogICAgICAgIH07CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICBnZXQ6IGdldEZ1bmMsCiAgICAgICAgICAgIHNldDogc2V0RnVuYywKICAgICAgICAgICAgZW51bWVyYWJsZTogZmFsc2UsCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgIH0pOwoKICAgICAgICBvYmoucHJvcCA9ICJvdmVycmlkZURhdGEiOwogICAgICAgIHZhciBwcm9wZXJ0eURlZmluZUNvcnJlY3QgPSBvYmouaGFzT3duUHJvcGVydHkoInByb3AiKTsKICAgICAgICB2YXIgZGVzYyA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwoKICAgICAgICByZXR1cm4gcHJvcGVydHlEZWZpbmVDb3JyZWN0ICYmIGRlc2Muc2V0ID09PSBzZXRGdW5jICYmIHZlcmlmeVNldEZ1bmMgPT09ICJvdmVycmlkZURhdGEiOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmbkV4aXN0cyhPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKTsKICAgIH0KfSk7","id":"15.2.3.6-4-549"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTU1IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuNi8xNS4yLjMuNi00LTU1LmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5kZWZpbmVQcm9wZXJ0eSAtICduYW1lJyBwcm9wZXJ0eSBkb2Vzbid0IGV4aXN0IGluICdPJywgdGVzdCBbW0VudW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ICAgICAgICAgICAgdmVyaWZ5U2V0RnVuYyA9IHZhbHVlOwogICAgICAgIH07CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICBnZXQ6IGdldEZ1bmMsCiAgICAgICAgICAgIHNldDogc2V0RnVuYywKICAgICAgICAgICAgZW51bWVyYWJsZTogZmFsc2UsCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgIH0pOwoKICAgICAgICB2YXIgZGVzYzEgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKG9iaiwgInByb3AiKTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIHNldDogdW5kZWZpbmVkCiAgICAgICAgfSk7CgogICAgICAgIHZhciBkZXNjMiA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwoKICAgICAgICByZXR1cm4gZGVzYzEuc2V0ID09PSBzZXRGdW5jICYmIHR5cGVvZiBkZXNjMi5zZXQgPT09ICJ1bmRlZmluZWQiOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmbkV4aXN0cyhPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-553"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTU1NCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC01NTQuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBzdWNjZXNzIHRvIHVwZGF0ZSBbW0VudW1lcmFibGVdXSBhdHRyaWJ1dGUgb2YgYWNjZXNzb3IgcHJvcGVydHkgKFtbR2V0XV0gaXMgYSBGdW5jdGlvbiwgW1tTZXRdXSBpcyBhIEZ1bmN0aW9uLCBbW0VudW1lcmFibGVdXSBpcyBmYWxzZSwgW1tDb25maWd1cmFibGVdXSBpcyB0cnVlKSB0byBkaWZmZXJlbnQgdmFsdWUiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBvYmogPSB7fTsKCiAgICAgICAgdmFyIGdldEZ1bmMgPSBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgIHJldHVybiAxMDAxOwogICAgICAgIH07CgogICAgICAgIHZhciB2ZXJpZnlTZXRGdW5jID0gImRhdGEiOwogICAgICAgIHZhciBzZXRGdW5jID0gZnVuY3Rpb24gKHZhbHVlKSB7CiAgICAgICAgICAgIHZlcmlmeVNldEZ1bmMgPSB2YWx1ZTsKICAgICAgICB9OwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgZ2V0OiBnZXRGdW5jLAogICAgICAgICAgICBzZXQ6IHNldEZ1bmMsCiAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKCiAgICAgICAgdmFyIHJlc3VsdDEgPSBmYWxzZTsKICAgICAgICB2YXIgZGVzYzEgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKG9iaiwgInByb3AiKTsKICAgICAgICBmb3IgKHZhciBwMSBpbiBvYmopIHsKICAgICAgICAgICAgaWYgKHAxID09PSAicHJvcCIpIHsKICAgICAgICAgICAgICAgIHJlc3VsdDEgPSB0cnVlOwogICAgICAgICAgICB9CiAgICAgICAgfQoKICAgICAgICBPYmplY3QuZGVmaW5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51bWVyYWJsZV1dIGlzIGZhbHNlLCBbW0NvbmZpZ3VyYWJsZV1dIGlzIHRydWUpIHRvIGRpZmZlcmVudCB2YWx1ZSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIG9iaiA9IHt9OwoKICAgICAgICB2YXIgZ2V0RnVuYyA9IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgcmV0dXJuIDEwMDE7CiAgICAgICAgfTsKCiAgICAgICAgdmFyIHZlcmlmeVNldEZ1bmMgPSAiZGF0YSI7CiAgICAgICAgdmFyIHNldEZ1bmMgPSBmdW5jdGlvbiAodmFsdWUpIHsKICAgICAgICAgICAgdmVyaWZ5U2V0RnVuYyA9IHZhbHVlOwogICAgICAgIH07CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICBnZXQ6IGdldEZ1bmMsCiAgICAgICAgICAgIHNldDogc2V0RnVuYywKICAgICAgICAgICAgZW51bWVyYWJsZTogZmFsc2UsCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgIH0pOwoKICAgICAgICB2YXIgZGVzYzEgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKG9iaiwgInByb3AiKTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICB9KTsKICAgICAgICB2YXIgZGVzYzIgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKG9iaiwgInByb3AiKTsKICAgICAgICBkZWxldGUgb2JqLnByb3A7CgogICAgICAgIHJldHVybiBkZXNjMS5jb25maWd1cmFibGUgPT09IHRydWUgJiYgZGVzYzIuY29uZmlndXJhYmxlID09PSBmYWxzZSAmJiBvYmouaGFzT3duUHJvcGVydHkoInByb3AiK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3VyYWJsZV1dIGlzIGZhbHNlKSBpcyB0aGUgZXhwZWN0ZWQgZnVuY3Rpb24iLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBvYmogPSB7fTsKCiAgICAgICAgdmFyIGdldEZ1bmMgPSBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgIHJldHVybiAxMDAxOwogICAgICAgIH07CgogICAgICAgIHZhciB2ZXJpZnlTZXRGdW5jID0gImRhdGEiOwogICAgICAgIHZhciBzZXRGdW5jID0gZnVuY3Rpb24gKHZhbHVlKSB7CiAgICAgICAgICAgIHZlcmlmeVNldEZ1bmMgPSB2YWx1ZTsKICAgICAgICB9OwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgZ2V0OiBnZXRGdW5jLAogICAgICAgICAgICBzZXQ6IHNldEZ1bmMsCiAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgfSk7CgogICAgICAgIHZhciBwcm9wZXJ0eURlZmluZUNvcnJlY3QgPSBvYmouaGFzT3duUHJvcGVydHkoInByb3AiKTsKICAgICAgICB2YXIgZGVzYyA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwoKICAgICAgICByZXR1cm4gcHJvcGVydHlEZWZpbmVDb3JyZWN0ICYmIGRlc2MuZ2V0ID09PSBnZXRGdW5jICYmIG9iai5wcm9wID09PSAxMDAxOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmbkV4aXN0cyhPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKTsKICAgIH0KfSk7Cg==","id":"15.2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AgICAgIHZhciBzZXRGdW5jID0gZnVuY3Rpb24gKHZhbHVlKSB7CiAgICAgICAgICAgIHZlcmlmeVNldEZ1bmMgPSB2YWx1ZTsKICAgICAgICB9OwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgZ2V0OiBnZXRGdW5jLAogICAgICAgICAgICBzZXQ6IHNldEZ1bmMsCiAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgfSk7CgogICAgICAgIHZhciBwcm9wZXJ0eURlZmluZUNvcnJlY3QgPSBvYmouaGFzT3duUHJvcGVydHkoInByb3AiKTsKICAgICAgICB2YXIgZGVzYyA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwoKICAgICAgICBmb3IgKHZhciBwIGluIG9iaikgewogICAgICAgICAgICBpZiAocCA9PT0gInByb3AiKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgIH0KICAgICAgICB9CgogICAgICAgIHJldHVybiBwcm9wZXJ0eURlZmluZUNvcnJlY3QgJiYgZGVzYy5lbnVtZXJhYmxlID09PSBmYWxzZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkgJiYgZm5FeGlzdHMoT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcik7CiAgICB9Cn0pOw==","id":"15.2.3.6-4-559"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTU2IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuNi8xNS4yL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dW5jID0gZnVuY3Rpb24gKHZhbHVlKSB7CiAgICAgICAgICAgIHZlcmlmeVNldEZ1bmMgPSB2YWx1ZTsKICAgICAgICB9OwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgZ2V0OiBnZXRGdW5jLAogICAgICAgICAgICBzZXQ6IHNldEZ1bmMsCiAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgfSk7CgogICAgICAgIHZhciByZXN1bHQxID0gb2JqLnByb3AgPT09IDEwMDE7CiAgICAgICAgdmFyIGRlc2MxID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICAgICAgZ2V0OiB1bmRlZmluZWQKICAgICAgICAgICAgfSk7CgogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICB2YXIgcmVzdWx0MiA9IG9iai5wcm9wID09PSAxMDAxOwogICAgICAgICAgICB2YXIgZGVzYzIgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKG9iaiwgInByb3AiKTsKCiAgICAgICAgICAgIHJldHVybiByZXN1bHQxICYmIHJlc3VsdDIgJiYgZGVzYzEuZ2V0ID09PSBnZXRGdW5jICYmIGRlc2MyLmdldCA9PT0gZ2V0RnVuYyAmJiBlIGluc3RhbmNlb2YgVHlwZUVycm9yOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkgJiYgZm5FeGlzdHM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aW9uLCBbW0VudW1lcmFibGVdXSBpcyBmYWxzZSwgW1tDb25maWd1cmFibGVdXSBpcyBmYWxzZSkgdG8gZGlmZmVyZW50IHZhbHVlIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgb2JqID0ge307CgogICAgICAgIHZhciBnZXRGdW5jID0gZnVuY3Rpb24gKCkgewogICAgICAgICAgICByZXR1cm4gMTAwMTsKICAgICAgICB9OwoKICAgICAgICB2YXIgdmVyaWZ5U2V0RnVuYyA9ICJkYXRhIjsKICAgICAgICB2YXIgc2V0RnVuYyA9IGZ1bmN0aW9uICh2YWx1ZSkgewogICAgICAgICAgICB2ZXJpZnlTZXRGdW5jID0gdmFsdWU7CiAgICAgICAgfTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIGdldDogZ2V0RnVuYywKICAgICAgICAgICAgc2V0OiBzZXRGdW5jLAogICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgIH0pOwogICAgICAgIHZhciByZXN1bHQxID0gZmFsc2U7CiAgICAgICAgdmFyIGRlc2MxID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CiAgICAgICAgZm9yICh2YXIgcDEgaW4gb2JqKSB7CiAgICAgICAgICAgIGlmIChwMSA9PT0gInByb3AiKSB7CiAgICAgICAgICAgICAgICByZXN1bHQxID0gdHJ1ZTsKICAgICAgICAgICAgfQogICAgICAgIH0KCiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwoKICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAg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tbRW51bWVyYWJsZV1dIGlzIGZhbHNlLCBbW0NvbmZpZ3VyYWJsZV1dIGlzIGZhbHNlKSB0byBkaWZmZXJlbnQgdmFsdWUiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBvYmogPSB7fTsKCiAgICAgICAgdmFyIGdldEZ1bmMgPSBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgIHJldHVybiAxMDAxOwogICAgICAgIH07CgogICAgICAgIHZhciB2ZXJpZnlTZXRGdW5jID0gImRhdGEiOwogICAgICAgIHZhciBzZXRGdW5jID0gZnVuY3Rpb24gKHZhbHVlKSB7CiAgICAgICAgICAgIHZlcmlmeVNldEZ1bmMgPSB2YWx1ZTsKICAgICAgICB9OwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgZ2V0OiBnZXRGdW5jLAogICAgICAgICAgICBzZXQ6IHNldEZ1bmMsCiAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgfSk7CiAgICAgICAgdmFyIGRlc2MxID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwoKICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgdmFyIGRlc2MyID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CiAgICAgICAgICAgIGRlbGV0ZSBvYmoucHJvcDsKCiAgICAgICAgICAgIHJldHVybiBkZXNjMS5jb25maWd1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pZnlTZXRGdW5jID0gdmFsdWU7CiAgICAgICAgfTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIGdldDogZ2V0RnVuYywKICAgICAgICAgICAgc2V0OiBzZXRGdW5jLAogICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgIH0pOwogICAgICAgIHZhciBkZXNjMSA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgICAgIHZhbHVlOiAxMDAxCiAgICAgICAgICAgIH0pOwoKICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgdmFyIGRlc2MyID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgICAgICByZXR1cm4gZGVzYzEuaGFzT3duUHJvcGVydHkoImdldCIpICYmICFkZXNjMi5oYXNPd25Qcm9wZXJ0eSgidmFsdWUiKSAmJiBlIGluc3RhbmNlb2YgVHlwZUVycm9yOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkgJiYgZm5FeGlzdHMoT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcik7CiAgICB9Cn0pOwo=","id":"15.2.3.6-4-565"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTU2NiIsCgogICAgcGF0aDogIlRlc3RDYXN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MTUuMi4zLjYvMTUuMi4zLjYtNC01NzguanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBbW0dldF1dIGZpZWxkIG9mIGluaGVyaXRlZCBwcm9wZXJ0eSBvZiBbW1Byb3RvdHlwZV1dIGludGVybmFsIHByb3BlcnR5IGlzIGNvcnJlY3QgKFN0cmluZyBpbnN0YW5jZSkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBkYXRhID0gImRhdGEiOwogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShTdHJpbmcucHJvdG90eXBlLCAicHJvcCIsIHsKICAgICAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgICAgIHJldHVybiBkYXRhOwogICAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICAgIHNldDogZnVuY3Rpb24gKHZhbHVlKSB7CiAgICAgICAgICAgICAgICAgICAgZGF0YSA9IHZhbHVlOwogICAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICAgIGVudW1lcmFibGU6IHRydWUsCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIHZhciBzdHJPYmogPSBuZXcgU3RyaW5nKCk7CgogICAgICAgICAgICByZXR1cm4gIXN0ck9iai5oYXNPd25Qcm9wZXJ0eSgicHJvcCIpICYmIHN0ck9iai5wcm9wID09PSAiZGF0YSI7CiAgICAgICAgfSBmaW5hbGx5IHsKICAgICAgICAgICAgZGVsZXRlIFN0cmluZy5wcm90b3R5cGUucHJvcDsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsKCg==","id":"15.2.3.6-4-578"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTU3OSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC01NzkuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBTdWNjZXNzIHRvIGFkZCBwcm9wZXJ0eSBpbnRvIG9iamVjdCAoQXJyYXkgaW5zdGFuY2UpIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgZGF0YSA9ICJkYXRhIjsKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoQXJyYXkucHJvdG90eXBlLCAicHJvcCIsIHsKICAgICAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgICAgIHJldHVybiBkYXRhOwogICAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICAgIHNldDogZnVuY3Rpb24gKHZhbHVlKSB7CiAgICAgICAgICAgICAgICAgICAgZGF0YSA9IHZhbHVlOwogICAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICAgIGVudW1lcmFibGU6IHRydWUsCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIHZhciBhcnJPYmogPSBuZXcgQXJyYXkoKTsKICAgICAgICAgICAgYXJyT2JqLnByb3AgPSAibXlPd25Qcm9wZXJ0eSI7CgogICAgICAgICAgICByZXR1cm4gIWFyck9iai5oYXNPd25Qcm9wZXJ0eSgicHJvcCIpICYmIGFyck9iai5wcm9wID09PSAibXlPd25Qcm9wZXJ0eSIgJiYgZGF0YSA9PT0gIm15T3duUHJvcGVydHkiOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIGR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":"15.2.3.6-4-58"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTU4MCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC01ODAuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBJbmhlcml0ZWQgcHJvcGVydHkgaXMgZW51bWVyYWJsZSAoQm9vbGVhbiBpbnN0YW5jZSkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBkYXRhID0gImRhdGEiOwogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShCb29sZWFuLnByb3RvdHlwZSwgInByb3AiLCB7CiAgICAgICAgICAgICAgICBnZXQ6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgICAgICByZXR1cm4gZGF0YTsKICAgICAgICAgICAgICAgIH0sCiAgICAgICAgICAgICAgICBzZXQ6IGZ1bmN0aW9uICh2YWx1ZSkgewogICAgICAgICAgICAgICAgICAgIGRhdGEgPSB2YWx1ZTsKICAgICAgICAgICAgICAgIH0sCiAgICAgICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICB2YXIgYm9vbE9iaiA9IG5ldyBCb29sZWFuKCk7CiAgICAgICAgICAgIHZhciB2ZXJpZnlFbnVtZXJhYmxlID0gZmFsc2U7CiAgICAgICAgICAgIGZvciAodmFyIHAgaW4gYm9vbE9iaikgewogICAgICAgICAgICAgICAgaWYocCA9PT0gInByb3AiKSB7CiAgICAgICAgICAgICAgICAgICAgdmVyaWZ5RW51bWVyYWJsZSA9IHRydWU7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KCiAgICAgICAgICAgIHJldHVybiAhYm9vbE9iai5oYXNPd25Qcm9wZXJ0eSgicHJvcCIpICYmIHZlcmlmeUVudW1lcmFibGU7CiAgICAgICAgfSBmaW5hbGx5IHsKICAgICAgICAgICAgZGVsZXRlIEJvb2xlYW4ucHJvdG90eXBlLnByb3A7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cgo=","id":"15.2.3.6-4-580"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTU4MSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC01ODEuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBGYWlsIHRvIGFkZCBwcm9wZXJ0eSBpbnRvIG9iamVjdCAoTnVtYmVyIGluc3RhbmNlKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIGRhdGEgPSAiZGF0YSI7CiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KE51bWJlci5wcm90b3R5cGUsICJwcm9wIiwgewogICAgICAgICAgICAgICAgZ2V0OiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGRhdGE7CiAgICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICAgZW51bWVyYWJsZTogZmFsc2UsCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIHZhciBudW1PYmogPSBuZXcgTnVtYmVyKCk7CiAgICAgICAgICAgIG51bU9iai5wcm9wID0gIm15T3duUHJvcGVydHkiOwoKICAgICAgICAgICAgcmV0dXJuICFudW1PYmouaGFzT3duUHJvcGVydHkoInByb3AiKSAmJiBudW1PYmoucHJvcCA9PT0gImRhdGEiICYmIGRhdGEgPT09ICJkYXRhIjsKICAgICAgICB9IGZpbmFsbHkgewogICAgICAgICAgICBkZWxldGUgTnVtYmVyLnByb3RvdHlwZS5wcm9wOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSk7CiAgICB9Cn0pOwoK","id":"15.2.3.6-4-581"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTU4MiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC01ODIuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBJbmhlcml0ZWQgcHJvcGVydHkgaXMgbm9uLWVudW1lcmFibGUgKEZ1bmN0aW9uIGluc3RhbmNlKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIGRhdGEgPSAiZGF0YSI7CiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KEZ1bmN0aW9uLnByb3RvdHlwZSwgInByb3AiLCB7CiAgICAgICAgICAgICAgICBnZXQ6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgICAgICByZXR1cm4gZGF0YTsKICAgICAgICAgICAgICAgIH0sCiAgICAgICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZSwKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICB9KTsKICAgICAgICAgICAgdmFyIGZ1bk9iaiA9IGZ1bmN0aW9uICgpIHsgfTsKICAgICAgICAgICAgdmFyIHZlcmlmeUVudW1lcmFibGUgPSBmYWxzZTsKICAgICAgICAgICAgZm9yICh2YXIgcCBpbiBmdW5PYmopIHsKICAgICAgICAgICAgICAgIGlmIChwID09PSAicHJvcCIpIHsKICAgICAgICAgICAgICAgICAgICB2ZXJpZnlFbnVtZXJhYmxlID0gdHJ1ZTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQoKICAgICAgICAgICAgcmV0dXJuICFmdW5PYmouaGFzT3duUHJvcGVydHkoInByb3AiKSAmJiAhdmVyaWZ5RW51bWVyYWJsZTsKICAgICAgICB9IGZpbmFsbHkgewogICAgICAgICAgICBkZWxldGUgRnVuY3Rpb24ucHJvdG90eXBlLnByb3A7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cgo=","id":"15.2.3.6-4-582"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTU4MyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC01ODMuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBbW0dldF1dIGZpZWxkIG9mIGluaGVyaXRlZCBwcm9wZXJ0eSBvZiBbW1Byb3RvdHlwZV1dIGludGVybmFsIHByb3BlcnR5IGlzIGNvcnJlY3QgKEVycm9yIEluc3RhbmNlKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIGRhdGEgPSAiZGF0YSI7CiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KEVycm9yLnByb3RvdHlwZSwgInByb3AiLCB7CiAgICAgICAgICAgICAgICBnZXQ6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgICAgICByZXR1cm4gZGF0YTsKICAgICAgICAgICAgICAgIH0sCiAgICAgICAgICAgICAgICBzZXQ6IGZ1bmN0aW9uICh2YWx1ZSkgewogICAgICAgICAgICAgICAgICAgIGRhdGEgPSB2YWx1ZTsKICAgICAgICAgICAgICAgIH0sCiAgICAgICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICB2YXIgZXJyT2JqID0gbmV3IEVycm9yKCk7CgogICAgICAgICAgICByZXR1cm4gIWVyck9iai5oYXNPd25Qcm9wZXJ0eSgicHJvcCIpICYmIGVyck9iai5wcm9wID09PSAiZGF0YSI7CiAgICAgICAgfSBmaW5hbGx5IHsKICAgICAgICAgICAgZGVsZXRlIEVycm9yLnByb3RvdHlwZS5wcm9wOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSk7CiAgICB9Cn0pOwoK","id":"15.2.3.6-4-583"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTU4NCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC01ODQuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBGYWlsZWQgdG8gYWRkIHByb3BlcnR5IGludG8gb2JqZWN0IChEYXRlIGluc3RhbmNlKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIGRhdGEgPSAiZGF0YSI7CiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KERhdGUucHJvdG90eXBlLCAicHJvcCIsIHsKICAgICAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgICAgIHJldHVybiBkYXRhOwogICAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICAgIHNldDogZnVuY3Rpb24gKHZhbHVlKSB7CiAgICAgICAgICAgICAgICAgICAgZGF0YSA9IHZhbHVlOwogICAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICAgIGVudW1lcmFibGU6IHRydWUsCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIHZhciBkYXRlT2JqID0gbmV3IERhdGUoKTsKICAgICAgICAgICAgZGF0ZU9iai5wcm9wID0gIm15T3duUHJvcGVydHkiOwoKICAgICAgICAgICAgcmV0dXJuICFkYXRlT2JqLmhhc093blByb3BlcnR5KCJwcm9wIikgJiYgZGF0ZU9iai5wcm9wID09PSAibXlPd25Qcm9wZXJ0eSIgJiYgZGF0YSA9PT0gIm15T3duUHJvcGVydHkiOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIGRlbGV0ZSBEYXRlLnByb3RvdHlwZS5wcm9wOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSk7CiAgICB9Cn0pOwoK","id":"15.2.3.6-4-584"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTU4NSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC01ODUuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBJbmhlcml0ZWQgcHJvcGVydHkgaXMgZW51bWVyYWJsZSAoUmVnRXhwIGluc3RhbmNlKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIGRhdGEgPSAiZGF0YSI7CiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KFJlZ0V4cC5wcm90b3R5cGUsICJwcm9wIiwgewogICAgICAgICAgICAgICAgZ2V0OiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGRhdGE7CiAgICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICAgc2V0OiBmdW5jdGlvbiAodmFsdWUpIHsKICAgICAgICAgICAgICAgICAgICBkYXRhID0gdmFsdWU7CiAgICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZSwKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICB9KTsKICAgICAgICAgICAgdmFyIHJlZ09iaiA9IG5ldyBSZWdFeHAoKTsKICAgICAgICAgICAgdmFyIHZlcmlmeUVudW1lcmFibGUgPSBmYWxzZTsKICAgICAgICAgICAgZm9yICh2YXIgcCBpbiByZWdPYmopIHsKICAgICAgICAgICAgICAgIGlmIChwID09PSAicHJvcCIpIHsKICAgICAgICAgICAgICAgICAgICB2ZXJpZnlFbnVtZXJhYmxlID0gdHJ1ZTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQoKICAgICAgICAgICAgcmV0dXJuICFyZWdPYmouaGFzT3duUHJvcGVydHkoInByb3AiKSAmJiB2ZXJpZnlFbnVtZXJhYmxlOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIGRlbGV0ZSBSZWdFeHAucHJvdG90eXBlLnByb3A7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cgo=","id":"15.2.3.6-4-585"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTU4NiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC01ODYuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBGYWlsIHRvIHVwZGF0ZSB2YWx1ZSBvZiBwcm9wZXJ0eSBpbnRvIG9mIFtbUHJvcHRvdHlwZV1dIGludGVybmFsIHByb3BlcnR5ICAoSlNPTikiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBkYXRhID0gImRhdGEiOwogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShPYmplY3QucHJvdG90eXBlLCAicHJvcCIsIHsKICAgICAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgICAgIHJldHVybiBkYXRhOwogICAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICBKU09OLnByb3AgPSAibXlPd25Qcm9wZXJ0eSI7CgogICAgICAgICAgICByZXR1cm4gIUpTT04uaGFzT3duUHJvcGVydHkoInByb3AiKSAmJiBKU09OLnByb3AgPT09ICJkYXRhIiAmJiBkYXRhID09PSAiZGF0YSI7CiAgICAgICAgfSBmaW5hbGx5IHsKICAgICAgICAgICAgZGVsZXRlIE9iamVjdC5wcm90b3R5cGUucHJvcDsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsKCg==","id":"15.2.3.6-4-586"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTU4NyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC01ODcuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBJbmhlcml0ZWQgcHJvcGVydHkgaXMgdW5lbnVtZXJhYmxlIChNYXRoKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIGRhdGEgPSAiZGF0YSI7CiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KE9iamVjdC5wcm90b3R5cGUsICJwcm9wIiwgewogICAgICAgICAgICAgICAgZ2V0OiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGRhdGE7CiAgICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICAgZW51bWVyYWJsZTogZmFsc2UsCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIHZhciB2ZXJpZnlFbnVtZXJhYmxlID0gZmFsc2U7CiAgICAgICAgICAgIGZvciAodmFyIHAgaW4gTWF0aCkgewogICAgICAgICAgICAgICAgaWYgKHAgPT09ICJwcm9wIikgewogICAgICAgICAgICAgICAgICAgIHZlcmlmeUVudW1lcmFibGUgPSB0cnVlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CgogICAgICAgICAgICByZXR1cm4gIU1hdGguaGFzT3duUHJvcGVydHkoInByb3AiKSAmJiAhdmVyaWZ5RW51bWVyYWJsZTsKICAgICAgICB9IGZpbmFsbHkgewogICAgICAgICAgICBkZWxldGUgT2JqZWN0LnByb3RvdHlwZS5wcm9wOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSk7CiAgICB9Cn0pOwoK","id":"15.2.3.6-4-587"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTU4OCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC01ODguanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBbW0dldF1dIGZpZWxkIG9mIGluaGVyaXRlZCBwcm9wZXJ0eSBvZiBbW1Byb3RvdHlwZV1dIGludGVybmFsIHByb3BlcnR5IGlzIGNvcnJlY3QgKE9iamVjdC5jcmVhdGUpIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgYXBwb2ludG1lbnQgPSB7fTsKCiAgICAgICAgdmFyIGRhdGExID0gMTAwMTsKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXBwb2ludG1lbnQsICJzdGFydFRpbWUiLCB7CiAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgcmV0dXJuIGRhdGExOwogICAgICAgICAgICB9LAogICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgfSk7CiAgICAgICAgdmFyIGRhdGEyID0gIk5BTUUiOwogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcHBvaW50bWVudCwgIm5hbWUiLCB7CiAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgcmV0dXJuIGRhdGEyOwogICAgICAgICAgICB9LAogICAgICAgICAgICBzZXQ6IGZ1bmN0aW9uICh2YWx1ZSkgewogICAgICAgICAgICAgICAgZGF0YTIgPSB2YWx1ZTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgfSk7CgogICAgICAgIHZhciBtZWV0aW5nID0gT2JqZWN0LmNyZWF0ZShhcHBvaW50bWVudCk7CiAgICAgICAgdmFyIGRhdGEzID0gIkluLXBlcnNvbiBtZWV0aW5nIjsKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkobWVldGluZywgImNvbmZlcmVuY2VDYWxsIiwgewogICAgICAgICAgICBnZXQ6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgIHJldHVybiBkYXRhMzsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgIH0pOwoKICAgICAgICB2YXIgdGVhbU1lZXRpbmcgPSBPYmplY3QuY3JlYXRlKG1lZXRpbmcpOwoKICAgICAgICB2YXIgaGFzT3duUHJvcGVydHkgPSAhdGVhbU1lZXRpbmcuaGFzT3duUHJvcGVydHkoIm5hbWUiKSAmJgogICAgICAgICAgICAhdGVhbU1lZXRpbmcuaGFzT3duUHJvcGVydHkoInN0YXJ0VGltZSIpICYmCiAgICAgICAgICAgICF0ZWFtTWVldGluZy5oYXNPd25Qcm9wZXJ0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ICAgICAgICAgICAgIGRhdGExID0gdmFsdWU7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGVudW1lcmFibGU6IHRydWUsCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgIH0pOwogICAgICAgIHZhciBkYXRhMiA9ICJOQU1FIjsKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXBwb2ludG1lbnQsICJuYW1lIiwgewogICAgICAgICAgICBnZXQ6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgIHJldHVybiBkYXRhMjsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgc2V0OiBmdW5jdGlvbiAodmFsdWUpIHsKICAgICAgICAgICAgICAgIGRhdGEyID0gdmFsdWU7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGVudW1lcmFibGU6IHRydWUsCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICB9KTsKCiAgICAgICAgdmFyIG1lZXRpbmcgPSBPYmplY3QuY3JlYXRlKGFwcG9pbnRtZW50KTsKICAgICAgICB2YXIgZGF0YTMgPSAiSW4tcGVyc29uIG1lZXRpbmciOwogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShtZWV0aW5nLCAiY29uZmVyZW5jZUNhbGwiLCB7CiAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgcmV0dXJuIGRhdGEzOwogICAgICAgICAgICB9LAogICAgICAgICAgICBzZXQ6IGZ1bmN0aW9uICh2YWx1ZSkgewogICAgICAgICAgICAgICAgZGF0YTMgPSB2YWx1ZTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgIH0pOwoKICAgICAgICB2YXIgdGVhbU1lZXRpbmcgPSBPYmplY3QuY3JlYXRlKG1lZXRpbmcpOwogICAgICAg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ZXMgLSBJbmhlcml0ZWQgcHJvcGVydHkgaXMgZW51bWVyYWJsZSAoT2JqZWN0LmNyZWF0ZSkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBhcHBvaW50bWVudCA9IHt9OwoKICAgICAgICB2YXIgZGF0YTEgPSAxMDAxOwogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcHBvaW50bWVudCwgInN0YXJ0VGltZSIsIHsKICAgICAgICAgICAgZ2V0OiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZGF0YTE7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIHNldDogZnVuY3Rpb24gKHZhbHVlKSB7CiAgICAgICAgICAgICAgICBkYXRhMSA9IHZhbHVlOwogICAgICAgICAgICB9LAogICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKICAgICAgICB2YXIgZGF0YTIgPSAiTkFNRSI7CiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFwcG9pbnRtZW50LCAibmFtZSIsIHsKICAgICAgICAgICAgZ2V0OiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZGF0YTI7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIHNldDogZnVuY3Rpb24gKHZhbHVlKSB7CiAgICAgICAgICAgICAgICBkYXRhMiA9IHZhbHVlOwogICAgICAgICAgICB9LAogICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgfSk7CgogICAgICAgIHZhciBtZWV0aW5nID0gT2JqZWN0LmNyZWF0ZShhcHBvaW50bWVudCk7CiAgICAgICAgdmFyIGRhdGEzID0gIkluLXBlcnNvbiBtZWV0aW5nIjsKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkobWVldGluZywgImNvbmZlcmVuY2VDYWxsIiwgewogICAgICAgICAgICBnZXQ6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgIHJldHVybiBkYXRhMzsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgc2V0OiBmdW5jdGlvbiAodmFsdWUpIHsKICAgICAgICAgICAgICAgIGRhdGEzID0gdmFsdWU7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGVudW1lcmFibGU6IHRydWUsCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICB9KTsKCiAgICAgICAgdmFyIHRlYW1NZWV0aW5nID0gT2JqZWN0LmNyZWF0ZShtZWV0aW5nKTsKCiAgICAgICAgdmFyIHZlcmlmeVRpbWVQcm9wID0gZmFsc2U7CiAgICAgICAgdmFyIHZlcmlmeU5hbWVQcm9wID0gZmFsc2U7CiAgICAgICAgdmFyIHZlcmlmeUNhbGxQcm9wID0gZmFsc2U7CiAgICAgICAgZm9yICh2YXIgcCBpbiB0ZWFtTWVldGluZykgewogICAgICAgICAgICBpZiAocCA9PT0gInN0YXJ0VGltZSIpIHsKICAgICAgICAgICAgICAgIHZlcmlmeVRpbWVQcm9wID0gdHJ1ZTsKICAgICAgICAgICAgfQogICAgICAgICAgICBpZiAocCA9PT0gIm5hbWUiKSB7CiAgICAgICAgICAgICAgICB2ZXJpZnlOYW1lUHJvcCA9IHRydWU7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgaWYgKHAgPT09ICJjb25mZXJlbmNlQ2FsbCIpIHsKICAgICAgICAgICAgICAgIHZlcmlmeUNhbGxQcm9wID0gdHJ1ZTsKICAgICAgICAgICAgfQogICAgICAgIH0KCiAgICAgICAgdmFyIGhhc093blByb3BlcnR5ID0gIXRlYW1NZWV0aW5nLmhhc093blByb3BlcnR5KCJuYW1lIikgJiYKICAgICAgICAgICAgIXRlYW1NZWV0aW5nLmhhc093blByb3BlcnR5KCJzdGFydFRpbWUiKS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RhdGEyID0gIk5BTUUiOwogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcHBvaW50bWVudCwgIm5hbWUiLCB7CiAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgcmV0dXJuIGRhdGEyOwogICAgICAgICAgICB9LAogICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgfSk7CgogICAgICAgIHZhciBtZWV0aW5nID0gT2JqZWN0LmNyZWF0ZShhcHBvaW50bWVudCk7CiAgICAgICAgdmFyIGRhdGEzID0gIkluLXBlcnNvbiBtZWV0aW5nIjsKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkobWVldGluZywgImNvbmZlcmVuY2VDYWxsIiwgewogICAgICAgICAgICBnZXQ6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgIHJldHVybiBkYXRhMzsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZW51bWVyYWJsZTogZmFsc2UsCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICB9KTsKCiAgICAgICAgdmFyIHRlYW1NZWV0aW5nID0gT2JqZWN0LmNyZWF0ZShtZWV0aW5nKTsKICAgICAgICB0ZWFtTWVldGluZy5uYW1lID0gIklFIFRlYW0gTWVldGluZyI7CiAgICAgICAgdmFyIGRhdGVPYmogPSBuZXcgRGF0ZSgiMTAvMzEvMjAxMCAwODowMCIpOwogICAgICAgIHRlYW1NZWV0aW5nLnN0YXJ0VGltZSA9IGRhdGVPYmo7CiAgICAgICAgdGVhbU1lZXRpbmcuY29uZmVyZW5jZUNhbGwgPSAiNDI1NTU1MTIxMiI7CgogICAgICAgIHZhciBoYXNPd25Qcm9wZXJ0eSA9ICF0ZWFtTWVldGluZy5oYXNPd25Qcm9wZXJ0eSgibmFtZSIpICYmCiAgICAgICAgICAgICF0ZWFtTWVldGluZy5oYXNPd25Qcm9wZXJ0eSgic3RhcnRUaW1lIikgJiYKICAgICAgICAgICAgIXRlYW1NZWV0aW5nLmhhc093blByb3BlcnR5KCdzdGFydFRpbWUnKTsKCiAgICAgICAgcmV0dXJuIGhhc093blByb3BlcnR5ICYmIHRlYW1NZWV0aW5nLm5hbWUgPT09ICJOQU1FIiAmJgogICAgICAgICAgICB0ZWFtTWVldGluZy5zdGFydFRpbWUgPT09IDEwMDEgJiYKICAgICAgICAgICAgdGVhbU1lZXRpbmcuY29uZmVyZW5jZUNhbGwgPT09ICJJbi1wZXJzb24gbWVldGluZyI7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsKCg==","id":"15.2.3.6-4-591"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTU5MiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC01OTIuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBJbmhlcml0ZWQgcHJvcGVydHkgaXMgbm9uLWVudW1lcmFibGUgKE9iamVjdC5jcmVhdGUpIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgYXBwb2ludG1lbnQgPSB7fTsKCiAgICAgICAgdmFyIGRhdGExID0gMTAwMTsKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXBwb2ludG1lbnQsICJzdGFydFRpbWUiLCB7CiAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgcmV0dXJuIGRhdGExOwogICAgICAgICAgICB9LAogICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgfSk7CiAgICAgICAgdmFyIGRhdGEyID0gIk5BTUUiOwogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcHBvaW50bWVudCwgIm5hbWUiLCB7CiAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgcmV0dXJuIGRhdGEyOwogICAgICAgICAgICB9LAogICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgIH0pOwoKICAgICAgICB2YXIgbWVldGluZyA9IE9iamVjdC5jcmVhdGUoYXBwb2ludG1lbnQpOwogICAgICAgIHZhciBkYXRhMyA9ICJJbi1wZXJzb24gbWVldGluZyI7CiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG1lZXRpbmcsICJjb25mZXJlbmNlQ2FsbCIsIHsKICAgICAgICAgICAgZ2V0OiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZGF0YTM7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKCiAgICAgICAgdmFyIHRlYW1NZWV0aW5nID0gT2JqZWN0LmNyZWF0ZShtZWV0aW5nKTsKCiAgICAgICAgdmFyIHZlcmlmeVRpbWVQcm9wID0gZmFsc2U7CiAgICAgICAgdmFyIHZlcmlmeU5hbWVQcm9wID0gZmFsc2U7CiAgICAgICAgdmFyIHZlcmlmeUNhbGxQcm9wID0gZmFsc2U7CiAgICAgICAgZm9yICh2YXIgcCBpbiB0ZWFtTWVldGluZykgewogICAgICAgICAgICBpZiAocCA9PT0gInN0YXJ0VGltZSIpIHsKICAgICAgICAgICAgICAgIHZlcmlmeVRpbWVQcm9wID0gdHJ1ZTsKICAgICAgICAgICAgfQogICAgICAgICAgICBpZiAocCA9PT0gIm5hbWUiKSB7CiAgICAgICAgICAgICAgICB2ZXJpZnlOYW1lUHJvcCA9IHRydWU7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgaWYgKHAgPT09ICJjb25mZXJlbmNlQ2FsbCIpIHsKICAgICAgICAgICAgICAgIHZlcmlmeUNhbGxQcm9wID0gdHJ1ZTsKICAgICAgICAgICAgfQogICAgICAgIH0KCiAgICAgICAgdmFyIGhhc093blByb3BlcnR5ID0gIXRlYW1NZWV0aW5nLmhhc093blByb3BlcnR5KCJuYW1lIikgJiYKICAgICAgICAgICAgIXRlYW1NZWV0aW5nLmhhc093blByb3BlcnR5KCJzdGFydFRpbWUiKSAmJgogICAgICAgICAgICAhdGVhbU1lZXRpbmcuaGFzT3duUHJvcGVydHkoJ3N0YXJ0VGltZScpOwoKICAgICAgICByZXR1cm4gaGFzT3duUHJvcGVydHkgJiYgIXZlcmlmeVRpbWVQcm9wICYmICF2ZXJpZnlOYW1lUHJvcCAmJiAhdmVyaWZ5Q2FsbFByb3A7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsKCg==","id":"15.2.3.6-4-592"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTU5MyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC01OTMuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBbW0dldF1dIGZpZWxkIG9mIGluaGVyaXRlZCBwcm9wZXJ0eSBvZiBbW1Byb3RvdHlwZV1dIGludGVybmFsIHByb3BlcnR5IGlzIGNvcnJlY3QgKEZ1bmN0aW9uLnByb3RvdHlwZS5iaW5kKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIGZvbyA9IGZ1bmN0aW9uICgpIHsgfTsKICAgICAgICB2YXIgZGF0YSA9ICJkYXRhIjsKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoRnVuY3Rpb24ucHJvdG90eXBlLCAicHJvcCIsIHsKICAgICAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgICAgIHJldHVybiBkYXRhOwogICAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICAgIHNldDogZnVuY3Rpb24gKHZhbHVlKSB7CiAgICAgICAgICAgICAgICAgICAgZGF0YSA9IHZhbHVlOwogICAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICAgIGVudW1lcmFibGU6IHRydWUsCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICAgICAgfSk7CgogICAgICAgICAgICB2YXIgb2JqID0gZm9vLmJpbmQoe30pOwoKICAgICAgICAgICAgcmV0dXJuICFvYmouaGFzT3duUHJvcGVydHkoInByb3AiKSAmJiBvYmoucHJvcCA9PT0gZGF0YTsKICAgICAgICB9IGZpbmFsbHkgewogICAgICAgICAgICBkZWxldGUgRnVuY3Rpb24ucHJvdG90eXBlLnByb3A7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cgo=","id":"15.2.3.6-4-593"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTU5NCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC01OTQuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBTdWNjZXNzIHRvIHVwZGF0ZSB2YWx1ZSBvZiBwcm9wZXJ0eSBpbnRvIG9mIFtbUHJvcHRvdHlwZV1dIGludGVybmFsIHByb3BlcnR5IChGdW5jdGlvbi5wcm90b3R5cGUuYmluZCkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBmb28gPSBmdW5jdGlvbiAoKSB7IH07CiAgICAgICAgdmFyIGRhdGEgPSAiZGF0YSI7CiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KEZ1bmN0aW9uLnByb3RvdHlwZSwgInByb3AiLCB7CiAgICAgICAgICAgICAgICBnZXQ6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgICAgICByZXR1cm4gZGF0YTsKICAgICAgICAgICAgICAgIH0sCiAgICAgICAgICAgICAgICBzZXQ6IGZ1bmN0aW9uICh2YWx1ZSkgewogICAgICAgICAgICAgICAgICAgIGRhdGEgPSB2YWx1ZTsKICAgICAgICAgICAgICAgIH0sCiAgICAgICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwoKICAgICAgICAgICAgdmFyIG9iaiA9IGZvby5iaW5kKHt9KTsKICAgICAgICAgICAgb2JqLnByb3AgPSAib3ZlcnJpZGVEYXRhIjsKCiAgICAgICAgICAgIHJldHVybiAhb2JqLmhhc093blByb3BlcnR5KCJwcm9wIikgJiYgb2JqLnByb3AgPT09ICJvdmVycmlkZURhdGEiOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIGRlbGV0ZSBGdW5jdGlvbi5wcm90b3R5cGUucHJvcDsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsKCg==","id":"15.2.3.6-4-594"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTU5NSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC01OTUuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBJbmhlcml0ZWQgcHJvcGVydHkgaXMgZW51bWVyYWJsZSAoRnVuY3Rpb24ucHJvdG90eXBlLmJpbmQpIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgZm9vID0gZnVuY3Rpb24gKCkgeyB9OwogICAgICAgIHZhciBkYXRhID0gImRhdGEiOwogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShGdW5jdGlvbi5wcm90b3R5cGUsICJwcm9wIiwgewogICAgICAgICAgICAgICAgZ2V0OiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGRhdGE7CiAgICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICAgc2V0OiBmdW5jdGlvbiAodmFsdWUpIHsKICAgICAgICAgICAgICAgICAgICBkYXRhID0gdmFsdWU7CiAgICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZSwKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICB9KTsKCiAgICAgICAgICAgIHZhciBvYmogPSBmb28uYmluZCh7fSk7CgogICAgICAgICAgICB2YXIgdmVyaWZ5RW51bWVyYWJsZSA9IGZhbHNlOwogICAgICAgICAgICBmb3IgKHZhciBwIGluIG9iaikgewogICAgICAgICAgICAgICAgaWYgKHAgPT09ICJwcm9wIikgewogICAgICAgICAgICAgICAgICAgIHZlcmlmeUVudW1lcmFibGUgPSB0cnVlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CgogICAgICAgICAgICByZXR1cm4gIW9iai5oYXNPd25Qcm9wZXJ0eSgicHJvcCIpICYmIHZlcmlmeUVudW1lcmFibGU7CiAgICAgICAgfSBmaW5hbGx5IHsKICAgICAgICAgICAgZGVsZXRlIEZ1bmN0aW9uLnByb3RvdHlwZS5wcm9wOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSk7CiAgICB9Cn0pOwoK","id":"15.2.3.6-4-595"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTU5NiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC01OTYuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBGYWlsIHRvIHVwZGF0ZSB2YWx1ZSBvZiBwcm9wZXJ0eSBpbnRvIG9mIFtbUHJvcHRvdHlwZV1dIGludGVybmFsIHByb3BlcnR5IChGdW5jdGlvbi5wcm90b3R5cGUuYmluZCkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBmb28gPSBmdW5jdGlvbiAoKSB7IH07CiAgICAgICAgdmFyIGRhdGEgPSAiZGF0YSI7CiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KEZ1bmN0aW9uLnByb3RvdHlwZSwgInByb3Ai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kYXRhIjsKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoRnVuY3Rpb24ucHJvdG90eXBlLCAicHJvcCIsIHsKICAgICAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgICAgIHJldHVybiBkYXRhOwogICAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwoKICAgICAgICAgICAgdmFyIG9iaiA9IGZvby5iaW5kKHt9KTsKCiAgICAgICAgICAgIHZhciB2ZXJpZnlFbnVtZXJhYmxlID0gZmFsc2U7CiAgICAgICAgICAgIGZvciAodmFyIHAgaW4gb2JqKSB7CiAgICAgICAgICAgICAgICBpZiAocCA9PT0gInByb3AiKSB7CiAgICAgICAgICAgICAgICAgICAgdmVyaWZ5RW51bWVyYWJsZSA9IHRydWU7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KCiAgICAgICAgICAgIHJldHVybiAhb2JqLmhhc093blByb3BlcnR5KCJwcm9wIikgJiYgIXZlcmlmeUVudW1lcmFibGU7CiAgICAgICAgfSBmaW5hbGx5IHsKICAgICAgICAgICAgZGVsZXRlIEZ1bmN0aW9uLnByb3RvdHlwZS5wcm9wOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSk7CiAgICB9Cn0pOwoK","id":"15.2.3.6-4-597"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTU5OCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC01OTguanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBhbGwgYXR0cmlidXRlcyBpbiBPYmplY3QuZ2V0UHJvdG90eXBlT2YgYXJlIGNvcnJlY3QiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBkZXNjID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihPYmplY3QsICJnZXRQcm90b3R5cGVPZiIpOwoKICAgICAgICB2YXIgcHJvcGVydHlBcmVDb3JyZWN0ID0gKGRlc2Mud3JpdGFibGUgPT09IHRydWUgJiYgZGVzYy5lbnVtZXJhYmxlID09PSBmYWxzZSAmJiBkZXNjLmNvbmZpZ3VyYWJsZSA9PT0gdHJ1ZSk7CgogICAgICAgIHZhciB0ZW1wID0gT2JqZWN0LmdldFByb3RvdHlwZU9mOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZ2V0UHJvdG90eXBlT2YgPSAiMjAxMCI7CgogICAgICAgICAgICB2YXIgaXNXcml0YWJsZSA9IChPYmplY3QuZ2V0UHJvdG90eXBlT2YgPT09ICIyMDEwIik7CgogICAgICAgICAgICB2YXIgaXNFbnVtZXJhYmxlID0gZmFsc2U7CgogICAgICAgICAgICBmb3IgKHZhciBwcm9wIGluIE9iamVjdCkgewogICAgICAgICAgICAgICAgaWYgKHByb3AgPT09ICJnZXRQcm90b3R5cGVPZiIpIHsKICAgICAgICAgICAgICAgICAgICBpc0VudW1lcmFibGUgPSB0cnVlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgCiAgICAgICAgICAgIGRlbGV0ZSBPYmplY3QuZ2V0UHJvdG90eXBlT2Y7CgogICAgICAgICAgICB2YXIgaXNDb25maWd1cmFibGUgPSAhT2JqZWN0Lmhhc093blByb3BlcnR5KCJnZXRQcm90b3R5cGVPZiIpOwoKICAgICAgICAgICAgcmV0dXJuIHByb3Blcn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UHJvcGVydHlEZXNjcmlwdG9yIik7CgogICAgICAgIHZhciBwcm9wZXJ0eUFyZUNvcnJlY3QgPSAoZGVzYy53cml0YWJsZSA9PT0gdHJ1ZSAmJiBkZXNjLmVudW1lcmFibGUgPT09IGZhbHNlICYmIGRlc2MuY29uZmlndXJhYmxlID09PSB0cnVlKTsKCiAgICAgICAgdmFyIHRlbXAgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yID0gIjIwMTAiOwoKICAgICAgICAgICAgdmFyIGlzV3JpdGFibGUgPSAoT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvciA9PT0gIjIwMTAiKTsKCiAgICAgICAgICAgIHZhciBpc0VudW1lcmFibGUgPSBmYWxzZTsKCiAgICAgICAgICAgIGZvciAodmFyIHByb3AgaW4gT2JqZWN0KSB7CiAgICAgICAgICAgICAgICBpZiAocHJvcCA9PT0gImdldE93blByb3BlcnR5RGVzY3JpcHRvciIpIHsKICAgICAgICAgICAgICAgICAgICBpc0VudW1lcmFibGUgPSB0cnVlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CgogICAgICAgICAgICBkZWxldGUgT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcjsKCiAgICAgICAgICAgIHZhciBpc0NvbmZpZ3VyYWJsZSA9ICFPYmplY3QuaGFzT3duUHJvcGVydHkoImdldE93blByb3BlcnR5RGVzY3JpcHRvciIpOwoKICAgICAgICAgICAgcmV0dXJuIHByb3BlcnR5QXJlQ29ycmVjdCAmJiBpc1dyaXRhYmxlICYmICFpc0VudW1lcmFibGUgJiYgaXNDb25maWd1cmFibGU7CiAgICAgICAgfSBmaW5hbGx5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KE9iamVjdCwgImdldE93blByb3BlcnR5RGVzY3JpcHRvciIs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zLjYvMTUuMi4zLjYtNC02MDAuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBhbGwgYXR0cmlidXRlcyBpbiBPYmplY3QuZ2V0T3duUHJvcGVydHlOYW1lcyBhcmUgY29ycmVjdCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIGRlc2MgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKE9iamVjdCwgImdldE93blByb3BlcnR5TmFtZXMiKTsKCiAgICAgICAgdmFyIHByb3BlcnR5QXJlQ29ycmVjdCA9IChkZXNjLndyaXRhYmxlID09PSB0cnVlICYmIGRlc2MuZW51bWVyYWJsZSA9PT0gZmFsc2UgJiYgZGVzYy5jb25maWd1cmFibGUgPT09IHRydWUpOwoKICAgICAgICB2YXIgdGVtcCA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eU5hbWVzOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZ2V0T3duUHJvcGVydHlOYW1lcyA9ICIyMDEwIjsKCiAgICAgICAgICAgIHZhciBpc1dyaXRhYmxlID0gKE9iamVjdC5nZXRPd25Qcm9wZXJ0eU5hbWVzID09PSAiMjAxMCIpOwoKICAgICAgICAgICAgdmFyIGlzRW51bWVyYWJsZSA9IGZhbHNlOwoKICAgICAgICAgICAgZm9yICh2YXIgcHJvcCBpbiBPYmplY3QpIHsKICAgICAgICAgICAgICAgIGlmIChwcm9wID09PSAiZ2V0T3duUHJvcGVydHlOYW1lcyIpIHsKICAgICAgICAgICAgICAgICAgICBpc0VudW1lcmFibGUgPSB0cnVlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgCiAgICAgICAgICAgIGRlbGV0ZSBPYmplY3QuZ2V0T3duUHJvcGVydHlOYW1lczsKCiAgICAgICAgICAgIHZhciBpc0NvbmZpZ3VyYWJsZSA9ICFPYmplY3QuaGFzT3duU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9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IoT2JqZWN0LCAiY3JlYXRlIik7CgogICAgICAgIHZhciBwcm9wZXJ0eUFyZUNvcnJlY3QgPSAoZGVzYy53cml0YWJsZSA9PT0gdHJ1ZSAmJiBkZXNjLmVudW1lcmFibGUgPT09IGZhbHNlICYmIGRlc2MuY29uZmlndXJhYmxlID09PSB0cnVlKTsKCiAgICAgICAgdmFyIHRlbXAgPSBPYmplY3QuY3JlYXRlOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuY3JlYXRlID0gIjIwMTAiOwoKICAgICAgICAgICAgdmFyIGlzV3JpdGFibGUgPSAoT2JqZWN0LmNyZWF0ZSA9PT0gIjIwMTAiKTsKCiAgICAgICAgICAgIHZhciBpc0VudW1lcmFibGUgPSBmYWxzZTsKCiAgICAgICAgICAgIGZvciAodmFyIHByb3AgaW4gT2JqZWN0KSB7CiAgICAgICAgICAgICAgICBpZiAocHJvcCA9PT0gImNyZWF0ZSIpIHsKICAgICAgICAgICAgICAgICAgICBpc0VudW1lcmFibGUgPSB0cnVlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgCiAgICAgICAgICAgIGRlbGV0ZSBPYmplY3QuY3JlYXRlOwoKICAgICAgICAgICAgdmFyIGlzQ29uZmlndXJhYmxlID0gIU9iamVjdC5oYXNPd25Qcm9wZXJ0eSgiY3JlYXRlIik7CgogICAgICAgICAgICByZXR1cm4gcHJvcGVydHlBcmVDb3JyZWN0ICYmIGlzV3JpdGFibGUgJiYgIWlzRW51bWVyYWJsZSAmJiBpc0NvbmZpZ3VyYWJsZTsKICAgICAgICB9IGZpbmFsbHkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoT2JqZWN0LCAiY3JlYXRlIiwgewogICAgICAgICAgICAgICAgdmFsdWU6IHRlbXAsCiAgICAgICAgICAgICAgICB3cml0YWJsZTogdHJ1ZSwKICAgICAgICAgICAgICA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OwoKICAgICAgICAgICAgdmFyIGlzV3JpdGFibGUgPSAoT2JqZWN0LmRlZmluZVByb3BlcnR5ID09PSAiMjAxMCIpOwoKICAgICAgICAgICAgdmFyIGlzRW51bWVyYWJsZSA9IGZhbHNlOwoKICAgICAgICAgICAgZm9yICh2YXIgcHJvcCBpbiBPYmplY3QpIHsKICAgICAgICAgICAgICAgIGlmIChwcm9wID09PSAiZGVmaW5lUHJvcGVydHkiKSB7CiAgICAgICAgICAgICAgICAgICAgaXNFbnVtZXJhYmxlID0gdHJ1ZTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQoKICAgICAgICAgICAgZGVsZXRlIE9iamVjdC5kZWZpbmVQcm9wZXJ0eTsKCiAgICAgICAgICAgIHZhciBpc0NvbmZpZ3VyYWJsZSA9ICFPYmplY3QuaGFzT3duUHJvcGVydHkoImRlZmluZVByb3BlcnR5Iik7CgogICAgICAgICAgICByZXR1cm4gcHJvcGVydHlBcmVDb3JyZWN0ICYmIGlzV3JpdGFibGUgJiYgIWlzRW51bWVyYWJsZSAmJiBpc0NvbmZpZ3VyYWJsZTsKICAgICAgICB9IGZpbmFsbHkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkgPSB0ZW1wOwogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoT2JqZWN0LCAiZGVmaW5lUHJvcGVydHkiLCB7CiAgICAgICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZQogICAgICAgICAgICB9KTsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuRXhpc3RzKE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IpOwogICAgfQp9KTsKCg==","id":"15.2.3.6-4-602"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTYwMyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC02MDMuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBhbGwgYXR0cmlidXRlcyBpbiBPYmplY3QuZGVmaW5lUHJvcGVydGllcyBhcmUgY29ycmVjdCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIGRlc2MgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKE9iamVjdCwgImRlZmluZVByb3BlcnRpZXMiKTsKCiAgICAgICAgdmFyIHByb3BlcnR5QXJlQ29ycmVjdCA9IChkZXNjLndyaXRhYmxlID09PSB0cnVlICYmIGRlc2MuZW51bWVyYWJsZSA9PT0gZmFsc2UgJiYgZGVzYy5jb25maWd1cmFibGUgPT09IHRydWUpOwoKICAgICAgICB2YXIgdGVtcCA9IE9iamVjdC5kZWZpbmVQcm9wZXJ0aWVzOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydGllcyA9ICIyMDEwIjsKCiAgICAgICAgICAgIHZhciBpc1dyaXRhYmxlID0gKE9iamVjdC5kZWZpbmVQcm9wZXJ0aWVzID09PSAiMjAxMCIpOwoKICAgICAgICAgICAgdmFyIGlzRW51bWVyYWJsZSA9IGZhbHNlOwoKICAgICAgICAgICAgZm9yICh2YXIgcHJvcCBpbiBPYmplY3QpIHsKICAgICAgICAgICAgICAgIGlmIChwcm9wID09PSAiZGVmaW5lUHJvcGVydGllcyIpIHsKICAgICAgICAgICAgICAgICAgICBpc0VudW1lcmFibGUgPSB0cnVlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgCiAgICAgICAgICAgIGRlbGV0ZSBPYmplY3QuZGVmaW5lUHJvcGVydGllczsKCiAgICAgICAgICAgIHZhciBpc0NvbmZpZ3VyYWJsZSA9ICFPYmplY3QuaGFzT3duUHJvcGVydHkoImRlZmluZVByb3BlcnRpZXMiKTsKCiAgICAgICAgICAgIHJldHVybiBwcm9wZXJ0eUFyZUNvcnJlY3QgJiYgaXNXcml0YWJsZSAmJiAhaXNFbnVtZXJhYmxlICYmIGlzQ29uZmlndXJhYmxlOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShPYmplY3QsICJkZWZpbmVQcm9wZXJ0aWVzIiwgewogICAgICAgICAgICAgICAgdmFsdWU6IHRlbXAsCiAgICAgICAgICAgICAgICB3cml0YWJsZTogdHJ1ZSwKICAgICAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkgJiYgZm5FeGlzdHMoT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcikgJiYgZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnRpZXMpOwogICAgfQp9KTsKCg==","id":"15.2.3.6-4-603"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTYwNCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC02MDQuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBhbGwgYXR0cmlidXRlcyBpbiBPYmplY3Quc2VhbCBhcmUgY29ycmVjdCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIGRlc2MgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKE9iamVjdCwgInNlYWwiKTsKCiAgICAgICAgdmFyIHByb3BlcnR5QXJlQ29ycmVjdCA9IChkZXNjLndyaXRhYmxlID09PSB0cnVlICYmIGRlc2MuZW51bWVyYWJsZSA9PT0gZmFsc2UgJiYgZGVzYy5jb25maWd1cmFibGUgPT09IHRydWUpOwoKICAgICAgICB2YXIgdGVtcCA9IE9iamVjdC5zZWFsOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3Quc2VhbCA9ICIyMDEwIjsKCiAgICAgICAgICAgIHZhciBpc1dyaXRhYmxlID0gKE9iamVjdC5zZWFsID09PSAiMjAxMCIpOwoKICAgICAgICAgICAgdmFyIGlzRW51bWVyYWJsZSA9IGZhbHNlOwoKICAgICAgICAgICAgZm9yICh2YXIgcHJvcCBpbiBPYmplY3QpIHsKICAgICAgICAgICAgICAgIGlmIChwcm9wID09PSAic2VhbCIpIHsKICAgICAgICAgICAgICAgICAgICBpc0VudW1lcmFibGUgPSB0cnVlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgCiAgICAgICAgICAgIGRlbGV0ZSBPYmplY3Quc2VhbDsKCiAgICAgICAgICAgIHZhciBpc0NvbmZpZ3VyYWJsZSA9ICFPYmplY3QuaGFzT3duUHJvcGVydHkoInNlYWwiKTsKCiAgICAgICAgICAgIHJldHVybiBwcm9wZXJ0eUFyZUNvcnJlY3QgJiYgaXNXcml0YWJsZSAmJiAhaXNFbnVtZXJhYmxlICYmIGlzQ29uZmlndXJhYmxlOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShPYmplY3QsICJzZWFsIiwgewogICAgICAgICAgICAgICAgdmFsdWU6IHRlbXAsCiAgICAgICAgICAgICAgICB3cml0YWJsZTogdHJ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JpdGFibGUgPSAoT2JqZWN0LmZyZWV6ZSA9PT0gIjIwMTAiKTsKCiAgICAgICAgICAgIHZhciBpc0VudW1lcmFibGUgPSBmYWxzZTsKCiAgICAgICAgICAgIGZvciAodmFyIHByb3AgaW4gT2JqZWN0KSB7CiAgICAgICAgICAgICAgICBpZiAocHJvcCA9PT0gImZyZWV6ZSIpIHsKICAgICAgICAgICAgICAgICAgICBpc0VudW1lcmFibGUgPSB0cnVlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgCiAgICAgICAgICAgIGRlbGV0ZSBPYmplY3QuZnJlZXplOwoKICAgICAgICAgICAgdmFyIGlzQ29uZmlndXJhYmxlID0gIU9iamVjdC5oYXNPd25Qcm9wZXJ0eSgiZnJlZXplIik7CgogICAgICAgICAgICByZXR1cm4gcHJvcGVydHlBcmVDb3JyZWN0ICYmIGlzV3JpdGFibGUgJiYgIWlzRW51bWVyYWJsZSAmJiBpc0NvbmZpZ3VyYWJsZTsKICAgICAgICB9IGZpbmFsbHkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoT2JqZWN0LCAiZnJlZXplIiwgewogICAgICAgICAgICAgICAgdmFsdWU6IHRlbXAsCiAgICAgICAgICAgICAgICB3cml0YWJsZTogdHJ1ZSwKICAgICAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkgJiYgZm5FeGlzdHMoT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcikgJiYgZm5FeGlzdHMoT2JqZWN0LmZyZWV6ZSk7CiAgICB9Cn0pOwoK","id":"15.2.3.6-4-605"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTYwNiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC02MDYuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBhbGwgYXR0cmlidXRlcyBpbiBPYmplY3QucHJldmVudEV4dGVuc2lvbnMgYXJlIGNvcnJlY3QiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBkZXNjID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihPYmplY3QsICJwcmV2ZW50RXh0ZW5zaW9ucyIpOwoKICAgICAgICB2YXIgcHJvcGVydHlBcmVDb3JyZWN0ID0gKGRlc2Mud3JpdGFibGUgPT09IHRydWUgJiYgZGVzYy5lbnVtZXJhYmxlID09PSBmYWxzZSAmJiBkZXNjLmNvbmZpZ3VyYWJsZSA9PT0gdHJ1ZSk7CgogICAgICAgIHZhciB0ZW1wID0gT2JqZWN0LnByZXZlbnRFeHRlbnNpb25zOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QucHJldmVudEV4dGVuc2lvbnMgPSAiMjAxMCI7CgogICAgICAgICAgICB2YXIgaXNXcml0YWJsZSA9IChPYmplY3QucHJldmVudEV4dGVuc2lvbnMgPT09ICIyMDEwIik7CgogICAgICAgICAgICB2YXIgaXNFbnVtZXJhYmxlID0gZmFsc2U7CgogICAgICAgICAgICBmb3IgKHZhciBwcm9wIGluIE9iamVjdCkgewogICAgICAgICAgICAgICAgaWYgKHByb3AgPT09ICJwcmV2ZW50RXh0ZW5zaW9ucyIpIHsKICAgICAgICAgICAgICAgICAgICBpc0VudW1lcmFibGUgPSB0cnVlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgCiAgICAgICAgICAgIGRlbGV0ZSBPYmplY3QucHJldmVudEV4dGVuc2lvbnM7CgogICAgICAgICAgICB2YXIgaXNDb25maWd1cmFibGUgPSAhT2JqZWN0Lmhhc093blByb3BlcnR5KCJwcmV2ZW50RXh0ZW5zaW9ucyIpOwoKICAgICAgICAgICAgcmV0dXJuIHByb3BlcnR5QXJlQ29ycmVjdCAmJiBpc1dyaXRhYmxlICYmICFpc0VudW1lcmFibGUgJiYgaXNDb25maWd1cmFibGU7CiAgICAgICAgfSBmaW5hbGx5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KE9iamVjdCwgInByZXZlbnRFeHRlbnNpb25zIiwgewogICAgICAgICAgICAgICAgdmFsdWU6IHRlbXAsCiAgICAgICAgICAgICAgICB3cml0YWJsZTogdHJ1ZSwKICAgICAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkgJiYgZm5FeGlzdHMoT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcikgJiYgZm5FeGlzdHMoT2JqZWN0LnByZXZlbnRFeHRlbnNpb25zKTsKICAgIH0KfSk7Cgo=","id":"15.2.3.6-4-606"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTYwNyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC02MDcuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBhbGwgYXR0cmlidXRlcyBpbiBPYmplY3QuaXNTZWFsZWQgYXJlIGNvcnJlY3QiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBkZXNjID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihPYmplY3QsICJpc1NlYWxlZCIpOwoKICAgICAgICB2YXIgcHJvcGVydHlBcmVDb3JyZWN0ID0gKGRlc2Mud3JpdGFibGUgPT09IHRydWUgJiYgZGVzYy5lbnVtZXJhYmxlID09PSBmYWxzZSAmJiBkZXNjLmNvbmZpZ3VyYWJsZSA9PT0gdHJ1ZSk7CgogICAgICAgIHZhciB0ZW1wID0gT2JqZWN0LmlzU2VhbGVkOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuaXNTZWFsZWQgPSAiMjAxMCI7CgogICAgICAgICAgICB2YXIgaXNXcml0YWJsZSA9IChPYmplY3QuaXNTZWFsZWQgPT09ICIyMDEwIik7CgogICAgICAgICAgICB2YXIgaXNFbnVtZXJhYmxlID0gZmFsc2U7CgogICAgICAgICAgICBmb3IgKHZhciBwcm9wIGluIE9iamVjdCkgewogICAgICAgICAgICAgICAgaWYgKHByb3AgPT09ICJpc1NlYWxlZCIpIHsKICAgICAgICAgICAgICAgICAgICBpc0VudW1lcmFibGUgPSB0cnVlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgCiAgICAgICAgICAgIGRlbGV0ZSBPYmplY3QuaXNTZWFsZWQ7CgogICAgICAgICAgICB2YXIgaXNDb25maWd1cmFibGUgPSAhT2JqZWN0Lmhhc093blByb3BlcnR5KCJpc1NlYWxlZCIpOwoKICAgICAgICAgICAgcmV0dXJuIHByb3BlcnR5QXJlQ29ycmVjdCAmJiBpc1dyaXRhYmxlICYmICFpc0VudW1lcmFibGUgJiYgaXNDb25maWd1cmFibGU7CiAgICAgICAgfSBmaW5hbGx5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KE9iamVjdCwgImlzU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JvemVuOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuaXNGcm96ZW4gPSAiMjAxMCI7CgogICAgICAgICAgICB2YXIgaXNXcml0YWJsZSA9IChPYmplY3QuaXNGcm96ZW4gPT09ICIyMDEwIik7CgogICAgICAgICAgICB2YXIgaXNFbnVtZXJhYmxlID0gZmFsc2U7CgogICAgICAgICAgICBmb3IgKHZhciBwcm9wIGluIE9iamVjdCkgewogICAgICAgICAgICAgICAgaWYgKHByb3AgPT09ICJpc0Zyb3plbiIpIHsKICAgICAgICAgICAgICAgICAgICBpc0VudW1lcmFibGUgPSB0cnVlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgCiAgICAgICAgICAgIGRlbGV0ZSBPYmplY3QuaXNGcm96ZW47CgogICAgICAgICAgICB2YXIgaXNDb25maWd1cmFibGUgPSAhT2JqZWN0Lmhhc093blByb3BlcnR5KCJpc0Zyb3plbiIpOwoKICAgICAgICAgICAgcmV0dXJuIHByb3BlcnR5QXJlQ29ycmVjdCAmJiBpc1dyaXRhYmxlICYmICFpc0VudW1lcmFibGUgJiYgaXNDb25maWd1cmFibGU7CiAgICAgICAgfSBmaW5hbGx5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KE9iamVjdCwgImlzRnJvemVuIiwgewogICAgICAgICAgICAgICAgdmFsdWU6IHRlbXAsCiAgICAgICAgICAgICAgICB3cml0YWJsZTogdHJ1ZSwKICAgICAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkgJiYgZm5FeGlzdHMoT2JqZWN0LmdldE93blByb3BlcnR5R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VudW1lcmFibGUgPSB0cnVlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgCiAgICAgICAgICAgIGRlbGV0ZSBPYmplY3QuaXNFeHRlbnNpYmxlOwoKICAgICAgICAgICAgdmFyIGlzQ29uZmlndXJhYmxlID0gIU9iamVjdC5oYXNPd25Qcm9wZXJ0eSgiaXNFeHRlbnNpYmxlIik7CgogICAgICAgICAgICByZXR1cm4gcHJvcGVydHlBcmVDb3JyZWN0ICYmIGlzV3JpdGFibGUgJiYgIWlzRW51bWVyYWJsZSAmJiBpc0NvbmZpZ3VyYWJsZTsKICAgICAgICB9IGZpbmFsbHkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoT2JqZWN0LCAiaXNFeHRlbnNpYmxlIiwgewogICAgICAgICAgICAgICAgdmFsdWU6IHRlbXAsCiAgICAgICAgICAgICAgICB3cml0YWJsZTogdHJ1ZSwKICAgICAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkgJiYgZm5FeGlzdHMoT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcikgJiYgZm5FeGlzdHMoT2JqZWN0LmlzRXh0ZW5zaWJsZSk7CiAgICB9Cn0pOwoK","id":"15.2.3.6-4-609"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTYxIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuNi8xNS4yLjMuNi00LTYxLmpzIiwKCiAgICBkZXNjcmlwdGlvbjog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b3BlcnR5QXJlQ29ycmVjdCA9IChkZXNjLndyaXRhYmxlID09PSB0cnVlICYmIGRlc2MuZW51bWVyYWJsZSA9PT0gZmFsc2UgJiYgZGVzYy5jb25maWd1cmFibGUgPT09IHRydWUpOwoKICAgICAgICB2YXIgdGVtcCA9IE9iamVjdC5rZXlzOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3Qua2V5cyA9ICIyMDEwIjsKCiAgICAgICAgICAgIHZhciBpc1dyaXRhYmxlID0gKE9iamVjdC5rZXlzID09PSAiMjAxMCIpOwoKICAgICAgICAgICAgdmFyIGlzRW51bWVyYWJsZSA9IGZhbHNlOwoKICAgICAgICAgICAgZm9yICh2YXIgcHJvcCBpbiBPYmplY3QpIHsKICAgICAgICAgICAgICAgIGlmIChwcm9wID09PSAia2V5cyIpIHsKICAgICAgICAgICAgICAgICAgICBpc0VudW1lcmFibGUgPSB0cnVlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgCiAgICAgICAgICAgIGRlbGV0ZSBPYmplY3Qua2V5czsKCiAgICAgICAgICAgIHZhciBpc0NvbmZpZ3VyYWJsZSA9ICFPYmplY3QuaGFzT3duUHJvcGVydHkoImtleXMiKTsKCiAgICAgICAgICAgIHJldHVybiBwcm9wZXJ0eUFyZUNvcnJlY3QgJiYgaXNXcml0YWJsZSAmJiAhaXNFbnVtZXJhYmxlICYmIGlzQ29uZmlndXJhYmxlOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShPYmplY3QsICJrZXlzIiwgewogICAgICAgICAgICAgICAgdmFsdWU6IHRlbXAsCiAgICAgICAgICAgICAgICB3cml0YWJsZTogdHJ1ZSwKICAgICAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY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WVyYWJsZSA9IGZhbHNlOwoKICAgICAgICAgICAgZm9yICh2YXIgcHJvcCBpbiBGdW5jdGlvbi5wcm90b3R5cGUpIHsKICAgICAgICAgICAgICAgIGlmIChwcm9wID09PSAiYmluZCIpIHsKICAgICAgICAgICAgICAgICAgICBpc0VudW1lcmFibGUgPSB0cnVlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgCiAgICAgICAgICAgIGRlbGV0ZSBGdW5jdGlvbi5wcm90b3R5cGUuYmluZDsKCiAgICAgICAgICAgIHZhciBpc0NvbmZpZ3VyYWJsZSA9ICFGdW5jdGlvbi5wcm90b3R5cGUuaGFzT3duUHJvcGVydHkoImJpbmQiKTsKCiAgICAgICAgICAgIHJldHVybiBwcm9wZXJ0eUFyZUNvcnJlY3QgJiYgaXNXcml0YWJsZSAmJiAhaXNFbnVtZXJhYmxlICYmIGlzQ29uZmlndXJhYmxlOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShGdW5jdGlvbi5wcm90b3R5cGUsICJiaW5kIiwgewogICAgICAgICAgICAgICAgdmFsdWU6IHRlbXAsCiAgICAgICAgICAgICAgICB3cml0YWJsZTogdHJ1ZSwKICAgICAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkgJiYgZm5FeGlzdHMoT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcikgJiYgZm5FeGlzdHMoRnVuY3Rpb24ucHJvdG90eXBlLmJpbmQpOwogICAgfQp9KTsKCg==","id":"15.2.3.6-4-611"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTYxMiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC02MTIuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBhbGwgYXR0cmlidXRlcyBpbiBBcnJheS5wcm90b3R5cGUuaW5kZXhPZiBhcmUgY29ycmVjdCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIGRlc2MgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKEFycmF5LnByb3RvdHlwZSwgImluZGV4T2YiKTsKCiAgICAgICAgdmFyIHByb3BlcnR5QXJlQ29ycmVjdCA9IChkZXNjLndyaXRhYmxlID09PSB0cnVlICYmIGRlc2MuZW51bWVyYWJsZSA9PT0gZmFsc2UgJiYgZGVzYy5jb25maWd1cmFibGUgPT09IHRydWUpOwoKICAgICAgICB2YXIgdGVtcCA9IEFycmF5LnByb3RvdHlwZS5pbmRleE9mOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBBcnJheS5wcm90b3R5cGUuaW5kZXhPZiA9ICIyMDEwIjsKCiAgICAgICAgICAgIHZhciBpc1dyaXRhYmxlID0gKEFycmF5LnByb3RvdHlwZS5pbmRleE9mID09PSAiMjAxMCIpOwoKICAgICAgICAgICAgdmFyIGlzRW51bWVyYWJsZSA9IGZhbHNlOwoKICAgICAgICAgICAgZm9yICh2YXIgcHJvcCBpbiBBcnJheS5wcm90b3R5cGUpIHsKICAgICAgICAgICAgICAgIGlmIChwcm9wID09PSAiaW5kZXhPZiIpIHsKICAgICAgICAgICAgICAgICAgICBpc0VudW1lcmFibGUgPSB0cnVlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CgogICAgICAgICAgICBkZWxldGUgQXJyYXkucHJvdG90eXBlLmluZGV4T2Y7CgogICAgICAgICAgICB2YXIgaXNDb25maWd1cmFibGUgPSAhQXJyYXkucHJvdG90eXBlLmhhc093blByb3BlcnR5KCJpbmRleE9mIik7CgogICAgICAgICAgICByZXR1cm4gcHJvcGVydHlBcmVDb3JyZWN0ICYmIGlzV3JpdGFibGUgJiYgIWlzRW51bWVyYWJsZSAmJiBpc0NvbmZpZ3VyYWJsZTsKICAgICAgICB9IGZpbmFsbHkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoQXJyYXkucHJvdG90eXBlLCAiaW5kZXhPZiIsIHsKICAgICAgICAgICAgICAgIHZhbHVlOiB0ZW1wLAogICAgICAgICAgICAgICAgd3JpdGFibGU6IHRydWUsCiAgICAgICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZSwKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICB9KTsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuRXhpc3RzKE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IpICYmIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5pbmRleE9mKTsKICAgIH0KfSk7Cgo=","id":"15.2.3.6-4-612"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTYxMyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC02MTMuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBhbGwgYXR0cmlidXRlcyBpbiBPYmplY3QubGFzdEluZGV4T2YgYXJlIGNvcnJlY3QiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBkZXNjID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihBcnJheS5wcm90b3R5cGUsICJsYXN0SW5kZXhPZiIpOwoKICAgICAgICB2YXIgcHJvcGVydHlBcmVDb3JyZWN0ID0gKGRlc2Mud3JpdGFibGUgPT09IHRydWUgJiYgZGVzYy5lbnVtZXJhYmxlID09PSBmYWxzZSAmJiBkZXNjLmNvbmZpZ3VyYWJsZSA9PT0gdHJ1ZSk7CgogICAgICAgIHZhciB0ZW1wID0gQXJyYXkucHJvdG90eXBlLmxhc3RJbmRleE9mOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBBcnJheS5wcm90b3R5cGUubGFzdEluZGV4T2YgPSAiMjAxMCI7CgogICAgICAgICAgICB2YXIgaXNXcml0YWJsZSA9IChBcnJheS5wcm90b3R5cGUubGFzdEluZGV4T2YgPT09ICIyMDEwIik7CgogICAgICAgICAgICB2YXIgaXNFbnVtZXJhYmxlID0gZmFsc2U7CgogICAgICAgICAgICBmb3IgKHZhciBwcm9wIGluIEFycmF5LnByb3RvdHlwZSkgewogICAgICAgICAgICAgICAgaWYgKHByb3AgPT09ICJsYXN0SW5kZXhPZiIpIHsKICAgICAgICAgICAgICAgICAgICBpc0VudW1lcmFibGUgPSB0cnVlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CgogICAgICAgICAgICBkZWxldGUgQXJyYXkucHJvdG90eXBlLmxhc3RJbmRleE9mOwoKICAgICAgICAgICAgdmFyIGlzQ29uZmlndXJhYmxlID0gIUFycmF5LnByb3RvdHlwZS5oYXNPd25Qcm9wZXJ0eSgibGFzdEluZGV4T2YiKTsKCiAgICAgICAgICAgIHJldHVybiBwcm9wZXJ0eUFyZUNvcnJlY3QgJiYgaXNXcml0YWJsZSAmJiAhaXNFbnVtZXJhYmxlICYmIGlzQ29uZmlndXJhYmxlOwogICAgICAgIH0gZmluYWxseSB7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mxlID09PSBmYWxzZSAmJiBkZXNjLmNvbmZpZ3VyYWJsZSA9PT0gdHJ1ZSk7CgogICAgICAgIHZhciB0ZW1wID0gQXJyYXkucHJvdG90eXBlLmV2ZXJ5OwoKICAgICAgICB0cnkgewogICAgICAgICAgICBBcnJheS5wcm90b3R5cGUuZXZlcnkgPSAiMjAxMCI7CgogICAgICAgICAgICB2YXIgaXNXcml0YWJsZSA9IChBcnJheS5wcm90b3R5cGUuZXZlcnkgPT09ICIyMDEwIik7CgogICAgICAgICAgICB2YXIgaXNFbnVtZXJhYmxlID0gZmFsc2U7CgogICAgICAgICAgICBmb3IgKHZhciBwcm9wIGluIEFycmF5LnByb3RvdHlwZSkgewogICAgICAgICAgICAgICAgaWYgKHByb3AgPT09ICJldmVyeSIpIHsKICAgICAgICAgICAgICAgICAgICBpc0VudW1lcmFibGUgPSB0cnVlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CgogICAgICAgICAgICBkZWxldGUgQXJyYXkucHJvdG90eXBlLmV2ZXJ5OwoKICAgICAgICAgICAgdmFyIGlzQ29uZmlndXJhYmxlID0gIUFycmF5LnByb3RvdHlwZS5oYXNPd25Qcm9wZXJ0eSgiZXZlcnkiKTsKCiAgICAgICAgICAgIHJldHVybiBwcm9wZXJ0eUFyZUNvcnJlY3QgJiYgaXNXcml0YWJsZSAmJiAhaXNFbnVtZXJhYmxlICYmIGlzQ29uZmlndXJhYmxlOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShBcnJheS5wcm90b3R5cGUsICJldmVyeSIsIHsKICAgICAgICAgICAgICAgIHZhbHVlOiB0ZW1wLAogICAgICAgICAgICAgICAgd3JpdGFibGU6IHRydWUsCiAgICAgICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZSwKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICB9KTsKICAgICAgICB9CiAgICB9L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9IGZhbHNlOwoKICAgICAgICAgICAgZm9yICh2YXIgcHJvcCBpbiBBcnJheS5wcm90b3R5cGUpIHsKICAgICAgICAgICAgICAgIGlmIChwcm9wID09PSAic29tZSIpIHsKICAgICAgICAgICAgICAgICAgICBpc0VudW1lcmFibGUgPSB0cnVlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CgogICAgICAgICAgICBkZWxldGUgQXJyYXkucHJvdG90eXBlLnNvbWU7CgogICAgICAgICAgICB2YXIgaXNDb25maWd1cmFibGUgPSAhQXJyYXkucHJvdG90eXBlLmhhc093blByb3BlcnR5KCJzb21lIik7CgogICAgICAgICAgICByZXR1cm4gcHJvcGVydHlBcmVDb3JyZWN0ICYmIGlzV3JpdGFibGUgJiYgIWlzRW51bWVyYWJsZSAmJiBpc0NvbmZpZ3VyYWJsZTsKICAgICAgICB9IGZpbmFsbHkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoQXJyYXkucHJvdG90eXBlLCAic29tZSIsIHsKICAgICAgICAgICAgICAgIHZhbHVlOiB0ZW1wLAogICAgICAgICAgICAgICAgd3JpdGFibGU6IHRydWUsCiAgICAgICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZSwKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICB9KTsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuRXhpc3RzKE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IpICYmIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5zb21lKTsKICAgIH0KfSk7Cgo=","id":"15.2.3.6-4-615"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTYxNiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC02MTYuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBhbGwgYXR0cmlidXRlcyBpbiBBcnJheS5wcm90b3R5cGUuZm9yRWFjaCBhcmUgY29ycmVjdCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIGRlc2MgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKEFycmF5LnByb3RvdHlwZSwgImZvckVhY2giKTsKCiAgICAgICAgdmFyIHByb3BlcnR5QXJlQ29ycmVjdCA9IChkZXNjLndyaXRhYmxlID09PSB0cnVlICYmIGRlc2MuZW51bWVyYWJsZSA9PT0gZmFsc2UgJiYgZGVzYy5jb25maWd1cmFibGUgPT09IHRydWUpOwoKICAgICAgICB2YXIgdGVtcCA9IEFycmF5LnByb3RvdHlwZS5mb3JFYWNoOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBBcnJheS5wcm90b3R5cGUuZm9yRWFjaCA9ICIyMDEwIjsKCiAgICAgICAgICAgIHZhciBpc1dyaXRhYmxlID0gKEFycmF5LnByb3RvdHlwZS5mb3JFYWNoID09PSAiMjAxMCIpOwoKICAgICAgICAgICAgdmFyIGlzRW51bWVyYWJsZSA9IGZhbHNlOwoKICAgICAgICAgICAgZm9yICh2YXIgcHJvcCBpbiBBcnJheS5wcm90b3R5cGUpIHsKICAgICAgICAgICAgICAgIGlmIChwcm9wID09PSAiZm9yRWFjaCIpIHsKICAgICAgICAgICAgICAgICAgICBpc0VudW1lcmFibGUgPSB0cnVlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CgogICAgICAgICAgICBkZWxldGUgQXJyYXkucHJvdG90eXBlLmZvckVhY2g7CgogICAgICAgICAgICB2YXIgaXNDb25maWd1cmFibGUgPSAhQXJyY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zYyA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IoQXJyYXkucHJvdG90eXBlLCAibWFwIik7CgogICAgICAgIHZhciBwcm9wZXJ0eUFyZUNvcnJlY3QgPSAoZGVzYy53cml0YWJsZSA9PT0gdHJ1ZSAmJiBkZXNjLmVudW1lcmFibGUgPT09IGZhbHNlICYmIGRlc2MuY29uZmlndXJhYmxlID09PSB0cnVlKTsKCiAgICAgICAgdmFyIHRlbXAgPSBBcnJheS5wcm90b3R5cGUubWFwOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBBcnJheS5wcm90b3R5cGUubWFwID0gIjIwMTAiOwoKICAgICAgICAgICAgdmFyIGlzV3JpdGFibGUgPSAoQXJyYXkucHJvdG90eXBlLm1hcCA9PT0gIjIwMTAiKTsKCiAgICAgICAgICAgIHZhciBpc0VudW1lcmFibGUgPSBmYWxzZTsKCiAgICAgICAgICAgIGZvciAodmFyIHByb3AgaW4gQXJyYXkucHJvdG90eXBlKSB7CiAgICAgICAgICAgICAgICBpZiAocHJvcCA9PT0gIm1hcCIpIHsKICAgICAgICAgICAgICAgICAgICBpc0VudW1lcmFibGUgPSB0cnVlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CgogICAgICAgICAgICBkZWxldGUgQXJyYXkucHJvdG90eXBlLm1hcDsKCiAgICAgICAgICAgIHZhciBpc0NvbmZpZ3VyYWJsZSA9ICFBcnJheS5wcm90b3R5cGUuaGFzT3duUHJvcGVydHkoIm1hcCIpOwoKICAgICAgICAgICAgcmV0dXJuIHByb3BlcnR5QXJlQ29ycmVjdCAmJiBpc1dyaXRhYmxlICYmICFpc0VudW1lcmFibGUgJiYgaXNDb25maWd1cmFibGU7CiAgICAgICAgfSBmaW5hbGx5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KEFycmF5LnByb3RvdHlwZSwgIm1hcCIsIHsKICAgICAgICAgICAgICAgIHZhbHVlOiB0ZW1wLAogICAgICAg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ogICAgICAgICAgICBBcnJheS5wcm90b3R5cGUuZmlsdGVyID0gIjIwMTAiOwoKICAgICAgICAgICAgdmFyIGlzV3JpdGFibGUgPSAoQXJyYXkucHJvdG90eXBlLmZpbHRlciA9PT0gIjIwMTAiKTsKCiAgICAgICAgICAgIHZhciBpc0VudW1lcmFibGUgPSBmYWxzZTsKCiAgICAgICAgICAgIGZvciAodmFyIHByb3AgaW4gQXJyYXkucHJvdG90eXBlKSB7CiAgICAgICAgICAgICAgICBpZiAocHJvcCA9PT0gImZpbHRlciIpIHsKICAgICAgICAgICAgICAgICAgICBpc0VudW1lcmFibGUgPSB0cnVlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CgogICAgICAgICAgICBkZWxldGUgQXJyYXkucHJvdG90eXBlLmZpbHRlcjsKCiAgICAgICAgICAgIHZhciBpc0NvbmZpZ3VyYWJsZSA9ICFBcnJheS5wcm90b3R5cGUuaGFzT3duUHJvcGVydHkoImZpbHRlciIpOwoKICAgICAgICAgICAgcmV0dXJuIHByb3BlcnR5QXJlQ29ycmVjdCAmJiBpc1dyaXRhYmxlICYmICFpc0VudW1lcmFibGUgJiYgaXNDb25maWd1cmFibGU7CiAgICAgICAgfSBmaW5hbGx5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KEFycmF5LnByb3RvdHlwZSwgImZpbHRlciIsIHsKICAgICAgICAgICAgICAgIHZhbHVlOiB0ZW1wLAogICAgICAgICAgICAgICAgd3JpdGFibGU6IHRydWUsCiAgICAgICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZSwKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICB9KTsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuRXhpc3RzKE9iamV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gInJlZHVjZSIpIHsKICAgICAgICAgICAgICAgICAgICBpc0VudW1lcmFibGUgPSB0cnVlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CgogICAgICAgICAgICBkZWxldGUgQXJyYXkucHJvdG90eXBlLnJlZHVjZTsKCiAgICAgICAgICAgIHZhciBpc0NvbmZpZ3VyYWJsZSA9ICFBcnJheS5wcm90b3R5cGUuaGFzT3duUHJvcGVydHkoInJlZHVjZSIpOwoKICAgICAgICAgICAgcmV0dXJuIHByb3BlcnR5QXJlQ29ycmVjdCAmJiBpc1dyaXRhYmxlICYmICFpc0VudW1lcmFibGUgJiYgaXNDb25maWd1cmFibGU7CiAgICAgICAgfSBmaW5hbGx5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KEFycmF5LnByb3RvdHlwZSwgInJlZHVjZSIsIHsKICAgICAgICAgICAgICAgIHZhbHVlOiB0ZW1wLAogICAgICAgICAgICAgICAgd3JpdGFibGU6IHRydWUsCiAgICAgICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZSwKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICB9KTsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuRXhpc3RzKE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IpICYmIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5yZWR1Y2UpOwogICAgfQp9KTsKCg==","id":"15.2.3.6-4-619"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTYyIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuNi8xNS4yLjMuNi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ICJyZWR1Y2VSaWdodCIpOwoKICAgICAgICB2YXIgcHJvcGVydHlBcmVDb3JyZWN0ID0gKGRlc2Mud3JpdGFibGUgPT09IHRydWUgJiYgZGVzYy5lbnVtZXJhYmxlID09PSBmYWxzZSAmJiBkZXNjLmNvbmZpZ3VyYWJsZSA9PT0gdHJ1ZSk7CgogICAgICAgIHZhciB0ZW1wID0gQXJyYXkucHJvdG90eXBlLnJlZHVjZVJpZ2h0OwoKICAgICAgICB0cnkgewogICAgICAgICAgICBBcnJheS5wcm90b3R5cGUucmVkdWNlUmlnaHQgPSAiMjAxMCI7CgogICAgICAgICAgICB2YXIgaXNXcml0YWJsZSA9IChBcnJheS5wcm90b3R5cGUucmVkdWNlUmlnaHQgPT09ICIyMDEwIik7CgogICAgICAgICAgICB2YXIgaXNFbnVtZXJhYmxlID0gZmFsc2U7CgogICAgICAgICAgICBmb3IgKHZhciBwcm9wIGluIEFycmF5LnByb3RvdHlwZSkgewogICAgICAgICAgICAgICAgaWYgKHByb3AgPT09ICJyZWR1Y2VSaWdodCIpIHsKICAgICAgICAgICAgICAgICAgICBpc0VudW1lcmFibGUgPSB0cnVlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CgogICAgICAgICAgICBkZWxldGUgQXJyYXkucHJvdG90eXBlLnJlZHVjZVJpZ2h0OwoKICAgICAgICAgICAgdmFyIGlzQ29uZmlndXJhYmxlID0gIUFycmF5LnByb3RvdHlwZS5oYXNPd25Qcm9wZXJ0eSgicmVkdWNlUmlnaHQiKTsKCiAgICAgICAgICAgIHJldHVybiBwcm9wZXJ0eUFyZUNvcnJlY3QgJiYgaXNXcml0YWJsZSAmJiAhaXNFbnVtZXJhYmxlICYmIGlzQ29uZmlndXJhYmxlOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShBcnJheS5wcm90b3R5cGUsICJyZWR1Y2VSaWdodCIsIHsKICAgICAgICAgICAgICAgIHZhbHV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50cmltOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBTdHJpbmcucHJvdG90eXBlLnRyaW0gPSAiMjAxMCI7CgogICAgICAgICAgICB2YXIgaXNXcml0YWJsZSA9IChTdHJpbmcucHJvdG90eXBlLnRyaW0gPT09ICIyMDEwIik7CgogICAgICAgICAgICB2YXIgaXNFbnVtZXJhYmxlID0gZmFsc2U7CgogICAgICAgICAgICBmb3IgKHZhciBwcm9wIGluIFN0cmluZy5wcm90b3R5cGUpIHsKICAgICAgICAgICAgICAgIGlmIChwcm9wID09PSAidHJpbSIpIHsKICAgICAgICAgICAgICAgICAgICBpc0VudW1lcmFibGUgPSB0cnVlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CgogICAgICAgICAgICBkZWxldGUgU3RyaW5nLnByb3RvdHlwZS50cmltOwoKICAgICAgICAgICAgdmFyIGlzQ29uZmlndXJhYmxlID0gIVN0cmluZy5wcm90b3R5cGUuaGFzT3duUHJvcGVydHkoInRyaW0iKTsKCiAgICAgICAgICAgIHJldHVybiBwcm9wZXJ0eUFyZUNvcnJlY3QgJiYgaXNXcml0YWJsZSAmJiAhaXNFbnVtZXJhYmxlICYmIGlzQ29uZmlndXJhYmxlOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShTdHJpbmcucHJvdG90eXBlLCAidHJpbSIsIHsKICAgICAgICAgICAgICAgIHZhbHVlOiB0ZW1wLAogICAgICAgICAgICAgICAgd3JpdGFibGU6IHRydWUsCiAgICAgICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZSwKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICB9KTsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuRXhpc3RzKE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IpICYmIGZuRXhpc3RzKFN0cmluZy5wcm90b3R5cGUudHJpbSk7CiAgICB9Cn0pOwoK","id":"15.2.3.6-4-621"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTYyMiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC02MjIuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBhbGwgYXR0cmlidXRlcyBpbiBEYXRlLm5vdyBhcmUgY29ycmVjdCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIGRlc2MgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKERhdGUsICJub3ciKTsKCiAgICAgICAgdmFyIHByb3BlcnR5QXJlQ29ycmVjdCA9IChkZXNjLndyaXRhYmxlID09PSB0cnVlICYmIGRlc2MuZW51bWVyYWJsZSA9PT0gZmFsc2UgJiYgZGVzYy5jb25maWd1cmFibGUgPT09IHRydWUpOwoKICAgICAgICB2YXIgdGVtcCA9IERhdGUubm93OwoKICAgICAgICB0cnkgewogICAgICAgICAgICBEYXRlLm5vdyA9ICIyMDEwIjsKCiAgICAgICAgICAgIHZhciBpc1dyaXRhYmxlID0gKERhdGUubm93ID09PSAiMjAxMCIpOwoKICAgICAgICAgICAgdmFyIGlzRW51bWVyYWJsZSA9IGZhbHNlOwoKICAgICAgICAgICAgZm9yICh2YXIgcHJvcCBpbiBEYXRlKSB7CiAgICAgICAgICAgICAgICBpZiAocHJvcCA9PT0gIm5vdyIpIHsKICAgICAgICAgICAgICAgICAgICBpc0VudW1lcmFibGUgPSB0cnVlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CgogICAgICAgICAgICBkZWxldGUgRGF0ZS5ub3c7CgogICAgICAgICAgICB2YXIgaXNDb25maWd1cmFibGUgPSAhRGF0ZS5oYXNPd25Qcm9wZXJ0eSgibm93Iik7CgogICAgICAgICAgICByZXR1cm4gcHJvcGVydHlBcmVDb3JyZWN0ICYmIGlzV3JpdGFibGUgJiYgIWlzRW51bWVyYWJsZSAmJiBpc0NvbmZpZ3VyYWJsZTsKICAgICAgICB9IGZpbmFsbHkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoRGF0ZSwgIm5vdyIsIHsKICAgICAgICAgICAgICAgIHZhbHVlOiB0ZW1wLAogICAgICAgICAgICAgICAgd3JpdGFibGU6IHRydWUsCiAgICAgICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZSwKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICB9KTsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuRXhpc3RzKE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IpICYmIGZuRXhpc3RzKERhdGUubm93KTsKICAgIH0KfSk7Cgo=","id":"15.2.3.6-4-622"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTYyMyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC02MjMuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBhbGwgYXR0cmlidXRlcyBpbiBEYXRlLnByb3RvdHlwZS50b0lTT1N0cmluZyBhcmUgY29ycmVjdCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIGRlc2MgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKERhdGUucHJvdG90eXBlLCAidG9JU09TdHJpbmciKTsKCiAgICAgICAgdmFyIHByb3BlcnR5QXJlQ29ycmVjdCA9IChkZXNjLndyaXRhYmxlID09PSB0cnVlICYmIGRlc2MuZW51bWVyYWJsZSA9PT0gZmFsc2UgJiYgZGVzYy5jb25maWd1cmFibGUgPT09IHRydWUpOwoKICAgICAgICB2YXIgdGVtcCA9IERhdGUucHJvdG90eXBlLnRvSVNPU3RyaW5nOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBEYXRlLnByb3RvdHlwZS50b0lTT1N0cmluZyA9ICIyMDEwIjsKCiAgICAgICAgICAgIHZhciBpc1dyaXRhYmxlID0gKERhdGUucHJvdG90eXBlLnRvSVNPU3RyaW5nID09PSAiMjAxMCIpOwoKICAgICAgICAgICAgdmFyIGlzRW51bWVyYWJsZSA9IGZhbHNlOwoKICAgICAgICAgICAgZm9yICh2YXIgcHJvcCBpbiBEYXRlLnByb3RvdHlwZSkgewogICAgICAgICAgICAgICAgaWYgKHByb3AgPT09ICJ0b0lTT1N0cmluZyIpIHsKICAgICAgICAgICAgICAgICAgICBpc0VudW1lcmFibGUgPSB0cnVlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CgogICAgICAgICAgICBkZWxldGUgRGF0ZS5wcm90b3R5cGUudG9JU09TdHJpbmc7CgogICAgICAgICAgICB2YXIgaXNDb25maWd1cmFibGUgPSAhRGF0ZS5wcm90b3R5cGUuaGFzT3duUHJvcGVydHkoInRvSVNPU3RyaW5nIik7CgogICAgICAgICAgICByZXR1cm4gcHJvcGVydHlBcmVDb3JyZWN0ICYmIGlzV3JpdGFibGUgJiYgIWlzRW51bWVyYWJsZSAmJiBpc0NvbmZpZ3VyYWJsZTsKICAgICAgICB9IGZpbmFsbHkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVyd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YWJsZSA9PT0gdHJ1ZSk7CgogICAgICAgIHZhciB0ZW1wID0gRGF0ZS5wcm90b3R5cGUudG9KU09OOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBEYXRlLnByb3RvdHlwZS50b0pTT04gPSAiMjAxMCI7CgogICAgICAgICAgICB2YXIgaXNXcml0YWJsZSA9IChEYXRlLnByb3RvdHlwZS50b0pTT04gPT09ICIyMDEwIik7CgogICAgICAgICAgICB2YXIgaXNFbnVtZXJhYmxlID0gZmFsc2U7CgogICAgICAgICAgICBmb3IgKHZhciBwcm9wIGluIERhdGUucHJvdG90eXBlKSB7CiAgICAgICAgICAgICAgICBpZiAocHJvcCA9PT0gInRvSlNPTiIpIHsKICAgICAgICAgICAgICAgICAgICBpc0VudW1lcmFibGUgPSB0cnVlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CgogICAgICAgICAgICBkZWxldGUgRGF0ZS5wcm90b3R5cGUudG9KU09OOwoKICAgICAgICAgICAgdmFyIGlzQ29uZmlndXJhYmxlID0gIURhdGUucHJvdG90eXBlLmhhc093blByb3BlcnR5KCJ0b0pTT04iKTsKCiAgICAgICAgICAgIHJldHVybiBwcm9wZXJ0eUFyZUNvcnJlY3QgJiYgaXNXcml0YWJsZSAmJiAhaXNFbnVtZXJhYmxlICYmIGlzQ29uZmlndXJhYmxlOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShEYXRlLnByb3RvdHlwZSwgInRvSlNPTiIsIHsKICAgICAgICAgICAgICAgIHZhbHVlOiB0ZW1wLAogICAgICAgICAgICAgICAgd3JpdGFibGU6IHRydWUsCiAgICAgICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZSwKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICB9KTsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuRXhpc3RzKE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IpICYmIGZuRXhpc3RzKERhdGUucHJvdG90eXBlLnRvSlNPTik7CiAgICB9Cn0pOwoK","id":"15.2.3.6-4-624"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTYzIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuNi8xNS4yLjMuNi00LTYzLmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5kZWZpbmVQcm9wZXJ0eSAtIGJvdGggZGVzYy52YWx1ZSBhbmQgbmFtZS52YWx1ZSBhcmUgTmFOICg4LjEyLjkgc3RlcCA2KSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIHZhciBvYmogPSB7fTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgImZvbyIsIHsgdmFsdWU6IE5hTiB9KTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgImZvbyIsIHsgdmFsdWU6IE5hTiB9KTsKCiAgICAgICAgaWYgKCFpc05hTihvYmouZm9vKSkgewogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfQoKICAgICAgICBvYmouZm9vID0gInZlcmlmeVZhbHVlIjsKICAgICAgICBpZiAob2JqLmZvbyA9PT0gInZlcmlmeVZhbHVlIikgewogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfQoKICAgICAgICBmb3IgKHZhciBwcm9wIGluIG9iaikgewogICAgICAgICAgICBpZiAob2JqLmhhc093blByb3BlcnR5KHByb3ApICYmIHByb3AgPT09ICJmb28iKSB7CiAgICAgICAgICAgICAgIC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aW9uID0gImRhdGEiOwogICAgICAgIHZhciBnZXRfZnVuYyA9IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgcmV0dXJuIG9iai52ZXJpZnlTZXRGdW5jdGlvbjsKICAgICAgICB9OwogICAgICAgIHZhciBzZXRfZnVuYyA9IGZ1bmN0aW9uICh2YWx1ZSkgewogICAgICAgICAgICBvYmoudmVyaWZ5U2V0RnVuY3Rpb24gPSB2YWx1ZTsKICAgICAgICB9OwogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICIwIiwgewogICAgICAgICAgICBnZXQ6IGdldF9mdW5jLAogICAgICAgICAgICBzZXQ6IHNldF9mdW5jLAogICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgIjAiLCB7CiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICB9KTsKCiAgICAgICAgcmV0dXJuIGFjY2Vzc29yUHJvcGVydHlBdHRyaWJ1dGVzQXJlQ29ycmVjdChvYmosICIwIiwgZ2V0X2Z1bmMsIHNldF9mdW5jLCAidmVyaWZ5U2V0RnVuY3Rpb24iLCB0cnVlLCBmYWxzZSk7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuRXhpc3RzKE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IpOwogICAgfQp9KTsK","id":"15.2.3.6-4-82-21"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTgyLTIyIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8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lpLjEpIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKCiAgICAgICAgdmFyIG9iaiA9IHt9OwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAiZm9vIiwgewogICAgICAgICAgICB2YWx1ZTogTmFOLAogICAgICAgICAgICB3cml0YWJsZTogZmFsc2UsCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICB9KTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgImZvbyIsIHsKICAgICAgICAgICAgdmFsdWU6IE5hTiwKICAgICAgICAgICAgd3JpdGFibGU6IGZhbHNlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgfSk7CgogICAgICAgIGlmICghaXNOYU4ob2JqLmZvbykpIHsKICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0KCiAgICAgICAgb2JqLmZvbyA9ICJ2ZXJpZnlWYWx1ZSI7CiAgICAgICAgaWYgKG9iai5mb28gPT09ICJ2ZXJpZnlWYWx1ZSIpIHsKICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0KCiAgICAgICAgZm9yICh2YXIgcHJvcCBpbiBvYmopIHsKICAgICAgICAgICAgaWYgKG9iai5oYXNPd25Qcm9wZXJ0eShwcm9wKSAmJiBwcm9wID09PSAiZm9vIikgewogICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICB9CiAgICAgICAgfQoKICAgICAgICBkZWxldGUgb2JqLmZvbzsKICAgICAgICBpZiAoIW9iai5oYXNPd25Qcm9wZXJ0eSgiZm9vIikpIHsKICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0KCiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-4-85"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTg2IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuNi8xNS4yLjMuNi00LTg2LmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5kZWZpbmVQcm9wZXJ0eSB3aWxsIHRocm93IFR5cGVFcnJvciB3aGVuIG5hbWUuY29uZmlndXJhYmxlID0gZmFsc2UsIG5hbWUud3JpdGFibGUgPSBmYWxzZSwgZGVzYy52YWx1ZSA9ICswIGFuZCBuYW1lLnZhbHVlID0gLTAgKDguMTIuOSBzdGVwIDEwLmEuaWkuMSkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICAgICAgICB2YXIgb2JqID0ge307CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJmb28iLCB7IAogICAgICAgICAgICB2YWx1ZTogLTAsIAogICAgICAgICAgICB3cml0YWJsZTogZmFsc2UsIAogICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlIAogICAgICAgIH0pOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAiZm9vIiwgeyB2YWx1ZTogKzAgfSk7CiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgIHJldHVybiBlIGluc3RhbmNlb2YgVHlwZUVycm9yICYmIGRhdGFQcm9wZXJ0eUF0dHJpYnV0ZXNBcmVDb3JyZWN0KG9iaiwgImZvbyIsIC0wLCBmYWxzZSwgZmFsc2UsIGZhbHNlKTsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsKCgo=","id":"15.2.3.6-4-86"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTg3IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuNi8xNS4yLjMuNi00LTg3LmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5kZWZpbmVQcm9wZXJ0eSB3aWxsIHRocm93IFR5cGVFcnJvciB3aGVuIG5hbWUuY29uZmlndXJhYmxlID0gZmFsc2UsIG5hbWUud3JpdGFibGUgPSBmYWxzZSwgZGVzYy52YWx1ZSA9IC0wIGFuZCBuYW1lLnZhbHVlID0gKzAgKDguMTIuOSBzdGVwIDEwLmEuaWkuMSkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICAgICAgICB2YXIgb2JqID0ge307CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJmb28iLCB7IAogICAgICAgICAgICB2YWx1ZTogKzAsIAogICAgICAgICAgICB3cml0YWJsZTogZmFsc2UsIAogICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlIAogICAgICAgIH0pOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAiZm9vIiwgeyB2YWx1ZTogLTAgfSk7CiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgIHJldHVybiBlIGluc3RhbmNlb2YgVHlwZUVycm9yICYmIGRhdGFQcm9wZXJ0eUF0dHJpYnV0ZXNBcmVDb3JyZWN0KG9iaiwgImZvbyIsICswLCBmYWxzZSwgZmFsc2UsIGZhbHNl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Ljkgc3RlcCAxMS5hLmkpIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKCiAgICAgICAgdmFyIG9iaiA9IHt9OwoKICAgICAgICBmdW5jdGlvbiBnZXRGdW5jKCkgewogICAgICAgICAgICByZXR1cm4gInByb3BlcnR5IjsKICAgICAgICB9CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wZXJ0eSIsIHsKICAgICAgICAgICAgZ2V0OiBnZXRGdW5jLAogICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgfSk7CgogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wZXJ0eSIsIHsKICAgICAgICAgICAgICAgIGdldDogZ2V0RnVuYywKICAgICAgICAgICAgICAgIHNldDogZnVuY3Rpb24gKCkgeyB9LAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgICAgICB9KTsKCiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgIHJldHVybiBlIGluc3RhbmNlb2YgVHlwZUVycm9yICYmCiAgICAgICAgICAgICAgICBhY2Nlc3NvclByb3BlcnR5QXR0cmlidXRlc0FyZUNvcnJlY3Qob2JqLCAicHJvcGVydHkiLCBnZXRGdW5jLCB1bmRlZmluZWQsIHVuZGVmaW5lZCwgZmFsc2UsIGZhbHNlKTsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuRXhpc3RzKE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IpOwogICAgfQp9KTs=","id":"15.2.3.6-4-97"},{"code":"RVM1SGFybmVzcy5yZWdpc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5R2V0SGVscE1ldGhvZCIsIGZhbHNlLCBmYWxzZSk7CiAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7","id":"15.2.3.6-4-98"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTk5IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuNi8xNS4yLjMuNi00LTk5LmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5kZWZpbmVQcm9wZXJ0eSB3aWxsIHRocm93IFR5cGVFcnJvciB3aGVuIG5hbWUuY29uZmlndXJhYmxlID0gZmFsc2UsIG5hbWUuW1tHZXRdXSBpcyB1bmRlZmluZWQsIGRlc2MuW1tHZXRdXSByZWZlcnMgdG8gYW4gb2JqY2V0ICg4LjEyLjkgc3RlcCAxMS5hLmlpKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIHZhciBvYmogPSB7fTsKCiAgICAgICAgZnVuY3Rpb24gc2V0RnVuYyh2YWx1ZSkgewogICAgICAgICAgICBvYmouc2V0VmVyaWZ5SGVscFByb3AgPSB2YWx1ZTsKICAgICAgICB9CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJmb28iLCB7CiAgICAgICAgICAgIHNldDogc2V0RnVuYywKICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgIH0pOwoKICAgICAgICBmdW5jdGlvbiBnZXRGdW5jKCkgewogICAgICAgICAgICByZXR1cm4gMTA7CiAgICAgICAgfQoKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAiZm9vIiwgewogICAgICAgICAgICAgICAgZ2V0OiBnZXRGdW5jLAogICAgICAgICAgICAgICAgc2V0OiBzZXRGdW5jCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICByZXR1cm4gZSBpbnN0YW5jZW9mIFR5cGVFcnJvciAmJiBhY2Nlc3NvclByb3BlcnR5QXR0cmlidXRlc0FyZUNvcnJlY3Qob2JqLCAiZm9vIiwgdW5kZWZpbmVkLCBzZXRGdW5jLCAic2V0VmVyaWZ5SGVscFByb3AiLCBmYWxzZSwgZmFsc2UpOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSk7CiAgICB9Cn0pOw==","id":"15.2.3.6-4-99"}]}} \ No newline at end of file +{"testsCollection":{"name":"Chapter - 15.2.3.6","numTests":"1076","tests":[{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxNS4yLjMuNi0wLTEiLAoKcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtMC0xLmpzIiwKCmRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IG11c3QgZXhpc3QgYXMgYSBmdW5jdGlvbiIsCgp0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICB2YXIgZiA9IE9iamVjdC5kZWZpbmVQcm9wZXJ0eTsKICBpZiAodHlwZW9mKGYpID09PSAiZnVuY3Rpb24iKSB7CiAgICByZXR1cm4gdHJ1ZTsKICB9CiB9Cn0pOwo=","id":"15.2.3.6-0-1"},{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AgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-1-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi0xLTIiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjIvMTUuMi4zLzE1LjIuMy42LzE1LjIuMy42LTEtMi5qcyIsCgogICAgZGVzY3JpcHRpb246ICJPYmplY3QuZGVmaW5lUHJvcGVydHkgYXBwbGllZCB0byBudWxsIHRocm93cyBhIFR5cGVFcnJvciIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG51bGwsICJmb28iLCB7fSk7CiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgIHJldHVybiBlIGluc3RhbmNlb2YgVHlwZUVycm9yOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSk7CiAgICB9Cn0pOwo=","id":"15.2.3.6-1-2"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi0xLTMiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjIvMTUuMi4zLzE1LjIuMy42LzE1LjIuMy42LTEtMy5qcyIsCgogICAgZGVzY3JpcHRpb246ICJPYmplY3QuZGVmaW5lUHJvcGVydHkgYXBwbGllZCB0byBudW1iZXIgcHJpbWl0aXZlIHRocm93cyBhIFR5cGVFcnJvciIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KDUsICJmb28iLCB7fSk7CiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgIHJldHVybiBlIGluc3RhbmNlb2YgVHlwZUVycm9yOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSk7CiAgICB9Cn0pOwo=","id":"15.2.3.6-1-3"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi0xLTQiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjIvMTUuMi4zLzE1LjIuMy42LzE1LjIuMy42LTEtNC5qcyIsCgogICAgZGVzY3JpcHRpb246ICJPYmplY3QuZGVmaW5lUHJvcGVydHkgYXBwbGllZCB0byBzdHJpbmcgcHJpbWl0aXZlIHRocm93cyBhIFR5cGVFcnJvciIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KCJoZWxsb1xud29ybGRcXCEiLCAiZm9vIiwge30pOwogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICByZXR1cm4gZSBpbnN0YW5jZW9mIFR5cGVFcnJvcjsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVma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ogICAgICAgICAgICAgICAgdG9TdHJpbmdBY2Nlc3NlZCA9IHRydWU7CiAgICAgICAgICAgICAgICByZXR1cm4gInRlc3QiOwogICAgICAgICAgICB9CiAgICAgICAgfTsKCiAgICAgICAgdmFyIENvbnN0cnVjdEZ1biA9IGZ1bmN0aW9uICgpIHsgfTsKICAgICAgICBDb25zdHJ1Y3RGdW4ucHJvdG90eXBlID0gcHJvdG87CgogICAgICAgIHZhciBjaGlsZCA9IG5ldyBDb25zdHJ1Y3RGdW4oKTsKICAgICAgICBjaGlsZC52YWx1ZU9mID0gZnVuY3Rpb24gKCkgewogICAgICAgICAgICB2YWx1ZU9mQWNjZXNzZWQgPSB0cnVlOwogICAgICAgICAgICByZXR1cm4gIjEwIjsKICAgICAgICB9OwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCBjaGlsZCwge30pOwoKICAgICAgICByZXR1cm4gb2JqLmhhc093blByb3BlcnR5KCJ0ZXN0IikgJiYgIXZhbHVlT2ZBY2Nlc3NlZCAmJiB0b1N0cmluZ0FjY2Vzc2VkOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-2-48"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi0yLTUiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjIvMTUuMi4zLzE1LjIuMy42LzE1LjIuMy42LTItNS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJPYmplY3QuZGVmaW5lUHJvcGVydHkgLSBhcmd1bWVudCAnUCcgaXMgYSBudW1iZXIgdGhhdCBjb252ZXJ0cyB0byBhIHN0cmluZyAodmFsdWUgaXMgTmFOKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIG9iaiA9IHt9OwogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosIE5hTiwge30pOwoKICAgICAgICByZXR1cm4gb2JqLmhhc093blByb3BlcnR5KCJOYU4iKTsKCiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-2-5"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi0yLTYiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjIvMTUuMi4zLzE1LjIuMy42LzE1LjIuMy42LTItNi5qcyIsCgogICAgZGVzY3JpcHRpb246ICJPYmplY3QuZGVmaW5lUHJvcGVydHkgLSBhcmd1bWVudCAnUCcgaXMgYSBudW1iZXIgdGhhdCBjb252ZXJ0cyB0byBhIHN0cmluZyAodmFsdWUgaXMgMCkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBvYmogPSB7fTsKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAwLCB7fSk7CgogICAgICAgIHJldHVybiBvYmouaGFzT3duUHJvcGVydHkoIjAiKTsKCiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-2-6"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi0yLTciLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjIvMTUuMi4zLzE1Lj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AgICAgICAgICAgICAgICByZXR1cm4gYSArIGI7CiAgICAgICAgICAgIH07CgogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcGVydHkiLCBmdW5PYmopOwoKICAgICAgICAgICAgdmFyIGJlZm9yZVdyaXRlID0gb2JqLmhhc093blByb3BlcnR5KCJwcm9wZXJ0eSIpOwoKICAgICAgICAgICAgb2JqLnByb3BlcnR5ID0gImlzV3JpdGFibGUiOwoKICAgICAgICAgICAgdmFyIGFmdGVyV3JpdGUgPSAob2JqLnByb3BlcnR5ID09PSAiaXNXcml0YWJsZSIpOwoKICAgICAgICAgICAgcmV0dXJuIGJlZm9yZVdyaXRlID09PSB0cnVlICYmIGFmdGVyV3JpdGUgPT09IHRydWU7CiAgICAgICAgfSBmaW5hbGx5IHsKICAgICAgICAgICAgZGVsZXRlIEZ1bmN0aW9uLnByb3RvdHlwZS53cml0YWJsZTsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-3-165-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi0zLTE2NSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtMy0xNjUuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gJ0F0dHJpYnV0ZXMnIGlzIGEgRnVuY3Rpb24gb2JqZWN0IHdoaWNoIGltcGxlbWVudHMgaXRzIG93biBbW0dldF1dIG1ldGhvZCB0byBhY2Nlc3MgdGhlICd3cml0YWJsZScgcHJvcGVydHkgICg4LjEwLjUgc3RlcCA2LmEpIiwKCiAgICB0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gICAgICAgICB2YXIgYmVmb3JlV3JpdGUgPSBvYmouaGFzT3duUHJvcGVydHkoInByb3BlcnR5Iik7CgogICAgICAgICAgICBvYmoucHJvcGVydHkgPSAiaXNXcml0YWJsZSI7CgogICAgICAgICAgICB2YXIgYWZ0ZXJXcml0ZSA9IChvYmoucHJvcGVydHkgPT09ICJpc1dyaXRhYmxlIik7CgogICAgICAgICAgICByZXR1cm4gYmVmb3JlV3JpdGUgPT09IHRydWUgJiYgYWZ0ZXJXcml0ZSA9PT0gdHJ1ZTsKICAgICAgICB9IGZpbmFsbHkgewogICAgICAgICAgICBkZWxldGUgT2JqZWN0LnByb3RvdHlwZS53cml0YWJsZTsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-3-173-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi0zLTE3MyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtMy0xNzMuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gJ0F0dHJpYnV0ZXMnIGlzIHRoZSBKU09OIG9iamVjdCB0aGF0IHVzZXMgT2JqZWN0J3MgW1tHZXRdXSBtZXRob2QgdG8gYWNjZXNzIHRoZSAnd3JpdGFibGUnIHByb3BlcnR5ICAoOC4xMC41IHN0ZXAgNi5hKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIG9iaiA9IHt9OwoKICAgICAgICB0cnkgewogICAgICAgICAgICBKU09OLndyaXRhYmxlID0gdHJ1ZTsKCiAgICAgICAgICAgIE9iam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1dIG1ldGhvZCB0byBhY2Nlc3MgdGhlICd3cml0YWJsZScgcHJvcGVydHkgb2YgcHJvdG90eXBlIG9iamVjdCAoOC4xMC41IHN0ZXAgNi5iKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIG9iaiA9IHt9OwogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5wcm90b3R5cGUud3JpdGFibGUgPSB0cnVlOwoKICAgICAgICAgICAgdmFyIGFyZ09iaiA9IChmdW5jdGlvbiAoKSB7IHJldHVybiBhcmd1bWVudHM7IH0pKCk7CgogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcGVydHkiLCBhcmdPYmopOwoKICAgICAgICAgICAgdmFyIGJlZm9yZVdyaXRlID0gb2JqLmhhc093blByb3BlcnR5KCJwcm9wZXJ0eSIpOwoKICAgICAgICAgICAgb2JqLnByb3BlcnR5ID0gImlzV3JpdGFibGUiOwoKICAgICAgICAgICAgdmFyIGFmdGVyV3JpdGUgPSAob2JqLnByb3BlcnR5ID09PSAiaXNXcml0YWJsZSIpOwoKICAgICAgICAgICAgcmV0dXJuIGJlZm9yZVdyaXRlID09PSB0cnVlICYmIGFmdGVyV3JpdGUgPT09IHRydWU7CiAgICAgICAgfSBmaW5hbGx5IHsKICAgICAgICAgICAgZGVsZXRlIE9iamVjdC5wcm90b3R5cGUud3JpdGFibGU7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-3-175-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi0zLTE3NSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi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KICAgICAgICAgICAgfQogICAgICAgIH0pOwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcGVydHkiLCBjaGlsZCk7CgogICAgICAgIHJldHVybiBvYmoucHJvcGVydHkgPT09ICJvd25EYXRhUHJvcGVydHkiOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-3-210"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi0zLTIxMSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtMy0yMTEuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gJ2dldCcgcHJvcGVydHkgaW4gJ0F0dHJpYnV0ZXMnIGlzIG93biBhY2Nlc3NvciBwcm9wZXJ0eSAoOC4xMC41IHN0ZXAgNy5hKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIG9iaiA9IHt9OwoKICAgICAgICB2YXIgYXR0cmlidXRlcyA9IHt9OwogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhdHRyaWJ1dGVzLCAiZ2V0IiwgewogICAgICAgICAgICBnZXQ6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgIHJldHVybiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICAgICAgcmV0dXJuICJvd25BY2Nlc3NvclByb3BlcnR5IjsKICAgICAgICAgICAgICAgIH07CiAgICAgICAgICAgIH0KICAgICAgICB9KTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3Bl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PSB7fTsKICAgICAgICB2YXIgcHJvdG8gPSB7fTsKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkocHJvdG8sICJnZXQiLCB7CiAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgcmV0dXJuIGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgICAgICByZXR1cm4gImluaGVyaXRlZEFjY2Vzc29yUHJvcGVydHkiOwogICAgICAgICAgICAgICAgfTsKICAgICAgICAgICAgfQogICAgICAgIH0pOwoKICAgICAgICB2YXIgQ29uc3RydWN0RnVuID0gZnVuY3Rpb24gKCkgeyB9OwogICAgICAgIENvbnN0cnVjdEZ1bi5wcm90b3R5cGUgPSBwcm90bzsKCiAgICAgICAgdmFyIGNoaWxkID0gbmV3IENvbnN0cnVjdEZ1bigpOwogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShjaGlsZCwgImdldCIsIHsKICAgICAgICAgICAgZ2V0OiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgICAgIHJldHVybiAib3duQWNjZXNzb3JQcm9wZXJ0eSI7CiAgICAgICAgICAgICAgICB9OwogICAgICAgICAgICB9CiAgICAgICAgfSk7CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wZXJ0eSIsIGNoaWxkKTsKCiAgICAgICAgcmV0dXJuIG9iai5wcm9wZXJ0eSA9PT0gIm93bkFjY2Vzc29yUHJvcGVydHkiOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-3-214"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi0zLT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YmogPSB7fTsKICAgICAgICB0cnkgewogICAgICAgICAgICBCb29sZWFuLnByb3RvdHlwZS5nZXQgPSBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gImJvb2xlYW5HZXRQcm9wZXJ0eSI7CiAgICAgICAgICAgIH07CiAgICAgICAgICAgIHZhciBib29sT2JqID0gbmV3IEJvb2xlYW4odHJ1ZSk7CgogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcGVydHkiLCBib29sT2JqKTsKCiAgICAgICAgICAgIHJldHVybiBvYmoucHJvcGVydHkgPT09ICJib29sZWFuR2V0UHJvcGVydHkiOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIGRlbGV0ZSBCb29sZWFuLnByb3RvdHlwZS5nZXQ7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-3-221-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi0zLTIyMSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtMy0yMjEuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gJ0F0dHJpYnV0ZXMnIGlzIGEgQm9vbGVhbiBvYmplY3QgdGhhdCB1c2VzIE9iamVjdCdzIFtbR2V0XV0gbWV0aG9kIHRvIGFjY2VzcyB0aGUgJ2dldCcgcHJvcGVydHkgKDguMTAuNSBzdGVwIDcuYSkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBvYmogPSB7fTsKCiAg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eSI7CiAgICAgICAgICAgIH07CiAgICAgICAgICAgIHZhciBudW1PYmogPSBuZXcgTnVtYmVyKC0yKTsKCiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wZXJ0eSIsIG51bU9iaik7CgogICAgICAgICAgICByZXR1cm4gb2JqLnByb3BlcnR5ID09PSAibnVtYmVyR2V0UHJvcGVydHkiOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIGRlbGV0ZSBOdW1iZXIucHJvdG90eXBlLmdldDsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-3-222-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi0zLTIyMiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtMy0yMjIuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gJ0F0dHJpYnV0ZXMnIGlzIGEgTnVtYmVyIG9iamVjdCB0aGF0IHVzZXMgT2JqZWN0J3MgW1tHZXRdXSBtZXRob2QgdG8gYWNjZXNzIHRoZSAnZ2V0JyBwcm9wZXJ0eSAoOC4xMC41IHN0ZXAgNy5hKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIG9iaiA9IHt9OwoKICAgICAgICB2YXIgbnVtT2JqID0gbmV3IE51bWJlcigtMik7CgogICAgICAgIG51bU9iai5nZXQgPSBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgIHJldHVybiAibnVtYmVyR2V0UHJvcGVydHkiOwogICAgICAgIH07Cgog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ICAgIHZhciBvYmogPSB7fTsKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QucHJvdG90eXBlLmdldCA9IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgIHJldHVybiAiYXJndW1lbnRHZXRQcm9wZXJ0eSI7CiAgICAgICAgICAgIH07CiAgICAgICAgICAgIHZhciBhcmdPYmogPSAoZnVuY3Rpb24gKCkgeyByZXR1cm4gYXJndW1lbnRzOyB9KSgpOwoKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3BlcnR5IiwgYXJnT2JqKTsKCiAgICAgICAgICAgIHJldHVybiBvYmoucHJvcGVydHkgPT09ICJhcmd1bWVudEdldFByb3BlcnR5IjsKICAgICAgICB9IGZpbmFsbHkgewogICAgICAgICAgICBkZWxldGUgT2JqZWN0LnByb3RvdHlwZS5nZXQ7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-3-228-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi0zLTIyOCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtMy0yMjguanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gJ0F0dHJpYnV0ZXMnIGlzIGFuIEFyZ3VtZW50cyBvYmplY3Qgd2hpY2ggaW1wbGVtZW50cyBpdHMgb3duIFtbR2V0XV0gbWV0aG9kIHRvIGFjY2VzcyB0aGUgJ2dldCcgcHJvcGVydHkgKDguMTAuNSBzdGVwIDcuYSkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHR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WZpbmVkCiAgICAgICAgfSk7CgogICAgICAgIHJldHVybiBvYmouaGFzT3duUHJvcGVydHkoInByb3BlcnR5IikgJiYgdHlwZW9mIG9iai5wcm9wZXJ0eSA9PT0gInVuZGVmaW5lZCI7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-3-231"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi0zLTIzMiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtMy0yMzIuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gdmFsdWUgb2YgJ2dldCcgcHJvcGVydHkgaW4gJ0F0dHJpYnV0ZXMnIGlzIGEgZnVuY3Rpb24gKDguMTAuNSBzdGVwIDcuYikiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBvYmogPSB7fTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3BlcnR5IiwgewogICAgICAgICAgICBnZXQ6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgIHJldHVybiAiZ2V0RnVuY3Rpb24iOwogICAgICAgICAgICB9CiAgICAgICAgfSk7CgogICAgICAgIHJldHVybiBvYmouaGFzT3duUHJvcGVydHkoInByb3BlcnR5IikgJiYgb2JqLnByb3BlcnR5ID09PSAiZ2V0RnVuY3Rpb24iOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3Bl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Byb3BlcnR5IHRoYXQgb3ZlcnJpZGVzIGFuIGluaGVyaXRlZCBkYXRhIHByb3BlcnR5ICg4LjEwLjUgc3RlcCA4LmEpIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgb2JqID0ge307CiAgICAgICAgdmFyIGRhdGExID0gImRhdGEiOwogICAgICAgIHZhciBkYXRhMiA9ICJkYXRhIjsKICAgICAgICB2YXIgcHJvdG8gPSB7CiAgICAgICAgICAgIHNldDogZnVuY3Rpb24gKHZhbHVlKSB7CiAgICAgICAgICAgICAgICBkYXRhMSA9IHZhbHVlOwogICAgICAgICAgICB9CiAgICAgICAgfTsKCiAgICAgICAgdmFyIENvbnN0cnVjdEZ1biA9IGZ1bmN0aW9uICgpIHsgfTsKICAgICAgICBDb25zdHJ1Y3RGdW4ucHJvdG90eXBlID0gcHJvdG87CgogICAgICAgIHZhciBjaGlsZCA9IG5ldyBDb25zdHJ1Y3RGdW4oKTsKICAgICAgICBjaGlsZC5zZXQgPSBmdW5jdGlvbiAodmFsdWUpIHsKICAgICAgICAgICAgZGF0YTIgPSB2YWx1ZTsKICAgICAgICB9OwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcGVydHkiLCBjaGlsZCk7CgogICAgICAgIG9iai5wcm9wZXJ0eSA9ICJvdmVycmlkZURhdGEiOwoKICAgICAgICByZXR1cm4gb2JqLmhhc093blByb3BlcnR5KCJwcm9wZXJ0eSIpICYmIGRhdGExID09PSAiZGF0YSIgJiYgZGF0YTIgPT09ICJvdmVycmlkZURhdGEiOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-3-239"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAga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CgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIG9iaiA9IHt9OwogICAgICAgIHZhciBwcm90byA9IHt9OwogICAgICAgIHZhciBkYXRhID0gImRhdGEiOwogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShwcm90bywgInNldCIsIHsKICAgICAgICAgICAgZ2V0OiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZnVuY3Rpb24gKHZhbHVlKSB7CiAgICAgICAgICAgICAgICAgICAgZGF0YSA9IHZhbHVlOwogICAgICAgICAgICAgICAgfTsKICAgICAgICAgICAgfQogICAgICAgIH0pOwoKICAgICAgICB2YXIgQ29uc3RydWN0RnVuID0gZnVuY3Rpb24gKCkgeyB9OwogICAgICAgIENvbnN0cnVjdEZ1bi5wcm90b3R5cGUgPSBwcm90bzsKCiAgICAgICAgdmFyIGNoaWxkID0gbmV3IENvbnN0cnVjdEZ1bigpOwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcGVydHkiLCBjaGlsZCk7CiAgICAgICAgb2JqLnByb3BlcnR5ID0gImluaGVyaXRlZEFjY2Vzc29yUHJvcGVydHkiOwoKICAgICAgICByZXR1cm4gb2JqLmhhc093blByb3BlcnR5KCJwcm9wZXJ0eSIpICYmIGRhdGEgPT09ICJpbmhlcml0ZWRBY2Nlc3NvclByb3BlcnR5IjsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSk7CiAgICB9Cn0pOwo=","id":"15.2.3.6-3-242"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi0zLTI0MyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMT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AgICAgIH0KICAgICAgICB9KTsKCiAgICAgICAgdmFyIENvbnN0cnVjdEZ1biA9IGZ1bmN0aW9uICgpIHsgfTsKICAgICAgICBDb25zdHJ1Y3RGdW4ucHJvdG90eXBlID0gcHJvdG87CgogICAgICAgIHZhciBjaGlsZCA9IG5ldyBDb25zdHJ1Y3RGdW4oKTsKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoY2hpbGQsICJzZXQiLCB7CiAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgcmV0dXJuIGZ1bmN0aW9uICh2YWx1ZSkgewogICAgICAgICAgICAgICAgICAgIGRhdGEyID0gdmFsdWU7CiAgICAgICAgICAgICAgICB9OwogICAgICAgICAgICB9CiAgICAgICAgfSk7CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wZXJ0eSIsIGNoaWxkKTsKICAgICAgICBvYmoucHJvcGVydHkgPSAib3duQWNjZXNzb3JQcm9wZXJ0eSI7CgogICAgICAgIHJldHVybiBvYmouaGFzT3duUHJvcGVydHkoInByb3BlcnR5IikgJiYgZGF0YTEgPT09ICJkYXRhIiAmJiBkYXRhMiA9PT0gIm93bkFjY2Vzc29yUHJvcGVydHkiOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-3-244"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi0zLTI0NSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtMy0yNDUuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gJ3NldC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Qcm9wZXJ0eShwcm90bywgImVudW1lcmFibGUiLCB7CiAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICB9CiAgICAgICAgfSk7CgogICAgICAgIHZhciBDb25zdHJ1Y3RGdW4gPSBmdW5jdGlvbiAoKSB7IH07CiAgICAgICAgQ29uc3RydWN0RnVuLnByb3RvdHlwZSA9IHByb3RvOwoKICAgICAgICB2YXIgY2hpbGQgPSBuZXcgQ29uc3RydWN0RnVuKCk7CiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGNoaWxkLCAiZW51bWVyYWJsZSIsIHsKICAgICAgICAgICAgdmFsdWU6ICB0cnVlCiAgICAgICAgfSk7CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wZXJ0eSIsIGNoaWxkKTsKCiAgICAgICAgZm9yICh2YXIgcHJvcCBpbiBvYmopIHsKICAgICAgICAgICAgaWYgKHByb3AgPT09ICJwcm9wZXJ0eSIpIHsKICAgICAgICAgICAgICAgIGFjY2Vzc2VkID0gdHJ1ZTsKICAgICAgICAgICAgfQogICAgICAgIH0KCiAgICAgICAgcmV0dXJuIGFjY2Vzc2VkOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-3-25"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi0zLTI1MC0xIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuNi8xNS4yLjMuNi0zLTI1MC0xLmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5kZWZpbmVQcm9wZXJ0eSAtICdBdHRyaWJ1dGVzJyBpcyBhIFN0cmluZyBvYmplY3QgdGhhdCB1c2VzIE9iamVjdCdzIFtbR2V0XV0gbWV0aG9kIHRvIGFjY2VzcyB0aGUgJ3NldCcgcHJvcGVydHkgb2YgcHJvdG90eXBlIG9iamVjdCAoOC4xMC41IHN0ZXAgOC5hKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIG9iaiA9IHt9OwogICAgICAgIHRyeSB7CiAgICAgICAgICAgIFN0cmluZy5wcm90b3R5cGUuc2V0ID0gZnVuY3Rpb24gKHZhbHVlKSB7CiAgICAgICAgICAgICAgICBkYXRhID0gdmFsdWU7CiAgICAgICAgICAgIH07CiAgICAgICAgICAgIHZhciBzdHJPYmogPSBuZXcgU3RyaW5nKCk7CiAgICAgICAgICAgIHZhciBkYXRhID0gImRhdGEiOwoKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3BlcnR5Iiwgc3RyT2JqKTsKICAgICAgICAgICAgb2JqLnByb3BlcnR5ID0gIm92ZXJyaWRlRGF0YSI7CgogICAgICAgICAgICByZXR1cm4gb2JqLmhhc093blByb3BlcnR5KCJwcm9wZXJ0eSIpICYmIGRhdGEgPT09ICJvdmVycmlkZURhdGEiOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIGRlbGV0ZSBTdHJpbmcucHJvdG90eXBlLnNldDsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-3-250-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi0zLTI1MCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xN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wdGlvbjogIk9iamVjdC5kZWZpbmVQcm9wZXJ0eSAtICdBdHRyaWJ1dGVzJyBpcyBhIEJvb2xlYW4gb2JqZWN0IHRoYXQgdXNlcyBPYmplY3QncyBbW0dldF1dIG1ldGhvZCB0byBhY2Nlc3MgdGhlICdzZXQnIHByb3BlcnR5IG9mIHByb3RvdHlwZSBvYmplY3QgKDguMTAuNSBzdGVwIDguYSkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBvYmogPSB7fTsKICAgICAgICB2YXIgZGF0YSA9ICJkYXRhIjsKICAgICAgICB0cnkgewogICAgICAgICAgICBCb29sZWFuLnByb3RvdHlwZS5zZXQgPSBmdW5jdGlvbiAodmFsdWUpIHsKICAgICAgICAgICAgICAgIGRhdGEgPSB2YWx1ZTsKICAgICAgICAgICAgfTsKICAgICAgICAgICAgdmFyIGJvb2xPYmogPSBuZXcgQm9vbGVhbih0cnVlKTsKCiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wZXJ0eSIsIGJvb2xPYmopOwogICAgICAgICAgICBvYmoucHJvcGVydHkgPSAib3ZlcnJpZGVEYXRhIjsKCiAgICAgICAgICAgIHJldHVybiBvYmouaGFzT3duUHJvcGVydHkoInByb3BlcnR5IikgJiYgZGF0YSA9PT0gIm92ZXJyaWRlRGF0YSI7CiAgICAgICAgfSBmaW5hbGx5IHsKICAgICAgICAgICAgZGVsZXRlIEJvb2xlYW4ucHJvdG90eXBlLnNldDsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-3-251-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi0zLTI1MSIsCgogIC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wZXJ0eSA9ICJvdmVycmlkZURhdGEiOwoKICAgICAgICByZXR1cm4gb2JqLmhhc093blByb3BlcnR5KCJwcm9wZXJ0eSIpICYmIGRhdGEgPT09ICJvdmVycmlkZURhdGEiOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-3-258"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi0zLTI2IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuNi8xNS4yLjMuNi0zLTI2LmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5kZWZpbmVQcm9wZXJ0eSAtICdlbnVtZXJhYmxlJyBwcm9wZXJ0eSBpbiAnQXR0cmlidXRlcycgaXMgb3duIGFjY2Vzc29yIHByb3BlcnR5ICg4LjEwLjUgc3RlcCAzLmEpIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgb2JqID0ge307CiAgICAgICAgdmFyIGFjY2Vzc2VkID0gZmFsc2U7CgogICAgICAgIHZhciBhdHRyID0ge307CiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGF0dHIsICJlbnVtZXJhYmxlIiwgewogICAgICAgICAgICBnZXQ6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgIHJldHVybiB0cnVlOwogICAgICAgICAgICB9CiAgICAgICAgfSk7CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wZXJ0eSIsIGF0dHIpOwoKICAgICAgICBmb3IgKHZhciBwcm9wIGluIG9iaikgewogICAgICAgICAgICBpZiAocHJvcCA9PT0gInByb3Blcn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hc093blByb3BlcnR5KCJwcm9wZXJ0eSIpICYmIGRhdGEgPT09ICJvdmVycmlkZURhdGEiOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIGRlbGV0ZSBmbkdsb2JhbE9iamVjdCgpLnNldDsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-3-260"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi0zLTI2MSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtMy0yNjEuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gdmFsdWUgb2YgJ3NldCcgcHJvcGVydHkgaW4gJ0F0dHJpYnV0ZXMnIGlzIHVuZGVmaW5lZCAoOC4xMC41IHN0ZXAgOC5iKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIG9iaiA9IHt9OwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcGVydHkiLCB7CiAgICAgICAgICAgIHNldDogdW5kZWZpbmVkCiAgICAgICAgfSk7CgogICAgICAgIG9iai5wcm9wZXJ0eSA9ICJvdmVycmlkZURhdGEiOwogICAgICAgIHZhciBkZXNjID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wZXJ0eSIpOwogICAgICAgIHJldHVybiBvYmouaGFzT3duUHJvcGVydHkoInByb3BlcnR5IikgJiYgdHlwZW9mIG9iai5wcm9wZXJ0eSA9PT0gInVuZGVmaW5lZCIgJiYKICAgICAgICAgICAg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ICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-3-262"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi0zLTI3IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuNi8xNS4yLjMuNi0zLTI3LmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5kZWZpbmVQcm9wZXJ0eSAtICdlbnVtZXJhYmxlJyBwcm9wZXJ0eSBpbiAnQXR0cmlidXRlcycgaXMgYW4gaW5oZXJpdGVkIGFjY2Vzc29yIHByb3BlcnR5ICg4LjEwLjUgc3RlcCAzLmEpIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgb2JqID0ge307CiAgICAgICAgdmFyIGFjY2Vzc2VkID0gZmFsc2U7CgogICAgICAgIHZhciBwcm90byA9IHt9OwogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShwcm90bywgImVudW1lcmFibGUiLCB7CiAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgcmV0dXJuIHRydWU7CiAgICAgICAgICAgIH0KICAgICAgICB9KTsKCiAgICAgICAgdmFyIENvbnN0cnVjdEZ1biA9IGZ1bmN0aW9uICgpIHsgfTsKICAgICAgICBDb25zdHJ1Y3RGdW4ucHJvdG90eXBlID0gcHJvdG87CgogICAgICAgIHZhciBjaGlsZCA9IG5ldyBDb25zdHJ1Y3RGdW4oKTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3BlcnR5IiwgY2hpbGQpOwoKICAgICAgICBmb3IgKHZhciBwcm9wIGluIG9iaikgewogICAgICAgICAgICBpZiAocHJvcCA9PT0gInByb3BlcnR5IikgewogICAg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HkocHJvdG8sICJlbnVtZXJhYmxlIiwgewogICAgICAgICAgICBnZXQ6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfQogICAgICAgIH0pOwoKICAgICAgICB2YXIgQ29uc3RydWN0RnVuID0gZnVuY3Rpb24gKCkgeyB9OwogICAgICAgIENvbnN0cnVjdEZ1bi5wcm90b3R5cGUgPSBwcm90bzsKCiAgICAgICAgdmFyIGNoaWxkID0gbmV3IENvbnN0cnVjdEZ1bigpOwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoY2hpbGQsICJlbnVtZXJhYmxlIiwgewogICAgICAgICAgICBnZXQ6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgIHJldHVybiB0cnVlOwogICAgICAgICAgICB9CiAgICAgICAgfSk7CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wZXJ0eSIsIGNoaWxkKTsKCiAgICAgICAgZm9yICh2YXIgcHJvcCBpbiBvYmopIHsKICAgICAgICAgICAgaWYgKHByb3AgPT09ICJwcm9wZXJ0eSIpIHsKICAgICAgICAgICAgICAgIGFjY2Vzc2VkID0gdHJ1ZTsKICAgICAgICAgICAgfQogICAgICAgIH0KICAgICAgICByZXR1cm4gYWNjZXNzZWQ7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-3-29"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxNS4yLjMuNi0zLTMiLAoKcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtMy0zLmpzIiwKCmRlc2NyaXB0aW9uOiAiT2JqZWN0Lm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C41IHN0ZXAgMy5hKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIG9iaiA9IHt9OwogICAgICAgIHZhciBhY2Nlc3NlZCA9IGZhbHNlOwogICAgICAgIHZhciBwcm90byA9IHt9OwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkocHJvdG8sICJlbnVtZXJhYmxlIiwgewogICAgICAgICAgICBnZXQ6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgIHJldHVybiB0cnVlOwogICAgICAgICAgICB9CiAgICAgICAgfSk7CgogICAgICAgIHZhciBDb25zdHJ1Y3RGdW4gPSBmdW5jdGlvbiAoKSB7IH07CiAgICAgICAgQ29uc3RydWN0RnVuLnByb3RvdHlwZSA9IHByb3RvOwoKICAgICAgICB2YXIgY2hpbGQgPSBuZXcgQ29uc3RydWN0RnVuKCk7CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShjaGlsZCwgImVudW1lcmFibGUiLCB7CiAgICAgICAgICAgIHNldDogZnVuY3Rpb24gKCkgeyB9CiAgICAgICAgfSk7CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wZXJ0eSIsIGNoaWxkKTsKCiAgICAgICAgZm9yICh2YXIgcHJvcCBpbiBvYmopIHsKICAgICAgICAgICAgaWYgKHByb3AgPT09ICJwcm9wZXJ0eSIpIHsKICAgICAgICAgICAgICAgIGFjY2Vzc2VkID0gdHJ1ZTsKICAgICAgICAgICAgfQogICAgICAgIH0KICAgICAgICByZXR1cm4gIWFjY2Vzc2VkOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-3-31"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICA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cHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-3-32"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi0zLTMzLTEiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjIvMTUuMi4zLzE1LjIuMy42LzE1LjIuMy42LTMtMzMtMS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJPYmplY3QuZGVmaW5lUHJvcGVydHkgLSAnQXR0cmlidXRlcycgaXMgYSBGdW5jdGlvbiBvYmplY3Qgd2hpY2ggaW1wbGVtZW50cyBpdHMgb3duIFtbR2V0XV0gbWV0aG9kIHRvIGFjY2VzcyB0aGUgJ2VudW1lcmFibGUnIHByb3BlcnR5IG9mIHByb3RvdHlwZSBvYmplY3QgKDguMTAuNSBzdGVwIDMuYSkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBvYmogPSB7fTsKICAgICAgICB2YXIgYWNjZXNzZWQgPSBmYWxzZTsKICAgICAgICB0cnkgewogICAgICAgICAgICBGdW5jdGlvbi5wcm90b3R5cGUuZW51bWVyYWJsZSA9IHRydWU7CiAgICAgICAgICAgIHZhciBmdW4gPSBmdW5jdGlvbiAoKSB7IH07CgogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcGVydHkiLCBmdW4pOwoKICAgICAgICAgICAgZm9yICh2YXIgcHJvcCBpbiBvYmopIHsKICAgICAgICAgICAgICAgIGlmIChwcm9wID09PSAicHJvcGVydHkiKSB7CiAgICAgICAgICAgICAgICAgICAgYWNjZXNzZWQgPSB0cnVlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CgogICAgICAgICAgICByZXR1cm4gYWNjZXNzZWQ7CiAgICAgICAgfSBmaW5hbGx5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gIHJldHVybiBhY2Nlc3NlZDsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSk7CiAgICB9Cn0pOwo=","id":"15.2.3.6-3-33"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi0zLTM0LTEiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjIvMTUuMi4zLzE1LjIuMy42LzE1LjIuMy42LTMtMzQtMS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJPYmplY3QuZGVmaW5lUHJvcGVydHkgLSAnQXR0cmlidXRlcycgaXMgYW4gQXJyYXkgb2JqZWN0IHRoYXQgdXNlcyBPYmplY3QncyBbW0dldF1dIG1ldGhvZCB0byBhY2Nlc3MgdGhlICdlbnVtZXJhYmxlJyBwcm9wZXJ0eSBvZiBwcm90b3R5cGUgb2JqZWN0ICg4LjEwLjUgc3RlcCAzLmEpIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgb2JqID0ge307CiAgICAgICAgdmFyIGFjY2Vzc2VkID0gZmFsc2U7CiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgQXJyYXkucHJvdG90eXBlLmVudW1lcmFibGUgPSB0cnVlOwogICAgICAgICAgICB2YXIgYXJyT2JqID0gW107CgogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcGVydHkiLCBhcnJPYmopOwoKICAgICAgICAgICAgZm9yICh2YXIgcHJvcCBpbiBvYmopIHsKICAgICAgICAgICAgICAgIGlmIChwcm9wID09PSAicHJvcGVydHkiKSB7CiAgICAgICAgICAgICAgICAgICAgYWNjZXNzZWQgPSB0cnVlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9C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BpZiAocHJvcCA9PT0gInByb3BlcnR5IikgewogICAgICAgICAgICAgICAgYWNjZXNzZWQgPSB0cnVlOwogICAgICAgICAgICB9CiAgICAgICAgfQoKICAgICAgICByZXR1cm4gYWNjZXNzZWQ7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-3-35"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi0zLTM2LTEiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjIvMTUuMi4zLzE1LjIuMy42LzE1LjIuMy42LTMtMzYtMS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJPYmplY3QuZGVmaW5lUHJvcGVydHkgLSAnQXR0cmlidXRlcycgaXMgYSBCb29sZWFuIG9iamVjdCB0aGF0IHVzZXMgT2JqZWN0J3MgW1tHZXRdXSBtZXRob2QgdG8gYWNjZXNzIHRoZSAnZW51bWVyYWJsZScgcHJvcGVydHkgb2YgcHJvdG90eXBlIG9iamVjdCAoOC4xMC41IHN0ZXAgMy5hKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIG9iaiA9IHt9OwogICAgICAgIHZhciBhY2Nlc3NlZCA9IGZhbHNlOwogICAgICAgIHRyeSB7CiAgICAgICAgICAgIEJvb2xlYW4ucHJvdG90eXBlLmVudW1lcmFibGUgPSB0cnVlOwogICAgICAgICAgICB2YXIgYm9vbE9iaiA9IG5ldyBCb29sZWFuKHRydWUpOwoKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3BlcnR5IiwgYm9vbE9iaik7CgogICAgICAgICAgICBmb3IgKHZhciBwcm9wIGluIG9iaikgewogICAgICAgICA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ogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcGVydHkiLCBNYXRoKTsKCiAgICAgICAgICAgIGZvciAodmFyIHByb3AgaW4gb2JqKSB7CiAgICAgICAgICAgICAgICBpZiAocHJvcCA9PT0gInByb3BlcnR5IikgewogICAgICAgICAgICAgICAgICAgIGFjY2Vzc2VkID0gdHJ1ZTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgICAgICByZXR1cm4gYWNjZXNzZWQ7CiAgICAgICAgfSBmaW5hbGx5IHsKICAgICAgICAgICAgZGVsZXRlIE1hdGguZW51bWVyYWJsZTsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-3-38"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi0zLTM5LTEiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjIvMTUuMi4zLzE1LjIuMy42LzE1LjIuMy42LTMtMzktMS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJPYmplY3QuZGVmaW5lUHJvcGVydHkgLSAnQXR0cmlidXRlcycgaXMgYSBEYXRlIG9iamVjdCB0aGF0IHVzZXMgT2JqZWN0J3MgW1tHZXRdXSBtZXRob2QgdG8gYWNjZXNzIHRoZSAnZW51bWVyYWJsZScgcHJvcGVydHkgb2YgcHJvdG90eXBlIG9iamVjdCAoOC4xMC41IHN0ZXAgMy5hKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIG9iaiA9IHt9OwogICAgICAgIHZhciBhY2Nlc3NlZCA9IGZhbHNlOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBEYXRlL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gICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcGVydHkiLCByZWdPYmopOwoKICAgICAgICAgICAgZm9yICh2YXIgcHJvcCBpbiBvYmopIHsKICAgICAgICAgICAgICAgIGlmIChwcm9wID09PSAicHJvcGVydHkiKSB7CiAgICAgICAgICAgICAgICAgICAgYWNjZXNzZWQgPSB0cnVlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CgogICAgICAgICAgICByZXR1cm4gYWNjZXNzZWQ7CiAgICAgICAgfSBmaW5hbGx5IHsKICAgICAgICAgICAgZGVsZXRlIFJlZ0V4cC5wcm90b3R5cGUuZW51bWVyYWJsZTsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-3-40-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi0zLTQwIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuNi8xNS4yLjMuNi0zLTQwLmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5kZWZpbmVQcm9wZXJ0eSAtICdBdHRyaWJ1dGVzJyBpcyBhbiBSZWdFeHAgb2JqZWN0IHRoYXQgdXNlcyBPYmplY3QncyBbW0dldF1dIG1ldGhvZCB0byBhY2Nlc3MgdGhlICdlbnVtZXJhYmxlJyBwcm9wZXJ0eSAoOC4xMC41IHN0ZXAgMy5hKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIG9iaiA9IHt9OwogICAgICAgIHZhciBhY2Nlc3NlZCA9IGZhbHNlOwoKICAgICAgICB2YXIgcmVnT2JqID0gbmV3IFJlZ0V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7CiAgICAgICAgICAgIEpTT04uZW51bWVyYWJsZSA9IHRydWU7CgogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcGVydHkiLCBKU09OKTsKCiAgICAgICAgICAgIGZvciAodmFyIHByb3AgaW4gb2JqKSB7CiAgICAgICAgICAgICAgICBpZiAocHJvcCA9PT0gInByb3BlcnR5IikgewogICAgICAgICAgICAgICAgICAgIGFjY2Vzc2VkID0gdHJ1ZTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQoKICAgICAgICAgICAgcmV0dXJuIGFjY2Vzc2VkOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIGRlbGV0ZSBKU09OLmVudW1lcmFibGU7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-3-41"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi0zLTQyLTEiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjIvMTUuMi4zLzE1LjIuMy42LzE1LjIuMy42LTMtNDItMS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJPYmplY3QuZGVmaW5lUHJvcGVydHkgLSAnQXR0cmlidXRlcycgaXMgYW4gRXJyb3Igb2JqZWN0IHRoYXQgdXNlcyBPYmplY3QncyBbW0dldF1dIG1ldGhvZCB0byBhY2Nlc3MgdGhlICdlbnVtZXJhYmxlJyBwcm9wZXJ0eSBvZiBwcm90b3R5cGUgb2JqZWN0ICg4LjEwLjUgc3RlcCAzLmEpIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgb2JqID0ge307CiAgICAgICAgdmFyIGFjY2Vzc2VkID0gZmFsc2U7CiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgRXJyb3IucHJvdG90eXBlLmVudW1lcmFibGUgPSB0cnVlOwogICAgICAgICAgICB2YXIgZXJyT2JqID0gbmV3IEVycm9yKCk7CgogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcGVydHkiLCBlcnJPYmopOwoKICAgICAgICAgICAgZm9yICh2YXIgcHJvcCBpbiBvYmopIHsKICAgICAgICAgICAgICAgIGlmIChwcm9wID09PSAicHJvcGVydHkiKSB7CiAgICAgICAgICAgICAgICAgICAgYWNjZXNzZWQgPSB0cnVlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CgogICAgICAgICAgICByZXR1cm4gYWNjZXNzZWQ7CiAgICAgICAgfSBmaW5hbGx5IHsKICAgICAgICAgICAgZGVsZXRlIEVycm9yLnByb3RvdHlwZS5lbnVtZXJhYmxlOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSk7CiAgICB9Cn0pOwo=","id":"15.2.3.6-3-42-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi0zLTQyIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuNi8xNS4yLjMuNi0zLTQyLmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5kZWZpbmVQcm9wZXJ0eSAtICdBdHRyaWJ1dGVzJyBpcyBhbiBFcnJvciBvYmplY3QgdGhhdCB1c2VzIE9iamVjdCdzIFtbR2V0XV0gbWV0aG9kIHRvIGFjY2VzcyB0aGUgJ2VudW1lcmFibGUnIHByb3BlcnR5ICg4LjEwLjUgc3RlcCA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rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIG9iaiA9IHt9OwogICAgICAgIHZhciBhY2Nlc3NlZCA9IGZhbHNlOwogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5wcm90b3R5cGUuZW51bWVyYWJsZSA9IHRydWU7CiAgICAgICAgICAgIHZhciBhcmdPYmogPSAoZnVuY3Rpb24gKCkgeyByZXR1cm4gYXJndW1lbnRzOyB9KSgpOwoKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3BlcnR5IiwgYXJnT2JqKTsKCiAgICAgICAgICAgIGZvciAodmFyIHByb3AgaW4gb2JqKSB7CiAgICAgICAgICAgICAgICBpZiAocHJvcCA9PT0gInByb3BlcnR5IikgewogICAgICAgICAgICAgICAgICAgIGFjY2Vzc2VkID0gdHJ1ZTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQoKICAgICAgICAgICAgcmV0dXJuIGFjY2Vzc2VkOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIGRlbGV0ZSBPYmplY3QucHJvdG90eXBlLmVudW1lcmFibGU7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-3-43-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi0zLTQzIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuNi8xNS4yLjMuNi0zLTQzLmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5kZWZpbmVQcm9wZXJ0eSAtICdBdHRyaWJ1dGVzJyBpcyBhbiBBcmd1bWVudHMgb2JqZWN0IHdoa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ewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-3-72"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi0zLTczIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuNi8xNS4yLjMuNi0zLTczLmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5kZWZpbmVQcm9wZXJ0eSAtICdjb25maWd1cmFibGUnIHByb3BlcnR5IGluICdBdHRyaWJ1dGVzJyBpcyBwcmVzZW50ICg4LjEwLjUgc3RlcCA0KSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIG9iaiA9IHt9OwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcGVydHkiLCB7CiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICB9KTsKCiAgICAgICAgdmFyIGJlZm9yZURlbGV0ZWQgPSBvYmouaGFzT3duUHJvcGVydHkoInByb3BlcnR5Iik7CgogICAgICAgIGRlbGV0ZSBvYmoucHJvcGVydHk7CgogICAgICAgIHZhciBhZnRlckRlbGV0ZWQgPSBvYmouaGFzT3duUHJvcGVydHkoInByb3BlcnR5Iik7CgogICAgICAgIHJldHVybiBiZWZvcmVEZWxldGVkID09PSB0cnVlICYmIGFmdGVyRGVsZXRlZCA9PT0gdHJ1ZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSk7CiAgICB9Cn0pOw==","id":"15.2.3.6-3-73"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKICAgIG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WxldGUgb2JqLnByb3BlcnR5OwoKICAgICAgICB2YXIgYWZ0ZXJEZWxldGVkID0gb2JqLmhhc093blByb3BlcnR5KCJwcm9wZXJ0eSIpOwoKICAgICAgICByZXR1cm4gYmVmb3JlRGVsZXRlZCA9PT0gdHJ1ZSAmJiBhZnRlckRlbGV0ZWQgPT09IGZhbHNlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-3-78"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi0zLTc5IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuNi8xNS4yLjMuNi0zLTc5LmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5kZWZpbmVQcm9wZXJ0eSAtICdjb25maWd1cmFibGUnIHByb3BlcnR5IGluICdBdHRyaWJ1dGVzJyBpcyBvd24gYWNjZXNzb3IgcHJvcGVydHkgKDguMTAuNSBzdGVwIDQuYSkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBvYmogPSB7IH07CgogICAgICAgIHZhciBhdHRyID0ge307CiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGF0dHIsICJjb25maWd1cmFibGUiLCB7CiAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgcmV0dXJuIHRydWU7CiAgICAgICAgICAgIH0KICAgICAgICB9KTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3BlcnR5IiwgYXR0cik7CgogICAgICAgIHZhciBiZWZvcmVEZWxldGVkID0gb2JqLmhhc093blByb3BlcnR5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uNSBzdGVwIDQuYSkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBvYmogPSB7fTsKCiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgTWF0aC5jb25maWd1cmFibGUgPSB0cnVlOwoKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3BlcnR5IiwgTWF0aCk7CgogICAgICAgICAgICB2YXIgYmVmb3JlRGVsZXRlZCA9IG9iai5oYXNPd25Qcm9wZXJ0eSgicHJvcGVydHkiKTsKCiAgICAgICAgICAgIGRlbGV0ZSBvYmoucHJvcGVydHk7CgogICAgICAgICAgICB2YXIgYWZ0ZXJEZWxldGVkID0gb2JqLmhhc093blByb3BlcnR5KCJwcm9wZXJ0eSIpOwoKICAgICAgICAgICAgcmV0dXJuIGJlZm9yZURlbGV0ZWQgPT09IHRydWUgJiYgYWZ0ZXJEZWxldGVkID09PSBmYWxzZTsKICAgICAgICB9IGZpbmFsbHkgewogICAgICAgICAgICBkZWxldGUgTWF0aC5jb25maWd1cmFibGU7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-3-91"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi0zLTkyLTEiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjIvMTUuMi4zLzE1LjIuMy42LzE1LjIuMy42LTMtOTItMS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJPYmplY3QuZGVmaW5lUHJvcGVydHkgLSAnQXR0cmlidXRlcycgaXMgYSBEYXRlIG9iamVjdCB0aGF0IHVzZXMgT2JqZWN0J3MgW1tHZXRdXSBtZXRob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AgICAgfSk7CiAgICAgICAgcmV0dXJuIGRhdGFQcm9wZXJ0eUF0dHJpYnV0ZXNBcmVDb3JyZWN0KG9iaiwgImZvbyIsIHVuZGVmaW5lZCwgZmFsc2UsIHRydWUsIHRydWUpOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-104"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTEwNSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0xMDUuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gJ25hbWUnIGFuZCAnZGVzYycgYXJlIGRhdGEgcHJvcGVydGllcywgbmFtZS5jb25maWd1cmFibGUgPSB0cnVlIGFuZCBkZXNjLmNvbmZpZ3VyYWJsZSA9IGZhbHNlICg4LjEyLjkgc3RlcCAxMikiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICAgICAgICB2YXIgb2JqID0ge307CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJmb28iLCB7CiAgICAgICAgICAgIHZhbHVlOiAyMDAsCiAgICAgICAgICAgIGVudW1lcmFibGU6IHRydWUsCiAgICAgICAgICAgIHdyaXRhYmxlOiB0cnVlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUgCiAgICAgICAgfSk7CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJmb28iLCB7CiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICB9KTsKICAgICAgICAKICAgICAgICByZXR1cm4gZGF0YVByb3BlcnR5QXR0cmlidXRlc0FyZUNvcnJlY3Qob2JqLCAiZm9vIiwgMjAwLCB0cnVlLCB0cnVlLCBmYWxzZSk7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-4-105"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTEwNiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0xMDYuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gJ25hbWUnIGFuZCAnZGVzYycgYXJlIGRhdGEgcHJvcGVydGllcywgc2V2ZXJhbCBhdHRyaWJ1dGVzIHZhbHVlcyBvZiBuYW1lIGFuZCBkZXNjIGFyZSBkaWZmZXJlbnQgKDguMTIuOSBzdGVwIDEyKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIHZhciBvYmogPSB7fTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgImZvbyIsIHsgCiAgICAgICAgICAgIHZhbHVlOiAxMDAsIAogICAgICAgICAgICB3cml0YWJsZTogdHJ1ZSwgCiAgICAgICAgICAgIGVudW1lcmFibGU6IHRydWUsIAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUgCiAgICAgICAgfSk7CiAgICAgICAgCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgImZvbyIsIHsgCiAgICAgICAgICAgIHZhbHVlOiAyMDAsIAogICAgICAgICAgICB3cml0YWJsZTogZmFsc2UsIAogICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZSAKICAgICAgICB9KTsKICAgICAgICByZXR1cm4gZGF0YVByb3BlcnR5QXR0cmlidXRlc0FyZUNvcnJlY3Qob2JqLCAiZm9vIiwgMjAwLCBmYWxzZSwgZmFsc2UsIHRydWUpOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-106"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTEwNyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0xMDcuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gJ25hbWUnIGFuZCAnZGVzYycgYXJlIGFjY2Vzc29yIHByb3BlcnRpZXMsIGJvdGggZGVzYy5bW0dldF1dIGFuZCBuYW1lLltbR2V0XV0gYXJlIHR3byBkaWZmZXJlbnQgdmFsdWVzICg4LjEyLjkgc3RlcCAxMikiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICAgICAgICB2YXIgb2JqID0ge307CgogICAgICAgIGZ1bmN0aW9uIGdldEZ1bmMoKSB7CiAgICAgICAgICAgIHJldHVybiAxMDsKICAgICAgICB9CgogICAgICAgIGZ1bmN0aW9uIHNldEZ1bmModmFsdWUpIHsKICAgICAgICAgICAgb2JqLnNldFZlcmlmeUhlbHBQcm9wID0gdmFsdWU7CiAgICAgICAgfQoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAiZm9vIiwgewogICAgICAgICAgICBnZXQ6IGdldEZ1bmMsCiAgICAgICAgICAgIHNldDogc2V0RnVuYywKICAgICAgICA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mRlZmluZWQgYW5kIGRlc2MuW1tHZXRdXSBpcyBmdW5jdGlvbiAoOC4xMi45IHN0ZXAgMTIpIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgb2JqID0ge307CgogICAgICAgIGZ1bmN0aW9uIHNldEZ1bmModmFsdWUpIHsKICAgICAgICAgICAgb2JqLnNldFZlcmlmeUhlbHBQcm9wID0gdmFsdWU7CiAgICAgICAgfQogICAgICAgCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgImZvbyIsIHsKICAgICAgICAgICAgc2V0OiBzZXRGdW5jLAogICAgICAgICAgICBnZXQ6IHVuZGVmaW5lZCwKICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgfSk7CgogICAgICAgIGZ1bmN0aW9uIGdldEZ1bmMoKSB7CiAgICAgICAgICAgIHJldHVybiAxMDsKICAgICAgICB9CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJmb28iLCB7CiAgICAgICAgICAgIGdldDogZ2V0RnVuYwogICAgICAgIH0pOwogICAgICAgIHJldHVybiBhY2Nlc3NvclByb3BlcnR5QXR0cmlidXRlc0FyZUNvcnJlY3Qob2JqLCAiZm9vIiwgZ2V0RnVuYywgc2V0RnVuYywgInNldFZlcmlmeUhlbHBQcm9wIiwgdHJ1ZSwgdHJ1ZSk7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-4-109"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxNS4yLjMuNi00LTExIiwKCnBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1Lz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Byb3BlcnR5RGVzY3JpcHRvcihvLCAiZm9vIik7CiAgICAgIGlmIChkMi5nZXQgPT09IGdldHRlciAmJgogICAgICAgICAgZDIuZW51bWVyYWJsZSA9PT0gdHJ1ZSAmJgogICAgICAgICAgZDIuY29uZmlndXJhYmxlID09PSBmYWxzZSkgewogICAgICAgIHJldHVybiB0cnVlOwogICAgICB9CiAgICB9CiAgfQogfSwKCnByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuRXhpc3RzKE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IpOwogfQp9KTsK","id":"15.2.3.6-4-11"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTExMCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0xMTAuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gJ25hbWUnIGFuZCAnZGVzYycgYXJlIGFjY2Vzc29yIHByb3BlcnRpZXMsIGJvdGggZGVzYy5bW1NldF1dIGFuZCBuYW1lLltbU2V0XV0gYXJlIHR3byBkaWZmZXJlbnQgdmFsdWVzICg4LjEyLjkgc3RlcCAxMikiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICAgICAgICB2YXIgb2JqID0ge307CgogICAgICAgIGZ1bmN0aW9uIHNldEZ1bmMxKCkgewogICAgICAgICAgICByZXR1cm4gMTA7CiAgICAgICAgfQoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAiZm9vIiwgewogICAgICAgICAgICBzZXQ6IHNldEZ1bmMxLAogICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlLAogICAgIC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kgewogICAgICAgICAgICByZXR1cm4gMTA7CiAgICAgICAgfQoKICAgICAgICBmdW5jdGlvbiBzZXRGdW5jKHZhbHVlKSB7CiAgICAgICAgICAgIG9iai5zZXRWZXJpZnlIZWxwUHJvcCA9IHZhbHVlOwogICAgICAgIH0KCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgImZvbyIsIHsKICAgICAgICAgICAgZ2V0OiBnZXRGdW5jLAogICAgICAgICAgICBzZXQ6IHNldEZ1bmMsCiAgICAgICAgICAgIGVudW1lcmFibGU6IHRydWUsCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgIH0pOwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAiZm9vIiwgewogICAgICAgICAgICBzZXQ6IHVuZGVmaW5lZCwKICAgICAgICAgICAgZ2V0OiBnZXRGdW5jCiAgICAgICAgfSk7CgoKICAgICAgICB2YXIgZGVzYyA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAiZm9vIik7CiAgICAgICAgcmV0dXJuIG9iai5oYXNPd25Qcm9wZXJ0eSgiZm9vIikgJiYgdHlwZW9mIChkZXNjLnNldCkgPT09ICJ1bmRlZmluZWQiOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmbkV4aXN0cyhPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-111"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTExMiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0xMTIu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fQp9KTsK","id":"15.2.3.6-4-112"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTExMyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0xMTMuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gJ25hbWUnIGFuZCAnZGVzYycgYXJlIGFjY2Vzc29yIHByb3BlcnRpZXMsIG5hbWUuZW51bWVyYWJsZSBhbmQgZGVzYy5lbnVtZXJhYmxlIGFyZSBkaWZmZXJlbnQgdmFsdWVzICg4LjEyLjkgc3RlcCAxMikiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICAgICAgICB2YXIgb2JqID0ge307CgogICAgICAgIGZ1bmN0aW9uIGdldEZ1bmMoKSB7CiAgICAgICAgICAgIHJldHVybiAxMDsKICAgICAgICB9CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJmb28iLCB7CiAgICAgICAgICAgIGdldDogZ2V0RnVuYywKICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgfSk7CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJmb28iLCB7CiAgICAgICAgICAgIGdldDogZ2V0RnVuYywKICAgICAgICAgICAgZW51bWVyYWJsZTogZmFsc2UKICAgICAgICB9KTsKCiAgICAgICAgcmV0dXJuIGFjY2Vzc29yUHJvcGVydHlBdHRyaWJ1dGVzQXJlQ29ycmVjdChvYmosICJmb28iLCBnZXRGdW5jLCB1bmRlZmluZWQsIHVuZGVmaW5lZCwgZmFsc2UsIHRydWUpOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSg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pcyBvd24gZGF0YSBwcm9wZXJ0eSAoMTUuNC41LjEgc3RlcCAxKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIHZhciBhcnJPYmogPSBbMCwgMV07CiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyck9iaiwgIjEiLCB7CiAgICAgICAgICAgIHZhbHVlOiAxLAogICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgfSk7CiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyck9iaiwgImxlbmd0aCIsIHsgdmFsdWU6IDEgfSk7CiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgIHZhciBkZXNjID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihhcnJPYmosICJsZW5ndGgiKTsKCiAgICAgICAgICAgIHJldHVybiBPYmplY3QuaGFzT3duUHJvcGVydHkuY2FsbChhcnJPYmosICJsZW5ndGgiKSAmJiBkZXNjLnZhbHVlID09PSAyICYmCiAgICAgICAgICAgICAgICBkZXNjLndyaXRhYmxlID09PSB0cnVlICYmIGRlc2MuY29uZmlndXJhYmxlID09PSBmYWxzZSAmJiBkZXNjLmVudW1lcmFibGUgPT09IGZhbHNlOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSk7CiAgICB9Cgp9KTsK","id":"15.2.3.6-4-116"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuMi4zLjYtNC0xMTciLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjIvMTUuMi4zLzE1LjIuMy42LzE1LjIuMy42LTQtMTE3LmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5kZWZpbmVQcm9wZXJ0eSAtICdPJyBpcyBhbiBBcnJheSwgdGVzdCB0aGUgbGVuZ3RoIHByb3BlcnR5IG9mICdPJyBpcyBvd24gZGF0YSBwcm9wZXJ0eSB0aGF0IG92ZXJyaWRlcyBhbiBpbmhlcml0ZWQgZGF0YSBwcm9wZXJ0eSAoMTUuNC41LjEgc3RlcCAxKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIGFyck9iaiA9IFswLCAxLCAyXTsKICAgICAgICB2YXIgYXJyUHJvdG9MZW47CgogICAgICAgIHRyeSB7CiAgICAgICAgICAgIGFyclByb3RvTGVuID0gQXJyYXkucHJvdG90eXBlLmxlbmd0aDsKICAgICAgICAgICAgQXJyYXkucHJvdG90eXBlLmxlbmd0aCA9IDA7CgogICAgICAgICAgICAKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyck9iaiwgIjIiLCB7CiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgICAgIH0pOwoKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyck9iaiwgImxlbmd0aCIsIHsKICAgICAgICAgICAgICAgIHZhbHVlOiAxCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICByZXR1cm4gZSBpbnN0YW5jZW9mIFR5cGVFcnJvciAmJiBhcnJPYmoubGVuZ3RoID09PSAzICYmIEFycmF5LnByb3RvdHlwZS5sZW5ndGggPT09IDA7CiAgICAgICAgfSBmaW5hbGx5IHsKICAgICAgICAgICAgQXJyYXkucHJvdG90eXBlLmxlbmd0aCA9IGFyclByb3RvTGVuOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmd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q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICAgICAgICB2YXIgYXJyT2JqID0gW107CiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyck9iaiwgImxlbmd0aCIsIHsKICAgICAgICAgICAgd3JpdGFibGU6IHRydWUsCiAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgfSk7CgogICAgICAgIHZhciB2ZXJpZnlWYWx1ZSA9IGZhbHNlOwogICAgICAgIGlmIChhcnJPYmoubGVuZ3RoID09PSAwKSB7CiAgICAgICAgICAgIHZlcmlmeVZhbHVlID0gdHJ1ZTsKICAgICAgICB9CgogICAgICAgIGFyck9iai5sZW5ndGggPSAyOwogICAgICAgIHZhciB2ZXJpZnlXcml0YWJsZSA9IGFyck9iai5sZW5ndGggPT09IDIgPyB0cnVlIDogZmFsc2U7CgogICAgICAgIHZhciB2ZXJpZnlFbnVtZXJhYmxlID0gZmFsc2U7CiAgICAgICAgZm9yICh2YXIgcCBpbiBhcnJPYmopIHsKICAgICAgICAgICAgaWYgKHAgPT09ICJsZW5ndGgiICYmIGFyck9iai5oYXNPd25Qcm9wZXJ0eShwKSkgewogICAgICAgICAgICAgICAgdmVyaWZ5RW51bWVyYWJsZSA9IHRydWU7CiAgICAgICAgICAgIH0KICAgICAgICB9CgogICAgICAgIGRlbGV0ZSBhcnJPYmoubGVuZ3RoOwogICAgICAgIHZhciB2ZXJpZnlDb25maWd1cmFibGUgPSBhcnJPYmouaGFzT3duUHJvcGVydHkoImxlbmd0aCIpOwoKICAgICAgICByZXR1cm4gdmVyaWZ5VmFsdWUgJiYgdmVyaWZ5V3JpdGFibGUgJiYgIXZlcmlmeUVudW1lcmFibGUgJiYgdmVyaWZ5Q29uZmlndXJhYmxlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5F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JqZWN0LmRlZmluZVByb3BlcnR5KGFyck9iaiwgImxlbmd0aCIsIHsKICAgICAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgICAgIHJldHVybiAyOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9KTsKICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBUeXBlRXJyb3I7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KCn0pOwo=","id":"15.2.3.6-4-122"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuMi4zLjYtNC0xMjMiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjIvMTUuMi4zLzE1LjIuMy42LzE1LjIuMy42LTQtMTIzLmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5kZWZpbmVQcm9wZXJ0eSAtICdPJyBpcyBhbiBBcnJheSwgJ25hbWUnIGlzIHRoZSBsZW5ndGggcHJvcGVydHkgb2YgJ08nLCB0aGUgW1tWYWx1ZV1dIGZpZWxkIG9mICdkZXNjJyBpcyBhYnNlbnQsIHRlc3QgVHlwZUVycm9yIGlzIHRocm93biB3aGVuIHVwZGF0aW5nIHRoZSBbW1dyaXRhYmxlXV0gYXR0cmlidXRlIG9mIHRoZSBsZW5ndGggcHJvcGVydHkgZnJvbSBmYWxzZSB0byB0cnVlICgxNS40LjUuMSBzdGVwIDMuYS5pKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIHZhciBhcnJPYmogPSBbXTsKICAgICAgICB0cnkgewogICAgIC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B0aGF0IHJldHVybnMgYSBzdHJpbmcgKDE1LjQuNS4xIHN0ZXAgMy5jKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIHZhciBhcnJPYmogPSBbXTsKICAgICAgICB2YXIgdG9TdHJpbmdBY2Nlc3NlZCA9IGZhbHNlOwogICAgICAgIHZhciB2YWx1ZU9mQWNjZXNzZWQgPSBmYWxzZTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyck9iaiwgImxlbmd0aCIsIHsKICAgICAgICAgICAgdmFsdWU6IHsKICAgICAgICAgICAgICAgIHRvU3RyaW5nOiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICAgICAgdG9TdHJpbmdBY2Nlc3NlZCA9IHRydWU7CiAgICAgICAgICAgICAgICAgICAgcmV0dXJuICcyJzsKICAgICAgICAgICAgICAgIH0sCgogICAgICAgICAgICAgICAgdmFsdWVPZjogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgICAgIHZhbHVlT2ZBY2Nlc3NlZCA9IHRydWU7CiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHt9OwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfSk7CiAgICAgICAgcmV0dXJuIGFyck9iai5sZW5ndGggPT09IDIgJiYgdG9TdHJpbmdBY2Nlc3NlZCAmJiB2YWx1ZU9mQWNjZXNzZWQ7CgogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KCn0pOwo=","id":"15.2.3.6-4-148"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuMi4zLjYtNC0xNDkiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjIvMTUuMi4zLzE1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aXRpdmUgdmFsdWUgKDE1LjQuNS4xIHN0ZXAgMy5jKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIHZhciBhcnJPYmogPSBbXTsKICAgICAgICB2YXIgdG9TdHJpbmdBY2Nlc3NlZCA9IGZhbHNlOwogICAgICAgIHZhciB2YWx1ZU9mQWNjZXNzZWQgPSBmYWxzZTsKCiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyck9iaiwgImxlbmd0aCIsIHsKICAgICAgICAgICAgICAgIHZhbHVlOiB7CiAgICAgICAgICAgICAgICAgICAgdG9TdHJpbmc6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgICAgICAgICAgdG9TdHJpbmdBY2Nlc3NlZCA9IHRydWU7CiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiB7fTsKICAgICAgICAgICAgICAgICAgICB9LAoKICAgICAgICAgICAgICAgICAgICB2YWx1ZU9mOiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHZhbHVlT2ZBY2Nlc3NlZCA9IHRydWU7CiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiB7fTsKICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0pOwogICAgICAgICAgICByZXR1cm4gZmFsc2U7CgogICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBUeXBlRXJyb3IgJiYgdG9TdHJpbmdBY2Nlc3NlZCAmJiB2YWx1ZU9mQWNjZXNzZWQ7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KCn0pOwo=","id":"15.2.3.6-4-150"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hdGVyIHRoYW4gdGhlIG5vbi1kZWxldGFibGUgaW5kZXggYnkgMSwgd3JpdGFibGUgYXR0cmlidXRlIG9mIGxlbmd0aCBpcyBzZXQgdG8gZmFsc2UgYW5kIFR5cGVFcnJvciBleGNlcHRpb24gaXMgdGhyb3duICgxNS40LjUuMSBzdGVwIDMubC5paSkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICAgICAgICB2YXIgYXJyT2JqID0gWzAsIDFdOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXJyT2JqLCAiMSIsIHsKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICAgICAgfSk7CgogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXJyT2JqLCAibGVuZ3RoIiwgewogICAgICAgICAgICAgICAgdmFsdWU6IDEKICAgICAgICAgICAgfSk7CgogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICByZXR1cm4gZSBpbnN0YW5jZW9mIFR5cGVFcnJvciAmJiBhcnJPYmoubGVuZ3RoID09PSAyICYmIGFyck9iai5oYXNPd25Qcm9wZXJ0eSgiMSIpOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSk7CiAgICB9Cgp9KTsK","id":"15.2.3.6-4-170"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuMi4zLjYtNC0xNzEiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjIvMTUuMi4zLzE1LjIuMy42LzE1LjIuMy42LTQtMTcxLmpzIiwKCiAgICBkZXNjcmlwdGlv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UgaW5kZXggbmFtZWQgaW4gJ08nIHRoYXQgb3ZlcnJpZGVzIGFuIGluaGVyaXRlZCBhY2Nlc3NvciBwcm9wZXJ0eSBjYW4gc3RvcCBkZWxldGluZyBpbmRleCBuYW1lZCBwcm9wZXJ0aWVzICgxNS40LjUuMSBzdGVwIDMubC5paSkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICAgICAgICB2YXIgYXJyT2JqID0gWzAsIDFdOwogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcnJPYmosICIxIiwgewogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgICAgICB9KTsKCiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShBcnJheS5wcm90b3R5cGUsICIxIiwgewogICAgICAgICAgICAgICAgZ2V0OiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIDI7CiAgICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwoKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyck9iaiwgImxlbmd0aCIsIHsKICAgICAgICAgICAgICAgIHZhbHVlOiAxCiAgICAgICAgICAgIH0pOwoKICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBUeXBlRXJyb3IgJiYgYXJyT2JqLmxlbmd0aCA9PT0gMiAmJiBhcnJPYmouaGFzT3duUHJvcGVydHkoIjEiKTsKICAgICAgICB9IGZpbmFsbHkgewogICAgICAgICAgICBkZWxldGUgQXJyYXkucHJvdG90eXBlWzFdOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZX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dDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIHZhciBhcnJPYmogPSBbMCwgMV07CiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KEFycmF5LnByb3RvdHlwZSwgIjEiLCB7CiAgICAgICAgICAgICAgICBnZXQ6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgICAgICByZXR1cm4gMTsKICAgICAgICAgICAgICAgIH0sCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUgLy8gTm90IHNldHRpbmcgdGhlIFtbQ29uZmlndXJhYmxlXV0gYXR0cmlidXRlIG9mIHByb3BlcnR5ICIxIiB0byBmYWxzZSBoZXJlLCBzaW5jZSBBcnJheS5wcm90b3R5cGUgaXMgYSBnbG9iYWwgb2JqZWN0LCBhbmQgbm9uLWNvbmZpZ3VyYmFsZSBwcm9wZXJ0eSBjYW4ndCByZXZlcnQgdG8gY29uZmlndXJhYmxlCiAgICAgICAgICAgIH0pOwoKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyck9iaiwgImxlbmd0aCIsIHsKICAgICAgICAgICAgICAgIHZhbHVlOiAxCiAgICAgICAgICAgIH0pOwoKICAgICAgICAgICAgcmV0dXJuIGFyck9iai5sZW5ndGggPT09IDEgJiYgIWFyck9iai5oYXNPd25Qcm9wZXJ0eSgiMSIpOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIGRlbGV0ZSBBcnJheS5wcm90b3R5cGVbMV07CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KCn0pOwo=","id":"15.2.3.6-4-175"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewoKICAgIGlkOiAiMTUuMi4zLjYtNC0xNz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bmFtZWQgcHJvcGVydGllcyAoMTUuNC41LjEgc3RlcCAzLmwuaWkpIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKCiAgICAgICAgdmFyIGFyck9iaiA9IFswLCAxXTsKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXJyT2JqLCAiMSIsIHsKICAgICAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgICAgIHJldHVybiAxOwogICAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIAogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoQXJyYXkucHJvdG90eXBlLCAiMSIsIHsKICAgICAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgICAgIHJldHVybiAyOwogICAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICB9KTsKCiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcnJPYmosICJsZW5ndGgiLCB7CiAgICAgICAgICAgICAgICB2YWx1ZTogMQogICAgICAgICAgICB9KTsKICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBUeXBlRXJyb3IgJiYgYXJyT2JqLmxlbmd0aCA9PT0gMiAmJiBhcnJPYmouaGFzT3duUHJvcGVydHkoIjEiKTsgCiAgICAgICAgfSBmaW5hbGx5IHsKICAgICAgICAgICAgZGVsZXRlIEFycmF5LnByb3RvdHlwZVsxXTsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICA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cCA0LmIpIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgYXJyT2JqID0gWzEsIDIsIDNdOwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXJyT2JqLCAibGVuZ3RoIiwgewogICAgICAgICAgICB3cml0YWJsZTogZmFsc2UKICAgICAgICB9KTsKCiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyck9iaiwgMSwgewogICAgICAgICAgICAgICAgdmFsdWU6ICJhYmMiCiAgICAgICAgICAgIH0pOwoKICAgICAgICAgICAgcmV0dXJuIHRydWU7CiAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-187"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTE4OCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0xODguanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gJ08nIGlzIGFuIEFycmF5LCAnbmFtZScgaXMgYW4gYXJyYXkgaW5kZXggbmFtZWQgcHJvcGVydHksIHRlc3QgVHlwZUVycm9yIGlzIHRocm93biBpZiB0aGUgW1tXcml0YWJsZV1dIGF0dHJpYnV0ZSBvZiB0aGUgbGVuZ3RoIHByb3BlcnR5IGluICdPJyBpcyBmYWxzZSBhbmQgdmFsdWUgb2YgJ25hbWUnIGVxdWFscyB0byB2YWx1ZSBvZiB0aGUgbGVuZ3RoIHByb3BlcnR5ICgxNS40LjUuMSBzdGVwIDQuYikiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBhcnJPYmogPSBbMSwgMiwgM107CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcnJPYmosICJsZW5ndGgiLCB7CiAgICAgICAgICAgIHdyaXRhYmxlOiBmYWxzZQogICAgICAgIH0pOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXJyT2JqLCAzLCB7CiAgICAgICAgICAgICAgICB2YWx1ZTogImFiYyIKICAgICAgICAgICAgfSk7CgogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICByZXR1cm4gZSBpbnN0YW5jZW9mIFR5cGVFcnJvcjsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-4-188"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTE4OSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0xODkuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gJ08nIGlzIGFuIEFycmF5LCAnbmFtZScgaXMgYW4gYXJyYXkgaW5kZXggbmFtZWQgcHJvcGVydHksIHRlc3QgVHlwZUVycm9yIGlzIHRocm93biBpZiB0aGUgW1tXcml0YWJsZV1dIGF0dHJpYnV0ZSBvZiB0aGUgbGVuZ3RoIHByb3BlcnR5IGluICdPJyBpc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oKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-4-190"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTE5MSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0xOTEuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gJ08nIGlzIGFuIEFycmF5LCAnbmFtZScgaXMgYW4gYXJyYXkgaW5kZXggbmFtZWQgcHJvcGVydHksICduYW1lJyBpcyBhbiBpbmhlcml0ZWQgZGF0YSBwcm9wZXJ0eSwgdGVzdCB0aGF0IGRlZmluaW5nIG93biBpbmRleCBuYW1lZCBwcm9wZXJ0eSBpcyBzdWNjZXNzZnVsICgxNS40LjUuMSBzdGVwIDQuYykiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShBcnJheS5wcm90b3R5cGUsICIwIiwgewogICAgICAgICAgICAgICAgdmFsdWU6IDExLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwoKICAgICAgICAgICAgdmFyIGFyck9iaiA9IFtdOwoKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyck9iaiwgIjAiLCB7CiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICByZXR1cm4gYXJyT2JqLmhhc093blByb3BlcnR5KCIwIikgJiYgQXJyYXkucHJvdG90eXBlWzBdID09PSAx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B2YXIgYXJyT2JqID0gW107CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcnJPYmosICIwIiwgewogICAgICAgICAgICAgICAgdmFsdWU6IDEyLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgICAgICB9KTsKICAgICAgIAogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXJyT2JqLCAiMCIsIHsKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICB9KTsKICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBUeXBlRXJyb3IgJiYgQXJyYXkucHJvdG90eXBlWzBdID09PSAxMSAmJiBhcnJPYmpbMF0gPT09IDEyOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIGRlbGV0ZSBBcnJheS5wcm90b3R5cGVbMF07CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-192"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTE5MyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0xOTMuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gJ08nIGlzIGFuIEFycmF5LCAnbmFtZScgaXMgYW4gYXJyYXkgaW5kZXggbmFtZWQgcHJvcGVydHksICduYW1lJyBpcyBvd24gZGF0YSBwcm9wZXJ0eSB0aGF0IG92ZXJyaWRlcyBhbiBpbmhlcml0ZWQgYWNjZXNzb3IgcHJvcGVydHksIHRlc3QgVHlwZUVycm9yIGlzIHRocm93biB3aGVuIHVwZGF0ZSB0aGUgW1tDb25maWd1cmFibGVdXSBhdHRyaWJ1dGUgdG8gdHJ1ZSBhbmQgdmFsdWUgb2YgW1tDb25maWd1cmFibGVdXSBhdHRyaWJ1dGUgb2Ygb3JpZ2luYWwgaXMgZmFsc2UgICgxNS40LjUuMSBzdGVwIDQuYykiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShBcnJheS5wcm90b3R5cGUsICIwIiwgewogICAgICAgICAgICAgICAgZ2V0OiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIDExOwogICAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICB9KTsKCiAgICAgICAgICAgIHZhciBhcnJPYmogPSBbXTsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyck9iaiwgIjAiLCB7CiAgICAgICAgICAgICAgICB2YWx1ZTogMTIsCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgICAgIH0pOwoKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyck9iaiwgIjAiLCB7CiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgIHJldHVybiBlIGluc3RhbmNlb2YgVHlwZUVycm9yICYmIEFycmF5LnByb3RvdHlwZVswXSA9PT0gMTEgJiYgYXJyT2JqWzBdID09PSAxMjsKICAgICAgICB9IGZpbmFsbHkgewogICAgICAgICAgICBkZWxldGUgQXJyYXkucHJvdG90eXBlWzBdOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkgJiYgZm5TdXBwb3J0c0FycmF5SW5kZXhHZXR0ZXJzT25BcnJheXMoKTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-193"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTE5NCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0xOTQuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gJ08nIGlzIGFuIEFycmF5LCAnbmFtZScgaXMgYW4gYXJyYXkgaW5kZXggbmFtZWQgcHJvcGVydHksICduYW1lJyBpcyBvd24gYWNjZXNzb3IgcHJvcGVydHksIHRlc3QgVHlwZUVycm9yIGlzIHRocm93biBvbiB1cGRhdGluZyB0aGUgY29uZmlndXJhYmxlIGF0dHJpYnV0ZSBmcm9tIGZhbHNlIHRvIHRydWUgKDE1LjQuNS4xIHN0ZXAgNC5jKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIGFyck9iaiA9IFtdOwogICAgICAgIHZhciBnZXRGdW5jID0gZnVuY3Rpb24gKCkgewogICAgICAgICAgICByZXR1cm4gMTE7CiAgICAgICAgfTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyck9iaiwgIjAiLCB7CiAgICAgICAgICAgIGdldDogZ2V0RnVuYywKICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgIH0pOwoKICAgICAgICB0cnkgew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N0LmRlZmluZVByb3BlcnR5KEFycmF5LnByb3RvdHlwZSwgIjAiLCB7CiAgICAgICAgICAgICAgICBnZXQ6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgICAgICByZXR1cm4gMTE7CiAgICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwoKICAgICAgICAgICAgdmFyIGFyck9iaiA9IFtdOwoKICAgICAgICAgICAgZnVuY3Rpb24gZ2V0RnVuYygpIHsKICAgICAgICAgICAgICAgIHJldHVybiBhcnJPYmouaGVscFZlcmlmeVNldDsKICAgICAgICAgICAgfQogICAgICAgICAgICBmdW5jdGlvbiBzZXRGdW5jKHZhbHVlKSB7CiAgICAgICAgICAgICAgICBhcnJPYmouaGVscFZlcmlmeVNldCA9IHZhbHVlOwogICAgICAgICAgICB9CgogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXJyT2JqLCAiMCIsIHsKICAgICAgICAgICAgICAgIGdldDogZ2V0RnVuYywKICAgICAgICAgICAgICAgIHNldDogc2V0RnVuYywKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICAgICAgfSk7CgogICAgICAgICAgICBhcnJPYmpbMF0gPSAxMzsKCiAgICAgICAgICAgIHJldHVybiBhY2Nlc3NvclByb3BlcnR5QXR0cmlidXRlc0FyZUNvcnJlY3QoYXJyT2JqLCAiMCIsIGdldEZ1bmMsIHNldEZ1bmMsICJoZWxwVmVyaWZ5U2V0IiwgZmFsc2UsIGZhbHNlKTsKICAgICAgICB9IGZpbmFsbHkgewogICAgICAgICAgICBkZWxldGUgQXJyYXkucHJvdG90eXBlWzBdOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkgJiYgZm5TdXBwb3J0c0FycmF5SW5kZXhHZXR0ZXJzT25BcnJheXMoKTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-195"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTE5NiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0xOTYuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gJ08nIGlzIGFuIEFycmF5LCAnbmFtZScgaXMgYW4gYXJyYXkgaW5kZXggbmFtZWQgcHJvcGVydHksICduYW1lJyBpcyBvd24gYWNjZXNzb3IgcHJvcGVydHkgdGhhdCBvdmVycmlkZXMgYW4gaW5oZXJpdGVkIGRhdGEgcHJvcGVydHkgKDE1LjQuNS4xIHN0ZXAgNC5jKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KEFycmF5LnByb3RvdHlwZSwgIjAiLCB7CiAgICAgICAgICAgICAgICB2YWx1ZTogMTEsCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICAgICAgfSk7CgogICAgICAgICAgICB2YXIgYXJyT2JqID0gW107CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcnJPYmosICIwIiwgewogICAgICAgICAgICAgICAgZ2V0OiBmdW5jdGlvbiAoKSB7IH0sCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgICAgIH0pOwoKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyck9iaiwgIjAiLCB7CiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgIHJldHVybiBlIGluc3RhbmNlb2YgVHlwZUVycm9yOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIGRlbGV0ZSBBcnJheS5wcm90b3R5cGVbMF07CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmblN1cHBvcnRzQXJyYXlJbmRleEdldHRlcnNPbkFycmF5cygpOwogICAgfQp9KTsK","id":"15.2.3.6-4-196"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTE5NyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0xOTcuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gJ08nIGlzIGFuIEFycmF5LCAnbmFtZScgaXMgYW4gYXJyYXkgaW5kZXggbmFtZWQgcHJvcGVydHksICduYW1lJyBpcyBvd24gYWNjZXNzb3IgcHJvcGVydHkgdGhhdCBvdmVycmlkZXMgYW4gaW5oZXJpdGVkIGFjY2Vzc29yIHByb3BlcnR5ICgxNS40LjUuMSBzdGVwIDQuYykiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShBcnJheS5wcm90b3R5cGUsICIwIiwgewogICAgICAgICAgICAgICAgZ2V0OiBmdW5jdGlvbiAoKSB7IH0sCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICAgICAgfSk7CgogICAgICAgICAgICB2YXIgYXJyT2JqID0gW107CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcnJPYmosICIwIiwgewogICAgICAgICAgICAgICAgZ2V0OiBmdW5jdGlvbiAoKSB7IH0sCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgICAgIH0pOwoKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyck9iaiwgIjAiLCB7CiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgIHJldHVybiBlIGluc3RhbmNlb2YgVHlwZUVycm9yOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIGRlbGV0ZSBBcnJheS5wcm90b3R5cGVbMF07CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmblN1cHBvcnRzQXJyYXlJbmRleEdldHRlcnNPbkFycmF5cygpOwogICAgfQp9KTsK","id":"15.2.3.6-4-197"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTE5OCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0xOTguanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gJ08nIGlzIGFuIEFycmF5LCAnbmFtZScgaXMgYW4gYXJyYXkgaW5kZXggbmFtZWQgcHJvcGVydHksICduYW1lJyBwcm9wZXJ0eSBkb2Vzbid0IGV4aXN0IGluICdPJywgdGVzdCBU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9IHsKICAgICAgICAgICAgZ2V0OiBnZXRGdW5jLAogICAgICAgICAgICBzZXQ6IHNldEZ1bmMsCiAgICAgICAgICAgIGVudW1lcmFibGU6IHRydWUsCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgIH07CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcnJPYmosICIwIiwgewogICAgICAgICAgICBnZXQ6IGdldEZ1bmMsCiAgICAgICAgICAgIHNldDogc2V0RnVuYywKICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgfSk7CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcnJPYmosICIwIiwgZGVzYyk7CgogICAgICAgIHJldHVybiBhY2Nlc3NvclByb3BlcnR5QXR0cmlidXRlc0FyZUNvcnJlY3QoYXJyT2JqLCAiMCIsIGdldEZ1bmMsIHNldEZ1bmMsICJzZXRWZXJpZnlIZWxwUHJvcCIsIHRydWUsIHRydWUpOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmblN1cHBvcnRzQXJyYXlJbmRleEdldHRlcnNPbkFycmF5cygpOwogICAgfQp9KTsK","id":"15.2.3.6-4-213"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTIxNCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0yMTQuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gJ08nIGlzIGFuIEFycmF5LCAnbmFtZScgaXMgYW4gYXJyYXkgaW5kZXggcH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24gaWYgdGhlIFtbQ29uZmlndXJhYmxlXV0gYXR0cmlidXRlIHZhbHVlIG9mICduYW1lJyBpcyBmYWxzZSAgYW5kIHRoZSBbW0NvbmZpZ3VyYWJsZV1dIGZpZWxkIG9mICdkZXNjJyBpcyB0cnVlICgxNS40LjUuMSBzdGVwIDQuYykiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICAgICAgICB2YXIgYXJyT2JqID0gW107CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcnJPYmosICIxIiwgewogICAgICAgICAgICB2YWx1ZTogMywKICAgICAgICAgICAgd3JpdGFibGU6IHRydWUsCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICB9KTsKCiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyck9iaiwgIjEiLCB7CiAgICAgICAgICAgICAgICB2YWx1ZTogMTMsCiAgICAgICAgICAgICAgICB3cml0YWJsZTogdHJ1ZSwKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICB9KTsKICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwoKICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgIHJldHVybiBlIGluc3RhbmNlb2YgVHlwZUVycm9yICYmIGRhdGFQcm9wZXJ0eUF0dHJpYnV0ZXNBcmVDb3JyZWN0KGFyck9iaiwgIjEiLCAzLCB0cnVlLCBmYWxzZSwgZmFsc2UpOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSk7CiAgICB9Cn0pOwo=","id":"15.2.3.6-4-238"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIx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1LjQuNS4xIHN0ZXAgNC5jKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIHZhciBhcnJPYmogPSBbXTsKCiAgICAgICAgZnVuY3Rpb24gc2V0RnVuYyh2YWx1ZSkgewogICAgICAgICAgICBhcnJPYmouc2V0VmVyaWZ5SGVscFByb3AgPSB2YWx1ZTsKICAgICAgICB9CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcnJPYmosICIxIiwgewogICAgICAgICAgICBzZXQ6IHNldEZ1bmMsCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICB9KTsKCiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyck9iaiwgIjEiLCB7CiAgICAgICAgICAgICAgICB2YWx1ZTogMTMKICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKCiAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICByZXR1cm4gZSBpbnN0YW5jZW9mIFR5cGVFcnJvciAmJiBhY2Nlc3NvclByb3BlcnR5QXR0cmlidXRlc0FyZUNvcnJlY3QoYXJyT2JqLCAiMSIsIHVuZGVmaW5lZCwgc2V0RnVuYywgInNldFZlcmlmeUhlbHBQcm9wIiwgZmFsc2UsIGZhbHNlKTsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuU3VwcG9ydHNBcnJheUluZGV4R2V0dGVyc09uQXJyYXlzKCk7CiAgICB9Cn0pOwo=","id":"15.2.3.6-4-240"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTI0MSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFw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cml0ZWQgYWNjZXNzb3IgcHJvcGVydHkgKDguMTIuOSBzdGVwIDEpIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgcHJvdG8gPSB7fTsKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkocHJvdG8sICJmb28iLCB7CiAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgeyB9LAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKCiAgICAgICAgdmFyIENvbnN0cnVjdEZ1biA9IGZ1bmN0aW9uICgpIHsgfTsKICAgICAgICBDb25zdHJ1Y3RGdW4ucHJvdG90eXBlID0gcHJvdG87CiAgICAgICAgdmFyIG9iaiA9IG5ldyBDb25zdHJ1Y3RGdW4oKTsKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAiZm9vIiwgewogICAgICAgICAgICB2YWx1ZTogMTEsCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICB9KTsKCiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgImZvbyIsIHsKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICB9KTsKICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBUeXBlRXJyb3IgJiYgb2JqLmZvbyA9PT0gMTE7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-25"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ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HJvcGVydHkoYXJyT2JqLCAiMSIsIHsKICAgICAgICAgICAgICAgIGdldDogdW5kZWZpbmVkCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICB2YXIgaGFzUHJvcGVydHkgPSBhcnJPYmouaGFzT3duUHJvcGVydHkoIjEiKTsKICAgICAgICAgICAgdmFyIGRlc2MgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKGFyck9iaiwgIjEiKTsKCiAgICAgICAgICAgIHZhciB2ZXJpZnlHZXQgPSBhcnJPYmpbMV0gPT09IGdldEZ1bmMoKTsKCiAgICAgICAgICAgIHZhciB2ZXJpZnlTZXQgPSBkZXNjLmhhc093blByb3BlcnR5KCJzZXQiKSAmJiB0eXBlb2YgZGVzYy5zZXQgPT09ICJ1bmRlZmluZWQiOwoKICAgICAgICAgICAgdmFyIHZlcmlmeUVudW1lcmFibGUgPSBmYWxzZTsKICAgICAgICAgICAgZm9yICh2YXIgcCBpbiBhcnJPYmopIHsKICAgICAgICAgICAgICAgIGlmIChwID09PSAiMSIpIHsKICAgICAgICAgICAgICAgICAgICB2ZXJpZnlFbnVtZXJhYmxlID0gdHJ1ZQogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CgogICAgICAgICAgICB2YXIgdmVyaWZ5Q29uZmlndXJhYmxlID0gZmFsc2U7CiAgICAgICAgICAgIGRlbGV0ZSBhcnJPYmpbMV07CiAgICAgICAgICAgIHZlcmlmeUNvbmZpZ3VyYWJsZSA9IGFyck9iai5oYXNPd25Qcm9wZXJ0eSgiMSIpOwoKICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBUeXBlRXJyb3IgJiYgaGFzUHJvcGVydHkgJiYgdmVyaWZ5R2V0ICYmCiAgICAgICAgICAgICAgICB2ZXJpZnlTZXQgJiYgIXZlcmlmeUVudW1lcmFibGUgJiYgdmVyaWZ5Q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ModmFsdWUpIHsKICAgICAgICAgICAgYXJyT2JqLnNldFZlcmlmeUhlbHBQcm9wID0gdmFsdWU7CiAgICAgICAgfQoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXJyT2JqLCAiMSIsIHsKICAgICAgICAgICAgZ2V0OiB1bmRlZmluZWQsCiAgICAgICAgICAgIHNldDogc2V0RnVuYywKICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgIH0pOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXJyT2JqLCAiMSIsIHsKICAgICAgICAgICAgICAgIGdldDogdW5kZWZpbmVkCiAgICAgICAgICAgIH0pOwoKICAgICAgICAgICAgcmV0dXJuIGFjY2Vzc29yUHJvcGVydHlBdHRyaWJ1dGVzQXJlQ29ycmVjdChhcnJPYmosICIxIiwgdW5kZWZpbmVkLCBzZXRGdW5jLCAic2V0VmVyaWZ5SGVscFByb3AiLCBmYWxzZSwgZmFsc2UpOwogICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkgJiYgZm5TdXBwb3J0c0FycmF5SW5kZXhHZXR0ZXJzT25BcnJheXMoKTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-257"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTI1OCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0yNTguanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gJ08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YW5kICdkZXNjJyBpcyBhY2Nlc3NvciBkZXNjcmlwdG9yLCB0ZXN0IHVwZGF0aW5nIHRoZSBbW1NldF1dIGF0dHJpYnV0ZSB2YWx1ZSBvZiAnbmFtZScgKDE1LjQuNS4xIHN0ZXAgNC5jKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIHZhciBhcnJPYmogPSBbXTsKCiAgICAgICAgZnVuY3Rpb24gc2V0RnVuYyh2YWx1ZSkgewogICAgICAgICAgICBhcnJPYmouc2V0VmVyaWZ5SGVscFByb3AgPSB2YWx1ZTsKICAgICAgICB9CiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyck9iaiwgIjAiLCB7CiAgICAgICAgICAgIHNldDogZnVuY3Rpb24gKCkgeyB9LAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyck9iaiwgIjAiLCB7CiAgICAgICAgICAgIHNldDogc2V0RnVuYwogICAgICAgIH0pOwogICAgICAgIHJldHVybiBhY2Nlc3NvclByb3BlcnR5QXR0cmlidXRlc0FyZUNvcnJlY3QoYXJyT2JqLCAiMCIsIHVuZGVmaW5lZCwgc2V0RnVuYywgInNldFZlcmlmeUhlbHBQcm9wIiwgZmFsc2UsIHRydWUpOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmblN1cHBvcnRzQXJyYXlJbmRleEdldHRlcnNPbkFycmF5cygpOwogICAgfQp9KTsK","id":"15.2.3.6-4-268"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTI2OSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xN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aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gJ08nIGlzIGFuIEFycmF5LCAnbmFtZScgaXMgYW4gYXJyYXkgaW5kZXggbmFtZWQgcHJvcGVydHksIG5hbWUgaXMgYWNjZXNzb3IgcHJvcGVydHkgYW5kICdkZXNjJyBpcyBhY2Nlc3NvciBkZXNjcmlwdG9yLCB0ZXN0IHVwZGF0aW5nIG11bHRpcGxlIGF0dHJpYnV0ZSB2YWx1ZXMgb2YgJ25hbWUnICgxNS40LjUuMSBzdGVwIDQuYykiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICAgICAgICB2YXIgYXJyT2JqID0gW107CgogICAgICAgIGZ1bmN0aW9uIHNldEZ1bmModmFsdWUpIHsKICAgICAgICAgICAgYXJyT2JqLnNldFZlcmlmeUhlbHBQcm9wID0gdmFsdWU7CiAgICAgICAgfQogICAgICAgIGZ1bmN0aW9uIGdldEZ1bmMoKSB7CiAgICAgICAgICAgIHJldHVybiAxMjsKICAgICAgICB9CiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyck9iaiwgIjEiLCB7CiAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgcmV0dXJuIDY7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIHNldDogc2V0RnVuYywKICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgfSk7CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcnJPYmosICIxIiwgewogICAgICAgICAgICBnZXQ6IGdldEZ1bmMsCiAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgfSk7CiAgICAgICAgcmV0dXJuIGFjY2Vzc29yUHJvcGVydHlBdHRyaWJ1dGVzQXJlQ29ycmVj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zZSgpIHsKICAgICAgICB2YXIgcHJvdG8gPSB7fTsKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkocHJvdG8sICJmb28iLCB7CiAgICAgICAgICAgIHZhbHVlOiAxMSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgfSk7CgogICAgICAgIHZhciBDb25zdHJ1Y3RGdW4gPSBmdW5jdGlvbiAoKSB7IH07CiAgICAgICAgQ29uc3RydWN0RnVuLnByb3RvdHlwZSA9IHByb3RvOwogICAgICAgIHZhciBvYmogPSBuZXcgQ29uc3RydWN0RnVuKCk7CiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgImZvbyIsIHsKICAgICAgICAgICAgZ2V0OiBmdW5jdGlvbiAoKSB7IH0sCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICB9KTsKCiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgImZvbyIsIHsKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICB9KTsKICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBUeXBlRXJyb3I7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-28"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTI4MCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0yOD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UoKSB7CgogICAgICAgIHZhciBhcnJPYmogPSBbXTsKCiAgICAgICAgZnVuY3Rpb24gZ2V0RnVuYygpIHsKICAgICAgICAgICAgcmV0dXJuIDEyOwogICAgICAgIH0KICAgICAgICBmdW5jdGlvbiBzZXRGdW5jKHZhbHVlKSB7CiAgICAgICAgICAgIGFyck9iai5zZXRWZXJpZnlIZWxwUHJvcCA9IHZhbHVlOwogICAgICAgIH0KICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXJyT2JqLCAicHJvcGVydHkiLCB7CiAgICAgICAgICAgIGdldDogZ2V0RnVuYywKICAgICAgICAgICAgc2V0OiBzZXRGdW5jCiAgICAgICAgfSk7CiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyck9iaiwgInByb3BlcnR5IiwgewogICAgICAgICAgICAgICAgZ2V0OiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIDM2OwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9KTsKICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBUeXBlRXJyb3IgJiYgYWNjZXNzb3JQcm9wZXJ0eUF0dHJpYnV0ZXNBcmVDb3JyZWN0KGFyck9iaiwgInByb3BlcnR5IiwgZ2V0RnVuYywgc2V0RnVuYywgInNldFZlcmlmeUhlbHBQcm9wIiwgZmFsc2UsIGZhbHNlKTsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-4-285"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTI4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MTUuNC41LjEgc3RlcCA1KSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIHZhciBhcnJPYmogPSBbXTsKCiAgICAgICAgZnVuY3Rpb24gc2V0RnVuYyh2YWx1ZSkgewogICAgICAgICAgICBhcnJPYmouc2V0VmVyaWZ5SGVscFByb3AgPSB2YWx1ZTsKICAgICAgICB9CiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyck9iaiwgInByb3BlcnR5IiwgewogICAgICAgICAgICBzZXQ6IHNldEZ1bmMsCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICB9KTsKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXJyT2JqLCAicHJvcGVydHkiLCB7CiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgIHJldHVybiBlIGluc3RhbmNlb2YgVHlwZUVycm9yICYmIGFjY2Vzc29yUHJvcGVydHlBdHRyaWJ1dGVzQXJlQ29ycmVjdChhcnJPYmosICJwcm9wZXJ0eSIsIHVuZGVmaW5lZCwgc2V0RnVuYywgInNldFZlcmlmeUhlbHBQcm9wIiwgZmFsc2UsIGZhbHNlKTsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-4-288"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTI4OS0xIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4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ByZWRlZmluZWQgaW4gJ08nIHdpdGggYWxsIGNvcnJlY3QgYXR0cmlidXRlIHZhbHVlcyAoMTAuNiBbW0RlZmluZU93blByb3BlcnR5XV0gc3RlcCAzKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgcmV0dXJuIChmdW5jdGlvbiAoYSwgYiwgYykgeyAKICAgICAgICAgICAgZGVsZXRlIGFyZ3VtZW50c1swXTsKICAgICAgICAgICAgZnVuY3Rpb24gZ2V0RnVuYygpIHsKICAgICAgICAgICAgICAgIHJldHVybiAxMDsKICAgICAgICAgICAgfQogICAgICAgICAgICBmdW5jdGlvbiBzZXRGdW5jKHZhbHVlKSB7CiAgICAgICAgICAgICAgICB0aGlzLnNldFZlcmlmeUhlbHBQcm9wID0gdmFsdWU7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyZ3VtZW50cywgIjAiLCB7CiAgICAgICAgICAgICAgICBnZXQ6IGdldEZ1bmMsCiAgICAgICAgICAgICAgICBzZXQ6IHNldEZ1bmMsCiAgICAgICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICB2YXIgdmVyaWZ5Rm9ybWFsID0gYSA9PT0gMDsKICAgICAgICAgICAgcmV0dXJuIGFjY2Vzc29yUHJvcGVydHlBdHRyaWJ1dGVzQXJlQ29ycmVjdChhcmd1bWVudHMsICIwIiwgZ2V0RnVuYywgc2V0RnVuYywgInNldFZlcmlmeUhlbHBQcm9wIiwgdHJ1ZSwgdHJ1ZSkgJiYgdmVyaWZ5Rm9ybWFsOwogICAgICAgIH0oMCwgMSwgMikpOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZ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HdoaWNoIGlzIGFsc28gZGVmaW5lZCBpbiBbW1BhcmFtZXRlck1hcF1dIG9mICdPJywgYW5kICdkZXNjJyBpcyBhY2Nlc3NvciBkZXNjcmlwdG9yLCB0ZXN0IHVwZGF0aW5nIG11bHRpcGxlIGF0dHJpYnV0ZSB2YWx1ZXMgb2YgJ25hbWUnICgxMC42IFtbRGVmaW5lT3duUHJvcGVydHldXSBzdGVwIDMgYW5kIDUuYS5pKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgcmV0dXJuIChmdW5jdGlvbiAoYSwgYiwgYykgeyAKICAgICAgICAgICAgZnVuY3Rpb24gZ2V0RnVuYzEoKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gMTA7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyZ3VtZW50cywgIjAiLCB7CiAgICAgICAgICAgICAgICBnZXQ6IGdldEZ1bmMxLAogICAgICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZSwKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICB9KTsKICAgICAgICAgICAgZnVuY3Rpb24gZ2V0RnVuYzIoKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gMjA7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyZ3VtZW50cywgIjAiLCB7CiAgICAgICAgICAgICAgICBnZXQ6IGdldEZ1bmMyLAogICAgICAgICAgICAgICAgZW51bWVyYWJsZTogZmFsc2UsCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICB2YXIgdmVyaWZ5Rm9ybWFsID0gYSA9PT0gMDsKICAgICAgICAgICAgcmV0dXJuIGFjY2Vzc29yUHJvcGVydHlBdHRyaWJ1dGVzQXJlQ29ycmVjdChhcmd1bWVud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AgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXJndW1lbnRzLCAiMCIsIHsKICAgICAgICAgICAgICAgIGdldDogZ2V0RnVuYzEsCiAgICAgICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICBmdW5jdGlvbiBnZXRGdW5jMigpIHsKICAgICAgICAgICAgICAgIHJldHVybiAyMDsKICAgICAgICAgICAgfQogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXJndW1lbnRzLCAiMCIsIHsKICAgICAgICAgICAgICAgIGdldDogZ2V0RnVuYzIsCiAgICAgICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZSwKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIHJldHVybiBhY2Nlc3NvclByb3BlcnR5QXR0cmlidXRlc0FyZUNvcnJlY3QoYXJndW1lbnRzLCAiMCIsIGdldEZ1bmMyLCB1bmRlZmluZWQsIHVuZGVmaW5lZCwgZmFsc2UsIGZhbHNlKTsKICAgICAgICB9KDAsIDEsIDIpKTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkgJiYgZm5TdXBwb3J0c0FycmF5SW5kZXhHZXR0ZXJzT25PYmplY3RzKCkgJiYgZm5FeGlzdHMoT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcik7CiAgICB9Cn0pOwo=","id":"15.2.3.6-4-291"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTI5Mi0xIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8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mN0aW9uIChhLCBiLCBjKSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcmd1bWVudHMsICIwIiwgewogICAgICAgICAgICAgICAgdmFsdWU6IDEwLAogICAgICAgICAgICAgICAgd3JpdGFibGU6IGZhbHNlLAogICAgICAgICAgICAgICAgZW51bWVyYWJsZTogZmFsc2UsCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICB0cnkgewogICAgICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyZ3VtZW50cywgIjAiLCB7CiAgICAgICAgICAgICAgICAgICAgdmFsdWU6IDIwCiAgICAgICAgICAgICAgICB9KTsKICAgICAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICAgICAgdmFyIHZlcmlmeUZvcm1hbCA9IGEgPT09IDEwOwogICAgICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBUeXBlRXJyb3IgJiYgZGF0YVByb3BlcnR5QXR0cmlidXRlc0FyZUNvcnJlY3QoYXJndW1lbnRzLCAiMCIsIDEwLCBmYWxzZSwgZmFsc2UsIGZhbHNlKSAmJiB2ZXJpZnlGb3JtYWw7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0oMCwgMSwgMikpOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-293-2"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTI5My0zIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuNi8xNS4yLjMuNi00LTI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gICAgIH0oMCwgMSwgMikpOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-293-3"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTI5MyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0yOTMuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gJ08nIGlzIGFuIEFyZ3VtZW50cyBvYmplY3QsICduYW1lJyBpcyBvd24gZGF0YSBwcm9wZXJ0eSBvZiAnTycsIHRlc3QgVHlwZUVycm9yIGlzIHRocm93biB3aGVuIHVwZGF0aW5nIHRoZSBbW1ZhbHVlXV0gYXR0cmlidXRlIHZhbHVlIG9mICduYW1lJyB3aGljaCBpcyBkZWZpbmVkIGFzIG5vbi13cml0YWJsZSBhbmQgbm9uLWNvbmZpZ3VyYWJsZSAoMTAuNiBbW0RlZmluZU93blByb3BlcnR5XV0gc3RlcCAzKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgcmV0dXJuIChmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcmd1bWVudHMsICIwIiwgewogICAgICAgICAgICAgICAgdmFsdWU6IDEwLAogICAgICAgICAgICAgICAgd3JpdGFibGU6IGZhbHNlLAogICAgICAgICAgICAgICAgZW51bWVyYWJsZTogZmFsc2UsCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICB0cnkgewogICAgICAgICAgICAgICAgT2J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nbmFtZScgd2hpY2ggaXMgZGVmaW5lZCBhcyBub24tY29uZmlndXJhYmxlICgxMC42IFtbRGVmaW5lT3duUHJvcGVydHldXSBzdGVwIDQgYW5kIDViKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgcmV0dXJuIChmdW5jdGlvbiAoYSwgYiwgYykgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXJndW1lbnRzLCAiMCIsIHsKICAgICAgICAgICAgICAgIHZhbHVlOiAxMCwKICAgICAgICAgICAgICAgIHdyaXRhYmxlOiBmYWxzZSwKICAgICAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgICAgICB9KTsKICAgICAgICAgICAgdHJ5IHsKICAgICAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcmd1bWVudHMsICIwIiwgewogICAgICAgICAgICAgICAgICAgIHdyaXRhYmxlOiB0cnVlCiAgICAgICAgICAgICAgICB9KTsKICAgICAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICAgICAgdmFyIHZlcmlmeUZvcm1hbCA9IGEgPT09IDEwOwogICAgICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBUeXBlRXJyb3IgJiYgZGF0YVByb3BlcnR5QXR0cmlidXRlc0FyZUNvcnJlY3QoYXJndW1lbnRzLCAiMCIsIDEwLCBmYWxzZSwgZmFsc2UsIGZhbHNlKSAmJiB2ZXJpZnlGb3JtYWw7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0oMCwgMSwgMikpOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-294-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTI5NCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0yOTQuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gJ08nIGlzIGFuIEFyZ3VtZW50cyBvYmplY3QsICduYW1lJyBpcyBvd24gZGF0YSBwcm9wZXJ0eSBvZiAnTycsIHRlc3QgVHlwZUVycm9yIGlzIHRocm93biB3aGVuIHVwZGF0aW5nIHRoZSBbW1dyaXRhYmxlXV0gYXR0cmlidXRlIHZhbHVlIG9mICduYW1lJyB3aGljaCBpcyBkZWZpbmVkIGFzIG5vbi1jb25maWd1cmFibGUgKDEwLjYgW1tEZWZpbmVPd25Qcm9wZXJ0eV1dIHN0ZXAgNCkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHJldHVybiAoZnVuY3Rpb24gKCkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXJndW1lbnRzLCAiMCIsIHsKICAgICAgICAgICAgICAgIHZhbHVlOiAxMCwKICAgICAgICAgICAgICAgIHdyaXRhYmxlOiBmYWxzZSwKICAgICAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgICAgICB9KTsKICAgICAgICAgICAgdHJ5IHsKICAgICAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcmd1bWVudHMsICIwIiwgewogICAgICAgICAgICAgICAgICAgIHdyaXRhYmxlOiB0cnVlCiAgICAgICAgICAgICAgICB9KTsKICAgICAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICAgICAgcmV0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3RjYXNlKCkgewogICAgICAgIHJldHVybiAoZnVuY3Rpb24gKGEsIGIsIGMpIHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyZ3VtZW50cywgIjAiLCB7CiAgICAgICAgICAgICAgICB2YWx1ZTogMTAsCiAgICAgICAgICAgICAgICB3cml0YWJsZTogZmFsc2UsCiAgICAgICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgICAgICB9KTsKICAgICAgICAgICAgdHJ5IHsKICAgICAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcmd1bWVudHMsICIwIiwgewogICAgICAgICAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlCiAgICAgICAgICAgICAgICB9KTsKICAgICAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICAgICAgdmFyIHZlcmlmeUZvcm1hbCA9IGEgPT09IDEwOwogICAgICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBUeXBlRXJyb3IgJiYgZGF0YVByb3BlcnR5QXR0cmlidXRlc0FyZUNvcnJlY3QoYXJndW1lbnRzLCAiMCIsIDEwLCBmYWxzZSwgdHJ1ZSwgZmFsc2UpICYmIHZlcmlmeUZvcm1hbDsKICAgICAgICAgICAgfQogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSgwLCAxLCAyKSk7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-4-295-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTI5NSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8x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ICAgIHZhbHVlOiAxMCwKICAgICAgICAgICAgICAgIHdyaXRhYmxlOiBmYWxzZSwKICAgICAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgICAgICB9KTsKICAgICAgICAgICAgdHJ5IHsKICAgICAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcmd1bWVudHMsICIwIiwgewogICAgICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgICAgIHZhciB2ZXJpZnlGb3JtYWwgPSBhID09PSAxMDsKICAgICAgICAgICAgICAgIHJldHVybiBlIGluc3RhbmNlb2YgVHlwZUVycm9yICYmIGRhdGFQcm9wZXJ0eUF0dHJpYnV0ZXNBcmVDb3JyZWN0KGFyZ3VtZW50cywgIjAiLCAxMCwgZmFsc2UsIGZhbHNlLCBmYWxzZSkgJiYgdmVyaWZ5Rm9ybWFsOwogICAgICAgICAgICB9CiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9KDAsIDEsIDIpKTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSk7CiAgICB9Cn0pOwo=","id":"15.2.3.6-4-296-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTI5NiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0yOTYuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gJ08nIGlzIGFuIEFyZ3VtZW50cyBvYmplY3QsICduYW1lJyBpcyBvd24gZGF0YSBwcm9wZXJ0eSBvZiAnTycsIHRlc3QgVHlwZUVycm9yIGlzIHRocm93biB3aGVuIHVwZGF0aW5nIHRoZSBbW0NvbmZpZ3VyYWJsZV1dIGF0dHJpYnV0ZSB2YWx1ZSBvZiAnbmFtZScgd2hpY2ggaXMgZGVmaW5lZCBhcyBub24tY29uZmlndXJhYmxlICgxMC42IFtbRGVmaW5lT3duUHJvcGVydHldXSBzdGVwIDQpIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICByZXR1cm4gKGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyZ3VtZW50cywgIjAiLCB7CiAgICAgICAgICAgICAgICB2YWx1ZTogMTAsCiAgICAgICAgICAgICAgICB3cml0YWJsZTogZmFsc2UsCiAgICAgICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZSwKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIHRyeSB7CiAgICAgICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXJndW1lbnRzLCAiMCIsIHsKICAgICAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICAgICAgICAgIH0pOwogICAgICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZSBpbnN0YW5jZW9mIFR5cGVFcnJvciAmJiBkYXRhUHJvcGVydHlBdHRyaWJ1dGVzQXJlQ29ycmVjdChhcmd1bWVudHMsICIwIiwgMTAsIGZhbHNlLCBmYWxzZSwgZmFsc2UpOwogICAgICAgICAgICB9CiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9KDAsIDEsIDIpKTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW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Z1bmMxLAogICAgICAgICAgICAgICAgZW51bWVyYWJsZTogZmFsc2UsCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICBmdW5jdGlvbiBnZXRGdW5jMigpIHsKICAgICAgICAgICAgICAgIHJldHVybiAyMDsKICAgICAgICAgICAgfQogICAgICAgICAgICB0cnkgewogICAgICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyZ3VtZW50cywgIjAiLCB7CiAgICAgICAgICAgICAgICAgICAgZ2V0OiBnZXRGdW5jMgogICAgICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgICAgIHZhciB2ZXJpZnlGb3JtYWwgPSBhID09PSAwOwogICAgICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBUeXBlRXJyb3IgJiYgYWNjZXNzb3JQcm9wZXJ0eUF0dHJpYnV0ZXNBcmVDb3JyZWN0KGFyZ3VtZW50cywgIjAiLCBnZXRGdW5jMSwgdW5kZWZpbmVkLCB1bmRlZmluZWQsIGZhbHNlLCBmYWxzZSkgJiYgdmVyaWZ5Rm9ybWFsOwogICAgICAgICAgICB9CiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9KDAsIDEsIDIpKTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkgJiYgZm5TdXBwb3J0c0FycmF5SW5kZXhHZXR0ZXJzT25PYmplY3RzKCkgJiYKICAgICAgICAgICAgZm5FeGlzdHMoT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcik7CiAgICB9Cn0pOwo=","id":"15.2.3.6-4-297-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6IC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XBkYXRpbmcgdGhlIFtbU2V0XV0gYXR0cmlidXRlIHZhbHVlIG9mICduYW1lJyB3aGljaCBpcyBkZWZpbmVkIGFzIG5vbi1jb25maWd1cmFibGUgKDEwLjYgW1tEZWZpbmVPd25Qcm9wZXJ0eV1dIHN0ZXBzIDQgYW5kIDVhKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgcmV0dXJuIChmdW5jdGlvbiAoYSwgYiwgYykgewogICAgICAgICAgICBmdW5jdGlvbiBnZXRGdW5jKCkgewogICAgICAgICAgICAgICAgcmV0dXJuIDEwOwogICAgICAgICAgICB9CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcmd1bWVudHMsICIwIiwgewogICAgICAgICAgICAgICAgZ2V0OiBnZXRGdW5jLAogICAgICAgICAgICAgICAgc2V0OiB1bmRlZmluZWQsCiAgICAgICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZSwKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIGZ1bmN0aW9uIHNldEZ1bmModmFsdWUpIHsKICAgICAgICAgICAgICAgIHRoaXMuc2V0VmVyaWZ5SGVscFByb3AgPSB2YWx1ZTsKICAgICAgICAgICAgfQogICAgICAgICAgICB0cnkgewogICAgICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyZ3VtZW50cywgIjAiLCB7CiAgICAgICAgICAgICAgICAgICAgc2V0OiBzZXRGdW5jCiAgICAgICAgICAgICAgICB9KTsKICAgICAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICAgICAgdmFyIHZlcmlmeUZvcm1hbCA9IGEgPT09IDA7CiAgICAgICAgICAgICAgICByZXR1cm4gZSBpbnN0YW5jZW9mIFR5cGVFcnJvciAmJgogICAgICAgICAgICAgICAgICAgIGFjY2Vzc29yUHJvcGVydHlBdHRyaWJ1d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5jdGlvbiAoKSB7CiAgICAgICAgICAgIGZ1bmN0aW9uIGdldEZ1bmMoKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gMTA7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyZ3VtZW50cywgIjAiLCB7CiAgICAgICAgICAgICAgICBnZXQ6IGdldEZ1bmMsCiAgICAgICAgICAgICAgICBzZXQ6IHVuZGVmaW5lZCwKICAgICAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgICAgICB9KTsKICAgICAgICAgICAgZnVuY3Rpb24gc2V0RnVuYyh2YWx1ZSkgewogICAgICAgICAgICAgICAgdGhpcy5zZXRWZXJpZnlIZWxwUHJvcCA9IHZhbHVlOwogICAgICAgICAgICB9CiAgICAgICAgICAgIHRyeSB7CiAgICAgICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXJndW1lbnRzLCAiMCIsIHsKICAgICAgICAgICAgICAgICAgICBzZXQ6IHNldEZ1bmMKICAgICAgICAgICAgICAgIH0pOwogICAgICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZSBpbnN0YW5jZW9mIFR5cGVFcnJvciAmJiBhY2Nlc3NvclByb3BlcnR5QXR0cmlidXRlc0FyZUNvcnJlY3QoYXJndW1lbnRzLCAiMCIsIGdldEZ1bmMsIHVuZGVmaW5lZCwgdW5kZWZpbmVkLCBmYWxzZSwgZmFsc2UpOwogICAgICAgICAgICB9CiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9KDAsIDEsIDIpKTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkgJiYgZm5TdXBwb3J0c0Fyc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YywKICAgICAgICAgICAgICAgIGVudW1lcmFibGU6IHRydWUsCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICB0cnkgewogICAgICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyZ3VtZW50cywgIjAiLCB7CiAgICAgICAgICAgICAgICAgICAgZW51bWVyYWJsZTogZmFsc2UKICAgICAgICAgICAgICAgIH0pOwogICAgICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgICAgICB2YXIgdmVyaWZ5Rm9ybWFsID0gYSA9PT0gMDsKICAgICAgICAgICAgICAgIHJldHVybiBlIGluc3RhbmNlb2YgVHlwZUVycm9yICYmCiAgICAgICAgICAgICAgICAgICAgYWNjZXNzb3JQcm9wZXJ0eUF0dHJpYnV0ZXNBcmVDb3JyZWN0KGFyZ3VtZW50cywgIjAiLCBnZXRGdW5jLCB1bmRlZmluZWQsIHVuZGVmaW5lZCwgdHJ1ZSwgZmFsc2UpICYmIHZlcmlmeUZvcm1hbDsKICAgICAgICAgICAgfQogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSgwLCAxLCAyKSk7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuU3VwcG9ydHNBcnJheUluZGV4R2V0dGVyc09uT2JqZWN0cygpICYmCiAgICAgICAgICAgIGZuRXhpc3RzKE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IpOwogICAgfQp9KTsK","id":"15.2.3.6-4-299-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTI5OSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0yOTkuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gJ08nIGlzIGFuIEFyZ3VtZW50cyBvYmplY3QsICduYW1lJyBpcyBvd24gYWNjZXNzb3IgcHJvcGVydHkgb2YgJ08nLCB0ZXN0IFR5cGVFcnJvciBpcyB0aHJvd24gd2hlbiB1cGRhdGluZyB0aGUgW1tFbnVtZXJhYmxlXV0gYXR0cmlidXRlIHZhbHVlIG9mICduYW1lJyB3aGljaCBpcyBkZWZpbmVkIGFzIG5vbi1jb25maWd1cmFibGUgKDEwLjYgW1tEZWZpbmVPd25Qcm9wZXJ0eV1dIHN0ZXAgNCkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHJldHVybiAoZnVuY3Rpb24gKCkgewogICAgICAgICAgICBmdW5jdGlvbiBnZXRGdW5jKCkgewogICAgICAgICAgICAgICAgcmV0dXJuIDEwOwogICAgICAgICAgICB9CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcmd1bWVudHMsICIwIiwgewogICAgICAgICAgICAgICAgZ2V0OiBnZXRGdW5jLAogICAgICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZSwKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIHRyeSB7CiAgICAgICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXJndW1lbnRzLCAiMCIsIHsKICAgICAgICAgICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZQogICAgICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgICAgIHJldHVybiBlIGluc3RhbmNlb2YgVHlwZUVycm9yICYmIGFjY2Vzc29yUHJvcGVydHlBdHRyaWJ1dGVzQXJlQ29ycmVjdChh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SkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHJldHVybiAoZnVuY3Rpb24gKGEsIGIsIGMpIHsKICAgICAgICAgICAgZnVuY3Rpb24gZ2V0RnVuYygpIHsKICAgICAgICAgICAgICAgIHJldHVybiAwOwogICAgICAgICAgICB9CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcmd1bWVudHMsICIwIiwgewogICAgICAgICAgICAgICAgZ2V0OiBnZXRGdW5jLAogICAgICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZSwKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIHRyeSB7CiAgICAgICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXJndW1lbnRzLCAiMCIsIHsKICAgICAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICAgICAgICAgIH0pOwogICAgICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgICAgICB2YXIgdmVyaWZ5Rm9ybWFsID0gYSA9PT0gMDsKICAgICAgICAgICAgICAgIHJldHVybiBlIGluc3RhbmNlb2YgVHlwZUVycm9yICYmCiAgICAgICAgICAgICAgICAgICAgYWNjZXNzb3JQcm9wZXJ0eUF0dHJpYnV0ZXNBcmVDb3JyZWN0KGFyZ3VtZW50cywgIjAiLCBnZXRGdW5jLCB1bmRlZmluZWQsIHVuZGVmaW5lZCwgdHJ1ZSwgZmFsc2UpICYmIHZlcmlmeUZvcm1hbDsKICAgICAgICAgICAgfQogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSgwLCAxLCAyKSk7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuU3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HJvcGVydHkoYXJndW1lbnRzLCAiMCIsIHsKICAgICAgICAgICAgICAgIGdldDogZ2V0RnVuYywKICAgICAgICAgICAgICAgIHNldDogc2V0RnVuYywKICAgICAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgICAgICB9KTsKICAgICAgICAgICAgdmFyIHZlcmlmeUZvcm1hbCA9IGEgPT09IDA7CiAgICAgICAgICAgIHJldHVybiBhY2Nlc3NvclByb3BlcnR5QXR0cmlidXRlc0FyZUNvcnJlY3QoYXJndW1lbnRzLCAiMCIsIGdldEZ1bmMsIHNldEZ1bmMsICJzZXRWZXJpZnlIZWxwUHJvcCIsIGZhbHNlLCBmYWxzZSkgJiYgdmVyaWZ5Rm9ybWFsOwogICAgICAgIH0oMCwgMSwgMikpOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmblN1cHBvcnRzQXJyYXlJbmRleEdldHRlcnNPbk9iamVjdHMoKSAmJgogICAgICAgICAgICBmbkV4aXN0cyhPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-302-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTMwMiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0zMDIuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gJ08nIGlzIGFuIEFyZ3VtZW50cyBvYmplY3QsICduYW1lJyBpcyBhbiBpbmRleCBuYW1lZCBwcm9wZXJ0eSBvZiAnTycgYn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JhYmxlOiB0cnVlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICBmdW5jdGlvbiBnZXRGdW5jMigpIHsKICAgICAgICAgICAgICAgIHJldHVybiAyMDsKICAgICAgICAgICAgfQogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXJndW1lbnRzLCAiMCIsIHsKICAgICAgICAgICAgICAgIGdldDogZ2V0RnVuYzIsCiAgICAgICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZSwKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIHJldHVybiBhY2Nlc3NvclByb3BlcnR5QXR0cmlidXRlc0FyZUNvcnJlY3QoYXJndW1lbnRzLCAiMCIsIGdldEZ1bmMyLCB1bmRlZmluZWQsIHVuZGVmaW5lZCwgZmFsc2UsIGZhbHNlKTsKICAgICAgICB9KCkpOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmblN1cHBvcnRzQXJyYXlJbmRleEdldHRlcnNPbk9iamVjdHMoKSAmJiBmbkV4aXN0cyhPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-303"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTMwNCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0zMDQuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gJ08nIGlzIGFuIEFyZ3VtZW50cyBvYmpl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KICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gJ08nIGlzIGFuIEFyZ3VtZW50cyBvYmplY3QsICduYW1lJyBpcyBhbiBpbmRleCBuYW1lZCBkYXRhIHByb3BlcnR5IG9mICdPJyBidXQgbm90IGRlZmluZWQgaW4gW1tQYXJhbWV0ZXJNYXBdXSBvZiAnTycsIHRlc3QgVHlwZUVycm9yIGlzIHRocm93biB3aGVuIHVwZGF0aW5nIHRoZSBbW1ZhbHVlXV0gYXR0cmlidXRlIHZhbHVlIG9mICduYW1lJyB3aGljaCBpcyBub3Qgd3JpdGFibGUgYW5kIG5vdCBjb25maWd1cmFibGUgKDEwLjYgW1tEZWZpbmVPd25Qcm9wZXJ0eV1dIHN0ZXAgNCkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHJldHVybiAoZnVuY3Rpb24gKCkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXJndW1lbnRzLCAiMCIsIHsKICAgICAgICAgICAgICAgIHZhbHVlOiAwLAogICAgICAgICAgICAgICAgd3JpdGFibGU6IGZhbHNlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgICAgICB9KTsKCiAgICAgICAgICAgIHRyeSB7CiAgICAgICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXJndW1lbnRzLCAiMCIsIHsKICAgICAgICAgICAgICAgICAgICB2YWx1ZTogMTAKICAgICAgICAgICAgICAgIH0pOwogICAgICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZSBpbnN0YW5jZW9mIFR5cGVFcnJvciAmJiBkYXRhUHJvcGVydHlBdHRyaWJ1dGVzQXJlQ29ycmVjdChhcmd1bWVudHMsICIwIiwgMCwgZmFsc2UsIGZhbHNlLCBmYWxzZSk7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0oKSk7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-4-305"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTMwNiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0zMDYuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gJ08nIGlzIGFuIEFyZ3VtZW50cyBvYmplY3QsICduYW1lJyBpcyBhbiBpbmRleCBuYW1lZCBkYXRhIHByb3BlcnR5IG9mICdPJyBidXQgbm90IGRlZmluZWQgaW4gW1tQYXJhbWV0ZXJNYXBdXSBvZiAnTycsIHRlc3QgVHlwZUVycm9yIGlzIHRocm93biB3aGVuIHVwZGF0aW5nIHRoZSBbW1dyaXRhYmxlXV0gYXR0cmlidXRlIHZhbHVlIG9mICduYW1lJyB3aGljaCBpcyBub3QgY29uZmlndXJhYmxlICgxMC42IFtbRGVmaW5lT3duUHJvcGVydHldXSBzdGVwIDQpIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICByZXR1cm4gKGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyZ3VtZW50cywgIjAiLCB7CiAgICAgICAgICAgICAgICB2YWx1ZTogMCwKICAgICAgICAgICAgICAgIHdyaXRhYmxlOiBmYWxzZSwKICAgICAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgICAgICB9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IG5vdCBjb25maWd1cmFibGUgKDEwLjYgW1tEZWZpbmVPd25Qcm9wZXJ0eV1dIHN0ZXAgNCkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHJldHVybiAoZnVuY3Rpb24gKCkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXJndW1lbnRzLCAiMCIsIHsKICAgICAgICAgICAgICAgIHZhbHVlOiAwLAogICAgICAgICAgICAgICAgd3JpdGFibGU6IGZhbHNlLAogICAgICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZSwKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIHRyeSB7CiAgICAgICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXJndW1lbnRzLCAiMCIsIHsKICAgICAgICAgICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZQogICAgICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgICAgIHJldHVybiBlIGluc3RhbmNlb2YgVHlwZUVycm9yICYmIGRhdGFQcm9wZXJ0eUF0dHJpYnV0ZXNBcmVDb3JyZWN0KGFyZ3VtZW50cywgIjAiLCAwLCBmYWxzZSwgdHJ1ZSwgZmFsc2UpOwogICAgICAgICAgICB9CiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9KCkpOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-307"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTMwOCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGF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ZpbmVQcm9wZXJ0eShhcmd1bWVudHMsICIwIiwgewogICAgICAgICAgICAgICAgZ2V0OiBnZXRGdW5jMSwKICAgICAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgICAgICB9KTsKICAgICAgICAgICAgZnVuY3Rpb24gZ2V0RnVuYzIoKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gMTA7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgdHJ5IHsKICAgICAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcmd1bWVudHMsICIwIiwgewogICAgICAgICAgICAgICAgICAgIGdldDogZ2V0RnVuYzIKICAgICAgICAgICAgICAgIH0pOwogICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZSBpbnN0YW5jZW9mIFR5cGVFcnJvciAmJiBhY2Nlc3NvclByb3BlcnR5QXR0cmlidXRlc0FyZUNvcnJlY3QoYXJndW1lbnRzLCAiMCIsIGdldEZ1bmMxLCB1bmRlZmluZWQsIHVuZGVmaW5lZCwgZmFsc2UsIGZhbHNlKTsKICAgICAgICAgICAgfQogICAgICAgIH0oKSk7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuU3VwcG9ydHNBcnJheUluZGV4R2V0dGVyc09uT2JqZWN0cygpICYmIGZuRXhpc3RzKE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IpOwogICAgfQp9KTsK","id":"15.2.3.6-4-309"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTMxIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuNi8xNS4yLjMuNi00LTMxLmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5kZWZpbmVQcm9wZXJ0eSAtICduYW1lJyBpcyBvd24gYWNjZXNzb3IgcHJvcGVydHkgd2l0aG91dCBhIGdldCBmdW5jdGlvbiB0aGF0IG92ZXJyaWRlcyBhbiBpbmhlcml0ZWQgYWNjZXNzb3IgcHJvcGVydHkoOC4xMi45IHN0ZXAgMSkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBwcm90byA9IHt9OwogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShwcm90bywgImZvbyIsIHsKICAgICAgICAgICAgZ2V0OiBmdW5jdGlvbiAoKSB7IH0sCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgIH0pOwoKICAgICAgICB2YXIgQ29uc3RydWN0RnVuID0gZnVuY3Rpb24gKCkgeyB9OwogICAgICAgIENvbnN0cnVjdEZ1bi5wcm90b3R5cGUgPSBwcm90bzsKICAgICAgICB2YXIgb2JqID0gbmV3IENvbnN0cnVjdEZ1bigpOwogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJmb28iLCB7CiAgICAgICAgICAgIHNldDogZnVuY3Rpb24gKCkgeyB9LAogICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgfSk7CgogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJmb28iLCB7CiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgIHJldHVybiBlIGluc3RhbmNlb2YgVHlwZUVycm9yOwogIC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ICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgICAgICB9KTsKICAgICAgICAgICAgZnVuY3Rpb24gc2V0RnVuYyh2YWx1ZSkgewogICAgICAgICAgICAgICAgdGhpcy5zZXRWZXJpZnlIZWxwUHJvcCA9IHZhbHVlOwogICAgICAgICAgICB9CiAgICAgICAgICAgIHRyeSB7CiAgICAgICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXJndW1lbnRzLCAiMCIsIHsKICAgICAgICAgICAgICAgICAgICBzZXQ6IHNldEZ1bmMKICAgICAgICAgICAgICAgIH0pOyAgICAgICAgICAgIAogICAgICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZSBpbnN0YW5jZW9mIFR5cGVFcnJvciAmJiBhY2Nlc3NvclByb3BlcnR5QXR0cmlidXRlc0FyZUNvcnJlY3QoYXJndW1lbnRzLCAiMCIsIGdldEZ1bmMsIHVuZGVmaW5lZCwgdW5kZWZpbmVkLCBmYWxzZSwgZmFsc2UpOwogICAgICAgICAgICB9CiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9KCkpOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmblN1cHBvcnRzQXJyYXlJbmRleEdldHRlcnNPbk9iamVjdHMoKSAmJiBmbkV4aXN0cyhPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-310"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTMxMSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMv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oKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHJldHVybiAoZnVuY3Rpb24gKCkgewogICAgICAgICAgICBmdW5jdGlvbiBnZXRGdW5jKCkgewogICAgICAgICAgICAgICAgcmV0dXJuIDA7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyZ3VtZW50cywgIjAiLCB7CiAgICAgICAgICAgICAgICBnZXQ6IGdldEZ1bmMsCiAgICAgICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgICAgICB9KTsKICAgICAgICAgICAgdHJ5IHsKICAgICAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcmd1bWVudHMsICIwIiwgewogICAgICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgICAgIHJldHVybiBlIGluc3RhbmNlb2YgVHlwZUVycm9yICYmIGFjY2Vzc29yUHJvcGVydHlBdHRyaWJ1dGVzQXJlQ29ycmVjdChhcmd1bWVudHMsICIwIiwgZ2V0RnVuYywgdW5kZWZpbmVkLCB1bmRlZmluZWQsIHRydWUsIGZhbHNlKTsKICAgICAgICAgICAgfQogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSgpKTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkgJiYgZm5TdXBwb3J0c0FycmF5SW5kZXhHZXR0ZXJzT25PYmplY3RzKCkgJiYgZm5FeGlzdHMoT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcik7CiAgICB9Cn0pO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JsZTogdHJ1ZQogICAgICAgICAgICB9KTsKICAgICAgICAgICAgZnVuY3Rpb24gZ2V0RnVuYygpIHsKICAgICAgICAgICAgICAgIHJldHVybiAiZ2V0RnVuY3Rpb25TdHJpbmciOwogICAgICAgICAgICB9CiAgICAgICAgICAgIGZ1bmN0aW9uIHNldEZ1bmModmFsdWUpIHsKICAgICAgICAgICAgICAgIHRoaXMudGVzdGdldEZ1bmN0aW9uID0gdmFsdWU7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyZ3VtZW50cywgImdlbmVyaWNQcm9wZXJ0eSIsIHsKICAgICAgICAgICAgICAgIGdldDogZ2V0RnVuYywKICAgICAgICAgICAgICAgIHNldDogc2V0RnVuYywKICAgICAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgICAgICB9KTsKICAgICAgICAgICAgdmFyIHZlcmlmeUZvcm1hbCA9IGMgPT09IDM7CiAgICAgICAgICAgIHJldHVybiBhY2Nlc3NvclByb3BlcnR5QXR0cmlidXRlc0FyZUNvcnJlY3QoYXJndW1lbnRzLCAiZ2VuZXJpY1Byb3BlcnR5IiwgZ2V0RnVuYywgc2V0RnVuYywgInRlc3RnZXRGdW5jdGlvbiIsIGZhbHNlLCBmYWxzZSkgJiYgdmVyaWZ5Rm9ybWFsOwogICAgICAgIH0oMSwgMiwgMykpOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmbkV4aXN0cyhPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-315-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTMxNSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0zMTUuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gJ08nIGlzIGFuIEFyZ3VtZW50cyBvYmplY3QsICdQJyBpcyBnZW5lcmljIG93biBhY2Nlc3NvciBwcm9wZXJ0eSBvZiAnTycsIGFuZCAnZGVzYycgaXMgYWNjZXNzb3IgZGVzY3JpcHRvciwgdGVzdCB1cGRhdGluZyBtdWx0aXBsZSBhdHRyaWJ1dGUgdmFsdWVzIG9mICdQJyAoMTAuNiBbW0RlZmluZU93blByb3BlcnR5XV0gc3RlcCAzKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgcmV0dXJuIChmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcmd1bWVudHMsICJnZW5lcmljUHJvcGVydHkiLCB7CiAgICAgICAgICAgICAgICBnZXQ6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgICAgICByZXR1cm4gMTAwMTsKICAgICAgICAgICAgICAgIH0sCiAgICAgICAgICAgICAgICBzZXQ6IGZ1bmN0aW9uICh2YWx1ZSkgewogICAgICAgICAgICAgICAgICAgIHRoaXMudGVzdGdldEZ1bmN0aW9uMSA9IHZhbHVlOwogICAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICAgIGVudW1lcmFibGU6IHRydWUsCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIGZ1bmN0aW9uIGdldEZ1bmMoKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gImdldEZ1bmN0aW9uU3RyaW5nIjsKICAgICAgICAgICAgfQogICAgICAgICAgICBmdW5jdGlvbiBzZXRGd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rpb24gKGEsIGIsIGMpIHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyZ3VtZW50cywgImdlbmVyaWNQcm9wZXJ0eSIsIHsKICAgICAgICAgICAgICAgIHZhbHVlOiAxMDAxLAogICAgICAgICAgICAgICAgd3JpdGFibGU6IGZhbHNlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgICAgICB9KTsKICAgICAgICAgICAgdHJ5IHsKICAgICAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcmd1bWVudHMsICJnZW5lcmljUHJvcGVydHkiLCB7CiAgICAgICAgICAgICAgICAgICAgdmFsdWU6IDEwMDIKICAgICAgICAgICAgICAgIH0pOwogICAgICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgICAgICB2YXIgdmVyaWZ5Rm9ybWFsID0gYiA9PT0gMjsKICAgICAgICAgICAgICAgIHJldHVybiBlIGluc3RhbmNlb2YgVHlwZUVycm9yICYmCiAgICAgICAgICAgICAgICAgICAgZGF0YVByb3BlcnR5QXR0cmlidXRlc0FyZUNvcnJlY3QoYXJndW1lbnRzLCAiZ2VuZXJpY1Byb3BlcnR5IiwgMTAwMSwgZmFsc2UsIGZhbHNlLCBmYWxzZSkgJiYgdmVyaWZ5Rm9ybWFsOwogICAgICAgICAgICB9CiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9KDEsIDIsIDMpKTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSk7CiAgICB9Cn0pOwo=","id":"15.2.3.6-4-317-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTMxNyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUv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AgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICB0cnkgewogICAgICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyZ3VtZW50cywgImdlbmVyaWNQcm9wZXJ0eSIsIHsKICAgICAgICAgICAgICAgICAgICB3cml0YWJsZTogdHJ1ZQogICAgICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgICAgIHJldHVybiBlIGluc3RhbmNlb2YgVHlwZUVycm9yICYmCiAgICAgICAgICAgICAgICAgICAgZGF0YVByb3BlcnR5QXR0cmlidXRlc0FyZUNvcnJlY3QoYXJndW1lbnRzLCAiZ2VuZXJpY1Byb3BlcnR5IiwgdW5kZWZpbmVkLCBmYWxzZSwgZmFsc2UsIGZhbHNlKTsKICAgICAgICAgICAgfQogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSgxLCAyLCAzKSk7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-4-318-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTMxOCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0zMTguanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gJ08nIGlzIGFuIEFyZ3VtZW50cyBvYmplY3QsICduYW1lJyBpcyBnZW5lcmljIG93biBkYXRhIHByb3BlcnR5IG9mICdPJywgdGVzdCBUeXBlRXJyb3IgaXMgdGhyb3duIHdoZW4gdXBkYXRpbmcgdGhlIFtbV3JpdGFibGVdXSBhdHRyaWJ1dGUgdmFsdWUgb2YgJ25hbWUnIHdoaWNoIGlzIG5vdCBjb25maWd1cmFibGUgKDEwLjYgW1tEZWZpbmVPd25Qcm9wZXJ0eV1dIHN0ZXAgNCkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHJldHVybiAoZnVuY3Rpb24gKCkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXJndW1lbnRzLCAiZ2VuZXJpY1Byb3BlcnR5IiwgewogICAgICAgICAgICAgICAgd3JpdGFibGU6IGZhbHNlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgICAgICB9KTsKICAgICAgICAgICAgdHJ5IHsKICAgICAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcmd1bWVudHMsICJnZW5lcmljUHJvcGVydHkiLCB7CiAgICAgICAgICAgICAgICAgICAgd3JpdGFibGU6IHRydWUKICAgICAgICAgICAgICAgIH0pOwogICAgICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZSBpbnN0YW5jZW9mIFR5cGVFcnJvciAmJgogICAgICAgICAgICAgICAgICAgIGRhdGFQcm9wZXJ0eUF0dHJpYnV0ZXNBcmVDb3JyZWN0KGFyZ3VtZW50cywgImdlbmVyaWNQcm9wZXJ0eSIsIHVuZGVmaW5lZCwgZmFsc2UsIGZhbHNlLCBmYWxzZSk7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0oMSwgMiwgMykpOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-318"},{"code":"RVM1SGFybmVzcy5yZWdpc3Rlcl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AgICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZSwKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIHRyeSB7CiAgICAgICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXJndW1lbnRzLCAiZ2VuZXJpY1Byb3BlcnR5IiwgewogICAgICAgICAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlCiAgICAgICAgICAgICAgICB9KTsKICAgICAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBUeXBlRXJyb3IgJiYKICAgICAgICAgICAgICAgICAgICBkYXRhUHJvcGVydHlBdHRyaWJ1dGVzQXJlQ29ycmVjdChhcmd1bWVudHMsICJnZW5lcmljUHJvcGVydHkiLCB1bmRlZmluZWQsIGZhbHNlLCB0cnVlLCBmYWxzZSk7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0oMSwgMiwgMykpOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-319"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTMyIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuNi8xNS4yLjMuNi00LTMyLmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5kZWZpbmVQcm9wZXJ0eSAtICduYW1lJyBpcyBhbiBpbmhlcml0ZWQgYWNjZXNzb3IgcHJvcGVydHkgd2l0aG91dCBhIGdldCBmdW5jdGlvbiAoOC4xMi45IHN0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WFsIHBhcmFtZXRlcnMsICdQJyBpcyBvd24gZGF0YSBwcm9wZXJ0eSBvZiAnTycsIHRlc3QgVHlwZUVycm9yIGlzIHRocm93biB3aGVuIHVwZGF0aW5nIHRoZSBbW0NvbmZpZ3VyYWJsZV1dIGF0dHJpYnV0ZSB2YWx1ZSBvZiAnUCcgd2hpY2ggaXMgbm90IGNvbmZpZ3VyYWJsZSAoMTAuNiBbW0RlZmluZU93blByb3BlcnR5XV0gc3RlcCA0KSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgcmV0dXJuIChmdW5jdGlvbiAoYSwgYiwgYykgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXJndW1lbnRzLCAiZ2VuZXJpY1Byb3BlcnR5IiwgewogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgICAgICB9KTsKICAgICAgICAgICAgdHJ5IHsKICAgICAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcmd1bWVudHMsICJnZW5lcmljUHJvcGVydHkiLCB7CiAgICAgICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgICAgICB9KTsKICAgICAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBUeXBlRXJyb3IgJiYKICAgICAgICAgICAgICAgICAgICBkYXRhUHJvcGVydHlBdHRyaWJ1dGVzQXJlQ29ycmVjdChhcmd1bWVudHMsICJnZW5lcmljUHJvcGVydHkiLCB1bmRlZmluZWQsIGZhbHNlLCBmYWxzZSwgZmFsc2UpOwogICAgICAgICAgICB9CiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9KDEsIDIsIDMpKTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRX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gZ2V0RnVuYygpIHsKICAgICAgICAgICAgICAgIHJldHVybiAiZ2VuZXJpY1Byb3BlcnR5U3RyaW5nIjsKICAgICAgICAgICAgfQogICAgICAgICAgICBmdW5jdGlvbiBzZXRGdW5jKHZhbHVlKSB7CiAgICAgICAgICAgICAgICB0aGlzLmhlbHBWZXJpZnlHZXQgPSB2YWx1ZTsKICAgICAgICAgICAgfQogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXJndW1lbnRzLCAiZ2VuZXJpY1Byb3BlcnR5IiwgewogICAgICAgICAgICAgICAgZ2V0OiBnZXRGdW5jLAogICAgICAgICAgICAgICAgc2V0OiBzZXRGdW5jLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgICAgICB9KTsKICAgICAgICAgICAgdHJ5IHsKICAgICAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcmd1bWVudHMsICJnZW5lcmljUHJvcGVydHkiLCB7CiAgICAgICAgICAgICAgICAgICAgZ2V0OiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiAib3ZlcmlkZUdlbmVyaWNQcm9wZXJ0eVN0cmluZyI7CiAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgICAgIHZhciB2ZXJpZnlGb3JtYWwgPSBhID09PSAxOwogICAgICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBUeXBlRXJyb3IgJiYKICAgICAgICAgICAgICAgICAgICBhY2Nlc3NvclByb3BlcnR5QXR0cmlidXRlc0FyZUNvcnJlY3QoYXJndW1lbnRzLCAiZ2VuZXJpY1Byb3BlcnR5IiwgZ2V0RnVuYywgc2V0RnVuYywgImhlbHBWZXJpZnlHZXQiLCBmYWxzZSwgZmFsc2UsIGZhbHNlKSAmJiB2ZXJpZnlGb3JtYW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lmeUdldCA9IHZhbHVlOwogICAgICAgICAgICB9CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcmd1bWVudHMsICJnZW5lcmljUHJvcGVydHkiLCB7CiAgICAgICAgICAgICAgICBnZXQ6IGdldEZ1bmMsCiAgICAgICAgICAgICAgICBzZXQ6IHNldEZ1bmMsCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICB0cnkgewogICAgICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyZ3VtZW50cywgImdlbmVyaWNQcm9wZXJ0eSIsIHsKICAgICAgICAgICAgICAgICAgICBnZXQ6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuICJvdmVyaWRlR2VuZXJpY1Byb3BlcnR5U3RyaW5nIjsKICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICB9KTsKICAgICAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBUeXBlRXJyb3IgJiYKICAgICAgICAgICAgICAgICAgICBhY2Nlc3NvclByb3BlcnR5QXR0cmlidXRlc0FyZUNvcnJlY3QoYXJndW1lbnRzLCAiZ2VuZXJpY1Byb3BlcnR5IiwgZ2V0RnVuYywgc2V0RnVuYywgImhlbHBWZXJpZnlHZXQiLCBmYWxzZSwgZmFsc2UsIGZhbHNlKTsKICAgICAgICAgICAgfQogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSgxLCAyLCAzKSk7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuRXhpc3RzKE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IpOwogICA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bWVudHMsICJnZW5lcmljUHJvcGVydHkiLCB7CiAgICAgICAgICAgICAgICAgICAgc2V0OiBmdW5jdGlvbiAodmFsdWUpIHsKICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy5nZW5lcmljUHJvcGVydHlTdHJpbmcxID0gdmFsdWU7CiAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgICAgIHJldHVybiBlIGluc3RhbmNlb2YgVHlwZUVycm9yICYmCiAgICAgICAgICAgICAgICAgICAgYWNjZXNzb3JQcm9wZXJ0eUF0dHJpYnV0ZXNBcmVDb3JyZWN0KGFyZ3VtZW50cywgImdlbmVyaWNQcm9wZXJ0eSIsIHVuZGVmaW5lZCwgc2V0RnVuYywgImdlbmVyaWNQcm9wZXJ0eVN0cmluZyIsIGZhbHNlLCBmYWxzZSwgZmFsc2UpOwogICAgICAgICAgICB9CiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9KDEsIDIsIDMpKTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkgJiYgZm5FeGlzdHMoT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcik7CiAgICB9Cn0pOwo=","id":"15.2.3.6-4-322-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTMyMiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0zMjIuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gJ08nIGlzIGFuIEFyZ3VtZW50cyBvYmplY3QsICdQJyBpcyBvd24gYWNjZXNzb3IgcHJvcGVydHkgb2YgJ08nLCB0ZXN0IFR5cGVFcnJvciBpcyB0aHJvd24gd2hlbiB1cGRhdGluZyB0aGUgW1tTZXRdXSBhdHRyaWJ1dGUgdmFsdWUgb2YgJ1AnIHdoaWNoIGlzIG5vdCBjb25maWd1cmFibGUgKDEwLjYgW1tEZWZpbmVPd25Qcm9wZXJ0eV1dIHN0ZXAgNCkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHJldHVybiAoZnVuY3Rpb24gKCkgewogICAgICAgICAgICBmdW5jdGlvbiBzZXRGdW5jKHZhbHVlKSB7CiAgICAgICAgICAgICAgICB0aGlzLmdlbmVyaWNQcm9wZXJ0eVN0cmluZyA9IHZhbHVlOwogICAgICAgICAgICB9CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcmd1bWVudHMsICJnZW5lcmljUHJvcGVydHkiLCB7CiAgICAgICAgICAgICAgICBzZXQ6IHNldEZ1bmMsCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICB0cnkgewogICAgICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyZ3VtZW50cywgImdlbmVyaWNQcm9wZXJ0eSIsIHsKICAgICAgICAgICAgICAgICAgICBzZXQ6IGZ1bmN0aW9uICh2YWx1ZSkgewogICAgICAgICAgICAgICAgICAgICAgICB0aGlzLmdlbmVyaWNQcm9wZXJ0eVN0cmluZzEgPSB2YWx1ZTsKICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICB9KTsKICAgICAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBUeXBlRXJyb3IgJiYKICAgICAgICAgICAgICAgICAgICBhY2Nlc3NvclByb3BlcnR5QXR0cmlidXRlc0FyZUNvcnJlY3Q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vbiAoYSwgYiwgYykgewogICAgICAgICAgICBmdW5jdGlvbiBzZXRGdW5jKHZhbHVlKSB7CiAgICAgICAgICAgICAgICB0aGlzLmdlbmVyaWNQcm9wZXJ0eVN0cmluZyA9IHZhbHVlOwogICAgICAgICAgICB9CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcmd1bWVudHMsICJnZW5lcmljUHJvcGVydHkiLCB7CiAgICAgICAgICAgICAgICBzZXQ6IHNldEZ1bmMsCiAgICAgICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgICAgICB9KTsKICAgICAgICAgICAgdHJ5IHsKICAgICAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcmd1bWVudHMsICJnZW5lcmljUHJvcGVydHkiLCB7CiAgICAgICAgICAgICAgICAgICAgZW51bWVyYWJsZTogZmFsc2UKICAgICAgICAgICAgICAgIH0pOwogICAgICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgICAgICB2ZXJpZnlGb3JtYWwgPSBjID09PSAzOwogICAgICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBUeXBlRXJyb3IgJiYKICAgICAgICAgICAgICAgICAgICBhY2Nlc3NvclByb3BlcnR5QXR0cmlidXRlc0FyZUNvcnJlY3QoYXJndW1lbnRzLCAiZ2VuZXJpY1Byb3BlcnR5IiwgdW5kZWZpbmVkLCBzZXRGdW5jLCAiZ2VuZXJpY1Byb3BlcnR5U3RyaW5nIiwgdHJ1ZSwgZmFsc2UpICYmIHZlcmlmeUZvcm1hbDsKICAgICAgICAgICAgfQogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSgxLCAyLCAzKSk7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmpl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ICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcmd1bWVudHMsICJnZW5lcmljUHJvcGVydHkiLCB7CiAgICAgICAgICAgICAgICBzZXQ6IHNldEZ1bmMsCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICB0cnkgewogICAgICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFyZ3VtZW50cywgImdlbmVyaWNQcm9wZXJ0eSIsIHsKICAgICAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICAgICAgICAgIH0pOwogICAgICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZSBpbnN0YW5jZW9mIFR5cGVFcnJvciAmJgogICAgICAgICAgICAgICAgICAgIGFjY2Vzc29yUHJvcGVydHlBdHRyaWJ1dGVzQXJlQ29ycmVjdChhcmd1bWVudHMsICJnZW5lcmljUHJvcGVydHkiLCB1bmRlZmluZWQsIHNldEZ1bmMsICJnZW5lcmljUHJvcGVydHlTdHJpbmciLCBmYWxzZSwgZmFsc2UsIGZhbHNlKTsKICAgICAgICAgICAgfQogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSgxLCAyLCAzKSk7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuRXhpc3RzKE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IpOwogICAgfQp9KTsK","id":"15.2.3.6-4-324"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTMyNS0xIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuNi8xNS4yLj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U3VwcG9ydHNBcnJheUluZGV4R2V0dGVyc09uT2JqZWN0cygpOwogICAgfQp9KTsK","id":"15.2.3.6-4-325"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTMyNiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0zMjYuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBwcm9wZXJ0eSAoW1tXcml0YWJsZV1dIGlzIHRydWUsIFtbRW51bWVyYWJsZV1dIGlzIHRydWUsIFtbQ29uZmlndXJhYmxlXV0gaXMgdHJ1ZSkgaXMgd3JpdGFibGUiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBvYmogPSB7fTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIHZhbHVlOiAyMDEwLAogICAgICAgICAgICB3cml0YWJsZTogdHJ1ZSwKICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgfSk7CiAgICAgICAgdmFyIHByb3BlcnR5RGVmaW5lQ29ycmVjdCA9IChvYmoucHJvcCA9PT0gMjAxMCk7CiAgICAgICAgb2JqLnByb3AgPSAxMDAxOwoKICAgICAgICByZXR1cm4gcHJvcGVydHlEZWZpbmVDb3JyZWN0ICYmIG9iai5wcm9wID09PSAxMDAxOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-326"},{"code":"RVM1SGFybmVzcy5yZWd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gewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-4-328"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTMyOSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0zMjkuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBzdWNjZXNzIHRvIHVwZGF0ZSBbW1dyaXRhYmxlXV0gYXR0cmlidXRlIG9mIGRhdGEgcHJvcGVydHkgKFtbV3JpdGFibGVdXSBpcyB0cnVlLCBbW0VudW1lcmFibGVdXSBpcyB0cnVlLCBbW0NvbmZpZ3VyYWJsZV1dIGlzIHRydWUpIHRvIGRpZmZlcmVudCB2YWx1ZSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIG9iaiA9IHt9OwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgdmFsdWU6IDIwMTAsCiAgICAgICAgICAgIHdyaXRhYmxlOiB0cnVlLAogICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKICAgICAgICB2YXIgcHJvcGVydHlEZWZpbmVDb3JyZWN0ID0gb2JqLmhhc093blByb3BlcnR5KCJwcm9wIik7CiAgICAgICAgdmFyIGRlc2MxID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICB3cml0YWJsZTogZmFsc2UKICAgICAgICB9KTsKICAgICAgICB2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ewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoZnVuLCAiZm9vIiwgewogICAgICAgICAgICAgICAgdmFsdWU6IDExLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICByZXR1cm4gZSBpbnN0YW5jZW9mIFR5cGVFcnJvciAmJiBmdW4uZm9vID09PSAxMjsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-4-33"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTMzMCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0zMzAuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBzdWNjZXNzIHRvIHVwZGF0ZSBbW2VudW1lcmFibGVdXSBhdHRyaWJ1dGUgb2YgZGF0YSBwcm9wZXJ0eSAoW1tXcml0YWJsZV1dIGlzIHRydWUsIFtbRW51bWVyYWJsZV1dIGlzIHRydWUsIFtbQ29uZmlndXJhYmxlXV0gaXMgdHJ1ZSkgdG8gZGlmZmVyZW50IHZhbHVlIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgb2JqID0ge307CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICB2YWx1ZTogMjAxMCwKICAgICAgICAgICAgd3JpdGFibGU6IHRydWUsCiAgICA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mdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgb2JqID0gW107CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICB2YWx1ZTogMjAxMCwKICAgICAgICAgICAgd3JpdGFibGU6IHRydWUsCiAgICAgICAgICAgIGVudW1lcmFibGU6IHRydWUsCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICB9KTsKICAgICAgICB2YXIgdmVyaWZ5VmFsdWUgPSAob2JqLnByb3AgPT09IDIwMTApOwogICAgICAgIG9iai5wcm9wID0gMTAwMTsKCiAgICAgICAgcmV0dXJuIHZlcmlmeVZhbHVlICYmIG9iai5wcm9wID09PSAxMDAxOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-333-9"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTMzMyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0zMzMuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBwcm9wZXJ0eSAoW1tXcml0YWJsZV1dIGlzIHRydWUsIFtbRW51bWVyYWJsZV1dIGlzIHRydWUsIFtbQ29uZmlndXJhYmxlXV0gaXMgZmFsc2UpIGlzIHdyaXRhYmxlIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgb2JqID0ge307CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICB2YWx1ZTogMjAxMCwKICAgICAgICAgICAgd3JpdGFibGU6IHRydWUsCiAgICAgICAgICAgIGVudW1lcmFibGU6IHRydWUsCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICB9KTsKICAgICAgICB2YXIgcHJvcGVydHlEZWZpbmVDb3JyZWN0ID0gKG9iai5wcm9wID09PSAyMDEwKTsKICAgICAgICBvYmoucHJvcCA9IDEwMDE7CgogICAgICAgIHJldHVybiBwcm9wZXJ0eURlZmluZUNvcnJlY3QgJiYgb2JqLnByb3AgPT09IDEwMDE7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-4-333"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTMzNCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0zMzQuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBwcm9wZXJ0eSAoW1tXcml0YWJsZV1dIGlzIHRydWUsIFtbRW51bWVyYWJsZV1dIGlzIHRydWUsIFtbQ29uZmlndXJhYmxlXV0gaXMgZmFsc2UpIGlzIGVudW1lcmFibGUiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBvYmogPSB7fTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIHZhbHVlOiAyMDEwLAogICAgICAgICAgICB3cml0YWJsZTogdHJ1ZSwKICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZSwKICAgICAgICAgICAgY29uZmlndXJhY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ICAgIHZhciBvYmogPSB7fTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIHZhbHVlOiAyMDEwLAogICAgICAgICAgICB3cml0YWJsZTogdHJ1ZSwKICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgIH0pOwogICAgICAgIHZhciBwcm9wZXJ0eURlZmluZUNvcnJlY3QgPSBvYmouaGFzT3duUHJvcGVydHkoInByb3AiKTsKICAgICAgICB2YXIgZGVzYzEgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKG9iaiwgInByb3AiKTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIHdyaXRhYmxlOiBmYWxzZQogICAgICAgIH0pOwogICAgICAgIHZhciBkZXNjMiA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwoKICAgICAgICByZXR1cm4gcHJvcGVydHlEZWZpbmVDb3JyZWN0ICYmIGRlc2MxLndyaXRhYmxlID09PSB0cnVlICYmIG9iai5wcm9wID09PSAyMDEwICYmIGRlc2MyLndyaXRhYmxlID09PSBmYWxzZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkgJiYgZm5FeGlzdHMoT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcik7CiAgICB9Cn0pOwo=","id":"15.2.3.6-4-336"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTMzNyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi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Z3VyYWJsZTogZmFsc2UKICAgICAgICB9KTsKICAgICAgICB2YXIgcHJvcGVydHlEZWZpbmVDb3JyZWN0ID0gb2JqLmhhc093blByb3BlcnR5KCJwcm9wIik7CiAgICAgICAgdmFyIGRlc2MxID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICB2YXIgZGVzYzIgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKG9iaiwgInByb3AiKTsKICAgICAgICAgICAgcmV0dXJuIHByb3BlcnR5RGVmaW5lQ29ycmVjdCAmJiBkZXNjMS5jb25maWd1cmFibGUgPT09IGZhbHNlICYmIG9iai5wcm9wID09PSAyMDEwICYmIGRlc2MyLmNvbmZpZ3VyYWJsZSA9PT0gZmFsc2UgJiYgZSBpbnN0YW5jZW9mIFR5cGVFcnJvcjsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuRXhpc3RzKE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IpOwogICAgfQp9KTsK","id":"15.2.3.6-4-338"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTMzOSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0zMzkuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBmYWlsIHRvIHVwZGF0ZSB0aGUgZGF0YSBwcm9wZXJ0eSAoW1tXcml0YWJsZV1dIGlzIHRydWUsIFtbRW51bWVyYWJsZV1dIGlzIHRydWUsIFtbQ29uZmlndXJhYmxlXV0gaXMgZmFsc2UpIHRvIGFuIGFjY2Vzc29yIHByb3BlcnR5IiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgb2JqID0ge307CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICB2YWx1ZTogMjAxMCwKICAgICAgICAgICAgd3JpdGFibGU6IHRydWUsCiAgICAgICAgICAgIGVudW1lcmFibGU6IHRydWUsCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICB9KTsKICAgICAgICB2YXIgcHJvcGVydHlEZWZpbmVDb3JyZWN0ID0gb2JqLmhhc093blByb3BlcnR5KCJwcm9wIik7CiAgICAgICAgdmFyIGRlc2MxID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIGZ1bmN0aW9uIGdldEZ1bmMoKSB7CiAgICAgICAgICAgIHJldHVybiAyMDsKICAgICAgICB9CiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgICAgICBnZXQ6IGdldEZ1bmMKICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgIHZhciBkZXNjMiA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwogICAgICAgICAgICByZXR1cm4gcHJvcGVydHlEZWZpbmVD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WU6IDExLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICByZXR1cm4gZSBpbnN0YW5jZW9mIFR5cGVFcnJvciAmJiBhcnJPYmouZm9vID09PSAxMjsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-4-34"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTM0MCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0zNDAuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBwcm9wZXJ0eSAoW1tXcml0YWJsZV1dIGlzIHRydWUsIFtbRW51bWVyYWJsZV1dIGlzIGZhbHNlLCBbW0NvbmZpZ3VyYWJsZV1dIGlzIHRydWUpIGlzIHdyaXRhYmxlIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgb2JqID0ge307CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICB2YWx1ZTogMjAxMCwKICAgICAgICAgICAgd3JpdGFibGU6IHRydWUsCiAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKICAgICAgICB2YXIgcHJvcGVydHlEZWZpbmVDb3JyZWN0ID0gKG9iai5wcm9wID09PSAyMDEwKTsKICAgIC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ogICAgfQp9KTsK","id":"15.2.3.6-4-344"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTM0NSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0zNDUuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBzdWNjZXNzIHRvIHVwZGF0ZSBbW0NvbmZpZ3VyYWJsZV1dIGF0dHJpYnV0ZSBvZiBkYXRhIHByb3BlcnR5IChbW1dyaXRhYmxlXV0gaXMgdHJ1ZSwgW1tFbnVtZXJhYmxlXV0gaXMgZmFsc2UsIFtbQ29uZmlndXJhYmxlXV0gaXMgdHJ1ZSkgdG8gZGlmZmVyZW50IHZhbHVlIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgb2JqID0ge307CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICB2YWx1ZTogMjAxMCwKICAgICAgICAgICAgd3JpdGFibGU6IHRydWUsCiAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKICAgICAgICB2YXIgcHJvcGVydHlEZWZpbmVDb3JyZWN0ID0gb2JqLmhhc093blByb3BlcnR5KCJwcm9wIik7CiAgICAgICAgdmFyIGRlc2MxID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgfSk7CiAgICAgICAgdmFyIGRlc2MyID0gT2JqZWN0LmdldE93blByb3BlcnR5RGV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FtZScgcHJvcGVydHkgKDguMTIuOSBzdGVwIDEpIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgc3RyID0gbmV3IFN0cmluZygiYWJjIik7CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShzdHIsICJmb28iLCB7CiAgICAgICAgICAgIHZhbHVlOiAxMiwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgIH0pOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoc3RyLCAiZm9vIiwgewogICAgICAgICAgICAgICAgdmFsdWU6IDExLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICByZXR1cm4gZSBpbnN0YW5jZW9mIFR5cGVFcnJvciAmJiBzdHIuZm9vID09PSAxMjsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-4-35"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTM1MCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0zNTAuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBmYWlsIHRvIHVwZGF0ZSBbW1dyaXRhYmxlXV0gYXR0cmlidXRlIG9mIGRhdGEgcHJvcGVydHkgKFtbV3JpdGFibGVdXSBpcyB0cnVlLCBbW0VudW1lcmFibGVdXSBpcyBmYWxzZSwgW1tDb25maWd1cmFibGVdXSBpcyBmYWxzZSkgdG8gZGlmZmVyZW50IHZhbHVlIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgb2JqID0ge307CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICB2YWx1ZTogMjAxMCwKICAgICAgICAgICAgd3JpdGFibGU6IHRydWUsCiAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgfSk7CiAgICAgICAgdmFyIHByb3BlcnR5RGVmaW5lQ29ycmVjdCA9IG9iai5oYXNPd25Qcm9wZXJ0eSgicHJvcCIpOwogICAgICAgIHZhciBkZXNjMSA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgd3JpdGFibGU6IGZhbHNlCiAgICAgICAgfSk7CiAgICAgICAgdmFyIGRlc2MyID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIHJldHVybiBwcm9wZXJ0eURlZmluZUNvcnJlY3QgJiYgZGVzYzEud3JpdGFibGUgPT09IHRydWUgJiYgb2JqLnByb3AgPT09IDIwMTAgJiYgZGVzYzIud3JpdGFibGUgPT09IGZhbHNlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmbkV4aXN0cyhPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-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HJvcCIsIHsKICAgICAgICAgICAgdmFsdWU6IDIwMTAsCiAgICAgICAgICAgIHdyaXRhYmxlOiB0cnVlLAogICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgIH0pOwoKICAgICAgICB2YXIgcHJvcGVydHlEZWZpbmVDb3JyZWN0ID0gb2JqLmhhc093blByb3BlcnR5KCJwcm9wIik7CiAgICAgICAgdmFyIGRlc2MxID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICB2YXIgZGVzYzIgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKG9iaiwgInByb3AiKTsKICAgICAgICAgICAgcmV0dXJuIHByb3BlcnR5RGVmaW5lQ29ycmVjdCAmJiBkZXNjMS5jb25maWd1cmFibGUgPT09IGZhbHNlICYmIG9iai5wcm9wID09PSAyMDEwICYmIGRlc2MyLmNvbmZpZ3VyYWJsZSA9PT0gZmFsc2UgJiYgZSBpbnN0YW5jZW9mIFR5cGVFcnJvcjsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuRXhpc3RzKE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IpOwogICAgfQp9KTsK","id":"15.2.3.6-4-352"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3Qoew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TycgaXMgYW4gQXJndW1lbnRzIG9iamVjdCAoOC4xMi45IC0gc3RlcCBOb3RlKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIHZhciBvYmogPSAoZnVuY3Rpb24gKCkgewogICAgICAgICAgICByZXR1cm4gYXJndW1lbnRzOwogICAgICAgIH0oKSk7CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICIwIiwgewogICAgICAgICAgICB2YWx1ZTogMTAwMSwKICAgICAgICAgICAgd3JpdGFibGU6IGZhbHNlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgIjAiLCB7CiAgICAgICAgICAgIHZhbHVlOiAxMDAyCiAgICAgICAgfSk7CgogICAgICAgIHJldHVybiBkYXRhUHJvcGVydHlBdHRyaWJ1dGVzQXJlQ29ycmVjdChvYmosICIwIiwgMTAwMiwgZmFsc2UsIGZhbHNlLCB0cnVlKTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSk7CiAgICB9Cn0pOw==","id":"15.2.3.6-4-354-12"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTM1NC0xNSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0zNTQtMTUuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiT2JqZWN0LmRlZmluZVByb3BlcnR5IC0gTmFtZWQgcHJvcGVydHkgJ1AnIHdpdGggYXR0cmlidXRlcyBbW1dyaXRhYmxlXV06IGZhbHNlLCBbW0VudW1lcmFibGVdXTogdHJ1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ZSwgW1tDb25maWd1cmFibGVdXSA6IHRydWUpIGlzIG5vbi13cml0YWJsZSB1c2luZyBzaW1wbGUgYXNzaWdubWVudCwgJ08nIGlzIGFuIEFyZ3VtZW50cyBvYmplY3QiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBvYmogPSAoZnVuY3Rpb24gKCkgewogICAgICAgICAgICByZXR1cm4gYXJndW1lbnRzOwogICAgICAgIH0oKSk7CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICIwIiwgewogICAgICAgICAgICB2YWx1ZTogMjAxMCwKICAgICAgICAgICAgd3JpdGFibGU6IGZhbHNlLAogICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKICAgICAgICB2YXIgdmFsdWVWZXJpZnkgPSAob2JqWzBdID09PSAyMDEwKTsKICAgICAgICBvYmpbMF0gPSAxMDAxOwoKICAgICAgICByZXR1cm4gdmFsdWVWZXJpZnkgJiYgb2JqWzBdID09PSAyMDEwOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7","id":"15.2.3.6-4-354-16"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTM1NC0yIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuNi8xNS4yLjMuNi00LTM1NC0yLmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5kZWZpbmVQcm9wZXJ0eSB3aWxsIHVwZGF0ZSBbW1ZhbHVlXV0gYXR0cmlidXRlIG9mIGluZGV4ZWQgcHJvcGVydHkgJ1A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lc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTM1NC03IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuNi8xNS4yLjMuNi00LTM1NC03LmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIkVTNSBBdHRyaWJ1dGVzIC0gcHJvcGVydHkgJ1AnIHdpdGggYXR0cmlidXRlcyBbW1dyaXRhYmxlXV06IGZhbHNlLCBbW0VudW1lcmFibGVdXTogdHJ1ZSwgW1tDb25maWd1cmFibGVdXSA6IHRydWUpIGlzIG5vbi13cml0YWJsZSB1c2luZyBzaW1wbGUgYXNzaWdubWVudCwgJ08nIGlzIGFuIEFyZ3VtZW50cyBvYmplY3QiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBvYmogPSAoZnVuY3Rpb24gKCkgewogICAgICAgICAgICByZXR1cm4gYXJndW1lbnRzOwogICAgICAgIH0oKSk7CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICB2YWx1ZTogMjAxMCwKICAgICAgICAgICAgd3JpdGFibGU6IGZhbHNlLAogICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKICAgICAgICB2YXIgdmFsdWVWZXJpZnkgPSAob2JqLnByb3AgPT09IDIwMTApOwogICAgICAgIG9iai5wcm9wID0gMTAwMTsKCiAgICAgICAgcmV0dXJuIHZhbHVlVmVyaWZ5ICYmIG9iai5wcm9wID09PSAyMDEwOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7","id":"15.2.3.6-4-354-7"},{"code":"RVM1SGFyb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LSBzdWNjZXNzIHRvIHVwZGF0ZSBbW0NvbmZpZ3VyYWJsZV1dIGF0dHJpYnV0ZSBvZiBkYXRhIHByb3BlcnR5IChbW1dyaXRhYmxlXV0gaXMgZmFsc2UsIFtbRW51bWVyYWJsZV1dIGlzIHRydWUsIFtbQ29uZmlndXJhYmxlXV0gaXMgdHJ1ZSkgdG8gZGlmZmVyZW50IHZhbHVlIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgb2JqID0ge307CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICB2YWx1ZTogMjAxMCwKICAgICAgICAgICAgd3JpdGFibGU6IGZhbHNlLAogICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKICAgICAgICB2YXIgcHJvcGVydHlEZWZpbmVDb3JyZWN0ID0gb2JqLmhhc093blByb3BlcnR5KCJwcm9wIik7CiAgICAgICAgdmFyIGRlc2MxID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgfSk7CiAgICAgICAgdmFyIGRlc2MyID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIHJldHVybiBwcm9wZXJ0eURlZmluZUNvcnJlY3QgJiYgZGVzYzEuY29uZmlndXJhYmxlID09PSB0cnVlICYmIG9iai5wcm9wID09PSAyMDEwICYmIGRlc2MyLmNvbmZpZ3VyYWJsZSA9PT0gZmFsc2U7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgI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AgICAgICB2YWx1ZTogMjAxMCwKICAgICAgICAgICAgd3JpdGFibGU6IGZhbHNlLAogICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgfSk7CiAgICAgICAgdmFyIHByb3BlcnR5RGVmaW5lQ29ycmVjdCA9IG9iai5oYXNPd25Qcm9wZXJ0eSgicHJvcCIpOwogICAgICAgIHZhciBkZXNjMSA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICAgICAgd3JpdGFibGU6IHRydWUKICAgICAgICAgICAgfSk7CgogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICB2YXIgZGVzYzIgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKG9iaiwgInByb3AiKTsKCiAgICAgICAgICAgIHJldHVybiBwcm9wZXJ0eURlZmluZUNvcnJlY3QgJiYgZGVzYzEud3JpdGFibGUgPT09IGZhbHNlICYmIG9iai5wcm9wID09PSAyMDEwICYmIGRlc2MyLndyaXRhYmxlID09PSBmYWxzZSAmJiBlIGluc3RhbmNlb2YgVHlwZUVycm9yOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkgJiYgZm5FeGlzdHMoT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcik7CiAgICB9Cn0pOwo=","id":"15.2.3.6-4-364"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LT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gICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgIH0pOwogICAgICAgIHZhciBwcm9wZXJ0eURlZmluZUNvcnJlY3QgPSBvYmouaGFzT3duUHJvcGVydHkoInByb3AiKTsKICAgICAgICB2YXIgZGVzYzEgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKG9iaiwgInByb3AiKTsKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICB9KTsKCiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgIHZhciBkZXNjMiA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwoKICAgICAgICAgICAgcmV0dXJuIHByb3BlcnR5RGVmaW5lQ29ycmVjdCAmJiBkZXNjMS5jb25maWd1cmFibGUgPT09IGZhbHNlICYmIG9iai5wcm9wID09PSAyMDEwICYmIGRlc2MyLmNvbmZpZ3VyYWJsZSA9PT0gZmFsc2UgJiYgZSBpbnN0YW5jZW9mIFR5cGVFcnJvcjsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuRXhpc3RzKE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IpOyAKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-366"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTM2NyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwd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AgfSk7CiAgICAgICAgdmFyIHByb3BlcnR5RGVmaW5lQ29ycmVjdCA9IChvYmoucHJvcCA9PT0gMjAxMCk7CiAgICAgICAgb2JqLnByb3AgPSAxMDAxOwoKICAgICAgICByZXR1cm4gcHJvcGVydHlEZWZpbmVDb3JyZWN0ICYmIG9iai5wcm9wID09PSAyMDEwOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-368"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTM2OSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0zNjkuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBwcm9wZXJ0eSAoW1tXcml0YWJsZV1dIGlzIGZhbHNlLCBbW0VudW1lcmFibGVdXSBpcyBmYWxzZSwgW1tDb25maWd1cmFibGVdXSBpcyB0cnVlKSBpcyB1bmVudW1lcmFibGUiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBvYmogPSB7fTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIHZhbHVlOiAyMDEwLAogICAgICAgICAgICB3cml0YWJsZTogZmFsc2UsCiAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKICAgICAgICB2YXIgcHJvcGVydHlEZWZpbmVDb3JyZWN0ID0gb2JqLmhhc093blByb3BlcnR5KCJwcm9wIik7CiAgICAgICAgdmFyIGRlc2MgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKG9iaiwgInByb3AiKTsKICAgICAgICBmb3IgKHZhciBwIGluIG9iaikgewogICAgICAgICAgICBpZiAocCA9PT0gInByb3AiKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICAgICAgcmV0dXJuIHByb3BlcnR5RGVmaW5lQ29ycmVjdCAmJiBkZXNjLmVudW1lcmFibGUgPT09IGZhbHNlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmbkV4aXN0cyhPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-369"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTM3IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuNi8xNS4yLjMuNi00LTM3LmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5kZWZpbmVQcm9wZXJ0eSAtICdPJyBpcyBhIE51bWJlciBvYmplY3QgdGhhdCB1c2VzIE9iamVjdCdzIFtbR2V0T3duUHJvcGVydHldXSBtZXRob2QgdG8gYWNjZXNzIHRoZSAnbmFtZScgcHJvcGVydHkgKDguMTIuOSBzdGVwIDEpIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgb2JqID0gbmV3IE51bWJlcigtMik7CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJmb28iLCB7CiAgICAgICAgICAgIHZhbHVlOiAxMiwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgIH0pOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAiZm9vIiwgewogICAgICAgICAgICAgICAgdmFsdWU6IDExLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICByZXR1cm4gZSBpbnN0YW5jZW9mIFR5cGVFcnJvciAmJiBvYmouZm9vID09PSAxMjsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-4-37"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTM3MCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0zNzAuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBwcm9wZXJ0eSAoW1tXcml0YWJsZV1dIGlzIGZhbHNlLCBbW0VudW1lcmFibGVdXSBpcyBmYWxzZSwgW1tDb25maWd1cmFibGVdXSBpcyB0cnVlKSBpcyBkZWxldGFibGUiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBvYmogPSB7fTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIHZhbHVlOiAyMDEwLAogICAgICAgICAgICB3cml0YWJsZTogZmFsc2UsCiAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogIC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F0YSBwcm9wZXJ0eSAoW1tXcml0YWJsZV1dIGlzIGZhbHNlLCBbW0VudW1lcmFibGVdXSBpcyBmYWxzZSwgW1tDb25maWd1cmFibGVdXSBpcyB0cnVlKSB0byBkaWZmZXJlbnQgdmFsdWUiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBvYmogPSB7fTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIHZhbHVlOiAyMDEwLAogICAgICAgICAgICB3cml0YWJsZTogZmFsc2UsCiAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKICAgICAgICB2YXIgcHJvcGVydHlEZWZpbmVDb3JyZWN0ID0gb2JqLmhhc093blByb3BlcnR5KCJwcm9wIik7CiAgICAgICAgdmFyIGRlc2MxID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlCiAgICAgICAgfSk7CiAgICAgICAgdmFyIGRlc2MyID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIHJldHVybiBwcm9wZXJ0eURlZmluZUNvcnJlY3QgJiYgZGVzYzEuZW51bWVyYWJsZSA9PT0gZmFsc2UgJiYgb2JqLnByb3AgPT09IDIwMTAgJiYgZGVzYzIuZW51bWVyYWJsZSA9PT0gdHJ1ZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkgJiYgZm5FeGlzdHMoT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307CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICB2YWx1ZTogMjAxMCwKICAgICAgICAgICAgd3JpdGFibGU6IGZhbHNlLAogICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgIH0pOwogICAgICAgIHZhciBwcm9wZXJ0eURlZmluZUNvcnJlY3QgPSBvYmouaGFzT3duUHJvcGVydHkoInByb3AiKTsKICAgICAgICB2YXIgZGVzYyA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwogICAgICAgIGZvciAodmFyIHAgaW4gb2JqKSB7CiAgICAgICAgICAgIGlmIChwID09PSAicHJvcCIpIHsKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfQogICAgICAgIH0KICAgICAgICByZXR1cm4gcHJvcGVydHlEZWZpbmVDb3JyZWN0ICYmIGRlc2MuZW51bWVyYWJsZSA9PT0gZmFsc2U7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuRXhpc3RzKE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IpOwogICAgfQp9KTsK","id":"15.2.3.6-4-376"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTM3NyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0zNzcuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBwcm9wZXJ0eSAoW1tXcml0YWJsZV1dIGlzIGZhbHNl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VydHkgKFtbV3JpdGFibGVdXSBpcyBmYWxzZSwgW1tFbnVtZXJhYmxlXV0gaXMgZmFsc2UsIFtbQ29uZmlndXJhYmxlXV0gaXMgZmFsc2UpIHRvIGRpZmZlcmVudCB2YWx1ZSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIG9iaiA9IHt9OwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgdmFsdWU6IDIwMTAsCiAgICAgICAgICAgIHdyaXRhYmxlOiBmYWxzZSwKICAgICAgICAgICAgZW51bWVyYWJsZTogZmFsc2UsCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICB9KTsKICAgICAgICB2YXIgcHJvcGVydHlEZWZpbmVDb3JyZWN0ID0gb2JqLmhhc093blByb3BlcnR5KCJwcm9wIik7CiAgICAgICAgdmFyIGRlc2MxID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICAgICAgd3JpdGFibGU6IHRydWUKICAgICAgICAgICAgfSk7CgogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICB2YXIgZGVzYzIgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKG9iaiwgInByb3AiKTsKCiAgICAgICAgICAgIHJldHVybiBwcm9wZXJ0eURlZmluZUNvcnJlY3QgJiYgZGVzYzEud3JpdGFibGUgPT09IGZhbHNlICYmIG9iai5wcm9wID09PSAyMDEwICYmIGRlc2MyLndyaXRhYmxlID09PSBmYWxzZSAmJiBlIGluc3RhbmNlb2YgVHlwZUVycm9yOwogICAgICAgIH0KICAgIH0sCgog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InByb3AiKTsKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgICAgIGVudW1lcmFibGU6IHRydWUKICAgICAgICAgICAgfSk7CgogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICB2YXIgZGVzYzIgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKG9iaiwgInByb3AiKTsKCiAgICAgICAgICAgIHJldHVybiBwcm9wZXJ0eURlZmluZUNvcnJlY3QgJiYgZGVzYzEuZW51bWVyYWJsZSA9PT0gZmFsc2UgJiYgb2JqLnByb3AgPT09IDIwMTAgJiYgZGVzYzIuZW51bWVyYWJsZSA9PT0gZmFsc2UgJiYgZSBpbnN0YW5jZW9mIFR5cGVFcnJvcjsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuRXhpc3RzKE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IpOwogICAgfQp9KTsK","id":"15.2.3.6-4-379"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTM4IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuNi8xNS4yLjMuNi00LTM4LmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5kZWZpbmVQcm9wZXJ0eSAtICdPJyBpcyB0aGUgTWF0aCBvYmplY3QgdGhhdCB1c2VzIE9iamVjdCdzIFtbR2V0T3duUHJvcGVydHldXSBtZXRob2QgdG8gYWNjZXNzIHRoZSAnbmFtZScgcHJvcGVydHkgKDguMTIuOSB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gIHZhciBvYmogPSB7fTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIHZhbHVlOiAyMDEwLAogICAgICAgICAgICB3cml0YWJsZTogZmFsc2UsCiAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgfSk7CiAgICAgICAgdmFyIHByb3BlcnR5RGVmaW5lQ29ycmVjdCA9IG9iai5oYXNPd25Qcm9wZXJ0eSgicHJvcCIpOwogICAgICAgIHZhciBkZXNjMSA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICB9KTsKCiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgIHZhciBkZXNjMiA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwoKICAgICAgICAgICAgcmV0dXJuIHByb3BlcnR5RGVmaW5lQ29ycmVjdCAmJiBkZXNjMS5jb25maWd1cmFibGUgPT09IGZhbHNlICYmIG9iai5wcm9wID09PSAyMDEwICYmIGRlc2MyLmNvbmZpZ3VyYWJsZSA9PT0gZmFsc2UgJiYgZSBpbnN0YW5jZW9mIFR5cGVFcnJvcjsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuRXhpc3RzKE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2Ny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wgInByb3AiKTsKCiAgICAgICAgcmV0dXJuIG9iai5wcm9wID09PSBudW1PYmogJiYgZGVzYy52YWx1ZSA9PT0gbnVtT2JqOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmbkV4aXN0cyhPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-388"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTM4OSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0zODkuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBbW1ZhbHVlXV0gYXR0cmlidXRlIG9mIGRhdGEgcHJvcGVydHkgaXMgYSBCb29sZWFuIE9iamVjdCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIG9iaiA9IHt9OwogICAgICAgIHZhciBib29sT2JqID0gbmV3IEJvb2xlYW4oKTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIHZhbHVlOiBib29sT2JqCiAgICAgICAgfSk7CgogICAgICAgIHZhciBkZXNjID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIHJldHVybiBvYmoucHJvcCA9PT0gYm9vbE9iaiAmJiBkZXNjLnZhbHVlID09PSBib29sT2JqOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmbkV4aXN0cyhPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-389"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTM5IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuNi8xNS4yLjMuNi00LTM5LmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5kZWZpbmVQcm9wZXJ0eSAtICdPJyBpcyBhIERhdGUgb2JqZWN0IHRoYXQgdXNlcyBPYmplY3QncyBbW0dldE93blByb3BlcnR5XV0gbWV0aG9kIHRvIGFjY2VzcyB0aGUgJ25hbWUnIHByb3BlcnR5ICg4LjEyLjkgc3RlcCAxKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIGRlc2MgPSBuZXcgRGF0ZSgpOwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoZGVzYywgImZvbyIsIHsKICAgICAgICAgICAgdmFsdWU6IDEyLAogICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgfSk7CgogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShkZXNjLCAiZm9vIiwgewogICAgICAgICAgICAgICAgdmFsdWU6IDExLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICByZXR1cm4gZSBpbnN0YW5jZW9mIFR5cGVFcnJvciAmJiBkZXNjLmZvbyA9PT0gMTI7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ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mVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICB2YWx1ZTogLUluZmluaXR5CiAgICAgICAgfSk7CgogICAgICAgIHZhciBkZXNjID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIHJldHVybiBvYmoucHJvcCA9PT0gLUluZmluaXR5ICYmIGRlc2MudmFsdWUgPT09IC1JbmZpbml0eTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkgJiYgZm5FeGlzdHMoT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcik7CiAgICB9Cn0pOwo=","id":"15.2.3.6-4-398"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTM5OSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC0zOTkuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBbW1ZhbHVlXV0gYXR0cmlidXRlIG9mIGRhdGEgcHJvcGVydHkgaXMgdGhlIGdsb2JhbCBvYmplY3QiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBvYmogPSB7fTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIHZhbHVlOiBmbkdsb2JhbE9iamVjdCgpCiAgICAgICAgfSk7CgogICAgICAgIHZhciBkZXNjID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIHJldHVybiBvYmoucHJvcCA9PT0gZm5HbG9iY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eGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmbkV4aXN0cyhPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-401"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTQwMiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC00MDIuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBbW1ZhbHVlXV0gYXR0cmlidXRlIG9mIGluaGVyaXRlZCBwcm9wZXJ0eSBvZiBbW1Byb3RvdHlwZV1dIGludGVybmFsIHByb3BlcnR5IGlzIGNvcnJlY3QgKFN0cmluZyBpbnN0YW5jZSkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShTdHJpbmcucHJvdG90eXBlLCAicHJvcCIsIHsKICAgICAgICAgICAgICAgIHZhbHVlOiAxMDAxLAogICAgICAgICAgICAgICAgd3JpdGFibGU6IHRydWUsCiAgICAgICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICB2YXIgc3RyT2JqID0gbmV3IFN0cmluZygpOwoKICAgICAgICAgICAgcmV0dXJuICFzdHJPYmouaGFzT3duUHJvcGVydHkoInByb3AiKSAmJiBzdHJPYmoucHJvcCA9PT0gMTAwMTsKICAgICAgICB9IGZpbmFsbHkgewogICAgICAgICAgICBkZWxldGUgU3RyaW5nLnByb3RvdHlwZS5wcm9wOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOi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bmFsbHkgewogICAgICAgICAgICBkZWxldGUgQXJyYXkucHJvdG90eXBlLnByb3A7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cgo=","id":"15.2.3.6-4-403"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTQwNCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC00MDQuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBJbmhlcml0ZWQgcHJvcGVydHkgd2hvc2UgW1tFbnVtZXJhYmxlXV0gYXR0cmlidXRlIGlzIHNldCB0byB0cnVlIGlzIGVudW1lcmFibGUgKEJvb2xlYW4gaW5zdGFuY2UpIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoQm9vbGVhbi5wcm90b3R5cGUsICJwcm9wIiwgewogICAgICAgICAgICAgICAgdmFsdWU6IDEwMDEsCiAgICAgICAgICAgICAgICB3cml0YWJsZTogdHJ1ZSwKICAgICAgICAgICAgICAgIGVudW1lcmFibGU6IHRydWUsCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIHZhciBib29sT2JqID0gbmV3IEJvb2xlYW4oKTsKCiAgICAgICAgICAgIHZhciB2ZXJpZnlFbnVtZXJhYmxlID0gZmFsc2U7CiAgICAgICAgICAgIGZvciAodmFyIHAgaW4gYm9vbE9iaikgewogICAgICAgICAgICAgICAgaWYgKHAgPT09ICJwcm9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hbHNlLAogICAgICAgICAgICAgICAgZW51bWVyYWJsZTogZmFsc2UsCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIHZhciBudW1PYmogPSBuZXcgTnVtYmVyKCk7CiAgICAgICAgICAgIG51bU9iai5wcm9wID0gMTAwMjsKCiAgICAgICAgICAgIHJldHVybiAhbnVtT2JqLmhhc093blByb3BlcnR5KCJwcm9wIikgJiYgbnVtT2JqLnByb3AgPT09IDEwMDE7CiAgICAgICAgfSBmaW5hbGx5IHsKICAgICAgICAgICAgZGVsZXRlIE51bWJlci5wcm90b3R5cGUucHJvcDsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsKCg==","id":"15.2.3.6-4-405"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTQwNiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC00MDYuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBJbmhlcml0ZWQgcHJvcGVydHkgd2hvc2UgW1tFbnVtZXJhYmxlXV0gYXR0cmlidXRlIGlzIHNldCB0byBmYWxzZSBpcyB1bmVudW1lcmFibGUgKEZ1bmN0aW9uIGluc3RhbmNlKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KEZ1bmN0aW9uLnByb3RvdHlwZSwgInByb3AiLCB7CiAgICAgICAgICAgICAgICB2YWx1ZTogMTAwMSwKICAgICAgICAgICAgICAgIHdyaXRhYmxlOiBmYWxzZSwKICAgICAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICB2YXIgZnVuT2JqID0gZnVuY3Rpb24gKCkgeyB9OwoKICAgICAgICAgICAgdmFyIHZlcmlmeUVudW1lcmFibGUgPSBmYWxzZTsKICAgICAgICAgICAgZm9yICh2YXIgcCBpbiBmdW5PYmopIHsKICAgICAgICAgICAgICAgIGlmIChwID09PSAicHJvcCIpIHsKICAgICAgICAgICAgICAgICAgICB2ZXJpZnlFbnVtZXJhYmxlID0gdHJ1ZTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQoKICAgICAgICAgICAgcmV0dXJuICFmdW5PYmouaGFzT3duUHJvcGVydHkoInByb3AiKSAmJiAhdmVyaWZ5RW51bWVyYWJsZTsKICAgICAgICB9IGZpbmFsbHkgewogICAgICAgICAgICBkZWxldGUgRnVuY3Rpb24ucHJvdG90eXBlLnByb3A7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cgo=","id":"15.2.3.6-4-406"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTQwNyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC00MDcuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBbW1ZhbHVlXV0gYXR0cmlidXRlIG9mIGluaGVyaXRlZCBwcm9wZXJ0eSBvZiBbW1Byb3RvdHlwZV1dIGludGVybmFsIHByb3BlcnR5IGlzIGNvcnJlY3QgKEVycm9yIEluc3RhbmNlKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KEVycm9yLnByb3RvdHlwZSwgInByb3AiLCB7CiAgICAgICAgICAgICAgICB2YWx1ZTogMTAwMSwKICAgICAgICAgICAgICAgIHdyaXRhYmxlOiB0cnVlLAogICAgICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZSwKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICB9KTsKICAgICAgICAgICAgdmFyIGVyck9iaiA9IG5ldyBFcnJvcigpOwoKICAgICAgICAgICAgcmV0dXJuICFlcnJPYmouaGFzT3duUHJvcGVydHkoInByb3AiKSAmJiBlcnJPYmoucHJvcCA9PT0gMTAwMTsKICAgICAgICB9IGZpbmFsbHkgewogICAgICAgICAgICBkZWxldGUgRXJyb3IucHJvdG90eXBlLnByb3A7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cgo=","id":"15.2.3.6-4-407"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTQwOCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC00MDguanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBTdWNjZXNzZnVsbHkgYWRkIGEgcHJvcGVydHkgdG8gYW4gb2JqZWN0IHdoZW4gdGhlIG9iamVjdCdzIHByb3RvdHlwZSBoYXMgYSBwcm9wZXJ0eSB3aXRoIH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QgcHJvcGVydHkgd2hvc2UgW1tFbnVtZXJhYmxlXV0gYXR0cmlidXRlIGlzIHNldCB0byBmYWxzZSBpcyBlbnVtZXJhYmxlIChSZWdFeHAgaW5zdGFuY2UpIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoUmVnRXhwLnByb3RvdHlwZSwgInByb3AiLCB7CiAgICAgICAgICAgICAgICB2YWx1ZTogMTAwMSwKICAgICAgICAgICAgICAgIHdyaXRhYmxlOiB0cnVlLAogICAgICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZSwKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICB9KTsKICAgICAgICAgICAgdmFyIHJlZ09iaiA9IG5ldyBSZWdFeHAoKTsKCiAgICAgICAgICAgIHZhciB2ZXJpZnlFbnVtZXJhYmxlID0gZmFsc2U7CiAgICAgICAgICAgIGZvciAodmFyIHAgaW4gcmVnT2JqKSB7CiAgICAgICAgICAgICAgICBpZiAocCA9PT0gInByb3AiKSB7CiAgICAgICAgICAgICAgICAgICAgdmVyaWZ5RW51bWVyYWJsZSA9IHRydWU7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KCiAgICAgICAgICAgIHJldHVybiAhcmVnT2JqLmhhc093blByb3BlcnR5KCJwcm9wIikgJiYgdmVyaWZ5RW51bWVyYWJsZTsKICAgICAgICB9IGZpbmFsbHkgewogICAgICAgICAgICBkZWxldGUgUmVnRXhwLnByb3RvdHlwZS5wcm9wOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSk7CiAgICB9Cn0pOwoK","id":"15.2.3.6-4-409"},{"code":"RVM1SGF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jYtNC00MTAuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBGYWlsZWQgdG8gYWRkIGEgcHJvcGVydHkgdG8gYW4gb2JqZWN0IHdoZW4gdGhlIG9iamVjdCdzIHByb3RvdHlwZSBoYXMgYSBwcm9wZXJ0eSB3aXRoIHRoZSBzYW1lIG5hbWUgYW5kIFtbV3JpdGFibGVdXSBzZXQgdG8gZmFsc2UgKEpTT04pIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoT2JqZWN0LnByb3RvdHlwZSwgInByb3AiLCB7CiAgICAgICAgICAgICAgICB2YWx1ZTogMTAwMSwKICAgICAgICAgICAgICAgIHdyaXRhYmxlOiBmYWxzZSwKICAgICAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICBKU09OLnByb3AgPSAxMDAyOwoKICAgICAgICAgICAgcmV0dXJuICFKU09OLmhhc093blByb3BlcnR5KCJwcm9wIikgJiYgSlNPTi5wcm9wID09PSAxMDAxOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIGRlbGV0ZSBPYmplY3QucHJvdG90eXBlLnByb3A7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cgo=","id":"15.2.3.6-4-410"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTQxMSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC00MTEuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBJbmhlcml0ZWQgcHJvcGVydHkgd2hvc2UgW1tFbnVtZXJhYmxlXV0gYXR0cmlidXRlIGlzIHNldCB0byBmYWxzZSBpcyB1bmVudW1lcmFibGUgKE1hdGgpIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoT2JqZWN0LnByb3RvdHlwZSwgInByb3AiLCB7CiAgICAgICAgICAgICAgICB2YWx1ZTogMTAwMSwKICAgICAgICAgICAgICAgIHdyaXRhYmxlOiBmYWxzZSwKICAgICAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwoKICAgICAgICAgICAgdmFyIHZlcmlmeUVudW1lcmFibGUgPSBmYWxzZTsKICAgICAgICAgICAgZm9yICh2YXIgcCBpbiBNYXRoKSB7CiAgICAgICAgICAgICAgICBpZiAocCA9PT0gInByb3AiKSB7CiAgICAgICAgICAgICAgICAgICAgdmVyaWZ5RW51bWVyYWJsZSA9IHRydWU7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KCiAgICAgICAgICAgIHJldHVybiAhTWF0aC5oYXNPd25Qcm9wZXJ0eSgicHJvcCIpICYmICF2ZXJpZnlFbnVtZXJhYmxlOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIGRlbGV0ZSBPYmplY3QucHJvdG90eXBlLnByb3A7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cgo=","id":"15.2.3.6-4-411"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTQxMiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC00MTIuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBbW1ZhbHVlXV0gZmllbGQgb2YgaW5oZXJpdGVkIHByb3BlcnR5IG9mIFtbUHJvdG90eXBlXV0gaW50ZXJuYWwgcHJvcGVydHkgaXMgY29ycmVjdChPYmplY3QuY3JlYXRlKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIGFwcG9pbnRtZW50ID0ge307CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcHBvaW50bWVudCwgInN0YXJ0VGltZSIsIHsKICAgICAgICAgICAgdmFsdWU6IDEwMDEsCiAgICAgICAgICAgIHdyaXRhYmxlOiB0cnVlLAogICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXBwb2ludG1lbnQsICJuYW1lIiwgewogICAgICAgICAgICB2YWx1ZTogIk5BTUUiLAogICAgICAgICAgICB3cml0YWJsZTogdHJ1ZSwKICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgfSk7CgogICAgICAgIHZhciBtZWV0aW5nID0gT2JqZWN0LmNyZWF0ZShhcHBvaW50bWVudCk7CiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG1lZXRpbmcsICJjb25mZXJlbmNlQ2FsbCIsIHsKICAgICAgICAgICAgdmFsdWU6ICJJbi1wZXJzb24gbWVldGluZyIsCiAgICAgICAgICAgIHdyaXRhYmxlOiB0cnVlLAogICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKCiAgICAgICAgdmFyIHRlYW1NZWV0aW5nID0gT2JqZWN0LmNyZWF0ZShtZWV0aW5nKTsKCiAgICAgICAgdmFyIGhhc093blByb3BlcnR5ID0gIXRlYW1NZWV0aW5nLmhhc093blByb3BlcnR5KCJuYW1lIikgJiYKICAgICAgICAgICAgIXRlYW1NZWV0aW5nLmhhc093blByb3BlcnR5KCJzdGFydFRpbWUiKSAmJgogICAgICAgICAgICAhdGVhbU1lZXRpbmcuaGFzT3duUHJvcGVydHkoJ2NvbmZlcmVuY2VDYWxsJyk7CgogICAgICAgIHJldHVybiBoYXNPd25Qcm9wZXJ0eSAmJiB0ZWFtTWVldGluZy5uYW1lID09PSAiTkFNRSIgJiYKICAgICAgICAgICAgdGVhbU1lZXRpbmcuc3RhcnRUaW1lID09PSAxMDAxICYmCiAgICAgICAgICAgIHRlYW1NZWV0aW5nLmNvbmZlcmVuY2VDYWxsID09PSAiSW4tcGVyc29uIG1lZXRpbmciOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmbkV4aXN0cyhPYmplY3QuY3JlYXRlKTsKICAgIH0KfSk7Cgo=","id":"15.2.3.6-4-412"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTQxMyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC00MTMuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBTdWNjZXNzZnVs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vMTUuMi4zLjYtNC00MTQuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBJbmhlcml0ZWQgcHJvcGVydHkgd2hvc2UgW1tFbnVtZXJhYmxlXV0gYXR0cmlidXRlIGlzIHNldCB0byB0cnVlIGlzIGVudW1lcmFibGUgKE9iamVjdC5jcmVhdGUpIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgYXBwb2ludG1lbnQgPSBuZXcgT2JqZWN0KCk7CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcHBvaW50bWVudCwgInN0YXJ0VGltZSIsIHsKICAgICAgICAgICAgdmFsdWU6IDEwMDEsCiAgICAgICAgICAgIHdyaXRhYmxlOiB0cnVlLAogICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXBwb2ludG1lbnQsICJuYW1lIiwgewogICAgICAgICAgICB2YWx1ZTogIk5BTUUiLAogICAgICAgICAgICB3cml0YWJsZTogdHJ1ZSwKICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgfSk7CgogICAgICAgIHZhciBtZWV0aW5nID0gT2JqZWN0LmNyZWF0ZShhcHBvaW50bWVudCk7CiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG1lZXRpbmcsICJjb25mZXJlbmNlQ2FsbCIsIHsKICAgICAgICAgICAgdmFsdWU6ICJJbi1wZXJzb24gbWVldGluZyIsCiAgICAgICAgICAgIHdyaXRhYmxlOiB0cnVlLAogICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKCiAgICAgICAg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cHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkgJiYgZm5FeGlzdHMoT2JqZWN0LmNyZWF0ZSk7CiAgICB9Cn0pOwoK","id":"15.2.3.6-4-415"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTQxNiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC00MTYuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBJbmhlcml0ZWQgcHJvcGVydGllcyB3aG9zZSBbW0VudW1lcmFibGVdXSBhdHRyaWJ1dGUgaXMgc2V0IHRvIGZhbHNlIGlzIHVuZW51bWVyYWJsZSAoT2JqZWN0LmNyZWF0ZSkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBhcHBvaW50bWVudCA9IHt9OwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXBwb2ludG1lbnQsICJzdGFydFRpbWUiLCB7CiAgICAgICAgICAgIHZhbHVlOiAxMDAxLAogICAgICAgICAgICB3cml0YWJsZTogZmFsc2UsCiAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXBwb2ludG1lbnQsICJuYW1lIiwgewogICAgICAgICAgICB2YWx1ZTogIk5BTUUiLAogICAgICAgICAgICB3cml0YWJsZTogZmFsc2UsCiAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKCiAgICAgICAgdmFyIG1lZXRpbmcgPSBPYmplY3QuY3JlYXRlKGFwcG9pbnRtZW50KTsKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkobWVldGluZywgImNvbmZlcmVuY2VDYWxsIiwgewogICAgICAgICAgICB2YWx1ZTogIkluLXBlcnNvbiBtZWV0aW5nIiwKICAgICAgICAgICAgd3JpdGFibGU6IGZhbHNlLAogICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgfSk7CgogICAgICAgIHZhciB0ZWFtTWVldGluZyA9IE9iamVjdC5jcmVhdGUobWVldGluZyk7CgogICAgICAgIHZhciB2ZXJpZnlUaW1lUHJvcCA9IGZhbHNlOwogICAgICAgIHZhciB2ZXJpZnlOYW1lUHJvcCA9IGZhbHNlOwogICAgICAgIHZhciB2ZXJpZnlDYWxsUHJvcCA9IGZhbHNlOwogICAgICAgIGZvciAodmFyIHAgaW4gdGVhbU1lZXRpbmcpIHsKICAgICAgICAgICAgaWYgKHAgPT09ICJzdGFydFRpbWUiKSB7CiAgICAgICAgICAgICAgICB2ZXJpZnlUaW1lUHJvcCA9IHRydWU7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgaWYgKHAgPT09ICJuYW1lIikgewogICAgICAgICAgICAgICAgdmVyaWZ5TmFtZVByb3AgPSB0cnVlOwogICAgICAgICAgICB9CiAgICAgICAgICAgIGlmIChwID09PSAiY29uZmVyZW5jZUNhbGwiKSB7CiAgICAgICAgICAgICAgICB2ZXJpZnlDYWxsUHJvcCA9IHRydWU7CiAgICAgICAgICAgIH0KICAgICAgICB9CgogICAgICAgIHZhciBoYXNPd25Qcm9wZXJ0eSA9ICF0ZWFtTWVldGluZy5oYXNPd25Qcm9wZXJ0eSgibmFtZSIpICYmCiAgICAgICAgICAgICF0ZWFtTWVldGluZy5oYXNPd25Qcm9wZXJ0eSgic3RhcnRUaW1lIikgJiYKICAgICAgICAgICAgIX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9wIiwgewogICAgICAgICAgICAgICAgdmFsdWU6IDEwMDEsCiAgICAgICAgICAgICAgICB3cml0YWJsZTogdHJ1ZSwKICAgICAgICAgICAgICAgIGVudW1lcmFibGU6IHRydWUsCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICAgICAgfSk7CgogICAgICAgICAgICB2YXIgb2JqID0gZm9vLmJpbmQoe30pOwogICAgICAgICAgICBvYmoucHJvcCA9IDEwMDI7CgogICAgICAgICAgICByZXR1cm4gb2JqLmhhc093blByb3BlcnR5KCJwcm9wIikgJiYgb2JqLnByb3AgPT09IDEwMDI7CiAgICAgICAgfSBmaW5hbGx5IHsKICAgICAgICAgICAgZGVsZXRlIEZ1bmN0aW9uLnByb3RvdHlwZS5wcm9wOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkgJiYgZm5FeGlzdHMoRnVuY3Rpb24ucHJvdG90eXBlLmJpbmQpOwogICAgfQp9KTsKCg==","id":"15.2.3.6-4-418"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTQxOSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC00MTkuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBJbmhlcml0ZWQgcHJvcGVydHkgd2hvc2UgW1tFbnVtZXJhYmxlXV0gYXR0cmlidXRlIGlzIHNldCB0byB0cnVlIGlzIGVudW1lcmFibGUgKEZ1bmN0aW9uLnByb3RvdHlwZS5iaW5kKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIGZvbyA9IGZ1bmN0aW9uICgpIHsgfTsKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoRnVuY3Rpb24ucHJvdG90eXBlLCAicHJvcCIsIHsKICAgICAgICAgICAgICAgIHZhbHVlOiAxMDAxLAogICAgICAgICAgICAgICAgd3JpdGFibGU6IHRydWUsCiAgICAgICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwoKICAgICAgICAgICAgdmFyIG9iaiA9IGZvby5iaW5kKHt9KTsKICAgICAgICAgICAgdmFyIHZlcmlmeUVudW1lcmFibGUgPSBmYWxzZTsKICAgICAgICAgICAgZm9yICh2YXIgcCBpbiBvYmopIHsKICAgICAgICAgICAgICAgIGlmIChwID09PSAicHJvcCIpIHsKICAgICAgICAgICAgICAgICAgICB2ZXJpZnlFbnVtZXJhYmxlID0gdHJ1ZTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQoKICAgICAgICAgICAgcmV0dXJuICFvYmouaGFzT3duUHJvcGVydHkoInByb3AiKSAmJiB2ZXJpZnlFbnVtZXJhYmxlOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIGRlbGV0ZSBGdW5jdGlvbi5wcm90b3R5cGUucHJvcDsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuRXhpc3RzKEZ1bmN0aW9uLnByb3RvdHlwZS5iaW5kKTsKICAgIH0KfSk7Cgo=","id":"15.2.3.6-4-419"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTQyIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuNi8xNS4yLjMuNi00LTQyLmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5kZWZpbmVQcm9wZXJ0eSAtICdPJyBpcyBhbiBFcnJvciBvYmplY3QgdGhhdCB1c2VzIE9iamVjdCdzIFtbR2V0T3duUHJvcGVydHldXSBtZXRob2QgdG8gYWNjZXNzIHRoZSAnbmFtZScgcHJvcGVydHkgKDguMTIuOSBzdGVwIDEpIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgZGVzYyA9IG5ldyBFcnJvcigpOwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoZGVzYywgImZvbyIsIHsKICAgICAgICAgICAgdmFsdWU6IDEyLAogICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgfSk7CgogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShkZXNjLCAiZm9vIiwgewogICAgICAgICAgICAgICAgdmFsdWU6IDExLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICByZXR1cm4gZSBpbnN0YW5jZW9mIFR5cGVFcnJvciAmJiBkZXNjLmZvbyA9PT0gMTI7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-42"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTQyMCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4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lzdHMoRnVuY3Rpb24ucHJvdG90eXBlLmJpbmQpOwogICAgfQp9KTsKCg==","id":"15.2.3.6-4-420"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTQyMSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC00MjEuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBJbmhlcml0ZWQgcHJvcGVydHkgd2hvc2UgW1tFbnVtZXJhYmxlXV0gYXR0cmlidXRlIGlzIHNldCB0byBmYWxzZSBpcyB1bmVudW1lcmFibGUgKEZ1bmN0aW9uLnByb3RvdHlwZS5iaW5kKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIGZvbyA9IGZ1bmN0aW9uICgpIHsgfTsKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoRnVuY3Rpb24ucHJvdG90eXBlLCAicHJvcCIsIHsKICAgICAgICAgICAgICAgIHZhbHVlOiAxMDAxLAogICAgICAgICAgICAgICAgd3JpdGFibGU6IGZhbHNlLAogICAgICAgICAgICAgICAgZW51bWVyYWJsZTogZmFsc2UsCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICAgICAgfSk7CgogICAgICAgICAgICB2YXIgb2JqID0gZm9vLmJpbmQoe30pOwogICAgICAgICAgICB2YXIgdmVyaWZ5RW51bWVyYWJsZSA9IGZhbHNlOwogICAgICAgICAgICBmb3IgKHZhciBwIGluIG9iaikgewogICAgICAgICAgICAgICAgaWYgKHAgPT09ICJwcm9wIikgewogICAgICAgICAgICAgICAgICAgIHZlcmlmeUVudW1lcmFibGUgPSB0cnVlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CgogICAgICAgICAgIC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VByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIGdldDogdW5kZWZpbmVkLAogICAgICAgICAgICBzZXQ6IHVuZGVmaW5lZCwKICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgfSk7CgogICAgICAgIHZhciBwcm9wZXJ0eURlZmluZUNvcnJlY3QgPSBvYmouaGFzT3duUHJvcGVydHkoInByb3AiKTsKICAgICAgICB2YXIgZGVzYyA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwoKICAgICAgICBmb3IgKHZhciBwIGluIG9iaikgewogICAgICAgICAgICBpZiAocCA9PT0gInByb3AiKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gcHJvcGVydHlEZWZpbmVDb3JyZWN0ICYmIGRlc2MuZW51bWVyYWJsZSA9PT0gdHJ1ZTsKICAgICAgICAgICAgfQogICAgICAgIH0KCiAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmbkV4aXN0cyhPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-424"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTQyNSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC00MjUuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBwcm9wZXJ0eSAoW1tHZXRdXSBpcyB1bmRlZmluZWQsIFtbU2V0XV0gaXMgd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icHJvcCIsIHsKICAgICAgICAgICAgZ2V0OiB1bmRlZmluZWQsCiAgICAgICAgICAgIHNldDogdW5kZWZpbmVkLAogICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKCiAgICAgICAgdmFyIGRlc2MxID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICBzZXQ6IHNldEZ1bmMKICAgICAgICB9KTsKCiAgICAgICAgb2JqLnByb3AgPSAib3ZlcnJpZGVEYXRhIjsKICAgICAgICB2YXIgcHJvcGVydHlEZWZpbmVDb3JyZWN0ID0gb2JqLmhhc093blByb3BlcnR5KCJwcm9wIik7CiAgICAgICAgdmFyIGRlc2MyID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIHJldHVybiBwcm9wZXJ0eURlZmluZUNvcnJlY3QgJiYgdHlwZW9mIGRlc2MxLnNldCA9PT0gInVuZGVmaW5lZCIgJiYgZGVzYzIuc2V0ID09PSBzZXRGdW5jICYmIHZlcmlmeVNldEZ1bmMgPT09ICJvdmVycmlkZURhdGEiOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmbkV4aXN0cyhPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-427"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTQyOCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4y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3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgZ2V0OiB1bmRlZmluZWQsCiAgICAgICAgICAgIHNldDogdW5kZWZpbmVkLAogICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKICAgICAgICB2YXIgZGVzYzEgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKG9iaiwgInByb3AiKTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICB9KTsKICAgICAgICB2YXIgZGVzYzIgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKG9iaiwgInByb3AiKTsKICAgICAgICBkZWxldGUgb2JqLnByb3A7CgogICAgICAgIHJldHVybiBkZXNjMS5jb25maWd1cmFibGUgPT09IHRydWUgJiYgZGVzYzIuY29uZmlndXJhYmxlID09PSBmYWxzZSAmJiBvYmouaGFzT3duUHJvcGVydHkoInByb3AiKTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkgJiYgZm5FeGlzdHMoT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcik7CiAgICB9Cn0pOwo=","id":"15.2.3.6-4-429"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTQzIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuNi8xNS4yLjMuNi00LTQzLmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5kZWZpbmVQcm9wZXJ0eSAtICdPJyBpcyBhbiBBcmd1bWVudHMgb2JqZWN0IHdoaWNoIGltcGxlbWVudHMgaXRzIG93biBbW0dldE93blByb3BlcnR5XV0gbWV0aG9kIHRvIGFjY2VzcyB0aGUgJ25hbWUnIHByb3BlcnR5ICg4LjEyLjkgc3RlcCAxKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIGFyZ09iaiA9IChmdW5jdGlvbiAoKSB7IHJldHVybiBhcmd1bWVudHM7IH0pKCk7CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcmdPYmosICJmb28iLCB7CiAgICAgICAgICAgIHZhbHVlOiAxMiwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgIH0pOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXJnT2JqLCAiZm9vIiwgewogICAgICAgICAgICAgICAgdmFsdWU6IDExLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICByZXR1cm4gZSBpbnN0YW5jZW9mIFR5cGVFcnJvciAmJiBhcmdPYmouZm9vID09PSAxMjsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-4-43"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTQzMCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC00MzAuanMiLAoKICAg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WN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIGZvciAodmFyIHAgaW4gb2JqKSB7CiAgICAgICAgICAgIGlmIChwID09PSAicHJvcCIpIHsKICAgICAgICAgICAgICAgIHJldHVybiBwcm9wZXJ0eURlZmluZUNvcnJlY3QgJiYgZGVzYy5lbnVtZXJhYmxlID09PSB0cnVlOwogICAgICAgICAgICB9CiAgICAgICAgfQoKICAgICAgICByZXR1cm4gZmFsc2U7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuRXhpc3RzKE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IpOwogICAgfQp9KTsKCg==","id":"15.2.3.6-4-433"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTQzNCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC00MzQuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBwcm9wZXJ0eSAoW1tHZXRdXSBpcyB1bmRlZmluZWQsIFtbU2V0XV0gaXMgdW5kZWZpbmVkLCBbW0VudW1lcmFibGVdXSBpcyB0cnVlLCBbW0NvbmZpZ3VyYWJsZV1dIGlzIGZhbHNlKSBpcyB1bmRlbGV0YWJsZSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIG9iaiA9IHt9OwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgZ2V0OiB1bmRlZmluZWQsCiAgICAgICAgICAgIHNldDogdW5kZWZpbmVkLAogICA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dXSBhdHRyaWJ1dGUgb2YgYWNjZXNzb3IgcHJvcGVydHkgKFtbR2V0XV0gaXMgdW5kZWZpbmVkLCBbW1NldF1dIGlzIHVuZGVmaW5lZCwgW1tFbnVtZXJhYmxlXV0gaXMgdHJ1ZSwgW1tDb25maWd1cmFibGVdXSBpcyBmYWxzZSkgdG8gZGlmZmVyZW50IHZhbHVlIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgb2JqID0ge307CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICBnZXQ6IHVuZGVmaW5lZCwKICAgICAgICAgICAgc2V0OiB1bmRlZmluZWQsCiAgICAgICAgICAgIGVudW1lcmFibGU6IHRydWUsCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICB9KTsKICAgICAgICB2YXIgcmVzdWx0MSA9IGZhbHNlOwogICAgICAgIHZhciBkZXNjMSA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwogICAgICAgIGZvciAodmFyIHAxIGluIG9iaikgewogICAgICAgICAgICBpZiAocDEgPT09ICJwcm9wIikgewogICAgICAgICAgICAgICAgcmVzdWx0MSA9IHRydWU7CiAgICAgICAgICAgIH0KICAgICAgICB9CgogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICAgICAgZW51bWVyYWJsZTogZmFsc2UKICAgICAgICAgICAgfSk7CgogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICB2YXIgcmVzdWx0MiA9IGZhbHNlOwogICAgICAgICAgICB2YXIgZGVzYzIgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKG9iaiwgInByb3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gICAgIHZhciBvYmogPSB7fTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIGdldDogdW5kZWZpbmVkLAogICAgICAgICAgICBzZXQ6IHVuZGVmaW5lZCwKICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgIH0pOwogICAgICAgIHZhciBkZXNjMSA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICB9KTsKCiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgIHZhciBkZXNjMiA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwogICAgICAgICAgICBkZWxldGUgb2JqLnByb3A7CgogICAgICAgICAgICByZXR1cm4gZGVzYzEuY29uZmlndXJhYmxlID09PSBmYWxzZSAmJiBkZXNjMi5jb25maWd1cmFibGUgPT09IGZhbHNlICYmIG9iai5oYXNPd25Qcm9wZXJ0eSgicHJvcCIpICYmIGUgaW5zdGFuY2VvZiBUeXBlRXJyb3I7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmbkV4aXN0cyhPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKTsKICAgIH0KfSk7","id":"15.2.3.6-4-438"},{"code":"RVM1SGFybmVzcy5yZWdpc3Rl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nR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIGdldDogdW5kZWZpbmVkLAogICAgICAgICAgICBzZXQ6IHVuZGVmaW5lZCwKICAgICAgICAgICAgZW51bWVyYWJsZTogZmFsc2UsCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgIH0pOwoKICAgICAgICB2YXIgcHJvcGVydHlEZWZpbmVDb3JyZWN0ID0gb2JqLmhhc093blByb3BlcnR5KCJwcm9wIik7CiAgICAgICAgdmFyIGRlc2MgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKG9iaiwgInByb3AiKTsKCiAgICAgICAgZm9yICh2YXIgcCBpbiBvYmopIHsKICAgICAgICAgICAgaWYgKHAgPT09ICJwcm9wIikgewogICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICB9CiAgICAgICAgfQoKICAgICAgICByZXR1cm4gcHJvcGVydHlEZWZpbmVDb3JyZWN0ICYmIGRlc2MuZW51bWVyYWJsZSA9PT0gZmFsc2U7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuRXhpc3RzKE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IpOwogICAgfQp9KTsKCg==","id":"15.2.3.6-4-442"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTQ0MyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC00NDMuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBwcm9wZXJ0eSAoW1tHZXRdXSBpcyB1bmRlZmluZWQsIFtbU2V0XV0gaXMgdW5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bmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICBnZXQ6IHVuZGVmaW5lZCwKICAgICAgICAgICAgc2V0OiB1bmRlZmluZWQsCiAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKCiAgICAgICAgdmFyIGRlc2MxID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CiAgICAgICAgdmFyIHByb3BlcnR5RGVmaW5lQ29ycmVjdCA9IG9iai5oYXNPd25Qcm9wZXJ0eSgicHJvcCIpOwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgc2V0OiBzZXRGdW5jCiAgICAgICAgfSk7CgogICAgICAgIG9iai5wcm9wID0gIm92ZXJyaWRlRGF0YSI7CiAgICAgICAgdmFyIGRlc2MyID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIHJldHVybiB0eXBlb2YgZGVzYzEuc2V0ID09PSAidW5kZWZpbmVkIiAmJiBwcm9wZXJ0eURlZmluZUNvcnJlY3QgJiYgZGVzYzIuc2V0ID09PSBzZXRGdW5jICYmIHZlcmlmeVNldEZ1bmMgPT09ICJvdmVycmlkZURhdGEiOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmbkV4aXN0cyhPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKTsKICAgIH0KfSk7Cgo=","id":"15.2.3.6-4-445"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTQ0NiIsCgogICAgcGF0aDogIlRlc3RDYXNlc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AgICB2YXIgb2JqID0ge307CiAgICAgICAgdmFyIGdldEZ1bmMgPSBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgIHJldHVybiAxMDAxOwogICAgICAgIH07CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICBnZXQ6IHVuZGVmaW5lZCwKICAgICAgICAgICAgc2V0OiB1bmRlZmluZWQsCiAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgfSk7CgogICAgICAgIHZhciByZXN1bHQxID0gdHlwZW9mIG9iai5wcm9wID09PSAidW5kZWZpbmVkIjsKICAgICAgICB2YXIgZGVzYzEgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKG9iaiwgInByb3AiKTsKCiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgICAgICBnZXQ6IGdldEZ1bmMKICAgICAgICAgICAgfSk7CgogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICB2YXIgcmVzdWx0MiA9IHR5cGVvZiBvYmoucHJvcCA9PT0gInVuZGVmaW5lZCI7CiAgICAgICAgICAgIHZhciBkZXNjMiA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwogICAgICAgICAgICByZXR1cm4gcmVzdWx0MSAmJiByZXN1bHQyICYmIHR5cGVvZiBkZXNjMS5nZXQgPT09ICJ1bmRlZmluZWQiICYmIHR5cGVvZiBkZXNjMi5nZXQgPT09ICJ1bmRlZmluZWQiICYmIGUgaW5zdGFuY2VvZiBUeXBlRXJyb3I7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHBy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mVkLCBbW1NldF1dIGlzIHVuZGVmaW5lZCwgW1tFbnVtZXJhYmxlXV0gaXMgZmFsc2UsIFtbQ29uZmlndXJhYmxlXV0gaXMgZmFsc2UpIHRvIGRpZmZlcmVudCB2YWx1ZSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIG9iaiA9IHt9OwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgZ2V0OiB1bmRlZmluZWQsCiAgICAgICAgICAgIHNldDogdW5kZWZpbmVkLAogICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgIH0pOwogICAgICAgIHZhciByZXN1bHQxID0gZmFsc2U7CiAgICAgICAgdmFyIGRlc2MxID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CiAgICAgICAgZm9yICh2YXIgcDEgaW4gb2JqKSB7CiAgICAgICAgICAgIGlmIChwMSA9PT0gInByb3AiKSB7CiAgICAgICAgICAgICAgICByZXN1bHQxID0gdHJ1ZTsKICAgICAgICAgICAgfQogICAgICAgIH0KCiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwoKICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgdmFyIHJlc3VsdDIgPSBmYWxzZTsKICAgICAgICAgICAgdmFyIGRlc2MyID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CiAgICAgICAgICAgIGZvciAodmFyIHAyIGluIG9iaikgewogICAgICAgICAgICAgICAgaWYgKH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9wIiwgewogICAgICAgICAgICBnZXQ6IHVuZGVmaW5lZCwKICAgICAgICAgICAgc2V0OiB1bmRlZmluZWQsCiAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgfSk7CiAgICAgICAgdmFyIGRlc2MxID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwoKICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgdmFyIGRlc2MyID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CiAgICAgICAgICAgIGRlbGV0ZSBvYmoucHJvcDsKCiAgICAgICAgICAgIHJldHVybiBkZXNjMS5jb25maWd1cmFibGUgPT09IGZhbHNlICYmIGRlc2MyLmNvbmZpZ3VyYWJsZSA9PT0gZmFsc2UgJiYgb2JqLmhhc093blByb3BlcnR5KCJwcm9wIikgJiYgZSBpbnN0YW5jZW9mIFR5cGVFcnJvcjsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuRXhpc3RzKE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IpOwogICAgfQp9KTs=","id":"15.2.3.6-4-456"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTQ1NyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGF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SB7CiAgICAgICAgICAgIHJldHVybiAxMDAxOwogICAgICAgIH07CgogICAgICAgIHZhciB2ZXJpZnlTZXRGdW5jID0gImRhdGEiOwogICAgICAgIHZhciBzZXRGdW5jID0gZnVuY3Rpb24gKHZhbHVlKSB7CiAgICAgICAgICAgIHZlcmlmeVNldEZ1bmMgPSB2YWx1ZTsKICAgICAgICB9OwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgZ2V0OiB1bmRlZmluZWQsCiAgICAgICAgICAgIHNldDogc2V0RnVuYywKICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgfSk7CgogICAgICAgIHZhciByZXN1bHQxID0gdHlwZW9mIG9iai5wcm9wID09PSAidW5kZWZpbmVkIjsKICAgICAgICB2YXIgZGVzYzEgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKG9iaiwgInByb3AiKTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIGdldDogZ2V0RnVuYwogICAgICAgIH0pOwoKICAgICAgICB2YXIgcmVzdWx0MiA9IG9iai5wcm9wID09PSAxMDAxOwogICAgICAgIHZhciBkZXNjMiA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwoKICAgICAgICByZXR1cm4gcmVzdWx0MSAmJiByZXN1bHQyICYmIHR5cGVvZiBkZXNjMS5nZXQgPT09ICJ1bmRlZmluZWQiICYmIGRlc2MyLmdldCA9PT0gZ2V0RnVuYzsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkgJiYgZm5FeGlzdH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gImRhdGEiOwogICAgICAgIHZhciBzZXRGdW5jID0gZnVuY3Rpb24gKHZhbHVlKSB7CiAgICAgICAgICAgIHZlcmlmeVNldEZ1bmMgPSB2YWx1ZTsKICAgICAgICB9OwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgZ2V0OiB1bmRlZmluZWQsCiAgICAgICAgICAgIHNldDogc2V0RnVuYywKICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgfSk7CgogICAgICAgIHZhciByZXN1bHQxID0gZmFsc2U7CiAgICAgICAgdmFyIGRlc2MxID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CiAgICAgICAgZm9yICh2YXIgcDEgaW4gb2JqKSB7CiAgICAgICAgICAgIGlmIChwMSA9PT0gInByb3AiKSB7CiAgICAgICAgICAgICAgICByZXN1bHQxID0gdHJ1ZTsKICAgICAgICAgICAgfQogICAgICAgIH0KCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlCiAgICAgICAgfSk7CiAgICAgICAgdmFyIHJlc3VsdDIgPSBmYWxzZTsKICAgICAgICB2YXIgZGVzYzIgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKG9iaiwgInByb3AiKTsKICAgICAgICBmb3IgKHZhciBwMiBpbiBvYmopIHsKICAgICAgICAgICAgaWYgKHAyID09PSAicHJvcCIpIHsKICAgICAgICAgICAgICAgIHJlc3VsdDIgPSB0cnVlOwogICAgICAgICAgICB9CiAgICAgICAgfQoKICAgICAgICByZXR1cm4gcmVzdWx0MSAmJiAhcmVzdWx0MiAmJiBkZXNjMS5lbnVtZXJhYmxlID09PSB0cnVlICYmIGRlc2MyLmVudW1lcmF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IFtbRW51bWVyYWJsZV1dIGlzIHRydWUsIFtbQ29uZmlndXJhYmxlXV0gaXMgdHJ1ZSkgdG8gYSBkYXRhIHByb3BlcnR5IiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgb2JqID0ge307CgogICAgICAgIHZhciB2ZXJpZnlTZXRGdW5jID0gImRhdGEiOwogICAgICAgIHZhciBzZXRGdW5jID0gZnVuY3Rpb24gKHZhbHVlKSB7CiAgICAgICAgICAgIHZlcmlmeVNldEZ1bmMgPSB2YWx1ZTsKICAgICAgICB9OwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgZ2V0OiB1bmRlZmluZWQsCiAgICAgICAgICAgIHNldDogc2V0RnVuYywKICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgfSk7CiAgICAgICAgdmFyIGRlc2MxID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICB2YWx1ZTogMTAwMQogICAgICAgIH0pOwogICAgICAgIHZhciBkZXNjMiA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwoKICAgICAgICByZXR1cm4gZGVzYzEuaGFzT3duUHJvcGVydHkoImdldCIpICYmIGRlc2MyLmhhc093blByb3BlcnR5KCJ2YWx1ZSIpOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmbkV4aXN0cyhPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcml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ICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIG9iaiA9IHt9OwoKICAgICAgICB2YXIgdmVyaWZ5U2V0RnVuYyA9ICJkYXRhIjsKICAgICAgICB2YXIgc2V0RnVuYyA9IGZ1bmN0aW9uICh2YWx1ZSkgewogICAgICAgICAgICB2ZXJpZnlTZXRGdW5jID0gdmFsdWU7CiAgICAgICAgfTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIGdldDogdW5kZWZpbmVkLAogICAgICAgICAgICBzZXQ6IHNldEZ1bmMsCiAgICAgICAgICAgIGVudW1lcmFibGU6IHRydWUsCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICB9KTsKCiAgICAgICAgdmFyIHByb3BlcnR5RGVmaW5lQ29ycmVjdCA9IG9iai5oYXNPd25Qcm9wZXJ0eSgicHJvcCIpOwogICAgICAgIHZhciBkZXNjID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIGZvciAodmFyIHAgaW4gb2JqKSB7CiAgICAgICAgICAgIGlmIChwID09PSAicHJvcCIpIHsKICAgICAgICAgICAgICAgIHJldHVybiBwcm9wZXJ0eURlZmluZUNvcnJlY3QgJiYgZGVzYy5lbnVtZXJhYmxlID09PSB0cnVlOwogICAgICAgICAgICB9CiAgICAgICAgfQoKICAgICAgICByZXR1cm4gZmFsc2U7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuRXhpc3RzKE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IpOwogICAgfQp9KTsK","id":"15.2.3.6-4-469"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc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ICAgICAgICAgIGVudW1lcmFibGU6IHRydWUsCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICB9KTsKCiAgICAgICAgdmFyIHJlc3VsdDEgPSB0eXBlb2Ygb2JqLnByb3AgPT09ICJ1bmRlZmluZWQiOwogICAgICAgIHZhciBkZXNjMSA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgICAgIGdldDogZ2V0RnVuYwogICAgICAgICAgICB9KTsKCiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgIHZhciByZXN1bHQyID0gdHlwZW9mIG9iai5wcm9wID09PSAidW5kZWZpbmVkIjsKICAgICAgICAgICAgdmFyIGRlc2MyID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgICAgICByZXR1cm4gcmVzdWx0MSAmJiByZXN1bHQyICYmIHR5cGVvZiBkZXNjMS5nZXQgPT09ICJ1bmRlZmluZWQiICYmIHR5cGVvZiBkZXNjMi5nZXQgPT09ICJ1bmRlZmluZWQiICYmIGUgaW5zdGFuY2VvZiBUeXBlRXJyb3I7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmbkV4aXN0cyhPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-471"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTQ3MiIsCgogIC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V0RnVuYyA9IGZ1bmN0aW9uICh2YWx1ZSkgewogICAgICAgICAgICB2ZXJpZnlTZXRGdW5jID0gdmFsdWU7CiAgICAgICAgfTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIGdldDogdW5kZWZpbmVkLAogICAgICAgICAgICBzZXQ6IHNldEZ1bmMsCiAgICAgICAgICAgIGVudW1lcmFibGU6IHRydWUsCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICB9KTsKCiAgICAgICAgdmFyIHJlc3VsdDEgPSBmYWxzZTsKICAgICAgICB2YXIgZGVzYzEgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKG9iaiwgInByb3AiKTsKICAgICAgICBmb3IgKHZhciBwMSBpbiBvYmopIHsKICAgICAgICAgICAgaWYgKHAxID09PSAicHJvcCIpIHsKICAgICAgICAgICAgICAgIHJlc3VsdDEgPSB0cnVlOwogICAgICAgICAgICB9CiAgICAgICAgfQoKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlCiAgICAgICAgICAgIH0pOwoKICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgdmFyIHJlc3VsdDIgPSBmYWxzZTsKICAgICAgICAgICAgdmFyIGRlc2MyID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CiAgICAgICAgICAgIGZvciAodmFyIHAyIGluIG9iaikgewogICAgICAgICAgICAgICAgaWYgKHAyID09PSAicHJvcCIpIHsKICAgICAgICAgICAgICAgICAgICByZXN1bHQyID0gdHJ1ZTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQoKICAgICAgICAgICAg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KICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgZ2V0OiB1bmRlZmluZWQsCiAgICAgICAgICAgIHNldDogc2V0RnVuYywKICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgIH0pOwogICAgICAgIHZhciBkZXNjMSA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICB9KTsKCiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgIHZhciBkZXNjMiA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwogICAgICAgICAgICBkZWxldGUgb2JqLnByb3A7CgogICAgICAgICAgICByZXR1cm4gZGVzYzEuY29uZmlndXJhYmxlID09PSBmYWxzZSAmJiBkZXNjMi5jb25maWd1cmFibGUgPT09IGZhbHNlICYmIG9iai5oYXNPd25Qcm9wZXJ0eSgicHJvcCIpICYmIGUgaW5zdGFuY2VvZiBUeXBlRXJyb3I7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmbkV4aXN0cyhPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-474"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS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ZGlmZmVyZW50IHZhbHVlIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgb2JqID0ge307CgogICAgICAgIHZhciBnZXRGdW5jID0gZnVuY3Rpb24gKCkgewogICAgICAgICAgICByZXR1cm4gMTAwMTsKICAgICAgICB9OwoKICAgICAgICB2YXIgdmVyaWZ5U2V0RnVuYyA9ICJkYXRhIjsKICAgICAgICB2YXIgc2V0RnVuYyA9IGZ1bmN0aW9uICh2YWx1ZSkgewogICAgICAgICAgICB2ZXJpZnlTZXRGdW5jID0gdmFsdWU7CiAgICAgICAgfTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIGdldDogdW5kZWZpbmVkLAogICAgICAgICAgICBzZXQ6IHNldEZ1bmMsCiAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKCiAgICAgICAgdmFyIHJlc3VsdDEgPSB0eXBlb2Ygb2JqLnByb3AgPT09ICJ1bmRlZmluZWQiOwogICAgICAgIHZhciBkZXNjMSA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgZ2V0OiBnZXRGdW5jCiAgICAgICAgfSk7CgogICAgICAgIHZhciByZXN1bHQyID0gb2JqLnByb3AgPT09IDEwMDE7CiAgICAgICAgdmFyIGRlc2MyID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIHJldHVybiByZXN1bHQxICYmIHJlc3VsdDIgJiYgdHlwZW9mIGRlc2MxLmdldCA9PT0gInVuZGVmaW5lZCIgJiYgZGVzYzIuZ2V0ID09PSBnZXRGdW5jO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GlzIHRydWUpIHRvIGRpZmZlcmVudCB2YWx1ZSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIG9iaiA9IHt9OwoKICAgICAgICB2YXIgdmVyaWZ5U2V0RnVuYyA9ICJkYXRhIjsKICAgICAgICB2YXIgc2V0RnVuYyA9IGZ1bmN0aW9uICh2YWx1ZSkgewogICAgICAgICAgICB2ZXJpZnlTZXRGdW5jID0gdmFsdWU7CiAgICAgICAgfTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIGdldDogdW5kZWZpbmVkLAogICAgICAgICAgICBzZXQ6IHNldEZ1bmMsCiAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKCiAgICAgICAgdmFyIHJlc3VsdDEgPSBmYWxzZTsKICAgICAgICB2YXIgZGVzYzEgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKG9iaiwgInByb3AiKTsKICAgICAgICBmb3IgKHZhciBwMSBpbiBvYmopIHsKICAgICAgICAgICAgaWYgKHAxID09PSAicHJvcCIpIHsKICAgICAgICAgICAgICAgIHJlc3VsdDEgPSB0cnVlOwogICAgICAgICAgICB9CiAgICAgICAgfQoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZQogICAgICAgIH0pOwogICAgICAgIHZhciByZXN1bHQyID0gZmFsc2U7CiAgICAgICAgdmFyIGRlc2MyID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CiAgICAgICAgZm9yICh2YXIgcDIgaW4gb2JqKSB7CiAgICAgICAgICAgIGlmIChwMiA9PT0gInByb3AiKSB7CiAgICAgICAgICAgICAgICByZXN1bH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ICAgICB2YXIgc2V0RnVuYyA9IGZ1bmN0aW9uICh2YWx1ZSkgewogICAgICAgICAgICB2ZXJpZnlTZXRGdW5jID0gdmFsdWU7CiAgICAgICAgfTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIGdldDogdW5kZWZpbmVkLAogICAgICAgICAgICBzZXQ6IHNldEZ1bmMsCiAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgfSk7CgogICAgICAgIG9iai5wcm9wID0gIm92ZXJyaWRlRGF0YSI7CiAgICAgICAgdmFyIHByb3BlcnR5RGVmaW5lQ29ycmVjdCA9IG9iai5oYXNPd25Qcm9wZXJ0eSgicHJvcCIpOwogICAgICAgIHZhciBkZXNjID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIHJldHVybiBwcm9wZXJ0eURlZmluZUNvcnJlY3QgJiYgZGVzYy5zZXQgPT09IHNldEZ1bmMgJiYgdmVyaWZ5U2V0RnVuYyA9PT0gIm92ZXJyaWRlRGF0YSI7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuRXhpc3RzKE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IpOwogICAgfQp9KTs=","id":"15.2.3.6-4-486"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTQ4NyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC00ODcuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF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EwMDE7CiAgICAgICAgfTsKCiAgICAgICAgdmFyIHZlcmlmeVNldEZ1bmMgPSAiZGF0YSI7CiAgICAgICAgdmFyIHNldEZ1bmMgPSBmdW5jdGlvbiAodmFsdWUpIHsKICAgICAgICAgICAgdmVyaWZ5U2V0RnVuYyA9IHZhbHVlOwogICAgICAgIH07CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICBnZXQ6IHVuZGVmaW5lZCwKICAgICAgICAgICAgc2V0OiBzZXRGdW5jLAogICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgIH0pOwoKICAgICAgICB2YXIgcmVzdWx0MSA9IHR5cGVvZiBvYmoucHJvcCA9PT0gInVuZGVmaW5lZCI7CiAgICAgICAgdmFyIGRlc2MxID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICAgICAgZ2V0OiBnZXRGdW5jCiAgICAgICAgICAgIH0pOwoKICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgdmFyIHJlc3VsdDIgPSB0eXBlb2Ygb2JqLnByb3AgPT09ICJ1bmRlZmluZWQiOwogICAgICAgICAgICB2YXIgZGVzYzIgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKG9iaiwgInByb3AiKTsKCiAgICAgICAgICAgIHJldHVybiByZXN1bHQxICYmIHJlc3VsdDIgJiYgdHlwZW9mIGRlc2MxLmdldCA9PT0gInVuZGVmaW5lZCIgJiYgdHlwZW9mIGRlc2MyLmdldCA9PT0gInVuZGVmaW5lZCIgJiYgZSBpbnN0YW5jZW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VyYWJsZV1dIGlzIGZhbHNlLCBbW0NvbmZpZ3VyYWJsZV1dIGlzIGZhbHNlKSB0byBkaWZmZXJlbnQgdmFsdWUiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBvYmogPSB7fTsKCiAgICAgICAgdmFyIHZlcmlmeVNldEZ1bmMgPSAiZGF0YSI7CiAgICAgICAgdmFyIHNldEZ1bmMgPSBmdW5jdGlvbiAodmFsdWUpIHsKICAgICAgICAgICAgdmVyaWZ5U2V0RnVuYyA9IHZhbHVlOwogICAgICAgIH07CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICBnZXQ6IHVuZGVmaW5lZCwKICAgICAgICAgICAgc2V0OiBzZXRGdW5jLAogICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgIH0pOwoKICAgICAgICB2YXIgcmVzdWx0MSA9IGZhbHNlOwogICAgICAgIHZhciBkZXNjMSA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwogICAgICAgIGZvciAodmFyIHAxIGluIG9iaikgewogICAgICAgICAgICBpZiAocDEgPT09ICJwcm9wIikgewogICAgICAgICAgICAgICAgcmVzdWx0MSA9IHRydWU7CiAgICAgICAgICAgIH0KICAgICAgICB9CgogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZQogICAgICAgICAgICB9KTsKCiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgIHZhciByZXN1bHQyID0gZmFsc2U7CiAgICAgICAgICAgIHZhciBkZXNjMiA9IE9iamVjdC5n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B2YWx1ZSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIG9iaiA9IHt9OwoKICAgICAgICB2YXIgdmVyaWZ5U2V0RnVuYyA9ICJkYXRhIjsKICAgICAgICB2YXIgc2V0RnVuYyA9IGZ1bmN0aW9uICh2YWx1ZSkgewogICAgICAgICAgICB2ZXJpZnlTZXRGdW5jID0gdmFsdWU7CiAgICAgICAgfTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIGdldDogdW5kZWZpbmVkLAogICAgICAgICAgICBzZXQ6IHNldEZ1bmMsCiAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgfSk7CiAgICAgICAgdmFyIGRlc2MxID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwoKICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgdmFyIGRlc2MyID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CiAgICAgICAgICAgIGRlbGV0ZSBvYmoucHJvcDsKCiAgICAgICAgICAgIHJldHVybiBkZXNjMS5jb25maWd1cmFibGUgPT09IGZhbHNlICYmIGRlc2MyLmNvbmZpZ3VyYWJsZSA9PT0gZmFsc2UgJiYgb2JqLmhhc093blByb3BlcnR5KCJwcm9wIikgJiYgZSBpbnN0YW5jZW9mIFR5cGVFcnJvcjsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbm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hYmxlXV0gaXMgdHJ1ZSwgW1tDb25maWd1cmFibGVdXSBpcyB0cnVlKSBpcyB0aGUgZXhwZWN0ZWQgZnVuY3Rpb24iLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBvYmogPSB7fTsKCiAgICAgICAgdmFyIGdldEZ1bmMgPSBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgIHJldHVybiAxMDAxOwogICAgICAgIH07CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICBnZXQ6IGdldEZ1bmMsCiAgICAgICAgICAgIHNldDogdW5kZWZpbmVkLAogICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKCiAgICAgICAgdmFyIHByb3BlcnR5RGVmaW5lQ29ycmVjdCA9IG9iai5oYXNPd25Qcm9wZXJ0eSgicHJvcCIpOwogICAgICAgIHZhciBkZXNjID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIHJldHVybiBwcm9wZXJ0eURlZmluZUNvcnJlY3QgJiYgZGVzYy5nZXQgPT09IGdldEZ1bmMgJiYgb2JqLnByb3AgPT09IDEwMDE7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuRXhpc3RzKE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IpOwogICAgfQp9KTsK","id":"15.2.3.6-4-494"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTQ5NSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4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cm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwogICAgICAgIGZvciAodmFyIHAxIGluIG9iaikgewogICAgICAgICAgICBpZiAocDEgPT09ICJwcm9wIikgewogICAgICAgICAgICAgICAgcmVzdWx0MSA9IHRydWU7CiAgICAgICAgICAgIH0KICAgICAgICB9CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZQogICAgICAgIH0pOwogICAgICAgIHZhciByZXN1bHQyID0gZmFsc2U7CiAgICAgICAgdmFyIGRlc2MyID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CiAgICAgICAgZm9yICh2YXIgcDIgaW4gb2JqKSB7CiAgICAgICAgICAgIGlmIChwMiA9PT0gInByb3AiKSB7CiAgICAgICAgICAgICAgICByZXN1bHQyID0gdHJ1ZTsKICAgICAgICAgICAgfQogICAgICAgIH0KCiAgICAgICAgcmV0dXJuIHJlc3VsdDEgJiYgIXJlc3VsdDIgJiYgZGVzYzEuZW51bWVyYWJsZSA9PT0gdHJ1ZSAmJiBkZXNjMi5lbnVtZXJhYmxlID09PSBmYWxzZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkgJiYgZm5FeGlzdHMoT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcik7CiAgICB9Cn0pOwo=","id":"15.2.3.6-4-500"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTUwMSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC01MDEuanMiLAoKICAgIGRlc2N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H07CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICBnZXQ6IGdldEZ1bmMsCiAgICAgICAgICAgIHNldDogdW5kZWZpbmVkLAogICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgfSk7CgogICAgICAgIHZhciByZXN1bHQxID0gb2JqLnByb3AgPT09IDEwMDE7CiAgICAgICAgdmFyIGRlc2MxID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICAgICAgZ2V0OiB1bmRlZmluZWQKICAgICAgICAgICAgfSk7CgogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICB2YXIgcmVzdWx0MiA9IG9iai5wcm9wID09PSAxMDAxOwogICAgICAgICAgICB2YXIgZGVzYzIgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKG9iaiwgInByb3AiKTsKCiAgICAgICAgICAgIHJldHVybiByZXN1bHQxICYmIHJlc3VsdDIgJiYgZGVzYzEuZ2V0ID09PSBnZXRGdW5jICYmIGRlc2MyLmdldCA9PT0gZ2V0RnVuYyAmJiBlIGluc3RhbmNlb2YgVHlwZUVycm9yOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkgJiYgZm5FeGlzdHMoT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcik7CiAgICB9Cn0pOwo=","id":"15.2.3.6-4-507"},{"code":"RVM1SGFyb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HRvIGRpZmZlcmVudCB2YWx1ZSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIG9iaiA9IHt9OwoKICAgICAgICB2YXIgZ2V0RnVuYyA9IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgcmV0dXJuIDEwMDE7CiAgICAgICAgfTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIGdldDogZ2V0RnVuYywKICAgICAgICAgICAgc2V0OiB1bmRlZmluZWQsCiAgICAgICAgICAgIGVudW1lcmFibGU6IHRydWUsCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICB9KTsKICAgICAgICB2YXIgcmVzdWx0MSA9IGZhbHNlOwogICAgICAgIHZhciBkZXNjMSA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwogICAgICAgIGZvciAodmFyIHAxIGluIG9iaikgewogICAgICAgICAgICBpZiAocDEgPT09ICJwcm9wIikgewogICAgICAgICAgICAgICAgcmVzdWx0MSA9IHRydWU7CiAgICAgICAgICAgIH0KICAgICAgICB9CgogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICAgICAgZW51bWVyYWJsZTogZmFsc2UKICAgICAgICAgICAgfSk7CgogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICB2YXIgcmVzdWx0MiA9IGZhbHNlOwogICAgICAgICAgICB2YXIgZGVzYzIgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKG9iaiwgInByb3AiKTsKICAgICAgICAgICAgZm9yICh2YXIgcDIgaW4gb2JqKSB7CiAgICAgICAgICAgICAgICBpZiAocDIgPT09ICJwcm9wIik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AgICB9OwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgZ2V0OiBnZXRGdW5jLAogICAgICAgICAgICBzZXQ6IHVuZGVmaW5lZCwKICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgIH0pOwogICAgICAgIHZhciBkZXNjMSA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICB9KTsKCiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgIHZhciBkZXNjMiA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwogICAgICAgICAgICBkZWxldGUgb2JqLnByb3A7CgogICAgICAgICAgICByZXR1cm4gZGVzYzEuY29uZmlndXJhYmxlID09PSBmYWxzZSAmJiBkZXNjMi5jb25maWd1cmFibGUgPT09IGZhbHNlICYmIG9iai5oYXNPd25Qcm9wZXJ0eSgicHJvcCIpICYmIGUgaW5zdGFuY2VvZiBUeXBlRXJyb3I7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmbkV4aXN0cyhPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-510"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAg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NldDogdW5kZWZpbmVkLAogICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgfSk7CgogICAgICAgIHZhciByZXN1bHQxID0gb2JqLnByb3AgPT09IDEwMDE7CiAgICAgICAgdmFyIGRlc2MxID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICBnZXQ6IHVuZGVmaW5lZAogICAgICAgIH0pOwoKICAgICAgICB2YXIgcmVzdWx0MiA9IHR5cGVvZiBvYmoucHJvcCA9PT0gInVuZGVmaW5lZCI7CiAgICAgICAgdmFyIGRlc2MyID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIHJldHVybiByZXN1bHQxICYmIHJlc3VsdDIgJiYgZGVzYzEuZ2V0ID09PSBnZXRGdW5jICYmIHR5cGVvZiBkZXNjMi5nZXQgPT09ICJ1bmRlZmluZWQiOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmbkV4aXN0cyhPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-516"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTUxNyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC01MTcuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBzdWNjZXNzIHRvIH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gcmV0dXJuIDEwMDE7CiAgICAgICAgfTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIGdldDogZ2V0RnVuYywKICAgICAgICAgICAgc2V0OiB1bmRlZmluZWQsCiAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKICAgICAgICB2YXIgcmVzdWx0MSA9IGZhbHNlOwogICAgICAgIHZhciBkZXNjMSA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwogICAgICAgIGZvciAodmFyIHAxIGluIG9iaikgewogICAgICAgICAgICBpZiAocDEgPT09ICJwcm9wIikgewogICAgICAgICAgICAgICAgcmVzdWx0MSA9IHRydWU7CiAgICAgICAgICAgIH0KICAgICAgICB9CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlCiAgICAgICAgfSk7CiAgICAgICAgdmFyIHJlc3VsdDIgPSBmYWxzZTsKICAgICAgICB2YXIgZGVzYzIgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKG9iaiwgInByb3AiKTsKICAgICAgICBmb3IgKHZhciBwMiBpbiBvYmopIHsKICAgICAgICAgICAgaWYgKHAyID09PSAicHJvcCIpIHsKICAgICAgICAgICAgICAgIHJlc3VsdDIgPSB0cnVlOwogICAgICAgICAgICB9CiAgICAgICAgfQoKICAgICAgICByZXR1cm4gIXJlc3VsdDEgJiYgcmVzdWx0MiAmJiBkZXNjMS5lbnVtZXJhYmxlID09PSBmYWxzZSAmJiBkZXNjMi5lbnVtZXJhYmxlID09PSB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm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JhYmxlXV0gaXMgZmFsc2UpIGlzIHRoZSBleHBlY3RlZCBmdW5jdGlvbiIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIG9iaiA9IHt9OwoKICAgICAgICB2YXIgZ2V0RnVuYyA9IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgcmV0dXJuIDEwMDE7CiAgICAgICAgfTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIGdldDogZ2V0RnVuYywKICAgICAgICAgICAgc2V0OiB1bmRlZmluZWQsCiAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgfSk7CgogICAgICAgIHZhciBwcm9wZXJ0eURlZmluZUNvcnJlY3QgPSBvYmouaGFzT3duUHJvcGVydHkoInByb3AiKTsKICAgICAgICB2YXIgZGVzYyA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwoKICAgICAgICByZXR1cm4gcHJvcGVydHlEZWZpbmVDb3JyZWN0ICYmIGRlc2MuZ2V0ID09PSBnZXRGdW5jICYmIG9iai5wcm9wID09PSAxMDAxOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmbkV4aXN0cyhPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKTsKICAgIH0KfSk7","id":"15.2.3.6-4-521"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTUyMiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4z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b24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIG9iaiA9IHt9OwogICAgICAgIHZhciBnZXRGdW5jID0gZnVuY3Rpb24gKCkgewogICAgICAgICAgICByZXR1cm4gMTAwMTsKICAgICAgICB9OwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgZ2V0OiBnZXRGdW5jLAogICAgICAgICAgICBzZXQ6IHVuZGVmaW5lZCwKICAgICAgICAgICAgZW51bWVyYWJsZTogZmFsc2UsCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICB9KTsKCiAgICAgICAgdmFyIHJlc3VsdDEgPSBvYmoucHJvcCA9PT0gMTAwMTsKICAgICAgICB2YXIgZGVzYzEgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKG9iaiwgInByb3AiKTsKCiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgICAgICBnZXQ6IHVuZGVmaW5lZAogICAgICAgICAgICB9KTsKCiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgIHZhciByZXN1bHQyID0gb2JqLnByb3AgPT09IDEwMDE7CiAgICAgICAgICAgIHZhciBkZXNjMiA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwoKICAgICAgICAgICAgcmV0dXJuIHJlc3VsdDEgJiYgcmVzdWx0MiAmJiBkZXNjMS5nZXQgPT09IGdldEZ1bmMgJiYgZGVzYzIuZ2V0ID09PSBnZXRGdW5jICYmIGUgaW5zdGFuY2VvZiBUeXBlRXJyb3I7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1c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XSBhdHRyaWJ1dGUgb2YgYWNjZXNzb3IgcHJvcGVydHkgKFtbR2V0XV0gaXMgYSBGdW5jdGlvbiwgW1tTZXRdXSBpcyB1bmRlZmluZWQsIFtbRW51bWVyYWJsZV1dIGlzIGZhbHNlLCBbW0NvbmZpZ3VyYWJsZV1dIGlzIGZhbHNlKSB0byBkaWZmZXJlbnQgdmFsdWUiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBvYmogPSB7fTsKCiAgICAgICAgdmFyIGdldEZ1bmMgPSBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgIHJldHVybiAxMDAxOwogICAgICAgIH07CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICBnZXQ6IGdldEZ1bmMsCiAgICAgICAgICAgIHNldDogdW5kZWZpbmVkLAogICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgIH0pOwogICAgICAgIHZhciByZXN1bHQxID0gZmFsc2U7CiAgICAgICAgdmFyIGRlc2MxID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CiAgICAgICAgZm9yICh2YXIgcDEgaW4gb2JqKSB7CiAgICAgICAgICAgIGlmIChwMSA9PT0gInByb3AiKSB7CiAgICAgICAgICAgICAgICByZXN1bHQxID0gdHJ1ZTsKICAgICAgICAgICAgfQogICAgICAgIH0KCiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwoKICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgdmFyIHJlc3Vsd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xlXV0gaXMgZmFsc2UpIHRvIGRpZmZlcmVudCB2YWx1ZSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIG9iaiA9IHt9OwoKICAgICAgICB2YXIgZ2V0RnVuYyA9IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgcmV0dXJuIDEwMDE7CiAgICAgICAgfTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIGdldDogZ2V0RnVuYywKICAgICAgICAgICAgc2V0OiB1bmRlZmluZWQsCiAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgfSk7CiAgICAgICAgdmFyIGRlc2MxID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwoKICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgdmFyIGRlc2MyID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CiAgICAgICAgICAgIGRlbGV0ZSBvYmoucHJvcDsKCiAgICAgICAgICAgIHJldHVybiBkZXNjMS5jb25maWd1cmFibGUgPT09IGZhbHNlICYmIGRlc2MyLmNvbmZpZ3VyYWJsZSA9PT0gZmFsc2UgJiYgb2JqLmhhc093blByb3BlcnR5KCJwcm9wIikgJiYgZSBpbnN0YW5jZW9mIFR5cGVFcnJvcjsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxK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1ZSkgaXMgdGhlIGV4cGVjdGVkIGZ1bmN0aW9uIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgb2JqID0ge307CgogICAgICAgIHZhciBnZXRGdW5jID0gZnVuY3Rpb24gKCkgewogICAgICAgICAgICByZXR1cm4gMTAwMTsKICAgICAgICB9OwoKICAgICAgICB2YXIgdmVyaWZ5U2V0RnVuYyA9ICJkYXRhIjsKICAgICAgICB2YXIgc2V0RnVuYyA9IGZ1bmN0aW9uICh2YWx1ZSkgewogICAgICAgICAgICB2ZXJpZnlTZXRGdW5jID0gdmFsdWU7CiAgICAgICAgfTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIGdldDogZ2V0RnVuYywKICAgICAgICAgICAgc2V0OiBzZXRGdW5jLAogICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKCiAgICAgICAgdmFyIHByb3BlcnR5RGVmaW5lQ29ycmVjdCA9IG9iai5oYXNPd25Qcm9wZXJ0eSgicHJvcCIpOwogICAgICAgIHZhciBkZXNjID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIHJldHVybiBwcm9wZXJ0eURlZmluZUNvcnJlY3QgJiYgZGVzYy5nZXQgPT09IGdldEZ1bmMgJiYgb2JqLnByb3AgPT09IDEwMDE7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuRXhpc3RzKE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IpOwogICAgfQp9KTsK","id":"15.2.3.6-4-530"},{"code":"RVM1SGFybmVzcy5y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gICAgICAgICAgIG9iai52ZXJpZnlTZXRGdW5jdGlvbiA9IHZhbHVlOwogICAgICAgICAgICB9LAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKCiAgICAgICAgb2JqLnZlcmlmeVNldEZ1bmN0aW9uMSA9ICJkYXRhMSI7CiAgICAgICAgdmFyIGdldEZ1bmMgPSBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgIHJldHVybiBvYmoudmVyaWZ5U2V0RnVuY3Rpb24xOwogICAgICAgIH07CiAgICAgICAgdmFyIHNldEZ1bmMgPSBmdW5jdGlvbiAodmFsdWUpIHsKICAgICAgICAgICAgb2JqLnZlcmlmeVNldEZ1bmN0aW9uMSA9IHZhbHVlOwogICAgICAgIH07CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICBnZXQ6IGdldEZ1bmMsCiAgICAgICAgICAgIHNldDogc2V0RnVuYwogICAgICAgIH0pOwoKICAgICAgICByZXR1cm4gYWNjZXNzb3JQcm9wZXJ0eUF0dHJpYnV0ZXNBcmVDb3JyZWN0KG9iaiwgInByb3AiLCBnZXRGdW5jLCBzZXRGdW5jLCAidmVyaWZ5U2V0RnVuY3Rpb24xIiwgZmFsc2UsIHRydWUpOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmbkV4aXN0cyhPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKTsKICAgIH0KfSk7","id":"15.2.3.6-4-531-11"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTUzMS0xMiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4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gogICAgICAgIHZhciBvYmogPSBmbkdsb2JhbE9iamVjdCgpOwogICAgICAgIHRyeSB7CiAgICAgICAgICAgIG9iai52ZXJpZnlTZXRGdW5jdGlvbiA9ICJkYXRhIjsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgIjAiLCB7CiAgICAgICAgICAgICAgICBnZXQ6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgICAgICByZXR1cm4gb2JqLnZlcmlmeVNldEZ1bmN0aW9uOwogICAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICAgIHNldDogZnVuY3Rpb24gKHZhbHVlKSB7CiAgICAgICAgICAgICAgICAgICAgb2JqLnZlcmlmeVNldEZ1bmN0aW9uID0gdmFsdWU7CiAgICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwoKICAgICAgICAgICAgb2JqLnZlcmlmeVNldEZ1bmN0aW9uMSA9ICJkYXRhMSI7CiAgICAgICAgICAgIHZhciBnZXRGdW5jID0gZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgcmV0dXJuIG9iai52ZXJpZnlTZXRGdW5jdGlvbjE7CiAgICAgICAgICAgIH07CiAgICAgICAgICAgIHZhciBzZXRGdW5jID0gZnVuY3Rpb24gKHZhbHVlKSB7CiAgICAgICAgICAgICAgICBvYmoudmVyaWZ5U2V0RnVuY3Rpb24xID0gdmFsdWU7CiAgICAgICAgICAgIH07CgogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAiMCIsIHsKICAgICAgICAgICAgICAgIGdldDogZ2V0RnVuYywKICAgICAgICAgICAgICAgIHNldDogc2V0RnVuYwogICAgICAgICAgICB9KTsKCiAgICAgICAgICAgIHJldHVybiBhY2Nlc3NvclByb3BlcnR5QXR0cmlidXRlc0FyZUNvcnJlY3Qob2JqLCAiMCIsIGdldEZ1bmMsIHNldEZ1bmMsICJ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luZVByb3BlcnR5KG9iaiwgIjAiLCB7CiAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgcmV0dXJuIG9iai52ZXJpZnlTZXRGdW5jdGlvbjsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgc2V0OiBmdW5jdGlvbiAodmFsdWUpIHsKICAgICAgICAgICAgICAgIG9iai52ZXJpZnlTZXRGdW5jdGlvbiA9IHZhbHVlOwogICAgICAgICAgICB9LAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKCiAgICAgICAgb2JqLnZlcmlmeVNldEZ1bmN0aW9uMSA9ICJkYXRhMSI7CiAgICAgICAgdmFyIGdldEZ1bmMgPSBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgIHJldHVybiBvYmoudmVyaWZ5U2V0RnVuY3Rpb24xOwogICAgICAgIH07CiAgICAgICAgdmFyIHNldEZ1bmMgPSBmdW5jdGlvbiAodmFsdWUpIHsKICAgICAgICAgICAgb2JqLnZlcmlmeVNldEZ1bmN0aW9uMSA9IHZhbHVlOwogICAgICAgIH07CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICIwIiwgewogICAgICAgICAgICBnZXQ6IGdldEZ1bmMsCiAgICAgICAgICAgIHNldDogc2V0RnVuYwogICAgICAgIH0pOwoKICAgICAgICByZXR1cm4gYWNjZXNzb3JQcm9wZXJ0eUF0dHJpYnV0ZXNBcmVDb3JyZWN0KG9iaiwgIjAiLCBnZXRGdW5jLCBzZXRGdW5jLCAidmVyaWZ5U2V0RnVuY3Rpb24xIiwgZmFsc2UsIHRydWUpOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmbkV4aXN0cyhPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKTsKIC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ZWQgYWNjZXNzb3IgcHJvcGVydHkgJ1AnIHN1Y2Nlc3NmdWxseSB3aGVuIFtbQ29uZmlndXJhYmxlXV0gYXR0cmlidXRlIGlzIHRydWUsICdPJyBpcyB0aGUgZ2xvYmFsIG9iamVjdCAoOC4xMi45IHN0ZXAgMTEpIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKCiAgICAgICAgdmFyIG9iaiA9IGZuR2xvYmFsT2JqZWN0KCk7CiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgb2JqLnZlcmlmeVNldEZ1bmN0aW9uID0gImRhdGEiOwogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcGVydHkiLCB7CiAgICAgICAgICAgICAgICBnZXQ6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgICAgICByZXR1cm4gb2JqLnZlcmlmeVNldEZ1bmN0aW9uOwogICAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICAgIHNldDogZnVuY3Rpb24gKHZhbHVlKSB7CiAgICAgICAgICAgICAgICAgICAgb2JqLnZlcmlmeVNldEZ1bmN0aW9uID0gdmFsdWU7CiAgICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwoKICAgICAgICAgICAgb2JqLnZlcmlmeVNldEZ1bmN0aW9uMSA9ICJkYXRhMSI7CiAgICAgICAgICAgIHZhciBnZXRGdW5jID0gZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgcmV0dXJuIG9iai52ZXJpZnlTZXRGdW5jdGlvbjE7CiAgICAgICAgICAgIH07CiAgICAgICAgICAgIHZhciBzZXRGdW5jID0gZnVuY3Rpb24gKHZhbHVlKSB7CiAgICAgICAgICAgICAgICBvYmoudmVyaWZ5U2V0RnVuY3Rpb24xID0gdmFsdWU7CiAgICAgICAgICAgIH07CgogICAgICAgICAgICBPYmplY3QuZGVmaW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woKICAgICAgICB2YXIgdmVyaWZ5U2V0RnVuYyA9ICJkYXRhIjsKICAgICAgICB2YXIgc2V0RnVuYyA9IGZ1bmN0aW9uICh2YWx1ZSkgewogICAgICAgICAgICB2ZXJpZnlTZXRGdW5jID0gdmFsdWU7CiAgICAgICAgfTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIGdldDogZ2V0RnVuYywKICAgICAgICAgICAgc2V0OiBzZXRGdW5jLAogICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKCiAgICAgICAgdmFyIHByb3BlcnR5RGVmaW5lQ29ycmVjdCA9IG9iai5oYXNPd25Qcm9wZXJ0eSgicHJvcCIpOwogICAgICAgIHZhciBkZXNjID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIGRlbGV0ZSBvYmoucHJvcDsKCiAgICAgICAgcmV0dXJuIHByb3BlcnR5RGVmaW5lQ29ycmVjdCAmJiBkZXNjLmNvbmZpZ3VyYWJsZSA9PT0gdHJ1ZSAmJiAhb2JqLmhhc093blByb3BlcnR5KCJwcm9wIik7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuRXhpc3RzKE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IpOwogICAgfQp9KTsK","id":"15.2.3.6-4-533"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTUzNCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC01MzQuan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AgICAgICAgICByZXR1cm4gMTAwMTsKICAgICAgICB9OwoKICAgICAgICB2YXIgdmVyaWZ5U2V0RnVuYyA9ICJkYXRhIjsKICAgICAgICB2YXIgc2V0RnVuYyA9IGZ1bmN0aW9uICh2YWx1ZSkgewogICAgICAgICAgICB2ZXJpZnlTZXRGdW5jID0gdmFsdWU7CiAgICAgICAgfTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIGdldDogZ2V0RnVuYywKICAgICAgICAgICAgc2V0OiBzZXRGdW5jLAogICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKCiAgICAgICAgdmFyIGRlc2MxID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICBzZXQ6IHVuZGVmaW5lZAogICAgICAgIH0pOwoKICAgICAgICB2YXIgZGVzYzIgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKG9iaiwgInByb3AiKTsKCiAgICAgICAgcmV0dXJuIGRlc2MxLnNldCA9PT0gc2V0RnVuYyAmJiB0eXBlb2YgZGVzYzIuc2V0ID09PSAidW5kZWZpbmVkIjsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkgJiYgZm5FeGlzdHMoT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcik7CiAgICB9Cn0pOwo=","id":"15.2.3.6-4-535"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTUzNiIsCgogICAgcG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BpbiBvYmopIHsKICAgICAgICAgICAgaWYgKHAxID09PSAicHJvcCIpIHsKICAgICAgICAgICAgICAgIHJlc3VsdDEgPSB0cnVlOwogICAgICAgICAgICB9CiAgICAgICAgfQoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgZW51bWVyYWJsZTogZmFsc2UKICAgICAgICB9KTsKICAgICAgICB2YXIgcmVzdWx0MiA9IGZhbHNlOwogICAgICAgIHZhciBkZXNjMiA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwogICAgICAgIGZvciAodmFyIHAyIGluIG9iaikgewogICAgICAgICAgICBpZiAocDIgPT09ICJwcm9wIikgewogICAgICAgICAgICAgICAgcmVzdWx0MiA9IHRydWU7CiAgICAgICAgICAgIH0KICAgICAgICB9CgogICAgICAgIHJldHVybiByZXN1bHQxICYmICFyZXN1bHQyICYmIGRlc2MxLmVudW1lcmFibGUgPT09IHRydWUgJiYgZGVzYzIuZW51bWVyYWJsZSA9PT0gZmFsc2U7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuRXhpc3RzKE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IpOwogICAgfQp9KTsK","id":"15.2.3.6-4-536"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTUzNyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC01MzcuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBzdWNjZXNzIHRvIHVwZGF0ZSBbW0NvbmZpZ3VyY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hbHVlOwogICAgICAgIH07CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICBnZXQ6IGdldEZ1bmMsCiAgICAgICAgICAgIHNldDogc2V0RnVuYywKICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgfSk7CiAgICAgICAgdmFyIGRlc2MxID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICB2YWx1ZTogMTAwMQogICAgICAgIH0pOwogICAgICAgIHZhciBkZXNjMiA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwoKICAgICAgICByZXR1cm4gZGVzYzEuaGFzT3duUHJvcGVydHkoImdldCIpICYmIGRlc2MyLmhhc093blByb3BlcnR5KCJ2YWx1ZSIpOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmbkV4aXN0cyhPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-538"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTUzOSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC01MzkuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBbW0dldF1dIGF0dHJpYnV0ZSBvZiBhY2Nlc3NvciBwcm9wZX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G9yKG9iaiwgInByb3BlcnR5Iik7CiAgICAgICAgaWYgKHR5cGVvZiBkZXNjLnNldCAhPT0gInVuZGVmaW5lZCIpIHsKICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0KICAgICAgICBmb3IgKHZhciBwIGluIG9iaikgewogICAgICAgICAgICBpZiAocCA9PT0gInByb3BlcnR5IikgewogICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIGRlbGV0ZSBvYmoucHJvcGVydHk7CiAgICAgICAgaWYgKCFvYmouaGFzT3duUHJvcGVydHkoInByb3BlcnR5IikpIHsKICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0KCiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuRXhpc3RzKE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IpOwogICAgfQp9KTsK","id":"15.2.3.6-4-54"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTU0MC0xIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuNi8xNS4yLjMuNi00LTU0MC0xLmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5kZWZpbmVQcm9wZXJ0eSBmYWlscyB0byB1cGRhdGUgW1tHZXRdXSBhbmQgW1tTZXRdXSBhdHRyaWJ1dGVzIG9mIGEgbmFtZWQgYWNjZXNzb3IgcHJvcGVydHkgJ1AnIHdob3NlIFtbQ29uZmlndXJhYmxlXV0gYXR0cmlidXRlIGlzIGZhbHNlIGFuZCB0aHJvd3MgVHlwZUVycm9yIGV4Y2VwdGlvbiwgJ08nIGlzIGFuIE9iamVjdCBvYmplY3QgKDguMTIuOSBzdGVwIDExLmEpIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgb2JqID0ge307CgogICAgICAgIG9iai52ZXJpZnlTZXRGdW5jdGlvbiA9ICJkYXRhIjsKICAgICAgICB2YXIgZ2V0RnVuYyA9IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgcmV0dXJuIG9iai52ZXJpZnlTZXRGdW5jdGlvbjsKICAgICAgICB9OwogICAgICAgIHZhciBzZXRGdW5jID0gZnVuY3Rpb24gKHZhbHVlKSB7CiAgICAgICAgICAgIG9iai52ZXJpZnlTZXRGdW5jdGlvbiA9IHZhbHVlOwogICAgICAgIH07CiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3BlcnR5IiwgewogICAgICAgICAgICBnZXQ6IGdldEZ1bmMsCiAgICAgICAgICAgIHNldDogc2V0RnVuYywKICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgIH0pOwoKICAgICAgICB2YXIgcmVzdWx0ID0gZmFsc2U7CiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3BlcnR5IiwgewogICAgICAgICAgICAgICAgZ2V0OiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIDEwMDsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfSk7CiAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICByZXN1bHQgPSBlIGluc3RhbmNlb2YgVHlwZUVycm9yICYmCiAgICAgICAgICAgICAgICBhY2Nlc3NvclByb3BlcnR5QXR0cmlidXRlc0FyZUNvcnJlY3Qob2JqLCAicHJvcGVydHkiLCBnZXRGdW5jLCBzZXRGdW5jLCAidmVyaWZ5U2V0RnVuY3Rpb24iLCBm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WNjZXNzb3IgcHJvcGVydHkgJ1AnIHdob3NlIFtbQ29uZmlndXJhYmxlXV0gYXR0cmlidXRlIGlzIGZhbHNlLCAnTycgaXMgYW4gQXJndW1lbnRzIG9iamVjdCAoOC4xMi45IHN0ZXAgMTEuYSkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBvYmogPSAoZnVuY3Rpb24gKCkgewogICAgICAgICAgICByZXR1cm4gYXJndW1lbnRzOwogICAgICAgIH0oKSk7CgogICAgICAgIG9iai52ZXJpZnlTZXRGdW5jdGlvbiA9ICJkYXRhIjsKICAgICAgICB2YXIgZ2V0RnVuYyA9IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgcmV0dXJuIG9iai52ZXJpZnlTZXRGdW5jdGlvbjsKICAgICAgICB9OwogICAgICAgIHZhciBzZXRGdW5jID0gZnVuY3Rpb24gKHZhbHVlKSB7CiAgICAgICAgICAgIG9iai52ZXJpZnlTZXRGdW5jdGlvbiA9IHZhbHVlOwogICAgICAgIH07CiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3BlcnR5IiwgewogICAgICAgICAgICBnZXQ6IGdldEZ1bmMsCiAgICAgICAgICAgIHNldDogc2V0RnVuYywKICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgIH0pOwoKICAgICAgICB2YXIgcmVzdWx0ID0gZmFsc2U7CiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3BlcnR5IiwgewogICAgICAgICAgICAgICAgZ2V0OiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIDEwMDsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfSk7CiAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICByZXN1bHQgPSBlIGluc3RhbmNlb2YgVHlwZUVycm9yICYmC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pzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5kZWZpbmVQcm9wZXJ0eSBmYWlscyB0byB1cGRhdGUgW1tHZXRdXSBhbmQgW1tTZXRdXSBhdHRyaWJ1dGVzIG9mIGFuIGluZGV4ZWQgYWNjZXNzb3IgcHJvcGVydHkgJ1AnIHdob3NlIFtbQ29uZmlndXJhYmxlXV0gYXR0cmlidXRlIGlzIGZhbHNlIGFuZCB0aHJvd3MgVHlwZUVycm9yIGV4Y2VwdGlvbiwgJ08nIGlzIGFuIE9iamVjdCBvYmplY3QgKDguMTIuOSBzdGVwIDExLmEpIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgb2JqID0ge307CgogICAgICAgIG9iai52ZXJpZnlTZXRGdW5jdGlvbiA9ICJkYXRhIjsKICAgICAgICB2YXIgZ2V0RnVuYyA9IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgcmV0dXJuIG9iai52ZXJpZnlTZXRGdW5jdGlvbjsKICAgICAgICB9OwogICAgICAgIHZhciBzZXRGdW5jID0gZnVuY3Rpb24gKHZhbHVlKSB7CiAgICAgICAgICAgIG9iai52ZXJpZnlTZXRGdW5jdGlvbiA9IHZhbHVlOwogICAgICAgIH07CiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgIjAiLCB7CiAgICAgICAgICAgIGdldDogZ2V0RnVuYywKICAgICAgICAgICAgc2V0OiBzZXRGdW5jLAogICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgfSk7CgogICAgICAgIHZhciByZXN1bHQgPSBmYWxzZTsKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAiMCIsIHsKICAgICAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgICAgIHJldHVybiAxMDA7CiAgICAgICAgICAgICAgICB9CiAgICAgICA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Z2V0OiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIDEwMDsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfSk7CiAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICByZXN1bHQgPSBlIGluc3RhbmNlb2YgVHlwZUVycm9yICYmCiAgICAgICAgICAgICAgICBhY2Nlc3NvclByb3BlcnR5QXR0cmlidXRlc0FyZUNvcnJlY3Qob2JqLCAicHJvcCIsIGdldEZ1bmMsIHNldEZ1bmMsICJ2ZXJpZnlTZXRGdW5jdGlvbiIsIGZhbHNlLCBmYWxzZSk7CiAgICAgICAgfQoKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgICAgIHNldDogZnVuY3Rpb24gKHZhbHVlKSB7CiAgICAgICAgICAgICAgICAgICAgb2JqLnZlcmlmeVNldEZ1bmN0aW9uMSA9IHZhbHVlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9KTsKICAgICAgICB9IGNhdGNoIChlMSkgewogICAgICAgICAgICByZXR1cm4gcmVzdWx0ICYmIGUxIGluc3RhbmNlb2YgVHlwZUVycm9yICYmCiAgICAgICAgICAgICAgICBhY2Nlc3NvclByb3BlcnR5QXR0cmlidXRlc0FyZUNvcnJlY3Qob2JqLCAicHJvcCIsIGdldEZ1bmMsIHNldEZ1bmMsICJ2ZXJpZnlTZXRGdW5jdGlvbiIsIGZhbHNlLCBmYWxzZSk7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmbkV4aXN0cyhPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKTsKICAgIH0KfSk7","id":"15.2.3.6-4-540-7"},{"code":"RV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ICAgICAgICAgIHJldHVybiAxMDAxOwogICAgICAgIH07CgogICAgICAgIHZhciB2ZXJpZnlTZXRGdW5jID0gImRhdGEiOwogICAgICAgIHZhciBzZXRGdW5jID0gZnVuY3Rpb24gKHZhbHVlKSB7CiAgICAgICAgICAgIHZlcmlmeVNldEZ1bmMgPSB2YWx1ZTsKICAgICAgICB9OwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgZ2V0OiBnZXRGdW5jLAogICAgICAgICAgICBzZXQ6IHNldEZ1bmMsCiAgICAgICAgICAgIGVudW1lcmFibGU6IHRydWUsCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICB9KTsKCiAgICAgICAgdmFyIHByb3BlcnR5RGVmaW5lQ29ycmVjdCA9IG9iai5oYXNPd25Qcm9wZXJ0eSgicHJvcCIpOwogICAgICAgIHZhciBkZXNjID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIGZvciAodmFyIHAgaW4gb2JqKSB7CiAgICAgICAgICAgIGlmIChwID09PSAicHJvcCIpIHsKICAgICAgICAgICAgICAgIHJldHVybiBwcm9wZXJ0eURlZmluZUNvcnJlY3QgJiYgZGVzYy5lbnVtZXJhYmxlID09PSB0cnVlOwogICAgICAgICAgICB9CiAgICAgICAgfQoKICAgICAgICByZXR1cm4gZmFsc2U7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuRXhpc3RzKE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IpOwogICAgfQp9KTs=","id":"15.2.3.6-4-541"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTU0MiI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YyA9IHZhbHVlOwogICAgICAgIH07CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICBnZXQ6IGdldEZ1bmMsCiAgICAgICAgICAgIHNldDogc2V0RnVuYywKICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgIH0pOwoKICAgICAgICB2YXIgcmVzdWx0MSA9IG9iai5wcm9wID09PSAxMDAxOwogICAgICAgIHZhciBkZXNjMSA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgICAgIGdldDogdW5kZWZpbmVkCiAgICAgICAgICAgIH0pOwoKICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgdmFyIHJlc3VsdDIgPSBvYmoucHJvcCA9PT0gMTAwMTsKICAgICAgICAgICAgdmFyIGRlc2MyID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgICAgICByZXR1cm4gcmVzdWx0MSAmJiByZXN1bHQyICYmIGRlc2MxLmdldCA9PT0gZ2V0RnVuYyAmJiBkZXNjMi5nZXQgPT09IGdldEZ1bmMgJiYgZSBpbnN0YW5jZW9mIFR5cGVFcnJvcjsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuRXhpc3RzKE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IpOwogICAgfQp9KTsK","id":"15.2.3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dIGlzIGZhbHNlKSB0byBkaWZmZXJlbnQgdmFsdWUiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBvYmogPSB7fTsKCiAgICAgICAgdmFyIGdldEZ1bmMgPSBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgIHJldHVybiAxMDAxOwogICAgICAgIH07CgogICAgICAgIHZhciB2ZXJpZnlTZXRGdW5jID0gImRhdGEiOwogICAgICAgIHZhciBzZXRGdW5jID0gZnVuY3Rpb24gKHZhbHVlKSB7CiAgICAgICAgICAgIHZlcmlmeVNldEZ1bmMgPSB2YWx1ZTsKICAgICAgICB9OwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgZ2V0OiBnZXRGdW5jLAogICAgICAgICAgICBzZXQ6IHNldEZ1bmMsCiAgICAgICAgICAgIGVudW1lcmFibGU6IHRydWUsCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICB9KTsKICAgICAgICB2YXIgcmVzdWx0MSA9IGZhbHNlOwogICAgICAgIHZhciBkZXNjMSA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwogICAgICAgIGZvciAodmFyIHAxIGluIG9iaikgewogICAgICAgICAgICBpZiAocDEgPT09ICJwcm9wIikgewogICAgICAgICAgICAgICAgcmVzdWx0MSA9IHRydWU7CiAgICAgICAgICAgIH0KICAgICAgICB9CgogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICAgICAgZW51bWVyYWJsZTogZmFsc2UKICAgICAgICAgICAgfSk7CgogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICB2YXIgcmVzdWx0MiA9IGZhbHNlOwogIC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sc2UpIHRvIGRpZmZlcmVudCB2YWx1ZSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIG9iaiA9IHt9OwoKICAgICAgICB2YXIgZ2V0RnVuYyA9IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgcmV0dXJuIDEwMDE7CiAgICAgICAgfTsKCiAgICAgICAgdmFyIHZlcmlmeVNldEZ1bmMgPSAiZGF0YSI7CiAgICAgICAgdmFyIHNldEZ1bmMgPSBmdW5jdGlvbiAodmFsdWUpIHsKICAgICAgICAgICAgdmVyaWZ5U2V0RnVuYyA9IHZhbHVlOwogICAgICAgIH07CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICBnZXQ6IGdldEZ1bmMsCiAgICAgICAgICAgIHNldDogc2V0RnVuYywKICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgIH0pOwogICAgICAgIHZhciBkZXNjMSA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICB9KTsKCiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgIHZhciBkZXNjMiA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwogICAgICAgICAgICBkZWxldGUgb2JqLnByb3A7CgogICAgICAgICAgICByZXR1cm4gZGVzYzEuY29uZmlndXJhYmxlID09PSBmYWxzZSAmJiBkZXNjMi5jb25maWd1cmFibGUgPT09IGZhb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QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgZ2V0OiBnZXRGdW5jLAogICAgICAgICAgICBzZXQ6IHNldEZ1bmMsCiAgICAgICAgICAgIGVudW1lcmFibGU6IHRydWUsCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICB9KTsKICAgICAgICB2YXIgZGVzYzEgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKG9iaiwgInByb3AiKTsKCiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgICAgICB2YWx1ZTogMTAwMQogICAgICAgICAgICB9KTsKCiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgIHZhciBkZXNjMiA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwoKICAgICAgICAgICAgcmV0dXJuIGRlc2MxLmhhc093blByb3BlcnR5KCJnZXQiKSAmJiAhZGVzYzIuaGFzT3duUHJvcGVydHkoInZhbHVlIikgJiYgZSBpbnN0YW5jZW9mIFR5cGVFcnJvcjsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuRXhpc3RzKE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IpOwogICAgfQp9KTsK","id":"15.2.3.6-4-547"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTU0OCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi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gYWNjZXNzb3IgcHJvcGVydHkgKFtbR2V0XV0gaXMgYSBGdW5jdGlvbiwgW1tTZXRdXSBpcyBhIEZ1bmN0aW9uLCBbW0VudW1lcmFibGVdXSBpcyBmYWxzZSwgW1tDb25maWd1cmFibGVdXSBpcyB0cnVlKSB0byBkaWZmZXJlbnQgdmFsdWUiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBvYmogPSB7fTsKCiAgICAgICAgdmFyIGdldEZ1bmMgPSBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgIHJldHVybiAxMDAxOwogICAgICAgIH07CgogICAgICAgIHZhciB2ZXJpZnlTZXRGdW5jID0gImRhdGEiOwogICAgICAgIHZhciBzZXRGdW5jID0gZnVuY3Rpb24gKHZhbHVlKSB7CiAgICAgICAgICAgIHZlcmlmeVNldEZ1bmMgPSB2YWx1ZTsKICAgICAgICB9OwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgZ2V0OiBnZXRGdW5jLAogICAgICAgICAgICBzZXQ6IHNldEZ1bmMsCiAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKCiAgICAgICAgdmFyIHJlc3VsdDEgPSBmYWxzZTsKICAgICAgICB2YXIgZGVzYzEgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKG9iaiwgInByb3AiKTsKICAgICAgICBmb3IgKHZhciBwMSBpbiBvYmopIHsKICAgICAgICAgICAgaWYgKHAxID09PSAicHJvcCIpIHsKICAgICAgICAgICAgICAgIHJlc3VsdDEgPSB0cnVlOwogICAgICAgICAgICB9CiAgICAgICAgfQoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZQog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IGRpZmZlcmVudCB2YWx1ZSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIG9iaiA9IHt9OwoKICAgICAgICB2YXIgZ2V0RnVuYyA9IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgcmV0dXJuIDEwMDE7CiAgICAgICAgfTsKCiAgICAgICAgdmFyIHZlcmlmeVNldEZ1bmMgPSAiZGF0YSI7CiAgICAgICAgdmFyIHNldEZ1bmMgPSBmdW5jdGlvbiAodmFsdWUpIHsKICAgICAgICAgICAgdmVyaWZ5U2V0RnVuYyA9IHZhbHVlOwogICAgICAgIH07CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICBnZXQ6IGdldEZ1bmMsCiAgICAgICAgICAgIHNldDogc2V0RnVuYywKICAgICAgICAgICAgZW51bWVyYWJsZTogZmFsc2UsCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgIH0pOwoKICAgICAgICB2YXIgZGVzYzEgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKG9iaiwgInByb3AiKTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICB9KTsKICAgICAgICB2YXIgZGVzYzIgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKG9iaiwgInByb3AiKTsKICAgICAgICBkZWxldGUgb2JqLnByb3A7CgogICAgICAgIHJldHVybiBkZXNjMS5jb25maWd1cmFibGUgPT09IHRydWUgJiYgZGVzYzIuY29uZmlndXJhYmxlID09PSBmYWxzZSAmJiBvYmouaGFzT3duUHJvcGVydHkoInByb3AiKTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICA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AgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBvYmogPSB7fTsKCiAgICAgICAgdmFyIGdldEZ1bmMgPSBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgIHJldHVybiAxMDAxOwogICAgICAgIH07CgogICAgICAgIHZhciB2ZXJpZnlTZXRGdW5jID0gImRhdGEiOwogICAgICAgIHZhciBzZXRGdW5jID0gZnVuY3Rpb24gKHZhbHVlKSB7CiAgICAgICAgICAgIHZlcmlmeVNldEZ1bmMgPSB2YWx1ZTsKICAgICAgICB9OwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgZ2V0OiBnZXRGdW5jLAogICAgICAgICAgICBzZXQ6IHNldEZ1bmMsCiAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgfSk7CgogICAgICAgIHZhciBwcm9wZXJ0eURlZmluZUNvcnJlY3QgPSBvYmouaGFzT3duUHJvcGVydHkoInByb3AiKTsKICAgICAgICB2YXIgZGVzYyA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwoKICAgICAgICByZXR1cm4gcHJvcGVydHlEZWZpbmVDb3JyZWN0ICYmIGRlc2MuZ2V0ID09PSBnZXRGdW5jICYmIG9iai5wcm9wID09PSAxMDAxOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KSAmJiBmbkV4aXN0cyhPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKTsKICAgIH0KfSk7Cg==","id":"15.2.3.6-4-557"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLj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mlmeVNldEZ1bmMgPSB2YWx1ZTsKICAgICAgICB9OwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgZ2V0OiBnZXRGdW5jLAogICAgICAgICAgICBzZXQ6IHNldEZ1bmMsCiAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgfSk7CgogICAgICAgIHZhciBwcm9wZXJ0eURlZmluZUNvcnJlY3QgPSBvYmouaGFzT3duUHJvcGVydHkoInByb3AiKTsKICAgICAgICB2YXIgZGVzYyA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwoKICAgICAgICBmb3IgKHZhciBwIGluIG9iaikgewogICAgICAgICAgICBpZiAocCA9PT0gInByb3AiKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgIH0KICAgICAgICB9CgogICAgICAgIHJldHVybiBwcm9wZXJ0eURlZmluZUNvcnJlY3QgJiYgZGVzYy5lbnVtZXJhYmxlID09PSBmYWxzZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkgJiYgZm5FeGlzdHMoT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcik7CiAgICB9Cn0pOw==","id":"15.2.3.6-4-559"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTU2IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuNi8xNS4yLjMuNi00LTU2LmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5kZWZpbmVQcm9wZX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SB2YWx1ZTsKICAgICAgICB9OwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgZ2V0OiBnZXRGdW5jLAogICAgICAgICAgICBzZXQ6IHNldEZ1bmMsCiAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgfSk7CgogICAgICAgIHZhciByZXN1bHQxID0gb2JqLnByb3AgPT09IDEwMDE7CiAgICAgICAgdmFyIGRlc2MxID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICAgICAgZ2V0OiB1bmRlZmluZWQKICAgICAgICAgICAgfSk7CgogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICB2YXIgcmVzdWx0MiA9IG9iai5wcm9wID09PSAxMDAxOwogICAgICAgICAgICB2YXIgZGVzYzIgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKG9iaiwgInByb3AiKTsKCiAgICAgICAgICAgIHJldHVybiByZXN1bHQxICYmIHJlc3VsdDIgJiYgZGVzYzEuZ2V0ID09PSBnZXRGdW5jICYmIGRlc2MyLmdldCA9PT0gZ2V0RnVuYyAmJiBlIGluc3RhbmNlb2YgVHlwZUVycm9yOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkgJiYgZm5FeGlzdHMoT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcik7CiAgICB9Cn0pOwo=","id":"15.2.3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xzZSkgdG8gZGlmZmVyZW50IHZhbHVlIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgb2JqID0ge307CgogICAgICAgIHZhciBnZXRGdW5jID0gZnVuY3Rpb24gKCkgewogICAgICAgICAgICByZXR1cm4gMTAwMTsKICAgICAgICB9OwoKICAgICAgICB2YXIgdmVyaWZ5U2V0RnVuYyA9ICJkYXRhIjsKICAgICAgICB2YXIgc2V0RnVuYyA9IGZ1bmN0aW9uICh2YWx1ZSkgewogICAgICAgICAgICB2ZXJpZnlTZXRGdW5jID0gdmFsdWU7CiAgICAgICAgfTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIGdldDogZ2V0RnVuYywKICAgICAgICAgICAgc2V0OiBzZXRGdW5jLAogICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgIH0pOwogICAgICAgIHZhciByZXN1bHQxID0gZmFsc2U7CiAgICAgICAgdmFyIGRlc2MxID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CiAgICAgICAgZm9yICh2YXIgcDEgaW4gb2JqKSB7CiAgICAgICAgICAgIGlmIChwMSA9PT0gInByb3AiKSB7CiAgICAgICAgICAgICAgICByZXN1bHQxID0gdHJ1ZTsKICAgICAgICAgICAgfQogICAgICAgIH0KCiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwoKICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgdmFyIHJlc3VsdDIgPSBmYWxzZTsKICAgIC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lKSB0byBkaWZmZXJlbnQgdmFsdWUiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBvYmogPSB7fTsKCiAgICAgICAgdmFyIGdldEZ1bmMgPSBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgIHJldHVybiAxMDAxOwogICAgICAgIH07CgogICAgICAgIHZhciB2ZXJpZnlTZXRGdW5jID0gImRhdGEiOwogICAgICAgIHZhciBzZXRGdW5jID0gZnVuY3Rpb24gKHZhbHVlKSB7CiAgICAgICAgICAgIHZlcmlmeVNldEZ1bmMgPSB2YWx1ZTsKICAgICAgICB9OwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgZ2V0OiBnZXRGdW5jLAogICAgICAgICAgICBzZXQ6IHNldEZ1bmMsCiAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgfSk7CiAgICAgICAgdmFyIGRlc2MxID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wIiwgewogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwoKICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgdmFyIGRlc2MyID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CiAgICAgICAgICAgIGRlbGV0ZSBvYmoucHJvcDsKCiAgICAgICAgICAgIHJldHVybiBkZXNjMS5jb25maWd1cmFibGUgPT09IGZhbHNlICYmIGRlc2MyLmNvbmZpZ3VyYWJsZSA9PT0gZmFsc2UgJiY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Byb3BlcnR5KG9iaiwgInByb3AiLCB7CiAgICAgICAgICAgIGdldDogZ2V0RnVuYywKICAgICAgICAgICAgc2V0OiBzZXRGdW5jLAogICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgIH0pOwogICAgICAgIHZhciBkZXNjMSA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3Iob2JqLCAicHJvcCIpOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcCIsIHsKICAgICAgICAgICAgICAgIHZhbHVlOiAxMDAxCiAgICAgICAgICAgIH0pOwoKICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgdmFyIGRlc2MyID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihvYmosICJwcm9wIik7CgogICAgICAgICAgICByZXR1cm4gZGVzYzEuaGFzT3duUHJvcGVydHkoImdldCIpICYmICFkZXNjMi5oYXNPd25Qcm9wZXJ0eSgidmFsdWUiKSAmJiBlIGluc3RhbmNlb2YgVHlwZUVycm9yOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkgJiYgZm5FeGlzdHMoT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcik7CiAgICB9Cn0pOwo=","id":"15.2.3.6-4-565"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTU2NiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC01NjYuan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SgpIHsKICAgICAgICB2YXIgb2JqID0ge307CiAgICAgICAgdmFyIHNldEZ1bmMgPSBmdW5jdGlvbiAodmFsdWUpIHsKICAgICAgICAgICAgb2JqLnNldFZlcmlmeUhlbHBQcm9wID0gdmFsdWU7CiAgICAgICAgfTsKICAgICAgICB2YXIgZ2V0RnVuYyA9IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgcmV0dXJuIDE0OwogICAgICAgIH07CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wZXJ0eSIsIHsKICAgICAgICAgICAgZ2V0OiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gMTE7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIHNldDogZnVuY3Rpb24gKHZhbHVlKSB7IH0sCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZSwKICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZQogICAgICAgIH0pOwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcGVydHkiLCB7CiAgICAgICAgICAgIGdldDogZ2V0RnVuYywKICAgICAgICAgICAgc2V0OiBzZXRGdW5jLAogICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlLAogICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZQogICAgICAgIH0pOwoKICAgICAgICByZXR1cm4gYWNjZXNzb3JQcm9wZXJ0eUF0dHJpYnV0ZXNBcmVDb3JyZWN0KG9iaiwgInByb3BlcnR5IiwgZ2V0RnVuYywgc2V0RnVuYywgInNldFZlcmlmeUhlbHBQcm9wIiwgZmFsc2UsIGZhbHNlKTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSk7CiAgICB9Cn0pOwo=","id":"15.2.3.6-4-57"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iRVM1IEF0dHJpYnV0ZXMgLSBbW0dldF1dIGZpZWxkIG9mIGluaGVyaXRlZCBwcm9wZXJ0eSBvZiBbW1Byb3RvdHlwZV1dIGludGVybmFsIHByb3BlcnR5IGlzIGNvcnJlY3QgKFN0cmluZyBpbnN0YW5jZSkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBkYXRhID0gImRhdGEiOwogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShTdHJpbmcucHJvdG90eXBlLCAicHJvcCIsIHsKICAgICAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgICAgIHJldHVybiBkYXRhOwogICAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICAgIHNldDogZnVuY3Rpb24gKHZhbHVlKSB7CiAgICAgICAgICAgICAgICAgICAgZGF0YSA9IHZhbHVlOwogICAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICAgIGVudW1lcmFibGU6IHRydWUsCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIHZhciBzdHJPYmogPSBuZXcgU3RyaW5nKCk7CgogICAgICAgICAgICByZXR1cm4gIXN0ck9iai5oYXNPd25Qcm9wZXJ0eSgicHJvcCIpICYmIHN0ck9iai5wcm9wID09PSAiZGF0YSI7CiAgICAgICAgfSBmaW5hbGx5IHsKICAgICAgICAgICAgZGVsZXRlIFN0cmluZy5wcm90b3R5cGUucHJvcDsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsKCg==","id":"15.2.3.6-4-578"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTU3OSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC01NzkuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBTdWNjZXNzIHRvIGFkZCBwcm9wZXJ0eSBpbnRvIG9iamVjdCAoQXJyYXkgaW5zdGFuY2UpIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgZGF0YSA9ICJkYXRhIjsKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoQXJyYXkucHJvdG90eXBlLCAicHJvcCIsIHsKICAgICAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgICAgIHJldHVybiBkYXRhOwogICAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICAgIHNldDogZnVuY3Rpb24gKHZhbHVlKSB7CiAgICAgICAgICAgICAgICAgICAgZGF0YSA9IHZhbHVlOwogICAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICAgIGVudW1lcmFibGU6IHRydWUsCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIHZhciBhcnJPYmogPSBuZXcgQXJyYXkoKTsKICAgICAgICAgICAgYXJyT2JqLnByb3AgPSAibXlPd25Qcm9wZXJ0eSI7CgogICAgICAgICAgICByZXR1cm4gIWFyck9iai5oYXNPd25Qcm9wZXJ0eSgicHJvcCIpICYmIGFyck9iai5wcm9wID09PSAibXlPd25Qcm9wZXJ0eSIgJiYgZGF0YSA9PT0gIm15T3duUHJvcGVydHkiOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIGRlbGV0ZSBBcnJheS5wcm90b3R5cGUucHJvcDsKICAgICAgICB9CiAgICB9LAoKICAgI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6ICIxNS4yLjMuNi00LTU4MCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC01ODAuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBJbmhlcml0ZWQgcHJvcGVydHkgaXMgZW51bWVyYWJsZSAoQm9vbGVhbiBpbnN0YW5jZSkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBkYXRhID0gImRhdGEiOwogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShCb29sZWFuLnByb3RvdHlwZSwgInByb3AiLCB7CiAgICAgICAgICAgICAgICBnZXQ6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgICAgICByZXR1cm4gZGF0YTsKICAgICAgICAgICAgICAgIH0sCiAgICAgICAgICAgICAgICBzZXQ6IGZ1bmN0aW9uICh2YWx1ZSkgewogICAgICAgICAgICAgICAgICAgIGRhdGEgPSB2YWx1ZTsKICAgICAgICAgICAgICAgIH0sCiAgICAgICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICB2YXIgYm9vbE9iaiA9IG5ldyBCb29sZWFuKCk7CiAgICAgICAgICAgIHZhciB2ZXJpZnlFbnVtZXJhYmxlID0gZmFsc2U7CiAgICAgICAgICAgIGZvciAodmFyIHAgaW4gYm9vbE9iaikgewogICAgICAgICAgICAgICAgaWYocCA9PT0gInByb3AiKSB7CiAgICAgICAgICAgICAgICAgICAgdmVyaWZ5RW51bWVyYWJsZSA9IHRydWU7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KCiAgICAgICAgICAgIHJldHVybiAhYm9vbE9iai5oYXNPd25Qcm9wZXJ0eSgicHJvcCIpICYmIHZlcmlmeUVudW1lcmFibGU7CiAgICAgICAgfSBmaW5hbGx5IHsKICAgICAgICAgICAgZGVsZXRlIEJvb2xlYW4ucHJvdG90eXBlLnByb3A7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cgo=","id":"15.2.3.6-4-580"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTU4MSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC01ODEuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBGYWlsIHRvIGFkZCBwcm9wZXJ0eSBpbnRvIG9iamVjdCAoTnVtYmVyIGluc3RhbmNlKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIGRhdGEgPSAiZGF0YSI7CiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KE51bWJlci5wcm90b3R5cGUsICJwcm9wIiwgewogICAgICAgICAgICAgICAgZ2V0OiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGRhdGE7CiAgICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICAgZW51bWVyYWJsZTogZmFsc2UsCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIHZhciBudW1PYmogPSBuZXcgTnVtYmVyKCk7CiAgICAgICAgICAgIG51bU9iai5wcm9wID0gIm15T3duUHJvcGVydHkiOwoKICAgICAgICAgICAgcmV0dXJuICFudW1PYmouaGFzT3duUHJvcGVydHkoInByb3AiKSAmJiBudW1PYmoucHJvcCA9PT0gImRhdGEiICYmIGRhdGEgPT09ICJkYXRhIjsKICAgICAgICB9IGZpbmFsbHkgewogICAgICAgICAgICBkZWxldGUgTnVtYmVyLnByb3RvdHlwZS5wcm9wOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSk7CiAgICB9Cn0pOwoK","id":"15.2.3.6-4-581"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTU4MiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC01ODIuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBJbmhlcml0ZWQgcHJvcGVydHkgaXMgbm9uLWVudW1lcmFibGUgKEZ1bmN0aW9uIGluc3RhbmNlKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIGRhdGEgPSAiZGF0YSI7CiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KEZ1bmN0aW9uLnByb3RvdHlwZSwgInByb3AiLCB7CiAgICAgICAgICAgICAgICBnZXQ6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgICAgICByZXR1cm4gZGF0YTsKICAgICAgICAgICAgICAgIH0sCiAgICAgICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZSwKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICB9KTsKICAgICAgICAgICAgdmFyIGZ1bk9iaiA9IGZ1bmN0aW9uICgpIHsgfTsKICAgICAgICAgICAgdmFyIHZlcmlmeUVudW1lcmFibGUgPSBmYWxzZTsKICAgICAgICAgICAgZm9yICh2YXIgcCBpbiBmdW5PYmopIHsKICAgICAgICAgICAgICAgIGlmIChwID09PSAicHJvcCIpIHsKICAgICAgICAgICAgICAgICAgICB2ZXJpZnlFbnVtZXJhYmxlID0gdHJ1ZTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQoKICAgICAgICAgICAgcmV0dXJuICFmdW5PYmouaGFzT3duUHJvcGVydHkoInByb3AiKSAmJiAhdmVyaWZ5RW51bWVyYWJsZTsKICAgICAgICB9IGZpbmFsbHkgewogICAgICAgICAgICBkZWxldGUgRnVuY3Rpb24ucHJvdG90eXBlLnByb3A7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cgo=","id":"15.2.3.6-4-582"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTU4MyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC01ODMuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBbW0dldF1dIGZpZWxkIG9mIGluaGVyaXRlZCBwcm9wZXJ0eSBvZiBbW1Byb3RvdHlwZV1dIGludGVybmFsIHByb3BlcnR5IGlzIGNvcnJlY3QgKEVycm9yIEluc3RhbmNlKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIGRhdGEgPSAiZGF0YSI7CiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KEVycm9yLnByb3RvdHlwZSwgInByb3AiLCB7CiAgICAgICAgICAgICAgICBnZXQ6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgICAgICByZXR1cm4gZGF0YTsKICAgICAgICAgICAgICAgIH0sCiAgICAgICAgICAgICAgICBzZXQ6IGZ1bmN0aW9uICh2YWx1ZSkgewogICAgICAgICAgICAgICAgICAgIGRhdGEgPSB2YWx1ZTsKICAgICAgICAgICAgICAgIH0sCiAgICAgICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICB2YXIgZXJyT2JqID0gbmV3IEVycm9yKCk7CgogICAgICAgICAgICByZXR1cm4gIWVyck9iai5oYXNPd25Qcm9wZXJ0eSgicHJvcCIpICYmIGVyck9iai5wcm9wID09PSAiZGF0YSI7CiAgICAgICAgfSBmaW5hbGx5IHsKICAgICAgICAgICAgZGVsZXRlIEVycm9yLnByb3RvdHlwZS5wcm9wOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSk7CiAgICB9Cn0pOwoK","id":"15.2.3.6-4-583"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTU4NCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC01ODQuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBGYWlsZWQgdG8gYWRkIHByb3BlcnR5IGludG8gb2JqZWN0IChEYXRlIGluc3RhbmNlKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIGRhdGEgPSAiZGF0YSI7CiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KERhdGUucHJvdG90eXBlLCAicHJvcCIsIHsKICAgICAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgICAgIHJldHVybiBkYXRhOwogICAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICAgIHNldDogZnVuY3Rpb24gKHZhbHVlKSB7CiAgICAgICAgICAgICAgICAgICAgZGF0YSA9IHZhbHVlOwogICAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICAgIGVudW1lcmFibGU6IHRydWUsCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIHZhciBkYXRlT2JqID0gbmV3IERhdGUoKTsKICAgICAgICAgICAgZGF0ZU9iai5wcm9wID0gIm15T3duUHJvcGVydHkiOwoKICAgICAgICAgICAgcmV0dXJuICFkYXRlT2JqLmhhc093blByb3BlcnR5KCJwcm9wIikgJiYgZGF0ZU9iai5wcm9wID09PSAibXlPd25Qcm9wZXJ0eSIgJiYgZGF0YSA9PT0gIm15T3duUHJvcGVydHkiOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIGRlbGV0ZSBEYXRlLnByb3RvdHlwZS5wcm9wOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSk7CiAgICB9Cn0pOwoK","id":"15.2.3.6-4-584"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTU4NSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC01ODUuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBJbmhlcml0ZWQgcHJvcGVydHkgaXMgZW51bWVyYWJsZSAoUmVnRXhwIGluc3RhbmNlKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIGRhdGEgPSAiZGF0YSI7CiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KFJlZ0V4cC5wcm90b3R5cGUsICJwcm9wIiwgewogICAgICAgICAgICAgICAgZ2V0OiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGRhdGE7CiAgICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICAgc2V0OiBmdW5jdGlvbiAodmFsdWUpIHsKICAgICAgICAgICAgICAgICAgICBkYXRhID0gdmFsdWU7CiAgICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZSwKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICB9KTsKICAgICAgICAgICAgdmFyIHJlZ09iaiA9IG5ldyBSZWdFeHAoKTsKICAgICAgICAgICAgdmFyIHZlcmlmeUVudW1lcmFibGUgPSBmYWxzZTsKICAgICAgICAgICAgZm9yICh2YXIgcCBpbiByZWdPYmopIHsKICAgICAgICAgICAgICAgIGlmIChwID09PSAicHJvcCIpIHsKICAgICAgICAgICAgICAgICAgICB2ZXJpZnlFbnVtZXJhYmxlID0gdHJ1ZTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQoKICAgICAgICAgICAgcmV0dXJuICFyZWdPYmouaGFzT3duUHJvcGVydHkoInByb3AiKSAmJiB2ZXJpZnlFbnVtZXJhYmxlOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIGRlbGV0ZSBSZWdFeHAucHJvdG90eXBlLnByb3A7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cgo=","id":"15.2.3.6-4-585"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTU4NiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC01ODYuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBGYWlsIHRvIHVwZGF0ZSB2YWx1ZSBvZiBwcm9wZXJ0eSBpbnRvIG9mIFtbUHJvcHRvdHlwZV1dIGludGVybmFsIHByb3BlcnR5ICAoSlNPTikiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBkYXRhID0gImRhdGEiOwogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShPYmplY3QucHJvdG90eXBlLCAicHJvcCIsIHsKICAgICAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgICAgIHJldHVybiBkYXRhOwogICAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICBKU09OLnByb3AgPSAibXlPd25Qcm9wZXJ0eSI7CgogICAgICAgICAgICByZXR1cm4gIUpTT04uaGFzT3duUHJvcGVydHkoInByb3AiKSAmJiBKU09OLnByb3AgPT09ICJkYXRhIiAmJiBkYXRhID09PSAiZGF0YSI7CiAgICAgICAgfSBmaW5hbGx5IHsKICAgICAgICAgICAgZGVsZXRlIE9iamVjdC5wcm90b3R5cGUucHJvcDsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsKCg==","id":"15.2.3.6-4-586"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTU4NyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC01ODcuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBJbmhlcml0ZWQgcHJvcGVydHkgaXMgdW5lbnVtZXJhYmxlIChNYXRoKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIGRhdGEgPSAiZGF0YSI7CiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KE9iamVjdC5wcm90b3R5cGUsICJwcm9wIiwgewogICAgICAgICAgICAgICAgZ2V0OiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGRhdGE7CiAgICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICAgZW51bWVyYWJsZTogZmFsc2UsCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIHZhciB2ZXJpZnlFbnVtZXJhYmxlID0gZmFsc2U7CiAgICAgICAgICAgIGZvciAodmFyIHAgaW4gTWF0aCkgewogICAgICAgICAgICAgICAgaWYgKHAgPT09ICJwcm9wIikgewogICAgICAgICAgICAgICAgICAgIHZlcmlmeUVudW1lcmFibGUgPSB0cnVlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CgogICAgICAgICAgICByZXR1cm4gIU1hdGguaGFzT3duUHJvcGVydHkoInByb3AiKSAmJiAhdmVyaWZ5RW51bWVyYWJsZTsKICAgICAgICB9IGZpbmFsbHkgewogICAgICAgICAgICBkZWxldGUgT2JqZWN0LnByb3RvdHlwZS5wcm9wOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSk7CiAgICB9Cn0pOwoK","id":"15.2.3.6-4-587"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTU4OCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC01ODguanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBbW0dldF1dIGZpZWxkIG9mIGluaGVyaXRlZCBwcm9wZXJ0eSBvZiBbW1Byb3RvdHlwZV1dIGludGVybmFsIHByb3BlcnR5IGlzIGNvcnJlY3QgKE9iamVjdC5jcmVhdGUpIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgYXBwb2ludG1lbnQgPSB7fTsKCiAgICAgICAgdmFyIGRhdGExID0gMTAwMTsKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXBwb2ludG1lbnQsICJzdGFydFRpbWUiLCB7CiAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgcmV0dXJuIGRhdGExOwogICAgICAgICAgICB9LAogICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgfSk7CiAgICAgICAgdmFyIGRhdGEyID0gIk5BTUUiOwogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcHBvaW50bWVudCwgIm5hbWUiLCB7CiAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgcmV0dXJuIGRhdGEyOwogICAgICAgICAgICB9LAogICAgICAgICAgICBzZXQ6IGZ1bmN0aW9uICh2YWx1ZSkgewogICAgICAgICAgICAgICAgZGF0YTIgPSB2YWx1ZTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgfSk7CgogICAgICAgIHZhciBtZWV0aW5nID0gT2JqZWN0LmNyZWF0ZShhcHBvaW50bWVudCk7CiAgICAgICAgdmFyIGRhdGEzID0gIkluLXBlcnNvbiBtZWV0aW5nIjsKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkobWVldGluZywgImNvbmZlcmVuY2VDYWxsIiwgewogICAgICAgICAgICBnZXQ6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgIHJldHVybiBkYXRhMzsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgIH0pOwoKICAgICAgICB2YXIgdGVhbU1lZXRpbmcgPSBPYmplY3QuY3JlYXRlKG1lZXRpbmcpOwoKICAgICAgICB2YXIgaGFzT3duUHJvcGVydHkgPSAhdGVhbU1lZXRpbmcuaGFzT3duUHJvcGVydHkoIm5hbWUiKSAmJgogICAgICAgICAgICAhdGVhbU1lZXRpbmcuaGFzT3duUHJvcGVydHkoInN0YXJ0VGltZSIpICYmCiAgICAgICAgICAgICF0ZWFtTWVldGluZy5oYXNPd25Qcm9wZXJ0eSgnc3RhcnRUaW1lJyk7CgogICAgICAgIHJldHVybiBoYXNPd25Qcm9wZXJ0eSAmJiB0ZWFtTWVldGluZy5uYW1lID09PSAiTkFNRSIgJiYKICAgICAgICAgICAgdGVhbU1lZXRpbmcuc3RhcnRUaW1lID09PSAxMDAxICYmCiAgICAgICAgICAgIHRlYW1NZWV0aW5nLmNvbmZlcmVuY2VDYWxsID09PSAiSW4tcGVyc29uIG1lZXRpbmciOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cgo=","id":"15.2.3.6-4-588"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTU4OSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC01ODkuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBTdWNjZXNzIHRvIHVwZGF0ZSB2YWx1ZSBvZiBwcm9wZXJ0eSBpbnRvIG9mIFtbUHJvcHRvdHlwZV1dIGludGVybmFsIHByb3BlcnR5IChPYmplY3QuY3JlYXRlKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIGFwcG9pbnRtZW50ID0ge307CgogICAgICAgIHZhciBkYXRhMSA9IDEwMDE7CiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFwcG9pbnRtZW50LCAic3RhcnRUaW1lIiwgewogICAgICAgICAgICBnZXQ6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgIHJldHVybiBkYXRhMTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgc2V0OiBmdW5jdGlvbiAodmFsdWUpIHsKICAgICAgICAgICAgICAgIGRhdGExID0gdmFsdWU7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGVudW1lcmFibGU6IHRydWUsCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgIH0pOwogICAgICAgIHZhciBkYXRhMiA9ICJOQU1FIjsKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXBwb2ludG1lbnQsICJuYW1lIiwgewogICAgICAgICAgICBnZXQ6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgIHJldHVybiBkYXRhMjsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgc2V0OiBmdW5jdGlvbiAodmFsdWUpIHsKICAgICAgICAgICAgICAgIGRhdGEyID0gdmFsdWU7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGVudW1lcmFibGU6IHRydWUsCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICB9KTsKCiAgICAgICAgdmFyIG1lZXRpbmcgPSBPYmplY3QuY3JlYXRlKGFwcG9pbnRtZW50KTsKICAgICAgICB2YXIgZGF0YTMgPSAiSW4tcGVyc29uIG1lZXRpbmciOwogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShtZWV0aW5nLCAiY29uZmVyZW5jZUNhbGwiLCB7CiAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgcmV0dXJuIGRhdGEzOwogICAgICAgICAgICB9LAogICAgICAgICAgICBzZXQ6IGZ1bmN0aW9uICh2YWx1ZSkgewogICAgICAgICAgICAgICAgZGF0YTMgPSB2YWx1ZTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgIH0pOwoKICAgICAgICB2YXIgdGVhbU1lZXRpbmcgPSBPYmplY3QuY3JlYXRlKG1lZXRpbmcpOwogICAgICAgIHRlYW1NZWV0aW5nLm5hbWUgPSAiVGVhbSBNZWV0aW5nIjsKICAgICAgICB2YX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mNyZWF0ZSkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBhcHBvaW50bWVudCA9IHt9OwoKICAgICAgICB2YXIgZGF0YTEgPSAxMDAxOwogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcHBvaW50bWVudCwgInN0YXJ0VGltZSIsIHsKICAgICAgICAgICAgZ2V0OiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZGF0YTE7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIHNldDogZnVuY3Rpb24gKHZhbHVlKSB7CiAgICAgICAgICAgICAgICBkYXRhMSA9IHZhbHVlOwogICAgICAgICAgICB9LAogICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKICAgICAgICB2YXIgZGF0YTIgPSAiTkFNRSI7CiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGFwcG9pbnRtZW50LCAibmFtZSIsIHsKICAgICAgICAgICAgZ2V0OiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZGF0YTI7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIHNldDogZnVuY3Rpb24gKHZhbHVlKSB7CiAgICAgICAgICAgICAgICBkYXRhMiA9IHZhbHVlOwogICAgICAgICAgICB9LAogICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgfSk7CgogICAgICAgIHZhciBtZWV0aW5nID0gT2JqZWN0LmNyZWF0ZShhcHBvaW50bWVudCk7CiAgICAgICAgdmFyIGRhdGEzID0gIkluLXBlcnNvbiBtZWV0aW5nIjsKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkobWVldGluZywgImNvbmZlcmVuY2VDYWxsIiwgewogICAgICAgICAgICBnZXQ6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgIHJldHVybiBkYXRhMzsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgc2V0OiBmdW5jdGlvbiAodmFsdWUpIHsKICAgICAgICAgICAgICAgIGRhdGEzID0gdmFsdWU7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGVudW1lcmFibGU6IHRydWUsCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICB9KTsKCiAgICAgICAgdmFyIHRlYW1NZWV0aW5nID0gT2JqZWN0LmNyZWF0ZShtZWV0aW5nKTsKCiAgICAgICAgdmFyIHZlcmlmeVRpbWVQcm9wID0gZmFsc2U7CiAgICAgICAgdmFyIHZlcmlmeU5hbWVQcm9wID0gZmFsc2U7CiAgICAgICAgdmFyIHZlcmlmeUNhbGxQcm9wID0gZmFsc2U7CiAgICAgICAgZm9yICh2YXIgcCBpbiB0ZWFtTWVldGluZykgewogICAgICAgICAgICBpZiAocCA9PT0gInN0YXJ0VGltZSIpIHsKICAgICAgICAgICAgICAgIHZlcmlmeVRpbWVQcm9wID0gdHJ1ZTsKICAgICAgICAgICAgfQogICAgICAgICAgICBpZiAocCA9PT0gIm5hbWUiKSB7CiAgICAgICAgICAgICAgICB2ZXJpZnlOYW1lUHJvcCA9IHRydWU7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgaWYgKHAgPT09ICJjb25mZXJlbmNlQ2FsbCIpIHsKICAgICAgICAgICAgICAgIHZlcmlmeUNhbGxQcm9wID0gdHJ1ZTsKICAgICAgICAgICAgfQogICAgICAgIH0KCiAgICAgICAgdmFyIGhhc093blByb3BlcnR5ID0gIXRlYW1NZWV0aW5nLmhhc093blByb3BlcnR5KCJuYW1lIikgJiYKICAgICAgICAgICAgIXRlYW1NZWV0aW5nLmhhc093blByb3BlcnR5KCJzdGFydFRpbWUiKSAmJgogICAgICAgICAgICAhdGVhbU1lZXRpbmcuaGFzT3duUHJvcGVydHkoJ3N0YXJ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BvaW50bWVudCwgIm5hbWUiLCB7CiAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgcmV0dXJuIGRhdGEyOwogICAgICAgICAgICB9LAogICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgfSk7CgogICAgICAgIHZhciBtZWV0aW5nID0gT2JqZWN0LmNyZWF0ZShhcHBvaW50bWVudCk7CiAgICAgICAgdmFyIGRhdGEzID0gIkluLXBlcnNvbiBtZWV0aW5nIjsKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkobWVldGluZywgImNvbmZlcmVuY2VDYWxsIiwgewogICAgICAgICAgICBnZXQ6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgIHJldHVybiBkYXRhMzsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZW51bWVyYWJsZTogZmFsc2UsCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICB9KTsKCiAgICAgICAgdmFyIHRlYW1NZWV0aW5nID0gT2JqZWN0LmNyZWF0ZShtZWV0aW5nKTsKICAgICAgICB0ZWFtTWVldGluZy5uYW1lID0gIklFIFRlYW0gTWVldGluZyI7CiAgICAgICAgdmFyIGRhdGVPYmogPSBuZXcgRGF0ZSgiMTAvMzEvMjAxMCAwODowMCIpOwogICAgICAgIHRlYW1NZWV0aW5nLnN0YXJ0VGltZSA9IGRhdGVPYmo7CiAgICAgICAgdGVhbU1lZXRpbmcuY29uZmVyZW5jZUNhbGwgPSAiNDI1NTU1MTIxMiI7CgogICAgICAgIHZhciBoYXNPd25Qcm9wZXJ0eSA9ICF0ZWFtTWVldGluZy5oYXNPd25Qcm9wZXJ0eSgibmFtZSIpICYmCiAgICAgICAgICAgICF0ZWFtTWVldGluZy5oYXNPd25Qcm9wZXJ0eSgic3RhcnRUaW1lIikgJiYKICAgICAgICAgICAgIXRlYW1NZWV0aW5nLmhhc093blByb3BlcnR5KCdzdGFydFRpbWUnKTsKCiAgICAgICAgcmV0dXJuIGhhc093blByb3BlcnR5ICYmIHRlYW1NZWV0aW5nLm5hbWUgPT09ICJOQU1FIiAmJgogICAgICAgICAgICB0ZWFtTWVldGluZy5zdGFydFRpbWUgPT09IDEwMDEgJiYKICAgICAgICAgICAgdGVhbU1lZXRpbmcuY29uZmVyZW5jZUNhbGwgPT09ICJJbi1wZXJzb24gbWVldGluZyI7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsKCg==","id":"15.2.3.6-4-591"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTU5MiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC01OTIuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBJbmhlcml0ZWQgcHJvcGVydHkgaXMgbm9uLWVudW1lcmFibGUgKE9iamVjdC5jcmVhdGUpIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgYXBwb2ludG1lbnQgPSB7fTsKCiAgICAgICAgdmFyIGRhdGExID0gMTAwMTsKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoYXBwb2ludG1lbnQsICJzdGFydFRpbWUiLCB7CiAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgcmV0dXJuIGRhdGExOwogICAgICAgICAgICB9LAogICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgfSk7CiAgICAgICAgdmFyIGRhdGEyID0gIk5BTUUiOwogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShhcHBvaW50bWVudCwgIm5hbWUiLCB7CiAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgcmV0dXJuIGRhdGEyOwogICAgICAgICAgICB9LAogICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgIH0pOwoKICAgICAgICB2YXIgbWVldGluZyA9IE9iamVjdC5jcmVhdGUoYXBwb2ludG1lbnQpOwogICAgICAgIHZhciBkYXRhMyA9ICJJbi1wZXJzb24gbWVldGluZyI7CiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG1lZXRpbmcsICJjb25mZXJlbmNlQ2FsbCIsIHsKICAgICAgICAgICAgZ2V0OiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZGF0YTM7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKCiAgICAgICAgdmFyIHRlYW1NZWV0aW5nID0gT2JqZWN0LmNyZWF0ZShtZWV0aW5nKTsKCiAgICAgICAgdmFyIHZlcmlmeVRpbWVQcm9wID0gZmFsc2U7CiAgICAgICAgdmFyIHZlcmlmeU5hbWVQcm9wID0gZmFsc2U7CiAgICAgICAgdmFyIHZlcmlmeUNhbGxQcm9wID0gZmFsc2U7CiAgICAgICAgZm9yICh2YXIgcCBpbiB0ZWFtTWVldGluZykgewogICAgICAgICAgICBpZiAocCA9PT0gInN0YXJ0VGltZSIpIHsKICAgICAgICAgICAgICAgIHZlcmlmeVRpbWVQcm9wID0gdHJ1ZTsKICAgICAgICAgICAgfQogICAgICAgICAgICBpZiAocCA9PT0gIm5hbWUiKSB7CiAgICAgICAgIC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zdGNhc2UoKSB7CiAgICAgICAgdmFyIGZvbyA9IGZ1bmN0aW9uICgpIHsgfTsKICAgICAgICB2YXIgZGF0YSA9ICJkYXRhIjsKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoRnVuY3Rpb24ucHJvdG90eXBlLCAicHJvcCIsIHsKICAgICAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgICAgIHJldHVybiBkYXRhOwogICAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICAgIHNldDogZnVuY3Rpb24gKHZhbHVlKSB7CiAgICAgICAgICAgICAgICAgICAgZGF0YSA9IHZhbHVlOwogICAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICAgIGVudW1lcmFibGU6IHRydWUsCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICAgICAgfSk7CgogICAgICAgICAgICB2YXIgb2JqID0gZm9vLmJpbmQoe30pOwoKICAgICAgICAgICAgcmV0dXJuICFvYmouaGFzT3duUHJvcGVydHkoInByb3AiKSAmJiBvYmoucHJvcCA9PT0gZGF0YTsKICAgICAgICB9IGZpbmFsbHkgewogICAgICAgICAgICBkZWxldGUgRnVuY3Rpb24ucHJvdG90eXBlLnByb3A7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cgo=","id":"15.2.3.6-4-593"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTU5NCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC01OTQuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBTdWNjZXNzIHRvIHVwZGF0ZSB2YWx1ZSBvZiBwcm9wZXJ0eSBpbnRvIG9mIFtbUHJvcHRvdHlwZV1dIGludGVybmFsIHByb3BlcnR5IChGdW5jdGlvbi5wcm90b3R5cGUuYmluZCkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBmb28gPSBmdW5jdGlvbiAoKSB7IH07CiAgICAgICAgdmFyIGRhdGEgPSAiZGF0YSI7CiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KEZ1bmN0aW9uLnByb3RvdHlwZSwgInByb3AiLCB7CiAgICAgICAgICAgICAgICBnZXQ6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgICAgICByZXR1cm4gZGF0YTsKICAgICAgICAgICAgICAgIH0sCiAgICAgICAgICAgICAgICBzZXQ6IGZ1bmN0aW9uICh2YWx1ZSkgewogICAgICAgICAgICAgICAgICAgIGRhdGEgPSB2YWx1ZTsKICAgICAgICAgICAgICAgIH0sCiAgICAgICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwoKICAgICAgICAgICAgdmFyIG9iaiA9IGZvby5iaW5kKHt9KTsKICAgICAgICAgICAgb2JqLnByb3AgPSAib3ZlcnJpZGVEYXRhIjsKCiAgICAgICAgICAgIHJldHVybiAhb2JqLmhhc093blByb3BlcnR5KCJwcm9wIikgJiYgb2JqLnByb3AgPT09ICJvdmVycmlkZURhdGEiOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIGRlbGV0ZSBGdW5jdGlvbi5wcm90b3R5cGUucHJvcDsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsKCg==","id":"15.2.3.6-4-594"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTU5NSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC01OTUuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBJbmhlcml0ZWQgcHJvcGVydHkgaXMgZW51bWVyYWJsZSAoRnVuY3Rpb24ucHJvdG90eXBlLmJpbmQpIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgZm9vID0gZnVuY3Rpb24gKCkgeyB9OwogICAgICAgIHZhciBkYXRhID0gImRhdGEiOwogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShGdW5jdGlvbi5wcm90b3R5cGUsICJwcm9wIiwgewogICAgICAgICAgICAgICAgZ2V0OiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGRhdGE7CiAgICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICAgc2V0OiBmdW5jdGlvbiAodmFsdWUpIHsKICAgICAgICAgICAgICAgICAgICBkYXRhID0gdmFsdWU7CiAgICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZSwKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICB9KTsKCiAgICAgICAgICAgIHZhciBvYmogPSBmb28uYmluZCh7fSk7CgogICAgICAgICAgICB2YXIgdmVyaWZ5RW51bWVyYWJsZSA9IGZhbHNlOwogICAgICAgICAgICBmb3IgKHZhciBwIGluIG9iaikgewogICAgICAgICAgICAgICAgaWYgKHAgPT09ICJ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gICAgICAgICByZXR1cm4gZGF0YTsKICAgICAgICAgICAgICAgIH0sCiAgICAgICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZSwKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICB9KTsKCiAgICAgICAgICAgIHZhciBvYmogPSBmb28uYmluZCh7fSk7CiAgICAgICAgICAgIG9iai5wcm9wID0gIm92ZXJyaWRlRGF0YSI7CgogICAgICAgICAgICByZXR1cm4gIW9iai5oYXNPd25Qcm9wZXJ0eSgicHJvcCIpICYmIG9iai5wcm9wID09PSAiZGF0YSI7CiAgICAgICAgfSBmaW5hbGx5IHsKICAgICAgICAgICAgZGVsZXRlIEZ1bmN0aW9uLnByb3RvdHlwZS5wcm9wOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSk7CiAgICB9Cn0pOwoK","id":"15.2.3.6-4-596"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTU5NyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC01OTcuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBJbmhlcml0ZWQgcHJvcGVydHkgaXMgbm9uLWVudW1lcmFibGUgKEZ1bmN0aW9uLnByb3RvdHlwZS5iaW5kKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIGZvbyA9IGZ1bmN0aW9uICgpIHsgfTsKICAgICAgICB2YXIgZGF0YSA9ICJkYXRhIjsKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoRnVuY3Rpb24ucHJvdG90eXBlLCAicHJvcCIsIHsKICAgICAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgICAgIHJldHVybiBkYXRhOwogICAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwoKICAgICAgICAgICAgdmFyIG9iaiA9IGZvby5iaW5kKHt9KTsKCiAgICAgICAgICAgIHZhciB2ZXJpZnlFbnVtZXJhYmxlID0gZmFsc2U7CiAgICAgICAgICAgIGZvciAodmFyIHAgaW4gb2JqKSB7CiAgICAgICAgICAgICAgICBpZiAocCA9PT0gInByb3AiKSB7CiAgICAgICAgICAgICAgICAgICAgdmVyaWZ5RW51bWVyYWJsZSA9IHRydWU7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KCiAgICAgICAgICAgIHJldHVybiAhb2JqLmhhc093blByb3BlcnR5KCJwcm9wIikgJiYgIXZlcmlmeUVudW1lcmFibGU7CiAgICAgICAgfSBmaW5hbGx5IHsKICAgICAgICAgICAgZGVsZXRlIEZ1bmN0aW9uLnByb3RvdHlwZS5wcm9wOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSk7CiAgICB9Cn0pOwoK","id":"15.2.3.6-4-597"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTU5OCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC01OTguanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBhbGwgYXR0cmlidXRlcyBpbiBPYmplY3QuZ2V0UHJvdG90eXBlT2YgYXJlIGNvcnJlY3QiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBkZXNjID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihPYmplY3QsICJnZXRQcm90b3R5cGVPZiIpOwoKICAgICAgICB2YXIgcHJvcGVydHlBcmVDb3JyZWN0ID0gKGRlc2Mud3JpdGFibGUgPT09IHRydWUgJiYgZGVzYy5lbnVtZXJhYmxlID09PSBmYWxzZSAmJiBkZXNjLmNvbmZpZ3VyYWJsZSA9PT0gdHJ1ZSk7CgogICAgICAgIHZhciB0ZW1wID0gT2JqZWN0LmdldFByb3RvdHlwZU9mOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZ2V0UHJvdG90eXBlT2YgPSAiMjAxMCI7CgogICAgICAgICAgICB2YXIgaXNXcml0YWJsZSA9IChPYmplY3QuZ2V0UHJvdG90eXBlT2YgPT09ICIyMDEwIik7CgogICAgICAgICAgICB2YXIgaXNFbnVtZXJhYmxlID0gZmFsc2U7CgogICAgICAgICAgICBmb3IgKHZhciBwcm9wIGluIE9iamVjdCkgewogICAgICAgICAgICAgICAgaWYgKHByb3AgPT09ICJnZXRQcm90b3R5cGVPZiIpIHsKICAgICAgICAgICAgICAgICAgICBpc0VudW1lcmFibGUgPSB0cnVlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgCiAgICAgICAgICAgIGRlbGV0ZSBPYmplY3QuZ2V0UHJvdG90eXBlT2Y7CgogICAgICAgICAgICB2YXIgaXNDb25maWd1cmFibGUgPSAhT2JqZWN0Lmhhc093blByb3BlcnR5KCJnZXRQcm90b3R5cGVPZiIpOwoKICAgICAgICAgICAgcmV0dXJuIHByb3BlcnR5QXJlQ29ycmVjdCAmJiBpc1dyaXRhYmxlICYmICFpc0VudW1lcmFibGUgJiYga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cnJlY3QgPSAoZGVzYy53cml0YWJsZSA9PT0gdHJ1ZSAmJiBkZXNjLmVudW1lcmFibGUgPT09IGZhbHNlICYmIGRlc2MuY29uZmlndXJhYmxlID09PSB0cnVlKTsKCiAgICAgICAgdmFyIHRlbXAgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yID0gIjIwMTAiOwoKICAgICAgICAgICAgdmFyIGlzV3JpdGFibGUgPSAoT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvciA9PT0gIjIwMTAiKTsKCiAgICAgICAgICAgIHZhciBpc0VudW1lcmFibGUgPSBmYWxzZTsKCiAgICAgICAgICAgIGZvciAodmFyIHByb3AgaW4gT2JqZWN0KSB7CiAgICAgICAgICAgICAgICBpZiAocHJvcCA9PT0gImdldE93blByb3BlcnR5RGVzY3JpcHRvciIpIHsKICAgICAgICAgICAgICAgICAgICBpc0VudW1lcmFibGUgPSB0cnVlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CgogICAgICAgICAgICBkZWxldGUgT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcjsKCiAgICAgICAgICAgIHZhciBpc0NvbmZpZ3VyYWJsZSA9ICFPYmplY3QuaGFzT3duUHJvcGVydHkoImdldE93blByb3BlcnR5RGVzY3JpcHRvciIpOwoKICAgICAgICAgICAgcmV0dXJuIHByb3BlcnR5QXJlQ29ycmVjdCAmJiBpc1dyaXRhYmxlICYmICFpc0VudW1lcmFibGUgJiYgaXNDb25maWd1cmFibGU7CiAgICAgICAgfSBmaW5hbGx5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KE9iamVjdCwgImdldE93blByb3BlcnR5RGVzY3JpcHRvciIsIHsKICAgICAgICAgICAgICAgIHZhbHVlOiB0ZW1wLAogICAgICAgICAgICAgICAgd3Jpd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EF0dHJpYnV0ZXMgLSBhbGwgYXR0cmlidXRlcyBpbiBPYmplY3QuZ2V0T3duUHJvcGVydHlOYW1lcyBhcmUgY29ycmVjdCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIGRlc2MgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKE9iamVjdCwgImdldE93blByb3BlcnR5TmFtZXMiKTsKCiAgICAgICAgdmFyIHByb3BlcnR5QXJlQ29ycmVjdCA9IChkZXNjLndyaXRhYmxlID09PSB0cnVlICYmIGRlc2MuZW51bWVyYWJsZSA9PT0gZmFsc2UgJiYgZGVzYy5jb25maWd1cmFibGUgPT09IHRydWUpOwoKICAgICAgICB2YXIgdGVtcCA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eU5hbWVzOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZ2V0T3duUHJvcGVydHlOYW1lcyA9ICIyMDEwIjsKCiAgICAgICAgICAgIHZhciBpc1dyaXRhYmxlID0gKE9iamVjdC5nZXRPd25Qcm9wZXJ0eU5hbWVzID09PSAiMjAxMCIpOwoKICAgICAgICAgICAgdmFyIGlzRW51bWVyYWJsZSA9IGZhbHNlOwoKICAgICAgICAgICAgZm9yICh2YXIgcHJvcCBpbiBPYmplY3QpIHsKICAgICAgICAgICAgICAgIGlmIChwcm9wID09PSAiZ2V0T3duUHJvcGVydHlOYW1lcyIpIHsKICAgICAgICAgICAgICAgICAgICBpc0VudW1lcmFibGUgPSB0cnVlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgCiAgICAgICAgICAgIGRlbGV0ZSBPYmplY3QuZ2V0T3duUHJvcGVydHlOYW1lczsKCiAgICAgICAgICAgIHZhciBpc0NvbmZpZ3VyYWJsZSA9ICFPYmplY3QuaGFzT3duUHJvcGVydHkoImdldE93blByb3BlcnR5TmFtZXMiKTsKCiAgICAgICAgICAgIHJldHVybiB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RlIik7CgogICAgICAgIHZhciBwcm9wZXJ0eUFyZUNvcnJlY3QgPSAoZGVzYy53cml0YWJsZSA9PT0gdHJ1ZSAmJiBkZXNjLmVudW1lcmFibGUgPT09IGZhbHNlICYmIGRlc2MuY29uZmlndXJhYmxlID09PSB0cnVlKTsKCiAgICAgICAgdmFyIHRlbXAgPSBPYmplY3QuY3JlYXRlOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuY3JlYXRlID0gIjIwMTAiOwoKICAgICAgICAgICAgdmFyIGlzV3JpdGFibGUgPSAoT2JqZWN0LmNyZWF0ZSA9PT0gIjIwMTAiKTsKCiAgICAgICAgICAgIHZhciBpc0VudW1lcmFibGUgPSBmYWxzZTsKCiAgICAgICAgICAgIGZvciAodmFyIHByb3AgaW4gT2JqZWN0KSB7CiAgICAgICAgICAgICAgICBpZiAocHJvcCA9PT0gImNyZWF0ZSIpIHsKICAgICAgICAgICAgICAgICAgICBpc0VudW1lcmFibGUgPSB0cnVlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgCiAgICAgICAgICAgIGRlbGV0ZSBPYmplY3QuY3JlYXRlOwoKICAgICAgICAgICAgdmFyIGlzQ29uZmlndXJhYmxlID0gIU9iamVjdC5oYXNPd25Qcm9wZXJ0eSgiY3JlYXRlIik7CgogICAgICAgICAgICByZXR1cm4gcHJvcGVydHlBcmVDb3JyZWN0ICYmIGlzV3JpdGFibGUgJiYgIWlzRW51bWVyYWJsZSAmJiBpc0NvbmZpZ3VyYWJsZTsKICAgICAgICB9IGZpbmFsbHkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoT2JqZWN0LCAiY3JlYXRlIiwgewogICAgICAgICAgICAgICAgdmFsdWU6IHRlbXAsCiAgICAgICAgICAgICAgICB3cml0YWJsZTogdHJ1ZSwKICAgICAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0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BlcnR5ID09PSAiMjAxMCIpOwoKICAgICAgICAgICAgdmFyIGlzRW51bWVyYWJsZSA9IGZhbHNlOwoKICAgICAgICAgICAgZm9yICh2YXIgcHJvcCBpbiBPYmplY3QpIHsKICAgICAgICAgICAgICAgIGlmIChwcm9wID09PSAiZGVmaW5lUHJvcGVydHkiKSB7CiAgICAgICAgICAgICAgICAgICAgaXNFbnVtZXJhYmxlID0gdHJ1ZTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQoKICAgICAgICAgICAgZGVsZXRlIE9iamVjdC5kZWZpbmVQcm9wZXJ0eTsKCiAgICAgICAgICAgIHZhciBpc0NvbmZpZ3VyYWJsZSA9ICFPYmplY3QuaGFzT3duUHJvcGVydHkoImRlZmluZVByb3BlcnR5Iik7CgogICAgICAgICAgICByZXR1cm4gcHJvcGVydHlBcmVDb3JyZWN0ICYmIGlzV3JpdGFibGUgJiYgIWlzRW51bWVyYWJsZSAmJiBpc0NvbmZpZ3VyYWJsZTsKICAgICAgICB9IGZpbmFsbHkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkgPSB0ZW1wOwogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoT2JqZWN0LCAiZGVmaW5lUHJvcGVydHkiLCB7CiAgICAgICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZQogICAgICAgICAgICB9KTsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuRXhpc3RzKE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IpOwogICAgfQp9KTsKCg==","id":"15.2.3.6-4-602"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTYwMyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC02MDMuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBhbGwgYXR0cmlidXRlcyBpbiBPYmplY3QuZGVmaW5lUHJvcGVydGllcyBhcmUgY29ycmVjdCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIGRlc2MgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKE9iamVjdCwgImRlZmluZVByb3BlcnRpZXMiKTsKCiAgICAgICAgdmFyIHByb3BlcnR5QXJlQ29ycmVjdCA9IChkZXNjLndyaXRhYmxlID09PSB0cnVlICYmIGRlc2MuZW51bWVyYWJsZSA9PT0gZmFsc2UgJiYgZGVzYy5jb25maWd1cmFibGUgPT09IHRydWUpOwoKICAgICAgICB2YXIgdGVtcCA9IE9iamVjdC5kZWZpbmVQcm9wZXJ0aWVzOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydGllcyA9ICIyMDEwIjsKCiAgICAgICAgICAgIHZhciBpc1dyaXRhYmxlID0gKE9iamVjdC5kZWZpbmVQcm9wZXJ0aWVzID09PSAiMjAxMCIpOwoKICAgICAgICAgICAgdmFyIGlzRW51bWVyYWJsZSA9IGZhbHNlOwoKICAgICAgICAgICAgZm9yICh2YXIgcHJvcCBpbiBPYmplY3QpIHsKICAgICAgICAgICAgICAgIGlmIChwcm9wID09PSAiZGVmaW5lUHJvcGVydGllcyIpIHsKICAgICAgICAgICAgICAgICAgICBpc0VudW1lcmFibGUgPSB0cnVlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgCiAgICAgICAgICAgIGRlbGV0ZSBPYmplY3QuZGVmaW5lUHJvcGVydGllczsKCiAgICAgICAgICAgIHZhciBpc0NvbmZpZ3VyYWJsZSA9ICFPYmplY3Q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uZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKE9iamVjdCwgInNlYWwiKTsKCiAgICAgICAgdmFyIHByb3BlcnR5QXJlQ29ycmVjdCA9IChkZXNjLndyaXRhYmxlID09PSB0cnVlICYmIGRlc2MuZW51bWVyYWJsZSA9PT0gZmFsc2UgJiYgZGVzYy5jb25maWd1cmFibGUgPT09IHRydWUpOwoKICAgICAgICB2YXIgdGVtcCA9IE9iamVjdC5zZWFsOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3Quc2VhbCA9ICIyMDEwIjsKCiAgICAgICAgICAgIHZhciBpc1dyaXRhYmxlID0gKE9iamVjdC5zZWFsID09PSAiMjAxMCIpOwoKICAgICAgICAgICAgdmFyIGlzRW51bWVyYWJsZSA9IGZhbHNlOwoKICAgICAgICAgICAgZm9yICh2YXIgcHJvcCBpbiBPYmplY3QpIHsKICAgICAgICAgICAgICAgIGlmIChwcm9wID09PSAic2VhbCIpIHsKICAgICAgICAgICAgICAgICAgICBpc0VudW1lcmFibGUgPSB0cnVlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgCiAgICAgICAgICAgIGRlbGV0ZSBPYmplY3Quc2VhbDsKCiAgICAgICAgICAgIHZhciBpc0NvbmZpZ3VyYWJsZSA9ICFPYmplY3QuaGFzT3duUHJvcGVydHkoInNlYWwiKTsKCiAgICAgICAgICAgIHJldHVybiBwcm9wZXJ0eUFyZUNvcnJlY3QgJiYgaXNXcml0YWJsZSAmJiAhaXNFbnVtZXJhYmxlICYmIGlzQ29uZmlndXJhYmxlOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShPYmplY3QsICJzZWFsIiwgewogICAgICAgICAgICAgICAgdmFsdWU6IHRlbXAsCiAgICAgICAgICAgICAgICB3cml0YWJsZTogdHJ1ZSwKICAgICAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICAg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gICAgIHZhciBpc0VudW1lcmFibGUgPSBmYWxzZTsKCiAgICAgICAgICAgIGZvciAodmFyIHByb3AgaW4gT2JqZWN0KSB7CiAgICAgICAgICAgICAgICBpZiAocHJvcCA9PT0gImZyZWV6ZSIpIHsKICAgICAgICAgICAgICAgICAgICBpc0VudW1lcmFibGUgPSB0cnVlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgCiAgICAgICAgICAgIGRlbGV0ZSBPYmplY3QuZnJlZXplOwoKICAgICAgICAgICAgdmFyIGlzQ29uZmlndXJhYmxlID0gIU9iamVjdC5oYXNPd25Qcm9wZXJ0eSgiZnJlZXplIik7CgogICAgICAgICAgICByZXR1cm4gcHJvcGVydHlBcmVDb3JyZWN0ICYmIGlzV3JpdGFibGUgJiYgIWlzRW51bWVyYWJsZSAmJiBpc0NvbmZpZ3VyYWJsZTsKICAgICAgICB9IGZpbmFsbHkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoT2JqZWN0LCAiZnJlZXplIiwgewogICAgICAgICAgICAgICAgdmFsdWU6IHRlbXAsCiAgICAgICAgICAgICAgICB3cml0YWJsZTogdHJ1ZSwKICAgICAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkgJiYgZm5FeGlzdHMoT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcikgJiYgZm5FeGlzdHMoT2JqZWN0LmZyZWV6ZSk7CiAgICB9Cn0pOwoK","id":"15.2.3.6-4-605"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTYwNiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC02MDYuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBhbGwgYXR0cmlidXRlcyBpbiBPYmplY3QucHJldmVudEV4dGVuc2lvbnMgYXJlIGNvcnJlY3QiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBkZXNjID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihPYmplY3QsICJwcmV2ZW50RXh0ZW5zaW9ucyIpOwoKICAgICAgICB2YXIgcHJvcGVydHlBcmVDb3JyZWN0ID0gKGRlc2Mud3JpdGFibGUgPT09IHRydWUgJiYgZGVzYy5lbnVtZXJhYmxlID09PSBmYWxzZSAmJiBkZXNjLmNvbmZpZ3VyYWJsZSA9PT0gdHJ1ZSk7CgogICAgICAgIHZhciB0ZW1wID0gT2JqZWN0LnByZXZlbnRFeHRlbnNpb25zOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QucHJldmVudEV4dGVuc2lvbnMgPSAiMjAxMCI7CgogICAgICAgICAgICB2YXIgaXNXcml0YWJsZSA9IChPYmplY3QucHJldmVudEV4dGVuc2lvbnMgPT09ICIyMDEwIik7CgogICAgICAgICAgICB2YXIgaXNFbnVtZXJhYmxlID0gZmFsc2U7CgogICAgICAgICAgICBmb3IgKHZhciBwcm9wIGluIE9iamVjdCkgewogICAgICAgICAgICAgICAgaWYgKHByb3AgPT09ICJwcmV2ZW50RXh0ZW5zaW9ucyIpIHsKICAgICAgICAgICAgICAgICAgICBpc0VudW1lcmFibGUgPSB0cnVlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgCiAgICAgICAgICAgIGRlbGV0ZSBPYmplY3QucHJldmVudEV4dGVuc2lvbnM7CgogICAgICAgICAgICB2Y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3RjYXNlKCkgewogICAgICAgIHZhciBkZXNjID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihPYmplY3QsICJpc1NlYWxlZCIpOwoKICAgICAgICB2YXIgcHJvcGVydHlBcmVDb3JyZWN0ID0gKGRlc2Mud3JpdGFibGUgPT09IHRydWUgJiYgZGVzYy5lbnVtZXJhYmxlID09PSBmYWxzZSAmJiBkZXNjLmNvbmZpZ3VyYWJsZSA9PT0gdHJ1ZSk7CgogICAgICAgIHZhciB0ZW1wID0gT2JqZWN0LmlzU2VhbGVkOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuaXNTZWFsZWQgPSAiMjAxMCI7CgogICAgICAgICAgICB2YXIgaXNXcml0YWJsZSA9IChPYmplY3QuaXNTZWFsZWQgPT09ICIyMDEwIik7CgogICAgICAgICAgICB2YXIgaXNFbnVtZXJhYmxlID0gZmFsc2U7CgogICAgICAgICAgICBmb3IgKHZhciBwcm9wIGluIE9iamVjdCkgewogICAgICAgICAgICAgICAgaWYgKHByb3AgPT09ICJpc1NlYWxlZCIpIHsKICAgICAgICAgICAgICAgICAgICBpc0VudW1lcmFibGUgPSB0cnVlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgCiAgICAgICAgICAgIGRlbGV0ZSBPYmplY3QuaXNTZWFsZWQ7CgogICAgICAgICAgICB2YXIgaXNDb25maWd1cmFibGUgPSAhT2JqZWN0Lmhhc093blByb3BlcnR5KCJpc1NlYWxlZCIpOwoKICAgICAgICAgICAgcmV0dXJuIHByb3BlcnR5QXJlQ29ycmVjdCAmJiBpc1dyaXRhYmxlICYmICFpc0VudW1lcmFibGUgJiYgaXNDb25maWd1cmFibGU7CiAgICAgICAgfSBmaW5hbGx5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KE9iamVjdCwgImlzU2VhbGVkIiwgewogICAgICAgICAgICAgICAgdmFsdWU6IHRlbXAsCiAgICAgICAgICAgICA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MjAxMCI7CgogICAgICAgICAgICB2YXIgaXNXcml0YWJsZSA9IChPYmplY3QuaXNGcm96ZW4gPT09ICIyMDEwIik7CgogICAgICAgICAgICB2YXIgaXNFbnVtZXJhYmxlID0gZmFsc2U7CgogICAgICAgICAgICBmb3IgKHZhciBwcm9wIGluIE9iamVjdCkgewogICAgICAgICAgICAgICAgaWYgKHByb3AgPT09ICJpc0Zyb3plbiIpIHsKICAgICAgICAgICAgICAgICAgICBpc0VudW1lcmFibGUgPSB0cnVlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgCiAgICAgICAgICAgIGRlbGV0ZSBPYmplY3QuaXNGcm96ZW47CgogICAgICAgICAgICB2YXIgaXNDb25maWd1cmFibGUgPSAhT2JqZWN0Lmhhc093blByb3BlcnR5KCJpc0Zyb3plbiIpOwoKICAgICAgICAgICAgcmV0dXJuIHByb3BlcnR5QXJlQ29ycmVjdCAmJiBpc1dyaXRhYmxlICYmICFpc0VudW1lcmFibGUgJiYgaXNDb25maWd1cmFibGU7CiAgICAgICAgfSBmaW5hbGx5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KE9iamVjdCwgImlzRnJvemVuIiwgewogICAgICAgICAgICAgICAgdmFsdWU6IHRlbXAsCiAgICAgICAgICAgICAgICB3cml0YWJsZTogdHJ1ZSwKICAgICAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkgJiYgZm5FeGlzdHMoT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcikgJiYgZm5FeGlzdHMoT2JqZWN0LmlzRnJvemVuKTsKICAgIH0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c2MuZW51bWVyYWJsZSA9PT0gZmFsc2UgJiYgZGVzYy5jb25maWd1cmFibGUgPT09IHRydWUpOwoKICAgICAgICB2YXIgdGVtcCA9IE9iamVjdC5rZXlzOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3Qua2V5cyA9ICIyMDEwIjsKCiAgICAgICAgICAgIHZhciBpc1dyaXRhYmxlID0gKE9iamVjdC5rZXlzID09PSAiMjAxMCIpOwoKICAgICAgICAgICAgdmFyIGlzRW51bWVyYWJsZSA9IGZhbHNlOwoKICAgICAgICAgICAgZm9yICh2YXIgcHJvcCBpbiBPYmplY3QpIHsKICAgICAgICAgICAgICAgIGlmIChwcm9wID09PSAia2V5cyIpIHsKICAgICAgICAgICAgICAgICAgICBpc0VudW1lcmFibGUgPSB0cnVlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgCiAgICAgICAgICAgIGRlbGV0ZSBPYmplY3Qua2V5czsKCiAgICAgICAgICAgIHZhciBpc0NvbmZpZ3VyYWJsZSA9ICFPYmplY3QuaGFzT3duUHJvcGVydHkoImtleXMiKTsKCiAgICAgICAgICAgIHJldHVybiBwcm9wZXJ0eUFyZUNvcnJlY3QgJiYgaXNXcml0YWJsZSAmJiAhaXNFbnVtZXJhYmxlICYmIGlzQ29uZmlndXJhYmxlOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShPYmplY3QsICJrZXlzIiwgewogICAgICAgICAgICAgICAgdmFsdWU6IHRlbXAsCiAgICAgICAgICAgICAgICB3cml0YWJsZTogdHJ1ZSwKICAgICAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZ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W5jdGlvbi5wcm90b3R5cGUpIHsKICAgICAgICAgICAgICAgIGlmIChwcm9wID09PSAiYmluZCIpIHsKICAgICAgICAgICAgICAgICAgICBpc0VudW1lcmFibGUgPSB0cnVlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgCiAgICAgICAgICAgIGRlbGV0ZSBGdW5jdGlvbi5wcm90b3R5cGUuYmluZDsKCiAgICAgICAgICAgIHZhciBpc0NvbmZpZ3VyYWJsZSA9ICFGdW5jdGlvbi5wcm90b3R5cGUuaGFzT3duUHJvcGVydHkoImJpbmQiKTsKCiAgICAgICAgICAgIHJldHVybiBwcm9wZXJ0eUFyZUNvcnJlY3QgJiYgaXNXcml0YWJsZSAmJiAhaXNFbnVtZXJhYmxlICYmIGlzQ29uZmlndXJhYmxlOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShGdW5jdGlvbi5wcm90b3R5cGUsICJiaW5kIiwgewogICAgICAgICAgICAgICAgdmFsdWU6IHRlbXAsCiAgICAgICAgICAgICAgICB3cml0YWJsZTogdHJ1ZSwKICAgICAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkgJiYgZm5FeGlzdHMoT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcikgJiYgZm5FeGlzdHMoRnVuY3Rpb24ucHJvdG90eXBlLmJpbmQpOwogICAgfQp9KTsKCg==","id":"15.2.3.6-4-611"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTYxMiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC02MTIuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBhbGwgYXR0cmlidXRlcyBpbiBBcnJheS5wcm90b3R5cGUuaW5kZXhPZiBhcmUgY29ycmVjdCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIGRlc2MgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKEFycmF5LnByb3RvdHlwZSwgImluZGV4T2YiKTsKCiAgICAgICAgdmFyIHByb3BlcnR5QXJlQ29ycmVjdCA9IChkZXNjLndyaXRhYmxlID09PSB0cnVlICYmIGRlc2MuZW51bWVyYWJsZSA9PT0gZmFsc2UgJiYgZGVzYy5jb25maWd1cmFibGUgPT09IHRydWUpOwoKICAgICAgICB2YXIgdGVtcCA9IEFycmF5LnByb3RvdHlwZS5pbmRleE9mOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBBcnJheS5wcm90b3R5cGUuaW5kZXhPZiA9ICIyMDEwIjsKCiAgICAgICAgICAgIHZhciBpc1dyaXRhYmxlID0gKEFycmF5LnByb3RvdHlwZS5pbmRleE9mID09PSAiMjAxMCIpOwoKICAgICAgICAgICAgdmFyIGlzRW51bWVyYWJsZSA9IGZhbHNlOwoKICAgICAgICAgICAgZm9yICh2YXIgcHJvcCBpbiBBcnJheS5wcm90b3R5cGUpIHsKICAgICAgICAgICAgICAgIGlmIChwcm9wID09PSAiaW5kZXhPZiIpIHsKICAgICAgICAgICAgICAgICAgICBpc0VudW1lcmFibGUgPSB0cnVlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CgogICAgICAgICAgICBkZWxldGUgQXJyYXkucHJvdG90eXBlLmluZGV4T2Y7CgogICAgICAgICAgICB2YXIgaXNDb25maWd1cmFibGUgPSAhQXJyYXkucHJvdG90eXBlLmhhc093blByb3BlcnR5KCJpbmRleE9mIik7CgogICAgICAgICAgICByZXR1cm4gcHJvcGVydHlBcmVDb3JyZWN0ICYmIGlzV3JpdGFibGUgJiYgIWlzRW51bWVyYWJsZSAmJiBpc0NvbmZpZ3VyYWJsZTsKICAgICAgICB9IGZpbmFsbHkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoQXJyYXkucHJvdG90eXBlLCAiaW5kZXhPZiIsIHsKICAgICAgICAgICAgICAgIHZhbHVlOiB0ZW1wLAogICAgICAgICAgICAgICAgd3JpdGFibGU6IHRydWUsCiAgICAgICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZSwKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICB9KTsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuRXhpc3RzKE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IpICYmIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5pbmRleE9mKTsKICAgIH0KfSk7Cgo=","id":"15.2.3.6-4-612"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTYxMyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC02MTMuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBhbGwgYXR0cmlidXRlcyBpbiBPYmplY3QubGFzdEluZGV4T2YgYXJlIGNvcnJlY3QiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBkZXNjID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcihBcnJheS5wcm90b3R5cGUsICJsYXN0SW5kZXhPZiIpOwoKICAgICAgICB2YXIgcHJvcGVydHlBcmVDb3JyZWN0ID0gKGRlc2Mud3JpdGFibGUgPT09IHRydWUgJiYgZGVzYy5lbnVtZXJhYmxlID09PSBmYWxzZSAmJiBkZXNjLmNvbmZpZ3VyYWJsZSA9PT0gdHJ1ZSk7CgogICAgICAgIHZhciB0ZW1wID0gQXJyYXkucHJvdG90eXBlLmxhc3RJbmRleE9mOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBBcnJheS5wcm90b3R5cGUubGFzdEluZGV4T2YgPSAiMjAxMCI7CgogICAgICAgICAgICB2YXIgaXNXcml0YWJsZSA9IChBcnJheS5wcm90b3R5cGUubGFzdEluZGV4T2YgPT09ICIyMDEwIik7CgogICAgICAgICAgICB2YXIgaXNFbnVtZXJhYmxlID0gZmFsc2U7CgogICAgICAgICAgICBmb3IgKHZhciBwcm9wIGluIEFycmF5LnByb3RvdHlwZSkgewogICAgICAgICAgICAgICAgaWYgKHByb3AgPT09ICJsYXN0SW5kZXhPZiIpIHsKICAgICAgICAgICAgICAgICAgICBpc0VudW1lcmFibGUgPSB0cnVlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CgogICAgICAgICAgICBkZWxldGUgQXJyYXkucHJvdG90eXBlLmxhc3RJbmRleE9mOwoKICAgICAgICAgICAgdmFyIGlzQ29uZmlndXJhYmxlID0gIUFycmF5LnByb3RvdHlwZS5oYXNPd25Qcm9wZXJ0eSgibGFzdEluZGV4T2YiKTsKCiAgICAgICAgICAgIHJldHVybiBwcm9wZXJ0eUFyZUNvcnJlY3QgJiYgaXNXcml0YWJsZSAmJiAhaXNFbnVtZXJhYmxlICYmIGlzQ29uZmlndXJhYmxlOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShBcnJheS5wcm90b3R5c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7CgogICAgICAgIHZhciB0ZW1wID0gQXJyYXkucHJvdG90eXBlLmV2ZXJ5OwoKICAgICAgICB0cnkgewogICAgICAgICAgICBBcnJheS5wcm90b3R5cGUuZXZlcnkgPSAiMjAxMCI7CgogICAgICAgICAgICB2YXIgaXNXcml0YWJsZSA9IChBcnJheS5wcm90b3R5cGUuZXZlcnkgPT09ICIyMDEwIik7CgogICAgICAgICAgICB2YXIgaXNFbnVtZXJhYmxlID0gZmFsc2U7CgogICAgICAgICAgICBmb3IgKHZhciBwcm9wIGluIEFycmF5LnByb3RvdHlwZSkgewogICAgICAgICAgICAgICAgaWYgKHByb3AgPT09ICJldmVyeSIpIHsKICAgICAgICAgICAgICAgICAgICBpc0VudW1lcmFibGUgPSB0cnVlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CgogICAgICAgICAgICBkZWxldGUgQXJyYXkucHJvdG90eXBlLmV2ZXJ5OwoKICAgICAgICAgICAgdmFyIGlzQ29uZmlndXJhYmxlID0gIUFycmF5LnByb3RvdHlwZS5oYXNPd25Qcm9wZXJ0eSgiZXZlcnkiKTsKCiAgICAgICAgICAgIHJldHVybiBwcm9wZXJ0eUFyZUNvcnJlY3QgJiYgaXNXcml0YWJsZSAmJiAhaXNFbnVtZXJhYmxlICYmIGlzQ29uZmlndXJhYmxlOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShBcnJheS5wcm90b3R5cGUsICJldmVyeSIsIHsKICAgICAgICAgICAgICAgIHZhbHVlOiB0ZW1wLAogICAgICAgICAgICAgICAgd3JpdGFibGU6IHRydWUsCiAgICAgICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZSwKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICB9KTsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJ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3R5cGUpIHsKICAgICAgICAgICAgICAgIGlmIChwcm9wID09PSAic29tZSIpIHsKICAgICAgICAgICAgICAgICAgICBpc0VudW1lcmFibGUgPSB0cnVlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CgogICAgICAgICAgICBkZWxldGUgQXJyYXkucHJvdG90eXBlLnNvbWU7CgogICAgICAgICAgICB2YXIgaXNDb25maWd1cmFibGUgPSAhQXJyYXkucHJvdG90eXBlLmhhc093blByb3BlcnR5KCJzb21lIik7CgogICAgICAgICAgICByZXR1cm4gcHJvcGVydHlBcmVDb3JyZWN0ICYmIGlzV3JpdGFibGUgJiYgIWlzRW51bWVyYWJsZSAmJiBpc0NvbmZpZ3VyYWJsZTsKICAgICAgICB9IGZpbmFsbHkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoQXJyYXkucHJvdG90eXBlLCAic29tZSIsIHsKICAgICAgICAgICAgICAgIHZhbHVlOiB0ZW1wLAogICAgICAgICAgICAgICAgd3JpdGFibGU6IHRydWUsCiAgICAgICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZSwKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICB9KTsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuRXhpc3RzKE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IpICYmIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5zb21lKTsKICAgIH0KfSk7Cgo=","id":"15.2.3.6-4-615"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTYxNiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC02MTYuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBhbGwgYXR0cmlidXRlcyBpbiBBcnJheS5wcm90b3R5cGUuZm9yRWFjaCBhcmUgY29ycmVjdCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIGRlc2MgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKEFycmF5LnByb3RvdHlwZSwgImZvckVhY2giKTsKCiAgICAgICAgdmFyIHByb3BlcnR5QXJlQ29ycmVjdCA9IChkZXNjLndyaXRhYmxlID09PSB0cnVlICYmIGRlc2MuZW51bWVyYWJsZSA9PT0gZmFsc2UgJiYgZGVzYy5jb25maWd1cmFibGUgPT09IHRydWUpOwoKICAgICAgICB2YXIgdGVtcCA9IEFycmF5LnByb3RvdHlwZS5mb3JFYWNoOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBBcnJheS5wcm90b3R5cGUuZm9yRWFjaCA9ICIyMDEwIjsKCiAgICAgICAgICAgIHZhciBpc1dyaXRhYmxlID0gKEFycmF5LnByb3RvdHlwZS5mb3JFYWNoID09PSAiMjAxMCIpOwoKICAgICAgICAgICAgdmFyIGlzRW51bWVyYWJsZSA9IGZhbHNlOwoKICAgICAgICAgICAgZm9yICh2YXIgcHJvcCBpbiBBcnJheS5wcm90b3R5cGUpIHsKICAgICAgICAgICAgICAgIGlmIChwcm9wID09PSAiZm9yRWFjaCIpIHsKICAgICAgICAgICAgICAgICAgICBpc0VudW1lcmFibGUgPSB0cnVlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CgogICAgICAgICAgICBkZWxldGUgQXJyYXkucHJvdG90eXBlLmZvckVhY2g7CgogICAgICAgICAgICB2YXIgaXNDb25maWd1cmFibGUgPSAhQXJyYXkucHJvdG90eXBlLmhhc093blByb3BlcnR5KCJmb3JFYWNoIik7CgogICAgICAgICAgICByZ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dG90eXBlLCAibWFwIik7CgogICAgICAgIHZhciBwcm9wZXJ0eUFyZUNvcnJlY3QgPSAoZGVzYy53cml0YWJsZSA9PT0gdHJ1ZSAmJiBkZXNjLmVudW1lcmFibGUgPT09IGZhbHNlICYmIGRlc2MuY29uZmlndXJhYmxlID09PSB0cnVlKTsKCiAgICAgICAgdmFyIHRlbXAgPSBBcnJheS5wcm90b3R5cGUubWFwOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBBcnJheS5wcm90b3R5cGUubWFwID0gIjIwMTAiOwoKICAgICAgICAgICAgdmFyIGlzV3JpdGFibGUgPSAoQXJyYXkucHJvdG90eXBlLm1hcCA9PT0gIjIwMTAiKTsKCiAgICAgICAgICAgIHZhciBpc0VudW1lcmFibGUgPSBmYWxzZTsKCiAgICAgICAgICAgIGZvciAodmFyIHByb3AgaW4gQXJyYXkucHJvdG90eXBlKSB7CiAgICAgICAgICAgICAgICBpZiAocHJvcCA9PT0gIm1hcCIpIHsKICAgICAgICAgICAgICAgICAgICBpc0VudW1lcmFibGUgPSB0cnVlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CgogICAgICAgICAgICBkZWxldGUgQXJyYXkucHJvdG90eXBlLm1hcDsKCiAgICAgICAgICAgIHZhciBpc0NvbmZpZ3VyYWJsZSA9ICFBcnJheS5wcm90b3R5cGUuaGFzT3duUHJvcGVydHkoIm1hcCIpOwoKICAgICAgICAgICAgcmV0dXJuIHByb3BlcnR5QXJlQ29ycmVjdCAmJiBpc1dyaXRhYmxlICYmICFpc0VudW1lcmFibGUgJiYgaXNDb25maWd1cmFibGU7CiAgICAgICAgfSBmaW5hbGx5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KEFycmF5LnByb3RvdHlwZSwgIm1hcCIsIHsKICAgICAgICAgICAgICAgIHZhbHVlOiB0ZW1wLAogICAgICAgICAgICAgICAgd3JpdGFibGU6IHRydWUsCiAgICAgICAgICAgICAgICBlbnVtZXJhYmxlO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gICAgICAgdmFyIGlzV3JpdGFibGUgPSAoQXJyYXkucHJvdG90eXBlLmZpbHRlciA9PT0gIjIwMTAiKTsKCiAgICAgICAgICAgIHZhciBpc0VudW1lcmFibGUgPSBmYWxzZTsKCiAgICAgICAgICAgIGZvciAodmFyIHByb3AgaW4gQXJyYXkucHJvdG90eXBlKSB7CiAgICAgICAgICAgICAgICBpZiAocHJvcCA9PT0gImZpbHRlciIpIHsKICAgICAgICAgICAgICAgICAgICBpc0VudW1lcmFibGUgPSB0cnVlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CgogICAgICAgICAgICBkZWxldGUgQXJyYXkucHJvdG90eXBlLmZpbHRlcjsKCiAgICAgICAgICAgIHZhciBpc0NvbmZpZ3VyYWJsZSA9ICFBcnJheS5wcm90b3R5cGUuaGFzT3duUHJvcGVydHkoImZpbHRlciIpOwoKICAgICAgICAgICAgcmV0dXJuIHByb3BlcnR5QXJlQ29ycmVjdCAmJiBpc1dyaXRhYmxlICYmICFpc0VudW1lcmFibGUgJiYgaXNDb25maWd1cmFibGU7CiAgICAgICAgfSBmaW5hbGx5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KEFycmF5LnByb3RvdHlwZSwgImZpbHRlciIsIHsKICAgICAgICAgICAgICAgIHZhbHVlOiB0ZW1wLAogICAgICAgICAgICAgICAgd3JpdGFibGU6IHRydWUsCiAgICAgICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZSwKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICB9KTsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuRXhpc3RzKE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IpICYmIGZuRXhpc3RzKEFycmF5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OwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CgogICAgICAgICAgICBkZWxldGUgQXJyYXkucHJvdG90eXBlLnJlZHVjZTsKCiAgICAgICAgICAgIHZhciBpc0NvbmZpZ3VyYWJsZSA9ICFBcnJheS5wcm90b3R5cGUuaGFzT3duUHJvcGVydHkoInJlZHVjZSIpOwoKICAgICAgICAgICAgcmV0dXJuIHByb3BlcnR5QXJlQ29ycmVjdCAmJiBpc1dyaXRhYmxlICYmICFpc0VudW1lcmFibGUgJiYgaXNDb25maWd1cmFibGU7CiAgICAgICAgfSBmaW5hbGx5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KEFycmF5LnByb3RvdHlwZSwgInJlZHVjZSIsIHsKICAgICAgICAgICAgICAgIHZhbHVlOiB0ZW1wLAogICAgICAgICAgICAgICAgd3JpdGFibGU6IHRydWUsCiAgICAgICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZSwKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICB9KTsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuRXhpc3RzKE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IpICYmIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5yZWR1Y2UpOwogICAgfQp9KTsKCg==","id":"15.2.3.6-4-619"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTYyIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuNi8xNS4yLjMuNi00LTYyLmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5kZWZpbmVQcm9wZ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ID0gKGRlc2Mud3JpdGFibGUgPT09IHRydWUgJiYgZGVzYy5lbnVtZXJhYmxlID09PSBmYWxzZSAmJiBkZXNjLmNvbmZpZ3VyYWJsZSA9PT0gdHJ1ZSk7CgogICAgICAgIHZhciB0ZW1wID0gQXJyYXkucHJvdG90eXBlLnJlZHVjZVJpZ2h0OwoKICAgICAgICB0cnkgewogICAgICAgICAgICBBcnJheS5wcm90b3R5cGUucmVkdWNlUmlnaHQgPSAiMjAxMCI7CgogICAgICAgICAgICB2YXIgaXNXcml0YWJsZSA9IChBcnJheS5wcm90b3R5cGUucmVkdWNlUmlnaHQgPT09ICIyMDEwIik7CgogICAgICAgICAgICB2YXIgaXNFbnVtZXJhYmxlID0gZmFsc2U7CgogICAgICAgICAgICBmb3IgKHZhciBwcm9wIGluIEFycmF5LnByb3RvdHlwZSkgewogICAgICAgICAgICAgICAgaWYgKHByb3AgPT09ICJyZWR1Y2VSaWdodCIpIHsKICAgICAgICAgICAgICAgICAgICBpc0VudW1lcmFibGUgPSB0cnVlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CgogICAgICAgICAgICBkZWxldGUgQXJyYXkucHJvdG90eXBlLnJlZHVjZVJpZ2h0OwoKICAgICAgICAgICAgdmFyIGlzQ29uZmlndXJhYmxlID0gIUFycmF5LnByb3RvdHlwZS5oYXNPd25Qcm9wZXJ0eSgicmVkdWNlUmlnaHQiKTsKCiAgICAgICAgICAgIHJldHVybiBwcm9wZXJ0eUFyZUNvcnJlY3QgJiYgaXNXcml0YWJsZSAmJiAhaXNFbnVtZXJhYmxlICYmIGlzQ29uZmlndXJhYmxlOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShBcnJheS5wcm90b3R5cGUsICJyZWR1Y2VSaWdodCIsIHsKICAgICAgICAgICAgICAgIHZhbHVlOiB0ZW1wLAogICAgICAgICAgICAgICAgd3JpdGFibGU6IHRydWUsCiAgICAgICAgICAg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0gPSAiMjAxMCI7CgogICAgICAgICAgICB2YXIgaXNXcml0YWJsZSA9IChTdHJpbmcucHJvdG90eXBlLnRyaW0gPT09ICIyMDEwIik7CgogICAgICAgICAgICB2YXIgaXNFbnVtZXJhYmxlID0gZmFsc2U7CgogICAgICAgICAgICBmb3IgKHZhciBwcm9wIGluIFN0cmluZy5wcm90b3R5cGUpIHsKICAgICAgICAgICAgICAgIGlmIChwcm9wID09PSAidHJpbSIpIHsKICAgICAgICAgICAgICAgICAgICBpc0VudW1lcmFibGUgPSB0cnVlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CgogICAgICAgICAgICBkZWxldGUgU3RyaW5nLnByb3RvdHlwZS50cmltOwoKICAgICAgICAgICAgdmFyIGlzQ29uZmlndXJhYmxlID0gIVN0cmluZy5wcm90b3R5cGUuaGFzT3duUHJvcGVydHkoInRyaW0iKTsKCiAgICAgICAgICAgIHJldHVybiBwcm9wZXJ0eUFyZUNvcnJlY3QgJiYgaXNXcml0YWJsZSAmJiAhaXNFbnVtZXJhYmxlICYmIGlzQ29uZmlndXJhYmxlOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShTdHJpbmcucHJvdG90eXBlLCAidHJpbSIsIHsKICAgICAgICAgICAgICAgIHZhbHVlOiB0ZW1wLAogICAgICAgICAgICAgICAgd3JpdGFibGU6IHRydWUsCiAgICAgICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZSwKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICB9KTsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuRXhpc3RzKE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IpICYmIGZuRXhpc3RzKFN0cmluZy5wcm90b3R5cGUudHJpbSk7CiAgICB9Cn0pOwoK","id":"15.2.3.6-4-621"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTYyMiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjYvMTUuMi4zLjYtNC02MjIuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiRVM1IEF0dHJpYnV0ZXMgLSBhbGwgYXR0cmlidXRlcyBpbiBEYXRlLm5vdyBhcmUgY29ycmVjdCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIGRlc2MgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKERhdGUsICJub3ciKTsKCiAgICAgICAgdmFyIHByb3BlcnR5QXJlQ29ycmVjdCA9IChkZXNjLndyaXRhYmxlID09PSB0cnVlICYmIGRlc2MuZW51bWVyYWJsZSA9PT0gZmFsc2UgJiYgZGVzYy5jb25maWd1cmFibGUgPT09IHRydWUpOwoKICAgICAgICB2YXIgdGVtcCA9IERhdGUubm93OwoKICAgICAgICB0cnkgewogICAgICAgICAgICBEYXRlLm5vdyA9ICIyMDEwIjsKCiAgICAgICAgICAgIHZhciBpc1dyaXRhYmxlID0gKERhdGUubm93ID09PSAiMjAxMCIpOwoKICAgICAgICAgICAgdmFyIGlzRW51bWVyYWJsZSA9IGZhbHNlOwoKICAgICAgICAgICAgZm9yICh2YXIgcHJvcCBpbiBEYXRlKSB7CiAgICAgICAgICAgICAgICBpZiAocHJvcCA9PT0gIm5vdyIpIHsKICAgICAgICAgICAgICAgICAgICBpc0VudW1lcmFibGUgPSB0cnVlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CgogICAgICAgICAgICBkZWxldGUgRGF0ZS5ub3c7CgogICAgICAgICAgICB2YXIgaXNDb25maWd1cmFib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XNjcmlwdG9yKERhdGUucHJvdG90eXBlLCAidG9JU09TdHJpbmciKTsKCiAgICAgICAgdmFyIHByb3BlcnR5QXJlQ29ycmVjdCA9IChkZXNjLndyaXRhYmxlID09PSB0cnVlICYmIGRlc2MuZW51bWVyYWJsZSA9PT0gZmFsc2UgJiYgZGVzYy5jb25maWd1cmFibGUgPT09IHRydWUpOwoKICAgICAgICB2YXIgdGVtcCA9IERhdGUucHJvdG90eXBlLnRvSVNPU3RyaW5nOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBEYXRlLnByb3RvdHlwZS50b0lTT1N0cmluZyA9ICIyMDEwIjsKCiAgICAgICAgICAgIHZhciBpc1dyaXRhYmxlID0gKERhdGUucHJvdG90eXBlLnRvSVNPU3RyaW5nID09PSAiMjAxMCIpOwoKICAgICAgICAgICAgdmFyIGlzRW51bWVyYWJsZSA9IGZhbHNlOwoKICAgICAgICAgICAgZm9yICh2YXIgcHJvcCBpbiBEYXRlLnByb3RvdHlwZSkgewogICAgICAgICAgICAgICAgaWYgKHByb3AgPT09ICJ0b0lTT1N0cmluZyIpIHsKICAgICAgICAgICAgICAgICAgICBpc0VudW1lcmFibGUgPSB0cnVlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CgogICAgICAgICAgICBkZWxldGUgRGF0ZS5wcm90b3R5cGUudG9JU09TdHJpbmc7CgogICAgICAgICAgICB2YXIgaXNDb25maWd1cmFibGUgPSAhRGF0ZS5wcm90b3R5cGUuaGFzT3duUHJvcGVydHkoInRvSVNPU3RyaW5nIik7CgogICAgICAgICAgICByZXR1cm4gcHJvcGVydHlBcmVDb3JyZWN0ICYmIGlzV3JpdGFibGUgJiYgIWlzRW51bWVyYWJsZSAmJiBpc0NvbmZpZ3VyYWJsZTsKICAgICAgICB9IGZpbmFsbHkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoRGF0ZS5wcm90b3R5cGUsICJ0b0lTT1N0cmluZyIsIHsKICAgICAgICAgICAgIC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3R5cGUudG9KU09OOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBEYXRlLnByb3RvdHlwZS50b0pTT04gPSAiMjAxMCI7CgogICAgICAgICAgICB2YXIgaXNXcml0YWJsZSA9IChEYXRlLnByb3RvdHlwZS50b0pTT04gPT09ICIyMDEwIik7CgogICAgICAgICAgICB2YXIgaXNFbnVtZXJhYmxlID0gZmFsc2U7CgogICAgICAgICAgICBmb3IgKHZhciBwcm9wIGluIERhdGUucHJvdG90eXBlKSB7CiAgICAgICAgICAgICAgICBpZiAocHJvcCA9PT0gInRvSlNPTiIpIHsKICAgICAgICAgICAgICAgICAgICBpc0VudW1lcmFibGUgPSB0cnVlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CgogICAgICAgICAgICBkZWxldGUgRGF0ZS5wcm90b3R5cGUudG9KU09OOwoKICAgICAgICAgICAgdmFyIGlzQ29uZmlndXJhYmxlID0gIURhdGUucHJvdG90eXBlLmhhc093blByb3BlcnR5KCJ0b0pTT04iKTsKCiAgICAgICAgICAgIHJldHVybiBwcm9wZXJ0eUFyZUNvcnJlY3QgJiYgaXNXcml0YWJsZSAmJiAhaXNFbnVtZXJhYmxlICYmIGlzQ29uZmlndXJhYmxlOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShEYXRlLnByb3RvdHlwZSwgInRvSlNPTiIsIHsKICAgICAgICAgICAgICAgIHZhbHVlOiB0ZW1wLAogICAgICAgICAgICAgICAgd3JpdGFibGU6IHRydWUsCiAgICAgICAgICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZSwKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICB9KTsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuRXhpc3RzKE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IpICYmIGZuRXhpc3RzKERhdGUucHJvdG90eXBlLnRvSlNPTik7CiAgICB9Cn0pOwoK","id":"15.2.3.6-4-624"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTYzIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuNi8xNS4yLjMuNi00LTYzLmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5kZWZpbmVQcm9wZXJ0eSAtIGJvdGggZGVzYy52YWx1ZSBhbmQgbmFtZS52YWx1ZSBhcmUgTmFOICg4LjEyLjkgc3RlcCA2KSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIHZhciBvYmogPSB7fTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgImZvbyIsIHsgdmFsdWU6IE5hTiB9KTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgImZvbyIsIHsgdmFsdWU6IE5hTiB9KTsKCiAgICAgICAgaWYgKCFpc05hTihvYmouZm9vKSkgewogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfQoKICAgICAgICBvYmouZm9vID0gInZlcmlmeVZhbHVlIjsKICAgICAgICBpZiAob2JqLmZvbyA9PT0gInZlcmlmeVZhbHVlIikgewogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfQoKICAgICAgICBmb3IgKHZhciBwcm9wIGluIG9iaikgewogICAgICAgICAgICBpZiAob2JqLmhhc093blByb3BlcnR5KHByb3ApICYmIHByb3AgPT09ICJmb28iKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgIH0KICAgICAgICB9CgogICAgICAgIGRlbGV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ZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-4-64"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTY1IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuNi8xNS4yLjMuNi00LTY1LmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5kZWZpbmVQcm9wZXJ0eSAtIGRlc2MudmFsdWUgPSAtMCBhbmQgbmFtZS52YWx1ZSA9ICswICg4LjEyLjkgc3RlcCA2KSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIHZhciBvYmogPSB7fTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgImZvbyIsIHsgdmFsdWU6ICswIH0pOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAiZm9vIiwgeyB2YWx1ZTogLTAgfSk7CiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgIHJldHVybiBlIGluc3RhbmNlb2YgVHlwZUVycm9yICYmIGRhdGFQcm9wZXJ0eUF0dHJpYnV0ZXNBcmVDb3JyZWN0KG9iaiwgImZvbyIsICswLCBmYWxzZSwgZmFsc2UsIGZhbHNlKTsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-4-65"},{"code":"RVM1SGFybmVzcy5yZWdpc3Rlcl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HsKICAgICAgICAgICAgcmV0dXJuIG9iai52ZXJpZnlTZXRGdW5jdGlvbjsKICAgICAgICB9OwogICAgICAgIHZhciBzZXRfZnVuYyA9IGZ1bmN0aW9uICh2YWx1ZSkgewogICAgICAgICAgICBvYmoudmVyaWZ5U2V0RnVuY3Rpb24gPSB2YWx1ZTsKICAgICAgICB9OwogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICIwIiwgewogICAgICAgICAgICBnZXQ6IGdldF9mdW5jLAogICAgICAgICAgICBzZXQ6IHNldF9mdW5jLAogICAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgIjAiLCB7CiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICB9KTsKCiAgICAgICAgcmV0dXJuIGFjY2Vzc29yUHJvcGVydHlBdHRyaWJ1dGVzQXJlQ29ycmVjdChvYmosICIwIiwgZ2V0X2Z1bmMsIHNldF9mdW5jLCAidmVyaWZ5U2V0RnVuY3Rpb24iLCB0cnVlLCBmYWxzZSk7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuRXhpc3RzKE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IpOwogICAgfQp9KTsK","id":"15.2.3.6-4-82-21"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTgyLTIyIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuNi8xNS4yLjMuNi00LTgyLTIyLmpzIiwKCiAgICBkZXNjcmlwdGlv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lcCA4KSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIHZhciBvYmogPSB7fTsKICAgICAgICBvYmoudmVyaWZ5U2V0RnVuY3Rpb24gPSAiZGF0YSI7CiAgICAgICAgdmFyIGdldF9mdW5jID0gZnVuY3Rpb24gKCkgewogICAgICAgICAgICByZXR1cm4gb2JqLnZlcmlmeVNldEZ1bmN0aW9uOwogICAgICAgIH07CiAgICAgICAgdmFyIHNldF9mdW5jID0gZnVuY3Rpb24gKHZhbHVlKSB7CiAgICAgICAgICAgIG9iai52ZXJpZnlTZXRGdW5jdGlvbiA9IHZhbHVlOwogICAgICAgIH07CiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgImZvbyIsIHsKICAgICAgICAgICAgZ2V0OiBnZXRfZnVuYywKICAgICAgICAgICAgc2V0OiBzZXRfZnVuYywKICAgICAgICAgICAgZW51bWVyYWJsZTogdHJ1ZSwKICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgfSk7CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJmb28iLCB7CiAgICAgICAgICAgIGVudW1lcmFibGU6IGZhbHNlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICB9KTsKCiAgICAgICAgcmV0dXJuIGFjY2Vzc29yUHJvcGVydHlBdHRyaWJ1dGVzQXJlQ29ycmVjdChvYmosICJmb28iLCBnZXRfZnVuYywgc2V0X2Z1bmMsICJ2ZXJpZnlTZXRGdW5jdGlvbiIsIGZhbHNlLCB0cnVlKTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSkgJiYgZm5FeGlzdHMoT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcik7CiAgICB9Cn0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gICAgICAgdmFyIG9iaiA9IHt9OwoKICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAiZm9vIiwgewogICAgICAgICAgICB2YWx1ZTogTmFOLAogICAgICAgICAgICB3cml0YWJsZTogZmFsc2UsCiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICB9KTsKCiAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgImZvbyIsIHsKICAgICAgICAgICAgdmFsdWU6IE5hTiwKICAgICAgICAgICAgd3JpdGFibGU6IGZhbHNlLAogICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgfSk7CgogICAgICAgIGlmICghaXNOYU4ob2JqLmZvbykpIHsKICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0KCiAgICAgICAgb2JqLmZvbyA9ICJ2ZXJpZnlWYWx1ZSI7CiAgICAgICAgaWYgKG9iai5mb28gPT09ICJ2ZXJpZnlWYWx1ZSIpIHsKICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0KCiAgICAgICAgZm9yICh2YXIgcHJvcCBpbiBvYmopIHsKICAgICAgICAgICAgaWYgKG9iai5oYXNPd25Qcm9wZXJ0eShwcm9wKSAmJiBwcm9wID09PSAiZm9vIikgewogICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICB9CiAgICAgICAgfQoKICAgICAgICBkZWxldGUgb2JqLmZvbzsKICAgICAgICBpZiAoIW9iai5oYXNPd25Qcm9wZXJ0eSgiZm9vIikpIHsKICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0KCiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.2.3.6-4-85"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTg2IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuNi8xNS4yLjMuNi00LTg2LmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5kZWZpbmVQcm9wZXJ0eSB3aWxsIHRocm93IFR5cGVFcnJvciB3aGVuIG5hbWUuY29uZmlndXJhYmxlID0gZmFsc2UsIG5hbWUud3JpdGFibGUgPSBmYWxzZSwgZGVzYy52YWx1ZSA9ICswIGFuZCBuYW1lLnZhbHVlID0gLTAgKDguMTIuOSBzdGVwIDEwLmEuaWkuMSkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICAgICAgICB2YXIgb2JqID0ge307CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJmb28iLCB7IAogICAgICAgICAgICB2YWx1ZTogLTAsIAogICAgICAgICAgICB3cml0YWJsZTogZmFsc2UsIAogICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlIAogICAgICAgIH0pOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAiZm9vIiwgeyB2YWx1ZTogKzAgfSk7CiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgIHJldHVybiBlIGluc3RhbmNlb2YgVHlwZUVycm9yICYmIGRhdGFQcm9wZXJ0eUF0dHJpYnV0ZXNBcmVDb3JyZWN0KG9iaiwgImZvbyIsIC0wLCBmYWxzZSwgZmFsc2UsIGZhbHNlKTsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsKCgo=","id":"15.2.3.6-4-86"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTg3IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuNi8xNS4yLjMuNi00LTg3LmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5kZWZpbmVQcm9wZXJ0eSB3aWxsIHRocm93IFR5cGVFcnJvciB3aGVuIG5hbWUuY29uZmlndXJhYmxlID0gZmFsc2UsIG5hbWUud3JpdGFibGUgPSBmYWxzZSwgZGVzYy52YWx1ZSA9IC0wIGFuZCBuYW1lLnZhbHVlID0gKzAgKDguMTIuOSBzdGVwIDEwLmEuaWkuMSkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICAgICAgICB2YXIgb2JqID0ge307CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJmb28iLCB7IAogICAgICAgICAgICB2YWx1ZTogKzAsIAogICAgICAgICAgICB3cml0YWJsZTogZmFsc2UsIAogICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlIAogICAgICAgIH0pOwoKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAiZm9vIiwgeyB2YWx1ZTogLTAgfSk7CiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgIHJldHVybiBlIGluc3RhbmNlb2YgVHlwZUVycm9yICYmIGRhdGFQcm9wZXJ0eUF0dHJpYnV0ZXNBcmVDb3JyZWN0KG9iaiwgImZvbyIsICswLCBmYWxzZSwgZmFsc2UsIGZhbHNlKTsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcH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2FzZSgpIHsKCiAgICAgICAgdmFyIG9iaiA9IHt9OwoKICAgICAgICBmdW5jdGlvbiBnZXRGdW5jKCkgewogICAgICAgICAgICByZXR1cm4gInByb3BlcnR5IjsKICAgICAgICB9CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wZXJ0eSIsIHsKICAgICAgICAgICAgZ2V0OiBnZXRGdW5jLAogICAgICAgICAgICBjb25maWd1cmFibGU6IGZhbHNlCiAgICAgICAgfSk7CgogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wZXJ0eSIsIHsKICAgICAgICAgICAgICAgIGdldDogZ2V0RnVuYywKICAgICAgICAgICAgICAgIHNldDogZnVuY3Rpb24gKCkgeyB9LAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgICAgICB9KTsKCiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgIHJldHVybiBlIGluc3RhbmNlb2YgVHlwZUVycm9yICYmCiAgICAgICAgICAgICAgICBhY2Nlc3NvclByb3BlcnR5QXR0cmlidXRlc0FyZUNvcnJlY3Qob2JqLCAicHJvcGVydHkiLCBnZXRGdW5jLCB1bmRlZmluZWQsIHVuZGVmaW5lZCwgZmFsc2UsIGZhbHNlKTsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpICYmIGZuRXhpc3RzKE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IpOwogICAgfQp9KTs=","id":"15.2.3.6-4-97"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTk4IiwKCiAgICBwYXRoOiAiV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CAoZSkgewogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7","id":"15.2.3.6-4-98"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuNi00LTk5IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuNi8xNS4yLjMuNi00LTk5LmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5kZWZpbmVQcm9wZXJ0eSB3aWxsIHRocm93IFR5cGVFcnJvciB3aGVuIG5hbWUuY29uZmlndXJhYmxlID0gZmFsc2UsIG5hbWUuW1tHZXRdXSBpcyB1bmRlZmluZWQsIGRlc2MuW1tHZXRdXSByZWZlcnMgdG8gYW4gb2JqY2V0ICg4LjEyLjkgc3RlcCAxMS5hLmlpKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIHZhciBvYmogPSB7fTsKCiAgICAgICAgZnVuY3Rpb24gc2V0RnVuYyh2YWx1ZSkgewogICAgICAgICAgICBvYmouc2V0VmVyaWZ5SGVscFByb3AgPSB2YWx1ZTsKICAgICAgICB9CgogICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJmb28iLCB7CiAgICAgICAgICAgIHNldDogc2V0RnVuYywKICAgICAgICAgICAgY29uZmlndXJhYmxlOiBmYWxzZQogICAgICAgIH0pOwoKICAgICAgICBmdW5jdGlvbiBnZXRGdW5jKCkgewogICAgICAgICAgICByZXR1cm4gMTA7CiAgICAgICAgfQoKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAiZm9vIiwgewogICAgICAgICAgICAgICAgZ2V0OiBnZXRGdW5jLAogICAgICAgICAgICAgICAgc2V0OiBzZXRGdW5jCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICByZXR1cm4gZSBpbnN0YW5jZW9mIFR5cGVFcnJvciAmJiBhY2Nlc3NvclByb3BlcnR5QXR0cmlidXRlc0FyZUNvcnJlY3Qob2JqLCAiZm9vIiwgdW5kZWZpbmVkLCBzZXRGdW5jLCAic2V0VmVyaWZ5SGVscFByb3AiLCBmYWxzZSwgZmFsc2UpOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSk7CiAgICB9Cn0pOw==","id":"15.2.3.6-4-99"}]}} \ No newline at end of file diff --git a/website/resources/scripts/testcases/15.3.json b/website/resources/scripts/testcases/15.3.json index ee35faacae..a51df57ab8 100644 --- a/website/resources/scripts/testcases/15.3.json +++ b/website/resources/scripts/testcases/15.3.json @@ -1 +1 @@ -{"testsCollection":{"name":"Chapter - 15.3","numTests":"93","tests":[{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxNS4zLjIuMS0xMS0xIiwKCnBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjMvMTUuMy4yLzE1LjMuMi4xLzE1LjMuMi4xLTExLTEuanMiLAoKZGVzY3JpcHRpb246ICJEdXBsaWNhdGUgc2VwYXJhdGUgcGFyYW1ldGVyIG5hbWUgaW4gRnVuY3Rpb24gY29uc3RydWN0b3IgYWxsb3dlZCBpZiBib2R5IG5vdCBzdHJpY3QiLAoKdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKQp7ICAgCiAgICBGdW5jdGlvbignYScsJ2EnLCdyZXR1cm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hcmd1bWVudHMubGVuZ3RoID09PSAyKTsKICAgICAgICB9OwoKICAgICAgICB2YXIgb2JqID0gZm9vLmJpbmQoe30sICJhIiwgImIiKTsKICAgICAgICByZXR1cm4gb2JqKCk9PXRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhGdW5jdGlvbi5wcm90b3R5cGUuYmluZCk7CiAgICB9Cn0pOwo=","id":"15.3.4.5-3-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4zLjQuNS02LTEiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjMvMTUuMy40LzE1LjMuNC41LzE1LjMuNC41LTYtMS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJGdW5jdGlvbi5wcm90b3R5cGUuYmluZCAtIEYgY2FuIGdldCBvd24gZGF0YSBwcm9wZXJ0eSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIHZhciBmb28gPSBmdW5jdGlvbiAoKSB7IH07CgogICAgICAgIHZhciBvYmogPSBmb28uYmluZCh7fSk7CiAgICAgICAgb2JqLnByb3BlcnR5ID0gMTI7CiAgICAgICAgcmV0dXJuIG9iai5wcm9wZXJ0eSA9PT0gMTI7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhGdW5jdGlvbi5wcm90b3R5cGUuYmluZCk7CiAgICB9Cn0pOwo=","id":"15.3.4.5-6-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4zLjQuNS02LTEwIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4zLzE1LjMuNC8xNS4zLjQuNS8xNS4zLjQuNS02LTEw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KICAgICAgICAgICAgRnVuY3Rpb24ucHJvdG90eXBlLnByb3BlcnR5ID0gMTI7CiAgICAgICAgICAgIHJldHVybiBvYmoucHJvcGVydHkgPT09IDEyOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIGRlbGV0ZSBGdW5jdGlvbi5wcm90b3R5cGUucHJvcGVydHk7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoRnVuY3Rpb24ucHJvdG90eXBlLmJpbmQpOwogICAgfQp9KTsK","id":"15.3.4.5-6-2"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4zLjQuNS02LTMiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjMvMTUuMy40LzE1LjMuNC41LzE1LjMuNC41LTYtMy5qcyIsCgogICAgZGVzY3JpcHRpb246ICJGdW5jdGlvbi5wcm90b3R5cGUuYmluZCAtIEYgY2FuIGdldCBvd24gZGF0YSBwcm9wZXJ0eSB0aGF0IG92ZXJyaWRlcyBhbiBpbmhlcml0ZWQgZGF0YSBwcm9wZXJ0eSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIHZhciBmb28gPSBmdW5jdGlvbiAoKSB7IH07CgogICAgICAgIHZhciBvYmogPSBmb28uYmluZCh7fSk7CgogICAgICAgIHRyeSB7CiAgICAgICAgICAgIEZ1bmN0aW9uLnByb3RvdHlwZS5wcm9wZXJ0eSA9IDM7CiAgICAgICAgICAgIG9iai5wcm9wZXJ0eSA9IDEyOwogICAgICAgICAgICByZXR1cm4gb2JqLnByb3BlcnR5ID09PSAxMjsKICAgICAgICB9IGZpbmFsbHkgewogICAgICAgICAgICBkZWxldGUgRnVuY3Rpb24ucHJvdG90eXBlLnByb3BlcnR5OwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKEZ1bmN0aW9uLnByb3RvdHlwZS5iaW5kKTsKICAgIH0KfSk7Cg==","id":"15.3.4.5-6-3"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4zLjQuNS02LTQiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjMvMTUuMy40LzE1LjMuNC41LzE1LjMuNC41LTYtNC5qcyIsCgogICAgZGVzY3JpcHRpb246ICJGdW5jdGlvbi5wcm90b3R5cGUuYmluZCAtIEYgY2FuIGdldCBvd24gZGF0YSBwcm9wZXJ0eSB0aGF0IG92ZXJyaWRlcyBhbiBpbmhlcml0ZWQgYWNjZXNzb3IgcHJvcGVydHkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICAgICAgICB2YXIgZm9vID0gZnVuY3Rpb24gKCkgeyB9OwoKICAgICAgICB2YXIgb2JqID0gZm9vLmJpbmQoe30pOwogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShGdW5jdGlvbi5wcm90b3R5cGUsICJwcm9wZXJ0eSIsIHsKICAgICAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgICAgIHJldHVybiAzOwogICAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICB9KTsKICAgICAgICAgICAKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3BlcnR5IiwgewogICAgICAgICAgICAgICAgdmFsdWU6IDEyCiAgICAgICAgICAgIH0pOwoKICAgICAgICAgICAgcmV0dXJuIG9iai5wcm9wZXJ0eSA9PT0gMTI7CiAgICAgICAgfSBmaW5hbG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9KTsK","id":"15.3.4.5-6-5"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4zLjQuNS02LTYiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjMvMTUuMy40LzE1LjMuNC41LzE1LjMuNC41LTYtNi5qcyIsCgogICAgZGVzY3JpcHRpb246ICJGdW5jdGlvbi5wcm90b3R5cGUuYmluZCAtIEYgY2FuIGdldCBpbmhlcml0ZWQgYWNjZXNzb3IgcHJvcGVydHkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICAgICAgICB2YXIgZm9vID0gZnVuY3Rpb24gKCkgeyB9OwoKICAgICAgICB2YXIgb2JqID0gZm9vLmJpbmQoe30pOwogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShGdW5jdGlvbi5wcm90b3R5cGUsICJwcm9wZXJ0eSIsIHsKICAgICAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgICAgIHJldHVybiAxMjsKICAgICAgICAgICAgICAgIH0sCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIHJldHVybiBvYmoucHJvcGVydHkgPT09IDEyOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIGRlbGV0ZSBGdW5jdGlvbi5wcm90b3R5cGUucHJvcGVydHk7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoRnVuY3Rpb24ucHJvdG90eXBlLmJpbmQpICYmIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSk7CiAgICB9Cn0pOwo=","id":"15.3.4.5-6-6"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4zLjQuNS02LTciLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjMvMTUuMy40LzE1LjMuNC41LzE1LjMuNC41LTYtNy5qcyIsCgogICAgZGVzY3JpcHRpb246ICJGdW5jdGlvbi5wcm90b3R5cGUuYmluZCAtIEYgY2FuIGdldCBvd24gYWNjZXNzb3IgcHJvcGVydHkgdGhhdCBvdmVycmlkZXMgYW4gaW5oZXJpdGVkIGRhdGEgcHJvcGVydHkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICAgICAgICB2YXIgZm9vID0gZnVuY3Rpb24gKCkgeyB9OwoKICAgICAgICB2YXIgb2JqID0gZm9vLmJpbmQoe30pOwogICAgICAgIHRyeSB7CiAgICAgICAgICAgIEZ1bmN0aW9uLnByb3RvdHlwZS5wcm9wZXJ0eSA9IDM7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wZXJ0eSIsIHsKICAgICAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgICAgIHJldHVybiAxMjsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIHJldHVybiBvYmoucHJvcGVydHkgPT09IDEyOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIGRlbGV0ZSBGdW5jdGlvbi5wcm90b3R5cGUucHJvcGVydHk7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoRnVuY3Rpb24ucHJvdG90eXBlLmJpbmQpICYmIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSk7CiAgICB9Cn0pOwo=","id":"15.3.4.5-6-7"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4zLjQuNS02LTgiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjMvMTUuMy40LzE1LjMuNC41LzE1LjMuNC41LTYtOC5qcyIsCgogICAgZGVzY3JpcHRpb246ICJGdW5jdGlvbi5wcm90b3R5cGUuYmluZCAtIEYgY2FuIGdldCBvd24gYWNjZXNzb3IgcHJvcGVydHkgdGhhdCBvdmVycmlkZXMgYW4gaW5oZXJpdGVkIGFjY2Vzc29yIHByb3BlcnR5IiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKCiAgICAgICAgdmFyIGZvbyA9IGZ1bmN0aW9uICgpIHsgfTsKCiAgICAgICAgdmFyIG9iaiA9IGZvby5iaW5kKHt9KTsKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoRnVuY3Rpb24ucHJvdG90eXBlLCAicHJvcGVydHkiLCB7CiAgICAgICAgICAgICAgICBnZXQ6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgICAgICByZXR1cm4gMzsKICAgICAgICAgICAgICAgIH0sCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICAgICAgfSk7CgogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcGVydHkiLCB7CiAgICAgICAgICAgICAgICBnZXQ6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgICAgICByZXR1cm4gMTI7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0pOwogICAgICAgICAgICByZXR1cm4gb2JqLnByb3BlcnR5ID09PSAxMjsKICAgICAgICB9IGZpbmFsbHkgewogICAgICAgICAgICBkZWxldGUgRnVuY3Rpb24ucHJvdG90eXBlLnByb3BlcnR5OwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICA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AgICAgICAgICAgICAgICBhcmd1bWVudHNbMV0gPT09ICJiIiAmJiBhcmd1bWVudHMubGVuZ3RoID09PSAyKTsKICAgICAgICB9OwoKICAgICAgICB2YXIgb2JqID0gZm9vLmJpbmQoe30sICJhIiwgImIiKTsKICAgICAgICByZXR1cm4gb2JqKCk9PXRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhGdW5jdGlvbi5wcm90b3R5cGUuYmluZCk7CiAgICB9Cn0pOwo=","id":"15.3.4.5-3-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4zLjQuNS02LTEiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjMvMTUuMy40LzE1LjMuNC41LzE1LjMuNC41LTYtMS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJGdW5jdGlvbi5wcm90b3R5cGUuYmluZCAtIEYgY2FuIGdldCBvd24gZGF0YSBwcm9wZXJ0eSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIHZhciBmb28gPSBmdW5jdGlvbiAoKSB7IH07CgogICAgICAgIHZhciBvYmogPSBmb28uYmluZCh7fSk7CiAgICAgICAgb2JqLnByb3BlcnR5ID0gMTI7CiAgICAgICAgcmV0dXJuIG9iai5wcm9wZXJ0eSA9PT0gMTI7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhGdW5jdGlvbi5wcm90b3R5cGUuYmluZCk7CiAgICB9Cn0pOwo=","id":"15.3.4.5-6-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4zLjQuNS02LTEwIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxN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IHZhciBvYmogPSBmb28uYmluZCh7fSk7CiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgRnVuY3Rpb24ucHJvdG90eXBlLnByb3BlcnR5ID0gMTI7CiAgICAgICAgICAgIHJldHVybiBvYmoucHJvcGVydHkgPT09IDEyOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIGRlbGV0ZSBGdW5jdGlvbi5wcm90b3R5cGUucHJvcGVydHk7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoRnVuY3Rpb24ucHJvdG90eXBlLmJpbmQpOwogICAgfQp9KTsK","id":"15.3.4.5-6-2"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4zLjQuNS02LTMiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjMvMTUuMy40LzE1LjMuNC41LzE1LjMuNC41LTYtMy5qcyIsCgogICAgZGVzY3JpcHRpb246ICJGdW5jdGlvbi5wcm90b3R5cGUuYmluZCAtIEYgY2FuIGdldCBvd24gZGF0YSBwcm9wZXJ0eSB0aGF0IG92ZXJyaWRlcyBhbiBpbmhlcml0ZWQgZGF0YSBwcm9wZXJ0eSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIHZhciBmb28gPSBmdW5jdGlvbiAoKSB7IH07CgogICAgICAgIHZhciBvYmogPSBmb28uYmluZCh7fSk7CgogICAgICAgIHRyeSB7CiAgICAgICAgICAgIEZ1bmN0aW9uLnByb3RvdHlwZS5wcm9wZXJ0eSA9IDM7CiAgICAgICAgICAgIG9iai5wcm9wZXJ0eSA9IDEyOwogICAgICAgICAgICByZXR1cm4gb2JqLnByb3BlcnR5ID09PSAxMjsKICAgICAgICB9IGZpbmFsbHkgewogICAgICAgICAgICBkZWxldGUgRnVuY3Rpb24ucHJvdG90eXBlLnByb3BlcnR5OwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKEZ1bmN0aW9uLnByb3RvdHlwZS5iaW5kKTsKICAgIH0KfSk7Cg==","id":"15.3.4.5-6-3"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4zLjQuNS02LTQiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjMvMTUuMy40LzE1LjMuNC41LzE1LjMuNC41LTYtNC5qcyIsCgogICAgZGVzY3JpcHRpb246ICJGdW5jdGlvbi5wcm90b3R5cGUuYmluZCAtIEYgY2FuIGdldCBvd24gZGF0YSBwcm9wZXJ0eSB0aGF0IG92ZXJyaWRlcyBhbiBpbmhlcml0ZWQgYWNjZXNzb3IgcHJvcGVydHkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICAgICAgICB2YXIgZm9vID0gZnVuY3Rpb24gKCkgeyB9OwoKICAgICAgICB2YXIgb2JqID0gZm9vLmJpbmQoe30pOwogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShGdW5jdGlvbi5wcm90b3R5cGUsICJwcm9wZXJ0eSIsIHsKICAgICAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgICAgIHJldHVybiAzOwogICAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICB9KTsKICAgICAgICAgICAKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KG9iaiwgInByb3BlcnR5IiwgewogICAgICAgICAgICAgICAgdmFsdWU6IDEyCiAgICAgICAgICAgIH0pOwoKICAgICAgICAgICAgcmV0dXJuIG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kV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"15.3.4.5-6-5"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4zLjQuNS02LTYiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjMvMTUuMy40LzE1LjMuNC41LzE1LjMuNC41LTYtNi5qcyIsCgogICAgZGVzY3JpcHRpb246ICJGdW5jdGlvbi5wcm90b3R5cGUuYmluZCAtIEYgY2FuIGdldCBpbmhlcml0ZWQgYWNjZXNzb3IgcHJvcGVydHkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICAgICAgICB2YXIgZm9vID0gZnVuY3Rpb24gKCkgeyB9OwoKICAgICAgICB2YXIgb2JqID0gZm9vLmJpbmQoe30pOwogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShGdW5jdGlvbi5wcm90b3R5cGUsICJwcm9wZXJ0eSIsIHsKICAgICAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgICAgIHJldHVybiAxMjsKICAgICAgICAgICAgICAgIH0sCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIHJldHVybiBvYmoucHJvcGVydHkgPT09IDEyOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIGRlbGV0ZSBGdW5jdGlvbi5wcm90b3R5cGUucHJvcGVydHk7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoRnVuY3Rpb24ucHJvdG90eXBlLmJpbmQpICYmIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSk7CiAgICB9Cn0pOwo=","id":"15.3.4.5-6-6"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4zLjQuNS02LTciLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjMvMTUuMy40LzE1LjMuNC41LzE1LjMuNC41LTYtNy5qcyIsCgogICAgZGVzY3JpcHRpb246ICJGdW5jdGlvbi5wcm90b3R5cGUuYmluZCAtIEYgY2FuIGdldCBvd24gYWNjZXNzb3IgcHJvcGVydHkgdGhhdCBvdmVycmlkZXMgYW4gaW5oZXJpdGVkIGRhdGEgcHJvcGVydHkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewoKICAgICAgICB2YXIgZm9vID0gZnVuY3Rpb24gKCkgeyB9OwoKICAgICAgICB2YXIgb2JqID0gZm9vLmJpbmQoe30pOwogICAgICAgIHRyeSB7CiAgICAgICAgICAgIEZ1bmN0aW9uLnByb3RvdHlwZS5wcm9wZXJ0eSA9IDM7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosICJwcm9wZXJ0eSIsIHsKICAgICAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgICAgIHJldHVybiAxMjsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIHJldHVybiBvYmoucHJvcGVydHkgPT09IDEyOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIGRlbGV0ZSBGdW5jdGlvbi5wcm90b3R5cGUucHJvcGVydHk7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoRnVuY3Rpb24ucHJvdG90eXBlLmJpbmQpICYmIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSk7CiAgICB9Cn0pOwo=","id":"15.3.4.5-6-7"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4zLjQuNS02LTgiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjMvMTUuMy40LzE1LjMuNC41LzE1LjMuNC41LTYtOC5qcyIsCgogICAgZGVzY3JpcHRpb246ICJGdW5jdGlvbi5wcm90b3R5cGUuYmluZCAtIEYgY2FuIGdldCBvd24gYWNjZXNzb3IgcHJvcGVydHkgdGhhdCBvdmVycmlkZXMgYW4gaW5oZXJpdGVkIGFjY2Vzc29yIHByb3BlcnR5IiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKCiAgICAgICAgdmFyIGZvbyA9IGZ1bmN0aW9uICgpIHsgfTsKCiAgICAgICAgdmFyIG9iaiA9IGZvby5iaW5kKHt9KTsKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoRnVuY3Rpb24ucHJvdG90eXBlLCAicHJvcGVydHkiLCB7CiAgICAgICAgICAgICAgICBnZXQ6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgICAgICByZXR1cm4gMzsKICAgICAgICAgICAgICAgIH0sCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICAgICAgfSk7CgogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCAicHJvcGVydHkiLCB7CiAgICAgICAgICAgICAgICBnZXQ6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgICAgICByZXR1cm4gMTI7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0pOwogICAgICAgICAgICByZXR1cm4gb2JqLnByb3BlcnR5ID09PSAxMjsKICAgICAgICB9IGZpbmFsbHkgewogICAgICAgICAgICBkZWxldGUgRnVuY3Rpb24ucHJvdG90eXBlLnByb3BlcnR5OwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29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0aCBvZiAnRXh0cmFBcmdzJyBpcyAwLCBhbmQgd2l0aCAnYm91bmRUaGlzJyIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIG9iaiA9IHsgcHJvcDogImFiYyIgfTsKCiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LnByb3RvdHlwZS52ZXJpZnlUaGlzID0gInZlcmlmeVRoaXMiOwogICAgICAgICAgICB2YXIgZnVuYyA9IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgIHJldHVybiBuZXcgQm9vbGVhbihhcmd1bWVudHMubGVuZ3RoID09PSAwICYmIE9iamVjdC5wcm90b3R5cGUudG9TdHJpbmcuY2FsbCh0aGlzKSA9PT0gIltvYmplY3QgT2JqZWN0XSIgJiYKICAgICAgICAgICAgICAgICAgICB0aGlzLnZlcmlmeVRoaXMgPT09ICJ2ZXJpZnlUaGlzIik7CiAgICAgICAgICAgIH07CgogICAgICAgICAgICB2YXIgTmV3RnVuYyA9IEZ1bmN0aW9uLnByb3RvdHlwZS5iaW5kLmNhbGwoZnVuYywgb2JqKTsKCiAgICAgICAgICAgIHZhciBuZXdJbnN0YW5jZSA9IG5ldyBOZXdGdW5jKCk7CgogICAgICAgICAgICByZXR1cm4gbmV3SW5zdGFuY2UudmFsdWVPZigpOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIGRlbGV0ZSBPYmplY3QucHJvdG90eXBlLnZlcmlmeVRoaXM7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoRnVuY3Rpb24ucHJvdG90eXBlLmJpbmQpOwogICAgfQp9KTsK","id":"15.3.4.5.2-4-5"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4zLjQuNS4yLTQtNiIsCgogICAgcGF0aDogIlRlc3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PSAidW5kZWZpbmVkIik7CiAgICAgICAgfTsKCiAgICAgICAgdmFyIE5ld0Z1bmMgPSBGdW5jdGlvbi5wcm90b3R5cGUuYmluZC5jYWxsKGZ1bmMsIHt9KTsKCiAgICAgICAgdmFyIG5ld0luc3RhbmNlID0gbmV3IE5ld0Z1bmMoKTsKCiAgICAgICAgcmV0dXJuIG5ld0luc3RhbmNlLnZhbHVlT2YoKSA9PT0gdHJ1ZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKEZ1bmN0aW9uLnByb3RvdHlwZS5iaW5kKTsKICAgIH0KfSk7Cg==","id":"15.3.4.5.2-4-9"}]}} \ No newline at end of file diff --git a/website/resources/scripts/testcases/15.7.json b/website/resources/scripts/testcases/15.7.json index e4ff43a4f1..23326b7783 100644 --- a/website/resources/scripts/testcases/15.7.json +++ b/website/resources/scripts/testcases/15.7.json @@ -1 +1 @@ -{"testsCollection":{"name":"Chapter - 15.7","numTests":"5","tests":[{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxNS43LjMtMSIsCgpwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS43LzE1LjcuMy8xNS43LjMtMS5qcyIsCgpkZXNjcmlwdGlvbjogIk51bWJlciBjb25zdHJ1Y3RvciAtIFtbUHJvdG90eXBlXV0gaXMgdGhlIEZ1bmN0aW9uIHByb3RvdHlwZSBvYmplY3QiLAoKdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgaWYgKEZ1bmN0aW9uLnByb3RvdHlwZS5pc1Byb3RvdHlwZU9mKE51bWJlcikgPT09IHRydWUpIHsKICAgIHJldHVybiB0cnVlOwogIH0KIH0KfSk7Cg==","id":"15.7.3-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxNS43LjMtMiIsCgpwYXRoOiA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DQyKSk7CiAgdmFyIHMgPSBPYmplY3QucHJvdG90eXBlLnRvU3RyaW5nLmNhbGwobnVtUHJvdG8gKTsKICByZXR1cm4gKHMgPT09ICdbb2JqZWN0IE51bWJlcl0nKSA7CiB9LAoKcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5nZXRQcm90b3R5cGVPZik7CiB9Cgp9KTsK","id":"15.7.4-1"}]}} \ No newline at end of file +{"testsCollection":{"name":"Chapter - 15.7","numTests":"5","tests":[{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxNS43LjMtMSIsCgpwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS43LzE1LjcuMy8xNS43LjMtMS5qcyIsCgpkZXNjcmlwdGlvbjogIk51bWJlciBjb25zdHJ1Y3RvciAtIFtbUHJvdG90eXBlXV0gaXMgdGhlIEZ1bmN0aW9uIHByb3RvdHlwZSBvYmplY3QiLAoKdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgaWYgKEZ1bmN0aW9uLnByb3RvdHlwZS5pc1Byb3RvdHlwZU9mKE51bWJlcikgPT09IHRydWUpIHsKICAgIHJldHVybiB0cnVlOwogIH0KIH0KfSk7Cg==","id":"15.7.3-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxNS43LjMtMiIsCgpwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS43LzE1LjcuMy8xNS43LjMtMi5qcyIsCgpkZXNjcmlwdGlvbjogIk51bWJlciBjb25zdHJ1Y3RvciAtIFtbUHJvdG90eXBlXV0gaXMgdGhlIEZ1bmN0aW9uIHByb3RvdHlwZSBvYmplY3QgKHVzaW5nIGdldFByb3RvdHlwZU9mKSIsCgp0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICB2YXIgcCA9IE9iamVjd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My4xLTIuanMiLAoKZGVzY3JpcHRpb246ICJOdW1iZXIucHJvdG90eXBlLCBpbml0aWFsIHZhbHVlIGlzIHRoZSBOdW1iZXIgcHJvdG90eXBlIG9iamVjdCIsCgp0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAvLyBhc3N1bWUgdGhhdCBOdW1iZXIucHJvdG90eXBlIGhhcyBub3QgYmVlbiBtb2RpZmllZC4KICByZXR1cm4gT2JqZWN0LmdldFByb3RvdHlwZU9mKG5ldyBOdW1iZXIoNDIpKT09PU51bWJlci5wcm90b3R5cGU7CiB9LAoKcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5nZXRQcm90b3R5cGVPZik7CiB9Cgp9KTsK","id":"15.7.3.1-2"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxNS43LjQtMSIsCgpwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS43LzE1LjcuNC8xNS43LjQtMS5qcyIsCgpkZXNjcmlwdGlvbjogIk51bWJlciBwcm90b3R5cGUgb2JqZWN0OiBpdHMgW1tDbGFzc11dIG11c3QgYmUgJ051bWJlciciLAoKdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgdmFyIG51bVByb3RvID0gT2JqZWN0LmdldFByb3RvdHlwZU9mKG5ldyBOdW1iZXIoNDIpKTsKICB2YXIgcyA9IE9iamVjdC5wcm90b3R5cGUudG9TdHJpbmcuY2FsbChudW1Qcm90byApOwogIHJldHVybiAocyA9PT0gJ1tvYmplY3QgTnVtYmVyXScpIDsKIH0sCgpwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmdldFByb3RvdHlwZU9mKTsKIH0KCn0pOwo=","id":"15.7.4-1"}]}} \ No newline at end of file diff --git a/website/resources/scripts/testcases/chapter07.json b/website/resources/scripts/testcases/chapter07.json index 1c633d61a3..bfe3ff37db 100644 --- a/website/resources/scripts/testcases/chapter07.json +++ b/website/resources/scripts/testcases/chapter07.json @@ -1 +1 @@ -{"testsCollection":{"name":"Chapter - chapter07","numTests":"165","tests":[{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYtMSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMDcvNy42LzcuNi0xLmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIjcuNiAtIFN5bnRheEVycm9yIGV4cGVjdGVkOiByZXNlcnZlZCB3b3JkcyB1c2VkIGFzIElkZW50aWZpZXIgTmFtZXMgaW4gVVRGODogXHUwMDZldWxsIChudWxsKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgICAgIHRyeSB7CiAgICAgICAgICAgICAgICBldmFsKCJ2YXIgXHUwMDZldWxsID0gMTIzOyIpOyAgCiAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgICAgIHJldHVybiBlIGluc3RhbmNlb2YgU3ludGF4RXJyb3I7ICAKICAgICAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgCiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYtMTAiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYtMTAuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiNy42IC0gU3ludGF4RXJyb3IgZXhwZWN0ZWQ6IHJlc2VydmVkIHdvcmRzIHVzZWQgYXMgSWRlbnRpZmllciBOYW1lcyBpbiBVVEY4OiBuXHUwMDY1dyAobmV3KSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgICAgIHRyeSB7CiAgICAgICAgICAgICAgICBldmFsKCJ2YXIgblx1MDA2NXcgPSAxMjM7Iik7ICAKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBTeW50YXhFcnJvcjsgIAogICAgICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyAKICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6-10"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYtMTEiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYtMTEuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiNy42IC0gU3ludGF4RXJyb3IgZXhwZWN0ZWQ6IHJlc2VydmVkIHdvcmRzIHVzZWQgYXMgSWRlbnRpZmllciBOYW1lcyBpbiBVVEY4OiB2YVx1MDA3MiAodmFyKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgICAgIHRyeSB7CiAgICAgICAgICAgICAgICBldmFsKCJ2YXIgdmFcdTAwNzIgPSAxMjM7Iik7ICAKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBTeW50YXhFcnJvcjsgIAogICAgICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyAKICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6-11"},{"code":"RV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2ggPSAxMjM7Iik7ICAKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBTeW50YXhFcnJvcjsgIAogICAgICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyAKICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6-13"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYtMTQiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYtMTQuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiNy42IC0gU3ludGF4RXJyb3IgZXhwZWN0ZWQ6IHJlc2VydmVkIHdvcmRzIHVzZWQgYXMgSWRlbnRpZmllciBOYW1lcyBpbiBVVEY4OiBmaW5hXHUwMDZjbHkgKGZpbmFsbHkpIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICAgICAgdHJ5IHsKICAgICAgICAgICAgICAgIGV2YWwoInZhciBmaW5hXHUwMDZjbHkgPSAxMjM7Iik7ICAKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBTeW50YXhFcnJvcjsgIAogICAgICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyAKICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6-14"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYtMTUiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3L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fSBjYXRjaCAoZSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBTeW50YXhFcnJvcjsgIAogICAgICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyAKICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6-16"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYtMTciLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYtMTcuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiNy42IC0gU3ludGF4RXJyb3IgZXhwZWN0ZWQ6IHJlc2VydmVkIHdvcmRzIHVzZWQgYXMgSWRlbnRpZmllciBOYW1lcyBpbiBVVEY4OiBcdTAwNjNvbnRpbnVlIChjb250aW51ZSkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgICAgICB0cnkgewogICAgICAgICAgICAgICAgZXZhbCgidmFyIFx1MDA2M29udGludWUgPSAxMjM7Iik7ICAKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBTeW50YXhFcnJvcjsgIAogICAgICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyAKICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6-17"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYtMTgiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYtMTguanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiNy42IC0gU3ludGF4RXJyb3IgZXhwZWN0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YWwoInZhciB0aGlcdTAwNzMgPSAxMjM7Iik7ICAKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBTeW50YXhFcnJvcjsgIAogICAgICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyAKICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6-23"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYtMjQiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYtMjQuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiNy42IC0gU3ludGF4RXJyb3IgZXhwZWN0ZWQ6IHJlc2VydmVkIHdvcmRzIHVzZWQgYXMgSWRlbnRpZmllciBOYW1lcyBpbiBVVEY4OiBcdTAwNjlcdTAwNjYgKGlmKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgICAgIHRyeSB7CiAgICAgICAgICAgICAgICBldmFsKCJ2YXIgXHUwMDY5XHUwMDY2ID0gMTIzOyIpOyAgCiAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgICAgIHJldHVybiBlIGluc3RhbmNlb2YgU3ludGF4RXJyb3I7ICAKICAgICAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgCiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6-24"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYtMjUiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hh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QgYXMgSWRlbnRpZmllciBOYW1lcyBpbiBVVEY4OiBcdTAwNjlcdTAwNmUgKGluKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgICAgIHRyeSB7CiAgICAgICAgICAgICAgICBldmFsKCJ2YXIgXHUwMDY5XHUwMDZlID0gMTIzOyIpOyAgCiAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgICAgIHJldHVybiBlIGluc3RhbmNlb2YgU3ludGF4RXJyb3I7ICAKICAgICAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgCiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6-28"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYtMjkiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYtMjkuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiNy42IC0gU3ludGF4RXJyb3IgZXhwZWN0ZWQ6IHJlc2VydmVkIHdvcmRzIHVzZWQgYXMgSWRlbnRpZmllciBOYW1lcyBpbiBVVEY4OiBcdTAwNjRlbGV0ZSAoZGVsZXRlKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgICAgIHRyeSB7CiAgICAgICAgICAgICAgICBldmFsKCJ2YXIgXHUwMDY0ZWxldGUgPSAxMjM7Iik7ICAKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBTeW50YXhFcnJvcjsgIAogICAgICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmV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B0cnkgewogICAgICAgICAgICAgICAgZXZhbCgidmFyIGNsYVx1MDA3M3MgPSAxMjM7Iik7ICAKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBTeW50YXhFcnJvcjsgIAogICAgICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyAKICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6-30"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYtMzEiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYtMzEuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiNy42IC0gU3ludGF4RXJyb3IgZXhwZWN0ZWQ6IHJlc2VydmVkIHdvcmRzIHVzZWQgYXMgSWRlbnRpZmllciBOYW1lcyBpbiBVVEY4OiBleHRlbmRcdTAwNzMgKGV4dGVuZHMpIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICAgICAgdHJ5IHsKICAgICAgICAgICAgICAgIGV2YWwoInZhciBleHRlbmRcdTAwNzMgPSAxMjM7Iik7ICAKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBTeW50YXhFcnJvcjsgIAogICAgICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyAKICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6-31"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYtMzIi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AgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBTeW50YXhFcnJvcjsgIAogICAgICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyAKICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6-33"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYtMzQiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYtMzQuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiNy42IC0gU3ludGF4RXJyb3IgZXhwZWN0ZWQ6IHJlc2VydmVkIHdvcmRzIHVzZWQgYXMgSWRlbnRpZmllciBOYW1lcyBpbiBVVEY4OiBjb1x1MDA2ZXN0IChjb25zdCkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgICAgICB0cnkgewogICAgICAgICAgICAgICAgZXZhbCgidmFyIGNvXHUwMDZlc3QgPSAxMjM7Iik7ICAKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBTeW50YXhFcnJvcjsgIAogICAgICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyAKICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6-34"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYtMzUiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYtMzUuanMiLAoKICAgIGRlc2NyaXB0aW9u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oIChlKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZSBpbnN0YW5jZW9mIFN5bnRheEVycm9yOyAgCiAgICAgICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IAogICAgICAgIHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6-36"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYtNCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMDcvNy42LzcuNi00LmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIjcuNiAtIFN5bnRheEVycm9yIGV4cGVjdGVkOiByZXNlcnZlZCB3b3JkcyB1c2VkIGFzIElkZW50aWZpZXIgTmFtZXMgaW4gVVRGODogXHUwMDYyXHUwMDcyXHUwMDY1XHUwMDYxXHUwMDZiIChicmVhaykiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgICAgICB0cnkgewogICAgICAgICAgICAgICAgZXZhbCgidmFyIFx1MDA2Mlx1MDA3Mlx1MDA2NVx1MDA2MVx1MDA2YiA9IDEyMzsiKTsgIAogICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZSBpbnN0YW5jZW9mIFN5bnRheEVycm9yOyAgCiAgICAgICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IAogICAgICAgIHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6-4"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYtNSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMDcvNy42LzcuNi01LmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIjcuNiAtIFN5bnRheEVycm9yIGV4cGVjdGVkOiByZXNlcnZlZCB3b3JkcyB1c2VkIGFzIElkZW50aWZpZXIgTmFtZXMgaW4gVVRGODogXHUwMDYzYXNlIChjYXNlKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgICAgIHRyeSB7CiAgICAgICAgICAgICAgICBldmFsKCJ2YXIgXHUwMDYzYXNlID0gMTIzOyIpOyAgCiAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgICAgIHJldHVybiBlIGluc3RhbmNlb2YgU3ludGF4RXJyb3I7ICAKICAgICAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgCiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6-5"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYtNiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMDcvNy42LzcuNi02LmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIjcuNiAtIFN5bnRheEVycm9yIGV4cGVjdGVkOiByZXNlcnZlZCB3b3JkcyB1c2VkIGFzIElkZW50aWZpZXIgTmFtZXMgaW4gVVRGODogaW5zdGFcdTAwNmVjZW9mIChpbnN0YW5jZW9mKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgICAgIHRyeSB7CiAgICAgICAgICAgICAgICBldmFsKCJ2YXIgaW5zdGFcdTAwNmVjZW9mID0gMTIzOyIpOyAgCiAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgICAgIHJldHVybiBlIGluc3RhbmNlb2YgU3ludGF4RXJyb3I7ICAKICAgICAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgCiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6-6"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYtNyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMDcvNy42LzcuNi03LmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIjcuNiAtIFN5bnRheEVycm9yIGV4cGVjdGVkOiByZXNlcnZlZCB3b3JkcyB1c2VkIGFzIElkZW50aWZpZXIgTmFtZXMgaW4gVVRGODogdHlwZW9cdTAwNjYgKHR5cGVvZikiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgICAgICB0cnkgewogICAgICAgICAgICAgICAgZXZhbCgidmFyIHR5cGVvXHUwMDY2ID0gMTIzOyIpOyAgCiAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgICAgIHJldHVybiBlIGluc3RhbmNlb2YgU3ludGF4RXJyb3I7ICAKICAgICAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgCiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6-7"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYtOCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMDcvNy42LzcuNi04LmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIjcuNiAtIFN5bnRheEVycm9yIGV4cGVjdGVkOiByZXNlcnZlZCB3b3JkcyB1c2VkIGFzIElkZW50aWZpZXIgTmFtZXMgaW4gVVRGODogXHUwMDY0XHUwMDZmIChkbykiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgICAgICB0cnkgewogICAgICAgICAgICAgICAgZXZhbCgidmFyIFx1MDA2NFx1MDA2ZiA9IDEyMzsiKTsgIAogICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZSBpbnN0YW5jZW9mIFN5bnRheEVycm9yOyAgCiAgICAgICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IAogICAgICAgIHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6-8"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYtOSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMDcvNy42LzcuNi05LmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIjcuNiAtIFN5bnRheEVycm9yIGV4cGVjdGVkOiByZXNlcnZlZCB3b3JkcyB1c2VkIGFzIElkZW50aWZpZXIgTmFtZXMgaW4gVVRGODogXHUwMDY1bHNlIChlbHNlKSAobnVsbCkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgICAgICB0cnkgewogICAgICAgICAgICAgICAgZXZhbCgidmFyIFx1MDA2NWxzZSA9IDEyMzsiKTsgIAogICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZSBpbnN0YW5jZW9mIFN5bnRheEVycm9yOyAgCiAgICAgICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IAogICAgICAgIHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6-9"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0xLTEiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS0xLTEuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYXQgb2JqZWN0IGluaXRpYWxpemF0aW9uLCB2ZXJpZmllZCB3aXRoIGhhc093blByb3BlcnR5OiBudWxsLCB0cnVlLCBmYWxzZSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKXsgICAgICAKICAgICAgICB2YXIgdG9rZW5Db2RlcyAgPSB7IAogICAgICAgICAgICBudWxsOiAwLAogICAgICAgICAgICB0cnVlOiAxLAogICAgICAgICAgICBmYWxzZTogMgogICAgICAgIH07CiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ251bGwnLAogICAgICAgICAgICAndHJ1ZScsCiAgICAgICAgICAgICdmYWxzZScKICAgICAgICBdOyAgICAgICAgCiAgICAgICAgZm9yKHZhciBwIGluIHRva2VuQ29kZXMpIHsKICAgICAgICAgICAgZm9yKHZhciBwMSBpbiBhcnIpIHsKICAgICAgICAgICAgICAgIGlmKGFycltwMV0gPT09IHApIHsgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICBpZighdG9rZW5Db2Rlcy5oYXNPd25Qcm9wZXJ0eShhcnJbcDFdKSkgewogICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgICAgICAgICAgfTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-1-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0xLTEwIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtMS0xMC5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBhdCBvYmplY3QgaW5pdGlhbGl6YXRpb24sIHZlcmlmaWVkIHdpdGggaGFzT3duUHJvcGVydHk6IGluLCB0cnksIGNsYXNzIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpeyAgICAgIAogICAgICAgIHZhciB0b2tlbkNvZGVzICA9IHsgCiAgICAgICAgICAgIGluOiAwLCAKICAgICAgICAgICAgdHJ5OiAxLAogICAgICAgICAgICBjbGFzczogMgogICAgICAgIH07CiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ2luJywgCiAgICAgICAgICAgICd0cnknLAogICAgICAgICAgICAnY2xhc3MnCiAgICAgICAgXTsgICAgICAgIAogICAgICAgIGZvcih2YXIgcCBpbiB0b2tlbkNvZGVzKSB7CiAgICAgICAgICAgIGZvcih2YXIgcDEgaW4gYXJyKSB7CiAgICAgICAgICAgICAgICBpZihhcnJbcDFdID09PSBwKSB7ICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgaWYoIXRva2VuQ29kZXMuaGFzT3duUHJvcGVydHkoYXJyW3AxXSkpIHsKICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICAgICAgICAgIH07CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7Cn0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6.1-1-10"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0xLTExIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtMS0xMS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBhdCBvYmplY3QgaW5pdGlhbGl6YXRpb24sIHZlcmlmaWVkIHdpdGggaGFzT3duUHJvcGVydHk6IGVudW0sIGV4dGVuZHMsIHN1cGVyIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpeyAgICAgIAogICAgICAgIHZhciB0b2tlbkNvZGVzICA9IHsgCiAgICAgICAgICAgIGVudW06IDAsCiAgICAgICAgICAgIGV4dGVuZHM6IDEsCiAgICAgICAgICAgIHN1cGVyOiAyCiAgICAgICAgfTsKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAnZW51bScsCiAgICAgICAgICAgICdleHRlbmRzJywKICAgICAgICAgICAgJ3N1cGVyJwogICAgICAgIF07ICAgICAgICAKICAgICAgICBmb3IodmFyIHAgaW4gdG9rZW5Db2RlcykgewogICAgICAgICAgICBmb3IodmFyIHAxIGluIGFycikgewogICAgICAgICAgICAgICAgaWYoYXJyW3AxXSA9PT0gcCkgeyAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgIGlmKCF0b2tlbkNvZGVzLmhhc093blByb3BlcnR5KGFycltwMV0pKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgICAgICAgICB9OwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwp9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-1-11"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0xLTEyIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtMS0xMi5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBhdCBvYmplY3QgaW5pdGlhbGl6YXRpb24sIHZlcmlmaWVkIHdpdGggaGFzT3duUHJvcGVydHk6IGNvbnN0LCBleHBvcnQsIGltcG9ydCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKXsgICAgICAKICAgICAgICB2YXIgdG9rZW5Db2RlcyAgPSB7IAogICAgICAgICAgICBjb25zdDogMCwKICAgICAgICAgICAgZXhwb3J0OiAxLAogICAgICAgICAgICBpbXBvcnQ6IDIKICAgICAgICB9OwogICAgICAgIHZhciBhcnIgPSBbCiAgICAgICAgICAgICdjb25zdCcsCiAgICAgICAgICAgICdleHBvcnQnLAogICAgICAgICAgICAnaW1wb3J0JwogICAgICAgIF07ICAgICAgICAKICAgICAgICBmb3IodmFyIHAgaW4gdG9rZW5Db2RlcykgewogICAgICAgICAgICBmb3IodmFyIHAxIGluIGFycikgewogICAgICAgICAgICAgICAgaWYoYXJyW3AxXSA9PT0gcCkgeyAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgIGlmKCF0b2tlbkNvZGVzLmhhc093blByb3BlcnR5KGFycltwMV0pKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgICAgICAgICB9OwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwp9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-1-12"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0xLTEzIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtMS0xMy5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBhdCBvYmplY3QgaW5pdGlhbGl6YXRpb24sIHZlcmlmaWVkIHdpdGggaGFzT3duUHJvcGVydHk6IGltcGxlbWVudHMsIGxldCwgcHJpdmF0ZSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKXsgICAgICAKICAgICAgICB2YXIgdG9rZW5Db2RlcyAgPSB7IAogICAgICAgICAgICBpbXBsZW1lbnRzOiAwLAogICAgICAgICAgICBsZXQ6IDEsCiAgICAgICAgICAgIHByaXZhdGU6IDIKICAgICAgICB9OwogICAgICAgIHZhciBhcnIgPSBbCiAgICAgICAgICAgICdpbXBsZW1lbnRzJywKICAgICAgICAgICAgJ2xldCcsCiAgICAgICAgICAgICdwcml2YXRlJwogICAgICAgIF07ICAgICAgICAKICAgICAgICBmb3IodmFyIHAgaW4gdG9rZW5Db2RlcykgewogICAgICAgICAgICBmb3IodmFyIHAxIGluIGFycikgewogICAgICAgICAgICAgICAgaWYoYXJyW3AxXSA9PT0gcCkgeyAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgIGlmKCF0b2tlbkNvZGVzLmhhc093blByb3BlcnR5KGFycltwMV0pKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgICAgICAgICB9OwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwp9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-1-13"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0xLTE0IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtMS0xNC5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBhdCBvYmplY3QgaW5pdGlhbGl6YXRpb24sIHZlcmlmaWVkIHdpdGggaGFzT3duUHJvcGVydHk6IHB1YmxpYywgeWllbGQsIGludGVyZmFjZSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKXsgICAgICAKICAgICAgICB2YXIgdG9rZW5Db2RlcyAgPSB7IAogICAgICAgICAgICBwdWJsaWM6IDAsCiAgICAgICAgICAgIHlpZWxkOiAxLAogICAgICAgICAgICBpbnRlcmZhY2U6IDIKICAgICAgICB9OwogICAgICAgIHZhciBhcnIgPSBbCiAgICAgICAgICAgICdwdWJsaWMnLAogICAgICAgICAgICAneWllbGQnLAogICAgICAgICAgICAnaW50ZXJmYWNlJwogICAgICAgIF07ICAgICAgICAKICAgICAgICBmb3IodmFyIHAgaW4gdG9rZW5Db2RlcykgewogICAgICAgICAgICBmb3IodmFyIHAxIGluIGFycikgewogICAgICAgICAgICAgICAgaWYoYXJyW3AxXSA9PT0gcCkgeyAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgIGlmKCF0b2tlbkNvZGVzLmhhc093blByb3BlcnR5KGFycltwMV0pKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgICAgICAgICB9OwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwp9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-1-14"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0xLTE1IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtMS0xNS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBhdCBvYmplY3QgaW5pdGlhbGl6YXRpb24sIHZlcmlmaWVkIHdpdGggaGFzT3duUHJvcGVydHk6IHBhY2thZ2UsIHByb3RlY3RlZCwgc3RhdGljIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpeyAgICAgIAogICAgICAgIHZhciB0b2tlbkNvZGVzICA9IHsgCiAgICAgICAgICAgIHBhY2thZ2U6IDAsCiAgICAgICAgICAgIHByb3RlY3RlZDogMSwKICAgICAgICAgICAgc3RhdGljOiAyCiAgICAgICAgfTsKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAncGFja2FnZScsCiAgICAgICAgICAgICdwcm90ZWN0ZWQnLAogICAgICAgICAgICAnc3RhdGljJwogICAgICAgIF07ICAgICAgICAKICAgICAgICBmb3IodmFyIHAgaW4gdG9rZW5Db2RlcykgewogICAgICAgICAgICBmb3IodmFyIHAxIGluIGFycikgewogICAgICAgICAgICAgICAgaWYoYXJyW3AxXSA9PT0gcCkgeyAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgIGlmKCF0b2tlbkNvZGVzLmhhc093blByb3BlcnR5KGFycltwMV0pKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgICAgICAgICB9OwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwp9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-1-15"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0xLTE2IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtMS0xNi5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBhdCBvYmplY3QgaW5pdGlhbGl6YXRpb24sIHZlcmlmaWVkIHdpdGggaGFzT3duUHJvcGVydHk6IHVuZGVlZmluZWQsIE5hTiwgSW5maW5pdHkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCl7ICAgICAgCiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0geyAKICAgICAgICAgICAgdW5kZWZpbmVkOiAwLAogICAgICAgICAgICBOYU46IDEsCiAgICAgICAgICAgIEluZmluaXR5OiAyCiAgICAgICAgfTsKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAndW5kZWZpbmVkJywKICAgICAgICAgICAgJ05hTicsCiAgICAgICAgICAgICdJbmZpbml0eScKICAgICAgICBdOyAgICAgICAgCiAgICAgICAgZm9yKHZhciBwIGluIHRva2VuQ29kZXMpIHsKICAgICAgICAgICAgZm9yKHZhciBwMSBpbiBhcnIpIHsKICAgICAgICAgICAgICAgIGlmKGFycltwMV0gPT09IHApIHsgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICBpZighdG9rZW5Db2Rlcy5oYXNPd25Qcm9wZXJ0eShhcnJbcDFdKSkgewogICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgICAgICAgICAgfTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-1-16"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0xLTIiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS0xLTIuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYXQgb2JqZWN0IGluaXRpYWxpemF0aW9uLCB2ZXJpZmllZCB3aXRoIGhhc093blByb3BlcnR5OiBicmVhaywgY2FzZSwgZG8iLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCl7ICAgICAgCiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0geyAKICAgICAgICAgICAgYnJlYWs6IDAsCiAgICAgICAgICAgIGNhc2U6IDEsCiAgICAgICAgICAgIGRvOiAyCiAgICAgICAgfTsKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAnYnJlYWsnLAogICAgICAgICAgICAnY2FzZScsCiAgICAgICAgICAgICdkbycKICAgICAgICBdOyAgICAgICAgCiAgICAgICAgZm9yKHZhciBwIGluIHRva2VuQ29kZXMpIHsKICAgICAgICAgICAgZm9yKHZhciBwMSBpbiBhcnIpIHsKICAgICAgICAgICAgICAgIGlmKGFycltwMV0gPT09IHApIHsgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICBpZighdG9rZW5Db2Rlcy5oYXNPd25Qcm9wZXJ0eShhcnJbcDFdKSkgewogICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgICAgICAgICAgfTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-1-2"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0xLTMiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS0xLTMuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYXQgb2JqZWN0IGluaXRpYWxpemF0aW9uLCB2ZXJpZmllZCB3aXRoIGhhc093blByb3BlcnR5OiBpbnN0YW5jZW9mLCB0eXBlb2YsIGVsc2UiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCl7ICAgICAgCiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0geyAKICAgICAgICAgICAgaW5zdGFuY2VvZjogMCwKICAgICAgICAgICAgdHlwZW9mOiAxLAogICAgICAgICAgICBlbHNlOiAyCiAgICAgICAgfTsKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAnaW5zdGFuY2VvZicsCiAgICAgICAgICAgICd0eXBlb2YnLAogICAgICAgICAgICAnZWxzZScKICAgICAgICBdOyAgICAgICAgCiAgICAgICAgZm9yKHZhciBwIGluIHRva2VuQ29kZXMpIHsKICAgICAgICAgICAgZm9yKHZhciBwMSBpbiBhcnIpIHsKICAgICAgICAgICAgICAgIGlmKGFycltwMV0gPT09IHApIHsgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICBpZighdG9rZW5Db2Rlcy5oYXNPd25Qcm9wZXJ0eShhcnJbcDFdKSkgewogICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgICAgICAgICAgfTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-1-3"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0xLTQiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS0xLTQuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYXQgb2JqZWN0IGluaXRpYWxpemF0aW9uLCB2ZXJpZmllZCB3aXRoIGhhc093blByb3BlcnR5OiBuZXcsIHZhciwgY2F0Y2giLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCl7ICAgICAgCiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0geyAKICAgICAgICAgICAgbmV3OiAwLAogICAgICAgICAgICB2YXI6IDEsCiAgICAgICAgICAgIGNhdGNoOiAyCiAgICAgICAgfTsKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAnbmV3JywgCiAgICAgICAgICAgICd2YXInLCAKICAgICAgICAgICAgJ2NhdGNoJwogICAgICAgIF07ICAgICAgICAKICAgICAgICBmb3IodmFyIHAgaW4gdG9rZW5Db2RlcykgewogICAgICAgICAgICBmb3IodmFyIHAxIGluIGFycikgewogICAgICAgICAgICAgICAgaWYoYXJyW3AxXSA9PT0gcCkgeyAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgIGlmKCF0b2tlbkNvZGVzLmhhc093blByb3BlcnR5KGFycltwMV0pKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgICAgICAgICB9OwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwp9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-1-4"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0xLTUiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS0xLTUuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYXQgb2JqZWN0IGluaXRpYWxpemF0aW9uLCB2ZXJpZmllZCB3aXRoIGhhc093blByb3BlcnR5OiBmaW5hbGx5LCByZXR1cm4sIHZvaWQiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCl7ICAgICAgCiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0geyAKICAgICAgICAgICAgZmluYWxseTogMCwKICAgICAgICAgICAgcmV0dXJuOiAxLAogICAgICAgICAgICB2b2lkOiAyCiAgICAgICAgfTsKICAgICAgICB2YXIgYXJyID0gWyAKICAgICAgICAgICAgJ2ZpbmFsbHknLCAKICAgICAgICAgICAgJ3JldHVybicsIAogICAgICAgICAgICAndm9pZCcKICAgICAgICBdOyAgICAgICAgCiAgICAgICAgZm9yKHZhciBwIGluIHRva2VuQ29kZXMpIHsKICAgICAgICAgICAgZm9yKHZhciBwMSBpbiBhcnIpIHsKICAgICAgICAgICAgICAgIGlmKGFycltwMV0gPT09IHApIHsgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICBpZighdG9rZW5Db2Rlcy5oYXNPd25Qcm9wZXJ0eShhcnJbcDFdKSkgewogICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgICAgICAgICAgfTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-1-5"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0xLTYiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS0xLTYuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYXQgb2JqZWN0IGluaXRpYWxpemF0aW9uLCB2ZXJpZmllZCB3aXRoIGhhc093blByb3BlcnR5OiBjb250aW51ZSwgZm9yLCBzd2l0Y2giLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCl7ICAgICAgCiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0geyAKICAgICAgICAgICAgY29udGludWU6IDAsIAogICAgICAgICAgICBmb3I6IDEsIAogICAgICAgICAgICBzd2l0Y2g6IDIKICAgICAgICB9OwogICAgICAgIHZhciBhcnIgPSBbCiAgICAgICAgICAgICdjb250aW51ZScsIAogICAgICAgICAgICAnZm9yJywKICAgICAgICAgICAgJ3N3aXRjaCcKICAgICAgICBdOyAgICAgICAgCiAgICAgICAgZm9yKHZhciBwIGluIHRva2VuQ29kZXMpIHsKICAgICAgICAgICAgZm9yKHZhciBwMSBpbiBhcnIpIHsKICAgICAgICAgICAgICAgIGlmKGFycltwMV0gPT09IHApIHsgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICBpZighdG9rZW5Db2Rlcy5oYXNPd25Qcm9wZXJ0eShhcnJbcDFdKSkgewogICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgICAgICAgICAgfTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-1-6"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0xLTciLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS0xLTcuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYXQgb2JqZWN0IGluaXRpYWxpemF0aW9uLCB2ZXJpZmllZCB3aXRoIGhhc093blByb3BlcnR5OiB3aGlsZSwgZGVidWdnZXIsIGZ1bmN0aW9uIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpeyAgICAgIAogICAgICAgIHZhciB0b2tlbkNvZGVzICA9IHsgCiAgICAgICAgICAgIHdoaWxlOiAwLCAKICAgICAgICAgICAgZGVidWdnZXI6IDEsIAogICAgICAgICAgICBmdW5jdGlvbjogMgogICAgICAgIH07CiAgICAgICAgdmFyIGFyciA9IFsgCiAgICAgICAgICAgICd3aGlsZScgLAogICAgICAgICAgICAnZGVidWdnZXInLCAKICAgICAgICAgICAgJ2Z1bmN0aW9uJwogICAgICAgIF07ICAgICAgICAKICAgICAgICBmb3IodmFyIHAgaW4gdG9rZW5Db2RlcykgewogICAgICAgICAgICBmb3IodmFyIHAxIGluIGFycikgewogICAgICAgICAgICAgICAgaWYoYXJyW3AxXSA9PT0gcCkgeyAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgIGlmKCF0b2tlbkNvZGVzLmhhc093blByb3BlcnR5KGFycltwMV0pKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgICAgICAgICB9OwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwp9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-1-7"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0xLTgiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS0xLTguanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYXQgb2JqZWN0IGluaXRpYWxpemF0aW9uLCB2ZXJpZmllZCB3aXRoIGhhc093blByb3BlcnR5OiB0aGlzLCB3aXRoLCBkZWZhdWx0IiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpewogICAgICAgIHZhciB0b2tlbkNvZGVzICA9IHsgICAgICAgCiAgICAgICAgICAgIHRoaXM6IDAsICAKICAgICAgICAgICAgd2l0aDogMSwgCiAgICAgICAgICAgIGRlZmF1bHQ6IDIKICAgICAgICB9OwogICAgICAgIHZhciBhcnIgPSBbIAogICAgICAgICAgICAndGhpcycsIAogICAgICAgICAgICAnd2l0aCcsIAogICAgICAgICAgICAnZGVmYXVsdCcKICAgICAgICBdOyAgICAgICAgCiAgICAgICAgZm9yKHZhciBwIGluIHRva2VuQ29kZXMpIHsKICAgICAgICAgICAgZm9yKHZhciBwMSBpbiBhcnIpIHsKICAgICAgICAgICAgICAgIGlmKGFycltwMV0gPT09IHApIHsgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICBpZighdG9rZW5Db2Rlcy5oYXNPd25Qcm9wZXJ0eShhcnJbcDFdKSkgewogICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgICAgICAgICAgfTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-1-8"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0xLTkiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS0xLTkuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYXQgb2JqZWN0IGluaXRpYWxpemF0aW9uLCB2ZXJpZmllZCB3aXRoIGhhc093blByb3BlcnR5OiBpZiwgdGhyb3csIGRlbGV0ZSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKXsgICAgICAKICAgICAgICB2YXIgdG9rZW5Db2RlcyAgPSB7IAogICAgICAgICAgICBpZjogMCwgCiAgICAgICAgICAgIHRocm93OiAxLCAKICAgICAgICAgICAgZGVsZXRlOiAyCiAgICAgICAgfTsKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAnaWYnLCAKICAgICAgICAgICAgJ3Rocm93JywgCiAgICAgICAgICAgICdkZWxldGUnCiAgICAgICAgXTsgICAgICAgIAogICAgICAgIGZvcih2YXIgcCBpbiB0b2tlbkNvZGVzKSB7CiAgICAgICAgICAgIGZvcih2YXIgcDEgaW4gYXJyKSB7CiAgICAgICAgICAgICAgICBpZihhcnJbcDFdID09PSBwKSB7ICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgaWYoIXRva2VuQ29kZXMuaGFzT3duUHJvcGVydHkoYXJyW3AxXSkpIHsKICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICAgICAgICAgIH07CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7Cn0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6.1-1-9"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0yLTEiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS0yLTEuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgZG90IG9wZXJhdG9yIGFzc2lnbm1lbnQsIHZlcmlmaWVkIHdpdGggaGFzT3duUHJvcGVydHk6IG51bGwsIHRydWUsIGZhbHNlIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgdG9rZW5Db2RlcyAgPSB7fTsKICAgICAgICB0b2tlbkNvZGVzLm51bGwgPSAwOwoJICAgIHRva2VuQ29kZXMudHJ1ZSA9IDE7CgkgICAgdG9rZW5Db2Rlcy5mYWxzZSA9IDI7CiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ251bGwnLAogICAgICAgICAgICAndHJ1ZScsCiAgICAgICAgICAgICdmYWxzZScKICAgICAgICBdOwogICAgICAgIGZvcih2YXIgcCBpbiB0b2tlbkNvZGVzKSB7ICAgICAgIAogICAgICAgICAgICBmb3IodmFyIHAxIGluIGFycikgeyAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgIGlmKGFycltwMV0gPT09IHApIHsKICAgICAgICAgICAgICAgICAgICBpZighdG9rZW5Db2Rlcy5oYXNPd25Qcm9wZXJ0eShhcnJbcDFdKSkgewogICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgICAgICAgICAgfTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6.1-2-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0yLTEwIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtMi0xMC5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBkb3Qgb3BlcmF0b3IgYXNzaWdubWVudCwgdmVyaWZpZWQgd2l0aCBoYXNPd25Qcm9wZXJ0eTogaW4sIHRyeSwgY2xhc3MiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0b2tlbkNvZGVzID0ge307CiAgICAgICAgdG9rZW5Db2Rlcy5pbiA9IDA7CiAgICAgICAgdG9rZW5Db2Rlcy50cnkgPSAxOwogICAgICAgIHRva2VuQ29kZXMuY2xhc3MgPSAyOwogICAgICAgIHZhciBhcnIgPSBbCiAgICAgICAgICAgICdpbicsIAogICAgICAgICAgICAndHJ5JywKICAgICAgICAgICAgJ2NsYXNzJwogICAgICAgIF07CiAgICAgICAgZm9yKHZhciBwIGluIHRva2VuQ29kZXMpIHsgICAgICAgCiAgICAgICAgICAgIGZvcih2YXIgcDEgaW4gYXJyKSB7ICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgaWYoYXJyW3AxXSA9PT0gcCkgewogICAgICAgICAgICAgICAgICAgIGlmKCF0b2tlbkNvZGVzLmhhc093blByb3BlcnR5KGFycltwMV0pKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgICAgICAgICB9OwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-2-10"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0yLTExIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtMi0xMS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBkb3Qgb3BlcmF0b3IgYXNzaWdubWVudCwgdmVyaWZpZWQgd2l0aCBoYXNPd25Qcm9wZXJ0eTogZW51bSwgZXh0ZW5kcywgc3VwZXIiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0b2tlbkNvZGVzID0ge307CiAgICAgICAgdG9rZW5Db2Rlcy5lbnVtID0gMDsKICAgICAgICB0b2tlbkNvZGVzLmV4dGVuZHMgPSAxOwogICAgICAgIHRva2VuQ29kZXMuc3VwZXIgPSAyOwogICAgICAgIHZhciBhcnIgPSBbCiAgICAgICAgICAgICdlbnVtJywKICAgICAgICAgICAgJ2V4dGVuZHMnLAogICAgICAgICAgICAnc3VwZXInCiAgICAgICAgXTsKICAgICAgICBmb3IodmFyIHAgaW4gdG9rZW5Db2RlcykgeyAgICAgICAKICAgICAgICAgICAgZm9yKHZhciBwMSBpbiBhcnIpIHsgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICBpZihhcnJbcDFdID09PSBwKSB7CiAgICAgICAgICAgICAgICAgICAgaWYoIXRva2VuQ29kZXMuaGFzT3duUHJvcGVydHkoYXJyW3AxXSkpIHsKICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICAgICAgICAgIH07CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-2-11"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0yLTEyIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtMi0xMi5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBkb3Qgb3BlcmF0b3IgYXNzaWdubWVudCwgdmVyaWZpZWQgd2l0aCBoYXNPd25Qcm9wZXJ0eTogY29uc3QsIGV4cG9ydCwgaW1wb3J0IiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgdG9rZW5Db2RlcyAgPSB7fTsKICAgICAgICB0b2tlbkNvZGVzLmNvbnN0ID0gMDsKICAgICAgICB0b2tlbkNvZGVzLmV4cG9ydCA9IDE7CiAgICAgICAgdG9rZW5Db2Rlcy5pbXBvcnQgPSAyOwogICAgICAgIHZhciBhcnIgPSBbCiAgICAgICAgICAgICdjb25zdCcsCiAgICAgICAgICAgICdleHBvcnQnLAogICAgICAgICAgICAnaW1wb3J0JwogICAgICAgIF07CiAgICAgICAgZm9yKHZhciBwIGluIHRva2VuQ29kZXMpIHsgICAgICAgCiAgICAgICAgICAgIGZvcih2YXIgcDEgaW4gYXJyKSB7ICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgaWYoYXJyW3AxXSA9PT0gcCkgewogICAgICAgICAgICAgICAgICAgIGlmKCF0b2tlbkNvZGVzLmhhc093blByb3BlcnR5KGFycltwMV0pKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgICAgICAgICB9OwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-2-12"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0yLTEzIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtMi0xMy5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBkb3Qgb3BlcmF0b3IgYXNzaWdubWVudCwgdmVyaWZpZWQgd2l0aCBoYXNPd25Qcm9wZXJ0eTogaW1wbGVtZW50cywgbGV0LCBwcml2YXRlIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgdG9rZW5Db2RlcyAgPSB7fTsKICAgICAgICB0b2tlbkNvZGVzLmltcGxlbWVudHMgPSAwOwogICAgICAgIHRva2VuQ29kZXMubGV0ID0gMTsKICAgICAgICB0b2tlbkNvZGVzLnByaXZhdGUgPSAyOwogICAgICAgIHZhciBhcnIgPSBbCiAgICAgICAgICAgICdpbXBsZW1lbnRzJywKICAgICAgICAgICAgJ2xldCcsCiAgICAgICAgICAgICdwcml2YXRlJwogICAgICAgIF07CiAgICAgICAgZm9yKHZhciBwIGluIHRva2VuQ29kZXMpIHsgICAgICAgCiAgICAgICAgICAgIGZvcih2YXIgcDEgaW4gYXJyKSB7ICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgaWYoYXJyW3AxXSA9PT0gcCkgewogICAgICAgICAgICAgICAgICAgIGlmKCF0b2tlbkNvZGVzLmhhc093blByb3BlcnR5KGFycltwMV0pKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgICAgICAgICB9OwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-2-13"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0yLTE0IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtMi0xNC5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBkb3Qgb3BlcmF0b3IgYXNzaWdubWVudCwgdmVyaWZpZWQgd2l0aCBoYXNPd25Qcm9wZXJ0eTogcHVibGljLCB5aWVsZCwgaW50ZXJmYWNlIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgdG9rZW5Db2RlcyAgPSB7fTsKICAgICAgICB0b2tlbkNvZGVzLnB1YmxpYyA9IDA7CiAgICAgICAgdG9rZW5Db2Rlcy55aWVsZCA9IDE7CiAgICAgICAgdG9rZW5Db2Rlcy5pbnRlcmZhY2UgPSAyOwogICAgICAgIHZhciBhcnIgPSBbCiAgICAgICAgICAgICdwdWJsaWMnLAogICAgICAgICAgICAneWllbGQnLAogICAgICAgICAgICAnaW50ZXJmYWNlJwogICAgICAgIF07CiAgICAgICAgZm9yKHZhciBwIGluIHRva2VuQ29kZXMpIHsgICAgICAgCiAgICAgICAgICAgIGZvcih2YXIgcDEgaW4gYXJyKSB7ICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgaWYoYXJyW3AxXSA9PT0gcCkgewogICAgICAgICAgICAgICAgICAgIGlmKCF0b2tlbkNvZGVzLmhhc093blByb3BlcnR5KGFycltwMV0pKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgICAgICAgICB9OwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-2-14"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0yLTE1IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtMi0xNS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBkb3Qgb3BlcmF0b3IgYXNzaWdubWVudCwgdmVyaWZpZWQgd2l0aCBoYXNPd25Qcm9wZXJ0eTogcGFja2FnZSwgcHJvdGVjdGVkLCBzdGF0aWMiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0b2tlbkNvZGVzICA9IHt9OwogICAgICAgIHRva2VuQ29kZXMucGFja2FnZSA9IDA7CiAgICAgICAgdG9rZW5Db2Rlcy5wcm90ZWN0ZWQgPSAxOwogICAgICAgIHRva2VuQ29kZXMuc3RhdGljID0gMjsKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAncGFja2FnZScsCiAgICAgICAgICAgICdwcm90ZWN0ZWQnLAogICAgICAgICAgICAnc3RhdGljJyAgICAKICAgICAgICBdOwogICAgICAgIGZvcih2YXIgcCBpbiB0b2tlbkNvZGVzKSB7ICAgICAgIAogICAgICAgICAgICBmb3IodmFyIHAxIGluIGFycikgeyAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgIGlmKGFycltwMV0gPT09IHApIHsKICAgICAgICAgICAgICAgICAgICBpZighdG9rZW5Db2Rlcy5oYXNPd25Qcm9wZXJ0eShhcnJbcDFdKSkgewogICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgICAgICAgICAgfTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6.1-2-15"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0yLTE2IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtMi0xNi5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBkb3Qgb3BlcmF0b3IgYXNzaWdubWVudCwgdmVyaWZpZWQgd2l0aCBoYXNPd25Qcm9wZXJ0eTogdW5kZWZpbmVkLCBOYU4sIEluZmluaXR5IiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgdG9rZW5Db2RlcyA9IHt9OwogICAgICAgIHRva2VuQ29kZXMudW5kZWZpbmVkID0gMDsKICAgICAgICB0b2tlbkNvZGVzLk5hTiA9IDE7CiAgICAgICAgdG9rZW5Db2Rlcy5JbmZpbml0eSA9IDI7CiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ3VuZGVmaW5lZCcsCiAgICAgICAgICAgICdOYU4nLAogICAgICAgICAgICAnSW5maW5pdHknCiAgICAgICAgXTsKICAgICAgICBmb3IodmFyIHAgaW4gdG9rZW5Db2RlcykgeyAgICAgICAKICAgICAgICAgICAgZm9yKHZhciBwMSBpbiBhcnIpIHsgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICBpZihhcnJbcDFdID09PSBwKSB7CiAgICAgICAgICAgICAgICAgICAgaWYoIXRva2VuQ29kZXMuaGFzT3duUHJvcGVydHkoYXJyW3AxXSkpIHsKICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICAgICAgICAgIH07CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-2-16"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0yLTIiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS0yLTIuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgZG90IG9wZXJhdG9yIGFzc2lnbm1lbnQsIHZlcmlmaWVkIHdpdGggaGFzT3duUHJvcGVydHk6IGJyZWFrLCBjYXNlLCBkbyIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0ge307CiAgICAgICAgdG9rZW5Db2Rlcy5icmVhayA9IDA7ICAJCiAgICAgICAgdG9rZW5Db2Rlcy5jYXNlID0gMTsKICAgICAgICB0b2tlbkNvZGVzLmRvID0gMjsKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAnYnJlYWsnLAogICAgICAgICAgICAnY2FzZScsCiAgICAgICAgICAgICdkbycKICAgICAgICBdOwogICAgICAgIGZvcih2YXIgcCBpbiB0b2tlbkNvZGVzKSB7ICAgICAgIAogICAgICAgICAgICBmb3IodmFyIHAxIGluIGFycikgeyAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgIGlmKGFycltwMV0gPT09IHApIHsKICAgICAgICAgICAgICAgICAgICBpZighdG9rZW5Db2Rlcy5oYXNPd25Qcm9wZXJ0eShhcnJbcDFdKSkgewogICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgICAgICAgICAgfTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6.1-2-2"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0yLTMiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS0yLTMuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgZG90IG9wZXJhdG9yIGFzc2lnbm1lbnQsIHZlcmlmaWVkIHdpdGggaGFzT3duUHJvcGVydHk6IGluc3RhbmNlb2YsIHR5cGVvZiwgZWxzZSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0ge307CiAgICAgICAgdG9rZW5Db2Rlcy5pbnN0YW5jZW9mID0gMDsKICAgICAgICB0b2tlbkNvZGVzLnR5cGVvZiA9IDE7CiAgICAgICAgdG9rZW5Db2Rlcy5lbHNlID0gMjsKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAnaW5zdGFuY2VvZicsCiAgICAgICAgICAgICd0eXBlb2YnLAogICAgICAgICAgICAnZWxzZScKICAgICAgICBdOwogICAgICAgIGZvcih2YXIgcCBpbiB0b2tlbkNvZGVzKSB7ICAgICAgIAogICAgICAgICAgICBmb3IodmFyIHAxIGluIGFycikgeyAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgIGlmKGFycltwMV0gPT09IHApIHsKICAgICAgICAgICAgICAgICAgICBpZighdG9rZW5Db2Rlcy5oYXNPd25Qcm9wZXJ0eShhcnJbcDFdKSkgewogICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgICAgICAgICAgfTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6.1-2-3"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0yLTQiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS0yLTQuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgZG90IG9wZXJhdG9yIGFzc2lnbm1lbnQsIHZlcmlmaWVkIHdpdGggaGFzT3duUHJvcGVydHk6IG5ldywgdmFyLCBjYXRjaCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgPSB7fTsKICAgICAgICB0b2tlbkNvZGVzLm5ldyA9IDA7CiAgICAgICAgdG9rZW5Db2Rlcy52YXIgPSAxOwogICAgICAgIHRva2VuQ29kZXMuY2F0Y2ggPSAyOwogICAgICAgIHZhciBhcnIgPSBbCiAgICAgICAgICAgICduZXcnLCAKICAgICAgICAgICAgJ3ZhcicsIAogICAgICAgICAgICAnY2F0Y2gnCiAgICAgICAgXTsKICAgICAgICBmb3IodmFyIHAgaW4gdG9rZW5Db2RlcykgeyAgICAgICAKICAgICAgICAgICAgZm9yKHZhciBwMSBpbiBhcnIpIHsgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICBpZihhcnJbcDFdID09PSBwKSB7CiAgICAgICAgICAgICAgICAgICAgaWYoIXRva2VuQ29kZXMuaGFzT3duUHJvcGVydHkoYXJyW3AxXSkpIHsKICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICAgICAgICAgIH07CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-2-4"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0yLTUiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS0yLTUuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgZG90IG9wZXJhdG9yIGFzc2lnbm1lbnQsIHZlcmlmaWVkIHdpdGggaGFzT3duUHJvcGVydHk6IGZpbmFsbHksIHJldHVybiwgdm9pZCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgPSB7fTsKICAgICAgICB0b2tlbkNvZGVzLmZpbmFsbHkgPSAwOwogICAgICAgIHRva2VuQ29kZXMucmV0dXJuID0gMTsKICAgICAgICB0b2tlbkNvZGVzLnZvaWQgPSAyOwogICAgICAgIHZhciBhcnIgPSBbCiAgICAgICAgICAgICdmaW5hbGx5JywgCiAgICAgICAgICAgICdyZXR1cm4nLCAKICAgICAgICAgICAgJ3ZvaWQnCiAgICAgICAgXTsKICAgICAgICBmb3IodmFyIHAgaW4gdG9rZW5Db2RlcykgeyAgICAgICAKICAgICAgICAgICAgZm9yKHZhciBwMSBpbiBhcnIpIHsgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICBpZihhcnJbcDFdID09PSBwKSB7CiAgICAgICAgICAgICAgICAgICAgaWYoIXRva2VuQ29kZXMuaGFzT3duUHJvcGVydHkoYXJyW3AxXSkpIHsKICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICAgICAgICAgIH07CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-2-5"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0yLTYiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS0yLTYuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgZG90IG9wZXJhdG9yIGFzc2lnbm1lbnQsIHZlcmlmaWVkIHdpdGggaGFzT3duUHJvcGVydHk6IGNvbnRpbnVlLCBmb3IsIHN3aXRjaCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0ge307CiAgICAgICAgdG9rZW5Db2Rlcy5jb250aW51ZSA9IDA7CiAgICAgICAgdG9rZW5Db2Rlcy5mb3IgPSAxOyAKICAgICAgICB0b2tlbkNvZGVzLnN3aXRjaCA9IDI7CiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ2NvbnRpbnVlJywgCiAgICAgICAgICAgICdmb3InLAogICAgICAgICAgICAnc3dpdGNoJwogICAgICAgIF07CiAgICAgICAgZm9yKHZhciBwIGluIHRva2VuQ29kZXMpIHsgICAgICAgCiAgICAgICAgICAgIGZvcih2YXIgcDEgaW4gYXJyKSB7ICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgaWYoYXJyW3AxXSA9PT0gcCkgewogICAgICAgICAgICAgICAgICAgIGlmKCF0b2tlbkNvZGVzLmhhc093blByb3BlcnR5KGFycltwMV0pKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgICAgICAgICB9OwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-2-6"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0yLTciLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS0yLTcuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgZG90IG9wZXJhdG9yIGFzc2lnbm1lbnQsIHZlcmlmaWVkIHdpdGggaGFzT3duUHJvcGVydHk6IHdoaWxlLCBkZWJ1Z2dlciwgZnVuY3Rpb24iLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0b2tlbkNvZGVzICA9IHt9OwogICAgICAgIHRva2VuQ29kZXMud2hpbGUgPSAwOyAKICAgICAgICB0b2tlbkNvZGVzLmRlYnVnZ2VyID0gMTsKICAgICAgICB0b2tlbkNvZGVzLmZ1bmN0aW9uID0gMjsgCiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ3doaWxlJyAsCiAgICAgICAgICAgICdkZWJ1Z2dlcicsIAogICAgICAgICAgICAnZnVuY3Rpb24nCiAgICAgICAgXTsKICAgICAgICBmb3IodmFyIHAgaW4gdG9rZW5Db2RlcykgeyAgICAgICAKICAgICAgICAgICAgZm9yKHZhciBwMSBpbiBhcnIpIHsgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICBpZihhcnJbcDFdID09PSBwKSB7CiAgICAgICAgICAgICAgICAgICAgaWYoIXRva2VuQ29kZXMuaGFzT3duUHJvcGVydHkoYXJyW3AxXSkpIHsKICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICAgICAgICAgIH07CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-2-7"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0yLTgiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS0yLTguanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgZG90IG9wZXJhdG9yIGFzc2lnbm1lbnQsIHZlcmlmaWVkIHdpdGggaGFzT3duUHJvcGVydHk6IHRoaXMsIHdpdGgsIGRlZmF1bHQiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0b2tlbkNvZGVzID0ge307CiAgICAgICAgdG9rZW5Db2Rlcy50aGlzID0gMDsgCiAgICAgICAgdG9rZW5Db2Rlcy53aXRoID0gMTsgCiAgICAgICAgdG9rZW5Db2Rlcy5kZWZhdWx0ID0gMjsKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAndGhpcycsIAogICAgICAgICAgICAnd2l0aCcsIAogICAgICAgICAgICAnZGVmYXVsdCcKICAgICAgICBdOwogICAgICAgIGZvcih2YXIgcCBpbiB0b2tlbkNvZGVzKSB7ICAgICAgIAogICAgICAgICAgICBmb3IodmFyIHAxIGluIGFycikgeyAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgIGlmKGFycltwMV0gPT09IHApIHsKICAgICAgICAgICAgICAgICAgICBpZighdG9rZW5Db2Rlcy5oYXNPd25Qcm9wZXJ0eShhcnJbcDFdKSkgewogICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgICAgICAgICAgfTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6.1-2-8"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0yLTkiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS0yLTkuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgZG90IG9wZXJhdG9yIGFzc2lnbm1lbnQsIHZlcmlmaWVkIHdpdGggaGFzT3duUHJvcGVydHk6IGlmLCB0aHJvdywgZGVsZXRlIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgdG9rZW5Db2RlcyA9IHt9OwogICAgICAgIHRva2VuQ29kZXMuaWYgPSAwOwogICAgICAgIHRva2VuQ29kZXMudGhyb3cgPSAxOwogICAgICAgIHRva2VuQ29kZXMuZGVsZXRlID0gMjsKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAnaWYnLCAKICAgICAgICAgICAgJ3Rocm93JywgCiAgICAgICAgICAgICdkZWxldGUnCiAgICAgICAgXTsKICAgICAgICBmb3IodmFyIHAgaW4gdG9rZW5Db2RlcykgeyAgICAgICAKICAgICAgICAgICAgZm9yKHZhciBwMSBpbiBhcnIpIHsgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICBpZihhcnJbcDFdID09PSBwKSB7CiAgICAgICAgICAgICAgICAgICAgaWYoIXRva2VuQ29kZXMuaGFzT3duUHJvcGVydHkoYXJyW3AxXSkpIHsKICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICAgICAgICAgIH07CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-2-9"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0zLTEiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS0zLTEuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgaW5kZXggYXNzaWdubWVudCx2ZXJpZmllZCB3aXRoIGhhc093blByb3BlcnR5OiBudWxsLCB0cnVlLCBmYWxzZSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0ge307CiAgICAgICAgdG9rZW5Db2Rlc1snbnVsbCddID0gMDsKCSAgICB0b2tlbkNvZGVzWyd0cnVlJ10gPSAxOwoJICAgIHRva2VuQ29kZXNbJ2ZhbHNlJ10gPSAyOwogICAgICAgIHZhciBhcnIgPSBbCiAgICAgICAgICAgICdudWxsJywKICAgICAgICAgICAgJ3RydWUnLAogICAgICAgICAgICAnZmFsc2UnCiAgICAgICAgICAgIF07CiAgICAgICAgZm9yKHZhciBwIGluIHRva2VuQ29kZXMpIHsgICAgICAgCiAgICAgICAgICAgIGZvcih2YXIgcDEgaW4gYXJyKSB7ICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgaWYoYXJyW3AxXSA9PT0gcCkgewogICAgICAgICAgICAgICAgICAgIGlmKCF0b2tlbkNvZGVzLmhhc093blByb3BlcnR5KGFycltwMV0pKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgICAgICAgICB9OwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-3-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0zLTEwIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtMy0xMC5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBpbmRleCBhc3NpZ25tZW50LHZlcmlmaWVkIHdpdGggaGFzT3duUHJvcGVydHk6IGluLCB0cnksIGNsYXNzIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgdG9rZW5Db2RlcyAgPSB7fTsKICAgICAgICB0b2tlbkNvZGVzWydpbiddID0gMDsKICAgICAgICB0b2tlbkNvZGVzWyd0cnknXSA9IDE7CiAgICAgICAgdG9rZW5Db2Rlc1snY2xhc3MnXSA9IDI7CiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ2luJywKICAgICAgICAgICAgJ3RyeScsCiAgICAgICAgICAgICdjbGFzcycKICAgICAgICAgICAgXTsKICAgICAgICBmb3IodmFyIHAgaW4gdG9rZW5Db2RlcykgeyAgICAgICAKICAgICAgICAgICAgZm9yKHZhciBwMSBpbiBhcnIpIHsgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICBpZihhcnJbcDFdID09PSBwKSB7CiAgICAgICAgICAgICAgICAgICAgaWYoIXRva2VuQ29kZXMuaGFzT3duUHJvcGVydHkoYXJyW3AxXSkpIHsKICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICAgICAgICAgIH07CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-3-10"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0zLTExIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtMy0xMS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBpbmRleCBhc3NpZ25tZW50LHZlcmlmaWVkIHdpdGggaGFzT3duUHJvcGVydHk6IGVudW0sIGV4dGVuZHMsIHN1cGVyIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgdG9rZW5Db2RlcyAgPSB7fTsKICAgICAgICB0b2tlbkNvZGVzWydlbnVtJ10gPSAwOwogICAgICAgIHRva2VuQ29kZXNbJ2V4dGVuZHMnXSA9IDE7CiAgICAgICAgdG9rZW5Db2Rlc1snc3VwZXInXSA9IDI7CiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ2VudW0nLAogICAgICAgICAgICAnZXh0ZW5kcycsCiAgICAgICAgICAgICdzdXBlcicKICAgICAgICAgICAgXTsKICAgICAgICBmb3IodmFyIHAgaW4gdG9rZW5Db2RlcykgeyAgICAgICAKICAgICAgICAgICAgZm9yKHZhciBwMSBpbiBhcnIpIHsgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICBpZihhcnJbcDFdID09PSBwKSB7CiAgICAgICAgICAgICAgICAgICAgaWYoIXRva2VuQ29kZXMuaGFzT3duUHJvcGVydHkoYXJyW3AxXSkpIHsKICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICAgICAgICAgIH07CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-3-11"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0zLTEyIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtMy0xMi5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBpbmRleCBhc3NpZ25tZW50LHZlcmlmaWVkIHdpdGggaGFzT3duUHJvcGVydHk6IGNvbnN0LCBleHBvcnQsIGltcG9ydCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0ge307CiAgICAgICAgdG9rZW5Db2Rlc1snY29uc3QnXSA9IDA7CiAgICAgICAgdG9rZW5Db2Rlc1snZXhwb3J0J10gPSAxOwogICAgICAgIHRva2VuQ29kZXNbJ2ltcG9ydCddID0gMjsKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAnY29uc3QnLAogICAgICAgICAgICAnZXhwb3J0JywKICAgICAgICAgICAgJ2ltcG9ydCcKICAgICAgICAgICAgXTsKICAgICAgICBmb3IodmFyIHAgaW4gdG9rZW5Db2RlcykgeyAgICAgICAKICAgICAgICAgICAgZm9yKHZhciBwMSBpbiBhcnIpIHsgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICBpZihhcnJbcDFdID09PSBwKSB7CiAgICAgICAgICAgICAgICAgICAgaWYoIXRva2VuQ29kZXMuaGFzT3duUHJvcGVydHkoYXJyW3AxXSkpIHsKICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICAgICAgICAgIH07CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-3-12"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0zLTEzIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtMy0xMy5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBpbmRleCBhc3NpZ25tZW50LHZlcmlmaWVkIHdpdGggaGFzT3duUHJvcGVydHk6IGltcGxlbWVudHMsIGxldCwgcHJpdmF0ZSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0ge307CiAgICAgICAgdG9rZW5Db2Rlc1snaW1wbGVtZW50cyddID0gMDsKICAgICAgICB0b2tlbkNvZGVzWydsZXQnXSA9IDE7CiAgICAgICAgdG9rZW5Db2Rlc1sncHJpdmF0ZSddID0gMjsKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAnaW1wbGVtZW50cycsCiAgICAgICAgICAgICdsZXQnLAogICAgICAgICAgICAncHJpdmF0ZScKICAgICAgICAgICAgXTsKICAgICAgICBmb3IodmFyIHAgaW4gdG9rZW5Db2RlcykgeyAgICAgICAKICAgICAgICAgICAgZm9yKHZhciBwMSBpbiBhcnIpIHsgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICBpZihhcnJbcDFdID09PSBwKSB7CiAgICAgICAgICAgICAgICAgICAgaWYoIXRva2VuQ29kZXMuaGFzT3duUHJvcGVydHkoYXJyW3AxXSkpIHsKICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICAgICAgICAgIH07CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-3-13"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0zLTE0IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtMy0xNC5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBpbmRleCBhc3NpZ25tZW50LHZlcmlmaWVkIHdpdGggaGFzT3duUHJvcGVydHk6IHB1YmxpYywgeWllbGQsIGludGVyZmFjZSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0ge307CiAgICAgICAgdG9rZW5Db2Rlc1sncHVibGljJ10gPSAwOwogICAgICAgIHRva2VuQ29kZXNbJ3lpZWxkJ10gPSAxOwogICAgICAgIHRva2VuQ29kZXNbJ2ludGVyZmFjZSddID0gMjsKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAncHVibGljJywKICAgICAgICAgICAgJ3lpZWxkJywKICAgICAgICAgICAgJ2ludGVyZmFjZScKICAgICAgICAgICAgXTsKICAgICAgICBmb3IodmFyIHAgaW4gdG9rZW5Db2RlcykgeyAgICAgICAKICAgICAgICAgICAgZm9yKHZhciBwMSBpbiBhcnIpIHsgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICBpZihhcnJbcDFdID09PSBwKSB7CiAgICAgICAgICAgICAgICAgICAgaWYoIXRva2VuQ29kZXMuaGFzT3duUHJvcGVydHkoYXJyW3AxXSkpIHsKICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICAgICAgICAgIH07CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-3-14"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0zLTE1IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtMy0xNS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBpbmRleCBhc3NpZ25tZW50LHZlcmlmaWVkIHdpdGggaGFzT3duUHJvcGVydHk6IHBhY2thZ2UsIHByb3RlY3RlZCwgc3RhdGljIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgdG9rZW5Db2RlcyAgPSB7fTsKICAgICAgICB0b2tlbkNvZGVzWydwYWNrYWdlJ10gPSAwOwogICAgICAgIHRva2VuQ29kZXNbJ3Byb3RlY3RlZCddID0gMTsKICAgICAgICB0b2tlbkNvZGVzWydzdGF0aWMnXSA9IDI7CiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ3BhY2thZ2UnLAogICAgICAgICAgICAncHJvdGVjdGVkJywKICAgICAgICAgICAgJ3N0YXRpYycgICAKICAgICAgICAgICAgXTsKICAgICAgICBmb3IodmFyIHAgaW4gdG9rZW5Db2RlcykgeyAgICAgICAKICAgICAgICAgICAgZm9yKHZhciBwMSBpbiBhcnIpIHsgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICBpZihhcnJbcDFdID09PSBwKSB7CiAgICAgICAgICAgICAgICAgICAgaWYoIXRva2VuQ29kZXMuaGFzT3duUHJvcGVydHkoYXJyW3AxXSkpIHsKICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICAgICAgICAgIH07CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-3-15"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0zLTE2IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtMy0xNi5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBpbmRleCBhc3NpZ25tZW50LHZlcmlmaWVkIHdpdGggaGFzT3duUHJvcGVydHk6IHVuZGVmaW5lZCwgTmFOLCBJbmZpbml0eSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0ge307CiAgICAgICAgdG9rZW5Db2Rlc1sndW5kZWZpbmVkJ10gPSAwOwogICAgICAgIHRva2VuQ29kZXNbJ05hTiddID0gMTsKICAgICAgICB0b2tlbkNvZGVzWydJbmZpbml0eSddID0gMjsKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAndW5kZWZpbmVkJywKICAgICAgICAgICAgJ05hTicsCiAgICAgICAgICAgICdJbmZpbml0eScKICAgICAgICAgICAgXTsKICAgICAgICBmb3IodmFyIHAgaW4gdG9rZW5Db2RlcykgeyAgICAgICAKICAgICAgICAgICAgZm9yKHZhciBwMSBpbiBhcnIpIHsgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICBpZihhcnJbcDFdID09PSBwKSB7CiAgICAgICAgICAgICAgICAgICAgaWYoIXRva2VuQ29kZXMuaGFzT3duUHJvcGVydHkoYXJyW3AxXSkpIHsKICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICAgICAgICAgIH07CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-3-16"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0zLTIiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS0zLTIuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgaW5kZXggYXNzaWdubWVudCx2ZXJpZmllZCB3aXRoIGhhc093blByb3BlcnR5OiBicmVhaywgY2FzZSwgZG8iLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0b2tlbkNvZGVzICA9IHt9OwogICAgICAgIHRva2VuQ29kZXNbJ2JyZWFrJ10gPSAwOwogICAgICAgIHRva2VuQ29kZXNbJ2Nhc2UnXSA9IDE7CiAgICAgICAgdG9rZW5Db2Rlc1snZG8nXSA9IDI7CiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ2JyZWFrJywKICAgICAgICAgICAgJ2Nhc2UnLAogICAgICAgICAgICAnZG8nCiAgICAgICAgICAgIF07CiAgICAgICAgZm9yKHZhciBwIGluIHRva2VuQ29kZXMpIHsgICAgICAgCiAgICAgICAgICAgIGZvcih2YXIgcDEgaW4gYXJyKSB7ICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgaWYoYXJyW3AxXSA9PT0gcCkgewogICAgICAgICAgICAgICAgICAgIGlmKCF0b2tlbkNvZGVzLmhhc093blByb3BlcnR5KGFycltwMV0pKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgICAgICAgICB9OwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-3-2"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0zLTMiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS0zLTMuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgaW5kZXggYXNzaWdubWVudCx2ZXJpZmllZCB3aXRoIGhhc093blByb3BlcnR5OiBpbnN0YW5jZW9mLCB0eXBlb2YsIGVsc2UiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0b2tlbkNvZGVzICA9IHt9OwogICAgICAgIHRva2VuQ29kZXNbJ2luc3RhbmNlb2YnXSA9IDA7CiAgICAgICAgdG9rZW5Db2Rlc1sndHlwZW9mJ10gPSAxOwogICAgICAgIHRva2VuQ29kZXNbJ2Vsc2UnXSA9IDI7CiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ2luc3RhbmNlb2YnLAogICAgICAgICAgICAndHlwZW9mJywKICAgICAgICAgICAgJ2Vsc2UnCiAgICAgICAgICAgIF07CiAgICAgICAgZm9yKHZhciBwIGluIHRva2VuQ29kZXMpIHsgICAgICAgCiAgICAgICAgICAgIGZvcih2YXIgcDEgaW4gYXJyKSB7ICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgaWYoYXJyW3AxXSA9PT0gcCkgewogICAgICAgICAgICAgICAgICAgIGlmKCF0b2tlbkNvZGVzLmhhc093blByb3BlcnR5KGFycltwMV0pKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgICAgICAgICB9OwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-3-3"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0zLTQiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS0zLTQuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgaW5kZXggYXNzaWdubWVudCx2ZXJpZmllZCB3aXRoIGhhc093blByb3BlcnR5OiBuZXcsIHZhciwgY2F0Y2giLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0b2tlbkNvZGVzICA9IHt9OwogICAgICAgIHRva2VuQ29kZXNbJ25ldyddID0gMDsKICAgICAgICB0b2tlbkNvZGVzWyd2YXInXSA9IDE7CiAgICAgICAgdG9rZW5Db2Rlc1snY2F0Y2gnXSA9IDI7CiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ25ldycsCiAgICAgICAgICAgICd2YXInLAogICAgICAgICAgICAnY2F0Y2gnCiAgICAgICAgICAgIF07CiAgICAgICAgZm9yKHZhciBwIGluIHRva2VuQ29kZXMpIHsgICAgICAgCiAgICAgICAgICAgIGZvcih2YXIgcDEgaW4gYXJyKSB7ICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgaWYoYXJyW3AxXSA9PT0gcCkgewogICAgICAgICAgICAgICAgICAgIGlmKCF0b2tlbkNvZGVzLmhhc093blByb3BlcnR5KGFycltwMV0pKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgICAgICAgICB9OwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-3-4"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0zLTUiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS0zLTUuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgaW5kZXggYXNzaWdubWVudCx2ZXJpZmllZCB3aXRoIGhhc093blByb3BlcnR5OiBmaW5hbGx5LCByZXR1cm4sIHZvaWQiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0b2tlbkNvZGVzICA9IHt9OwogICAgICAgIHRva2VuQ29kZXNbJ2ZpbmFsbHknXSA9IDA7CiAgICAgICAgdG9rZW5Db2Rlc1sncmV0dXJuJ10gPSAxOwogICAgICAgIHRva2VuQ29kZXNbJ3ZvaWQnXSA9IDI7CiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ2ZpbmFsbHknLAogICAgICAgICAgICAncmV0dXJuJywKICAgICAgICAgICAgJ3ZvaWQnCiAgICAgICAgICAgIF07CiAgICAgICAgZm9yKHZhciBwIGluIHRva2VuQ29kZXMpIHsgICAgICAgCiAgICAgICAgICAgIGZvcih2YXIgcDEgaW4gYXJyKSB7ICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgaWYoYXJyW3AxXSA9PT0gcCkgewogICAgICAgICAgICAgICAgICAgIGlmKCF0b2tlbkNvZGVzLmhhc093blByb3BlcnR5KGFycltwMV0pKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgICAgICAgICB9OwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-3-5"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0zLTYiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS0zLTYuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgaW5kZXggYXNzaWdubWVudCx2ZXJpZmllZCB3aXRoIGhhc093blByb3BlcnR5OiBjb250aW51ZSwgZm9yLCBzd2l0Y2giLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0b2tlbkNvZGVzICA9IHt9OwogICAgICAgIHRva2VuQ29kZXNbJ2NvbnRpbnVlJ10gPSAwOwogICAgICAgIHRva2VuQ29kZXNbJ2ZvciddID0gMTsKICAgICAgICB0b2tlbkNvZGVzWydzd2l0Y2gnXSA9IDI7CiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ2NvbnRpbnVlJywKICAgICAgICAgICAgJ2ZvcicsCiAgICAgICAgICAgICdzd2l0Y2gnCiAgICAgICAgICAgIF07CiAgICAgICAgZm9yKHZhciBwIGluIHRva2VuQ29kZXMpIHsgICAgICAgCiAgICAgICAgICAgIGZvcih2YXIgcDEgaW4gYXJyKSB7ICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgaWYoYXJyW3AxXSA9PT0gcCkgewogICAgICAgICAgICAgICAgICAgIGlmKCF0b2tlbkNvZGVzLmhhc093blByb3BlcnR5KGFycltwMV0pKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgICAgICAgICB9OwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-3-6"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0zLTciLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS0zLTcuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgaW5kZXggYXNzaWdubWVudCx2ZXJpZmllZCB3aXRoIGhhc093blByb3BlcnR5OiB3aGlsZSwgZGVidWdnZXIsIGZ1bmN0aW9uIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgdG9rZW5Db2RlcyAgPSB7fTsKICAgICAgICB0b2tlbkNvZGVzWyd3aGlsZSddID0gMDsKICAgICAgICB0b2tlbkNvZGVzWydkZWJ1Z2dlciddID0gMTsKICAgICAgICB0b2tlbkNvZGVzWydmdW5jdGlvbiddID0gMjsgCiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ3doaWxlJywKICAgICAgICAgICAgJ2RlYnVnZ2VyJywKICAgICAgICAgICAgJ2Z1bmN0aW9uJwogICAgICAgICAgICBdOwogICAgICAgIGZvcih2YXIgcCBpbiB0b2tlbkNvZGVzKSB7ICAgICAgIAogICAgICAgICAgICBmb3IodmFyIHAxIGluIGFycikgeyAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgIGlmKGFycltwMV0gPT09IHApIHsKICAgICAgICAgICAgICAgICAgICBpZighdG9rZW5Db2Rlcy5oYXNPd25Qcm9wZXJ0eShhcnJbcDFdKSkgewogICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgICAgICAgICAgfTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6.1-3-7"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0zLTgiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS0zLTguanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgaW5kZXggYXNzaWdubWVudCx2ZXJpZmllZCB3aXRoIGhhc093blByb3BlcnR5OiB0aGlzLCB3aXRoLCBkZWZhdWx0IiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgdG9rZW5Db2RlcyAgPSB7fTsKICAgICAgICB0b2tlbkNvZGVzWyd0aGlzJ10gPSAwOwogICAgICAgIHRva2VuQ29kZXNbJ3dpdGgnXSA9IDE7CiAgICAgICAgdG9rZW5Db2Rlc1snZGVmYXVsdCddID0gMjsKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAndGhpcycsCiAgICAgICAgICAgICd3aXRoJywKICAgICAgICAgICAgJ2RlZmF1bHQnCiAgICAgICAgICAgIF07CiAgICAgICAgZm9yKHZhciBwIGluIHRva2VuQ29kZXMpIHsgICAgICAgCiAgICAgICAgICAgIGZvcih2YXIgcDEgaW4gYXJyKSB7ICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgaWYoYXJyW3AxXSA9PT0gcCkgewogICAgICAgICAgICAgICAgICAgIGlmKCF0b2tlbkNvZGVzLmhhc093blByb3BlcnR5KGFycltwMV0pKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgICAgICAgICB9OwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-3-8"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0zLTkiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS0zLTkuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgaW5kZXggYXNzaWdubWVudCx2ZXJpZmllZCB3aXRoIGhhc093blByb3BlcnR5OiBpZiwgdGhyb3csIGRlbGV0ZSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0ge307CiAgICAgICAgdG9rZW5Db2Rlc1snaWYnXSA9IDA7CiAgICAgICAgdG9rZW5Db2Rlc1sndGhyb3cnXSA9IDE7CiAgICAgICAgdG9rZW5Db2Rlc1snZGVsZXRlJ10gPSAyOwogICAgICAgIHZhciBhcnIgPSBbCiAgICAgICAgICAgICdpZicsCiAgICAgICAgICAgICd0aHJvdycsCiAgICAgICAgICAgICdkZWxldGUnCiAgICAgICAgICAgIF07CiAgICAgICAgZm9yKHZhciBwIGluIHRva2VuQ29kZXMpIHsgICAgICAgCiAgICAgICAgICAgIGZvcih2YXIgcDEgaW4gYXJyKSB7ICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgaWYoYXJyW3AxXSA9PT0gcCkgewogICAgICAgICAgICAgICAgICAgIGlmKCF0b2tlbkNvZGVzLmhhc093blByb3BlcnR5KGFycltwMV0pKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgICAgICAgICB9OwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-3-9"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS00LTEiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS00LTEuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgc2V0IGZ1bmN0aW9uIHdpdGhpbiBhbiBvYmplY3QsIHZlcmlmaWVkIHdpdGggaGFzT3duUHJvcGVydHk6IG51bGwsIHRydWUsIGZhbHNlIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgdGVzdDAgPSAwLCB0ZXN0MSA9IDEsIHRlc3QyID0gMjsKICAgICAgICB2YXIgdG9rZW5Db2RlcyAgPSB7CiAgICAgICAgICAgIHNldCBudWxsKHZhbHVlKSB7CiAgICAgICAgICAgICAgICB0ZXN0MCA9IHZhbHVlOyAgICAgICAgCiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGdldCBudWxsKCkgewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QwOwogICAgICAgICAgICB9LAogICAgICAgICAgICBzZXQgdHJ1ZSh2YWx1ZSkgewogICAgICAgICAgICAgICAgdGVzdDEgPSB2YWx1ZTsgICAgICAgIAogICAgICAgICAgICB9LAogICAgICAgICAgICBnZXQgdHJ1ZSgpIHsKICAgICAgICAgICAgICAgIHJldHVybiB0ZXN0MTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgc2V0IGZhbHNlKHZhbHVlKSB7CiAgICAgICAgICAgICAgICB0ZXN0MiA9IHZhbHVlOyAgICAgICAgCiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGdldCBmYWxzZSgpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QyOwogICAgICAgICAgICB9CiAgICAgICAgfTsgICAgICAKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAnbnVsbCcsCiAgICAgICAgICAgICd0cnVlJywKICAgICAgICAgICAgJ2ZhbHNlJwogICAgICAgICAgICBdOwogICAgICAgIGZvcih2YXIgcCBpbiB0b2tlbkNvZGVzKSB7ICAgICAgIAogICAgICAgICAgICBmb3IodmFyIHAxIGluIGFycikgeyAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgIGlmKGFycltwMV0gPT09IHApIHsKICAgICAgICAgICAgICAgICAgICBpZighdG9rZW5Db2Rlcy5oYXNPd25Qcm9wZXJ0eShhcnJbcDFdKSkgewogICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgICAgICAgICAgfTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6.1-4-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS00LTEwIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtNC0xMC5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBzZXQgZnVuY3Rpb24gd2l0aGluIGFuIG9iamVjdCwgdmVyaWZpZWQgd2l0aCBoYXNPd25Qcm9wZXJ0eTogaW4sIHRyeSwgY2xhc3MiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0ZXN0MCA9IDAsIHRlc3QxID0gMSwgdGVzdDIgPSAyOwogICAgICAgIHZhciB0b2tlbkNvZGVzICA9IHsKICAgICAgICAgICAgc2V0IGluKHZhbHVlKXsKICAgICAgICAgICAgICAgIHRlc3QwID0gdmFsdWU7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGdldCBpbigpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QwOwogICAgICAgICAgICB9LAogICAgICAgICAgICBzZXQgdHJ5KHZhbHVlKXsKICAgICAgICAgICAgICAgIHRlc3QxID0gdmFsdWU7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGdldCB0cnkoKXsKICAgICAgICAgICAgICAgIHJldHVybiB0ZXN0MQogICAgICAgICAgICB9LAogICAgICAgICAgICBzZXQgY2xhc3ModmFsdWUpewogICAgICAgICAgICAgICAgdGVzdDIgPSB2YWx1ZTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZ2V0IGNsYXNzKCl7CiAgICAgICAgICAgICAgICByZXR1cm4gdGVzdDI7CiAgICAgICAgICAgIH0KICAgICAgICB9OyAgICAgIAogICAgICAgIHZhciBhcnIgPSBbCiAgICAgICAgICAgICdpbicsIAogICAgICAgICAgICAndHJ5JywKICAgICAgICAgICAgJ2NsYXNzJwogICAgICAgICAgICBdOwogICAgICAgIGZvcih2YXIgcCBpbiB0b2tlbkNvZGVzKSB7ICAgICAgIAogICAgICAgICAgICBmb3IodmFyIHAxIGluIGFycikgeyAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgIGlmKGFycltwMV0gPT09IHApIHsKICAgICAgICAgICAgICAgICAgICBpZighdG9rZW5Db2Rlcy5oYXNPd25Qcm9wZXJ0eShhcnJbcDFdKSkgewogICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgICAgICAgICAgfTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6.1-4-10"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS00LTExIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtNC0xMS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBzZXQgZnVuY3Rpb24gd2l0aGluIGFuIG9iamVjdCwgdmVyaWZpZWQgd2l0aCBoYXNPd25Qcm9wZXJ0eTogZW51bSwgZXh0ZW5kcywgc3VwZXIiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0ZXN0MCA9IDAsIHRlc3QxID0gMSwgdGVzdDIgPSAyOwogICAgICAgIHZhciB0b2tlbkNvZGVzICA9IHsKICAgICAgICAgICAgc2V0IGVudW0odmFsdWUpewogICAgICAgICAgICAgICAgdGVzdDAgPSB2YWx1ZTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZ2V0IGVudW0oKXsKICAgICAgICAgICAgICAgIHJldHVybiB0ZXN0MDsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgc2V0IGV4dGVuZHModmFsdWUpewogICAgICAgICAgICAgICAgdGVzdDEgPSB2YWx1ZTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZ2V0IGV4dGVuZHMoKXsKICAgICAgICAgICAgICAgIHJldHVybiB0ZXN0MTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgc2V0IHN1cGVyKHZhbHVlKXsKICAgICAgICAgICAgICAgIHRlc3QyID0gdmFsdWU7CiAgICAgICAgICAgIH0sIAogICAgICAgICAgICBnZXQgc3VwZXIoKXsKICAgICAgICAgICAgICAgIHJldHVybiB0ZXN0MjsKICAgICAgICAgICAgfQogICAgICAgIH07ICAgICAgCiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ2VudW0nLAogICAgICAgICAgICAnZXh0ZW5kcycsCiAgICAgICAgICAgICdzdXBlcicKICAgICAgICAgICAgXTsKICAgICAgICBmb3IodmFyIHAgaW4gdG9rZW5Db2RlcykgeyAgICAgICAKICAgICAgICAgICAgZm9yKHZhciBwMSBpbiBhcnIpIHsgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICBpZihhcnJbcDFdID09PSBwKSB7CiAgICAgICAgICAgICAgICAgICAgaWYoIXRva2VuQ29kZXMuaGFzT3duUHJvcGVydHkoYXJyW3AxXSkpIHsKICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICAgICAgICAgIH07CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-4-11"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS00LTEyIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtNC0xMi5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBzZXQgZnVuY3Rpb24gd2l0aGluIGFuIG9iamVjdCwgdmVyaWZpZWQgd2l0aCBoYXNPd25Qcm9wZXJ0eTogY29uc3QsIGV4cG9ydCwgaW1wb3J0IiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgdGVzdDAgPSAwLCB0ZXN0MSA9IDEsIHRlc3QyID0gMjsKICAgICAgICB2YXIgdG9rZW5Db2RlcyAgPSB7CiAgICAgICAgICAgIHNldCBjb25zdCh2YWx1ZSl7CiAgICAgICAgICAgICAgICB0ZXN0MCA9IHZhbHVlOwogICAgICAgICAgICB9LAogICAgICAgICAgICBnZXQgY29uc3QoKXsKICAgICAgICAgICAgICAgIHJldHVybiB0ZXN0MDsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgc2V0IGV4cG9ydCh2YWx1ZSl7CiAgICAgICAgICAgICAgICB0ZXN0MSA9IHZhbHVlOwogICAgICAgICAgICB9LAogICAgICAgICAgICBnZXQgZXhwb3J0KCl7CiAgICAgICAgICAgICAgICByZXR1cm4gdGVzdDEKICAgICAgICAgICAgfSwKICAgICAgICAgICAgc2V0IGltcG9ydCh2YWx1ZSl7CiAgICAgICAgICAgICAgICB0ZXN0MiA9IHZhbHVlOwogICAgICAgICAgICB9LAogICAgICAgICAgICBnZXQgaW1wb3J0KCl7CiAgICAgICAgICAgICAgICByZXR1cm4gdGVzdDIKICAgICAgICAgICAgfQogICAgICAgIH07ICAgICAgCiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ2NvbnN0JywKICAgICAgICAgICAgJ2V4cG9ydCcsCiAgICAgICAgICAgICdpbXBvcnQnCiAgICAgICAgICAgIF07CiAgICAgICAgZm9yKHZhciBwIGluIHRva2VuQ29kZXMpIHsgICAgICAgCiAgICAgICAgICAgIGZvcih2YXIgcDEgaW4gYXJyKSB7ICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgaWYoYXJyW3AxXSA9PT0gcCkgewogICAgICAgICAgICAgICAgICAgIGlmKCF0b2tlbkNvZGVzLmhhc093blByb3BlcnR5KGFycltwMV0pKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgICAgICAgICB9OwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-4-12"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS00LTEzIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtNC0xMy5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBzZXQgZnVuY3Rpb24gd2l0aGluIGFuIG9iamVjdCwgdmVyaWZpZWQgd2l0aCBoYXNPd25Qcm9wZXJ0eTogaW1wbGVtZW50cywgbGV0LCBwcml2YXRlIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgdGVzdDAgPSAwLCB0ZXN0MSA9IDEsIHRlc3QyID0gMjsKICAgICAgICB2YXIgdG9rZW5Db2RlcyAgPSB7CiAgICAgICAgICAgIHNldCBpbXBsZW1lbnRzKHZhbHVlKXsKICAgICAgICAgICAgICAgIHRlc3QwID0gdmFsdWU7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGdldCBpbXBsZW1lbnRzKCl7CiAgICAgICAgICAgICAgICByZXR1cm4gdGVzdDA7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIHNldCBsZXQodmFsdWUpewogICAgICAgICAgICAgICAgdGVzdDEgPSB2YWx1ZTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZ2V0IGxldCgpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QxCiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIHNldCBwcml2YXRlKHZhbHVlKXsKICAgICAgICAgICAgICAgIHRlc3QyID0gdmFsdWU7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGdldCBwcml2YXRlKCl7CiAgICAgICAgICAgICAgICByZXR1cm4gdGVzdDI7CiAgICAgICAgICAgIH0KICAgICAgICB9OyAgICAgIAogICAgICAgIHZhciBhcnIgPSBbCiAgICAgICAgICAgICdpbXBsZW1lbnRzJywKICAgICAgICAgICAgJ2xldCcsCiAgICAgICAgICAgICdwcml2YXRlJwogICAgICAgICAgICBdOwogICAgICAgIGZvcih2YXIgcCBpbiB0b2tlbkNvZGVzKSB7ICAgICAgIAogICAgICAgICAgICBmb3IodmFyIHAxIGluIGFycikgeyAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgIGlmKGFycltwMV0gPT09IHApIHsKICAgICAgICAgICAgICAgICAgICBpZighdG9rZW5Db2Rlcy5oYXNPd25Qcm9wZXJ0eShhcnJbcDFdKSkgewogICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgICAgICAgICAgfTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6.1-4-13"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS00LTE0IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtNC0xNC5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBzZXQgZnVuY3Rpb24gd2l0aGluIGFuIG9iamVjdCwgdmVyaWZpZWQgd2l0aCBoYXNPd25Qcm9wZXJ0eTogcHVibGljLCB5aWVsZCwgaW50ZXJmYWNlIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgdGVzdDAgPSAwLCB0ZXN0MSA9IDEsIHRlc3QyID0gMjsKICAgICAgICB2YXIgdG9rZW5Db2RlcyAgPSB7CiAgICAgICAgICAgIHNldCBwdWJsaWModmFsdWUpewogICAgICAgICAgICAgICAgdGVzdDAgPSB2YWx1ZTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZ2V0IHB1YmxpYygpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QwOwogICAgICAgICAgICB9LAogICAgICAgICAgICBzZXQgeWllbGQodmFsdWUpewogICAgICAgICAgICAgICAgdGVzdDEgPSB2YWx1ZTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZ2V0IHlpZWxkKCl7CiAgICAgICAgICAgICAgICByZXR1cm4gdGVzdDE7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIHNldCBpbnRlcmZhY2UodmFsdWUpewogICAgICAgICAgICAgICAgdGVzdDIgPSB2YWx1ZTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZ2V0IGludGVyZmFjZSgpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QyOwogICAgICAgICAgICB9CiAgICAgICAgfTsgICAgICAKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAncHVibGljJywKICAgICAgICAgICAgJ3lpZWxkJywKICAgICAgICAgICAgJ2ludGVyZmFjZScKICAgICAgICAgICAgXTsKICAgICAgICBmb3IodmFyIHAgaW4gdG9rZW5Db2RlcykgeyAgICAgICAKICAgICAgICAgICAgZm9yKHZhciBwMSBpbiBhcnIpIHsgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICBpZihhcnJbcDFdID09PSBwKSB7CiAgICAgICAgICAgICAgICAgICAgaWYoIXRva2VuQ29kZXMuaGFzT3duUHJvcGVydHkoYXJyW3AxXSkpIHsKICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICAgICAgICAgIH07CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-4-14"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS00LTE1IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtNC0xNS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBzZXQgZnVuY3Rpb24gd2l0aGluIGFuIG9iamVjdCwgdmVyaWZpZWQgd2l0aCBoYXNPd25Qcm9wZXJ0eTogcGFja2FnZSwgcHJvdGVjdGVkLCBzdGF0aWMiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0ZXN0MCA9IDAsIHRlc3QxID0gMSwgdGVzdDIgPSAyOwogICAgICAgIHZhciB0b2tlbkNvZGVzICA9IHsKICAgICAgICAgICAgc2V0IHBhY2thZ2UodmFsdWUpewogICAgICAgICAgICAgICAgdGVzdDAgPSB2YWx1ZTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZ2V0IHBhY2thZ2UoKXsKICAgICAgICAgICAgICAgIHJldHVybiB0ZXN0MDsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgc2V0IHByb3RlY3RlZCh2YWx1ZSl7CiAgICAgICAgICAgICAgICB0ZXN0MSA9IHZhbHVlOwogICAgICAgICAgICB9LAogICAgICAgICAgICBnZXQgcHJvdGVjdGVkKCl7CiAgICAgICAgICAgICAgICByZXR1cm4gdGVzdDEKICAgICAgICAgICAgfSwKICAgICAgICAgICAgc2V0IHN0YXRpYyh2YWx1ZSl7CiAgICAgICAgICAgICAgICB0ZXN0MiA9IHZhbHVlOwogICAgICAgICAgICB9LAogICAgICAgICAgICBnZXQgc3RhdGljKCl7CiAgICAgICAgICAgICAgICByZXR1cm4gdGVzdDI7CiAgICAgICAgICAgIH0KICAgICAgICB9OyAgICAgIAogICAgICAgIHZhciBhcnIgPSBbCiAgICAgICAgICAgICdwYWNrYWdlJywKICAgICAgICAgICAgJ3Byb3RlY3RlZCcsCiAgICAgICAgICAgICdzdGF0aWMnICAKICAgICAgICAgICAgXTsKICAgICAgICBmb3IodmFyIHAgaW4gdG9rZW5Db2RlcykgeyAgICAgICAKICAgICAgICAgICAgZm9yKHZhciBwMSBpbiBhcnIpIHsgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICBpZihhcnJbcDFdID09PSBwKSB7CiAgICAgICAgICAgICAgICAgICAgaWYoIXRva2VuQ29kZXMuaGFzT3duUHJvcGVydHkoYXJyW3AxXSkpIHsKICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICAgICAgICAgIH07CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-4-15"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS00LTE2IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtNC0xNi5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBzZXQgZnVuY3Rpb24gd2l0aGluIGFuIG9iamVjdCwgdmVyaWZpZWQgd2l0aCBoYXNPd25Qcm9wZXJ0eTogdW5kZWZpbmVkLCBOYU4sIEluZmluaXR5IiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgdGVzdDAgPSAwLCB0ZXN0MSA9IDEsIHRlc3QyID0gMjsKICAgICAgICB2YXIgdG9rZW5Db2RlcyAgPSB7CiAgICAgICAgICAgIHNldCB1bmRlZmluZWQodmFsdWUpewogICAgICAgICAgICAgICAgdGVzdDAgPSB2YWx1ZTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZ2V0IHVuZGVmaW5lZCgpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QwOwogICAgICAgICAgICB9LAogICAgICAgICAgICBzZXQgTmFOKHZhbHVlKXsKICAgICAgICAgICAgICAgIHRlc3QxID0gdmFsdWU7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGdldCBOYU4oKXsKICAgICAgICAgICAgICAgIHJldHVybiB0ZXN0MTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgc2V0IEluZmluaXR5KHZhbHVlKXsKICAgICAgICAgICAgICAgIHRlc3QyID0gdmFsdWU7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGdldCBJbmZpbml0eSgpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QyOwogICAgICAgICAgICB9CiAgICAgICAgfTsgICAgICAKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAndW5kZWZpbmVkJywKICAgICAgICAgICAgJ05hTicsCiAgICAgICAgICAgICdJbmZpbml0eScKICAgICAgICAgICAgXTsKICAgICAgICBmb3IodmFyIHAgaW4gdG9rZW5Db2RlcykgeyAgICAgICAKICAgICAgICAgICAgZm9yKHZhciBwMSBpbiBhcnIpIHsgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICBpZihhcnJbcDFdID09PSBwKSB7CiAgICAgICAgICAgICAgICAgICAgaWYoIXRva2VuQ29kZXMuaGFzT3duUHJvcGVydHkoYXJyW3AxXSkpIHsKICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICAgICAgICAgIH07CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-4-16"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS00LTIiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS00LTIuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgc2V0IGZ1bmN0aW9uIHdpdGhpbiBhbiBvYmplY3QsIHZlcmlmaWVkIHdpdGggaGFzT3duUHJvcGVydHk6IGJyZWFrLCBjYXNlLCBkbyIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRlc3QwID0gMCwgdGVzdDEgPSAxLCB0ZXN0MiA9IDI7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0gewogICAgICAgICAgICBzZXQgYnJlYWsodmFsdWUpewogICAgICAgICAgICAgICAgdGVzdDAgPSB2YWx1ZTsgICAgICAgIAogICAgICAgICAgICB9LAogICAgICAgICAgICBnZXQgYnJlYWsoKXsKICAgICAgICAgICAgICAgIHJldHVybiB0ZXN0MDsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgc2V0IGNhc2UodmFsdWUpewogICAgICAgICAgICAgICAgdGVzdDEgPSB2YWx1ZTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZ2V0IGNhc2UoKXsKICAgICAgICAgICAgICAgIHJldHVybiB0ZXN0MTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgc2V0IGRvKHZhbHVlKXsKICAgICAgICAgICAgICAgIHRlc3QyID0gdmFsdWU7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGdldCBkbygpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QyOwogICAgICAgICAgICB9CiAgICAgICAgfTsgICAgICAKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAnYnJlYWsnLAogICAgICAgICAgICAnY2FzZScsCiAgICAgICAgICAgICdkbycKICAgICAgICAgICAgXTsKICAgICAgICBmb3IodmFyIHAgaW4gdG9rZW5Db2RlcykgeyAgICAgICAKICAgICAgICAgICAgZm9yKHZhciBwMSBpbiBhcnIpIHsgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICBpZihhcnJbcDFdID09PSBwKSB7CiAgICAgICAgICAgICAgICAgICAgaWYoIXRva2VuQ29kZXMuaGFzT3duUHJvcGVydHkoYXJyW3AxXSkpIHsKICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICAgICAgICAgIH07CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-4-2"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS00LTMiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS00LTMuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgc2V0IGZ1bmN0aW9uIHdpdGhpbiBhbiBvYmplY3QsIHZlcmlmaWVkIHdpdGggaGFzT3duUHJvcGVydHk6IGluc3RhbmNlb2YsIHR5cGVvZiwgZWxzZSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRlc3QwID0gMCwgdGVzdDEgPSAxLCB0ZXN0MiA9IDI7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0gewogICAgICAgICAgICBzZXQgaW5zdGFuY2VvZih2YWx1ZSl7CiAgICAgICAgICAgICAgICB0ZXN0MCA9IHZhbHVlOwogICAgICAgICAgICB9LAogICAgICAgICAgICBnZXQgaW5zdGFuY2VvZigpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QwOwogICAgICAgICAgICB9LAogICAgICAgICAgICBzZXQgdHlwZW9mKHZhbHVlKXsKICAgICAgICAgICAgICAgIHRlc3QxID0gdmFsdWU7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGdldCB0eXBlb2YoKXsKICAgICAgICAgICAgICAgIHJldHVybiB0ZXN0MTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgc2V0IGVsc2UodmFsdWUpewogICAgICAgICAgICAgICAgdGVzdDIgPSB2YWx1ZTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZ2V0IGVsc2UoKXsKICAgICAgICAgICAgICAgIHJldHVybiB0ZXN0MjsKICAgICAgICAgICAgfQogICAgICAgIH07ICAgICAgCiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ2luc3RhbmNlb2YnLAogICAgICAgICAgICAndHlwZW9mJywKICAgICAgICAgICAgJ2Vsc2UnCiAgICAgICAgICAgIF07CiAgICAgICAgZm9yKHZhciBwIGluIHRva2VuQ29kZXMpIHsgICAgICAgCiAgICAgICAgICAgIGZvcih2YXIgcDEgaW4gYXJyKSB7ICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgaWYoYXJyW3AxXSA9PT0gcCkgewogICAgICAgICAgICAgICAgICAgIGlmKCF0b2tlbkNvZGVzLmhhc093blByb3BlcnR5KGFycltwMV0pKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgICAgICAgICB9OwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-4-3"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS00LTQiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS00LTQuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgc2V0IGZ1bmN0aW9uIHdpdGhpbiBhbiBvYmplY3QsIHZlcmlmaWVkIHdpdGggaGFzT3duUHJvcGVydHk6IG5ldywgdmFyLCBjYXRjaCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRlc3QwID0gMCwgdGVzdDEgPSAxLCB0ZXN0MiA9IDI7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0gewogICAgICAgICAgICBzZXQgbmV3KHZhbHVlKXsKICAgICAgICAgICAgICAgIHRlc3QwID0gdmFsdWU7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGdldCBuZXcoKXsKICAgICAgICAgICAgICAgIHJldHVybiB0ZXN0MDsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgc2V0IHZhcih2YWx1ZSl7CiAgICAgICAgICAgICAgICB0ZXN0MSA9IHZhbHVlOwogICAgICAgICAgICB9LAogICAgICAgICAgICBnZXQgdmFyKCl7CiAgICAgICAgICAgICAgICByZXR1cm4gdGVzdDE7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIHNldCBjYXRjaCh2YWx1ZSl7CiAgICAgICAgICAgICAgICB0ZXN0MiA9IHZhbHVlOwogICAgICAgICAgICB9LAogICAgICAgICAgICBnZXQgY2F0Y2goKXsKICAgICAgICAgICAgICAgIHJldHVybiB0ZXN0MjsKICAgICAgICAgICAgfQogICAgICAgIH07ICAgICAgCiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ25ldycsIAogICAgICAgICAgICAndmFyJywgCiAgICAgICAgICAgICdjYXRjaCcKICAgICAgICAgICAgXTsKICAgICAgICBmb3IodmFyIHAgaW4gdG9rZW5Db2RlcykgeyAgICAgICAKICAgICAgICAgICAgZm9yKHZhciBwMSBpbiBhcnIpIHsgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICBpZihhcnJbcDFdID09PSBwKSB7CiAgICAgICAgICAgICAgICAgICAgaWYoIXRva2VuQ29kZXMuaGFzT3duUHJvcGVydHkoYXJyW3AxXSkpIHsKICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICAgICAgICAgIH07CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-4-4"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS00LTUiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS00LTUuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgc2V0IGZ1bmN0aW9uIHdpdGhpbiBhbiBvYmplY3QsIHZlcmlmaWVkIHdpdGggaGFzT3duUHJvcGVydHk6IGZpbmFsbHksIHJldHVybiwgdm9pZCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRlc3QwID0gMCwgdGVzdDEgPSAxLCB0ZXN0MiA9IDI7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0gewogICAgICAgICAgICBzZXQgZmluYWxseSh2YWx1ZSl7CiAgICAgICAgICAgICAgICB0ZXN0MCA9IHZhbHVlOwogICAgICAgICAgICB9LAogICAgICAgICAgICBnZXQgZmluYWxseSgpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QwOwogICAgICAgICAgICB9LAogICAgICAgICAgICBzZXQgcmV0dXJuKHZhbHVlKXsKICAgICAgICAgICAgICAgIHRlc3QxID0gdmFsdWU7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGdldCByZXR1cm4oKXsKICAgICAgICAgICAgICAgIHJldHVybiB0ZXN0MTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgc2V0IHZvaWQodmFsdWUpewogICAgICAgICAgICAgICAgdGVzdDIgPSB2YWx1ZTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZ2V0IHZvaWQoKXsKICAgICAgICAgICAgICAgIHJldHVybiB0ZXN0MjsKICAgICAgICAgICAgfQogICAgICAgIH07ICAgICAgCiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ2ZpbmFsbHknLCAKICAgICAgICAgICAgJ3JldHVybicsIAogICAgICAgICAgICAndm9pZCcKICAgICAgICAgICAgXTsKICAgICAgICBmb3IodmFyIHAgaW4gdG9rZW5Db2RlcykgeyAgICAgICAKICAgICAgICAgICAgZm9yKHZhciBwMSBpbiBhcnIpIHsgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICBpZihhcnJbcDFdID09PSBwKSB7CiAgICAgICAgICAgICAgICAgICAgaWYoIXRva2VuQ29kZXMuaGFzT3duUHJvcGVydHkoYXJyW3AxXSkpIHsKICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICAgICAgICAgIH07CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-4-5"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS00LTYiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS00LTYuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgc2V0IGZ1bmN0aW9uIHdpdGhpbiBhbiBvYmplY3QsIHZlcmlmaWVkIHdpdGggaGFzT3duUHJvcGVydHk6IGNvbnRpbnVlLCBmb3IsIHN3aXRjaCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRlc3QwID0gMCwgdGVzdDEgPSAxLCB0ZXN0MiA9IDI7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0gewogICAgICAgICAgICBzZXQgY29udGludWUodmFsdWUpewogICAgICAgICAgICAgICAgdGVzdDAgPSB2YWx1ZTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZ2V0IGNvbnRpbnVlKCl7CiAgICAgICAgICAgICAgICByZXR1cm4gdGVzdDA7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIHNldCBmb3IodmFsdWUpewogICAgICAgICAgICAgICAgdGVzdDEgPSB2YWx1ZTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZ2V0IGZvcigpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QxOwogICAgICAgICAgICB9LAogICAgICAgICAgICBzZXQgc3dpdGNoKHZhbHVlKXsKICAgICAgICAgICAgICAgIHRlc3QyID0gdmFsdWU7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGdldCBzd2l0Y2goKXsKICAgICAgICAgICAgICAgIHJldHVybiB0ZXN0MjsKICAgICAgICAgICAgfQogICAgICAgIH07ICAgICAgCiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ2NvbnRpbnVlJywgCiAgICAgICAgICAgICdmb3InLAogICAgICAgICAgICAnc3dpdGNoJwogICAgICAgICAgICBdOwogICAgICAgIGZvcih2YXIgcCBpbiB0b2tlbkNvZGVzKSB7ICAgICAgIAogICAgICAgICAgICBmb3IodmFyIHAxIGluIGFycikgeyAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgIGlmKGFycltwMV0gPT09IHApIHsKICAgICAgICAgICAgICAgICAgICBpZighdG9rZW5Db2Rlcy5oYXNPd25Qcm9wZXJ0eShhcnJbcDFdKSkgewogICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgICAgICAgICAgfTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6.1-4-6"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS00LTciLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS00LTcuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgc2V0IGZ1bmN0aW9uIHdpdGhpbiBhbiBvYmplY3QsIHZlcmlmaWVkIHdpdGggaGFzT3duUHJvcGVydHk6IHdoaWxlLCBkZWJ1Z2dlciwgZnVuY3Rpb24iLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0ZXN0MCA9IDAsIHRlc3QxID0gMSwgdGVzdDIgPSAyOwogICAgICAgIHZhciB0b2tlbkNvZGVzICA9IHsKICAgICAgICAgICAgc2V0IHdoaWxlKHZhbHVlKXsKICAgICAgICAgICAgICAgIHRlc3QwID0gdmFsdWU7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGdldCB3aGlsZSgpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QwCiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIHNldCBkZWJ1Z2dlcih2YWx1ZSl7CiAgICAgICAgICAgICAgICB0ZXN0MSA9IHZhbHVlOwogICAgICAgICAgICB9LAogICAgICAgICAgICBnZXQgZGVidWdnZXIoKXsKICAgICAgICAgICAgICAgIHJldHVybiB0ZXN0MTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgc2V0IGZ1bmN0aW9uKHZhbHVlKXsKICAgICAgICAgICAgICAgIHRlc3QyID0gdmFsdWU7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGdldCBmdW5jdGlvbigpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QyOwogICAgICAgICAgICB9CiAgICAgICAgfTsgICAgICAKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAnd2hpbGUnICwKICAgICAgICAgICAgJ2RlYnVnZ2VyJywgCiAgICAgICAgICAgICdmdW5jdGlvbicKICAgICAgICAgICAgXTsKICAgICAgICBmb3IodmFyIHAgaW4gdG9rZW5Db2RlcykgeyAgICAgICAKICAgICAgICAgICAgZm9yKHZhciBwMSBpbiBhcnIpIHsgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICBpZihhcnJbcDFdID09PSBwKSB7CiAgICAgICAgICAgICAgICAgICAgaWYoIXRva2VuQ29kZXMuaGFzT3duUHJvcGVydHkoYXJyW3AxXSkpIHsKICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICAgICAgICAgIH07CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-4-7"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS00LTgiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS00LTguanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgc2V0IGZ1bmN0aW9uIHdpdGhpbiBhbiBvYmplY3QsIHZlcmlmaWVkIHdpdGggaGFzT3duUHJvcGVydHk6IHRoaXMsIHdpdGgsIGRlZmF1bHQiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0ZXN0MCA9IDAsIHRlc3QxID0gMSwgdGVzdDIgPSAyOwogICAgICAgIHZhciB0b2tlbkNvZGVzICA9IHsKICAgICAgICAgICAgc2V0IHRoaXModmFsdWUpewogICAgICAgICAgICAgICAgdGVzdDAgPSB2YWx1ZTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZ2V0IHRoaXMoKXsKICAgICAgICAgICAgICAgIHJldHVybiB0ZXN0MDsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgc2V0IHdpdGgodmFsdWUpewogICAgICAgICAgICAgICAgdGVzdDEgPSB2YWx1ZTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZ2V0IHdpdGgoKXsKICAgICAgICAgICAgICAgIHJldHVybiB0ZXN0MTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgc2V0IGRlZmF1bHQodmFsdWUpewogICAgICAgICAgICAgICAgdGVzdDIgPSB2YWx1ZTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZ2V0IGRlZmF1bHQoKXsKICAgICAgICAgICAgICAgIHJldHVybiB0ZXN0MjsKICAgICAgICAgICAgfQogICAgICAgIH07ICAgICAgCiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ3RoaXMnLCAKICAgICAgICAgICAgJ3dpdGgnLCAKICAgICAgICAgICAgJ2RlZmF1bHQnCiAgICAgICAgICAgIF07CiAgICAgICAgZm9yKHZhciBwIGluIHRva2VuQ29kZXMpIHsgICAgICAgCiAgICAgICAgICAgIGZvcih2YXIgcDEgaW4gYXJyKSB7ICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgaWYoYXJyW3AxXSA9PT0gcCkgewogICAgICAgICAgICAgICAgICAgIGlmKCF0b2tlbkNvZGVzLmhhc093blByb3BlcnR5KGFycltwMV0pKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgICAgICAgICB9OwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-4-8"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS00LTkiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS00LTkuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgc2V0IGZ1bmN0aW9uIHdpdGhpbiBhbiBvYmplY3QsIHZlcmlmaWVkIHdpdGggaGFzT3duUHJvcGVydHk6IGlmLCB0aHJvdywgZGVsZXRlIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgdGVzdDAgPSAwLCB0ZXN0MSA9IDEsIHRlc3QyID0gMjsKICAgICAgICB2YXIgdG9rZW5Db2RlcyAgPSB7CiAgICAgICAgICAgIHNldCBpZih2YWx1ZSl7CiAgICAgICAgICAgICAgICB0ZXN0MCA9IHZhbHVlOwogICAgICAgICAgICB9LAogICAgICAgICAgICBnZXQgaWYoKXsKICAgICAgICAgICAgICAgIHJldHVybiB0ZXN0MDsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgc2V0IHRocm93KHZhbHVlKXsKICAgICAgICAgICAgICAgIHRlc3QxID0gdmFsdWU7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGdldCB0aHJvdygpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QxCiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIHNldCBkZWxldGUodmFsdWUpewogICAgICAgICAgICAgICAgdGVzdDIgPSB2YWx1ZTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZ2V0IGRlbGV0ZSgpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QyOwogICAgICAgICAgICB9CiAgICAgICAgfTsgICAgICAKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAnaWYnLCAKICAgICAgICAgICAgJ3Rocm93JywgCiAgICAgICAgICAgICdkZWxldGUnCiAgICAgICAgICAgIF07CiAgICAgICAgZm9yKHZhciBwIGluIHRva2VuQ29kZXMpIHsgICAgICAgCiAgICAgICAgICAgIGZvcih2YXIgcDEgaW4gYXJyKSB7ICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgaWYoYXJyW3AxXSA9PT0gcCkgewogICAgICAgICAgICAgICAgICAgIGlmKCF0b2tlbkNvZGVzLmhhc093blByb3BlcnR5KGFycltwMV0pKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgICAgICAgICB9OwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-4-9"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS01LTEiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS01LTEuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYXQgb2JqZWN0IGluaXRpYWxpemF0aW9uLCBhY2Nlc3NlZCB2aWEgaW5kZXhpbmc6IG51bGwsIHRydWUsIGZhbHNlIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgdG9rZW5Db2RlcyAgPSB7IAogICAgICAgICAgICBudWxsOiAwLAogICAgICAgICAgICB0cnVlOiAxLAogICAgICAgICAgICBmYWxzZTogMgogICAgICAgIH07CiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ251bGwnLAogICAgICAgICAgICAndHJ1ZScsCiAgICAgICAgICAgICdmYWxzZScKICAgICAgICBdOyAgCiAgICAgICAgZm9yICh2YXIgaSA9IDA7IGkgPCBhcnIubGVuZ3RoOyBpKyspIHsKICAgICAgICAgICAgaWYgKHRva2VuQ29kZXNbYXJyW2ldXSAhPT0gaSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICB9OwogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6.1-5-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS01LTEwIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtNS0xMC5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBhdCBvYmplY3QgaW5pdGlhbGl6YXRpb24sIGFjY2Vzc2VkIHZpYSBpbmRleGluZzogaW4sIHRyeSwgY2xhc3MiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0b2tlbkNvZGVzICA9IHsgCiAgICAgICAgICAgIGluOiAwLCAKICAgICAgICAgICAgdHJ5OiAxLAogICAgICAgICAgICBjbGFzczogMgogICAgICAgIH07CiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ2luJywgCiAgICAgICAgICAgICd0cnknLAogICAgICAgICAgICAnY2xhc3MnCiAgICAgICAgXTsKICAgICAgICBmb3IgKHZhciBpID0gMDsgaSA8IGFyci5sZW5ndGg7IGkrKykgewogICAgICAgICAgICBpZiAodG9rZW5Db2Rlc1thcnJbaV1dICE9PSBpKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgIH07CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-5-10"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS01LTExIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtNS0xMS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBhdCBvYmplY3QgaW5pdGlhbGl6YXRpb24sIGFjY2Vzc2VkIHZpYSBpbmRleGluZzogZW51bSwgZXh0ZW5kcywgc3VwZXIiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0b2tlbkNvZGVzID0gewogICAgICAgICAgICBlbnVtOiAwLAogICAgICAgICAgICBleHRlbmRzOiAxLAogICAgICAgICAgICBzdXBlcjogMgogICAgICAgIH07CiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ2VudW0nLAogICAgICAgICAgICAnZXh0ZW5kcycsCiAgICAgICAgICAgICdzdXBlcicKICAgICAgICBdOyAgCiAgICAgICAgZm9yICh2YXIgaSA9IDA7IGkgPCBhcnIubGVuZ3RoOyBpKyspIHsKICAgICAgICAgICAgaWYgKHRva2VuQ29kZXNbYXJyW2ldXSAhPT0gaSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICB9OwogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6.1-5-11"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS01LTEyIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtNS0xMi5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBhdCBvYmplY3QgaW5pdGlhbGl6YXRpb24sIGFjY2Vzc2VkIHZpYSBpbmRleGluZzogY29uc3QsIGV4cG9ydCwgaW1wb3J0IiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgdG9rZW5Db2RlcyA9IHsKICAgICAgICAgICAgY29uc3QgOiAwLAogICAgICAgICAgICBleHBvcnQ6IDEsCiAgICAgICAgICAgIGltcG9ydDogMgogICAgICAgIH07CiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ2NvbnN0JywKICAgICAgICAgICAgJ2V4cG9ydCcsCiAgICAgICAgICAgICdpbXBvcnQnCiAgICAgICAgXTsgCiAgICAgICAgZm9yICh2YXIgaSA9IDA7IGkgPCBhcnIubGVuZ3RoOyBpKyspIHsKICAgICAgICAgICAgaWYgKHRva2VuQ29kZXNbYXJyW2ldXSAhPT0gaSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICB9OwogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6.1-5-12"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS01LTEzIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtNS0xMy5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBhdCBvYmplY3QgaW5pdGlhbGl6YXRpb24sIGFjY2Vzc2VkIHZpYSBpbmRleGluZzogaW1wbGVtZW50cywgbGV0LCBwcml2YXRlIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgdG9rZW5Db2RlcyA9IHsKICAgICAgICAgICAgaW1wbGVtZW50czogMCwKICAgICAgICAgICAgbGV0OiAxLAogICAgICAgICAgICBwcml2YXRlOiAyCiAgICAgICAgfTsKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAnaW1wbGVtZW50cycsCiAgICAgICAgICAgICdsZXQnLAogICAgICAgICAgICAncHJpdmF0ZScKICAgICAgICBdOyAgIAogICAgICAgIGZvciAodmFyIGkgPSAwOyBpIDwgYXJyLmxlbmd0aDsgaSsrKSB7CiAgICAgICAgICAgIGlmICh0b2tlbkNvZGVzW2FycltpXV0gIT09IGkpIHsKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfTsKICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-5-13"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS01LTE0IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtNS0xNC5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBhdCBvYmplY3QgaW5pdGlhbGl6YXRpb24sIGFjY2Vzc2VkIHZpYSBpbmRleGluZzogcHVibGljLCB5aWVsZCwgaW50ZXJmYWNlIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgdG9rZW5Db2RlcyA9IHsKICAgICAgICAgICAgcHVibGljOiAwLAogICAgICAgICAgICB5aWVsZDogMSwKICAgICAgICAgICAgaW50ZXJmYWNlOiAyCiAgICAgICAgfTsKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAncHVibGljJywKICAgICAgICAgICAgJ3lpZWxkJywKICAgICAgICAgICAgJ2ludGVyZmFjZScKICAgICAgICBdOyAKICAgICAgICBmb3IgKHZhciBpID0gMDsgaSA8IGFyci5sZW5ndGg7IGkrKykgewogICAgICAgICAgICBpZiAodG9rZW5Db2Rlc1thcnJbaV1dICE9PSBpKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgIH07CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-5-14"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS01LTE1IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtNS0xNS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBhdCBvYmplY3QgaW5pdGlhbGl6YXRpb24sIGFjY2Vzc2VkIHZpYSBpbmRleGluZzogcGFja2FnZSwgcHJvdGVjdGVkLCBzdGF0aWMiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0b2tlbkNvZGVzID0gewogICAgICAgICAgICBwYWNrYWdlOiAwLAogICAgICAgICAgICBwcm90ZWN0ZWQ6IDEsCiAgICAgICAgICAgIHN0YXRpYzogMgogICAgICAgIH07CiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ3BhY2thZ2UnLAogICAgICAgICAgICAncHJvdGVjdGVkJywKICAgICAgICAgICAgJ3N0YXRpYycKICAgICAgICBdOyAgCiAgICAgICAgZm9yICh2YXIgaSA9IDA7IGkgPCBhcnIubGVuZ3RoOyBpKyspIHsKICAgICAgICAgICAgaWYgKHRva2VuQ29kZXNbYXJyW2ldXSAhPT0gaSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICB9OwogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6.1-5-15"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS01LTE2IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtNS0xNi5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBhdCBvYmplY3QgaW5pdGlhbGl6YXRpb24sIGFjY2Vzc2VkIHZpYSBpbmRleGluZzogdW5kZWZpbmVkLCBOYU4sIEluZmluaXR5IiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgdG9rZW5Db2RlcyA9IHsKICAgICAgICAgICAgdW5kZWZpbmVkOiAwLAogICAgICAgICAgICBOYU46IDEsCiAgICAgICAgICAgIEluZmluaXR5OiAyCiAgICAgICAgfTsKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAndW5kZWZpbmVkJywKICAgICAgICAgICAgJ05hTicsCiAgICAgICAgICAgICdJbmZpbml0eScKICAgICAgICBdOyAKICAgICAgICBmb3IgKHZhciBpID0gMDsgaSA8IGFyci5sZW5ndGg7IGkrKykgewogICAgICAgICAgICBpZiAodG9rZW5Db2Rlc1thcnJbaV1dICE9PSBpKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgIH07CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-5-16"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS01LTIiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS01LTIuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYXQgb2JqZWN0IGluaXRpYWxpemF0aW9uLCBhY2Nlc3NlZCB2aWEgaW5kZXhpbmc6IGJyZWFrLCBjYXNlLCBkbyIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0geyAKICAgICAgICAgICAgYnJlYWs6IDAsCiAgICAgICAgICAgIGNhc2U6IDEsCiAgICAgICAgICAgIGRvOiAyCiAgICAgICAgfTsKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAnYnJlYWsnLAogICAgICAgICAgICAnY2FzZScsCiAgICAgICAgICAgICdkbycKICAgICAgICBdOwogICAgICAgIGZvciAodmFyIGkgPSAwOyBpIDwgYXJyLmxlbmd0aDsgaSsrKSB7CiAgICAgICAgICAgIGlmICh0b2tlbkNvZGVzW2FycltpXV0gIT09IGkpIHsKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfTsKICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-5-2"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS01LTMiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS01LTMuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYXQgb2JqZWN0IGluaXRpYWxpemF0aW9uLCBhY2Nlc3NlZCB2aWEgaW5kZXhpbmc6IGluc3RhbmNlb2YsIHR5cGVvZiwgZWxzZSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0geyAKICAgICAgICAgICAgaW5zdGFuY2VvZjogMCwKICAgICAgICAgICAgdHlwZW9mOiAxLAogICAgICAgICAgICBlbHNlOiAyCiAgICAgICAgfTsKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAnaW5zdGFuY2VvZicsCiAgICAgICAgICAgICd0eXBlb2YnLAogICAgICAgICAgICAnZWxzZScKICAgICAgICBdOwogICAgICAgIGZvciAodmFyIGkgPSAwOyBpIDwgYXJyLmxlbmd0aDsgaSsrKSB7CiAgICAgICAgICAgIGlmICh0b2tlbkNvZGVzW2FycltpXV0gIT09IGkpIHsKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfTsKICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-5-3"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS01LTQiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS01LTQuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYXQgb2JqZWN0IGluaXRpYWxpemF0aW9uLCBhY2Nlc3NlZCB2aWEgaW5kZXhpbmc6IG5ldywgdmFyLCBjYXRjaCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0geyAKICAgICAgICAgICAgbmV3OiAwLAogICAgICAgICAgICB2YXI6IDEsCiAgICAgICAgICAgIGNhdGNoOiAyCiAgICAgICAgfTsKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAnbmV3JywgCiAgICAgICAgICAgICd2YXInLCAKICAgICAgICAgICAgJ2NhdGNoJwogICAgICAgIF07IAogICAgICAgIGZvciAodmFyIGkgPSAwOyBpIDwgYXJyLmxlbmd0aDsgaSsrKSB7CiAgICAgICAgICAgIGlmICh0b2tlbkNvZGVzW2FycltpXV0gIT09IGkpIHsKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfTsKICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-5-4"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS01LTUiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS01LTUuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYXQgb2JqZWN0IGluaXRpYWxpemF0aW9uLCBhY2Nlc3NlZCB2aWEgaW5kZXhpbmc6IGZpbmFsbHksIHJldHVybiwgdm9pZCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0geyAKICAgICAgICAgICAgZmluYWxseTogMCwKICAgICAgICAgICAgcmV0dXJuOiAxLAogICAgICAgICAgICB2b2lkOiAyCiAgICAgICAgfTsKICAgICAgICB2YXIgYXJyID0gWyAKICAgICAgICAgICAgJ2ZpbmFsbHknLCAKICAgICAgICAgICAgJ3JldHVybicsIAogICAgICAgICAgICAndm9pZCcKICAgICAgICBdOyAgCiAgICAgICAgZm9yICh2YXIgaSA9IDA7IGkgPCBhcnIubGVuZ3RoOyBpKyspIHsKICAgICAgICAgICAgaWYgKHRva2VuQ29kZXNbYXJyW2ldXSAhPT0gaSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICB9OwogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6.1-5-5"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS01LTYiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS01LTYuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYXQgb2JqZWN0IGluaXRpYWxpemF0aW9uLCBhY2Nlc3NlZCB2aWEgaW5kZXhpbmc6IGNvbnRpbnVlLCBmb3IsIHN3aXRjaCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0geyAKICAgICAgICAgICAgY29udGludWU6IDAsIAogICAgICAgICAgICBmb3I6IDEsIAogICAgICAgICAgICBzd2l0Y2g6IDIKICAgICAgICB9OwogICAgICAgIHZhciBhcnIgPSBbCiAgICAgICAgICAgICdjb250aW51ZScsIAogICAgICAgICAgICAnZm9yJywKICAgICAgICAgICAgJ3N3aXRjaCcKICAgICAgICBdOyAgCiAgICAgICAgZm9yICh2YXIgaSA9IDA7IGkgPCBhcnIubGVuZ3RoOyBpKyspIHsKICAgICAgICAgICAgaWYgKHRva2VuQ29kZXNbYXJyW2ldXSAhPT0gaSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICB9OwogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6.1-5-6"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS01LTciLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS01LTcuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYXQgb2JqZWN0IGluaXRpYWxpemF0aW9uLCBhY2Nlc3NlZCB2aWEgaW5kZXhpbmc6IHdoaWxlLCBkZWJ1Z2dlciwgZnVuY3Rpb24iLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0b2tlbkNvZGVzICA9IHsgCiAgICAgICAgICAgIHdoaWxlOiAwLCAKICAgICAgICAgICAgZGVidWdnZXI6IDEsIAogICAgICAgICAgICBmdW5jdGlvbjogMgogICAgICAgIH07CiAgICAgICAgdmFyIGFyciA9IFsgCiAgICAgICAgICAgICd3aGlsZScgLAogICAgICAgICAgICAnZGVidWdnZXInLCAKICAgICAgICAgICAgJ2Z1bmN0aW9uJwogICAgICAgIF07ICAgIAogICAgICAgIGZvciAodmFyIGkgPSAwOyBpIDwgYXJyLmxlbmd0aDsgaSsrKSB7CiAgICAgICAgICAgIGlmICh0b2tlbkNvZGVzW2FycltpXV0gIT09IGkpIHsKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfTsKICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-5-7"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS01LTgiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS01LTguanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYXQgb2JqZWN0IGluaXRpYWxpemF0aW9uLCBhY2Nlc3NlZCB2aWEgaW5kZXhpbmc6IHRoaXMsIHdpdGgsIGRlZmF1bHQiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0b2tlbkNvZGVzICA9IHsgICAgICAgCiAgICAgICAgICAgIHRoaXM6IDAsICAKICAgICAgICAgICAgd2l0aDogMSwgCiAgICAgICAgICAgIGRlZmF1bHQ6IDIKICAgICAgICB9OwogICAgICAgIHZhciBhcnIgPSBbIAogICAgICAgICAgICAndGhpcycsIAogICAgICAgICAgICAnd2l0aCcsIAogICAgICAgICAgICAnZGVmYXVsdCcKICAgICAgICBdOyAKICAgICAgICBmb3IgKHZhciBpID0gMDsgaSA8IGFyci5sZW5ndGg7IGkrKykgewogICAgICAgICAgICBpZiAodG9rZW5Db2Rlc1thcnJbaV1dICE9PSBpKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgIH07CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-5-8"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS01LTkiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS01LTkuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYXQgb2JqZWN0IGluaXRpYWxpemF0aW9uLCBhY2Nlc3NlZCB2aWEgaW5kZXhpbmc6IGlmLCB0aHJvdywgZGVsZXRlIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgdG9rZW5Db2RlcyAgPSB7IAogICAgICAgICAgICBpZjogMCwgCiAgICAgICAgICAgIHRocm93OiAxLCAKICAgICAgICAgICAgZGVsZXRlOiAyCiAgICAgICAgfTsKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAnaWYnLCAKICAgICAgICAgICAgJ3Rocm93JywgCiAgICAgICAgICAgICdkZWxldGUnCiAgICAgICAgXTsgICAKICAgICAgICBmb3IgKHZhciBpID0gMDsgaSA8IGFyci5sZW5ndGg7IGkrKykgewogICAgICAgICAgICBpZiAodG9rZW5Db2Rlc1thcnJbaV1dICE9PSBpKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgIH07CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-5-9"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS02LTEiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS02LTEuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgZG90IG9wZXJhdG9yIGFzc2lnbm1lbnQsIGFjY2Vzc2VkIHZpYSBpbmRleGluZzogbnVsbCwgdHJ1ZSwgZmFsc2UiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0b2tlbkNvZGVzICA9IHt9OwogICAgICAgIHRva2VuQ29kZXMubnVsbCA9IDA7CgkgICAgdG9rZW5Db2Rlcy50cnVlID0gMTsKCSAgICB0b2tlbkNvZGVzLmZhbHNlID0gMjsgCiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ251bGwnLAogICAgICAgICAgICAndHJ1ZScsCiAgICAgICAgICAgICdmYWxzZScKICAgICAgICAgXTsKICAgICAgICAgZm9yICh2YXIgaSA9IDA7IGkgPCBhcnIubGVuZ3RoOyBpKyspIHsKICAgICAgICAgICAgaWYgKHRva2VuQ29kZXNbYXJyW2ldXSAhPT0gaSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICB9OwogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6.1-6-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS02LTEwIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtNi0xMC5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBkb3Qgb3BlcmF0b3IgYXNzaWdubWVudCwgYWNjZXNzZWQgdmlhIGluZGV4aW5nOiBpbiwgdHJ5LCBjbGFzcyIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0ge307CiAgICAgICAgdG9rZW5Db2Rlcy5pbiA9IDA7CiAgICAgICAgdG9rZW5Db2Rlcy50cnkgPSAxOwogICAgICAgIHRva2VuQ29kZXMuY2xhc3MgPSAyOwogICAgICAgIHZhciBhcnIgPSBbCiAgICAgICAgICAgICdpbicsIAogICAgICAgICAgICAndHJ5JywKICAgICAgICAgICAgJ2NsYXNzJwogICAgICAgICBdOwogICAgICAgICBmb3IgKHZhciBpID0gMDsgaSA8IGFyci5sZW5ndGg7IGkrKykgewogICAgICAgICAgICBpZiAodG9rZW5Db2Rlc1thcnJbaV1dICE9PSBpKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgIH07CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-6-10"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS02LTExIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtNi0xMS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBkb3Qgb3BlcmF0b3IgYXNzaWdubWVudCwgYWNjZXNzZWQgdmlhIGluZGV4aW5nOiBlbnVtLCBleHRlbmRzLCBzdXBlciIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0ge307CiAgICAgICAgdG9rZW5Db2Rlcy5lbnVtID0gMDsKICAgICAgICB0b2tlbkNvZGVzLmV4dGVuZHMgPSAxOwogICAgICAgIHRva2VuQ29kZXMuc3VwZXIgPSAyOwogICAgICAgIHZhciBhcnIgPSBbCiAgICAgICAgICAgICdlbnVtJywKICAgICAgICAgICAgJ2V4dGVuZHMnLAogICAgICAgICAgICAnc3VwZXInCiAgICAgICAgIF07CiAgICAgICAgIGZvciAodmFyIGkgPSAwOyBpIDwgYXJyLmxlbmd0aDsgaSsrKSB7CiAgICAgICAgICAgIGlmICh0b2tlbkNvZGVzW2FycltpXV0gIT09IGkpIHsKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfTsKICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-6-11"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS02LTEyIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtNi0xMi5qcyIsCgogICAgZGVzY3JpcH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tlbkNvZGVzICA9IHt9OwogICAgICAgIHRva2VuQ29kZXMucHVibGljID0gMDsKICAgICAgICB0b2tlbkNvZGVzLnlpZWxkID0gMTsKICAgICAgICB0b2tlbkNvZGVzLmludGVyZmFjZSA9IDI7CiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ3B1YmxpYycsCiAgICAgICAgICAgICd5aWVsZCcsCiAgICAgICAgICAgICdpbnRlcmZhY2UnCiAgICAgICAgIF07CiAgICAgICAgIGZvciAodmFyIGkgPSAwOyBpIDwgYXJyLmxlbmd0aDsgaSsrKSB7CiAgICAgICAgICAgIGlmICh0b2tlbkNvZGVzW2FycltpXV0gIT09IGkpIHsKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfTsKICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-6-14"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS02LTE1IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtNi0xNS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBkb3Qgb3BlcmF0b3IgYXNzaWdubWVudCwgYWNjZXNzZWQgdmlhIGluZGV4aW5nOiBwYWNrYWdlLCBwcm90ZWN0ZWQsIHN0YXRpYyIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0ge307CiAgICAgICAgdG9rZW5Db2Rlcy5wYWNrYWdlID0gMDsKICAgICAgICB0b2tlbkNvZGVzLnByb3RlY3RlZCA9IDE7CiAgICAgICAgdG9rZW5Db2Rlcy5zdGF0aWMgPSAyOwogICAgICAgIHZhciBhcnIgPSBbCiAgICAgICAgICAgICdwYWNrYWdlJywKICAgICAgICAgICAgJ3Byb3RlY3RlZCcsCiAgICAgICAgICAgICdzdGF0aWMnIAogICAgICAgICBdOwogICAgICAgICBmb3IgKHZhciBpID0gMDsgaSA8IGFyci5sZW5ndGg7IGkrKykgewogICAgICAgICAgICBpZiAodG9rZW5Db2Rlc1thcnJbaV1dICE9PSBpKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgIH07CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-6-15"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS02LTE2IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtNi0xNi5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBkb3Qgb3BlcmF0b3IgYXNzaWdubWVudCwgYWNjZXNzZWQgdmlhIGluZGV4aW5nOiB1bmRlZmluZWQsIE5hTiwgSW5maW5pdHkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0b2tlbkNvZGVzICA9IHt9OwogICAgICAgIHRva2VuQ29kZXMudW5kZWZpbmVkID0gMDsKICAgICAgICB0b2tlbkNvZGVzLk5hTiA9IDE7CiAgICAgICAgdG9rZW5Db2Rlcy5JbmZpbml0eSA9IDI7CiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ3VuZGVmaW5lZCcsCiAgICAgICAgICAgICdOYU4nLAogICA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ltpXV0gIT09IGkpIHsKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfTsKICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-6-2"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS02LTMiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS02LTMuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgZG90IG9wZXJhdG9yIGFzc2lnbm1lbnQsIGFjY2Vzc2VkIHZpYSBpbmRleGluZzogaW5zdGFuY2VvZiwgdHlwZW9mLCBlbHNlIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgdG9rZW5Db2RlcyAgPSB7fTsKICAgICAgICB0b2tlbkNvZGVzLmluc3RhbmNlb2YgPSAwOwogICAgICAgIHRva2VuQ29kZXMudHlwZW9mID0gMTsKICAgICAgICB0b2tlbkNvZGVzLmVsc2UgPSAyOwogICAgICAgIHZhciBhcnIgPSBbCiAgICAgICAgICAgICdpbnN0YW5jZW9mJywKICAgICAgICAgICAgJ3R5cGVvZicsCiAgICAgICAgICAgICdlbHNlJwogICAgICAgICBdOwogICAgICAgICBmb3IgKHZhciBpID0gMDsgaSA8IGFyci5sZW5ndGg7IGkrKykgewogICAgICAgICAgICBpZiAodG9rZW5Db2Rlc1thcnJbaV1dICE9PSBpKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgIH07CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwogICAgfSw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YSBpbmRleGluZzogd2hpbGUsIGRlYnVnZ2VyLCBmdW5jdGlvbiIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0ge307CiAgICAgICAgdG9rZW5Db2Rlcy53aGlsZSA9IDA7IAogICAgICAgIHRva2VuQ29kZXMuZGVidWdnZXIgPSAxOwogICAgICAgIHRva2VuQ29kZXMuZnVuY3Rpb24gPSAyOyAKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAnd2hpbGUnICwKICAgICAgICAgICAgJ2RlYnVnZ2VyJywgCiAgICAgICAgICAgICdmdW5jdGlvbicKICAgICAgICAgXTsKICAgICAgICAgZm9yICh2YXIgaSA9IDA7IGkgPCBhcnIubGVuZ3RoOyBpKyspIHsKICAgICAgICAgICAgaWYgKHRva2VuQ29kZXNbYXJyW2ldXSAhPT0gaSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICB9OwogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6.1-6-7"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS02LTgiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS02LTguanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgZG90IG9wZXJhdG9yIGFzc2lnbm1lbnQsIGFjY2Vzc2VkIHZpYSBpbmRleGluZzogdGhpcywgd2l0aCwgZGVmYXVsdCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0ge307CiAgICAgICAgdG9rZW5Db2Rlcy50aGlzID0gMDsgCiAgICAgICAgdG9rZW5Db2Rlcy53aXRoID0gMTsgCiAgICAgICAgdG9rZW5Db2Rlcy5kZWZhdWx0ID0gMjsKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAndGhpcycsIAogICAgICAgICAgICAnd2l0aCcsIAogICAgICAgICAgICAnZGVmYXVsdCcKICAgICAgICAgXTsKICAgICAgICAgZm9yICh2YXIgaSA9IDA7IGkgPCBhcnIubGVuZ3RoOyBpKyspIHsKICAgICAgICAgICAgaWYgKHRva2VuQ29kZXNbYXJyW2ldXSAhPT0gaSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICB9OwogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IHJldHVybiB0cnVlOyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-6-8"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS02LTkiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS02LTkuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgZG90IG9wZXJhdG9yIGFzc2lnbm1lbnQsIGFjY2Vzc2VkIHZpYSBpbmRleGluZzogaWYsIHRocm93LCBkZWxldGUiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0b2tlbkNvZGVzICA9IHt9OwogICAgICAgIHRva2VuQ29kZXMuaWYgPSAwOwogICAgICAgIHRva2VuQ29kZXMudGhyb3cgPSAxOwogICAgICAgIHRva2VuQ29kZXMuZGVsZXRlID0gMjsKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAnaWYnLCAKICAgICAgICAgICAgJ3Rocm93JywgCiAgICAgICAgICAgICdkZWxldGUnCiAgICAgICAgIF07CiAgICAgICAgIGZvciAodmFyIGkgPSAwOyBpIDwgYXJyLmxlbmd0aDsgaSsrKSB7CiAgICAgICAgICAgIGlmICh0b2tlbkNvZGVzW2FycltpXV0gIT09IGkpIHsKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfTsKICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-6-9"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS03LTEiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS03LTEuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgaW5kZXggYXNzaWdubWVudCwgYWNjZXNzZWQgdmlhIGluZGV4aW5nOiBudWxsLCB0cnVlLCBmYWxzZSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgPSB7fTsKICAgICAgICB0b2tlbkNvZGVzWydudWxsJ10gPSAwOwogICAgICAgIHRva2VuQ29kZXNbJ3RydWUnXSA9IDE7CiAgICAgICAgdG9rZW5Db2Rlc1snZmFsc2UnXSA9IDI7ICAgICAgICAKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAnbnVsbCcsCiAgICAgICAgICAgICd0cnVlJywKICAgICAgICAgICAgJ2ZhbHNlJwogICAgICAgIF07CiAgICAgICAgZm9yICh2YXIgaSA9IDA7IGkgPCBhcnIubGVuZ3RoOyBpKyspIHsKICAgICAgICAgICAgaWYgKHRva2VuQ29kZXNbYXJyW2ldXSAhPT0gaSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICB9OwogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6.1-7-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS03LTEwIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtNy0xMC5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBpbmRleCBhc3NpZ25tZW50LCBhY2Nlc3NlZCB2aWEgaW5kZXhpbmc6IGluLCB0cnksIGNsYXNzIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgdG9rZW5Db2RlcyA9IHt9OwogICAgICAgIHRva2VuQ29kZXNbJ2luJ10gPSAwOwogICAgICAgIHRva2VuQ29kZXNbJ3RyeSddID0gMTsKICAgICAgICB0b2tlbkNvZGVzWydjbGFzcyddID0gMjsKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAnaW4nLAogICAgICAgICAgICAndHJ5JywKICAgICAgICAgICAgJ2NsYXNzJwogICAgICAgIF07CiAgICAgICAgZm9yICh2YXIgaSA9IDA7IGkgPCBhcnIubGVuZ3RoOyBpKyspIHsKICAgICAgICAgICAgaWYgKHRva2VuQ29kZXNbYXJyW2ldXSAhPT0gaSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICB9OwogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6.1-7-10"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS03LTExIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtNy0xMS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBpbmRleCBhc3NpZ25tZW50LCBhY2Nlc3NlZCB2aWEgaW5kZXhpbmc6IGVudW0sIGV4dGVuZHMsIHN1cGVyIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgdG9rZW5Db2RlcyA9IHt9OwogICAgICAgIHRva2VuQ29kZXNbJ2VudW0nXSA9IDA7CiAgICAgICAgdG9rZW5Db2Rlc1snZXh0ZW5kcyddID0gMTsKICAgICAgICB0b2tlbkNvZGVzWydzdXBlciddID0gMjsgICAgICAKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAnZW51bScsCiAgICAgICAgICAgICdleHRlbmRzJywKICAgICAgICAgICAgJ3N1cGVyJwogICAgICAgIF07CiAgICAgICAgZm9yICh2YXIgaSA9IDA7IGkgPCBhcnIubGVuZ3RoOyBpKyspIHsKICAgICAgICAgICAgaWYgKHRva2VuQ29kZXNbYXJyW2ldXSAhPT0gaSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICB9OwogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6.1-7-11"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS03LTEyIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtNy0xMi5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBpbmRleCBhc3NpZ25tZW50LCBhY2Nlc3NlZCB2aWEgaW5kZXhpbmc6IGNvbnN0LCBleHBvcnQsIGltcG9ydCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgPSB7fTsKICAgICAgICB0b2tlbkNvZGVzWydjb25zdCddID0gMDsKICAgICAgICB0b2tlbkNvZGVzWydleHBvcnQnXSA9IDE7CiAgICAgICAgdG9rZW5Db2Rlc1snaW1wb3J0J10gPSAyOyAgICAgIAogICAgICAgIHZhciBhcnIgPSBbCiAgICAgICAgICAgICdjb25zdCcsCiAgICAgICAgICAgICdleHBvcnQnLAogICAgICAgICAgICAnaW1wb3J0JwogICAgICAgIF07CiAgICAgICAgZm9yICh2YXIgaSA9IDA7IGkgPCBhcnIubGVuZ3RoOyBpKyspIHsKICAgICAgICAgICAgaWYgKHRva2VuQ29kZXNbYXJyW2ldXSAhPT0gaSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICB9OwogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6.1-7-12"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS03LTEzIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtNy0xMy5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBpbmRleCBhc3NpZ25tZW50LCBhY2Nlc3NlZCB2aWEgaW5kZXhpbmc6IGltcGxlbWVudHMsIGxldCwgcHJpdmF0ZSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgPSB7fTsKICAgICAgICB0b2tlbkNvZGVzWydpbXBsZW1lbnRzJ10gPSAwOwogICAgICAgIHRva2VuQ29kZXNbJ2xldCddID0gMTsKICAgICAgICB0b2tlbkNvZGVzWydwcml2YXRlJ10gPSAyOyAgICAgCiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ2ltcGxlbWVudHMnLAogICAgICAgICAgICAnbGV0JywKICAgICAgICAgICAgJ3ByaXZhdGUnCiAgICAgICAgXTsKICAgICAgICBmb3IgKHZhciBpID0gMDsgaSA8IGFyci5sZW5ndGg7IGkrKykgewogICAgICAgICAgICBpZiAodG9rZW5Db2Rlc1thcnJbaV1dICE9PSBpKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgIH07CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-7-13"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS03LTE0IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtNy0xNC5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBpbmRleCBhc3NpZ25tZW50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pIHsKICAgICAgICB2YXIgdG9rZW5Db2RlcyA9IHt9OwogICAgICAgIHRva2VuQ29kZXNbJ3BhY2thZ2UnXSA9IDA7CiAgICAgICAgdG9rZW5Db2Rlc1sncHJvdGVjdGVkJ10gPSAxOwogICAgICAgIHRva2VuQ29kZXNbJ3N0YXRpYyddID0gMjsgICAgCiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ3BhY2thZ2UnLAogICAgICAgICAgICAncHJvdGVjdGVkJywKICAgICAgICAgICAgJ3N0YXRpYycgCiAgICAgICAgXTsKICAgICAgICBmb3IgKHZhciBpID0gMDsgaSA8IGFyci5sZW5ndGg7IGkrKykgewogICAgICAgICAgICBpZiAodG9rZW5Db2Rlc1thcnJbaV1dICE9PSBpKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgIH07CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-7-15"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS03LTE2IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtNy0xNi5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBpbmRleCBhc3NpZ25tZW50LCBhY2Nlc3NlZCB2aWEgaW5kZXhpbmc6IHVuZGVmaW5lZCwgTmFOLCBJbmZpbml0eSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgPSB7fTsKICAgICAgICB0b2tlbkNvZGVzWyd1bmRlZmluZWQnXSA9IDA7CiAgICAgICAgdG9rZW5Db2Rlc1snTmFOJ10gPSAxOwogICAgICAgIHRva2VuQ29kZXNbJ0luZmluaXR5J10gPSAyOyAgICAgCiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ3VuZGVmaW5lZCcsCiAgICAgICAgICAgICdOYU4nLAogICAgICAgICAgICAnSW5maW5pdHknCiAgICAgICAgXTsKICAgICAgICBmb3IgKHZhciBpID0gMDsgaSA8IGFyci5sZW5ndGg7IGkrKykgewogICAgICAgICAgICBpZiAodG9rZW5Db2Rlc1thcnJbaV1dICE9PSBpKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgIH07CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-7-16"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS03LTIiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS03LTIuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgaW5kZXggYXNzaWdubWVudCwgYWNjZXNzZWQgdmlhIGluZGV4aW5nOiBicmVhaywgY2FzZSwgZG8iLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0b2tlbkNvZGVzID0ge307CiAgICAgICAgdG9rZW5Db2Rlc1snYnJlYWsnXSA9IDA7CiAgICAgICAgdG9rZW5Db2Rlc1snY2FzZSddID0gMTsKICAgICAgICB0b2tlbkNvZGVzWydkbyddID0gMjsgICAgIAogICAgICAgIHZhciBhcnIgPSBbCiAgICAgICAgICAgICdicmVhaycsCiAgICAgICAgICAgICdjYXNlJywKICAgICAgICAgICAgJ2RvJwogICAgICAgIF07CiAgICAgICAgZm9yICh2YXIgaSA9IDA7IGkgPCBhcnIubGVuZ3RoOyBpKyspIHsKICAgICAgICAgICAgaWYgKHRva2VuQ29kZXNbYXJyW2ldXSAhPT0gaSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICB9OwogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6.1-7-2"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS03LTMiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS03LTMuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgaW5kZXggYXNzaWdubWVudCwgYWNjZXNzZWQgdmlhIGluZGV4aW5nOiBpbnN0YW5jZW9mLCB0eXBlb2YsIGVsc2UiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0b2tlbkNvZGVzID0ge307CiAgICAgICAgdG9rZW5Db2Rlc1snaW5zdGFuY2VvZiddID0gMDsKICAgICAgICB0b2tlbkNvZGVzWyd0eXBlb2YnXSA9IDE7CiAgICAgICAgdG9rZW5Db2Rlc1snZWxzZSddID0gMjsgICAgIAogICAgICAgIHZhciBhcnIgPSBbCiAgICAgICAgICAgICdpbnN0YW5jZW9mJywKICAgICAgICAgICAgJ3R5cGVvZicsCiAgICAgICAgICAgICdlbHNlJwogICAgICAgIF07CiAgICAgICAgZm9yICh2YXIgaSA9IDA7IGkgPCBhcnIubGVuZ3RoOyBpKyspIHsKICAgICAgICAgICAgaWYgKHRva2VuQ29kZXNbYXJyW2ldXSAhPT0gaSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICB9OwogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6.1-7-3"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS03LTQiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS03LTQuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgaW5kZXggYXNzaWdubWVudCwgYWNjZXNzZWQgdmlhIGluZGV4aW5nOiBuZXcsIHZhciwgY2F0Y2giLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0b2tlbkNvZGVzID0ge307CiAgICAgICAgdG9rZW5Db2Rlc1snbmV3J10gPSAwOwogICAgICAgIHRva2VuQ29kZXNbJ3ZhciddID0gMTsKICAgICAgICB0b2tlbkNvZGVzWydjYXRjaCddID0gMjsgICAgICAgCiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ25ldycsCiAgICAgICAgICAgICd2YXInLAogICAgICAgICAgICAnY2F0Y2gnCiAgICAgICAgXTsKICAgICAgICBmb3IgKHZhciBpID0gMDsgaSA8IGFyci5sZW5ndGg7IGkrKykgewogICAgICAgICAgICBpZiAodG9rZW5Db2Rlc1thcnJbaV1dICE9PSBpKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgIH07CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-7-4"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS03LTUiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS03LTUuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgaW5kZXggYXNzaWdubWVudCwgYWNjZXNzZWQgdmlhIGluZGV4aW5nOiBmaW5hbGx5LCByZXR1cm4sIHZvaWQiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0b2tlbkNvZGVzID0ge307CiAgICAgICAgdG9rZW5Db2Rlc1snZmluYWxseSddID0gMDsKICAgICAgICB0b2tlbkNvZGVzWydyZXR1cm4nXSA9IDE7CiAgICAgICAgdG9rZW5Db2Rlc1sndm9pZCddID0gMjsgICAgICAKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAnZmluYWxseScsCiAgICAgICAgICAgICdyZXR1cm4nLAogICAgICAgICAgICAndm9pZCcKICAgICAgICBdOwogICAgICAgIGZvciAodmFyIGkgPSAwOyBpIDwgYXJyLmxlbmd0aDsgaSsrKSB7CiAgICAgICAgICAgIGlmICh0b2tlbkNvZGVzW2FycltpXV0gIT09IGkpIHsKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfTsKICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-7-5"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS03LTYiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS03LTYuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgaW5kZXggYXNzaWdubWVudCwgYWNjZXNzZWQgdmlhIGluZGV4aW5nOiBjb250aW51ZSwgZm9yLCBzd2l0Y2giLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0b2tlbkNvZGVzID0ge307CiAgICAgICAgdG9rZW5Db2Rlc1snY29udGludWUnXSA9IDA7CiAgICAgICAgdG9rZW5Db2Rlc1snZm9yJ10gPSAxOwogICAgICAgIHRva2VuQ29kZXNbJ3N3aXRjaCddID0gMjsgICAgIAogICAgICAgIHZhciBhcnIgPSBbCiAgICAgICAgICAgICdjb250aW51ZScsCiAgICAgICAgICAgICdmb3InLAogICAgICAgICAgICAnc3dpdGNoJwogICAgICAgIF07CiAgICAgICAgZm9yICh2YXIgaSA9IDA7IGkgPCBhcnIubGVuZ3RoOyBpKyspIHsKICAgICAgICAgICAgaWYgKHRva2VuQ29kZXNbYXJyW2ldXSAhPT0gaSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICB9OwogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6.1-7-6"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS03LTciLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS03LTcuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd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Wx0IiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgdG9rZW5Db2RlcyA9IHt9OwogICAgICAgIHRva2VuQ29kZXNbJ3RoaXMnXSA9IDA7CiAgICAgICAgdG9rZW5Db2Rlc1snd2l0aCddID0gMTsKICAgICAgICB0b2tlbkNvZGVzWydkZWZhdWx0J10gPSAyOyAgIAogICAgICAgIHZhciBhcnIgPSBbCiAgICAgICAgICAgICd0aGlzJywKICAgICAgICAgICAgJ3dpdGgnLAogICAgICAgICAgICAnZGVmYXVsdCcKICAgICAgICBdOwogICAgICAgIGZvciAodmFyIGkgPSAwOyBpIDwgYXJyLmxlbmd0aDsgaSsrKSB7CiAgICAgICAgICAgIGlmICh0b2tlbkNvZGVzW2FycltpXV0gIT09IGkpIHsKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfTsKICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-7-8"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS03LTkiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS03LTkuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgaW5kZXggYXNzaWdubWVudCwgYWNjZXNzZWQgdmlhIGluZGV4aW5nOiBpZiwgdGhyb3csIGRlbGV0ZSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgPSB7fTsKICAgICAgICB0b2tlbkNvZGVzWydpZiddID0gMDsKICAgICAgICB0b2tlbkNvZGVzWyd0aHJvdyddID0gMTsKICAgICAgICB0b2tlbkNvZGVzWydkZWxldGUnXSA9IDI7ICAgICAgCiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ2lmJywKICAgICAgICAgICAgJ3Rocm93JywKICAgICAgICAgICAgJ2RlbGV0ZScKICAgICAgICBdOwogICAgICAgIGZvciAodmFyIGkgPSAwOyBpIDwgYXJyLmxlbmd0aDsgaSsrKSB7CiAgICAgICAgICAgIGlmICh0b2tlbkNvZGVzW2FycltpXV0gIT09IGkpIHsKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfTsKICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-7-9"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS04LTEiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS04LTEuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgc2V0IGZ1bmN0aW9uIHdpdGhpbiBhbiBvYmplY3QsIGFjY2Vzc2VkIHZpYSBpbmRleGluZzogbnVsbCwgdHJ1ZSwgZmFsc2UiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0ZXN0MCA9IDAsIHRlc3QxID0gMSwgdGVzdDIgPSAyOwogICAgICAgIHZhciB0b2tlbkNvZGVzICA9IHsKICAgICAgICAgICAgc2V0IG51bGwodmFsdWUpIHsKICAgICAgICAgICAgICAgIHRlc3QwID0gdmFsdWU7ICAgICAgICAKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZ2V0IG51bGwoKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gdGVzdDA7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIHNldCB0cnVlKHZhbHVlKSB7CiAgICAgICAgICAgICAgICB0ZXN0MSA9IHZhbHVlOyAgICAgICAgCiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGdldCB0cnVlKCkgewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QxOwogICAgICAgICAgICB9LAogICAgICAgICAgICBzZXQgZmFsc2UodmFsdWUpIHsKICAgICAgICAgICAgICAgIHRlc3QyID0gdmFsdWU7ICAgICAgICAKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZ2V0IGZhbHNlKCl7CiAgICAgICAgICAgICAgICByZXR1cm4gdGVzdDI7CiAgICAgICAgICAgIH0KICAgICAgICB9OyAKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAnbnVsbCcsCiAgICAgICAgICAgICd0cnVlJywKICAgICAgICAgICAgJ2ZhbHNlJwogICAgICAgIF07CiAgICAgICAgZm9yICh2YXIgaSA9IDA7IGkgPCBhcnIubGVuZ3RoOyBpKyspIHsKICAgICAgICAgICAgaWYgKHRva2VuQ29kZXNbYXJyW2ldXSAhPT0gaSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICB9OwogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6.1-8-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS04LTEwIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtOC0xMC5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBzZXQgZnVuY3Rpb24gd2l0aGluIGFuIG9iamVjdCwgYWNjZXNzZWQgdmlhIGluZGV4aW5nOiBpbiwgdHJ5LCBjbGFzcyIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRlc3QwID0gMCwgdGVzdDEgPSAxLCB0ZXN0MiA9IDI7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0gewogICAgICAgICAgICBzZXQgaW4odmFsdWUpewogICAgICAgICAgICAgICAgdGVzdDAgPSB2YWx1ZTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZ2V0IGluKCl7CiAgICAgICAgICAgICAgICByZXR1cm4gdGVzdDA7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIHNldCB0cnkodmFsdWUpewogICAgICAgICAgICAgICAgdGVzdDEgPSB2YWx1ZTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZ2V0IHRyeSgpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QxCiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIHNldCBjbGFzcyh2YWx1ZSl7CiAgICAgICAgICAgICAgICB0ZXN0MiA9IHZhbHVlOwogICAgICAgICAgICB9LAogICAgICAgICAgICBnZXQgY2xhc3MoKXsKICAgICAgICAgICAgICAgIHJldHVybiB0ZXN0MjsKICAgICAgICAgICAgfQogICAgICAgIH07IAogICAgICAgIHZhciBhcnIgPSBbCiAgICAgICAgICAgICdpbicsIAogICAgICAgICAgICAndHJ5JywKICAgICAgICAgICAgJ2NsYXNzJwogICAgICAgIF07CiAgICAgICAgZm9yICh2YXIgaSA9IDA7IGkgPCBhcnIubGVuZ3RoOyBpKyspIHsKICAgICAgICAgICAgaWYgKHRva2VuQ29kZXNbYXJyW2ldXSAhPT0gaSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICB9OwogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6.1-8-10"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS04LTExIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtOC0xMS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBzZXQgZnVuY3Rpb24gd2l0aGluIGFuIG9iamVjdCwgYWNjZXNzZWQgdmlhIGluZGV4aW5nOiBlbnVtLCBleHRlbmRzLCBzdXBlciIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRlc3QwID0gMCwgdGVzdDEgPSAxLCB0ZXN0MiA9IDI7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0gewogICAgICAgICAgICBzZXQgZW51bSh2YWx1ZSl7CiAgICAgICAgICAgICAgICB0ZXN0MCA9IHZhbHVlOwogICAgICAgICAgICB9LAogICAgICAgICAgICBnZXQgZW51bSgpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QwOwogICAgICAgICAgICB9LAogICAgICAgICAgICBzZXQgZXh0ZW5kcyh2YWx1ZSl7CiAgICAgICAgICAgICAgICB0ZXN0MSA9IHZhbHVlOwogICAgICAgICAgICB9LAogICAgICAgICAgICBnZXQgZXh0ZW5kcygpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QxOwogICAgICAgICAgICB9LAogICAgICAgICAgICBzZXQgc3VwZXIodmFsdWUpewogICAgICAgICAgICAgICAgdGVzdDIgPSB2YWx1ZTsKICAgICAgICAgICAgfSwgCiAgICAgICAgICAgIGdldCBzdXBlcigpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QyOwogICAgICAgICAgICB9CiAgICAgICAgfTsgCiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ2VudW0nLAogICAgICAgICAgICAnZXh0ZW5kcycsCiAgICAgICAgICAgICdzdXBlcicKICAgICAgICBdOwogICAgICAgIGZvciAodmFyIGkgPSAwOyBpIDwgYXJyLmxlbmd0aDsgaSsrKSB7CiAgICAgICAgICAgIGlmICh0b2tlbkNvZGVzW2FycltpXV0gIT09IGkpIHsKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfTsKICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-8-11"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS04LTEyIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtOC0xMi5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBzZXQgZnVuY3Rpb24gd2l0aGluIGFuIG9iamVjdCwgYWNjZXNzZWQgdmlhIGluZGV4aW5nOiBjb25zdCwgZXhwb3J0LCBpbXBvcnQiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0ZXN0MCA9IDAsIHRlc3QxID0gMSwgdGVzdDIgPSAyOwogICAgICAgIHZhciB0b2tlbkNvZGVzICA9IHsKICAgICAgICAgICAgc2V0IGNvbnN0KHZhbHVlKXsKICAgICAgICAgICAgICAgIHRlc3QwID0gdmFsdWU7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGdldCBjb25zdCgpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QwOwogICAgICAgICAgICB9LAogICAgICAgICAgICBzZXQgZXhwb3J0KHZhbHVlKXsKICAgICAgICAgICAgICAgIHRlc3QxID0gdmFsdWU7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGdldCBleHBvcnQoKXsKICAgICAgICAgICAgICAgIHJldHVybiB0ZXN0MQogICAgICAgICAgICB9LAogICAgICAgICAgICBzZXQgaW1wb3J0KHZhbHVlKXsKICAgICAgICAgICAgICAgIHRlc3QyID0gdmFsdWU7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGdldCBpbXBvcnQoKXsKICAgICAgICAgICAgICAgIHJldHVybiB0ZXN0MgogICAgICAgICAgICB9CiAgICAgICAgfTsgCiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ2NvbnN0JywKICAgICAgICAgICAgJ2V4cG9ydCcsCiAgICAgICAgICAgICdpbXBvcnQnCiAgICAgICAgXTsKICAgICAgICBmb3IgKHZhciBpID0gMDsgaSA8IGFyci5sZW5ndGg7IGkrKykgewogICAgICAgICAgICBpZiAodG9rZW5Db2Rlc1thcnJbaV1dICE9PSBpKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgIH07CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-8-12"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS04LTEzIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtOC0xMy5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBzZXQgZnVuY3Rpb24gd2l0aGluIGFuIG9iamVjdCwgYWNjZXNzZWQgdmlhIGluZGV4aW5nOiBpbXBsZW1lbnRzLCBsZXQsIHByaXZhdGUiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0ZXN0MCA9IDAsIHRlc3QxID0gMSwgdGVzdDIgPSAyOwogICAgICAgIHZhciB0b2tlbkNvZGVzICA9IHsKICAgICAgICAgICAgc2V0IGltcGxlbWVudHModmFsdWUpewogICAgICAgICAgICAgICAgdGVzdDAgPSB2YWx1ZTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZ2V0IGltcGxlbWVudHMoKXsKICAgICAgICAgICAgICAgIHJldHVybiB0ZXN0MDsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgc2V0IGxldCh2YWx1ZSl7CiAgICAgICAgICAgICAgICB0ZXN0MSA9IHZhbHVlOwogICAgICAgICAgICB9LAogICAgICAgICAgICBnZXQgbGV0KCl7CiAgICAgICAgICAgICAgICByZXR1cm4gdGVzdDEKICAgICAgICAgICAgfSwKICAgICAgICAgICAgc2V0IHByaXZhdGUodmFsdWUpewogICAgICAgICAgICAgICAgdGVzdDIgPSB2YWx1ZTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZ2V0IHByaXZhdGUoKXsKICAgICAgICAgICAgICAgIHJldHVybiB0ZXN0MjsKICAgICAgICAgICAgfQogICAgICAgIH07IAogICAgICAgIHZhciBhcnIgPSBbCiAgICAgICAgICAgICdpbXBsZW1lbnRzJywKICAgICAgICAgICAgJ2xldCcsCiAgICAgICAgICAgICdwcml2YXRlJwogICAgICAgIF07CiAgICAgICAgZm9yICh2YXIgaSA9IDA7IGkgPCBhcnIubGVuZ3RoOyBpKyspIHsKICAgICAgICAgICAgaWYgKHRva2VuQ29kZXNbYXJyW2ldXSAhPT0gaSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICB9OwogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6.1-8-13"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS04LTE0IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtOC0xNC5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBzZXQgZnVuY3Rpb24gd2l0aGluIGFuIG9iamVjdCwgYWNjZXNzZWQgdmlhIGluZGV4aW5nOiBwdWJsaWMsIHlpZWxkLCBpbnRlcmZhY2UiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0ZXN0MCA9IDAsIHRlc3QxID0gMSwgdGVzdDIgPSAyOwogICAgICAgIHZhciB0b2tlbkNvZGVzICA9IHsKICAgICAgICAgICAgc2V0IHB1YmxpYyh2YWx1ZSl7CiAgICAgICAgICAgICAgICB0ZXN0MCA9IHZhbHVlOwogICAgICAgICAgICB9LAogICAgICAgICAgICBnZXQgcHVibGljKCl7CiAgICAgICAgICAgICAgICByZXR1cm4gdGVzdDA7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIHNldCB5aWVsZCh2YWx1ZSl7CiAgICAgICAgICAgICAgICB0ZXN0MSA9IHZhbHVlOwogICAgICAgICAgICB9LAogICAgICAgICAgICBnZXQgeWllbGQoKXsKICAgICAgICAgICAgICAgIHJldHVybiB0ZXN0MTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgc2V0IGludGVyZmFjZSh2YWx1ZSl7CiAgICAgICAgICAgICAgICB0ZXN0MiA9IHZhbHVlOwogICAgICAgICAgICB9LAogICAgICAgICAgICBnZXQgaW50ZXJmYWNlKCl7CiAgICAgICAgICAgICAgICByZXR1cm4gdGVzdDI7CiAgICAgICAgICAgIH0KICAgICAgICB9OyAKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAncHVibGljJywKICAgICAgICAgICAgJ3lpZWxkJywKICAgICAgICAgICAgJ2ludGVyZmFjZScKICAgICAgICBdOwogICAgICAgIGZvciAodmFyIGkgPSAwOyBpIDwgYXJyLmxlbmd0aDsgaSsrKSB7CiAgICAgICAgICAgIGlmICh0b2tlbkNvZGVzW2FycltpXV0gIT09IGkpIHsKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfTsKICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-8-14"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS04LTE1IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtOC0xNS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBzZXQgZnVuY3Rpb24gd2l0aGluIGFuIG9iamVjdCwgYWNjZXNzZWQgdmlhIGluZGV4aW5nOiBwYWNrYWdlLCBwcm90ZWN0ZWQsIHN0YXRpYyIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRlc3QwID0gMCwgdGVzdDEgPSAxLCB0ZXN0MiA9IDI7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0gewogICAgICAgICAgICBzZXQgcGFja2FnZSh2YWx1ZSl7CiAgICAgICAgICAgICAgICB0ZXN0MCA9IHZhbHVlOwogICAgICAgICAgICB9LAogICAgICAgICAgICBnZXQgcGFja2FnZSgpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QwOwogICAgICAgICAgICB9LAogICAgICAgICAgICBzZXQgcHJvdGVjdGVkKHZhbHVlKXsKICAgICAgICAgICAgICAgIHRlc3QxID0gdmFsdWU7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGdldCBwcm90ZWN0ZWQoKXsKICAgICAgICAgICAgICAgIHJldHVybiB0ZXN0MQogICAgICAgICAgICB9LAogICAgICAgICAgICBzZXQgc3RhdGljKHZhbHVlKXsKICAgICAgICAgICAgICAgIHRlc3QyID0gdmFsdWU7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGdldCBzdGF0aWMoKXsKICAgICAgICAgICAgICAgIHJldHVybiB0ZXN0MjsKICAgICAgICAgICAgfQogICAgICAgIH07IAogICAgICAgIHZhciBhcnIgPSBbCiAgICAgICAgICAgICdwYWNrYWdlJywKICAgICAgICAgICAgJ3Byb3RlY3RlZCcsCiAgICAgICAgICAgICdzdGF0aWMnICAKICAgICAgICBdOwogICAgICAgIGZvciAodmFyIGkgPSAwOyBpIDwgYXJyLmxlbmd0aDsgaSsrKSB7CiAgICAgICAgICAgIGlmICh0b2tlbkNvZGVzW2FycltpXV0gIT09IGkpIHsKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfTsKICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-8-15"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS04LTE2IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtOC0xNi5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBzZXQgZnVuY3Rpb24gd2l0aGluIGFuIG9iamVjdCwgYWNjZXNzZWQgdmlhIGluZGV4aW5nOiB1bmRlZmluZWQsIE5hTiwgSW5maW5pdHkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0ZXN0MCA9IDAsIHRlc3QxID0gMSwgdGVzdDIgPSAyOwogICAgICAgIHZhciB0b2tlbkNvZGVzICA9IHsKICAgICAgICAgICAgc2V0IHVuZGVmaW5lZCh2YWx1ZSl7CiAgICAgICAgICAgICAgICB0ZXN0MCA9IHZhbHVlOwogICAgICAgICAgICB9LAogICAgICAgICAgICBnZXQgdW5kZWZpbmVkKCl7CiAgICAgICAgICAgICAgICByZXR1cm4gdGVzdDA7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIHNldCBOYU4odmFsdWUpewogICAgICAgICAgICAgICAgdGVzdDEgPSB2YWx1ZTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZ2V0IE5hTigpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QxOwogICAgICAgICAgICB9LAogICAgICAgICAgICBzZXQgSW5maW5pdHkodmFsdWUpewogICAgICAgICAgICAgICAgdGVzdDIgPSB2YWx1ZTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZ2V0IEluZmluaXR5KCl7CiAgICAgICAgICAgICAgICByZXR1cm4gdGVzdDI7CiAgICAgICAgICAgIH0KICAgICAgICB9OyAKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAndW5kZWZpbmVkJywKICAgICAgICAgICAgJ05hTicsCiAgICAgICAgICAgICdJbmZpbml0eScKICAgICAgICBdOwogICAgICAgIGZvciAodmFyIGkgPSAwOyBpIDwgYXJyLmxlbmd0aDsgaSsrKSB7CiAgICAgICAgICAgIGlmICh0b2tlbkNvZGVzW2FycltpXV0gIT09IGkpIHsKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfTsKICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-8-16"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS04LTIiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS04LTIuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgc2V0IGZ1bmN0aW9uIHdpdGhpbiBhbiBvYmplY3QsIGFjY2Vzc2VkIHZpYSBpbmRleGluZzogYnJlYWssIGNhc2UsIGRvIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgdGVzdDAgPSAwLCB0ZXN0MSA9IDEsIHRlc3QyID0gMjsKICAgICAgICB2YXIgdG9rZW5Db2RlcyAgPSB7CiAgICAgICAgICAgIHNldCBicmVhayh2YWx1ZSl7CiAgICAgICAgICAgICAgICB0ZXN0MCA9IHZhbHVlOyAgICAgICAgCiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGdldCBicmVhaygpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QwOwogICAgICAgICAgICB9LAogICAgICAgICAgICBzZXQgY2FzZSh2YWx1ZSl7CiAgICAgICAgICAgICAgICB0ZXN0MSA9IHZhbHVlOwogICAgICAgICAgICB9LAogICAgICAgICAgICBnZXQgY2FzZSgpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QxOwogICAgICAgICAgICB9LAogICAgICAgICAgICBzZXQgZG8odmFsdWUpewogICAgICAgICAgICAgICAgdGVzdDIgPSB2YWx1ZTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZ2V0IGRvKCl7CiAgICAgICAgICAgICAgICByZXR1cm4gdGVzdDI7CiAgICAgICAgICAgIH0KICAgICAgICB9OyAKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAnYnJlYWsnLAogICAgICAgICAgICAnY2FzZScsCiAgICAgICAgICAgICdkbycKICAgICAgICBdOwogICAgICAgIGZvciAodmFyIGkgPSAwOyBpIDwgYXJyLmxlbmd0aDsgaSsrKSB7CiAgICAgICAgICAgIGlmICh0b2tlbkNvZGVzW2FycltpXV0gIT09IGkpIHsKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfTsKICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-8-2"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS04LTMiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS04LTMuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgc2V0IGZ1bmN0aW9uIHdpdGhpbiBhbiBvYmplY3QsIGFjY2Vzc2VkIHZpYSBpbmRleGluZzogaW5zdGFuY2VvZiwgdHlwZW9mLCBlbHNlIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgdGVzdDAgPSAwLCB0ZXN0MSA9IDEsIHRlc3QyID0gMjsKICAgICAgICB2YXIgdG9rZW5Db2RlcyAgPSB7CiAgICAgICAgICAgIHNldCBpbnN0YW5jZW9mKHZhbHVlKXsKICAgICAgICAgICAgICAgIHRlc3QwID0gdmFsdWU7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGdldCBpbnN0YW5jZW9mKCl7CiAgICAgICAgICAgICAgICByZXR1cm4gdGVzdDA7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIHNldCB0eXBlb2YodmFsdWUpewogICAgICAgICAgICAgICAgdGVzdDEgPSB2YWx1ZTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZ2V0IHR5cGVvZigpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QxOwogICAgICAgICAgICB9LAogICAgICAgICAgICBzZXQgZWxzZSh2YWx1ZSl7CiAgICAgICAgICAgICAgICB0ZXN0MiA9IHZhbHVlOwogICAgICAgICAgICB9LAogICAgICAgICAgICBnZXQgZWxzZSgpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QyOwogICAgICAgICAgICB9CiAgICAgICAgfTsgCiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ2luc3RhbmNlb2YnLAogICAgICAgICAgICAndHlwZW9mJywKICAgICAgICAgICAgJ2Vsc2UnCiAgICAgICAgXTsKICAgICAgICBmb3IgKHZhciBpID0gMDsgaSA8IGFyci5sZW5ndGg7IGkrKykgewogICAgICAgICAgICBpZiAodG9rZW5Db2Rlc1thcnJbaV1dICE9PSBpKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgIH07CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-8-3"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS04LTQiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS04LTQuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgc2V0IGZ1bmN0aW9uIHdpdGhpbiBhbiBvYmplY3QsIGFjY2Vzc2VkIHZpYSBpbmRleGluZzogbmV3LCB2YXIsIGNhdGNoIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgdGVzdDAgPSAwLCB0ZXN0MSA9IDEsIHRlc3QyID0gMjsKICAgICAgICB2YXIgdG9rZW5Db2RlcyAgPSB7CiAgICAgICAgICAgIHNldCBuZXcodmFsdWUpewogICAgICAgICAgICAgICAgdGVzdDAgPSB2YWx1ZTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZ2V0IG5ldygpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QwOwogICAgICAgICAgICB9LAogICAgICAgICAgICBzZXQgdmFyKHZhbHVlKXsKICAgICAgICAgICAgICAgIHRlc3QxID0gdmFsdWU7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGdldCB2YXIoKXsKICAgICAgICAgICAgICAgIHJldHVybiB0ZXN0MTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgc2V0IGNhdGNoKHZhbHVlKXsKICAgICAgICAgICAgICAgIHRlc3QyID0gdmFsdWU7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGdldCBjYXRjaCgpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QyOwogICAgICAgICAgICB9CiAgICAgICAgfTsgCiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ25ldycsIAogICAgICAgICAgICAndmFyJywgCiAgICAgICAgICAgICdjYXRjaCcKICAgICAgICBdOwogICAgICAgIGZvciAodmFyIGkgPSAwOyBpIDwgYXJyLmxlbmd0aDsgaSsrKSB7CiAgICAgICAgICAgIGlmICh0b2tlbkNvZGVzW2FycltpXV0gIT09IGkpIHsKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfTsKICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-8-4"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS04LTUiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS04LTUuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgc2V0IGZ1bmN0aW9uIHdpdGhpbiBhbiBvYmplY3QsIGFjY2Vzc2VkIHZpYSBpbmRleGluZzogZmluYWxseSwgcmV0dXJuLCB2b2lkIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgdGVzdDAgPSAwLCB0ZXN0MSA9IDEsIHRlc3QyID0gMjsKICAgICAgICB2YXIgdG9rZW5Db2RlcyAgPSB7CiAgICAgICAgICAgIHNldCBmaW5hbGx5KHZhbHVlKXsKICAgICAgICAgICAgICAgIHRlc3QwID0gdmFsdWU7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGdldCBmaW5hbGx5KCl7CiAgICAgICAgICAgICAgICByZXR1cm4gdGVzdDA7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIHNldCByZXR1cm4odmFsdWUpewogICAgICAgICAgICAgICAgdGVzdDEgPSB2YWx1ZTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZ2V0IHJldHVybigpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QxOwogICAgICAgICAgICB9LAogICAgICAgICAgICBzZXQgdm9pZCh2YWx1ZSl7CiAgICAgICAgICAgICAgICB0ZXN0MiA9IHZhbHVlOwogICAgICAgICAgICB9LAogICAgICAgICAgICBnZXQgdm9pZCgpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QyOwogICAgICAgICAgICB9CiAgICAgICAgfTsgCiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ2ZpbmFsbHknLCAKICAgICAgICAgICAgJ3JldHVybicsIAogICAgICAgICAgICAndm9pZCcKICAgICAgICBdOwogICAgICAgIGZvciAodmFyIGkgPSAwOyBpIDwgYXJyLmxlbmd0aDsgaSsrKSB7CiAgICAgICAgICAgIGlmICh0b2tlbkNvZGVzW2FycltpXV0gIT09IGkpIHsKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfTsKICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-8-5"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS04LTYiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS04LTYuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgc2V0IGZ1bmN0aW9uIHdpdGhpbiBhbiBvYmplY3QsIGFjY2Vzc2VkIHZpYSBpbmRleGluZzogY29udGludWUsIGZvciwgc3dpdGNoIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgdGVzdDAgPSAwLCB0ZXN0MSA9IDEsIHRlc3QyID0gMjsKICAgICAgICB2YXIgdG9rZW5Db2RlcyAgPSB7CiAgICAgICAgICAgIHNldCBjb250aW51ZSh2YWx1ZSl7CiAgICAgICAgICAgICAgICB0ZXN0MCA9IHZhbHVlOwogICAgICAgICAgICB9LAogICAgICAgICAgICBnZXQgY29udGludWUoKXsKICAgICAgICAgICAgICAgIHJldHVybiB0ZXN0MDsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgc2V0IGZvcih2YWx1ZSl7CiAgICAgICAgICAgICAgICB0ZXN0MSA9IHZhbHVlOwogICAgICAgICAgICB9LAogICAgICAgICAgICBnZXQgZm9yKCl7CiAgICAgICAgICAgICAgICByZXR1cm4gdGVzdDE7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIHNldCBzd2l0Y2godmFsdWUpewogICAgICAgICAgICAgICAgdGVzdDIgPSB2YWx1ZTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZ2V0IHN3aXRjaCgpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QyOwogICAgICAgICAgICB9CiAgICAgICAgfTsgCiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ2NvbnRpbnVlJywgCiAgICAgICAgICAgICdmb3InLAogICAgICAgICAgICAnc3dpdGNoJwogICAgICAgIF07CiAgICAgICAgZm9yICh2YXIgaSA9IDA7IGkgPCBhcnIubGVuZ3RoOyBpKyspIHsKICAgICAgICAgICAgaWYgKHRva2VuQ29kZXNbYXJyW2ldXSAhPT0gaSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICB9OwogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6.1-8-6"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS04LTciLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS04LTcuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgc2V0IGZ1bmN0aW9uIHdpdGhpbiBhbiBvYmplY3QsIGFjY2Vzc2VkIHZpYSBpbmRleGluZzogd2hpbGUsIGRlYnVnZ2VyLCBmdW5jdGlvbiIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRlc3QwID0gMCwgdGVzdDEgPSAxLCB0ZXN0MiA9IDI7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0gewogICAgICAgICAgICBzZXQgd2hpbGUodmFsdWUpewogICAgICAgICAgICAgICAgdGVzdDAgPSB2YWx1ZTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZ2V0IHdoaWxlKCl7CiAgICAgICAgICAgICAgICByZXR1cm4gdGVzdDAKICAgICAgICAgICAgfSwKICAgICAgICAgICAgc2V0IGRlYnVnZ2VyKHZhbHVlKXsKICAgICAgICAgICAgICAgIHRlc3QxID0gdmFsdWU7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGdldCBkZWJ1Z2dlcigpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QxOwogICAgICAgICAgICB9LAogICAgICAgICAgICBzZXQgZnVuY3Rpb24odmFsdWUpewogICAgICAgICAgICAgICAgdGVzdDIgPSB2YWx1ZTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZ2V0IGZ1bmN0aW9uKCl7CiAgICAgICAgICAgICAgICByZXR1cm4gdGVzdDI7CiAgICAgICAgICAgIH0KICAgICAgICB9OyAKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAnd2hpbGUnICwKICAgICAgICAgICAgJ2RlYnVnZ2VyJywgCiAgICAgICAgICAgICdmdW5jdGlvbicKICAgICAgICBdOwogICAgICAgIGZvciAodmFyIGkgPSAwOyBpIDwgYXJyLmxlbmd0aDsgaSsrKSB7CiAgICAgICAgICAgIGlmICh0b2tlbkNvZGVzW2FycltpXV0gIT09IGkpIHsKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfTsKICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-8-7"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS04LTgiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS04LTguanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgc2V0IGZ1bmN0aW9uIHdpdGhpbiBhbiBvYmplY3QsIGFjY2Vzc2VkIHZpYSBpbmRleGluZzogdGhpcywgd2l0aCwgZGVmYXVsdCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRlc3QwID0gMCwgdGVzdDEgPSAxLCB0ZXN0MiA9IDI7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0gewogICAgICAgICAgICBzZXQgdGhpcyh2YWx1ZSl7CiAgICAgICAgICAgICAgICB0ZXN0MCA9IHZhbHVlOwogICAgICAgICAgICB9LAogICAgICAgICAgICBnZXQgdGhpcygpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QwOwogICAgICAgICAgICB9LAogICAgICAgICAgICBzZXQgd2l0aCh2YWx1ZSl7CiAgICAgICAgICAgICAgICB0ZXN0MSA9IHZhbHVlOwogICAgICAgICAgICB9LAogICAgICAgICAgICBnZXQgd2l0aCgpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QxOwogICAgICAgICAgICB9LAogICAgICAgICAgICBzZXQgZGVmYXVsdCh2YWx1ZSl7CiAgICAgICAgICAgICAgICB0ZXN0MiA9IHZhbHVlOwogICAgICAgICAgICB9LAogICAgICAgICAgICBnZXQgZGVmYXVsdCgpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QyOwogICAgICAgICAgICB9CiAgICAgICAgfTsgCiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ3RoaXMnLCAKICAgICAgICAgICAgJ3dpdGgnLCAKICAgICAgICAgICAgJ2RlZmF1bHQnCiAgICAgICAgXTsKICAgICAgICBmb3IgKHZhciBpID0gMDsgaSA8IGFyci5sZW5ndGg7IGkrKykgewogICAgICAgICAgICBpZiAodG9rZW5Db2Rlc1thcnJbaV1dICE9PSBpKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgIH07CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-8-8"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS04LTkiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS04LTkuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgc2V0IGZ1bmN0aW9uIHdpdGhpbiBhbiBvYmplY3QsIGFjY2Vzc2VkIHZpYSBpbmRleGluZzogaWYsIHRocm93LCBkZWxldGUiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0ZXN0MCA9IDAsIHRlc3QxID0gMSwgdGVzdDIgPSAyOwogICAgICAgIHZhciB0b2tlbkNvZGVzICA9IHsKICAgICAgICAgICAgc2V0IGlmKHZhbHVlKXsKICAgICAgICAgICAgICAgIHRlc3QwID0gdmFsdWU7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGdldCBpZigpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QwOwogICAgICAgICAgICB9LAogICAgICAgICAgICBzZXQgdGhyb3codmFsdWUpewogICAgICAgICAgICAgICAgdGVzdDEgPSB2YWx1ZTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZ2V0IHRocm93KCl7CiAgICAgICAgICAgICAgICByZXR1cm4gdGVzdDEKICAgICAgICAgICAgfSwKICAgICAgICAgICAgc2V0IGRlbGV0ZSh2YWx1ZSl7CiAgICAgICAgICAgICAgICB0ZXN0MiA9IHZhbHVlOwogICAgICAgICAgICB9LAogICAgICAgICAgICBnZXQgZGVsZXRlKCl7CiAgICAgICAgICAgICAgICByZXR1cm4gdGVzdDI7CiAgICAgICAgICAgIH0KICAgICAgICB9OyAKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAnaWYnLCAKICAgICAgICAgICAgJ3Rocm93JywgCiAgICAgICAgICAgICdkZWxldGUnCiAgICAgICAgXTsKICAgICAgICBmb3IgKHZhciBpID0gMDsgaSA8IGFyci5sZW5ndGg7IGkrKykgewogICAgICAgICAgICBpZiAodG9rZW5Db2Rlc1thcnJbaV1dICE9PSBpKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgIH07CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-8-9"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjguNS0xIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXI3LzcuOC41LzcuOC41LTEuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiTGl0ZXJhbCBSZWdFeHAgT2JqZWN0cyAtIFN5bnRheEVycm9yIGV4Y2VwdGlvbiBpcyB0aHJvd24gaWYgdGhlIFJlZ3VsYXJFeHByZXNzaW9uTm9uVGVybWluYXRvciBwb3NpdGlvbiBvZiBhIFJlZ3VsYXJFeHByZXNzaW9uQmFja3NsYXNoU2VxdWVuY2UgaXMgYSBMaW5lVGVybWluYXRvci4iLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHRyeSB7CiAgICAgICAgICAgIGV2YWwoInZhciByZWdFeHAgPSAvXFxccm4vOyIpOwogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICByZXR1cm4gZSBpbnN0YW5jZW9mIFN5bnRheEVycm9yOwogICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.8.5-1"}]}} \ No newline at end of file +{"testsCollection":{"name":"Chapter - chapter07","numTests":"165","tests":[{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYtMSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMDcvNy42LzcuNi0xLmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIjcuNiAtIFN5bnRheEVycm9yIGV4cGVjdGVkOiByZXNlcnZlZCB3b3JkcyB1c2VkIGFzIElkZW50aWZpZXIgTmFtZXMgaW4gVVRGODogXHUwMDZldWxsIChudWxsKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgICAgIHRyeSB7CiAgICAgICAgICAgICAgICBldmFsKCJ2YXIgXHUwMDZldWxsID0gMTIzOyIpOyAgCiAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgICAgIHJldHVybiBlIGluc3RhbmNlb2YgU3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DA3MiAodmFyKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgICAgIHRyeSB7CiAgICAgICAgICAgICAgICBldmFsKCJ2YXIgdmFcdTAwNzIgPSAxMjM7Iik7ICAKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBTeW50YXhFcnJvcjsgIAogICAgICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyAKICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6-11"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYtMTIiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYtMTIuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiNy42IC0gU3ludGF4RXJyb3IgZXhwZWN0ZWQ6IHJlc2VydmVkIHdvcmRzIHVzZWQgYXMgSWRlbnRpZmllciBOYW1lcyBpbiBVVEY4OiBcdTAwNzRcdTAwNzJcdTAwNzkgKHRyeSkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgICAgICB0cnkgewogICAgICAgICAgICAgICAgZXZhbCgidmFyIFx1MDA3NFx1MDA3Mlx1MDA3OSA9IDEyMzsiKTsgIAogICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZSBpbnN0YW5jZW9mIFN5bnRheEVycm9yOyAgCiAgICAgICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IAogICAgICAgIHJldHVybiB0cnVlOwogICAgfQp9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woInZhciBmaW5hXHUwMDZjbHkgPSAxMjM7Iik7ICAKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBTeW50YXhFcnJvcjsgIAogICAgICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyAKICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6-14"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYtMTUiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYtMTUuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiNy42IC0gU3ludGF4RXJyb3IgZXhwZWN0ZWQ6IHJlc2VydmVkIHdvcmRzIHVzZWQgYXMgSWRlbnRpZmllciBOYW1lcyBpbiBVVEY4OiByZXR1clx1MDA2ZSAocmV0dXJuKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgICAgIHRyeSB7CiAgICAgICAgICAgICAgICBldmFsKCJ2YXIgcmV0dXJcdTAwNmUgPSAxMjM7Iik7ICAKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBTeW50YXhFcnJvcjsgIAogICAgICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyAKICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6-15"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYtMTYiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY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ICAgICAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBTeW50YXhFcnJvcjsgIAogICAgICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyAKICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6-17"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYtMTgiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYtMTguanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiNy42IC0gU3ludGF4RXJyb3IgZXhwZWN0ZWQ6IHJlc2VydmVkIHdvcmRzIHVzZWQgYXMgSWRlbnRpZmllciBOYW1lcyBpbiBVVEY4OiBmXHUwMDZmciAoZm9yKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgICAgIHRyeSB7CiAgICAgICAgICAgICAgICBldmFsKCJ2YXIgZlx1MDA2ZnIgPSAxMjM7Iik7ICAKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBTeW50YXhFcnJvcjsgIAogICAgICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyAKICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6-18"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYtMTkiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYtMTkuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiNy42IC0gU3ludGF4RXJyb3IgZXhwZWN0ZWQ6IHJlc2VydmVkIHdvcmRzIHVzZWQgYXMgSWRlbnRpZmllciBOYW1lcyBpbiBVVEY4OiBzd2l0Y1x1MDA2OCAoc3dpdGNoKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgICAgIHRyeSB7CiAgICAgICAgICAgICAgICBldmFsKCJ2YXIgc3dpdGNcdTAwNjggPSAxMjM7Iik7ICAKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBTeW50YXhFcnJvcjsgIAogICAgICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyAKICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6-19"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYtMiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMDcvNy42LzcuNi0yLmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIjcuNiAtIFN5bnRheEVycm9yIGV4cGVjdGVkOiByZXNlcnZlZCB3b3JkcyB1c2VkIGFzIElkZW50aWZpZXIgTmFtZXMgaW4gVVRGODogdHJcdTAwNzVlICh0cnVlKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgICAgIHRyeSB7CiAgICAgICAgICAgICAgICBldmFsKCJ2YXIgdHJcdTAwNzVlID0gMTIzOyIpOyAgCiAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgICAgIHJldHVybiBlIGluc3RhbmNlb2YgU3ludGF4RXJyb3I7ICAKICAgICAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IG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AwNjRlYnVnZ2VyIChkZWJ1Z2dlcikiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgICAgICB0cnkgewogICAgICAgICAgICAgICAgZXZhbCgidmFyIFx1MDA2NGVidWdnZXIgPSAxMjM7Iik7ICAKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBTeW50YXhFcnJvcjsgIAogICAgICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyAKICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6-21"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYtMjIiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYtMjIuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiNy42IC0gU3ludGF4RXJyb3IgZXhwZWN0ZWQ6IHJlc2VydmVkIHdvcmRzIHVzZWQgYXMgSWRlbnRpZmllciBOYW1lcyBpbiBVVEY4OiBmdW5jXHUwMDc0aW9uIChmdW5jdGlvbikiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgICAgICB0cnkgewogICAgICAgICAgICAgICAgZXZhbCgidmFyIGZ1bmNcdTAwNzRpb24gPSAxMjM7Iik7ICAKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBTeW50YXhFcnJvcjsgIAogICAgICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyAKICAgICAgICByZXR1cm4gdHJ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gICBldmFsKCJ2YXIgXHUwMDY5XHUwMDY2ID0gMTIzOyIpOyAgCiAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgICAgIHJldHVybiBlIGluc3RhbmNlb2YgU3ludGF4RXJyb3I7ICAKICAgICAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgCiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6-24"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYtMjUiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYtMjUuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiNy42IC0gU3ludGF4RXJyb3IgZXhwZWN0ZWQ6IHJlc2VydmVkIHdvcmRzIHVzZWQgYXMgSWRlbnRpZmllciBOYW1lcyBpbiBVVEY4OiBcdTAwNzdpdGggKHdpdGgpIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICAgICAgdHJ5IHsKICAgICAgICAgICAgICAgIGV2YWwoInZhciBcdTAwNzdpdGggPSAxMjM7Iik7ICAKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBTeW50YXhFcnJvcjsgIAogICAgICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyAKICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6-25"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYtMjYiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZ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mRzIHVzZWQgYXMgSWRlbnRpZmllciBOYW1lcyBpbiBVVEY4OiBcdTAwNjRlbGV0ZSAoZGVsZXRlKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgICAgIHRyeSB7CiAgICAgICAgICAgICAgICBldmFsKCJ2YXIgXHUwMDY0ZWxldGUgPSAxMjM7Iik7ICAKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBTeW50YXhFcnJvcjsgIAogICAgICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyAKICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6-29"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYtMyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMDcvNy42LzcuNi0zLmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIjcuNiAtIFN5bnRheEVycm9yIGV4cGVjdGVkOiByZXNlcnZlZCB3b3JkcyB1c2VkIGFzIElkZW50aWZpZXIgTmFtZXMgaW4gVVRGODogZmFsc1x1MDA2NSAoZmFsc2UpIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICAgICAgdHJ5IHsKICAgICAgICAgICAgICAgIGV2YWwoInZhciBmYWxzXHUwMDY1ID0gMTIzOyIpOyAgCiAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgICAgIHJldHVybiBlIGluc3RhbmNlb2YgU3ludGF4RXJyb3I7ICAKICAgICAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHBy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IHsKICAgICAgICAgICAgdHJ5IHsKICAgICAgICAgICAgICAgIGV2YWwoInZhciBleHRlbmRcdTAwNzMgPSAxMjM7Iik7ICAKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBTeW50YXhFcnJvcjsgIAogICAgICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyAKICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6-31"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYtMzIiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYtMzIuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiNy42IC0gU3ludGF4RXJyb3IgZXhwZWN0ZWQ6IHJlc2VydmVkIHdvcmRzIHVzZWQgYXMgSWRlbnRpZmllciBOYW1lcyBpbiBVVEY4OiBcdTAwNjVcdTAwNmVcdTAwNzVcdTAwNmQgKGVudW0pIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICAgICAgdHJ5IHsKICAgICAgICAgICAgICAgIGV2YWwoInZhciBcdTAwNjVcdTAwNmVcdTAwNzVcdTAwNmQgPSAxMjM7Iik7ICAKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBTeW50YXhFcnJvcjsgIAogICAgICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyAKICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6-32"},{"code":"RVM1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ICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBTeW50YXhFcnJvcjsgIAogICAgICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyAKICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6-34"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYtMzUiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYtMzUuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiNy42IC0gU3ludGF4RXJyb3IgZXhwZWN0ZWQ6IHJlc2VydmVkIHdvcmRzIHVzZWQgYXMgSWRlbnRpZmllciBOYW1lcyBpbiBVVEY4OiBleHBvclx1MDA3NCAoZXhwb3J0KSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgICAgIHRyeSB7CiAgICAgICAgICAgICAgICBldmFsKCJ2YXIgZXhwb3JcdTAwNzQgPSAxMjM7Iik7ICAKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBTeW50YXhFcnJvcjsgIAogICAgICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyAKICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6-35"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYtMzYiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYtMzYuanMiLAoKICAgIGRl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ICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZSBpbnN0YW5jZW9mIFN5bnRheEVycm9yOyAgCiAgICAgICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IAogICAgICAgIHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6-4"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYtNSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMDcvNy42LzcuNi01LmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIjcuNiAtIFN5bnRheEVycm9yIGV4cGVjdGVkOiByZXNlcnZlZCB3b3JkcyB1c2VkIGFzIElkZW50aWZpZXIgTmFtZXMgaW4gVVRGODogXHUwMDYzYXNlIChjYXNlKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgICAgIHRyeSB7CiAgICAgICAgICAgICAgICBldmFsKCJ2YXIgXHUwMDYzYXNlID0gMTIzOyIpOyAgCiAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgICAgIHJldHVybiBlIGluc3RhbmNlb2YgU3ludGF4RXJyb3I7ICAKICAgICAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgCiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6-5"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYtNiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMDcvNy42LzcuNi02LmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIjcuNiAtIFN5bnRheEVycm9yIGV4cGVjdGVkOiByZXNlcnZlZCB3b3JkcyB1c2VkIGFzIElkZW50aWZpZXIgTmFtZXMgaW4gVVRGODogaW5zdGFcdTAwNmVjZW9mIChpbnN0YW5jZW9mKSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgICAgIHRyeSB7CiAgICAgICAgICAgICAgICBldmFsKCJ2YXIgaW5zdGFcdTAwNmVjZW9mID0gMTIzOyIpOyAgCiAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgICAgIHJldHVybiBlIGluc3RhbmNlb2YgU3ludGF4RXJyb3I7ICAKICAgICAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgCiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6-6"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYtNyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMDcvNy42LzcuNi03LmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIjcuNiAtIFN5bnRheEVycm9yIGV4cGVjdGVkOiByZXNlcnZlZCB3b3JkcyB1c2VkIGFzIElkZW50aWZpZXIgTmFtZXMgaW4gVVRGODogdHlwZW9cdTAwNjYgKHR5cGVvZikiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgICAgICB0cnkgewogICAgICAgICAgICAgICAgZXZhbCgidmFyIHR5cGVvXHUwMDY2ID0gMTIzOyIpOyAgCiAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgICAgIHJldHVybiBlIGluc3RhbmNlb2YgU3ludGF4RXJyb3I7ICAKICAgICAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgCiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6-7"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYtOCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMDcvNy42LzcuNi04LmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIjcuNiAtIFN5bnRheEVycm9yIGV4cGVjdGVkOiByZXNlcnZlZCB3b3JkcyB1c2VkIGFzIElkZW50aWZpZXIgTmFtZXMgaW4gVVRGODogXHUwMDY0XHUwMDZmIChkbykiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgICAgICB0cnkgewogICAgICAgICAgICAgICAgZXZhbCgidmFyIFx1MDA2NFx1MDA2ZiA9IDEyMzsiKTsgIAogICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZSBpbnN0YW5jZW9mIFN5bnRheEVycm9yOyAgCiAgICAgICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IAogICAgICAgIHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6-8"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYtOSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMDcvNy42LzcuNi05LmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIjcuNiAtIFN5bnRheEVycm9yIGV4cGVjdGVkOiByZXNlcnZlZCB3b3JkcyB1c2VkIGFzIElkZW50aWZpZXIgTmFtZXMgaW4gVVRGODogXHUwMDY1bHNlIChlbHNlKSAobnVsbCkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgICAgICB0cnkgewogICAgICAgICAgICAgICAgZXZhbCgidmFyIFx1MDA2NWxzZSA9IDEyMzsiKTsgIAogICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZSBpbnN0YW5jZW9mIFN5bnRheEVycm9yOyAgCiAgICAgICAgICAgIH0KICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IAogICAgICAgIHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6-9"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0xLTEiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS0xLTEuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYXQgb2JqZWN0IGluaXRpYWxpemF0aW9uLCB2ZXJpZmllZCB3aXRoIGhhc093blByb3BlcnR5OiBudWxsLCB0cnVlLCBmYWxzZSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKXsgICAgICAKICAgICAgICB2YXIgdG9rZW5Db2RlcyAgPSB7IAogICAgICAgICAgICBudWxsOiAwLAogICAgICAgICAgICB0cnVlOiAxLAogICAgICAgICAgICBmYWxzZTogMgogICAgICAgIH07CiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ251bGwnLAogICAgICAgICAgICAndHJ1ZScsCiAgICAgICAgICAgICdmYWxzZScKICAgICAgICBdOyAgICAgICAgCiAgICAgICAgZm9yKHZhciBwIGluIHRva2VuQ29kZXMpIHsKICAgICAgICAgICAgZm9yKHZhciBwMSBpbiBhcnIpIHsKICAgICAgICAgICAgICAgIGlmKGFycltwMV0gPT09IHApIHsgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICBpZighdG9rZW5Db2Rlcy5oYXNPd25Qcm9wZXJ0eShhcnJbcDFdKSkgewogICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgICAgICAgICAgfTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-1-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0xLTEwIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtMS0xMC5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBhdCBvYmplY3QgaW5pdGlhbGl6YXRpb24sIHZlcmlmaWVkIHdpdGggaGFzT3duUHJvcGVydHk6IGluLCB0cnksIGNsYXNzIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpeyAgICAgIAogICAgICAgIHZhciB0b2tlbkNvZGVzICA9IHsgCiAgICAgICAgICAgIGluOiAwLCAKICAgICAgICAgICAgdHJ5OiAxLAogICAgICAgICAgICBjbGFzczogMgogICAgICAgIH07CiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ2luJywgCiAgICAgICAgICAgICd0cnknLAogICAgICAgICAgICAnY2xhc3MnCiAgICAgICAgXTsgICAgICAgIAogICAgICAgIGZvcih2YXIgcCBpbiB0b2tlbkNvZGVzKSB7CiAgICAgICAgICAgIGZvcih2YXIgcDEgaW4gYXJyKSB7CiAgICAgICAgICAgICAgICBpZihhcnJbcDFdID09PSBwKSB7ICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgaWYoIXRva2VuQ29kZXMuaGFzT3duUHJvcGVydHkoYXJyW3AxXSkpIHsKICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICAgICAgICAgIH07CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7Cn0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6.1-1-10"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0xLTExIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtMS0xMS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBhdCBvYmplY3QgaW5pdGlhbGl6YXRpb24sIHZlcmlmaWVkIHdpdGggaGFzT3duUHJvcGVydHk6IGVudW0sIGV4dGVuZHMsIHN1cGVyIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpeyAgICAgIAogICAgICAgIHZhciB0b2tlbkNvZGVzICA9IHsgCiAgICAgICAgICAgIGVudW06IDAsCiAgICAgICAgICAgIGV4dGVuZHM6IDEsCiAgICAgICAgICAgIHN1cGVyOiAyCiAgICAgICAgfTsKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAnZW51bScsCiAgICAgICAgICAgICdleHRlbmRzJywKICAgICAgICAgICAgJ3N1cGVyJwogICAgICAgIF07ICAgICAgICAKICAgICAgICBmb3IodmFyIHAgaW4gdG9rZW5Db2RlcykgewogICAgICAgICAgICBmb3IodmFyIHAxIGluIGFycikgewogICAgICAgICAgICAgICAgaWYoYXJyW3AxXSA9PT0gcCkgeyAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgIGlmKCF0b2tlbkNvZGVzLmhhc093blByb3BlcnR5KGFycltwMV0pKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgICAgICAgICB9OwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwp9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-1-11"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0xLTEyIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtMS0xMi5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBhdCBvYmplY3QgaW5pdGlhbGl6YXRpb24sIHZlcmlmaWVkIHdpdGggaGFzT3duUHJvcGVydHk6IGNvbnN0LCBleHBvcnQsIGltcG9ydCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKXsgICAgICAKICAgICAgICB2YXIgdG9rZW5Db2RlcyAgPSB7IAogICAgICAgICAgICBjb25zdDogMCwKICAgICAgICAgICAgZXhwb3J0OiAxLAogICAgICAgICAgICBpbXBvcnQ6IDIKICAgICAgICB9OwogICAgICAgIHZhciBhcnIgPSBbCiAgICAgICAgICAgICdjb25zdCcsCiAgICAgICAgICAgICdleHBvcnQnLAogICAgICAgICAgICAnaW1wb3J0JwogICAgICAgIF07ICAgICAgICAKICAgICAgICBmb3IodmFyIHAgaW4gdG9rZW5Db2RlcykgewogICAgICAgICAgICBmb3IodmFyIHAxIGluIGFycikgewogICAgICAgICAgICAgICAgaWYoYXJyW3AxXSA9PT0gcCkgeyAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgIGlmKCF0b2tlbkNvZGVzLmhhc093blByb3BlcnR5KGFycltwMV0pKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgICAgICAgICB9OwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwp9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-1-12"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0xLTEzIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtMS0xMy5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBhdCBvYmplY3QgaW5pdGlhbGl6YXRpb24sIHZlcmlmaWVkIHdpdGggaGFzT3duUHJvcGVydHk6IGltcGxlbWVudHMsIGxldCwgcHJpdmF0ZSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKXsgICAgICAKICAgICAgICB2YXIgdG9rZW5Db2RlcyAgPSB7IAogICAgICAgICAgICBpbXBsZW1lbnRzOiAwLAogICAgICAgICAgICBsZXQ6IDEsCiAgICAgICAgICAgIHByaXZhdGU6IDIKICAgICAgICB9OwogICAgICAgIHZhciBhcnIgPSBbCiAgICAgICAgICAgICdpbXBsZW1lbnRzJywKICAgICAgICAgICAgJ2xldCcsCiAgICAgICAgICAgICdwcml2YXRlJwogICAgICAgIF07ICAgICAgICAKICAgICAgICBmb3IodmFyIHAgaW4gdG9rZW5Db2RlcykgewogICAgICAgICAgICBmb3IodmFyIHAxIGluIGFycikgewogICAgICAgICAgICAgICAgaWYoYXJyW3AxXSA9PT0gcCkgeyAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgIGlmKCF0b2tlbkNvZGVzLmhhc093blByb3BlcnR5KGFycltwMV0pKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgICAgICAgICB9OwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwp9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-1-13"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0xLTE0IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtMS0xNC5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBhdCBvYmplY3QgaW5pdGlhbGl6YXRpb24sIHZlcmlmaWVkIHdpdGggaGFzT3duUHJvcGVydHk6IHB1YmxpYywgeWllbGQsIGludGVyZmFjZSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKXsgICAgICAKICAgICAgICB2YXIgdG9rZW5Db2RlcyAgPSB7IAogICAgICAgICAgICBwdWJsaWM6IDAsCiAgICAgICAgICAgIHlpZWxkOiAxLAogICAgICAgICAgICBpbnRlcmZhY2U6IDIKICAgICAgICB9OwogICAgICAgIHZhciBhcnIgPSBbCiAgICAgICAgICAgICdwdWJsaWMnLAogICAgICAgICAgICAneWllbGQnLAogICAgICAgICAgICAnaW50ZXJmYWNlJwogICAgICAgIF07ICAgICAgICAKICAgICAgICBmb3IodmFyIHAgaW4gdG9rZW5Db2RlcykgewogICAgICAgICAgICBmb3IodmFyIHAxIGluIGFycikgewogICAgICAgICAgICAgICAgaWYoYXJyW3AxXSA9PT0gcCkgeyAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgIGlmKCF0b2tlbkNvZGVzLmhhc093blByb3BlcnR5KGFycltwMV0pKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgICAgICAgICB9OwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwp9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-1-14"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0xLTE1IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtMS0xNS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBhdCBvYmplY3QgaW5pdGlhbGl6YXRpb24sIHZlcmlmaWVkIHdpdGggaGFzT3duUHJvcGVydHk6IHBhY2thZ2UsIHByb3RlY3RlZCwgc3RhdGljIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpeyAgICAgIAogICAgICAgIHZhciB0b2tlbkNvZGVzICA9IHsgCiAgICAgICAgICAgIHBhY2thZ2U6IDAsCiAgICAgICAgICAgIHByb3RlY3RlZDogMSwKICAgICAgICAgICAgc3RhdGljOiAyCiAgICAgICAgfTsKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAncGFja2FnZScsCiAgICAgICAgICAgICdwcm90ZWN0ZWQnLAogICAgICAgICAgICAnc3RhdGljJwogICAgICAgIF07ICAgICAgICAKICAgICAgICBmb3IodmFyIHAgaW4gdG9rZW5Db2RlcykgewogICAgICAgICAgICBmb3IodmFyIHAxIGluIGFycikgewogICAgICAgICAgICAgICAgaWYoYXJyW3AxXSA9PT0gcCkgeyAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgIGlmKCF0b2tlbkNvZGVzLmhhc093blByb3BlcnR5KGFycltwMV0pKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgICAgICAgICB9OwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwp9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-1-15"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0xLTE2IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtMS0xNi5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBhdCBvYmplY3QgaW5pdGlhbGl6YXRpb24sIHZlcmlmaWVkIHdpdGggaGFzT3duUHJvcGVydHk6IHVuZGVlZmluZWQsIE5hTiwgSW5maW5pdHkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCl7ICAgICAgCiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0geyAKICAgICAgICAgICAgdW5kZWZpbmVkOiAwLAogICAgICAgICAgICBOYU46IDEsCiAgICAgICAgICAgIEluZmluaXR5OiAyCiAgICAgICAgfTsKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAndW5kZWZpbmVkJywKICAgICAgICAgICAgJ05hTicsCiAgICAgICAgICAgICdJbmZpbml0eScKICAgICAgICBdOyAgICAgICAgCiAgICAgICAgZm9yKHZhciBwIGluIHRva2VuQ29kZXMpIHsKICAgICAgICAgICAgZm9yKHZhciBwMSBpbiBhcnIpIHsKICAgICAgICAgICAgICAgIGlmKGFycltwMV0gPT09IHApIHsgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICBpZighdG9rZW5Db2Rlcy5oYXNPd25Qcm9wZXJ0eShhcnJbcDFdKSkgewogICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgICAgICAgICAgfTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-1-16"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0xLTIiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS0xLTIuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYXQgb2JqZWN0IGluaXRpYWxpemF0aW9uLCB2ZXJpZmllZCB3aXRoIGhhc093blByb3BlcnR5OiBicmVhaywgY2FzZSwgZG8iLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCl7ICAgICAgCiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0geyAKICAgICAgICAgICAgYnJlYWs6IDAsCiAgICAgICAgICAgIGNhc2U6IDEsCiAgICAgICAgICAgIGRvOiAyCiAgICAgICAgfTsKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAnYnJlYWsnLAogICAgICAgICAgICAnY2FzZScsCiAgICAgICAgICAgICdkbycKICAgICAgICBdOyAgICAgICAgCiAgICAgICAgZm9yKHZhciBwIGluIHRva2VuQ29kZXMpIHsKICAgICAgICAgICAgZm9yKHZhciBwMSBpbiBhcnIpIHsKICAgICAgICAgICAgICAgIGlmKGFycltwMV0gPT09IHApIHsgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICBpZighdG9rZW5Db2Rlcy5oYXNPd25Qcm9wZXJ0eShhcnJbcDFdKSkgewogICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgICAgICAgICAgfTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-1-2"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0xLTMiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS0xLTMuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYXQgb2JqZWN0IGluaXRpYWxpemF0aW9uLCB2ZXJpZmllZCB3aXRoIGhhc093blByb3BlcnR5OiBpbnN0YW5jZW9mLCB0eXBlb2YsIGVsc2UiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCl7ICAgICAgCiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0geyAKICAgICAgICAgICAgaW5zdGFuY2VvZjogMCwKICAgICAgICAgICAgdHlwZW9mOiAxLAogICAgICAgICAgICBlbHNlOiAyCiAgICAgICAgfTsKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAnaW5zdGFuY2VvZicsCiAgICAgICAgICAgICd0eXBlb2YnLAogICAgICAgICAgICAnZWxzZScKICAgICAgICBdOyAgICAgICAgCiAgICAgICAgZm9yKHZhciBwIGluIHRva2VuQ29kZXMpIHsKICAgICAgICAgICAgZm9yKHZhciBwMSBpbiBhcnIpIHsKICAgICAgICAgICAgICAgIGlmKGFycltwMV0gPT09IHApIHsgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICBpZighdG9rZW5Db2Rlcy5oYXNPd25Qcm9wZXJ0eShhcnJbcDFdKSkgewogICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgICAgICAgICAgfTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-1-3"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0xLTQiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS0xLTQuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYXQgb2JqZWN0IGluaXRpYWxpemF0aW9uLCB2ZXJpZmllZCB3aXRoIGhhc093blByb3BlcnR5OiBuZXcsIHZhciwgY2F0Y2giLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCl7ICAgICAgCiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0geyAKICAgICAgICAgICAgbmV3OiAwLAogICAgICAgICAgICB2YXI6IDEsCiAgICAgICAgICAgIGNhdGNoOiAyCiAgICAgICAgfTsKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAnbmV3JywgCiAgICAgICAgICAgICd2YXInLCAKICAgICAgICAgICAgJ2NhdGNoJwogICAgICAgIF07ICAgICAgICAKICAgICAgICBmb3IodmFyIHAgaW4gdG9rZW5Db2RlcykgewogICAgICAgICAgICBmb3IodmFyIHAxIGluIGFycikgewogICAgICAgICAgICAgICAgaWYoYXJyW3AxXSA9PT0gcCkgeyAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgIGlmKCF0b2tlbkNvZGVzLmhhc093blByb3BlcnR5KGFycltwMV0pKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgICAgICAgICB9OwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwp9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-1-4"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0xLTUiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS0xLTUuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYXQgb2JqZWN0IGluaXRpYWxpemF0aW9uLCB2ZXJpZmllZCB3aXRoIGhhc093blByb3BlcnR5OiBmaW5hbGx5LCByZXR1cm4sIHZvaWQiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCl7ICAgICAgCiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0geyAKICAgICAgICAgICAgZmluYWxseTogMCwKICAgICAgICAgICAgcmV0dXJuOiAxLAogICAgICAgICAgICB2b2lkOiAyCiAgICAgICAgfTsKICAgICAgICB2YXIgYXJyID0gWyAKICAgICAgICAgICAgJ2ZpbmFsbHknLCAKICAgICAgICAgICAgJ3JldHVybicsIAogICAgICAgICAgICAndm9pZCcKICAgICAgICBdOyAgICAgICAgCiAgICAgICAgZm9yKHZhciBwIGluIHRva2VuQ29kZXMpIHsKICAgICAgICAgICAgZm9yKHZhciBwMSBpbiBhcnIpIHsKICAgICAgICAgICAgICAgIGlmKGFycltwMV0gPT09IHApIHsgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICBpZighdG9rZW5Db2Rlcy5oYXNPd25Qcm9wZXJ0eShhcnJbcDFdKSkgewogICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgICAgICAgICAgfTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-1-5"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0xLTYiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS0xLTYuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYXQgb2JqZWN0IGluaXRpYWxpemF0aW9uLCB2ZXJpZmllZCB3aXRoIGhhc093blByb3BlcnR5OiBjb250aW51ZSwgZm9yLCBzd2l0Y2giLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCl7ICAgICAgCiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0geyAKICAgICAgICAgICAgY29udGludWU6IDAsIAogICAgICAgICAgICBmb3I6IDEsIAogICAgICAgICAgICBzd2l0Y2g6IDIKICAgICAgICB9OwogICAgICAgIHZhciBhcnIgPSBbCiAgICAgICAgICAgICdjb250aW51ZScsIAogICAgICAgICAgICAnZm9yJywKICAgICAgICAgICAgJ3N3aXRjaCcKICAgICAgICBdOyAgICAgICAgCiAgICAgICAgZm9yKHZhciBwIGluIHRva2VuQ29kZXMpIHsKICAgICAgICAgICAgZm9yKHZhciBwMSBpbiBhcnIpIHsKICAgICAgICAgICAgICAgIGlmKGFycltwMV0gPT09IHApIHsgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICBpZighdG9rZW5Db2Rlcy5oYXNPd25Qcm9wZXJ0eShhcnJbcDFdKSkgewogICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgICAgICAgICAgfTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-1-6"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0xLTciLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS0xLTcuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYXQgb2JqZWN0IGluaXRpYWxpemF0aW9uLCB2ZXJpZmllZCB3aXRoIGhhc093blByb3BlcnR5OiB3aGlsZSwgZGVidWdnZXIsIGZ1bmN0aW9uIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpeyAgICAgIAogICAgICAgIHZhciB0b2tlbkNvZGVzICA9IHsgCiAgICAgICAgICAgIHdoaWxlOiAwLCAKICAgICAgICAgICAgZGVidWdnZXI6IDEsIAogICAgICAgICAgICBmdW5jdGlvbjogMgogICAgICAgIH07CiAgICAgICAgdmFyIGFyciA9IFsgCiAgICAgICAgICAgICd3aGlsZScgLAogICAgICAgICAgICAnZGVidWdnZXInLCAKICAgICAgICAgICAgJ2Z1bmN0aW9uJwogICAgICAgIF07ICAgICAgICAKICAgICAgICBmb3IodmFyIHAgaW4gdG9rZW5Db2RlcykgewogICAgICAgICAgICBmb3IodmFyIHAxIGluIGFycikgewogICAgICAgICAgICAgICAgaWYoYXJyW3AxXSA9PT0gcCkgeyAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgIGlmKCF0b2tlbkNvZGVzLmhhc093blByb3BlcnR5KGFycltwMV0pKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgICAgICAgICB9OwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwp9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-1-7"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0xLTgiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS0xLTguanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYXQgb2JqZWN0IGluaXRpYWxpemF0aW9uLCB2ZXJpZmllZCB3aXRoIGhhc093blByb3BlcnR5OiB0aGlzLCB3aXRoLCBkZWZhdWx0IiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpewogICAgICAgIHZhciB0b2tlbkNvZGVzICA9IHsgICAgICAgCiAgICAgICAgICAgIHRoaXM6IDAsICAKICAgICAgICAgICAgd2l0aDogMSwgCiAgICAgICAgICAgIGRlZmF1bHQ6IDIKICAgICAgICB9OwogICAgICAgIHZhciBhcnIgPSBbIAogICAgICAgICAgICAndGhpcycsIAogICAgICAgICAgICAnd2l0aCcsIAogICAgICAgICAgICAnZGVmYXVsdCcKICAgICAgICBdOyAgICAgICAgCiAgICAgICAgZm9yKHZhciBwIGluIHRva2VuQ29kZXMpIHsKICAgICAgICAgICAgZm9yKHZhciBwMSBpbiBhcnIpIHsKICAgICAgICAgICAgICAgIGlmKGFycltwMV0gPT09IHApIHsgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICBpZighdG9rZW5Db2Rlcy5oYXNPd25Qcm9wZXJ0eShhcnJbcDFdKSkgewogICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgICAgICAgICAgfTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-1-8"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0xLTkiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS0xLTkuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYXQgb2JqZWN0IGluaXRpYWxpemF0aW9uLCB2ZXJpZmllZCB3aXRoIGhhc093blByb3BlcnR5OiBpZiwgdGhyb3csIGRlbGV0ZSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKXsgICAgICAKICAgICAgICB2YXIgdG9rZW5Db2RlcyAgPSB7IAogICAgICAgICAgICBpZjogMCwgCiAgICAgICAgICAgIHRocm93OiAxLCAKICAgICAgICAgICAgZGVsZXRlOiAyCiAgICAgICAgfTsKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAnaWYnLCAKICAgICAgICAgICAgJ3Rocm93JywgCiAgICAgICAgICAgICdkZWxldGUnCiAgICAgICAgXTsgICAgICAgIAogICAgICAgIGZvcih2YXIgcCBpbiB0b2tlbkNvZGVzKSB7CiAgICAgICAgICAgIGZvcih2YXIgcDEgaW4gYXJyKSB7CiAgICAgICAgICAgICAgICBpZihhcnJbcDFdID09PSBwKSB7ICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgaWYoIXRva2VuQ29kZXMuaGFzT3duUHJvcGVydHkoYXJyW3AxXSkpIHsKICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICAgICAgICAgIH07CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7Cn0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6.1-1-9"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0yLTEiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS0yLTEuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgZG90IG9wZXJhdG9yIGFzc2lnbm1lbnQsIHZlcmlmaWVkIHdpdGggaGFzT3duUHJvcGVydHk6IG51bGwsIHRydWUsIGZhbHNlIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgdG9rZW5Db2RlcyAgPSB7fTsKICAgICAgICB0b2tlbkNvZGVzLm51bGwgPSAwOwoJICAgIHRva2VuQ29kZXMudHJ1ZSA9IDE7CgkgICAgdG9rZW5Db2Rlcy5mYWxzZSA9IDI7CiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ251bGwnLAogICAgICAgICAgICAndHJ1ZScsCiAgICAgICAgICAgICdmYWxzZScKICAgICAgICBdOwogICAgICAgIGZvcih2YXIgcCBpbiB0b2tlbkNvZGVzKSB7ICAgICAgIAogICAgICAgICAgICBmb3IodmFyIHAxIGluIGFycikgeyAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgIGlmKGFycltwMV0gPT09IHApIHsKICAgICAgICAgICAgICAgICAgICBpZighdG9rZW5Db2Rlcy5oYXNPd25Qcm9wZXJ0eShhcnJbcDFdKSkgewogICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgICAgICAgICAgfTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6.1-2-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0yLTEwIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtMi0xMC5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBkb3Qgb3BlcmF0b3IgYXNzaWdubWVudCwgdmVyaWZpZWQgd2l0aCBoYXNPd25Qcm9wZXJ0eTogaW4sIHRyeSwgY2xhc3MiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0b2tlbkNvZGVzID0ge307CiAgICAgICAgdG9rZW5Db2Rlcy5pbiA9IDA7CiAgICAgICAgdG9rZW5Db2Rlcy50cnkgPSAxOwogICAgICAgIHRva2VuQ29kZXMuY2xhc3MgPSAyOwogICAgICAgIHZhciBhcnIgPSBbCiAgICAgICAgICAgICdpbicsIAogICAgICAgICAgICAndHJ5JywKICAgICAgICAgICAgJ2NsYXNzJwogICAgICAgIF07CiAgICAgICAgZm9yKHZhciBwIGluIHRva2VuQ29kZXMpIHsgICAgICAgCiAgICAgICAgICAgIGZvcih2YXIgcDEgaW4gYXJyKSB7ICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgaWYoYXJyW3AxXSA9PT0gcCkgewogICAgICAgICAgICAgICAgICAgIGlmKCF0b2tlbkNvZGVzLmhhc093blByb3BlcnR5KGFycltwMV0pKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgICAgICAgICB9OwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-2-10"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0yLTExIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtMi0xMS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBkb3Qgb3BlcmF0b3IgYXNzaWdubWVudCwgdmVyaWZpZWQgd2l0aCBoYXNPd25Qcm9wZXJ0eTogZW51bSwgZXh0ZW5kcywgc3VwZXIiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0b2tlbkNvZGVzID0ge307CiAgICAgICAgdG9rZW5Db2Rlcy5lbnVtID0gMDsKICAgICAgICB0b2tlbkNvZGVzLmV4dGVuZHMgPSAxOwogICAgICAgIHRva2VuQ29kZXMuc3VwZXIgPSAyOwogICAgICAgIHZhciBhcnIgPSBbCiAgICAgICAgICAgICdlbnVtJywKICAgICAgICAgICAgJ2V4dGVuZHMnLAogICAgICAgICAgICAnc3VwZXInCiAgICAgICAgXTsKICAgICAgICBmb3IodmFyIHAgaW4gdG9rZW5Db2RlcykgeyAgICAgICAKICAgICAgICAgICAgZm9yKHZhciBwMSBpbiBhcnIpIHsgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICBpZihhcnJbcDFdID09PSBwKSB7CiAgICAgICAgICAgICAgICAgICAgaWYoIXRva2VuQ29kZXMuaGFzT3duUHJvcGVydHkoYXJyW3AxXSkpIHsKICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICAgICAgICAgIH07CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-2-11"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0yLTEyIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtMi0xMi5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBkb3Qgb3BlcmF0b3IgYXNzaWdubWVudCwgdmVyaWZpZWQgd2l0aCBoYXNPd25Qcm9wZXJ0eTogY29uc3QsIGV4cG9ydCwgaW1wb3J0IiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgdG9rZW5Db2RlcyAgPSB7fTsKICAgICAgICB0b2tlbkNvZGVzLmNvbnN0ID0gMDsKICAgICAgICB0b2tlbkNvZGVzLmV4cG9ydCA9IDE7CiAgICAgICAgdG9rZW5Db2Rlcy5pbXBvcnQgPSAyOwogICAgICAgIHZhciBhcnIgPSBbCiAgICAgICAgICAgICdjb25zdCcsCiAgICAgICAgICAgICdleHBvcnQnLAogICAgICAgICAgICAnaW1wb3J0JwogICAgICAgIF07CiAgICAgICAgZm9yKHZhciBwIGluIHRva2VuQ29kZXMpIHsgICAgICAgCiAgICAgICAgICAgIGZvcih2YXIgcDEgaW4gYXJyKSB7ICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgaWYoYXJyW3AxXSA9PT0gcCkgewogICAgICAgICAgICAgICAgICAgIGlmKCF0b2tlbkNvZGVzLmhhc093blByb3BlcnR5KGFycltwMV0pKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgICAgICAgICB9OwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-2-12"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0yLTEzIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtMi0xMy5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBkb3Qgb3BlcmF0b3IgYXNzaWdubWVudCwgdmVyaWZpZWQgd2l0aCBoYXNPd25Qcm9wZXJ0eTogaW1wbGVtZW50cywgbGV0LCBwcml2YXRlIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgdG9rZW5Db2RlcyAgPSB7fTsKICAgICAgICB0b2tlbkNvZGVzLmltcGxlbWVudHMgPSAwOwogICAgICAgIHRva2VuQ29kZXMubGV0ID0gMTsKICAgICAgICB0b2tlbkNvZGVzLnByaXZhdGUgPSAyOwogICAgICAgIHZhciBhcnIgPSBbCiAgICAgICAgICAgICdpbXBsZW1lbnRzJywKICAgICAgICAgICAgJ2xldCcsCiAgICAgICAgICAgICdwcml2YXRlJwogICAgICAgIF07CiAgICAgICAgZm9yKHZhciBwIGluIHRva2VuQ29kZXMpIHsgICAgICAgCiAgICAgICAgICAgIGZvcih2YXIgcDEgaW4gYXJyKSB7ICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgaWYoYXJyW3AxXSA9PT0gcCkgewogICAgICAgICAgICAgICAgICAgIGlmKCF0b2tlbkNvZGVzLmhhc093blByb3BlcnR5KGFycltwMV0pKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgICAgICAgICB9OwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-2-13"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0yLTE0IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtMi0xNC5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBkb3Qgb3BlcmF0b3IgYXNzaWdubWVudCwgdmVyaWZpZWQgd2l0aCBoYXNPd25Qcm9wZXJ0eTogcHVibGljLCB5aWVsZCwgaW50ZXJmYWNlIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgdG9rZW5Db2RlcyAgPSB7fTsKICAgICAgICB0b2tlbkNvZGVzLnB1YmxpYyA9IDA7CiAgICAgICAgdG9rZW5Db2Rlcy55aWVsZCA9IDE7CiAgICAgICAgdG9rZW5Db2Rlcy5pbnRlcmZhY2UgPSAyOwogICAgICAgIHZhciBhcnIgPSBbCiAgICAgICAgICAgICdwdWJsaWMnLAogICAgICAgICAgICAneWllbGQnLAogICAgICAgICAgICAnaW50ZXJmYWNlJwogICAgICAgIF07CiAgICAgICAgZm9yKHZhciBwIGluIHRva2VuQ29kZXMpIHsgICAgICAgCiAgICAgICAgICAgIGZvcih2YXIgcDEgaW4gYXJyKSB7ICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgaWYoYXJyW3AxXSA9PT0gcCkgewogICAgICAgICAgICAgICAgICAgIGlmKCF0b2tlbkNvZGVzLmhhc093blByb3BlcnR5KGFycltwMV0pKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgICAgICAgICB9OwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-2-14"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0yLTE1IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtMi0xNS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBkb3Qgb3BlcmF0b3IgYXNzaWdubWVudCwgdmVyaWZpZWQgd2l0aCBoYXNPd25Qcm9wZXJ0eTogcGFja2FnZSwgcHJvdGVjdGVkLCBzdGF0aWMiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0b2tlbkNvZGVzICA9IHt9OwogICAgICAgIHRva2VuQ29kZXMucGFja2FnZSA9IDA7CiAgICAgICAgdG9rZW5Db2Rlcy5wcm90ZWN0ZWQgPSAxOwogICAgICAgIHRva2VuQ29kZXMuc3RhdGljID0gMjsKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAncGFja2FnZScsCiAgICAgICAgICAgICdwcm90ZWN0ZWQnLAogICAgICAgICAgICAnc3RhdGljJyAgICAKICAgICAgICBdOwogICAgICAgIGZvcih2YXIgcCBpbiB0b2tlbkNvZGVzKSB7ICAgICAgIAogICAgICAgICAgICBmb3IodmFyIHAxIGluIGFycikgeyAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgIGlmKGFycltwMV0gPT09IHApIHsKICAgICAgICAgICAgICAgICAgICBpZighdG9rZW5Db2Rlcy5oYXNPd25Qcm9wZXJ0eShhcnJbcDFdKSkgewogICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgICAgICAgICAgfTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6.1-2-15"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0yLTE2IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtMi0xNi5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBkb3Qgb3BlcmF0b3IgYXNzaWdubWVudCwgdmVyaWZpZWQgd2l0aCBoYXNPd25Qcm9wZXJ0eTogdW5kZWZpbmVkLCBOYU4sIEluZmluaXR5IiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgdG9rZW5Db2RlcyA9IHt9OwogICAgICAgIHRva2VuQ29kZXMudW5kZWZpbmVkID0gMDsKICAgICAgICB0b2tlbkNvZGVzLk5hTiA9IDE7CiAgICAgICAgdG9rZW5Db2Rlcy5JbmZpbml0eSA9IDI7CiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ3VuZGVmaW5lZCcsCiAgICAgICAgICAgICdOYU4nLAogICAgICAgICAgICAnSW5maW5pdHknCiAgICAgICAgXTsKICAgICAgICBmb3IodmFyIHAgaW4gdG9rZW5Db2RlcykgeyAgICAgICAKICAgICAgICAgICAgZm9yKHZhciBwMSBpbiBhcnIpIHsgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICBpZihhcnJbcDFdID09PSBwKSB7CiAgICAgICAgICAgICAgICAgICAgaWYoIXRva2VuQ29kZXMuaGFzT3duUHJvcGVydHkoYXJyW3AxXSkpIHsKICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICAgICAgICAgIH07CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-2-16"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0yLTIiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS0yLTIuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgZG90IG9wZXJhdG9yIGFzc2lnbm1lbnQsIHZlcmlmaWVkIHdpdGggaGFzT3duUHJvcGVydHk6IGJyZWFrLCBjYXNlLCBkbyIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0ge307CiAgICAgICAgdG9rZW5Db2Rlcy5icmVhayA9IDA7ICAJCiAgICAgICAgdG9rZW5Db2Rlcy5jYXNlID0gMTsKICAgICAgICB0b2tlbkNvZGVzLmRvID0gMjsKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAnYnJlYWsnLAogICAgICAgICAgICAnY2FzZScsCiAgICAgICAgICAgICdkbycKICAgICAgICBdOwogICAgICAgIGZvcih2YXIgcCBpbiB0b2tlbkNvZGVzKSB7ICAgICAgIAogICAgICAgICAgICBmb3IodmFyIHAxIGluIGFycikgeyAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgIGlmKGFycltwMV0gPT09IHApIHsKICAgICAgICAgICAgICAgICAgICBpZighdG9rZW5Db2Rlcy5oYXNPd25Qcm9wZXJ0eShhcnJbcDFdKSkgewogICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgICAgICAgICAgfTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6.1-2-2"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0yLTMiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS0yLTMuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgZG90IG9wZXJhdG9yIGFzc2lnbm1lbnQsIHZlcmlmaWVkIHdpdGggaGFzT3duUHJvcGVydHk6IGluc3RhbmNlb2YsIHR5cGVvZiwgZWxzZSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0ge307CiAgICAgICAgdG9rZW5Db2Rlcy5pbnN0YW5jZW9mID0gMDsKICAgICAgICB0b2tlbkNvZGVzLnR5cGVvZiA9IDE7CiAgICAgICAgdG9rZW5Db2Rlcy5lbHNlID0gMjsKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAnaW5zdGFuY2VvZicsCiAgICAgICAgICAgICd0eXBlb2YnLAogICAgICAgICAgICAnZWxzZScKICAgICAgICBdOwogICAgICAgIGZvcih2YXIgcCBpbiB0b2tlbkNvZGVzKSB7ICAgICAgIAogICAgICAgICAgICBmb3IodmFyIHAxIGluIGFycikgeyAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgIGlmKGFycltwMV0gPT09IHApIHsKICAgICAgICAgICAgICAgICAgICBpZighdG9rZW5Db2Rlcy5oYXNPd25Qcm9wZXJ0eShhcnJbcDFdKSkgewogICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgICAgICAgICAgfTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6.1-2-3"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0yLTQiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS0yLTQuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgZG90IG9wZXJhdG9yIGFzc2lnbm1lbnQsIHZlcmlmaWVkIHdpdGggaGFzT3duUHJvcGVydHk6IG5ldywgdmFyLCBjYXRjaCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgPSB7fTsKICAgICAgICB0b2tlbkNvZGVzLm5ldyA9IDA7CiAgICAgICAgdG9rZW5Db2Rlcy52YXIgPSAxOwogICAgICAgIHRva2VuQ29kZXMuY2F0Y2ggPSAyOwogICAgICAgIHZhciBhcnIgPSBbCiAgICAgICAgICAgICduZXcnLCAKICAgICAgICAgICAgJ3ZhcicsIAogICAgICAgICAgICAnY2F0Y2gnCiAgICAgICAgXTsKICAgICAgICBmb3IodmFyIHAgaW4gdG9rZW5Db2RlcykgeyAgICAgICAKICAgICAgICAgICAgZm9yKHZhciBwMSBpbiBhcnIpIHsgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICBpZihhcnJbcDFdID09PSBwKSB7CiAgICAgICAgICAgICAgICAgICAgaWYoIXRva2VuQ29kZXMuaGFzT3duUHJvcGVydHkoYXJyW3AxXSkpIHsKICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICAgICAgICAgIH07CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-2-4"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0yLTUiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS0yLTUuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgZG90IG9wZXJhdG9yIGFzc2lnbm1lbnQsIHZlcmlmaWVkIHdpdGggaGFzT3duUHJvcGVydHk6IGZpbmFsbHksIHJldHVybiwgdm9pZCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgPSB7fTsKICAgICAgICB0b2tlbkNvZGVzLmZpbmFsbHkgPSAwOwogICAgICAgIHRva2VuQ29kZXMucmV0dXJuID0gMTsKICAgICAgICB0b2tlbkNvZGVzLnZvaWQgPSAyOwogICAgICAgIHZhciBhcnIgPSBbCiAgICAgICAgICAgICdmaW5hbGx5JywgCiAgICAgICAgICAgICdyZXR1cm4nLCAKICAgICAgICAgICAgJ3ZvaWQnCiAgICAgICAgXTsKICAgICAgICBmb3IodmFyIHAgaW4gdG9rZW5Db2RlcykgeyAgICAgICAKICAgICAgICAgICAgZm9yKHZhciBwMSBpbiBhcnIpIHsgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICBpZihhcnJbcDFdID09PSBwKSB7CiAgICAgICAgICAgICAgICAgICAgaWYoIXRva2VuQ29kZXMuaGFzT3duUHJvcGVydHkoYXJyW3AxXSkpIHsKICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICAgICAgICAgIH07CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-2-5"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0yLTYiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS0yLTYuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgZG90IG9wZXJhdG9yIGFzc2lnbm1lbnQsIHZlcmlmaWVkIHdpdGggaGFzT3duUHJvcGVydHk6IGNvbnRpbnVlLCBmb3IsIHN3aXRjaCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0ge307CiAgICAgICAgdG9rZW5Db2Rlcy5jb250aW51ZSA9IDA7CiAgICAgICAgdG9rZW5Db2Rlcy5mb3IgPSAxOyAKICAgICAgICB0b2tlbkNvZGVzLnN3aXRjaCA9IDI7CiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ2NvbnRpbnVlJywgCiAgICAgICAgICAgICdmb3InLAogICAgICAgICAgICAnc3dpdGNoJwogICAgICAgIF07CiAgICAgICAgZm9yKHZhciBwIGluIHRva2VuQ29kZXMpIHsgICAgICAgCiAgICAgICAgICAgIGZvcih2YXIgcDEgaW4gYXJyKSB7ICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgaWYoYXJyW3AxXSA9PT0gcCkgewogICAgICAgICAgICAgICAgICAgIGlmKCF0b2tlbkNvZGVzLmhhc093blByb3BlcnR5KGFycltwMV0pKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgICAgICAgICB9OwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-2-6"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0yLTciLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS0yLTcuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgZG90IG9wZXJhdG9yIGFzc2lnbm1lbnQsIHZlcmlmaWVkIHdpdGggaGFzT3duUHJvcGVydHk6IHdoaWxlLCBkZWJ1Z2dlciwgZnVuY3Rpb24iLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0b2tlbkNvZGVzICA9IHt9OwogICAgICAgIHRva2VuQ29kZXMud2hpbGUgPSAwOyAKICAgICAgICB0b2tlbkNvZGVzLmRlYnVnZ2VyID0gMTsKICAgICAgICB0b2tlbkNvZGVzLmZ1bmN0aW9uID0gMjsgCiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ3doaWxlJyAsCiAgICAgICAgICAgICdkZWJ1Z2dlcicsIAogICAgICAgICAgICAnZnVuY3Rpb24nCiAgICAgICAgXTsKICAgICAgICBmb3IodmFyIHAgaW4gdG9rZW5Db2RlcykgeyAgICAgICAKICAgICAgICAgICAgZm9yKHZhciBwMSBpbiBhcnIpIHsgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICBpZihhcnJbcDFdID09PSBwKSB7CiAgICAgICAgICAgICAgICAgICAgaWYoIXRva2VuQ29kZXMuaGFzT3duUHJvcGVydHkoYXJyW3AxXSkpIHsKICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICAgICAgICAgIH07CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-2-7"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0yLTgiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS0yLTguanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgZG90IG9wZXJhdG9yIGFzc2lnbm1lbnQsIHZlcmlmaWVkIHdpdGggaGFzT3duUHJvcGVydHk6IHRoaXMsIHdpdGgsIGRlZmF1bHQiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0b2tlbkNvZGVzID0ge307CiAgICAgICAgdG9rZW5Db2Rlcy50aGlzID0gMDsgCiAgICAgICAgdG9rZW5Db2Rlcy53aXRoID0gMTsgCiAgICAgICAgdG9rZW5Db2Rlcy5kZWZhdWx0ID0gMjsKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAndGhpcycsIAogICAgICAgICAgICAnd2l0aCcsIAogICAgICAgICAgICAnZGVmYXVsdCcKICAgICAgICBdOwogICAgICAgIGZvcih2YXIgcCBpbiB0b2tlbkNvZGVzKSB7ICAgICAgIAogICAgICAgICAgICBmb3IodmFyIHAxIGluIGFycikgeyAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgIGlmKGFycltwMV0gPT09IHApIHsKICAgICAgICAgICAgICAgICAgICBpZighdG9rZW5Db2Rlcy5oYXNPd25Qcm9wZXJ0eShhcnJbcDFdKSkgewogICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgICAgICAgICAgfTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6.1-2-8"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0yLTkiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS0yLTkuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgZG90IG9wZXJhdG9yIGFzc2lnbm1lbnQsIHZlcmlmaWVkIHdpdGggaGFzT3duUHJvcGVydHk6IGlmLCB0aHJvdywgZGVsZXRlIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgdG9rZW5Db2RlcyA9IHt9OwogICAgICAgIHRva2VuQ29kZXMuaWYgPSAwOwogICAgICAgIHRva2VuQ29kZXMudGhyb3cgPSAxOwogICAgICAgIHRva2VuQ29kZXMuZGVsZXRlID0gMjsKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAnaWYnLCAKICAgICAgICAgICAgJ3Rocm93JywgCiAgICAgICAgICAgICdkZWxldGUnCiAgICAgICAgXTsKICAgICAgICBmb3IodmFyIHAgaW4gdG9rZW5Db2RlcykgeyAgICAgICAKICAgICAgICAgICAgZm9yKHZhciBwMSBpbiBhcnIpIHsgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICBpZihhcnJbcDFdID09PSBwKSB7CiAgICAgICAgICAgICAgICAgICAgaWYoIXRva2VuQ29kZXMuaGFzT3duUHJvcGVydHkoYXJyW3AxXSkpIHsKICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICAgICAgICAgIH07CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-2-9"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0zLTEiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS0zLTEuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgaW5kZXggYXNzaWdubWVudCx2ZXJpZmllZCB3aXRoIGhhc093blByb3BlcnR5OiBudWxsLCB0cnVlLCBmYWxzZSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0ge307CiAgICAgICAgdG9rZW5Db2Rlc1snbnVsbCddID0gMDsKCSAgICB0b2tlbkNvZGVzWyd0cnVlJ10gPSAxOwoJICAgIHRva2VuQ29kZXNbJ2ZhbHNlJ10gPSAyOwogICAgICAgIHZhciBhcnIgPSBbCiAgICAgICAgICAgICdudWxsJywKICAgICAgICAgICAgJ3RydWUnLAogICAgICAgICAgICAnZmFsc2UnCiAgICAgICAgICAgIF07CiAgICAgICAgZm9yKHZhciBwIGluIHRva2VuQ29kZXMpIHsgICAgICAgCiAgICAgICAgICAgIGZvcih2YXIgcDEgaW4gYXJyKSB7ICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgaWYoYXJyW3AxXSA9PT0gcCkgewogICAgICAgICAgICAgICAgICAgIGlmKCF0b2tlbkNvZGVzLmhhc093blByb3BlcnR5KGFycltwMV0pKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgICAgICAgICB9OwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-3-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0zLTEwIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtMy0xMC5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBpbmRleCBhc3NpZ25tZW50LHZlcmlmaWVkIHdpdGggaGFzT3duUHJvcGVydHk6IGluLCB0cnksIGNsYXNzIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgdG9rZW5Db2RlcyAgPSB7fTsKICAgICAgICB0b2tlbkNvZGVzWydpbiddID0gMDsKICAgICAgICB0b2tlbkNvZGVzWyd0cnknXSA9IDE7CiAgICAgICAgdG9rZW5Db2Rlc1snY2xhc3MnXSA9IDI7CiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ2luJywKICAgICAgICAgICAgJ3RyeScsCiAgICAgICAgICAgICdjbGFzcycKICAgICAgICAgICAgXTsKICAgICAgICBmb3IodmFyIHAgaW4gdG9rZW5Db2RlcykgeyAgICAgICAKICAgICAgICAgICAgZm9yKHZhciBwMSBpbiBhcnIpIHsgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICBpZihhcnJbcDFdID09PSBwKSB7CiAgICAgICAgICAgICAgICAgICAgaWYoIXRva2VuQ29kZXMuaGFzT3duUHJvcGVydHkoYXJyW3AxXSkpIHsKICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICAgICAgICAgIH07CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-3-10"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0zLTExIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtMy0xMS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBpbmRleCBhc3NpZ25tZW50LHZlcmlmaWVkIHdpdGggaGFzT3duUHJvcGVydHk6IGVudW0sIGV4dGVuZHMsIHN1cGVyIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgdG9rZW5Db2RlcyAgPSB7fTsKICAgICAgICB0b2tlbkNvZGVzWydlbnVtJ10gPSAwOwogICAgICAgIHRva2VuQ29kZXNbJ2V4dGVuZHMnXSA9IDE7CiAgICAgICAgdG9rZW5Db2Rlc1snc3VwZXInXSA9IDI7CiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ2VudW0nLAogICAgICAgICAgICAnZXh0ZW5kcycsCiAgICAgICAgICAgICdzdXBlcicKICAgICAgICAgICAgXTsKICAgICAgICBmb3IodmFyIHAgaW4gdG9rZW5Db2RlcykgeyAgICAgICAKICAgICAgICAgICAgZm9yKHZhciBwMSBpbiBhcnIpIHsgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICBpZihhcnJbcDFdID09PSBwKSB7CiAgICAgICAgICAgICAgICAgICAgaWYoIXRva2VuQ29kZXMuaGFzT3duUHJvcGVydHkoYXJyW3AxXSkpIHsKICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICAgICAgICAgIH07CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-3-11"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0zLTEyIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtMy0xMi5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBpbmRleCBhc3NpZ25tZW50LHZlcmlmaWVkIHdpdGggaGFzT3duUHJvcGVydHk6IGNvbnN0LCBleHBvcnQsIGltcG9ydCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0ge307CiAgICAgICAgdG9rZW5Db2Rlc1snY29uc3QnXSA9IDA7CiAgICAgICAgdG9rZW5Db2Rlc1snZXhwb3J0J10gPSAxOwogICAgICAgIHRva2VuQ29kZXNbJ2ltcG9ydCddID0gMjsKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAnY29uc3QnLAogICAgICAgICAgICAnZXhwb3J0JywKICAgICAgICAgICAgJ2ltcG9ydCcKICAgICAgICAgICAgXTsKICAgICAgICBmb3IodmFyIHAgaW4gdG9rZW5Db2RlcykgeyAgICAgICAKICAgICAgICAgICAgZm9yKHZhciBwMSBpbiBhcnIpIHsgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICBpZihhcnJbcDFdID09PSBwKSB7CiAgICAgICAgICAgICAgICAgICAgaWYoIXRva2VuQ29kZXMuaGFzT3duUHJvcGVydHkoYXJyW3AxXSkpIHsKICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICAgICAgICAgIH07CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-3-12"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0zLTEzIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtMy0xMy5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBpbmRleCBhc3NpZ25tZW50LHZlcmlmaWVkIHdpdGggaGFzT3duUHJvcGVydHk6IGltcGxlbWVudHMsIGxldCwgcHJpdmF0ZSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0ge307CiAgICAgICAgdG9rZW5Db2Rlc1snaW1wbGVtZW50cyddID0gMDsKICAgICAgICB0b2tlbkNvZGVzWydsZXQnXSA9IDE7CiAgICAgICAgdG9rZW5Db2Rlc1sncHJpdmF0ZSddID0gMjsKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAnaW1wbGVtZW50cycsCiAgICAgICAgICAgICdsZXQnLAogICAgICAgICAgICAncHJpdmF0ZScKICAgICAgICAgICAgXTsKICAgICAgICBmb3IodmFyIHAgaW4gdG9rZW5Db2RlcykgeyAgICAgICAKICAgICAgICAgICAgZm9yKHZhciBwMSBpbiBhcnIpIHsgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICBpZihhcnJbcDFdID09PSBwKSB7CiAgICAgICAgICAgICAgICAgICAgaWYoIXRva2VuQ29kZXMuaGFzT3duUHJvcGVydHkoYXJyW3AxXSkpIHsKICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICAgICAgICAgIH07CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-3-13"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0zLTE0IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtMy0xNC5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBpbmRleCBhc3NpZ25tZW50LHZlcmlmaWVkIHdpdGggaGFzT3duUHJvcGVydHk6IHB1YmxpYywgeWllbGQsIGludGVyZmFjZSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0ge307CiAgICAgICAgdG9rZW5Db2Rlc1sncHVibGljJ10gPSAwOwogICAgICAgIHRva2VuQ29kZXNbJ3lpZWxkJ10gPSAxOwogICAgICAgIHRva2VuQ29kZXNbJ2ludGVyZmFjZSddID0gMjsKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAncHVibGljJywKICAgICAgICAgICAgJ3lpZWxkJywKICAgICAgICAgICAgJ2ludGVyZmFjZScKICAgICAgICAgICAgXTsKICAgICAgICBmb3IodmFyIHAgaW4gdG9rZW5Db2RlcykgeyAgICAgICAKICAgICAgICAgICAgZm9yKHZhciBwMSBpbiBhcnIpIHsgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICBpZihhcnJbcDFdID09PSBwKSB7CiAgICAgICAgICAgICAgICAgICAgaWYoIXRva2VuQ29kZXMuaGFzT3duUHJvcGVydHkoYXJyW3AxXSkpIHsKICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICAgICAgICAgIH07CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-3-14"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0zLTE1IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtMy0xNS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBpbmRleCBhc3NpZ25tZW50LHZlcmlmaWVkIHdpdGggaGFzT3duUHJvcGVydHk6IHBhY2thZ2UsIHByb3RlY3RlZCwgc3RhdGljIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgdG9rZW5Db2RlcyAgPSB7fTsKICAgICAgICB0b2tlbkNvZGVzWydwYWNrYWdlJ10gPSAwOwogICAgICAgIHRva2VuQ29kZXNbJ3Byb3RlY3RlZCddID0gMTsKICAgICAgICB0b2tlbkNvZGVzWydzdGF0aWMnXSA9IDI7CiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ3BhY2thZ2UnLAogICAgICAgICAgICAncHJvdGVjdGVkJywKICAgICAgICAgICAgJ3N0YXRpYycgICAKICAgICAgICAgICAgXTsKICAgICAgICBmb3IodmFyIHAgaW4gdG9rZW5Db2RlcykgeyAgICAgICAKICAgICAgICAgICAgZm9yKHZhciBwMSBpbiBhcnIpIHsgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICBpZihhcnJbcDFdID09PSBwKSB7CiAgICAgICAgICAgICAgICAgICAgaWYoIXRva2VuQ29kZXMuaGFzT3duUHJvcGVydHkoYXJyW3AxXSkpIHsKICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICAgICAgICAgIH07CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-3-15"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0zLTE2IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtMy0xNi5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBpbmRleCBhc3NpZ25tZW50LHZlcmlmaWVkIHdpdGggaGFzT3duUHJvcGVydHk6IHVuZGVmaW5lZCwgTmFOLCBJbmZpbml0eSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0ge307CiAgICAgICAgdG9rZW5Db2Rlc1sndW5kZWZpbmVkJ10gPSAwOwogICAgICAgIHRva2VuQ29kZXNbJ05hTiddID0gMTsKICAgICAgICB0b2tlbkNvZGVzWydJbmZpbml0eSddID0gMjsKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAndW5kZWZpbmVkJywKICAgICAgICAgICAgJ05hTicsCiAgICAgICAgICAgICdJbmZpbml0eScKICAgICAgICAgICAgXTsKICAgICAgICBmb3IodmFyIHAgaW4gdG9rZW5Db2RlcykgeyAgICAgICAKICAgICAgICAgICAgZm9yKHZhciBwMSBpbiBhcnIpIHsgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICBpZihhcnJbcDFdID09PSBwKSB7CiAgICAgICAgICAgICAgICAgICAgaWYoIXRva2VuQ29kZXMuaGFzT3duUHJvcGVydHkoYXJyW3AxXSkpIHsKICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICAgICAgICAgIH07CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-3-16"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0zLTIiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS0zLTIuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgaW5kZXggYXNzaWdubWVudCx2ZXJpZmllZCB3aXRoIGhhc093blByb3BlcnR5OiBicmVhaywgY2FzZSwgZG8iLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0b2tlbkNvZGVzICA9IHt9OwogICAgICAgIHRva2VuQ29kZXNbJ2JyZWFrJ10gPSAwOwogICAgICAgIHRva2VuQ29kZXNbJ2Nhc2UnXSA9IDE7CiAgICAgICAgdG9rZW5Db2Rlc1snZG8nXSA9IDI7CiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ2JyZWFrJywKICAgICAgICAgICAgJ2Nhc2UnLAogICAgICAgICAgICAnZG8nCiAgICAgICAgICAgIF07CiAgICAgICAgZm9yKHZhciBwIGluIHRva2VuQ29kZXMpIHsgICAgICAgCiAgICAgICAgICAgIGZvcih2YXIgcDEgaW4gYXJyKSB7ICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgaWYoYXJyW3AxXSA9PT0gcCkgewogICAgICAgICAgICAgICAgICAgIGlmKCF0b2tlbkNvZGVzLmhhc093blByb3BlcnR5KGFycltwMV0pKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgICAgICAgICB9OwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-3-2"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0zLTMiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS0zLTMuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgaW5kZXggYXNzaWdubWVudCx2ZXJpZmllZCB3aXRoIGhhc093blByb3BlcnR5OiBpbnN0YW5jZW9mLCB0eXBlb2YsIGVsc2UiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0b2tlbkNvZGVzICA9IHt9OwogICAgICAgIHRva2VuQ29kZXNbJ2luc3RhbmNlb2YnXSA9IDA7CiAgICAgICAgdG9rZW5Db2Rlc1sndHlwZW9mJ10gPSAxOwogICAgICAgIHRva2VuQ29kZXNbJ2Vsc2UnXSA9IDI7CiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ2luc3RhbmNlb2YnLAogICAgICAgICAgICAndHlwZW9mJywKICAgICAgICAgICAgJ2Vsc2UnCiAgICAgICAgICAgIF07CiAgICAgICAgZm9yKHZhciBwIGluIHRva2VuQ29kZXMpIHsgICAgICAgCiAgICAgICAgICAgIGZvcih2YXIgcDEgaW4gYXJyKSB7ICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgaWYoYXJyW3AxXSA9PT0gcCkgewogICAgICAgICAgICAgICAgICAgIGlmKCF0b2tlbkNvZGVzLmhhc093blByb3BlcnR5KGFycltwMV0pKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgICAgICAgICB9OwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-3-3"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0zLTQiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS0zLTQuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgaW5kZXggYXNzaWdubWVudCx2ZXJpZmllZCB3aXRoIGhhc093blByb3BlcnR5OiBuZXcsIHZhciwgY2F0Y2giLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0b2tlbkNvZGVzICA9IHt9OwogICAgICAgIHRva2VuQ29kZXNbJ25ldyddID0gMDsKICAgICAgICB0b2tlbkNvZGVzWyd2YXInXSA9IDE7CiAgICAgICAgdG9rZW5Db2Rlc1snY2F0Y2gnXSA9IDI7CiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ25ldycsCiAgICAgICAgICAgICd2YXInLAogICAgICAgICAgICAnY2F0Y2gnCiAgICAgICAgICAgIF07CiAgICAgICAgZm9yKHZhciBwIGluIHRva2VuQ29kZXMpIHsgICAgICAgCiAgICAgICAgICAgIGZvcih2YXIgcDEgaW4gYXJyKSB7ICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgaWYoYXJyW3AxXSA9PT0gcCkgewogICAgICAgICAgICAgICAgICAgIGlmKCF0b2tlbkNvZGVzLmhhc093blByb3BlcnR5KGFycltwMV0pKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgICAgICAgICB9OwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-3-4"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0zLTUiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS0zLTUuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgaW5kZXggYXNzaWdubWVudCx2ZXJpZmllZCB3aXRoIGhhc093blByb3BlcnR5OiBmaW5hbGx5LCByZXR1cm4sIHZvaWQiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0b2tlbkNvZGVzICA9IHt9OwogICAgICAgIHRva2VuQ29kZXNbJ2ZpbmFsbHknXSA9IDA7CiAgICAgICAgdG9rZW5Db2Rlc1sncmV0dXJuJ10gPSAxOwogICAgICAgIHRva2VuQ29kZXNbJ3ZvaWQnXSA9IDI7CiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ2ZpbmFsbHknLAogICAgICAgICAgICAncmV0dXJuJywKICAgICAgICAgICAgJ3ZvaWQnCiAgICAgICAgICAgIF07CiAgICAgICAgZm9yKHZhciBwIGluIHRva2VuQ29kZXMpIHsgICAgICAgCiAgICAgICAgICAgIGZvcih2YXIgcDEgaW4gYXJyKSB7ICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgaWYoYXJyW3AxXSA9PT0gcCkgewogICAgICAgICAgICAgICAgICAgIGlmKCF0b2tlbkNvZGVzLmhhc093blByb3BlcnR5KGFycltwMV0pKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgICAgICAgICB9OwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-3-5"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0zLTYiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS0zLTYuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgaW5kZXggYXNzaWdubWVudCx2ZXJpZmllZCB3aXRoIGhhc093blByb3BlcnR5OiBjb250aW51ZSwgZm9yLCBzd2l0Y2giLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0b2tlbkNvZGVzICA9IHt9OwogICAgICAgIHRva2VuQ29kZXNbJ2NvbnRpbnVlJ10gPSAwOwogICAgICAgIHRva2VuQ29kZXNbJ2ZvciddID0gMTsKICAgICAgICB0b2tlbkNvZGVzWydzd2l0Y2gnXSA9IDI7CiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ2NvbnRpbnVlJywKICAgICAgICAgICAgJ2ZvcicsCiAgICAgICAgICAgICdzd2l0Y2gnCiAgICAgICAgICAgIF07CiAgICAgICAgZm9yKHZhciBwIGluIHRva2VuQ29kZXMpIHsgICAgICAgCiAgICAgICAgICAgIGZvcih2YXIgcDEgaW4gYXJyKSB7ICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgaWYoYXJyW3AxXSA9PT0gcCkgewogICAgICAgICAgICAgICAgICAgIGlmKCF0b2tlbkNvZGVzLmhhc093blByb3BlcnR5KGFycltwMV0pKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgICAgICAgICB9OwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-3-6"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0zLTciLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS0zLTcuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgaW5kZXggYXNzaWdubWVudCx2ZXJpZmllZCB3aXRoIGhhc093blByb3BlcnR5OiB3aGlsZSwgZGVidWdnZXIsIGZ1bmN0aW9uIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgdG9rZW5Db2RlcyAgPSB7fTsKICAgICAgICB0b2tlbkNvZGVzWyd3aGlsZSddID0gMDsKICAgICAgICB0b2tlbkNvZGVzWydkZWJ1Z2dlciddID0gMTsKICAgICAgICB0b2tlbkNvZGVzWydmdW5jdGlvbiddID0gMjsgCiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ3doaWxlJywKICAgICAgICAgICAgJ2RlYnVnZ2VyJywKICAgICAgICAgICAgJ2Z1bmN0aW9uJwogICAgICAgICAgICBdOwogICAgICAgIGZvcih2YXIgcCBpbiB0b2tlbkNvZGVzKSB7ICAgICAgIAogICAgICAgICAgICBmb3IodmFyIHAxIGluIGFycikgeyAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgIGlmKGFycltwMV0gPT09IHApIHsKICAgICAgICAgICAgICAgICAgICBpZighdG9rZW5Db2Rlcy5oYXNPd25Qcm9wZXJ0eShhcnJbcDFdKSkgewogICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgICAgICAgICAgfTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6.1-3-7"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0zLTgiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS0zLTguanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgaW5kZXggYXNzaWdubWVudCx2ZXJpZmllZCB3aXRoIGhhc093blByb3BlcnR5OiB0aGlzLCB3aXRoLCBkZWZhdWx0IiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgdG9rZW5Db2RlcyAgPSB7fTsKICAgICAgICB0b2tlbkNvZGVzWyd0aGlzJ10gPSAwOwogICAgICAgIHRva2VuQ29kZXNbJ3dpdGgnXSA9IDE7CiAgICAgICAgdG9rZW5Db2Rlc1snZGVmYXVsdCddID0gMjsKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAndGhpcycsCiAgICAgICAgICAgICd3aXRoJywKICAgICAgICAgICAgJ2RlZmF1bHQnCiAgICAgICAgICAgIF07CiAgICAgICAgZm9yKHZhciBwIGluIHRva2VuQ29kZXMpIHsgICAgICAgCiAgICAgICAgICAgIGZvcih2YXIgcDEgaW4gYXJyKSB7ICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgaWYoYXJyW3AxXSA9PT0gcCkgewogICAgICAgICAgICAgICAgICAgIGlmKCF0b2tlbkNvZGVzLmhhc093blByb3BlcnR5KGFycltwMV0pKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgICAgICAgICB9OwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-3-8"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS0zLTkiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS0zLTkuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgaW5kZXggYXNzaWdubWVudCx2ZXJpZmllZCB3aXRoIGhhc093blByb3BlcnR5OiBpZiwgdGhyb3csIGRlbGV0ZSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0ge307CiAgICAgICAgdG9rZW5Db2Rlc1snaWYnXSA9IDA7CiAgICAgICAgdG9rZW5Db2Rlc1sndGhyb3cnXSA9IDE7CiAgICAgICAgdG9rZW5Db2Rlc1snZGVsZXRlJ10gPSAyOwogICAgICAgIHZhciBhcnIgPSBbCiAgICAgICAgICAgICdpZicsCiAgICAgICAgICAgICd0aHJvdycsCiAgICAgICAgICAgICdkZWxldGUnCiAgICAgICAgICAgIF07CiAgICAgICAgZm9yKHZhciBwIGluIHRva2VuQ29kZXMpIHsgICAgICAgCiAgICAgICAgICAgIGZvcih2YXIgcDEgaW4gYXJyKSB7ICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgaWYoYXJyW3AxXSA9PT0gcCkgewogICAgICAgICAgICAgICAgICAgIGlmKCF0b2tlbkNvZGVzLmhhc093blByb3BlcnR5KGFycltwMV0pKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgICAgICAgICB9OwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-3-9"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS00LTEiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS00LTEuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgc2V0IGZ1bmN0aW9uIHdpdGhpbiBhbiBvYmplY3QsIHZlcmlmaWVkIHdpdGggaGFzT3duUHJvcGVydHk6IG51bGwsIHRydWUsIGZhbHNlIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgdGVzdDAgPSAwLCB0ZXN0MSA9IDEsIHRlc3QyID0gMjsKICAgICAgICB2YXIgdG9rZW5Db2RlcyAgPSB7CiAgICAgICAgICAgIHNldCBudWxsKHZhbHVlKSB7CiAgICAgICAgICAgICAgICB0ZXN0MCA9IHZhbHVlOyAgICAgICAgCiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGdldCBudWxsKCkgewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QwOwogICAgICAgICAgICB9LAogICAgICAgICAgICBzZXQgdHJ1ZSh2YWx1ZSkgewogICAgICAgICAgICAgICAgdGVzdDEgPSB2YWx1ZTsgICAgICAgIAogICAgICAgICAgICB9LAogICAgICAgICAgICBnZXQgdHJ1ZSgpIHsKICAgICAgICAgICAgICAgIHJldHVybiB0ZXN0MTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgc2V0IGZhbHNlKHZhbHVlKSB7CiAgICAgICAgICAgICAgICB0ZXN0MiA9IHZhbHVlOyAgICAgICAgCiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGdldCBmYWxzZSgpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QyOwogICAgICAgICAgICB9CiAgICAgICAgfTsgICAgICAKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAnbnVsbCcsCiAgICAgICAgICAgICd0cnVlJywKICAgICAgICAgICAgJ2ZhbHNlJwogICAgICAgICAgICBdOwogICAgICAgIGZvcih2YXIgcCBpbiB0b2tlbkNvZGVzKSB7ICAgICAgIAogICAgICAgICAgICBmb3IodmFyIHAxIGluIGFycikgeyAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgIGlmKGFycltwMV0gPT09IHApIHsKICAgICAgICAgICAgICAgICAgICBpZighdG9rZW5Db2Rlcy5oYXNPd25Qcm9wZXJ0eShhcnJbcDFdKSkgewogICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgICAgICAgICAgfTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6.1-4-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS00LTEwIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtNC0xMC5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBzZXQgZnVuY3Rpb24gd2l0aGluIGFuIG9iamVjdCwgdmVyaWZpZWQgd2l0aCBoYXNPd25Qcm9wZXJ0eTogaW4sIHRyeSwgY2xhc3MiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0ZXN0MCA9IDAsIHRlc3QxID0gMSwgdGVzdDIgPSAyOwogICAgICAgIHZhciB0b2tlbkNvZGVzICA9IHsKICAgICAgICAgICAgc2V0IGluKHZhbHVlKXsKICAgICAgICAgICAgICAgIHRlc3QwID0gdmFsdWU7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGdldCBpbigpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QwOwogICAgICAgICAgICB9LAogICAgICAgICAgICBzZXQgdHJ5KHZhbHVlKXsKICAgICAgICAgICAgICAgIHRlc3QxID0gdmFsdWU7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGdldCB0cnkoKXsKICAgICAgICAgICAgICAgIHJldHVybiB0ZXN0MQogICAgICAgICAgICB9LAogICAgICAgICAgICBzZXQgY2xhc3ModmFsdWUpewogICAgICAgICAgICAgICAgdGVzdDIgPSB2YWx1ZTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZ2V0IGNsYXNzKCl7CiAgICAgICAgICAgICAgICByZXR1cm4gdGVzdDI7CiAgICAgICAgICAgIH0KICAgICAgICB9OyAgICAgIAogICAgICAgIHZhciBhcnIgPSBbCiAgICAgICAgICAgICdpbicsIAogICAgICAgICAgICAndHJ5JywKICAgICAgICAgICAgJ2NsYXNzJwogICAgICAgICAgICBdOwogICAgICAgIGZvcih2YXIgcCBpbiB0b2tlbkNvZGVzKSB7ICAgICAgIAogICAgICAgICAgICBmb3IodmFyIHAxIGluIGFycikgeyAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgIGlmKGFycltwMV0gPT09IHApIHsKICAgICAgICAgICAgICAgICAgICBpZighdG9rZW5Db2Rlcy5oYXNPd25Qcm9wZXJ0eShhcnJbcDFdKSkgewogICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgICAgICAgICAgfTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6.1-4-10"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS00LTExIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtNC0xMS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBzZXQgZnVuY3Rpb24gd2l0aGluIGFuIG9iamVjdCwgdmVyaWZpZWQgd2l0aCBoYXNPd25Qcm9wZXJ0eTogZW51bSwgZXh0ZW5kcywgc3VwZXIiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0ZXN0MCA9IDAsIHRlc3QxID0gMSwgdGVzdDIgPSAyOwogICAgICAgIHZhciB0b2tlbkNvZGVzICA9IHsKICAgICAgICAgICAgc2V0IGVudW0odmFsdWUpewogICAgICAgICAgICAgICAgdGVzdDAgPSB2YWx1ZTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZ2V0IGVudW0oKXsKICAgICAgICAgICAgICAgIHJldHVybiB0ZXN0MDsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgc2V0IGV4dGVuZHModmFsdWUpewogICAgICAgICAgICAgICAgdGVzdDEgPSB2YWx1ZTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZ2V0IGV4dGVuZHMoKXsKICAgICAgICAgICAgICAgIHJldHVybiB0ZXN0MTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgc2V0IHN1cGVyKHZhbHVlKXsKICAgICAgICAgICAgICAgIHRlc3QyID0gdmFsdWU7CiAgICAgICAgICAgIH0sIAogICAgICAgICAgICBnZXQgc3VwZXIoKXsKICAgICAgICAgICAgICAgIHJldHVybiB0ZXN0MjsKICAgICAgICAgICAgfQogICAgICAgIH07ICAgICAgCiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ2VudW0nLAogICAgICAgICAgICAnZXh0ZW5kcycsCiAgICAgICAgICAgICdzdXBlcicKICAgICAgICAgICAgXTsKICAgICAgICBmb3IodmFyIHAgaW4gdG9rZW5Db2RlcykgeyAgICAgICAKICAgICAgICAgICAgZm9yKHZhciBwMSBpbiBhcnIpIHsgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICBpZihhcnJbcDFdID09PSBwKSB7CiAgICAgICAgICAgICAgICAgICAgaWYoIXRva2VuQ29kZXMuaGFzT3duUHJvcGVydHkoYXJyW3AxXSkpIHsKICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICAgICAgICAgIH07CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-4-11"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS00LTEyIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtNC0xMi5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBzZXQgZnVuY3Rpb24gd2l0aGluIGFuIG9iamVjdCwgdmVyaWZpZWQgd2l0aCBoYXNPd25Qcm9wZXJ0eTogY29uc3QsIGV4cG9ydCwgaW1wb3J0IiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgdGVzdDAgPSAwLCB0ZXN0MSA9IDEsIHRlc3QyID0gMjsKICAgICAgICB2YXIgdG9rZW5Db2RlcyAgPSB7CiAgICAgICAgICAgIHNldCBjb25zdCh2YWx1ZSl7CiAgICAgICAgICAgICAgICB0ZXN0MCA9IHZhbHVlOwogICAgICAgICAgICB9LAogICAgICAgICAgICBnZXQgY29uc3QoKXsKICAgICAgICAgICAgICAgIHJldHVybiB0ZXN0MDsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgc2V0IGV4cG9ydCh2YWx1ZSl7CiAgICAgICAgICAgICAgICB0ZXN0MSA9IHZhbHVlOwogICAgICAgICAgICB9LAogICAgICAgICAgICBnZXQgZXhwb3J0KCl7CiAgICAgICAgICAgICAgICByZXR1cm4gdGVzdDEKICAgICAgICAgICAgfSwKICAgICAgICAgICAgc2V0IGltcG9ydCh2YWx1ZSl7CiAgICAgICAgICAgICAgICB0ZXN0MiA9IHZhbHVlOwogICAgICAgICAgICB9LAogICAgICAgICAgICBnZXQgaW1wb3J0KCl7CiAgICAgICAgICAgICAgICByZXR1cm4gdGVzdDIKICAgICAgICAgICAgfQogICAgICAgIH07ICAgICAgCiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ2NvbnN0JywKICAgICAgICAgICAgJ2V4cG9ydCcsCiAgICAgICAgICAgICdpbXBvcnQnCiAgICAgICAgICAgIF07CiAgICAgICAgZm9yKHZhciBwIGluIHRva2VuQ29kZXMpIHsgICAgICAgCiAgICAgICAgICAgIGZvcih2YXIgcDEgaW4gYXJyKSB7ICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgaWYoYXJyW3AxXSA9PT0gcCkgewogICAgICAgICAgICAgICAgICAgIGlmKCF0b2tlbkNvZGVzLmhhc093blByb3BlcnR5KGFycltwMV0pKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgICAgICAgICB9OwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-4-12"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS00LTEzIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtNC0xMy5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBzZXQgZnVuY3Rpb24gd2l0aGluIGFuIG9iamVjdCwgdmVyaWZpZWQgd2l0aCBoYXNPd25Qcm9wZXJ0eTogaW1wbGVtZW50cywgbGV0LCBwcml2YXRlIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgdGVzdDAgPSAwLCB0ZXN0MSA9IDEsIHRlc3QyID0gMjsKICAgICAgICB2YXIgdG9rZW5Db2RlcyAgPSB7CiAgICAgICAgICAgIHNldCBpbXBsZW1lbnRzKHZhbHVlKXsKICAgICAgICAgICAgICAgIHRlc3QwID0gdmFsdWU7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGdldCBpbXBsZW1lbnRzKCl7CiAgICAgICAgICAgICAgICByZXR1cm4gdGVzdDA7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIHNldCBsZXQodmFsdWUpewogICAgICAgICAgICAgICAgdGVzdDEgPSB2YWx1ZTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZ2V0IGxldCgpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QxCiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIHNldCBwcml2YXRlKHZhbHVlKXsKICAgICAgICAgICAgICAgIHRlc3QyID0gdmFsdWU7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGdldCBwcml2YXRlKCl7CiAgICAgICAgICAgICAgICByZXR1cm4gdGVzdDI7CiAgICAgICAgICAgIH0KICAgICAgICB9OyAgICAgIAogICAgICAgIHZhciBhcnIgPSBbCiAgICAgICAgICAgICdpbXBsZW1lbnRzJywKICAgICAgICAgICAgJ2xldCcsCiAgICAgICAgICAgICdwcml2YXRlJwogICAgICAgICAgICBdOwogICAgICAgIGZvcih2YXIgcCBpbiB0b2tlbkNvZGVzKSB7ICAgICAgIAogICAgICAgICAgICBmb3IodmFyIHAxIGluIGFycikgeyAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgIGlmKGFycltwMV0gPT09IHApIHsKICAgICAgICAgICAgICAgICAgICBpZighdG9rZW5Db2Rlcy5oYXNPd25Qcm9wZXJ0eShhcnJbcDFdKSkgewogICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgICAgICAgICAgfTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6.1-4-13"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS00LTE0IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtNC0xNC5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBzZXQgZnVuY3Rpb24gd2l0aGluIGFuIG9iamVjdCwgdmVyaWZpZWQgd2l0aCBoYXNPd25Qcm9wZXJ0eTogcHVibGljLCB5aWVsZCwgaW50ZXJmYWNlIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgdGVzdDAgPSAwLCB0ZXN0MSA9IDEsIHRlc3QyID0gMjsKICAgICAgICB2YXIgdG9rZW5Db2RlcyAgPSB7CiAgICAgICAgICAgIHNldCBwdWJsaWModmFsdWUpewogICAgICAgICAgICAgICAgdGVzdDAgPSB2YWx1ZTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZ2V0IHB1YmxpYygpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QwOwogICAgICAgICAgICB9LAogICAgICAgICAgICBzZXQgeWllbGQodmFsdWUpewogICAgICAgICAgICAgICAgdGVzdDEgPSB2YWx1ZTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZ2V0IHlpZWxkKCl7CiAgICAgICAgICAgICAgICByZXR1cm4gdGVzdDE7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIHNldCBpbnRlcmZhY2UodmFsdWUpewogICAgICAgICAgICAgICAgdGVzdDIgPSB2YWx1ZTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZ2V0IGludGVyZmFjZSgpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QyOwogICAgICAgICAgICB9CiAgICAgICAgfTsgICAgICAKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAncHVibGljJywKICAgICAgICAgICAgJ3lpZWxkJywKICAgICAgICAgICAgJ2ludGVyZmFjZScKICAgICAgICAgICAgXTsKICAgICAgICBmb3IodmFyIHAgaW4gdG9rZW5Db2RlcykgeyAgICAgICAKICAgICAgICAgICAgZm9yKHZhciBwMSBpbiBhcnIpIHsgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICBpZihhcnJbcDFdID09PSBwKSB7CiAgICAgICAgICAgICAgICAgICAgaWYoIXRva2VuQ29kZXMuaGFzT3duUHJvcGVydHkoYXJyW3AxXSkpIHsKICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICAgICAgICAgIH07CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-4-14"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS00LTE1IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtNC0xNS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBzZXQgZnVuY3Rpb24gd2l0aGluIGFuIG9iamVjdCwgdmVyaWZpZWQgd2l0aCBoYXNPd25Qcm9wZXJ0eTogcGFja2FnZSwgcHJvdGVjdGVkLCBzdGF0aWMiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0ZXN0MCA9IDAsIHRlc3QxID0gMSwgdGVzdDIgPSAyOwogICAgICAgIHZhciB0b2tlbkNvZGVzICA9IHsKICAgICAgICAgICAgc2V0IHBhY2thZ2UodmFsdWUpewogICAgICAgICAgICAgICAgdGVzdDAgPSB2YWx1ZTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZ2V0IHBhY2thZ2UoKXsKICAgICAgICAgICAgICAgIHJldHVybiB0ZXN0MDsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgc2V0IHByb3RlY3RlZCh2YWx1ZSl7CiAgICAgICAgICAgICAgICB0ZXN0MSA9IHZhbHVlOwogICAgICAgICAgICB9LAogICAgICAgICAgICBnZXQgcHJvdGVjdGVkKCl7CiAgICAgICAgICAgICAgICByZXR1cm4gdGVzdDEKICAgICAgICAgICAgfSwKICAgICAgICAgICAgc2V0IHN0YXRpYyh2YWx1ZSl7CiAgICAgICAgICAgICAgICB0ZXN0MiA9IHZhbHVlOwogICAgICAgICAgICB9LAogICAgICAgICAgICBnZXQgc3RhdGljKCl7CiAgICAgICAgICAgICAgICByZXR1cm4gdGVzdDI7CiAgICAgICAgICAgIH0KICAgICAgICB9OyAgICAgIAogICAgICAgIHZhciBhcnIgPSBbCiAgICAgICAgICAgICdwYWNrYWdlJywKICAgICAgICAgICAgJ3Byb3RlY3RlZCcsCiAgICAgICAgICAgICdzdGF0aWMnICAKICAgICAgICAgICAgXTsKICAgICAgICBmb3IodmFyIHAgaW4gdG9rZW5Db2RlcykgeyAgICAgICAKICAgICAgICAgICAgZm9yKHZhciBwMSBpbiBhcnIpIHsgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICBpZihhcnJbcDFdID09PSBwKSB7CiAgICAgICAgICAgICAgICAgICAgaWYoIXRva2VuQ29kZXMuaGFzT3duUHJvcGVydHkoYXJyW3AxXSkpIHsKICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICAgICAgICAgIH07CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-4-15"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS00LTE2IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtNC0xNi5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBzZXQgZnVuY3Rpb24gd2l0aGluIGFuIG9iamVjdCwgdmVyaWZpZWQgd2l0aCBoYXNPd25Qcm9wZXJ0eTogdW5kZWZpbmVkLCBOYU4sIEluZmluaXR5IiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgdGVzdDAgPSAwLCB0ZXN0MSA9IDEsIHRlc3QyID0gMjsKICAgICAgICB2YXIgdG9rZW5Db2RlcyAgPSB7CiAgICAgICAgICAgIHNldCB1bmRlZmluZWQodmFsdWUpewogICAgICAgICAgICAgICAgdGVzdDAgPSB2YWx1ZTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZ2V0IHVuZGVmaW5lZCgpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QwOwogICAgICAgICAgICB9LAogICAgICAgICAgICBzZXQgTmFOKHZhbHVlKXsKICAgICAgICAgICAgICAgIHRlc3QxID0gdmFsdWU7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGdldCBOYU4oKXsKICAgICAgICAgICAgICAgIHJldHVybiB0ZXN0MTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgc2V0IEluZmluaXR5KHZhbHVlKXsKICAgICAgICAgICAgICAgIHRlc3QyID0gdmFsdWU7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGdldCBJbmZpbml0eSgpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QyOwogICAgICAgICAgICB9CiAgICAgICAgfTsgICAgICAKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAndW5kZWZpbmVkJywKICAgICAgICAgICAgJ05hTicsCiAgICAgICAgICAgICdJbmZpbml0eScKICAgICAgICAgICAgXTsKICAgICAgICBmb3IodmFyIHAgaW4gdG9rZW5Db2RlcykgeyAgICAgICAKICAgICAgICAgICAgZm9yKHZhciBwMSBpbiBhcnIpIHsgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICBpZihhcnJbcDFdID09PSBwKSB7CiAgICAgICAgICAgICAgICAgICAgaWYoIXRva2VuQ29kZXMuaGFzT3duUHJvcGVydHkoYXJyW3AxXSkpIHsKICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICAgICAgICAgIH07CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-4-16"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS00LTIiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS00LTIuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgc2V0IGZ1bmN0aW9uIHdpdGhpbiBhbiBvYmplY3QsIHZlcmlmaWVkIHdpdGggaGFzT3duUHJvcGVydHk6IGJyZWFrLCBjYXNlLCBkbyIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRlc3QwID0gMCwgdGVzdDEgPSAxLCB0ZXN0MiA9IDI7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0gewogICAgICAgICAgICBzZXQgYnJlYWsodmFsdWUpewogICAgICAgICAgICAgICAgdGVzdDAgPSB2YWx1ZTsgICAgICAgIAogICAgICAgICAgICB9LAogICAgICAgICAgICBnZXQgYnJlYWsoKXsKICAgICAgICAgICAgICAgIHJldHVybiB0ZXN0MDsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgc2V0IGNhc2UodmFsdWUpewogICAgICAgICAgICAgICAgdGVzdDEgPSB2YWx1ZTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZ2V0IGNhc2UoKXsKICAgICAgICAgICAgICAgIHJldHVybiB0ZXN0MTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgc2V0IGRvKHZhbHVlKXsKICAgICAgICAgICAgICAgIHRlc3QyID0gdmFsdWU7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGdldCBkbygpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QyOwogICAgICAgICAgICB9CiAgICAgICAgfTsgICAgICAKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAnYnJlYWsnLAogICAgICAgICAgICAnY2FzZScsCiAgICAgICAgICAgICdkbycKICAgICAgICAgICAgXTsKICAgICAgICBmb3IodmFyIHAgaW4gdG9rZW5Db2RlcykgeyAgICAgICAKICAgICAgICAgICAgZm9yKHZhciBwMSBpbiBhcnIpIHsgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICBpZihhcnJbcDFdID09PSBwKSB7CiAgICAgICAgICAgICAgICAgICAgaWYoIXRva2VuQ29kZXMuaGFzT3duUHJvcGVydHkoYXJyW3AxXSkpIHsKICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICAgICAgICAgIH07CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-4-2"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS00LTMiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS00LTMuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgc2V0IGZ1bmN0aW9uIHdpdGhpbiBhbiBvYmplY3QsIHZlcmlmaWVkIHdpdGggaGFzT3duUHJvcGVydHk6IGluc3RhbmNlb2YsIHR5cGVvZiwgZWxzZSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRlc3QwID0gMCwgdGVzdDEgPSAxLCB0ZXN0MiA9IDI7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0gewogICAgICAgICAgICBzZXQgaW5zdGFuY2VvZih2YWx1ZSl7CiAgICAgICAgICAgICAgICB0ZXN0MCA9IHZhbHVlOwogICAgICAgICAgICB9LAogICAgICAgICAgICBnZXQgaW5zdGFuY2VvZigpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QwOwogICAgICAgICAgICB9LAogICAgICAgICAgICBzZXQgdHlwZW9mKHZhbHVlKXsKICAgICAgICAgICAgICAgIHRlc3QxID0gdmFsdWU7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGdldCB0eXBlb2YoKXsKICAgICAgICAgICAgICAgIHJldHVybiB0ZXN0MTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgc2V0IGVsc2UodmFsdWUpewogICAgICAgICAgICAgICAgdGVzdDIgPSB2YWx1ZTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZ2V0IGVsc2UoKXsKICAgICAgICAgICAgICAgIHJldHVybiB0ZXN0MjsKICAgICAgICAgICAgfQogICAgICAgIH07ICAgICAgCiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ2luc3RhbmNlb2YnLAogICAgICAgICAgICAndHlwZW9mJywKICAgICAgICAgICAgJ2Vsc2UnCiAgICAgICAgICAgIF07CiAgICAgICAgZm9yKHZhciBwIGluIHRva2VuQ29kZXMpIHsgICAgICAgCiAgICAgICAgICAgIGZvcih2YXIgcDEgaW4gYXJyKSB7ICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgaWYoYXJyW3AxXSA9PT0gcCkgewogICAgICAgICAgICAgICAgICAgIGlmKCF0b2tlbkNvZGVzLmhhc093blByb3BlcnR5KGFycltwMV0pKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgICAgICAgICB9OwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-4-3"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS00LTQiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS00LTQuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgc2V0IGZ1bmN0aW9uIHdpdGhpbiBhbiBvYmplY3QsIHZlcmlmaWVkIHdpdGggaGFzT3duUHJvcGVydHk6IG5ldywgdmFyLCBjYXRjaCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRlc3QwID0gMCwgdGVzdDEgPSAxLCB0ZXN0MiA9IDI7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0gewogICAgICAgICAgICBzZXQgbmV3KHZhbHVlKXsKICAgICAgICAgICAgICAgIHRlc3QwID0gdmFsdWU7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGdldCBuZXcoKXsKICAgICAgICAgICAgICAgIHJldHVybiB0ZXN0MDsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgc2V0IHZhcih2YWx1ZSl7CiAgICAgICAgICAgICAgICB0ZXN0MSA9IHZhbHVlOwogICAgICAgICAgICB9LAogICAgICAgICAgICBnZXQgdmFyKCl7CiAgICAgICAgICAgICAgICByZXR1cm4gdGVzdDE7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIHNldCBjYXRjaCh2YWx1ZSl7CiAgICAgICAgICAgICAgICB0ZXN0MiA9IHZhbHVlOwogICAgICAgICAgICB9LAogICAgICAgICAgICBnZXQgY2F0Y2goKXsKICAgICAgICAgICAgICAgIHJldHVybiB0ZXN0MjsKICAgICAgICAgICAgfQogICAgICAgIH07ICAgICAgCiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ25ldycsIAogICAgICAgICAgICAndmFyJywgCiAgICAgICAgICAgICdjYXRjaCcKICAgICAgICAgICAgXTsKICAgICAgICBmb3IodmFyIHAgaW4gdG9rZW5Db2RlcykgeyAgICAgICAKICAgICAgICAgICAgZm9yKHZhciBwMSBpbiBhcnIpIHsgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICBpZihhcnJbcDFdID09PSBwKSB7CiAgICAgICAgICAgICAgICAgICAgaWYoIXRva2VuQ29kZXMuaGFzT3duUHJvcGVydHkoYXJyW3AxXSkpIHsKICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICAgICAgICAgIH07CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-4-4"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS00LTUiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS00LTUuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgc2V0IGZ1bmN0aW9uIHdpdGhpbiBhbiBvYmplY3QsIHZlcmlmaWVkIHdpdGggaGFzT3duUHJvcGVydHk6IGZpbmFsbHksIHJldHVybiwgdm9pZCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRlc3QwID0gMCwgdGVzdDEgPSAxLCB0ZXN0MiA9IDI7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0gewogICAgICAgICAgICBzZXQgZmluYWxseSh2YWx1ZSl7CiAgICAgICAgICAgICAgICB0ZXN0MCA9IHZhbHVlOwogICAgICAgICAgICB9LAogICAgICAgICAgICBnZXQgZmluYWxseSgpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QwOwogICAgICAgICAgICB9LAogICAgICAgICAgICBzZXQgcmV0dXJuKHZhbHVlKXsKICAgICAgICAgICAgICAgIHRlc3QxID0gdmFsdWU7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGdldCByZXR1cm4oKXsKICAgICAgICAgICAgICAgIHJldHVybiB0ZXN0MTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgc2V0IHZvaWQodmFsdWUpewogICAgICAgICAgICAgICAgdGVzdDIgPSB2YWx1ZTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZ2V0IHZvaWQoKXsKICAgICAgICAgICAgICAgIHJldHVybiB0ZXN0MjsKICAgICAgICAgICAgfQogICAgICAgIH07ICAgICAgCiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ2ZpbmFsbHknLCAKICAgICAgICAgICAgJ3JldHVybicsIAogICAgICAgICAgICAndm9pZCcKICAgICAgICAgICAgXTsKICAgICAgICBmb3IodmFyIHAgaW4gdG9rZW5Db2RlcykgeyAgICAgICAKICAgICAgICAgICAgZm9yKHZhciBwMSBpbiBhcnIpIHsgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICBpZihhcnJbcDFdID09PSBwKSB7CiAgICAgICAgICAgICAgICAgICAgaWYoIXRva2VuQ29kZXMuaGFzT3duUHJvcGVydHkoYXJyW3AxXSkpIHsKICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICAgICAgICAgIH07CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-4-5"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS00LTYiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS00LTYuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgc2V0IGZ1bmN0aW9uIHdpdGhpbiBhbiBvYmplY3QsIHZlcmlmaWVkIHdpdGggaGFzT3duUHJvcGVydHk6IGNvbnRpbnVlLCBmb3IsIHN3aXRjaCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRlc3QwID0gMCwgdGVzdDEgPSAxLCB0ZXN0MiA9IDI7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0gewogICAgICAgICAgICBzZXQgY29udGludWUodmFsdWUpewogICAgICAgICAgICAgICAgdGVzdDAgPSB2YWx1ZTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZ2V0IGNvbnRpbnVlKCl7CiAgICAgICAgICAgICAgICByZXR1cm4gdGVzdDA7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIHNldCBmb3IodmFsdWUpewogICAgICAgICAgICAgICAgdGVzdDEgPSB2YWx1ZTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZ2V0IGZvcigpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QxOwogICAgICAgICAgICB9LAogICAgICAgICAgICBzZXQgc3dpdGNoKHZhbHVlKXsKICAgICAgICAgICAgICAgIHRlc3QyID0gdmFsdWU7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGdldCBzd2l0Y2goKXsKICAgICAgICAgICAgICAgIHJldHVybiB0ZXN0MjsKICAgICAgICAgICAgfQogICAgICAgIH07ICAgICAgCiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ2NvbnRpbnVlJywgCiAgICAgICAgICAgICdmb3InLAogICAgICAgICAgICAnc3dpdGNoJwogICAgICAgICAgICBdOwogICAgICAgIGZvcih2YXIgcCBpbiB0b2tlbkNvZGVzKSB7ICAgICAgIAogICAgICAgICAgICBmb3IodmFyIHAxIGluIGFycikgeyAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgIGlmKGFycltwMV0gPT09IHApIHsKICAgICAgICAgICAgICAgICAgICBpZighdG9rZW5Db2Rlcy5oYXNPd25Qcm9wZXJ0eShhcnJbcDFdKSkgewogICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgICAgICAgICAgfTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6.1-4-6"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS00LTciLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS00LTcuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgc2V0IGZ1bmN0aW9uIHdpdGhpbiBhbiBvYmplY3QsIHZlcmlmaWVkIHdpdGggaGFzT3duUHJvcGVydHk6IHdoaWxlLCBkZWJ1Z2dlciwgZnVuY3Rpb24iLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0ZXN0MCA9IDAsIHRlc3QxID0gMSwgdGVzdDIgPSAyOwogICAgICAgIHZhciB0b2tlbkNvZGVzICA9IHsKICAgICAgICAgICAgc2V0IHdoaWxlKHZhbHVlKXsKICAgICAgICAgICAgICAgIHRlc3QwID0gdmFsdWU7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGdldCB3aGlsZSgpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QwCiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIHNldCBkZWJ1Z2dlcih2YWx1ZSl7CiAgICAgICAgICAgICAgICB0ZXN0MSA9IHZhbHVlOwogICAgICAgICAgICB9LAogICAgICAgICAgICBnZXQgZGVidWdnZXIoKXsKICAgICAgICAgICAgICAgIHJldHVybiB0ZXN0MTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgc2V0IGZ1bmN0aW9uKHZhbHVlKXsKICAgICAgICAgICAgICAgIHRlc3QyID0gdmFsdWU7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGdldCBmdW5jdGlvbigpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QyOwogICAgICAgICAgICB9CiAgICAgICAgfTsgICAgICAKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAnd2hpbGUnICwKICAgICAgICAgICAgJ2RlYnVnZ2VyJywgCiAgICAgICAgICAgICdmdW5jdGlvbicKICAgICAgICAgICAgXTsKICAgICAgICBmb3IodmFyIHAgaW4gdG9rZW5Db2RlcykgeyAgICAgICAKICAgICAgICAgICAgZm9yKHZhciBwMSBpbiBhcnIpIHsgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICBpZihhcnJbcDFdID09PSBwKSB7CiAgICAgICAgICAgICAgICAgICAgaWYoIXRva2VuQ29kZXMuaGFzT3duUHJvcGVydHkoYXJyW3AxXSkpIHsKICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICAgICAgICAgIH07CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-4-7"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS00LTgiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS00LTguanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgc2V0IGZ1bmN0aW9uIHdpdGhpbiBhbiBvYmplY3QsIHZlcmlmaWVkIHdpdGggaGFzT3duUHJvcGVydHk6IHRoaXMsIHdpdGgsIGRlZmF1bHQiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0ZXN0MCA9IDAsIHRlc3QxID0gMSwgdGVzdDIgPSAyOwogICAgICAgIHZhciB0b2tlbkNvZGVzICA9IHsKICAgICAgICAgICAgc2V0IHRoaXModmFsdWUpewogICAgICAgICAgICAgICAgdGVzdDAgPSB2YWx1ZTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZ2V0IHRoaXMoKXsKICAgICAgICAgICAgICAgIHJldHVybiB0ZXN0MDsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgc2V0IHdpdGgodmFsdWUpewogICAgICAgICAgICAgICAgdGVzdDEgPSB2YWx1ZTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZ2V0IHdpdGgoKXsKICAgICAgICAgICAgICAgIHJldHVybiB0ZXN0MTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgc2V0IGRlZmF1bHQodmFsdWUpewogICAgICAgICAgICAgICAgdGVzdDIgPSB2YWx1ZTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZ2V0IGRlZmF1bHQoKXsKICAgICAgICAgICAgICAgIHJldHVybiB0ZXN0MjsKICAgICAgICAgICAgfQogICAgICAgIH07ICAgICAgCiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ3RoaXMnLCAKICAgICAgICAgICAgJ3dpdGgnLCAKICAgICAgICAgICAgJ2RlZmF1bHQnCiAgICAgICAgICAgIF07CiAgICAgICAgZm9yKHZhciBwIGluIHRva2VuQ29kZXMpIHsgICAgICAgCiAgICAgICAgICAgIGZvcih2YXIgcDEgaW4gYXJyKSB7ICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgaWYoYXJyW3AxXSA9PT0gcCkgewogICAgICAgICAgICAgICAgICAgIGlmKCF0b2tlbkNvZGVzLmhhc093blByb3BlcnR5KGFycltwMV0pKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgICAgICAgICB9OwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-4-8"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS00LTkiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS00LTkuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgc2V0IGZ1bmN0aW9uIHdpdGhpbiBhbiBvYmplY3QsIHZlcmlmaWVkIHdpdGggaGFzT3duUHJvcGVydHk6IGlmLCB0aHJvdywgZGVsZXRlIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgdGVzdDAgPSAwLCB0ZXN0MSA9IDEsIHRlc3QyID0gMjsKICAgICAgICB2YXIgdG9rZW5Db2RlcyAgPSB7CiAgICAgICAgICAgIHNldCBpZih2YWx1ZSl7CiAgICAgICAgICAgICAgICB0ZXN0MCA9IHZhbHVlOwogICAgICAgICAgICB9LAogICAgICAgICAgICBnZXQgaWYoKXsKICAgICAgICAgICAgICAgIHJldHVybiB0ZXN0MDsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgc2V0IHRocm93KHZhbHVlKXsKICAgICAgICAgICAgICAgIHRlc3QxID0gdmFsdWU7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGdldCB0aHJvdygpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QxCiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIHNldCBkZWxldGUodmFsdWUpewogICAgICAgICAgICAgICAgdGVzdDIgPSB2YWx1ZTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZ2V0IGRlbGV0ZSgpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QyOwogICAgICAgICAgICB9CiAgICAgICAgfTsgICAgICAKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAnaWYnLCAKICAgICAgICAgICAgJ3Rocm93JywgCiAgICAgICAgICAgICdkZWxldGUnCiAgICAgICAgICAgIF07CiAgICAgICAgZm9yKHZhciBwIGluIHRva2VuQ29kZXMpIHsgICAgICAgCiAgICAgICAgICAgIGZvcih2YXIgcDEgaW4gYXJyKSB7ICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgaWYoYXJyW3AxXSA9PT0gcCkgewogICAgICAgICAgICAgICAgICAgIGlmKCF0b2tlbkNvZGVzLmhhc093blByb3BlcnR5KGFycltwMV0pKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgICAgICAgICB9OwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-4-9"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS01LTEiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS01LTEuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYXQgb2JqZWN0IGluaXRpYWxpemF0aW9uLCBhY2Nlc3NlZCB2aWEgaW5kZXhpbmc6IG51bGwsIHRydWUsIGZhbHNlIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgdG9rZW5Db2RlcyAgPSB7IAogICAgICAgICAgICBudWxsOiAwLAogICAgICAgICAgICB0cnVlOiAxLAogICAgICAgICAgICBmYWxzZTogMgogICAgICAgIH07CiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ251bGwnLAogICAgICAgICAgICAndHJ1ZScsCiAgICAgICAgICAgICdmYWxzZScKICAgICAgICBdOyAgCiAgICAgICAgZm9yICh2YXIgaSA9IDA7IGkgPCBhcnIubGVuZ3RoOyBpKyspIHsKICAgICAgICAgICAgaWYgKHRva2VuQ29kZXNbYXJyW2ldXSAhPT0gaSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICB9OwogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6.1-5-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS01LTEwIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtNS0xMC5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBhdCBvYmplY3QgaW5pdGlhbGl6YXRpb24sIGFjY2Vzc2VkIHZpYSBpbmRleGluZzogaW4sIHRyeSwgY2xhc3MiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0b2tlbkNvZGVzICA9IHsgCiAgICAgICAgICAgIGluOiAwLCAKICAgICAgICAgICAgdHJ5OiAxLAogICAgICAgICAgICBjbGFzczogMgogICAgICAgIH07CiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ2luJywgCiAgICAgICAgICAgICd0cnknLAogICAgICAgICAgICAnY2xhc3MnCiAgICAgICAgXTsKICAgICAgICBmb3IgKHZhciBpID0gMDsgaSA8IGFyci5sZW5ndGg7IGkrKykgewogICAgICAgICAgICBpZiAodG9rZW5Db2Rlc1thcnJbaV1dICE9PSBpKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgIH07CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-5-10"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS01LTExIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtNS0xMS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBhdCBvYmplY3QgaW5pdGlhbGl6YXRpb24sIGFjY2Vzc2VkIHZpYSBpbmRleGluZzogZW51bSwgZXh0ZW5kcywgc3VwZXIiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0b2tlbkNvZGVzID0gewogICAgICAgICAgICBlbnVtOiAwLAogICAgICAgICAgICBleHRlbmRzOiAxLAogICAgICAgICAgICBzdXBlcjogMgogICAgICAgIH07CiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ2VudW0nLAogICAgICAgICAgICAnZXh0ZW5kcycsCiAgICAgICAgICAgICdzdXBlcicKICAgICAgICBdOyAgCiAgICAgICAgZm9yICh2YXIgaSA9IDA7IGkgPCBhcnIubGVuZ3RoOyBpKyspIHsKICAgICAgICAgICAgaWYgKHRva2VuQ29kZXNbYXJyW2ldXSAhPT0gaSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICB9OwogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6.1-5-11"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS01LTEyIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtNS0xMi5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBhdCBvYmplY3QgaW5pdGlhbGl6YXRpb24sIGFjY2Vzc2VkIHZpYSBpbmRleGluZzogY29uc3QsIGV4cG9ydCwgaW1wb3J0IiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgdG9rZW5Db2RlcyA9IHsKICAgICAgICAgICAgY29uc3QgOiAwLAogICAgICAgICAgICBleHBvcnQ6IDEsCiAgICAgICAgICAgIGltcG9ydDogMgogICAgICAgIH07CiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ2NvbnN0JywKICAgICAgICAgICAgJ2V4cG9ydCcsCiAgICAgICAgICAgICdpbXBvcnQnCiAgICAgICAgXTsgCiAgICAgICAgZm9yICh2YXIgaSA9IDA7IGkgPCBhcnIubGVuZ3RoOyBpKyspIHsKICAgICAgICAgICAgaWYgKHRva2VuQ29kZXNbYXJyW2ldXSAhPT0gaSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICB9OwogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6.1-5-12"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS01LTEzIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtNS0xMy5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBhdCBvYmplY3QgaW5pdGlhbGl6YXRpb24sIGFjY2Vzc2VkIHZpYSBpbmRleGluZzogaW1wbGVtZW50cywgbGV0LCBwcml2YXRlIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgdG9rZW5Db2RlcyA9IHsKICAgICAgICAgICAgaW1wbGVtZW50czogMCwKICAgICAgICAgICAgbGV0OiAxLAogICAgICAgICAgICBwcml2YXRlOiAyCiAgICAgICAgfTsKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAnaW1wbGVtZW50cycsCiAgICAgICAgICAgICdsZXQnLAogICAgICAgICAgICAncHJpdmF0ZScKICAgICAgICBdOyAgIAogICAgICAgIGZvciAodmFyIGkgPSAwOyBpIDwgYXJyLmxlbmd0aDsgaSsrKSB7CiAgICAgICAgICAgIGlmICh0b2tlbkNvZGVzW2FycltpXV0gIT09IGkpIHsKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfTsKICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-5-13"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS01LTE0IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtNS0xNC5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBhdCBvYmplY3QgaW5pdGlhbGl6YXRpb24sIGFjY2Vzc2VkIHZpYSBpbmRleGluZzogcHVibGljLCB5aWVsZCwgaW50ZXJmYWNlIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgdG9rZW5Db2RlcyA9IHsKICAgICAgICAgICAgcHVibGljOiAwLAogICAgICAgICAgICB5aWVsZDogMSwKICAgICAgICAgICAgaW50ZXJmYWNlOiAyCiAgICAgICAgfTsKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAncHVibGljJywKICAgICAgICAgICAgJ3lpZWxkJywKICAgICAgICAgICAgJ2ludGVyZmFjZScKICAgICAgICBdOyAKICAgICAgICBmb3IgKHZhciBpID0gMDsgaSA8IGFyci5sZW5ndGg7IGkrKykgewogICAgICAgICAgICBpZiAodG9rZW5Db2Rlc1thcnJbaV1dICE9PSBpKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgIH07CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-5-14"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS01LTE1IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtNS0xNS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBhdCBvYmplY3QgaW5pdGlhbGl6YXRpb24sIGFjY2Vzc2VkIHZpYSBpbmRleGluZzogcGFja2FnZSwgcHJvdGVjdGVkLCBzdGF0aWMiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0b2tlbkNvZGVzID0gewogICAgICAgICAgICBwYWNrYWdlOiAwLAogICAgICAgICAgICBwcm90ZWN0ZWQ6IDEsCiAgICAgICAgICAgIHN0YXRpYzogMgogICAgICAgIH07CiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ3BhY2thZ2UnLAogICAgICAgICAgICAncHJvdGVjdGVkJywKICAgICAgICAgICAgJ3N0YXRpYycKICAgICAgICBdOyAgCiAgICAgICAgZm9yICh2YXIgaSA9IDA7IGkgPCBhcnIubGVuZ3RoOyBpKyspIHsKICAgICAgICAgICAgaWYgKHRva2VuQ29kZXNbYXJyW2ldXSAhPT0gaSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICB9OwogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6.1-5-15"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS01LTE2IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtNS0xNi5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBhdCBvYmplY3QgaW5pdGlhbGl6YXRpb24sIGFjY2Vzc2VkIHZpYSBpbmRleGluZzogdW5kZWZpbmVkLCBOYU4sIEluZmluaXR5IiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgdG9rZW5Db2RlcyA9IHsKICAgICAgICAgICAgdW5kZWZpbmVkOiAwLAogICAgICAgICAgICBOYU46IDEsCiAgICAgICAgICAgIEluZmluaXR5OiAyCiAgICAgICAgfTsKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAndW5kZWZpbmVkJywKICAgICAgICAgICAgJ05hTicsCiAgICAgICAgICAgICdJbmZpbml0eScKICAgICAgICBdOyAKICAgICAgICBmb3IgKHZhciBpID0gMDsgaSA8IGFyci5sZW5ndGg7IGkrKykgewogICAgICAgICAgICBpZiAodG9rZW5Db2Rlc1thcnJbaV1dICE9PSBpKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgIH07CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-5-16"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS01LTIiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS01LTIuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYXQgb2JqZWN0IGluaXRpYWxpemF0aW9uLCBhY2Nlc3NlZCB2aWEgaW5kZXhpbmc6IGJyZWFrLCBjYXNlLCBkbyIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0geyAKICAgICAgICAgICAgYnJlYWs6IDAsCiAgICAgICAgICAgIGNhc2U6IDEsCiAgICAgICAgICAgIGRvOiAyCiAgICAgICAgfTsKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAnYnJlYWsnLAogICAgICAgICAgICAnY2FzZScsCiAgICAgICAgICAgICdkbycKICAgICAgICBdOwogICAgICAgIGZvciAodmFyIGkgPSAwOyBpIDwgYXJyLmxlbmd0aDsgaSsrKSB7CiAgICAgICAgICAgIGlmICh0b2tlbkNvZGVzW2FycltpXV0gIT09IGkpIHsKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfTsKICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-5-2"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS01LTMiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS01LTMuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYXQgb2JqZWN0IGluaXRpYWxpemF0aW9uLCBhY2Nlc3NlZCB2aWEgaW5kZXhpbmc6IGluc3RhbmNlb2YsIHR5cGVvZiwgZWxzZSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0geyAKICAgICAgICAgICAgaW5zdGFuY2VvZjogMCwKICAgICAgICAgICAgdHlwZW9mOiAxLAogICAgICAgICAgICBlbHNlOiAyCiAgICAgICAgfTsKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAnaW5zdGFuY2VvZicsCiAgICAgICAgICAgICd0eXBlb2YnLAogICAgICAgICAgICAnZWxzZScKICAgICAgICBdOwogICAgICAgIGZvciAodmFyIGkgPSAwOyBpIDwgYXJyLmxlbmd0aDsgaSsrKSB7CiAgICAgICAgICAgIGlmICh0b2tlbkNvZGVzW2FycltpXV0gIT09IGkpIHsKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfTsKICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-5-3"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS01LTQiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS01LTQuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYXQgb2JqZWN0IGluaXRpYWxpemF0aW9uLCBhY2Nlc3NlZCB2aWEgaW5kZXhpbmc6IG5ldywgdmFyLCBjYXRjaCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0geyAKICAgICAgICAgICAgbmV3OiAwLAogICAgICAgICAgICB2YXI6IDEsCiAgICAgICAgICAgIGNhdGNoOiAyCiAgICAgICAgfTsKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAnbmV3JywgCiAgICAgICAgICAgICd2YXInLCAKICAgICAgICAgICAgJ2NhdGNoJwogICAgICAgIF07IAogICAgICAgIGZvciAodmFyIGkgPSAwOyBpIDwgYXJyLmxlbmd0aDsgaSsrKSB7CiAgICAgICAgICAgIGlmICh0b2tlbkNvZGVzW2FycltpXV0gIT09IGkpIHsKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfTsKICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-5-4"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS01LTUiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS01LTUuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYXQgb2JqZWN0IGluaXRpYWxpemF0aW9uLCBhY2Nlc3NlZCB2aWEgaW5kZXhpbmc6IGZpbmFsbHksIHJldHVybiwgdm9pZCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0geyAKICAgICAgICAgICAgZmluYWxseTogMCwKICAgICAgICAgICAgcmV0dXJuOiAxLAogICAgICAgICAgICB2b2lkOiAyCiAgICAgICAgfTsKICAgICAgICB2YXIgYXJyID0gWyAKICAgICAgICAgICAgJ2ZpbmFsbHknLCAKICAgICAgICAgICAgJ3JldHVybicsIAogICAgICAgICAgICAndm9pZCcKICAgICAgICBdOyAgCiAgICAgICAgZm9yICh2YXIgaSA9IDA7IGkgPCBhcnIubGVuZ3RoOyBpKyspIHsKICAgICAgICAgICAgaWYgKHRva2VuQ29kZXNbYXJyW2ldXSAhPT0gaSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICB9OwogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6.1-5-5"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS01LTYiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS01LTYuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYXQgb2JqZWN0IGluaXRpYWxpemF0aW9uLCBhY2Nlc3NlZCB2aWEgaW5kZXhpbmc6IGNvbnRpbnVlLCBmb3IsIHN3aXRjaCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0geyAKICAgICAgICAgICAgY29udGludWU6IDAsIAogICAgICAgICAgICBmb3I6IDEsIAogICAgICAgICAgICBzd2l0Y2g6IDIKICAgICAgICB9OwogICAgICAgIHZhciBhcnIgPSBbCiAgICAgICAgICAgICdjb250aW51ZScsIAogICAgICAgICAgICAnZm9yJywKICAgICAgICAgICAgJ3N3aXRjaCcKICAgICAgICBdOyAgCiAgICAgICAgZm9yICh2YXIgaSA9IDA7IGkgPCBhcnIubGVuZ3RoOyBpKyspIHsKICAgICAgICAgICAgaWYgKHRva2VuQ29kZXNbYXJyW2ldXSAhPT0gaSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICB9OwogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6.1-5-6"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS01LTciLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS01LTcuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYXQgb2JqZWN0IGluaXRpYWxpemF0aW9uLCBhY2Nlc3NlZCB2aWEgaW5kZXhpbmc6IHdoaWxlLCBkZWJ1Z2dlciwgZnVuY3Rpb24iLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0b2tlbkNvZGVzICA9IHsgCiAgICAgICAgICAgIHdoaWxlOiAwLCAKICAgICAgICAgICAgZGVidWdnZXI6IDEsIAogICAgICAgICAgICBmdW5jdGlvbjogMgogICAgICAgIH07CiAgICAgICAgdmFyIGFyciA9IFsgCiAgICAgICAgICAgICd3aGlsZScgLAogICAgICAgICAgICAnZGVidWdnZXInLCAKICAgICAgICAgICAgJ2Z1bmN0aW9uJwogICAgICAgIF07ICAgIAogICAgICAgIGZvciAodmFyIGkgPSAwOyBpIDwgYXJyLmxlbmd0aDsgaSsrKSB7CiAgICAgICAgICAgIGlmICh0b2tlbkNvZGVzW2FycltpXV0gIT09IGkpIHsKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfTsKICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-5-7"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS01LTgiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS01LTguanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYXQgb2JqZWN0IGluaXRpYWxpemF0aW9uLCBhY2Nlc3NlZCB2aWEgaW5kZXhpbmc6IHRoaXMsIHdpdGgsIGRlZmF1bHQiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0b2tlbkNvZGVzICA9IHsgICAgICAgCiAgICAgICAgICAgIHRoaXM6IDAsICAKICAgICAgICAgICAgd2l0aDogMSwgCiAgICAgICAgICAgIGRlZmF1bHQ6IDIKICAgICAgICB9OwogICAgICAgIHZhciBhcnIgPSBbIAogICAgICAgICAgICAndGhpcycsIAogICAgICAgICAgICAnd2l0aCcsIAogICAgICAgICAgICAnZGVmYXVsdCcKICAgICAgICBdOyAKICAgICAgICBmb3IgKHZhciBpID0gMDsgaSA8IGFyci5sZW5ndGg7IGkrKykgewogICAgICAgICAgICBpZiAodG9rZW5Db2Rlc1thcnJbaV1dICE9PSBpKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgIH07CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-5-8"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS01LTkiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS01LTkuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYXQgb2JqZWN0IGluaXRpYWxpemF0aW9uLCBhY2Nlc3NlZCB2aWEgaW5kZXhpbmc6IGlmLCB0aHJvdywgZGVsZXRlIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgdG9rZW5Db2RlcyAgPSB7IAogICAgICAgICAgICBpZjogMCwgCiAgICAgICAgICAgIHRocm93OiAxLCAKICAgICAgICAgICAgZGVsZXRlOiAyCiAgICAgICAgfTsKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAnaWYnLCAKICAgICAgICAgICAgJ3Rocm93JywgCiAgICAgICAgICAgICdkZWxldGUnCiAgICAgICAgXTsgICAKICAgICAgICBmb3IgKHZhciBpID0gMDsgaSA8IGFyci5sZW5ndGg7IGkrKykgewogICAgICAgICAgICBpZiAodG9rZW5Db2Rlc1thcnJbaV1dICE9PSBpKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgIH07CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-5-9"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS02LTEiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS02LTEuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgZG90IG9wZXJhdG9yIGFzc2lnbm1lbnQsIGFjY2Vzc2VkIHZpYSBpbmRleGluZzogbnVsbCwgdHJ1ZSwgZmFsc2UiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0b2tlbkNvZGVzICA9IHt9OwogICAgICAgIHRva2VuQ29kZXMubnVsbCA9IDA7CgkgICAgdG9rZW5Db2Rlcy50cnVlID0gMTsKCSAgICB0b2tlbkNvZGVzLmZhbHNlID0gMjsgCiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ251bGwnLAogICAgICAgICAgICAndHJ1ZScsCiAgICAgICAgICAgICdmYWxzZScKICAgICAgICAgXTsKICAgICAgICAgZm9yICh2YXIgaSA9IDA7IGkgPCBhcnIubGVuZ3RoOyBpKyspIHsKICAgICAgICAgICAgaWYgKHRva2VuQ29kZXNbYXJyW2ldXSAhPT0gaSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICB9OwogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6.1-6-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS02LTEwIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtNi0xMC5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBkb3Qgb3BlcmF0b3IgYXNzaWdubWVudCwgYWNjZXNzZWQgdmlhIGluZGV4aW5nOiBpbiwgdHJ5LCBjbGFzcyIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0ge307CiAgICAgICAgdG9rZW5Db2Rlcy5pbiA9IDA7CiAgICAgICAgdG9rZW5Db2Rlcy50cnkgPSAxOwogICAgICAgIHRva2VuQ29kZXMuY2xhc3MgPSAyOwogICAgICAgIHZhciBhcnIgPSBbCiAgICAgICAgICAgICdpbicsIAogICAgICAgICAgICAndHJ5JywKICAgICAgICAgICAgJ2NsYXNzJwogICAgICAgICBdOwogICAgICAgICBmb3IgKHZhciBpID0gMDsgaSA8IGFyci5sZW5ndGg7IGkrKykgewogICAgICAgICAgICBpZiAodG9rZW5Db2Rlc1thcnJbaV1dICE9PSBpKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgIH07CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-6-10"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS02LTExIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtNi0xMS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBkb3Qgb3BlcmF0b3IgYXNzaWdubWVudCwgYWNjZXNzZWQgdmlhIGluZGV4aW5nOiBlbnVtLCBleHRlbmRzLCBzdXBlciIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0ge307CiAgICAgICAgdG9rZW5Db2Rlcy5lbnVtID0gMDsKICAgICAgICB0b2tlbkNvZGVzLmV4dGVuZHMgPSAxOwogICAgICAgIHRva2VuQ29kZXMuc3VwZXIgPSAyOwogICAgICAgIHZhciBhcnIgPSBbCiAgICAgICAgICAgICdlbnVtJywKICAgICAgICAgICAgJ2V4dGVuZHMnLAogICAgICAgICAgICAnc3VwZXInCiAgICAgICAgIF07CiAgICAgICAgIGZvciAodmFyIGkgPSAwOyBpIDwgYXJyLmxlbmd0aDsgaSsrKSB7CiAgICAgICAgICAgIGlmICh0b2tlbkNvZGVzW2FycltpXV0gIT09IGkpIHsKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfTsKICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-6-11"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS02LTEyIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtNi0xMi5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBkb3Qgb3BlcmF0b3IgYXNzaWdubWVudCwgYWNjZXNzZWQgdmlhIGluZGV4aW5nOiBjb25zdCwgZXhwb3J0LCBpbXBvcnQiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0b2tlbkNvZGVzICA9IHt9OwogICAgICAgIHRva2VuQ29kZXMuY29uc3QgPSAwOwogICAgICAgIHRva2VuQ29kZXMuZXhwb3J0ID0gMTsKICAgICAgICB0b2tlbkNvZGVzLmltcG9ydCA9IDI7CiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ2NvbnN0JywKICAgICAgICAgICAgJ2V4cG9ydCcsCiAgICAgICAgICAgICdpbXBvcnQnCiAgICAgICAgIF07CiAgICAgICAgIGZvciAodmFyIGkgPSAwOyBpIDwgYXJyLmxlbmd0aDsgaSsrKSB7CiAgICAgICAgICAgIGlmICh0b2tlbkNvZGVzW2FycltpXV0gIT09IGkpIHsKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfTsKICAgICAgICB9CiAgICAgICAg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Cg==","id":"7.6.1-6-13"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS02LTE0IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtNi0xNC5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBkb3Qgb3BlcmF0b3IgYXNzaWdubWVudCwgYWNjZXNzZWQgdmlhIGluZGV4aW5nOiBwdWJsaWMsIHlpZWxkLCBpbnRlcmZhY2UiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0b2tlbkNvZGVzICA9IHt9OwogICAgICAgIHRva2VuQ29kZXMucHVibGljID0gMDsKICAgICAgICB0b2tlbkNvZGVzLnlpZWxkID0gMTsKICAgICAgICB0b2tlbkNvZGVzLmludGVyZmFjZSA9IDI7CiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ3B1YmxpYycsCiAgICAgICAgICAgICd5aWVsZCcsCiAgICAgICAgICAgICdpbnRlcmZhY2UnCiAgICAgICAgIF07CiAgICAgICAgIGZvciAodmFyIGkgPSAwOyBpIDwgYXJyLmxlbmd0aDsgaSsrKSB7CiAgICAgICAgICAgIGlmICh0b2tlbkNvZGVzW2FycltpXV0gIT09IGkpIHsKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfTsKICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-6-14"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS02LTE1IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtNi0xNS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBkb3Qgb3BlcmF0b3IgYXNzaWdubWVudCwgYWNjZXNzZWQgdmlhIGluZGV4aW5nOiBwYWNrYWdlLCBwcm90ZWN0ZWQsIHN0YXRpYyIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0ge307CiAgICAgICAgdG9rZW5Db2Rlcy5wYWNrYWdlID0gMDsKICAgICAgICB0b2tlbkNvZGVzLnByb3RlY3RlZCA9IDE7CiAgICAgICAgdG9rZW5Db2Rlcy5zdGF0aWMgPSAyOwogICAgICAgIHZhciBhcnIgPSBbCiAgICAgICAgICAgICdwYWNrYWdlJywKICAgICAgICAgICAgJ3Byb3RlY3RlZCcsCiAgICAgICAgICAgICdzdGF0aWMnIAogICAgICAgICBdOwogICAgICAgICBmb3IgKHZhciBpID0gMDsgaSA8IGFyci5sZW5ndGg7IGkrKykgewogICAgICAgICAgICBpZiAodG9rZW5Db2Rlc1thcnJbaV1dICE9PSBpKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgIH07CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-6-15"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS02LTE2IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtNi0xNi5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwc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b2YgPSAwOwogICAgICAgIHRva2VuQ29kZXMudHlwZW9mID0gMTsKICAgICAgICB0b2tlbkNvZGVzLmVsc2UgPSAyOwogICAgICAgIHZhciBhcnIgPSBbCiAgICAgICAgICAgICdpbnN0YW5jZW9mJywKICAgICAgICAgICAgJ3R5cGVvZicsCiAgICAgICAgICAgICdlbHNlJwogICAgICAgICBdOwogICAgICAgICBmb3IgKHZhciBpID0gMDsgaSA8IGFyci5sZW5ndGg7IGkrKykgewogICAgICAgICAgICBpZiAodG9rZW5Db2Rlc1thcnJbaV1dICE9PSBpKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgIH07CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-6-3"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS02LTQiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS02LTQuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgZG90IG9wZXJhdG9yIGFzc2lnbm1lbnQsIGFjY2Vzc2VkIHZpYSBpbmRleGluZzogbmV3LCB2YXIsIGNhdGNoIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgdG9rZW5Db2RlcyAgPSB7fTsKICAgICAgICB0b2tlbkNvZGVzLm5ldyA9IDA7CiAgICAgICAgdG9rZW5Db2Rlcy52YXIgPSAxOwogICAgICAgIHRva2VuQ29kZXMuY2F0Y2ggPSAyOwogICAgICAgIHZhciBhcnIgPSBbCiAgICAgICAgICAgICduZXcnLCAKICAgICA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SB7CiAgICAgICAgICAgIGlmICh0b2tlbkNvZGVzW2FycltpXV0gIT09IGkpIHsKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfTsKICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-6-5"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS02LTYiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS02LTYuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgZG90IG9wZXJhdG9yIGFzc2lnbm1lbnQsIGFjY2Vzc2VkIHZpYSBpbmRleGluZzogY29udGludWUsIGZvciwgc3dpdGNoIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgdG9rZW5Db2RlcyAgPSB7fTsKICAgICAgICB0b2tlbkNvZGVzLmNvbnRpbnVlID0gMDsKICAgICAgICB0b2tlbkNvZGVzLmZvciA9IDE7IAogICAgICAgIHRva2VuQ29kZXMuc3dpdGNoID0gMjsKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAnY29udGludWUnLCAKICAgICAgICAgICAgJ2ZvcicsCiAgICAgICAgICAgICdzd2l0Y2gnCiAgICAgICAgIF07CiAgICAgICAgIGZvciAodmFyIGkgPSAwOyBpIDwgYXJyLmxlbmd0aDsgaSsrKSB7CiAgICAgICAgICAgIGlmICh0b2tlbkNvZGVzW2FycltpXV0gIT09IGkpIHsKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfTsKICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-6-6"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS02LTciLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS02LTcuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgZG90IG9wZXJhdG9yIGFzc2lnbm1lbnQsIGFjY2Vzc2VkIHZpYSBpbmRleGluZzogd2hpbGUsIGRlYnVnZ2VyLCBmdW5jdGlvbiIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0ge307CiAgICAgICAgdG9rZW5Db2Rlcy53aGlsZSA9IDA7IAogICAgICAgIHRva2VuQ29kZXMuZGVidWdnZXIgPSAxOwogICAgICAgIHRva2VuQ29kZXMuZnVuY3Rpb24gPSAyOyAKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAnd2hpbGUnICwKICAgICAgICAgICAgJ2RlYnVnZ2VyJywgCiAgICAgICAgICAgICdmdW5jdGlvbicKICAgICAgICAgXTsKICAgICAgICAgZm9yICh2YXIgaSA9IDA7IGkgPCBhcnIubGVuZ3RoOyBpKyspIHsKICAgICAgICAgICAgaWYgKHRva2VuQ29kZXNbYXJyW2ldXSAhPT0gaSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICB9OwogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6.1-6-7"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS02LTgiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS02LTguanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgZG90IG9wZXJhdG9yIGFzc2lnbm1lbnQsIGFjY2Vzc2VkIHZpYSBpbmRleGluZzogdGhpcywgd2l0aCwgZGVmYXVsdCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0ge307CiAgICAgICAgdG9rZW5Db2Rlcy50aGlzID0gMDsgCiAgICAgICAgdG9rZW5Db2Rlcy53aXRoID0gMTsgCiAgICAgICAgdG9rZW5Db2Rlcy5kZWZhdWx0ID0gMjsKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAndGhpcycsIAogICAgICAgICAgICAnd2l0aCcsIAogICAgICAgICAgICAnZGVmYXVsdCcKICAgICAgICAgXTsKICAgICAgICAgZm9yICh2YXIgaSA9IDA7IGkgPCBhcnIubGVuZ3RoOyBpKyspIHsKICAgICAgICAgICAgaWYgKHRva2VuQ29kZXNbYXJyW2ldXSAhPT0gaSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICB9OwogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IHJldHVybiB0cnVlOyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-6-8"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS02LTkiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS02LTkuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgZG90IG9wZXJhdG9yIGFzc2lnbm1lbnQsIGFjY2Vzc2VkIHZpYSBpbmRleGluZzogaWYsIHRocm93LCBkZWxldGUiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0b2tlbkNvZGVzICA9IHt9OwogICAgICAgIHRva2VuQ29kZXMuaWYgPSAwOwogICAgICAgIHRva2VuQ29kZXMudGhyb3cgPSAxOwogICAgICAgIHRva2VuQ29kZXMuZGVsZXRlID0gMjsKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAnaWYnLCAKICAgICAgICAgICAgJ3Rocm93JywgCiAgICAgICAgICAgICdkZWxldGUnCiAgICAgICAgIF07CiAgICAgICAgIGZvciAodmFyIGkgPSAwOyBpIDwgYXJyLmxlbmd0aDsgaSsrKSB7CiAgICAgICAgICAgIGlmICh0b2tlbkNvZGVzW2FycltpXV0gIT09IGkpIHsKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfTsKICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-6-9"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS03LTEiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS03LTEuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgaW5kZXggYXNzaWdubWVudCwgYWNjZXNzZWQgdmlhIGluZGV4aW5nOiBudWxsLCB0cnVlLCBmYWxzZSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgPSB7fTsKICAgICAgICB0b2tlbkNvZGVzWydudWxsJ10gPSAwOwogICAgICAgIHRva2VuQ29kZXNbJ3RydWUnXSA9IDE7CiAgICAgICAgdG9rZW5Db2Rlc1snZmFsc2UnXSA9IDI7ICAgICAgICAKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAnbnVsbCcsCiAgICAgICAgICAgICd0cnVlJywKICAgICAgICAgICAgJ2ZhbHNlJwogICAgICAgIF07CiAgICAgICAgZm9yICh2YXIgaSA9IDA7IGkgPCBhcnIubGVuZ3RoOyBpKyspIHsKICAgICAgICAgICAgaWYgKHRva2VuQ29kZXNbYXJyW2ldXSAhPT0gaSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICB9OwogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6.1-7-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS03LTEwIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtNy0xMC5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBpbmRleCBhc3NpZ25tZW50LCBhY2Nlc3NlZCB2aWEgaW5kZXhpbmc6IGluLCB0cnksIGNsYXNzIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgdG9rZW5Db2RlcyA9IHt9OwogICAgICAgIHRva2VuQ29kZXNbJ2luJ10gPSAwOwogICAgICAgIHRva2VuQ29kZXNbJ3RyeSddID0gMTsKICAgICAgICB0b2tlbkNvZGVzWydjbGFzcyddID0gMjsKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAnaW4nLAogICAgICAgICAgICAndHJ5JywKICAgICAgICAgICAgJ2NsYXNzJwogICAgICAgIF07CiAgICAgICAgZm9yICh2YXIgaSA9IDA7IGkgPCBhcnIubGVuZ3RoOyBpKyspIHsKICAgICAgICAgICAgaWYgKHRva2VuQ29kZXNbYXJyW2ldXSAhPT0gaSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICB9OwogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6.1-7-10"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS03LTExIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtNy0xMS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBpbmRleCBhc3NpZ25tZW50LCBhY2Nlc3NlZCB2aWEgaW5kZXhpbmc6IGVudW0sIGV4dGVuZHMsIHN1cGVyIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgdG9rZW5Db2RlcyA9IHt9OwogICAgICAgIHRva2VuQ29kZXNbJ2VudW0nXSA9IDA7CiAgICAgICAgdG9rZW5Db2Rlc1snZXh0ZW5kcyddID0gMTsKICAgICAgICB0b2tlbkNvZGVzWydzdXBlciddID0gMjsgICAgICAKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAnZW51bScsCiAgICAgICAgICAgICdleHRlbmRzJywKICAgICAgICAgICAgJ3N1cGVyJwogICAgICAgIF07CiAgICAgICAgZm9yICh2YXIgaSA9IDA7IGkgPCBhcnIubGVuZ3RoOyBpKyspIHsKICAgICAgICAgICAgaWYgKHRva2VuQ29kZXNbYXJyW2ldXSAhPT0gaSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICB9OwogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6.1-7-11"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS03LTEyIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtNy0xMi5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBpbmRleCBhc3NpZ25tZW50LCBhY2Nlc3NlZCB2aWEgaW5kZXhpbmc6IGNvbnN0LCBleHBvcnQsIGltcG9ydCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgPSB7fTsKICAgICAgICB0b2tlbkNvZGVzWydjb25zdCddID0gMDsKICAgICAgICB0b2tlbkNvZGVzWydleHBvcnQnXSA9IDE7CiAgICAgICAgdG9rZW5Db2Rlc1snaW1wb3J0J10gPSAyOyAgICAgIAogICAgICAgIHZhciBhcnIgPSBbCiAgICAgICAgICAgICdjb25zdCcsCiAgICAgICAgICAgICdleHBvcnQnLAogICAgICAgICAgICAnaW1wb3J0JwogICAgICAgIF07CiAgICAgICAgZm9yICh2YXIgaSA9IDA7IGkgPCBhcnIubGVuZ3RoOyBpKyspIHsKICAgICAgICAgICAgaWYgKHRva2VuQ29kZXNbYXJyW2ldXSAhPT0gaSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICB9OwogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6.1-7-12"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS03LTEzIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtNy0xMy5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBpbmRleCBhc3NpZ25tZW50LCBhY2Nlc3NlZCB2aWEgaW5kZXhpbmc6IGltcGxlbWVudHMsIGxldCwgcHJpdmF0ZSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgPSB7fTsKICAgICAgICB0b2tlbkNvZGVzWydpbXBsZW1lbnRzJ10gPSAwOwogICAgICAgIHRva2VuQ29kZXNbJ2xldCddID0gMTsKICAgICAgICB0b2tlbkNvZGVzWydwcml2YXRlJ10gPSAyOyAgICAgCiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ2ltcGxlbWVudHMnLAogICAgICAgICAgICAnbGV0JywKICAgICAgICAgICAgJ3ByaXZhdGUnCiAgICAgICAgXTsKICAgICAgICBmb3IgKHZhciBpID0gMDsgaSA8IGFyci5sZW5ndGg7IGkrKykgewogICAgICAgICAgICBpZiAodG9rZW5Db2Rlc1thcnJbaV1dICE9PSBpKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgIH07CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-7-13"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS03LTE0IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtNy0xNC5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBpbmRleCBhc3NpZ25tZW50LCBhY2Nlc3NlZCB2aWEgaW5kZXhpbmc6IHB1YmxpYywgeWllbGQsIGludGVyZmFjZSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgPSB7fTsKICAgICAgICB0b2tlbkNvZGVzWydwdWJsaWMnXSA9IDA7CiAgICAgICAgdG9rZW5Db2Rlc1sneWllbGQnXSA9IDE7CiAgICAgICAgdG9rZW5Db2Rlc1snaW50ZXJmYWNlJ10gPSAyOyAKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAncHVibGljJywKICAgICAgICAgICAgJ3lpZWxkJywKICAgICAgICAgICAgJ2ludGVyZmFjZScKICAgICAgICBdOwogICAgICAgIGZvciAodmFyIGkgPSAwOyBpIDwgYXJyLmxlbmd0aDsgaSsrKSB7CiAgICAgICAgICAgIGlmICh0b2tlbkNvZGVzW2FycltpXV0gIT09IGkpIHsKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfTsKICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-7-14"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS03LTE1IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtNy0xNS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBpbmRleCBhc3NpZ25tZW50LCBhY2Nlc3NlZCB2aWEgaW5kZXhpbmc6IHBhY2thZ2UsIHByb3RlY3RlZCwgc3RhdGljIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgdG9rZW5Db2RlcyA9IHt9OwogICAgICAgIHRva2VuQ29kZXNbJ3BhY2thZ2UnXSA9IDA7CiAgICAgICAgdG9rZW5Db2Rlc1sncHJvdGVjdGVkJ10gPSAxOwogICAgICAgIHRva2VuQ29kZXNbJ3N0YXRpYyddID0gMjsgICAgCiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ3BhY2thZ2UnLAogICAgICAgICAgICAncHJvdGVjdGVkJywKICAgICAgICAgICAgJ3N0YXRpYycgCiAgICAgICAgXTsKICAgICAgICBmb3IgKHZhciBpID0gMDsgaSA8IGFyci5sZW5ndGg7IGkrKykgewogICAgICAgICAgICBpZiAodG9rZW5Db2Rlc1thcnJbaV1dICE9PSBpKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgIH07CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-7-15"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS03LTE2IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtNy0xNi5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBpbmRleCBhc3NpZ25tZW50LCBhY2Nlc3NlZCB2aWEgaW5kZXhpbmc6IHVuZGVmaW5lZCwgTmFOLCBJbmZpbml0eSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgPSB7fTsKICAgICAgICB0b2tlbkNvZGVzWyd1bmRlZmluZWQnXSA9IDA7CiAgICAgICAgdG9rZW5Db2Rlc1snTmFOJ10gPSAxOwogICAgICAgIHRva2VuQ29kZXNbJ0luZmluaXR5J10gPSAyOyAgICAgCiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ3VuZGVmaW5lZCcsCiAgICAgICAgICAgICdOYU4nLAogICAgICAgICAgICAnSW5maW5pdHknCiAgICAgICAgXTsKICAgICAgICBmb3IgKHZhciBpID0gMDsgaSA8IGFyci5sZW5ndGg7IGkrKykgewogICAgICAgICAgICBpZiAodG9rZW5Db2Rlc1thcnJbaV1dICE9PSBpKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgIH07CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-7-16"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS03LTIiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS03LTIuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgaW5kZXggYXNzaWdubWVudCwgYWNjZXNzZWQgdmlhIGluZGV4aW5nOiBicmVhaywgY2FzZSwgZG8iLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0b2tlbkNvZGVzID0ge307CiAgICAgICAgdG9rZW5Db2Rlc1snYnJlYWsnXSA9IDA7CiAgICAgICAgdG9rZW5Db2Rlc1snY2FzZSddID0gMTsKICAgICAgICB0b2tlbkNvZGVzWydkbyddID0gMjsgICAgIAogICAgICAgIHZhciBhcnIgPSBbCiAgICAgICAgICAgICdicmVhaycsCiAgICAgICAgICAgICdjYXNlJywKICAgICAgICAgICAgJ2RvJwogICAgICAgIF07CiAgICAgICAgZm9yICh2YXIgaSA9IDA7IGkgPCBhcnIubGVuZ3RoOyBpKyspIHsKICAgICAgICAgICAgaWYgKHRva2VuQ29kZXNbYXJyW2ldXSAhPT0gaSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICB9OwogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6.1-7-2"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS03LTMiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS03LTMuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgaW5kZXggYXNzaWdubWVudCwgYWNjZXNzZWQgdmlhIGluZGV4aW5nOiBpbnN0YW5jZW9mLCB0eXBlb2YsIGVsc2UiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0b2tlbkNvZGVzID0ge307CiAgICAgICAgdG9rZW5Db2Rlc1snaW5zdGFuY2VvZiddID0gMDsKICAgICAgICB0b2tlbkNvZGVzWyd0eXBlb2YnXSA9IDE7CiAgICAgICAgdG9rZW5Db2Rlc1snZWxzZSddID0gMjsgICAgIAogICAgICAgIHZhciBhcnIgPSBbCiAgICAgICAgICAgICdpbnN0YW5jZW9mJywKICAgICAgICAgICAgJ3R5cGVvZicsCiAgICAgICAgICAgICdlbHNlJwogICAgICAgIF07CiAgICAgICAgZm9yICh2YXIgaSA9IDA7IGkgPCBhcnIubGVuZ3RoOyBpKyspIHsKICAgICAgICAgICAgaWYgKHRva2VuQ29kZXNbYXJyW2ldXSAhPT0gaSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICB9OwogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6.1-7-3"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS03LTQiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS03LTQuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgaW5kZXggYXNzaWdubWVudCwgYWNjZXNzZWQgdmlhIGluZGV4aW5nOiBuZXcsIHZhciwgY2F0Y2giLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0b2tlbkNvZGVzID0ge307CiAgICAgICAgdG9rZW5Db2Rlc1snbmV3J10gPSAwOwogICAgICAgIHRva2VuQ29kZXNbJ3ZhciddID0gMTsKICAgICAgICB0b2tlbkNvZGVzWydjYXRjaCddID0gMjsgICAgICAgCiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ25ldycsCiAgICAgICAgICAgICd2YXInLAogICAgICAgICAgICAnY2F0Y2gnCiAgICAgICAgXTsKICAgICAgICBmb3IgKHZhciBpID0gMDsgaSA8IGFyci5sZW5ndGg7IGkrKykgewogICAgICAgICAgICBpZiAodG9rZW5Db2Rlc1thcnJbaV1dICE9PSBpKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgIH07CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-7-4"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS03LTUiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS03LTUuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgaW5kZXggYXNzaWdubWVudCwgYWNjZXNzZWQgdmlhIGluZGV4aW5nOiBmaW5hbGx5LCByZXR1cm4sIHZvaWQiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0b2tlbkNvZGVzID0ge307CiAgICAgICAgdG9rZW5Db2Rlc1snZmluYWxseSddID0gMDsKICAgICAgICB0b2tlbkNvZGVzWydyZXR1cm4nXSA9IDE7CiAgICAgICAgdG9rZW5Db2Rlc1sndm9pZCddID0gMjsgICAgICAKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAnZmluYWxseScsCiAgICAgICAgICAgICdyZXR1cm4nLAogICAgICAgICAgICAndm9pZCcKICAgICAgICBdOwogICAgICAgIGZvciAodmFyIGkgPSAwOyBpIDwgYXJyLmxlbmd0aDsgaSsrKSB7CiAgICAgICAgICAgIGlmICh0b2tlbkNvZGVzW2FycltpXV0gIT09IGkpIHsKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfTsKICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-7-5"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS03LTYiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS03LTYuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgaW5kZXggYXNzaWdubWVudCwgYWNjZXNzZWQgdmlhIGluZGV4aW5nOiBjb250aW51ZSwgZm9yLCBzd2l0Y2giLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0b2tlbkNvZGVzID0ge307CiAgICAgICAgdG9rZW5Db2Rlc1snY29udGludWUnXSA9IDA7CiAgICAgICAgdG9rZW5Db2Rlc1snZm9yJ10gPSAxOwogICAgICAgIHRva2VuQ29kZXNbJ3N3aXRjaCddID0gMjsgICAgIAogICAgICAgIHZhciBhcnIgPSBbCiAgICAgICAgICAgICdjb250aW51ZScsCiAgICAgICAgICAgICdmb3InLAogICAgICAgICAgICAnc3dpdGNoJwogICAgICAgIF07CiAgICAgICAgZm9yICh2YXIgaSA9IDA7IGkgPCBhcnIubGVuZ3RoOyBpKyspIHsKICAgICAgICAgICAgaWYgKHRva2VuQ29kZXNbYXJyW2ldXSAhPT0gaSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICB9OwogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6.1-7-6"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS03LTciLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS03LTcuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgaW5kZXggYXNzaWdubWVudCwgYWNjZXNzZWQgdmlhIGluZGV4aW5nOiB3aGlsZSwgZGVidWdnZXIsIGZ1bmN0aW9uIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgdG9rZW5Db2RlcyA9IHt9OwogICAgICAgIHRva2VuQ29kZXNbJ3doaWxlJ10gPSAwOwogICAgICAgIHRva2VuQ29kZXNbJ2RlYnVnZ2VyJ10gPSAxOwogICAgICAgIHRva2VuQ29kZXNbJ2Z1bmN0aW9uJ10gPSAyOyAKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAnd2hpbGUnLAogICAgICAgICAgICAnZGVidWdnZXInLAogICAgICAgICAgICAnZnVuY3Rpb24nCiAgICAgICAgXTsKICAgICAgICBmb3IgKHZhciBpID0gMDsgaSA8IGFyci5sZW5ndGg7IGkrKykgewogICAgICAgICAgICBpZiAodG9rZW5Db2Rlc1thcnJbaV1dICE9PSBpKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgIH07CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-7-7"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS03LTgiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS03LTguanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgaW5kZXggYXNzaWdubWVudCwgYWNjZXNzZWQgdmlhIGluZGV4aW5nOiB0aGlzLCB3aXRoLCBkZWZhdWx0IiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgdG9rZW5Db2RlcyA9IHt9OwogICAgICAgIHRva2VuQ29kZXNbJ3RoaXMnXSA9IDA7CiAgICAgICAgdG9rZW5Db2Rlc1snd2l0aCddID0gMTsKICAgICAgICB0b2tlbkNvZGVzWydkZWZhdWx0J10gPSAyOyAgIAogICAgICAgIHZhciBhcnIgPSBbCiAgICAgICAgICAgICd0aGlzJywKICAgICAgICAgICAgJ3dpdGgnLAogICAgICAgICAgICAnZGVmYXVsdCcKICAgICAgICBdOwogICAgICAgIGZvciAodmFyIGkgPSAwOyBpIDwgYXJyLmxlbmd0aDsgaSsrKSB7CiAgICAgICAgICAgIGlmICh0b2tlbkNvZGVzW2FycltpXV0gIT09IGkpIHsKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfTsKICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-7-8"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS03LTkiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS03LTkuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgaW5kZXggYXNzaWdubWVudCwgYWNjZXNzZWQgdmlhIGluZGV4aW5nOiBpZiwgdGhyb3csIGRlbGV0ZSIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgPSB7fTsKICAgICAgICB0b2tlbkNvZGVzWydpZiddID0gMDsKICAgICAgICB0b2tlbkNvZGVzWyd0aHJvdyddID0gMTsKICAgICAgICB0b2tlbkNvZGVzWydkZWxldGUnXSA9IDI7ICAgICAgCiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ2lmJywKICAgICAgICAgICAgJ3Rocm93JywKICAgICAgICAgICAgJ2RlbGV0ZScKICAgICAgICBdOwogICAgICAgIGZvciAodmFyIGkgPSAwOyBpIDwgYXJyLmxlbmd0aDsgaSsrKSB7CiAgICAgICAgICAgIGlmICh0b2tlbkNvZGVzW2FycltpXV0gIT09IGkpIHsKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfTsKICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-7-9"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS04LTEiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS04LTEuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgc2V0IGZ1bmN0aW9uIHdpdGhpbiBhbiBvYmplY3QsIGFjY2Vzc2VkIHZpYSBpbmRleGluZzogbnVsbCwgdHJ1ZSwgZmFsc2UiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0ZXN0MCA9IDAsIHRlc3QxID0gMSwgdGVzdDIgPSAyOwogICAgICAgIHZhciB0b2tlbkNvZGVzICA9IHsKICAgICAgICAgICAgc2V0IG51bGwodmFsdWUpIHsKICAgICAgICAgICAgICAgIHRlc3QwID0gdmFsdWU7ICAgICAgICAKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZ2V0IG51bGwoKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gdGVzdDA7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIHNldCB0cnVlKHZhbHVlKSB7CiAgICAgICAgICAgICAgICB0ZXN0MSA9IHZhbHVlOyAgICAgICAgCiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGdldCB0cnVlKCkgewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QxOwogICAgICAgICAgICB9LAogICAgICAgICAgICBzZXQgZmFsc2UodmFsdWUpIHsKICAgICAgICAgICAgICAgIHRlc3QyID0gdmFsdWU7ICAgICAgICAKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZ2V0IGZhbHNlKCl7CiAgICAgICAgICAgICAgICByZXR1cm4gdGVzdDI7CiAgICAgICAgICAgIH0KICAgICAgICB9OyAKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAnbnVsbCcsCiAgICAgICAgICAgICd0cnVlJywKICAgICAgICAgICAgJ2ZhbHNlJwogICAgICAgIF07CiAgICAgICAgZm9yICh2YXIgaSA9IDA7IGkgPCBhcnIubGVuZ3RoOyBpKyspIHsKICAgICAgICAgICAgaWYgKHRva2VuQ29kZXNbYXJyW2ldXSAhPT0gaSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICB9OwogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6.1-8-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS04LTEwIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtOC0xMC5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBzZXQgZnVuY3Rpb24gd2l0aGluIGFuIG9iamVjdCwgYWNjZXNzZWQgdmlhIGluZGV4aW5nOiBpbiwgdHJ5LCBjbGFzcyIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRlc3QwID0gMCwgdGVzdDEgPSAxLCB0ZXN0MiA9IDI7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0gewogICAgICAgICAgICBzZXQgaW4odmFsdWUpewogICAgICAgICAgICAgICAgdGVzdDAgPSB2YWx1ZTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZ2V0IGluKCl7CiAgICAgICAgICAgICAgICByZXR1cm4gdGVzdDA7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIHNldCB0cnkodmFsdWUpewogICAgICAgICAgICAgICAgdGVzdDEgPSB2YWx1ZTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZ2V0IHRyeSgpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QxCiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIHNldCBjbGFzcyh2YWx1ZSl7CiAgICAgICAgICAgICAgICB0ZXN0MiA9IHZhbHVlOwogICAgICAgICAgICB9LAogICAgICAgICAgICBnZXQgY2xhc3MoKXsKICAgICAgICAgICAgICAgIHJldHVybiB0ZXN0MjsKICAgICAgICAgICAgfQogICAgICAgIH07IAogICAgICAgIHZhciBhcnIgPSBbCiAgICAgICAgICAgICdpbicsIAogICAgICAgICAgICAndHJ5JywKICAgICAgICAgICAgJ2NsYXNzJwogICAgICAgIF07CiAgICAgICAgZm9yICh2YXIgaSA9IDA7IGkgPCBhcnIubGVuZ3RoOyBpKyspIHsKICAgICAgICAgICAgaWYgKHRva2VuQ29kZXNbYXJyW2ldXSAhPT0gaSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICB9OwogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6.1-8-10"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS04LTExIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtOC0xMS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBzZXQgZnVuY3Rpb24gd2l0aGluIGFuIG9iamVjdCwgYWNjZXNzZWQgdmlhIGluZGV4aW5nOiBlbnVtLCBleHRlbmRzLCBzdXBlciIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRlc3QwID0gMCwgdGVzdDEgPSAxLCB0ZXN0MiA9IDI7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0gewogICAgICAgICAgICBzZXQgZW51bSh2YWx1ZSl7CiAgICAgICAgICAgICAgICB0ZXN0MCA9IHZhbHVlOwogICAgICAgICAgICB9LAogICAgICAgICAgICBnZXQgZW51bSgpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QwOwogICAgICAgICAgICB9LAogICAgICAgICAgICBzZXQgZXh0ZW5kcyh2YWx1ZSl7CiAgICAgICAgICAgICAgICB0ZXN0MSA9IHZhbHVlOwogICAgICAgICAgICB9LAogICAgICAgICAgICBnZXQgZXh0ZW5kcygpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QxOwogICAgICAgICAgICB9LAogICAgICAgICAgICBzZXQgc3VwZXIodmFsdWUpewogICAgICAgICAgICAgICAgdGVzdDIgPSB2YWx1ZTsKICAgICAgICAgICAgfSwgCiAgICAgICAgICAgIGdldCBzdXBlcigpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QyOwogICAgICAgICAgICB9CiAgICAgICAgfTsgCiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ2VudW0nLAogICAgICAgICAgICAnZXh0ZW5kcycsCiAgICAgICAgICAgICdzdXBlcicKICAgICAgICBdOwogICAgICAgIGZvciAodmFyIGkgPSAwOyBpIDwgYXJyLmxlbmd0aDsgaSsrKSB7CiAgICAgICAgICAgIGlmICh0b2tlbkNvZGVzW2FycltpXV0gIT09IGkpIHsKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfTsKICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-8-11"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS04LTEyIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtOC0xMi5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBzZXQgZnVuY3Rpb24gd2l0aGluIGFuIG9iamVjdCwgYWNjZXNzZWQgdmlhIGluZGV4aW5nOiBjb25zdCwgZXhwb3J0LCBpbXBvcnQiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0ZXN0MCA9IDAsIHRlc3QxID0gMSwgdGVzdDIgPSAyOwogICAgICAgIHZhciB0b2tlbkNvZGVzICA9IHsKICAgICAgICAgICAgc2V0IGNvbnN0KHZhbHVlKXsKICAgICAgICAgICAgICAgIHRlc3QwID0gdmFsdWU7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGdldCBjb25zdCgpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QwOwogICAgICAgICAgICB9LAogICAgICAgICAgICBzZXQgZXhwb3J0KHZhbHVlKXsKICAgICAgICAgICAgICAgIHRlc3QxID0gdmFsdWU7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGdldCBleHBvcnQoKXsKICAgICAgICAgICAgICAgIHJldHVybiB0ZXN0MQogICAgICAgICAgICB9LAogICAgICAgICAgICBzZXQgaW1wb3J0KHZhbHVlKXsKICAgICAgICAgICAgICAgIHRlc3QyID0gdmFsdWU7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGdldCBpbXBvcnQoKXsKICAgICAgICAgICAgICAgIHJldHVybiB0ZXN0MgogICAgICAgICAgICB9CiAgICAgICAgfTsgCiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ2NvbnN0JywKICAgICAgICAgICAgJ2V4cG9ydCcsCiAgICAgICAgICAgICdpbXBvcnQnCiAgICAgICAgXTsKICAgICAgICBmb3IgKHZhciBpID0gMDsgaSA8IGFyci5sZW5ndGg7IGkrKykgewogICAgICAgICAgICBpZiAodG9rZW5Db2Rlc1thcnJbaV1dICE9PSBpKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgIH07CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-8-12"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS04LTEzIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtOC0xMy5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBzZXQgZnVuY3Rpb24gd2l0aGluIGFuIG9iamVjdCwgYWNjZXNzZWQgdmlhIGluZGV4aW5nOiBpbXBsZW1lbnRzLCBsZXQsIHByaXZhdGUiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0ZXN0MCA9IDAsIHRlc3QxID0gMSwgdGVzdDIgPSAyOwogICAgICAgIHZhciB0b2tlbkNvZGVzICA9IHsKICAgICAgICAgICAgc2V0IGltcGxlbWVudHModmFsdWUpewogICAgICAgICAgICAgICAgdGVzdDAgPSB2YWx1ZTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZ2V0IGltcGxlbWVudHMoKXsKICAgICAgICAgICAgICAgIHJldHVybiB0ZXN0MDsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgc2V0IGxldCh2YWx1ZSl7CiAgICAgICAgICAgICAgICB0ZXN0MSA9IHZhbHVlOwogICAgICAgICAgICB9LAogICAgICAgICAgICBnZXQgbGV0KCl7CiAgICAgICAgICAgICAgICByZXR1cm4gdGVzdDEKICAgICAgICAgICAgfSwKICAgICAgICAgICAgc2V0IHByaXZhdGUodmFsdWUpewogICAgICAgICAgICAgICAgdGVzdDIgPSB2YWx1ZTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZ2V0IHByaXZhdGUoKXsKICAgICAgICAgICAgICAgIHJldHVybiB0ZXN0MjsKICAgICAgICAgICAgfQogICAgICAgIH07IAogICAgICAgIHZhciBhcnIgPSBbCiAgICAgICAgICAgICdpbXBsZW1lbnRzJywKICAgICAgICAgICAgJ2xldCcsCiAgICAgICAgICAgICdwcml2YXRlJwogICAgICAgIF07CiAgICAgICAgZm9yICh2YXIgaSA9IDA7IGkgPCBhcnIubGVuZ3RoOyBpKyspIHsKICAgICAgICAgICAgaWYgKHRva2VuQ29kZXNbYXJyW2ldXSAhPT0gaSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICB9OwogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6.1-8-13"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS04LTE0IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtOC0xNC5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBzZXQgZnVuY3Rpb24gd2l0aGluIGFuIG9iamVjdCwgYWNjZXNzZWQgdmlhIGluZGV4aW5nOiBwdWJsaWMsIHlpZWxkLCBpbnRlcmZhY2UiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0ZXN0MCA9IDAsIHRlc3QxID0gMSwgdGVzdDIgPSAyOwogICAgICAgIHZhciB0b2tlbkNvZGVzICA9IHsKICAgICAgICAgICAgc2V0IHB1YmxpYyh2YWx1ZSl7CiAgICAgICAgICAgICAgICB0ZXN0MCA9IHZhbHVlOwogICAgICAgICAgICB9LAogICAgICAgICAgICBnZXQgcHVibGljKCl7CiAgICAgICAgICAgICAgICByZXR1cm4gdGVzdDA7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIHNldCB5aWVsZCh2YWx1ZSl7CiAgICAgICAgICAgICAgICB0ZXN0MSA9IHZhbHVlOwogICAgICAgICAgICB9LAogICAgICAgICAgICBnZXQgeWllbGQoKXsKICAgICAgICAgICAgICAgIHJldHVybiB0ZXN0MTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgc2V0IGludGVyZmFjZSh2YWx1ZSl7CiAgICAgICAgICAgICAgICB0ZXN0MiA9IHZhbHVlOwogICAgICAgICAgICB9LAogICAgICAgICAgICBnZXQgaW50ZXJmYWNlKCl7CiAgICAgICAgICAgICAgICByZXR1cm4gdGVzdDI7CiAgICAgICAgICAgIH0KICAgICAgICB9OyAKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAncHVibGljJywKICAgICAgICAgICAgJ3lpZWxkJywKICAgICAgICAgICAgJ2ludGVyZmFjZScKICAgICAgICBdOwogICAgICAgIGZvciAodmFyIGkgPSAwOyBpIDwgYXJyLmxlbmd0aDsgaSsrKSB7CiAgICAgICAgICAgIGlmICh0b2tlbkNvZGVzW2FycltpXV0gIT09IGkpIHsKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfTsKICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-8-14"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS04LTE1IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtOC0xNS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBzZXQgZnVuY3Rpb24gd2l0aGluIGFuIG9iamVjdCwgYWNjZXNzZWQgdmlhIGluZGV4aW5nOiBwYWNrYWdlLCBwcm90ZWN0ZWQsIHN0YXRpYyIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRlc3QwID0gMCwgdGVzdDEgPSAxLCB0ZXN0MiA9IDI7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0gewogICAgICAgICAgICBzZXQgcGFja2FnZSh2YWx1ZSl7CiAgICAgICAgICAgICAgICB0ZXN0MCA9IHZhbHVlOwogICAgICAgICAgICB9LAogICAgICAgICAgICBnZXQgcGFja2FnZSgpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QwOwogICAgICAgICAgICB9LAogICAgICAgICAgICBzZXQgcHJvdGVjdGVkKHZhbHVlKXsKICAgICAgICAgICAgICAgIHRlc3QxID0gdmFsdWU7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGdldCBwcm90ZWN0ZWQoKXsKICAgICAgICAgICAgICAgIHJldHVybiB0ZXN0MQogICAgICAgICAgICB9LAogICAgICAgICAgICBzZXQgc3RhdGljKHZhbHVlKXsKICAgICAgICAgICAgICAgIHRlc3QyID0gdmFsdWU7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGdldCBzdGF0aWMoKXsKICAgICAgICAgICAgICAgIHJldHVybiB0ZXN0MjsKICAgICAgICAgICAgfQogICAgICAgIH07IAogICAgICAgIHZhciBhcnIgPSBbCiAgICAgICAgICAgICdwYWNrYWdlJywKICAgICAgICAgICAgJ3Byb3RlY3RlZCcsCiAgICAgICAgICAgICdzdGF0aWMnICAKICAgICAgICBdOwogICAgICAgIGZvciAodmFyIGkgPSAwOyBpIDwgYXJyLmxlbmd0aDsgaSsrKSB7CiAgICAgICAgICAgIGlmICh0b2tlbkNvZGVzW2FycltpXV0gIT09IGkpIHsKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfTsKICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-8-15"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS04LTE2IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjYvNy42LjEvNy42LjEtOC0xNi5qcyIsCgogICAgZGVzY3JpcHRpb246ICJBbGxvdyByZXNlcnZlZCB3b3JkcyBhcyBwcm9wZXJ0eSBuYW1lcyBieSBzZXQgZnVuY3Rpb24gd2l0aGluIGFuIG9iamVjdCwgYWNjZXNzZWQgdmlhIGluZGV4aW5nOiB1bmRlZmluZWQsIE5hTiwgSW5maW5pdHkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0ZXN0MCA9IDAsIHRlc3QxID0gMSwgdGVzdDIgPSAyOwogICAgICAgIHZhciB0b2tlbkNvZGVzICA9IHsKICAgICAgICAgICAgc2V0IHVuZGVmaW5lZCh2YWx1ZSl7CiAgICAgICAgICAgICAgICB0ZXN0MCA9IHZhbHVlOwogICAgICAgICAgICB9LAogICAgICAgICAgICBnZXQgdW5kZWZpbmVkKCl7CiAgICAgICAgICAgICAgICByZXR1cm4gdGVzdDA7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIHNldCBOYU4odmFsdWUpewogICAgICAgICAgICAgICAgdGVzdDEgPSB2YWx1ZTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZ2V0IE5hTigpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QxOwogICAgICAgICAgICB9LAogICAgICAgICAgICBzZXQgSW5maW5pdHkodmFsdWUpewogICAgICAgICAgICAgICAgdGVzdDIgPSB2YWx1ZTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZ2V0IEluZmluaXR5KCl7CiAgICAgICAgICAgICAgICByZXR1cm4gdGVzdDI7CiAgICAgICAgICAgIH0KICAgICAgICB9OyAKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAndW5kZWZpbmVkJywKICAgICAgICAgICAgJ05hTicsCiAgICAgICAgICAgICdJbmZpbml0eScKICAgICAgICBdOwogICAgICAgIGZvciAodmFyIGkgPSAwOyBpIDwgYXJyLmxlbmd0aDsgaSsrKSB7CiAgICAgICAgICAgIGlmICh0b2tlbkNvZGVzW2FycltpXV0gIT09IGkpIHsKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfTsKICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-8-16"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS04LTIiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS04LTIuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgc2V0IGZ1bmN0aW9uIHdpdGhpbiBhbiBvYmplY3QsIGFjY2Vzc2VkIHZpYSBpbmRleGluZzogYnJlYWssIGNhc2UsIGRvIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgdGVzdDAgPSAwLCB0ZXN0MSA9IDEsIHRlc3QyID0gMjsKICAgICAgICB2YXIgdG9rZW5Db2RlcyAgPSB7CiAgICAgICAgICAgIHNldCBicmVhayh2YWx1ZSl7CiAgICAgICAgICAgICAgICB0ZXN0MCA9IHZhbHVlOyAgICAgICAgCiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGdldCBicmVhaygpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QwOwogICAgICAgICAgICB9LAogICAgICAgICAgICBzZXQgY2FzZSh2YWx1ZSl7CiAgICAgICAgICAgICAgICB0ZXN0MSA9IHZhbHVlOwogICAgICAgICAgICB9LAogICAgICAgICAgICBnZXQgY2FzZSgpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QxOwogICAgICAgICAgICB9LAogICAgICAgICAgICBzZXQgZG8odmFsdWUpewogICAgICAgICAgICAgICAgdGVzdDIgPSB2YWx1ZTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZ2V0IGRvKCl7CiAgICAgICAgICAgICAgICByZXR1cm4gdGVzdDI7CiAgICAgICAgICAgIH0KICAgICAgICB9OyAKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAnYnJlYWsnLAogICAgICAgICAgICAnY2FzZScsCiAgICAgICAgICAgICdkbycKICAgICAgICBdOwogICAgICAgIGZvciAodmFyIGkgPSAwOyBpIDwgYXJyLmxlbmd0aDsgaSsrKSB7CiAgICAgICAgICAgIGlmICh0b2tlbkNvZGVzW2FycltpXV0gIT09IGkpIHsKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfTsKICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-8-2"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS04LTMiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS04LTMuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgc2V0IGZ1bmN0aW9uIHdpdGhpbiBhbiBvYmplY3QsIGFjY2Vzc2VkIHZpYSBpbmRleGluZzogaW5zdGFuY2VvZiwgdHlwZW9mLCBlbHNlIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgdGVzdDAgPSAwLCB0ZXN0MSA9IDEsIHRlc3QyID0gMjsKICAgICAgICB2YXIgdG9rZW5Db2RlcyAgPSB7CiAgICAgICAgICAgIHNldCBpbnN0YW5jZW9mKHZhbHVlKXsKICAgICAgICAgICAgICAgIHRlc3QwID0gdmFsdWU7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGdldCBpbnN0YW5jZW9mKCl7CiAgICAgICAgICAgICAgICByZXR1cm4gdGVzdDA7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIHNldCB0eXBlb2YodmFsdWUpewogICAgICAgICAgICAgICAgdGVzdDEgPSB2YWx1ZTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZ2V0IHR5cGVvZigpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QxOwogICAgICAgICAgICB9LAogICAgICAgICAgICBzZXQgZWxzZSh2YWx1ZSl7CiAgICAgICAgICAgICAgICB0ZXN0MiA9IHZhbHVlOwogICAgICAgICAgICB9LAogICAgICAgICAgICBnZXQgZWxzZSgpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QyOwogICAgICAgICAgICB9CiAgICAgICAgfTsgCiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ2luc3RhbmNlb2YnLAogICAgICAgICAgICAndHlwZW9mJywKICAgICAgICAgICAgJ2Vsc2UnCiAgICAgICAgXTsKICAgICAgICBmb3IgKHZhciBpID0gMDsgaSA8IGFyci5sZW5ndGg7IGkrKykgewogICAgICAgICAgICBpZiAodG9rZW5Db2Rlc1thcnJbaV1dICE9PSBpKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgIH07CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-8-3"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS04LTQiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS04LTQuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgc2V0IGZ1bmN0aW9uIHdpdGhpbiBhbiBvYmplY3QsIGFjY2Vzc2VkIHZpYSBpbmRleGluZzogbmV3LCB2YXIsIGNhdGNoIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgdGVzdDAgPSAwLCB0ZXN0MSA9IDEsIHRlc3QyID0gMjsKICAgICAgICB2YXIgdG9rZW5Db2RlcyAgPSB7CiAgICAgICAgICAgIHNldCBuZXcodmFsdWUpewogICAgICAgICAgICAgICAgdGVzdDAgPSB2YWx1ZTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZ2V0IG5ldygpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QwOwogICAgICAgICAgICB9LAogICAgICAgICAgICBzZXQgdmFyKHZhbHVlKXsKICAgICAgICAgICAgICAgIHRlc3QxID0gdmFsdWU7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGdldCB2YXIoKXsKICAgICAgICAgICAgICAgIHJldHVybiB0ZXN0MTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgc2V0IGNhdGNoKHZhbHVlKXsKICAgICAgICAgICAgICAgIHRlc3QyID0gdmFsdWU7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGdldCBjYXRjaCgpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QyOwogICAgICAgICAgICB9CiAgICAgICAgfTsgCiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ25ldycsIAogICAgICAgICAgICAndmFyJywgCiAgICAgICAgICAgICdjYXRjaCcKICAgICAgICBdOwogICAgICAgIGZvciAodmFyIGkgPSAwOyBpIDwgYXJyLmxlbmd0aDsgaSsrKSB7CiAgICAgICAgICAgIGlmICh0b2tlbkNvZGVzW2FycltpXV0gIT09IGkpIHsKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfTsKICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-8-4"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS04LTUiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS04LTUuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgc2V0IGZ1bmN0aW9uIHdpdGhpbiBhbiBvYmplY3QsIGFjY2Vzc2VkIHZpYSBpbmRleGluZzogZmluYWxseSwgcmV0dXJuLCB2b2lkIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgdGVzdDAgPSAwLCB0ZXN0MSA9IDEsIHRlc3QyID0gMjsKICAgICAgICB2YXIgdG9rZW5Db2RlcyAgPSB7CiAgICAgICAgICAgIHNldCBmaW5hbGx5KHZhbHVlKXsKICAgICAgICAgICAgICAgIHRlc3QwID0gdmFsdWU7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGdldCBmaW5hbGx5KCl7CiAgICAgICAgICAgICAgICByZXR1cm4gdGVzdDA7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIHNldCByZXR1cm4odmFsdWUpewogICAgICAgICAgICAgICAgdGVzdDEgPSB2YWx1ZTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZ2V0IHJldHVybigpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QxOwogICAgICAgICAgICB9LAogICAgICAgICAgICBzZXQgdm9pZCh2YWx1ZSl7CiAgICAgICAgICAgICAgICB0ZXN0MiA9IHZhbHVlOwogICAgICAgICAgICB9LAogICAgICAgICAgICBnZXQgdm9pZCgpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QyOwogICAgICAgICAgICB9CiAgICAgICAgfTsgCiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ2ZpbmFsbHknLCAKICAgICAgICAgICAgJ3JldHVybicsIAogICAgICAgICAgICAndm9pZCcKICAgICAgICBdOwogICAgICAgIGZvciAodmFyIGkgPSAwOyBpIDwgYXJyLmxlbmd0aDsgaSsrKSB7CiAgICAgICAgICAgIGlmICh0b2tlbkNvZGVzW2FycltpXV0gIT09IGkpIHsKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfTsKICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-8-5"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS04LTYiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS04LTYuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgc2V0IGZ1bmN0aW9uIHdpdGhpbiBhbiBvYmplY3QsIGFjY2Vzc2VkIHZpYSBpbmRleGluZzogY29udGludWUsIGZvciwgc3dpdGNoIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgdGVzdDAgPSAwLCB0ZXN0MSA9IDEsIHRlc3QyID0gMjsKICAgICAgICB2YXIgdG9rZW5Db2RlcyAgPSB7CiAgICAgICAgICAgIHNldCBjb250aW51ZSh2YWx1ZSl7CiAgICAgICAgICAgICAgICB0ZXN0MCA9IHZhbHVlOwogICAgICAgICAgICB9LAogICAgICAgICAgICBnZXQgY29udGludWUoKXsKICAgICAgICAgICAgICAgIHJldHVybiB0ZXN0MDsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgc2V0IGZvcih2YWx1ZSl7CiAgICAgICAgICAgICAgICB0ZXN0MSA9IHZhbHVlOwogICAgICAgICAgICB9LAogICAgICAgICAgICBnZXQgZm9yKCl7CiAgICAgICAgICAgICAgICByZXR1cm4gdGVzdDE7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIHNldCBzd2l0Y2godmFsdWUpewogICAgICAgICAgICAgICAgdGVzdDIgPSB2YWx1ZTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZ2V0IHN3aXRjaCgpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QyOwogICAgICAgICAgICB9CiAgICAgICAgfTsgCiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ2NvbnRpbnVlJywgCiAgICAgICAgICAgICdmb3InLAogICAgICAgICAgICAnc3dpdGNoJwogICAgICAgIF07CiAgICAgICAgZm9yICh2YXIgaSA9IDA7IGkgPCBhcnIubGVuZ3RoOyBpKyspIHsKICAgICAgICAgICAgaWYgKHRva2VuQ29kZXNbYXJyW2ldXSAhPT0gaSkgewogICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICB9OwogICAgICAgIH0KICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7IHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"7.6.1-8-6"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS04LTciLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS04LTcuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgc2V0IGZ1bmN0aW9uIHdpdGhpbiBhbiBvYmplY3QsIGFjY2Vzc2VkIHZpYSBpbmRleGluZzogd2hpbGUsIGRlYnVnZ2VyLCBmdW5jdGlvbiIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRlc3QwID0gMCwgdGVzdDEgPSAxLCB0ZXN0MiA9IDI7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0gewogICAgICAgICAgICBzZXQgd2hpbGUodmFsdWUpewogICAgICAgICAgICAgICAgdGVzdDAgPSB2YWx1ZTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZ2V0IHdoaWxlKCl7CiAgICAgICAgICAgICAgICByZXR1cm4gdGVzdDAKICAgICAgICAgICAgfSwKICAgICAgICAgICAgc2V0IGRlYnVnZ2VyKHZhbHVlKXsKICAgICAgICAgICAgICAgIHRlc3QxID0gdmFsdWU7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGdldCBkZWJ1Z2dlcigpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QxOwogICAgICAgICAgICB9LAogICAgICAgICAgICBzZXQgZnVuY3Rpb24odmFsdWUpewogICAgICAgICAgICAgICAgdGVzdDIgPSB2YWx1ZTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZ2V0IGZ1bmN0aW9uKCl7CiAgICAgICAgICAgICAgICByZXR1cm4gdGVzdDI7CiAgICAgICAgICAgIH0KICAgICAgICB9OyAKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAnd2hpbGUnICwKICAgICAgICAgICAgJ2RlYnVnZ2VyJywgCiAgICAgICAgICAgICdmdW5jdGlvbicKICAgICAgICBdOwogICAgICAgIGZvciAodmFyIGkgPSAwOyBpIDwgYXJyLmxlbmd0aDsgaSsrKSB7CiAgICAgICAgICAgIGlmICh0b2tlbkNvZGVzW2FycltpXV0gIT09IGkpIHsKICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgfTsKICAgICAgICB9CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgeyByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.6.1-8-7"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS04LTgiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS04LTguanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgc2V0IGZ1bmN0aW9uIHdpdGhpbiBhbiBvYmplY3QsIGFjY2Vzc2VkIHZpYSBpbmRleGluZzogdGhpcywgd2l0aCwgZGVmYXVsdCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIHRlc3QwID0gMCwgdGVzdDEgPSAxLCB0ZXN0MiA9IDI7CiAgICAgICAgdmFyIHRva2VuQ29kZXMgID0gewogICAgICAgICAgICBzZXQgdGhpcyh2YWx1ZSl7CiAgICAgICAgICAgICAgICB0ZXN0MCA9IHZhbHVlOwogICAgICAgICAgICB9LAogICAgICAgICAgICBnZXQgdGhpcygpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QwOwogICAgICAgICAgICB9LAogICAgICAgICAgICBzZXQgd2l0aCh2YWx1ZSl7CiAgICAgICAgICAgICAgICB0ZXN0MSA9IHZhbHVlOwogICAgICAgICAgICB9LAogICAgICAgICAgICBnZXQgd2l0aCgpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QxOwogICAgICAgICAgICB9LAogICAgICAgICAgICBzZXQgZGVmYXVsdCh2YWx1ZSl7CiAgICAgICAgICAgICAgICB0ZXN0MiA9IHZhbHVlOwogICAgICAgICAgICB9LAogICAgICAgICAgICBnZXQgZGVmYXVsdCgpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QyOwogICAgICAgICAgICB9CiAgICAgICAgfTsgCiAgICAgICAgdmFyIGFyciA9IFsKICAgICAgICAgICAgJ3RoaXMnLCAKICAgICAgICAgICAgJ3dpdGgnLCAKICAgICAgICAgICAgJ2RlZmF1bHQnCiAgICAgICAgXTsKICAgICAgICBmb3IgKHZhciBpID0gMDsgaSA8IGFyci5sZW5ndGg7IGkrKykgewogICAgICAgICAgICBpZiAodG9rZW5Db2Rlc1thcnJbaV1dICE9PSBpKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgIH07CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-8-8"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjYuMS04LTkiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjA3LzcuNi83LjYuMS83LjYuMS04LTkuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiQWxsb3cgcmVzZXJ2ZWQgd29yZHMgYXMgcHJvcGVydHkgbmFtZXMgYnkgc2V0IGZ1bmN0aW9uIHdpdGhpbiBhbiBvYmplY3QsIGFjY2Vzc2VkIHZpYSBpbmRleGluZzogaWYsIHRocm93LCBkZWxldGUiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciB0ZXN0MCA9IDAsIHRlc3QxID0gMSwgdGVzdDIgPSAyOwogICAgICAgIHZhciB0b2tlbkNvZGVzICA9IHsKICAgICAgICAgICAgc2V0IGlmKHZhbHVlKXsKICAgICAgICAgICAgICAgIHRlc3QwID0gdmFsdWU7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGdldCBpZigpewogICAgICAgICAgICAgICAgcmV0dXJuIHRlc3QwOwogICAgICAgICAgICB9LAogICAgICAgICAgICBzZXQgdGhyb3codmFsdWUpewogICAgICAgICAgICAgICAgdGVzdDEgPSB2YWx1ZTsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgZ2V0IHRocm93KCl7CiAgICAgICAgICAgICAgICByZXR1cm4gdGVzdDEKICAgICAgICAgICAgfSwKICAgICAgICAgICAgc2V0IGRlbGV0ZSh2YWx1ZSl7CiAgICAgICAgICAgICAgICB0ZXN0MiA9IHZhbHVlOwogICAgICAgICAgICB9LAogICAgICAgICAgICBnZXQgZGVsZXRlKCl7CiAgICAgICAgICAgICAgICByZXR1cm4gdGVzdDI7CiAgICAgICAgICAgIH0KICAgICAgICB9OyAKICAgICAgICB2YXIgYXJyID0gWwogICAgICAgICAgICAnaWYnLCAKICAgICAgICAgICAgJ3Rocm93JywgCiAgICAgICAgICAgICdkZWxldGUnCiAgICAgICAgXTsKICAgICAgICBmb3IgKHZhciBpID0gMDsgaSA8IGFyci5sZW5ndGg7IGkrKykgewogICAgICAgICAgICBpZiAodG9rZW5Db2Rlc1thcnJbaV1dICE9PSBpKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgIH07CiAgICAgICAgfQogICAgICAgIHJldHVybiB0cnVlOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"7.6.1-8-9"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICI3LjguNS0xIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIwNy83LjgvNy44LjUvNy44LjUtMS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJMaXRlcmFsIFJlZ0V4cCBPYmplY3RzIC0gU3ludGF4RXJyb3IgZXhjZXB0aW9uIGlzIHRocm93biBpZiB0aGUgUmVndWxhckV4cHJlc3Npb25Ob25UZXJtaW5hdG9yIHBvc2l0aW9uIG9mIGEgUmVndWxhckV4cHJlc3Npb25CYWNrc2xhc2hTZXF1ZW5jZSBpcyBhIExpbmVUZXJtaW5hdG9yLiIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgZXZhbCgidmFyIHJlZ0V4cCA9IC9cXFxybi87Iik7CiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgIHJldHVybiBlIGluc3RhbmNlb2YgU3ludGF4RXJyb3I7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"7.8.5-1"}]}} \ No newline at end of file diff --git a/website/resources/scripts/testcases/chapter11.json b/website/resources/scripts/testcases/chapter11.json index 4a3db4b5c6..ae93cadb97 100644 --- a/website/resources/scripts/testcases/chapter11.json +++ b/website/resources/scripts/testcases/chapter11.json @@ -1 +1 @@ -{"testsCollection":{"name":"Chapter - chapter11","numTests":"66","tests":[{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxMS4xLjQtMCIsCgpwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxMS8xMS4xLzExLjEuNC8xMS4xLjQtMC5qcyIsCgpkZXNjcmlwdGlvbjogImVsZW1lbnRzIGVsaWRlZCBhdCB0aGUgZW5kIG9mIGFuIGFycmF5IGRvIG5vdCBjb250cmlidXRlIHRvIGl0cyBsZW5ndGgiLAoKdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgdmFyIGEgPSBbLF07CiAgaWYgKGEubGVuZ3RoID09PSAxKSB7CiAgICByZXR1cm4gdHJ1ZTsKICB9CiB9Cn0pOwo=","id":"11.1.4-0"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxMS4xLjRfNC01LTEiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjExLzExLjEvMTEuMS40LzExLjEuNF80LTUtMS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJJbml0aWFsaXplIGFycmF5IHVzaW5nIEVsZW1lbnRMaXN0IChFbGlzaW9ub3B0IEFzc2lnbm1lbnRFeHByZXNzaW9uKSB3aGVuIGluZGV4IHByb3BlcnR5IChyZWFkLW9ubHkpIGV4aXN0cyBpbiBBcnJheS5wcm90b3R5cGUgKHN0ZXAgNSkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShBcnJheS5wcm90b3R5cGUsICIwIiwgewogICAgICAgICAgICAgICAgdmFsdWU6IDEwMCwKICAgICAgICAgICAgICAgIHdyaXRhYmxlOiBmYWxzZSwKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICB9KTsKICAgICAgICAgICAgdmFyIGFyciA9IFsxMDFdOwoKICAgICAgICAgICAgcmV0dXJuIGFyci5oYXNPd25Qcm9wZXJ0eSgiMCIpICYmIGFyclswXSA9PT0gMTAxOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIGRlbGV0ZSBBcnJheS5wcm90b3R5cGVbMF07CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cg==","id":"11.1.4_4-5-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxMS4xLjRfNS02LTEiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjExLzExLjEvMTEuMS40LzExLjEuNF81LTYtMS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJJbml0aWFsaXplIGFycmF5IHVzaW5nIEVsZW1lbnRMaXN0IChFbGVtZW50TGlzdCAsIEVsaXNpb25vcHQgQXNzaWdubWVudEV4cHJlc3Npb24pIHdoZW4gaW5kZXggcHJvcGVydHkgKHJlYWQtb25seSkgZXhpc3RzIGluIEFycmF5LnByb3RvdHlwZSAoc3RlcCA2KSIsCiAgIAogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KEFycmF5LnByb3RvdHlwZSwgIjEiLCB7CiAgICAgICAgICAgICAgICB2YWx1ZTogMTAwLAogICAgICAgICAgICAgICAgd3JpdGFibGU6IGZhbHNlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICB2YXIgYXJyID0gWzEwMSwgMTJdOwoKICAgICAgICAgICAgcmV0dXJuIGFyci5oYXNPd25Qcm9wZXJ0eS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dC5kZWZpbmVQcm9wZXJ0eShPYmplY3QucHJvdG90eXBlLCAicHJvcCIsIHsKICAgICAgICAgICAgICAgIHZhbHVlOiAxMDAsCiAgICAgICAgICAgICAgICB3cml0YWJsZTogZmFsc2UsCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIHZhciBvYmogPSB7IHByb3A6IDEyIH07CgogICAgICAgICAgICByZXR1cm4gb2JqLmhhc093blByb3BlcnR5KCJwcm9wIikgJiYgb2JqLnByb3AgPT09IDEyOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIGRlbGV0ZSBPYmplY3QucHJvdG90eXBlLnByb3A7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cg==","id":"11.1.5_3-3-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxMS4xLjVfNC00LWEtMiIsCgpwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxMS8xMS4xLzExLjEuNS8xMS4xLjVfNC00LWEtMi5qcyIsCgpkZXNjcmlwdGlvbjogIk9iamVjdCBsaXRlcmFsIC0gRHVwbGljYXRlIGRhdGEgcHJvcGVydHkgbmFtZSBhbGxvd2VkIGlmIG5vdCBpbiBzdHJpY3QgbW9kZSIsCgp0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAKICBldmFsKCIoe2ZvbzowLGZvbzoxfSk7Iik7CiAgcmV0dXJuIHRydWU7CiAgfQoKfSk7Cg==","id":"11.1.5_4-4-a-2"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxMS4xLjVfNC00LWEtMyIsCgpwYXRoOiAiVGVzdENhc2VzL2NoYXB0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ZCA9PT0gZmFsc2UgJiYgZm5FeGlzdHMoZm9vKSkKICAgIHJldHVybiB0cnVlOwogfQp9KTsK","id":"11.4.1-5-3"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxMS44LjItMSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTEvMTEuOC8xMS44LjItMS5qcyIsCgogICAgZGVzY3JpcHRpb246ICIxMS44LjIgR3JlYXRlci10aGFuIE9wZXJhdG9yIC0gUGFydGlhbCBsZWZ0IHRvIHJpZ2h0IG9yZGVyIGVuZm9yY2VkIHdoZW4gdXNpbmcgR3JlYXRlci10aGFuIG9wZXJhdG9yOiB2YWx1ZU9mID4gdmFsdWVPZiIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIGFjY2Vzc2VkID0gZmFsc2U7CiAgICAgICAgdmFyIG9iajEgPSB7CiAgICAgICAgICAgIHZhbHVlT2Y6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgIGFjY2Vzc2VkID0gdHJ1ZTsKICAgICAgICAgICAgICAgIHJldHVybiAzOwogICAgICAgICAgICB9CiAgICAgICAgfTsKICAgICAgICB2YXIgb2JqMiA9IHsKICAgICAgICAgICAgdmFsdWVPZjogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgaWYgKGFjY2Vzc2VkID09PSB0cnVlKSB7CiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIDQ7CiAgICAgICAgICAgICAgICB9IGVsc2UgewogICAgICAgICAgICAgICAgICAgIHJldHVybiAyOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfTsKICAgICAgICByZXR1cm4gIShvYmoxID4gb2JqMik7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"11.8.2-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxMS44LjItMiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTEvMTEuOC8xMS44LjItMi5qcyIsCgogICAgZGVzY3JpcHRpb246ICIxMS44LjIgR3JlYXRlci10aGFuIE9wZXJhdG9yIC0gUGFydGlhbCBsZWZ0IHRvIHJpZ2h0IG9yZGVyIGVuZm9yY2VkIHdoZW4gdXNpbmcgR3JlYXRlci10aGFuIG9wZXJhdG9yOiB2YWx1ZU9mID4gdG9TdHJpbmciLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBhY2Nlc3NlZCA9IGZhbHNlOwogICAgICAgIHZhciBvYmoxID0gewogICAgICAgICAgICB2YWx1ZU9mOiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICBhY2Nlc3NlZCA9IHRydWU7CiAgICAgICAgICAgICAgICByZXR1cm4gMzsKICAgICAgICAgICAgfQogICAgICAgIH07CiAgICAgICAgdmFyIG9iajIgPSB7CiAgICAgICAgICAgIHRvU3RyaW5nOiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICBpZiAoYWNjZXNzZWQgPT09IHRydWUpIHsKICAgICAgICAgICAgICAgICAgICByZXR1cm4gNDsKICAgICAgICAgICAgICAgIH0gZWxzZSB7CiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIDI7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICB9OwogICAgICAgIHJldHVybiAhKG9iajEgPiBvYmoyKTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"11.8.2-2"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxMS44LjItMyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTEvMTEuOC8xMS44LjItMy5qcyIsCgogICAgZGVzY3JpcHRpb246ICIxMS44LjIgR3JlYXRlci10aGFuIE9wZXJhdG9yIC0gUGFydGlhbCBsZWZ0IHRvIHJpZ2h0IG9yZGVyIGVuZm9yY2VkIHdoZW4gdXNpbmcgR3JlYXRlci10aGFuIG9wZXJhdG9yOiB0b1N0cmluZyA+IHZhbHVlT2YiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBhY2Nlc3NlZCA9IGZhbHNlOwogICAgICAgIHZhciBvYmoxID0gewogICAgICAgICAgICB0b1N0cmluZzogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgYWNjZXNzZWQgPSB0cnVlOwogICAgICAgICAgICAgICAgcmV0dXJuIDM7CiAgICAgICAgICAgIH0KICAgICAgICB9OwogICAgICAgIHZhciBvYmoyID0gewogICAgICAgICAgICB2YWx1ZU9mOiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICBpZiAoYWNjZXNzZWQgPT09IHRydWUpIHsKICAgICAgICAgICAgICAgICAgICByZXR1cm4gNDsKICAgICAgICAgICAgICAgIH0gZWxzZSB7CiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIDI7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICB9OwogICAgICAgIHJldHVybiAhKG9iajEgPiBvYmoyKTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"11.8.2-3"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxMS44LjItNCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTEvMTEuOC8xMS44LjItNC5qcyIsCgogICAgZGVzY3JpcHRpb246ICIxMS44LjIgR3JlYXRlci10aGFuIE9wZXJhdG9yIC0gUGFydGlhbCBsZWZ0IHRvIHJpZ2h0IG9yZGVyIGVuZm9yY2VkIHdoZW4gdXNpbmcgR3JlYXRlci10aGFuIG9wZXJhdG9yOiB0b1N0cmluZyA+IHRvU3RyaW5nIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgYWNjZXNzZWQgPSBmYWxzZTsKICAgICAgICB2YXIgb2JqMSA9IHsKICAgICAgICAgICAgdG9TdHJpbmc6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgIGFjY2Vzc2VkID0gdHJ1ZTsKICAgICAgICAgICAgICAgIHJldHVybiAzOwogICAgICAgICAgICB9CiAgICAgICAgfTsKICAgICAgICB2YXIgb2JqMiA9IHsKICAgICAgICAgICAgdG9TdHJpbmc6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgIGlmIChhY2Nlc3NlZCA9PT0gdHJ1ZSkgewogICAgICAgICAgICAgICAgICAgIHJldHVybiA0OwogICAgICAgICAgICAgICAgfSBlbHNlIHsKICAgICAgICAgICAgICAgICAgICByZXR1cm4gMjsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgIH07CiAgICAgICAgcmV0dXJuICEob2JqMSA+IG9iajIpOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"11.8.2-4"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxMS44LjMtMSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTEvMTEuOC8xMS44LjItMS5qcyIsCgogICAgZGVzY3JpcHRpb246ICIxMS44LjMgTGVzcy10aGFuLW9yLWVxdWFsIE9wZXJhdG9yIC0gUGFydGlhbCBsZWZ0IHRvIHJpZ2h0IG9yZGVyIGVuZm9yY2VkIHdoZW4gdXNpbmcgTGVzcy10aGFuLW9yLWVxdWFsIG9wZXJhdG9yOiB2YWx1ZU9mIDw9IHZhbHVlT2YiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBhY2Nlc3NlZCA9IGZhbHNlOwogICAgICAgIHZhciBvYmoxID0gewogICAgICAgICAgICB2YWx1ZU9mOiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICBhY2Nlc3NlZCA9IHRydWU7CiAgICAgICAgICAgICAgICByZXR1cm4gMzsKICAgICAgICAgICAgfQogICAgICAgIH07CiAgICAgICAgdmFyIG9iajIgPSB7CiAgICAgICAgICAgIHZhbHVlT2Y6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgIGlmIChhY2Nlc3NlZCA9PT0gdHJ1ZSkgewogICAgICAgICAgICAgICAgICAgIHJldHVybiA0OwogICAgICAgICAgICAgICAgfSBlbHNlIHsKICAgICAgICAgICAgICAgICAgICByZXR1cm4gMjsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgIH07CiAgICAgICAgcmV0dXJuIChvYmoxIDw9IG9iajIpOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"11.8.3-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxMS44LjMtMiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTEvMTEuOC8xMS44LjMtMi5qcyIsCgogICAgZGVzY3JpcHRpb246ICIxMS44LjMgTGVzcy10aGFuLW9yLWVxdWFsIE9wZXJhdG9yIC0gUGFydGlhbCBsZWZ0IHRvIHJpZ2h0IG9yZGVyIGVuZm9yY2VkIHdoZW4gdXNpbmcgTGVzcy10aGFuLW9yLWVxdWFsIG9wZXJhdG9yOiB2YWx1ZU9mIDw9IHRvU3RyaW5nIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgYWNjZXNzZWQgPSBmYWxzZTsKICAgICAgICB2YXIgb2JqMSA9IHsKICAgICAgICAgICAgdmFsdWVPZjogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgYWNjZXNzZWQgPSB0cnVlOwogICAgICAgICAgICAgICAgcmV0dXJuIDM7CiAgICAgICAgICAgIH0KICAgICAgICB9OwogICAgICAgIHZhciBvYmoyID0gewogICAgICAgICAgICB0b1N0cmluZzogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgaWYgKGFjY2Vzc2VkID09PSB0cnVlKSB7CiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIDQ7CiAgICAgICAgICAgICAgICB9IGVsc2UgewogICAgICAgICAgICAgICAgICAgIHJldHVybiAyOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfTsKICAgICAgICByZXR1cm4gKG9iajEgPD0gb2JqMik7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"11.8.3-2"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxMS44LjMtMyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTEvMTEuOC8xMS44LjMtMy5qcyIsCgogICAgZGVzY3JpcHRpb246ICIxMS44LjMgTGVzcy10aGFuLW9yLWVxdWFsIE9wZXJhdG9yIC0gUGFydGlhbCBsZWZ0IHRvIHJpZ2h0IG9yZGVyIGVuZm9yY2VkIHdoZW4gdXNpbmcgTGVzcy10aGFuLW9yLWVxdWFsIG9wZXJhdG9yOiB0b1N0cmluZyA8PSB2YWx1ZU9mIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgYWNjZXNzZWQgPSBmYWxzZTsKICAgICAgICB2YXIgb2JqMSA9IHsKICAgICAgICAgICAgdG9TdHJpbmc6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgIGFjY2Vzc2VkID0gdHJ1ZTsKICAgICAgICAgICAgICAgIHJldHVybiAzOwogICAgICAgICAgICB9CiAgICAgICAgfTsKICAgICAgICB2YXIgb2JqMiA9IHsKICAgICAgICAgICAgdmFsdWVPZjogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgaWYgKGFjY2Vzc2VkID09PSB0cnVlKSB7CiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIDQ7CiAgICAgICAgICAgICAgICB9IGVsc2UgewogICAgICAgICAgICAgICAgICAgIHJldHVybiAyOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfTsKICAgICAgICByZXR1cm4gKG9iajEgPD0gb2JqMik7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"11.8.3-3"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxMS44LjMtNCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTEvMTEuOC8xMS44LjMtNC5qcyIsCgogICAgZGVzY3JpcHRpb246ICIxMS44LjMgTGVzcy10aGFuLW9yLWVxdWFsIE9wZXJhdG9yIC0gUGFydGlhbCBsZWZ0IHRvIHJpZ2h0IG9yZGVyIGVuZm9yY2VkIHdoZW4gdXNpbmcgTGVzcy10aGFuLW9yLWVxdWFsIG9wZXJhdG9yOiB0b1N0cmluZyA8PSB0b1N0cmluZyIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIGFjY2Vzc2VkID0gZmFsc2U7CiAgICAgICAgdmFyIG9iajEgPSB7CiAgICAgICAgICAgIHRvU3RyaW5nOiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICBhY2Nlc3NlZCA9IHRydWU7CiAgICAgICAgICAgICAgICByZXR1cm4gMzsKICAgICAgICAgICAgfQogICAgICAgIH07CiAgICAgICAgdmFyIG9iajIgPSB7CiAgICAgICAgICAgIHRvU3RyaW5nOiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICBpZiAoYWNjZXNzZWQgPT09IHRydWUpIHsKICAgICAgICAgICAgICAgICAgICByZXR1cm4gNDsKICAgICAgICAgICAgICAgIH0gZWxzZSB7CiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIDI7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICB9OwogICAgICAgIHJldHVybiAob2JqMSA8PSBvYmoyKTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"11.8.3-4"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxMS44LjMtNSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTEvMTEuOC8xMS44LjMtNS5qcyIsCgogICAgZGVzY3JpcHRpb246ICIxMS44LjMgTGVzcy10aGFuLW9yLWVxdWFsIE9wZXJhdG9yIC0gUGFydGlhbCBsZWZ0IHRvIHJpZ2h0IG9yZGVyIGVuZm9yY2VkIHdoZW4gdXNpbmcgTGVzcy10aGFuLW9yLWVxdWFsIG9wZXJhdG9yOiB2YWx1ZU9mIDw9IHZhbHVlT2YiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBhY2Nlc3NlZCA9IGZhbHNlOwogICAgICAgIHZhciBvYmoxID0gewogICAgICAgICAgICB2YWx1ZU9mOiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICBhY2Nlc3NlZCA9IHRydWU7CiAgICAgICAgICAgICAgICByZXR1cm4gMzsKICAgICAgICAgICAgfQogICAgICAgIH07CiAgICAgICAgdmFyIG9iajIgPSB7CiAgICAgICAgICAgIHZhbHVlT2Y6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgIGlmIChhY2Nlc3NlZCA9PT0gdHJ1ZSkgewogICAgICAgICAgICAgICAgICAgIHJldHVybiAzOwogICAgICAgICAgICAgICAgfSBlbHNlIHsKICAgICAgICAgICAgICAgICAgICByZXR1cm4gMjsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgIH07CiAgICAgICAgcmV0dXJuIChvYmoxIDw9IG9iajIpOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"11.8.3-5"}]}} \ No newline at end of file +{"testsCollection":{"name":"Chapter - chapter11","numTests":"66","tests":[{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxMS4xLjQtMCIsCgpwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxMS8xMS4xLzExLjEuNC8xMS4xLjQtMC5qcyIsCgpkZXNjcmlwdGlvbjogImVsZW1lbnRzIGVsaWRlZCBhdCB0aGUgZW5kIG9mIGFuIGFycmF5IGRvIG5vdCBjb250cmlidXRlIHRvIGl0cyBsZW5ndGgiLAoKdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgdmFyIGEgPSBbLF07CiAgaWYgKGEubGVuZ3RoID09PSAxKSB7CiAgICByZXR1cm4gdHJ1ZTsKICB9CiB9Cn0pOwo=","id":"11.1.4-0"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxMS4xLjRfNC01LTEiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjExLzExLjEvMTEuMS40LzExLjEuNF80LTUtMS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJJbml0aWFsaXplIGFycmF5IHVzaW5nIEVsZW1lbnRMaXN0IChFbGlzaW9ub3B0IEFzc2lnbm1lbnRFeHByZXNzaW9uKSB3aGVuIGluZGV4IHByb3BlcnR5IChyZWFkLW9ubHkpIGV4aXN0cyBpbiBBcnJheS5wcm90b3R5cGUgKHN0ZXAgNSkiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShBcnJheS5wcm90b3R5cGUsICIwIiwgewogICAgICAgICAgICAgICAgdmFsdWU6IDEwMCwKICAgICAgICAgICAgICAgIHdyaXRhYmxlOiBmYWxzZSwKICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQogICAgICAgICAgICB9KTsKICAgICAgICAgICAgdmFyIGFyciA9IFsxMDFdOwoKICAgICAgICAgICAgcmV0dXJuIGFyci5oYXNPd25Qcm9wZXJ0eSgiMCIpICYmIGFyclswXSA9PT0gMTAxOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIGRlbGV0ZSBBcnJheS5wcm90b3R5cGVbMF07CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cg==","id":"11.1.4_4-5-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxMS4xLjRfNS02LTEiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjExLzExLjEvMTEuMS40LzExLjEuNF81LTYtMS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJJbml0aWFsaXplIGFycmF5IHVzaW5nIEVsZW1lbnRMaXN0IChFbGVtZW50TGlzdCAsIEVsaXNpb25vcHQgQXNzaWdubWVudEV4cHJlc3Npb24pIHdoZW4gaW5kZXggcHJvcGVydHkgKHJlYWQtb25seSkgZXhpc3RzIGluIEFycmF5LnByb3RvdHlwZSAoc3RlcCA2KSIsCiAgIAogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KEFycmF5LnByb3RvdHlwZSwgIjEiLCB7CiAgICAgICAgICAgICAgICB2YWx1ZTogMTAwLAogICAgICAgICAgICAgICAgd3JpdGFibGU6IGZhbHNlLAogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlCiAgICAgICAgICAgIH0pOwogICAgICAgICAgICB2YXIgYXJyID0gWzEwMSwgMTJdOwoKICAgICAgICAgICAgcmV0dXJuIGFyci5oYXNPd25Qcm9wZXJ0eSgiMSIpICYmIGFyclsxXSA9PT0gMTI7CiAgICAgICAgfSBmaW5hbGx5IHsKICAgICAgICAgICAgZGVsZXRlIEFycmF5LnByb3RvdHlwZVsxXTsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOwogICAgfQp9KTsK","id":"11.1.4_5-6-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxMS4xLjUtMC0xIiwKCnBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjExLzExLjEvMTEuMS41LzExLjEuNS0wLTEuanMiLAoKZGVzY3JpcHRpb246ICJPYmplY3QgbGl0ZXJhbCAtIGdldCBzZXQgcHJvcGVydHkiLAoKdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgdmFyIHMxID0gIkluIGdldHRlciI7CiAgdmFyIHM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NldHRlciIpCiAgICByZXR1cm4gZmFsc2U7CiAgcmV0dXJuIHRydWU7CiB9Cn0pOwo=","id":"11.1.5-0-2"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxMS4xLjVfMy0zLTEiLAoKICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjExLzExLjEvMTEuMS41LzExLjEuNV8zLTMtMS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJPYmplY3QgaW5pdGlhbGl6YXRpb24gdXNpbmcgUHJvcGVydHlOYW1lQW5kVmFsdWVMaXN0IChQcm9wZXJ0eUFzc2lnbm1lbnQpIHdoZW4gcHJvcGVydHkgKHJlYWQtb25seSkgZXhpc3RzIGluIE9iamVjdC5wcm90b3R5cGUgKHN0ZXAgMykiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHRyeSB7CiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShPYmplY3QucHJvdG90eXBlLCAicHJvcCIsIHsKICAgICAgICAgICAgICAgIHZhbHVlOiAxMDAsCiAgICAgICAgICAgICAgICB3cml0YWJsZTogZmFsc2UsCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUKICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIHZhciBvYmogPSB7IHByb3A6IDEyIH07CgogICAgICAgICAgICByZXR1cm4gb2JqLmhhc093blByb3BlcnR5KCJwcm9wIikgJiYgb2JqLnByb3AgPT09IDEyOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIGRlbGV0ZSBPYmplY3QucHJvdG90eXBlLnByb3A7CiAgICAgICAgfQogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LmRlZmluZVByb3BlcnR5KTsKICAgIH0KfSk7Cg==","id":"11.1.5_3-3-1"},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W5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICBhY2Nlc3NlZCA9IHRydWU7CiAgICAgICAgICAgICAgICByZXR1cm4gMzsKICAgICAgICAgICAgfQogICAgICAgIH07CiAgICAgICAgdmFyIG9iajIgPSB7CiAgICAgICAgICAgIHZhbHVlT2Y6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgIGlmIChhY2Nlc3NlZCA9PT0gdHJ1ZSkgewogICAgICAgICAgICAgICAgICAgIHJldHVybiA0OwogICAgICAgICAgICAgICAgfSBlbHNlIHsKICAgICAgICAgICAgICAgICAgICByZXR1cm4gMjsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgIH07CiAgICAgICAgcmV0dXJuICEob2JqMSA+IG9iajIpOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"11.8.2-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxMS44LjItMiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTEvMTEuOC8xMS44LjIvMTEuOC4yLTIuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiMTEuOC4yIEdyZWF0ZXItdGhhbiBPcGVyYXRvciAtIFBhcnRpYWwgbGVmdCB0byByaWdodCBvcmRlciBlbmZvcmNlZCB3aGVuIHVzaW5nIEdyZWF0ZXItdGhhbiBvcGVyYXRvcjogdmFsdWVPZiA+IHRvU3RyaW5nIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgYWNjZXNzZWQgPSBmYWxzZTsKICAgICAgICB2YXIgb2JqMSA9IHsKICAgICAgICAgICAgdmFsdWVPZjogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgYWNjZXNzZWQgPSB0cnVlOwogICAgICAgICAgICAgICAgcmV0dXJuIDM7CiAgICAgICAgICAgIH0KICAgICAgICB9OwogICAgICAgIHZhciBvYmoyID0gewogICAgICAgICAgICB0b1N0cmluZzogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgaWYgKGFjY2Vzc2VkID09PSB0cnVlKSB7CiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIDQ7CiAgICAgICAgICAgICAgICB9IGVsc2UgewogICAgICAgICAgICAgICAgICAgIHJldHVybiAyOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfTsKICAgICAgICByZXR1cm4gIShvYmoxID4gb2JqMik7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"11.8.2-2"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxMS44LjItMyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTEvMTEuOC8xMS44LjIvMTEuOC4yLTMuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiMTEuOC4yIEdyZWF0ZXItdGhhbiBPcGVyYXRvciAtIFBhcnRpYWwgbGVmdCB0byByaWdodCBvcmRlciBlbmZvcmNlZCB3aGVuIHVzaW5nIEdyZWF0ZXItdGhhbiBvcGVyYXRvcjogdG9TdHJpbmcgPiB2YWx1ZU9mIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgYWNjZXNzZWQgPSBmYWxzZTsKICAgICAgICB2YXIgb2JqMSA9IHsKICAgICAgICAgICAgdG9TdHJpbmc6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgIGFjY2Vzc2VkID0gdHJ1ZTsKICAgICAgICAgICAgICAgIHJldHVybiAzOwogICAgICAgICAgICB9CiAgICAgICAgfTsKICAgICAgICB2YXIgb2JqMiA9IHsKICAgICAgICAgICAgdmFsdWVPZjogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgaWYgKGFjY2Vzc2VkID09PSB0cnVlKSB7CiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIDQ7CiAgICAgICAgICAgICAgICB9IGVsc2UgewogICAgICAgICAgICAgICAgICAgIHJldHVybiAyOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfTsKICAgICAgICByZXR1cm4gIShvYmoxID4gb2JqMik7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"11.8.2-3"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxMS44LjItNCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTEvMTEuOC8xMS44LjIvMTEuOC4yLTQuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiMTEuOC4yIEdyZWF0ZXItdGhhbiBPcGVyYXRvciAtIFBhcnRpYWwgbGVmdCB0byByaWdodCBvcmRlciBlbmZvcmNlZCB3aGVuIHVzaW5nIEdyZWF0ZXItdGhhbiBvcGVyYXRvcjogdG9TdHJpbmcgPiB0b1N0cmluZyIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIGFjY2Vzc2VkID0gZmFsc2U7CiAgICAgICAgdmFyIG9iajEgPSB7CiAgICAgICAgICAgIHRvU3RyaW5nOiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICBhY2Nlc3NlZCA9IHRydWU7CiAgICAgICAgICAgICAgICByZXR1cm4gMzsKICAgICAgICAgICAgfQogICAgICAgIH07CiAgICAgICAgdmFyIG9iajIgPSB7CiAgICAgICAgICAgIHRvU3RyaW5nOiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICBpZiAoYWNjZXNzZWQgPT09IHRydWUpIHsKICAgICAgICAgICAgICAgICAgICByZXR1cm4gNDsKICAgICAgICAgICAgICAgIH0gZWxzZSB7CiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIDI7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICB9OwogICAgICAgIHJldHVybiAhKG9iajEgPiBvYmoyKTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"11.8.2-4"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxMS44LjMtMSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTEvMTEuOC8xMS44LjMvMTEuOC4zLTEuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiMTEuOC4zIExlc3MtdGhhbi1vci1lcXVhbCBPcGVyYXRvciAtIFBhcnRpYWwgbGVmdCB0byByaWdodCBvcmRlciBlbmZvcmNlZCB3aGVuIHVzaW5nIExlc3MtdGhhbi1vci1lcXVhbCBvcGVyYXRvcjogdmFsdWVPZiA8PSB2YWx1ZU9mIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgYWNjZXNzZWQgPSBmYWxzZTsKICAgICAgICB2YXIgb2JqMSA9IHsKICAgICAgICAgICAgdmFsdWVPZjogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgYWNjZXNzZWQgPSB0cnVlOwogICAgICAgICAgICAgICAgcmV0dXJuIDM7CiAgICAgICAgICAgIH0KICAgICAgICB9OwogICAgICAgIHZhciBvYmoyID0gewogICAgICAgICAgICB2YWx1ZU9mOiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICBpZiAoYWNjZXNzZWQgPT09IHRydWUpIHsKICAgICAgICAgICAgICAgICAgICByZXR1cm4gNDsKICAgICAgICAgICAgICAgIH0gZWxzZSB7CiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIDI7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICB9OwogICAgICAgIHJldHVybiAob2JqMSA8PSBvYmoyKTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"11.8.3-1"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxMS44LjMtMiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTEvMTEuOC8xMS44LjMvMTEuOC4zLTIuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiMTEuOC4zIExlc3MtdGhhbi1vci1lcXVhbCBPcGVyYXRvciAtIFBhcnRpYWwgbGVmdCB0byByaWdodCBvcmRlciBlbmZvcmNlZCB3aGVuIHVzaW5nIExlc3MtdGhhbi1vci1lcXVhbCBvcGVyYXRvcjogdmFsdWVPZiA8PSB0b1N0cmluZyIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIGFjY2Vzc2VkID0gZmFsc2U7CiAgICAgICAgdmFyIG9iajEgPSB7CiAgICAgICAgICAgIHZhbHVlT2Y6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgIGFjY2Vzc2VkID0gdHJ1ZTsKICAgICAgICAgICAgICAgIHJldHVybiAzOwogICAgICAgICAgICB9CiAgICAgICAgfTsKICAgICAgICB2YXIgb2JqMiA9IHsKICAgICAgICAgICAgdG9TdHJpbmc6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgIGlmIChhY2Nlc3NlZCA9PT0gdHJ1ZSkgewogICAgICAgICAgICAgICAgICAgIHJldHVybiA0OwogICAgICAgICAgICAgICAgfSBlbHNlIHsKICAgICAgICAgICAgICAgICAgICByZXR1cm4gMjsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgIH07CiAgICAgICAgcmV0dXJuIChvYmoxIDw9IG9iajIpOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"11.8.3-2"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxMS44LjMtMyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTEvMTEuOC8xMS44LjMvMTEuOC4zLTMuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiMTEuOC4zIExlc3MtdGhhbi1vci1lcXVhbCBPcGVyYXRvciAtIFBhcnRpYWwgbGVmdCB0byByaWdodCBvcmRlciBlbmZvcmNlZCB3aGVuIHVzaW5nIExlc3MtdGhhbi1vci1lcXVhbCBvcGVyYXRvcjogdG9TdHJpbmcgPD0gdmFsdWVPZiIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIGFjY2Vzc2VkID0gZmFsc2U7CiAgICAgICAgdmFyIG9iajEgPSB7CiAgICAgICAgICAgIHRvU3RyaW5nOiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICBhY2Nlc3NlZCA9IHRydWU7CiAgICAgICAgICAgICAgICByZXR1cm4gMzsKICAgICAgICAgICAgfQogICAgICAgIH07CiAgICAgICAgdmFyIG9iajIgPSB7CiAgICAgICAgICAgIHZhbHVlT2Y6IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgIGlmIChhY2Nlc3NlZCA9PT0gdHJ1ZSkgewogICAgICAgICAgICAgICAgICAgIHJldHVybiA0OwogICAgICAgICAgICAgICAgfSBlbHNlIHsKICAgICAgICAgICAgICAgICAgICByZXR1cm4gMjsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgIH07CiAgICAgICAgcmV0dXJuIChvYmoxIDw9IG9iajIpOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0KfSk7Cg==","id":"11.8.3-3"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxMS44LjMtNCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTEvMTEuOC8xMS44LjMvMTEuOC4zLTQuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiMTEuOC4zIExlc3MtdGhhbi1vci1lcXVhbCBPcGVyYXRvciAtIFBhcnRpYWwgbGVmdCB0byByaWdodCBvcmRlciBlbmZvcmNlZCB3aGVuIHVzaW5nIExlc3MtdGhhbi1vci1lcXVhbCBvcGVyYXRvcjogdG9TdHJpbmcgPD0gdG9TdHJpbmciLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBhY2Nlc3NlZCA9IGZhbHNlOwogICAgICAgIHZhciBvYmoxID0gewogICAgICAgICAgICB0b1N0cmluZzogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgYWNjZXNzZWQgPSB0cnVlOwogICAgICAgICAgICAgICAgcmV0dXJuIDM7CiAgICAgICAgICAgIH0KICAgICAgICB9OwogICAgICAgIHZhciBvYmoyID0gewogICAgICAgICAgICB0b1N0cmluZzogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgaWYgKGFjY2Vzc2VkID09PSB0cnVlKSB7CiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIDQ7CiAgICAgICAgICAgICAgICB9IGVsc2UgewogICAgICAgICAgICAgICAgICAgIHJldHVybiAyOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfTsKICAgICAgICByZXR1cm4gKG9iajEgPD0gb2JqMik7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiB0cnVlOwogICAgfQp9KTsK","id":"11.8.3-4"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxMS44LjMtNSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTEvMTEuOC8xMS44LjMvMTEuOC4zLTUuanMiLAoKICAgIGRlc2NyaXB0aW9uOiAiMTEuOC4zIExlc3MtdGhhbi1vci1lcXVhbCBPcGVyYXRvciAtIFBhcnRpYWwgbGVmdCB0byByaWdodCBvcmRlciBlbmZvcmNlZCB3aGVuIHVzaW5nIExlc3MtdGhhbi1vci1lcXVhbCBvcGVyYXRvcjogdmFsdWVPZiA8PSB2YWx1ZU9mIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgYWNjZXNzZWQgPSBmYWxzZTsKICAgICAgICB2YXIgb2JqMSA9IHsKICAgICAgICAgICAgdmFsdWVPZjogZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgYWNjZXNzZWQgPSB0cnVlOwogICAgICAgICAgICAgICAgcmV0dXJuIDM7CiAgICAgICAgICAgIH0KICAgICAgICB9OwogICAgICAgIHZhciBvYmoyID0gewogICAgICAgICAgICB2YWx1ZU9mOiBmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICBpZiAoYWNjZXNzZWQgPT09IHRydWUpIHsKICAgICAgICAgICAgICAgICAgICByZXR1cm4gMzsKICAgICAgICAgICAgICAgIH0gZWxzZSB7CiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIDI7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICB9OwogICAgICAgIHJldHVybiAob2JqMSA8PSBvYmoyKTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9Cn0pOwo=","id":"11.8.3-5"}]}} \ No newline at end of file diff --git a/website/resources/scripts/testcases/testcaseslist.json b/website/resources/scripts/testcases/testcaseslist.json index d9f844130b..efbd3691e0 100644 --- a/website/resources/scripts/testcases/testcaseslist.json +++ b/website/resources/scripts/testcases/testcaseslist.json @@ -1 +1 @@ -{"date":"2011-03-23","numTests":10440,"testSuite":["resources/scripts/testcases/07_Lexical_Conventions.json","resources/scripts/testcases/08_Types.json","resources/scripts/testcases/09_Type_Conversion.json","resources/scripts/testcases/10_Execution_Contexts.json","resources/scripts/testcases/11.10_Binary_Bitwise_Operators.json","resources/scripts/testcases/11.11_Binary_Logical_Operators.json","resources/scripts/testcases/11.12_Conditional_Operator.json","resources/scripts/testcases/11.13_Assignment_Operators.json","resources/scripts/testcases/11.14_Comma_Operator.json","resources/scripts/testcases/11.1_Primary_Expressions.json","resources/scripts/testcases/11.2_Left_Hand_Side_Expressions.json","resources/scripts/testcases/11.3_PostfixExpressions.json","resources/scripts/testcases/11.4_Unary_Operators.json","resources/scripts/testcases/11.5_Multiplicative_Operators.json","resources/scripts/testcases/11.6_Additive_Operators.json","resources/scripts/testcases/11.7_Bitwise_Shift_Operators.json","resources/scripts/testcases/11.8_Relational_Operators.json","resources/scripts/testcases/11.9_Equality_Operators.json","resources/scripts/testcases/12_Statement.json","resources/scripts/testcases/13_Function_Definition.json","resources/scripts/testcases/14_Program.json","resources/scripts/testcases/15.10_RegExp_Objects.json","resources/scripts/testcases/15.11_Error_Objects.json","resources/scripts/testcases/15.1_The_Global_Object.json","resources/scripts/testcases/15.2_Object_Objects.json","resources/scripts/testcases/15.3_Function_Objects.json","resources/scripts/testcases/15.4_Array_Objects.json","resources/scripts/testcases/15.5_String_Objects.json","resources/scripts/testcases/15.6_Boolean_Objects.json","resources/scripts/testcases/15.7_Number_Objects.json","resources/scripts/testcases/15.8_The_Math_Object.json","resources/scripts/testcases/15.9_Date_Objects.json","resources/scripts/testcases/chapter07.json","resources/scripts/testcases/chapter10.json","resources/scripts/testcases/chapter11.json","resources/scripts/testcases/chapter12.json","resources/scripts/testcases/chapter13.json","resources/scripts/testcases/15.1.json","resources/scripts/testcases/15.10.json","resources/scripts/testcases/15.11.json","resources/scripts/testcases/15.12.json","resources/scripts/testcases/15.2.3.1.json","resources/scripts/testcases/15.2.3.10.json","resources/scripts/testcases/15.2.3.11.json","resources/scripts/testcases/15.2.3.12.json","resources/scripts/testcases/15.2.3.13.json","resources/scripts/testcases/15.2.3.14.json","resources/scripts/testcases/15.2.3.2.json","resources/scripts/testcases/15.2.3.3.json","resources/scripts/testcases/15.2.3.4.json","resources/scripts/testcases/15.2.3.5.json","resources/scripts/testcases/15.2.3.6.json","resources/scripts/testcases/15.2.3.7.json","resources/scripts/testcases/15.2.3.8.json","resources/scripts/testcases/15.2.3.9.json","resources/scripts/testcases/15.2.4.json","resources/scripts/testcases/15.3.json","resources/scripts/testcases/15.4.3.json","resources/scripts/testcases/15.4.4.10.json","resources/scripts/testcases/15.4.4.12.json","resources/scripts/testcases/15.4.4.14.json","resources/scripts/testcases/15.4.4.15.json","resources/scripts/testcases/15.4.4.16.json","resources/scripts/testcases/15.4.4.17.json","resources/scripts/testcases/15.4.4.18.json","resources/scripts/testcases/15.4.4.19.json","resources/scripts/testcases/15.4.4.20.json","resources/scripts/testcases/15.4.4.21.json","resources/scripts/testcases/15.4.4.22.json","resources/scripts/testcases/15.4.4.4.json","resources/scripts/testcases/15.4.5.json","resources/scripts/testcases/15.5.json","resources/scripts/testcases/15.7.json","resources/scripts/testcases/15.9.json"],"version":"0.6.2"} \ No newline at end of file +{"date":"2011-03-30","numTests":10440,"testSuite":["resources/scripts/testcases/07_Lexical_Conventions.json","resources/scripts/testcases/08_Types.json","resources/scripts/testcases/09_Type_Conversion.json","resources/scripts/testcases/10_Execution_Contexts.json","resources/scripts/testcases/11.10_Binary_Bitwise_Operators.json","resources/scripts/testcases/11.11_Binary_Logical_Operators.json","resources/scripts/testcases/11.12_Conditional_Operator.json","resources/scripts/testcases/11.13_Assignment_Operators.json","resources/scripts/testcases/11.14_Comma_Operator.json","resources/scripts/testcases/11.1_Primary_Expressions.json","resources/scripts/testcases/11.2_Left_Hand_Side_Expressions.json","resources/scripts/testcases/11.3_PostfixExpressions.json","resources/scripts/testcases/11.4_Unary_Operators.json","resources/scripts/testcases/11.5_Multiplicative_Operators.json","resources/scripts/testcases/11.6_Additive_Operators.json","resources/scripts/testcases/11.7_Bitwise_Shift_Operators.json","resources/scripts/testcases/11.8_Relational_Operators.json","resources/scripts/testcases/11.9_Equality_Operators.json","resources/scripts/testcases/12_Statement.json","resources/scripts/testcases/13_Function_Definition.json","resources/scripts/testcases/14_Program.json","resources/scripts/testcases/15.10_RegExp_Objects.json","resources/scripts/testcases/15.11_Error_Objects.json","resources/scripts/testcases/15.1_The_Global_Object.json","resources/scripts/testcases/15.2_Object_Objects.json","resources/scripts/testcases/15.3_Function_Objects.json","resources/scripts/testcases/15.4_Array_Objects.json","resources/scripts/testcases/15.5_String_Objects.json","resources/scripts/testcases/15.6_Boolean_Objects.json","resources/scripts/testcases/15.7_Number_Objects.json","resources/scripts/testcases/15.8_The_Math_Object.json","resources/scripts/testcases/15.9_Date_Objects.json","resources/scripts/testcases/chapter07.json","resources/scripts/testcases/chapter10.json","resources/scripts/testcases/chapter11.json","resources/scripts/testcases/chapter12.json","resources/scripts/testcases/chapter13.json","resources/scripts/testcases/15.1.json","resources/scripts/testcases/15.10.json","resources/scripts/testcases/15.11.json","resources/scripts/testcases/15.12.json","resources/scripts/testcases/15.2.3.1.json","resources/scripts/testcases/15.2.3.10.json","resources/scripts/testcases/15.2.3.11.json","resources/scripts/testcases/15.2.3.12.json","resources/scripts/testcases/15.2.3.13.json","resources/scripts/testcases/15.2.3.14.json","resources/scripts/testcases/15.2.3.2.json","resources/scripts/testcases/15.2.3.3.json","resources/scripts/testcases/15.2.3.4.json","resources/scripts/testcases/15.2.3.5.json","resources/scripts/testcases/15.2.3.6.json","resources/scripts/testcases/15.2.3.7.json","resources/scripts/testcases/15.2.3.8.json","resources/scripts/testcases/15.2.3.9.json","resources/scripts/testcases/15.2.4.json","resources/scripts/testcases/15.3.json","resources/scripts/testcases/15.4.3.json","resources/scripts/testcases/15.4.4.10.json","resources/scripts/testcases/15.4.4.12.json","resources/scripts/testcases/15.4.4.14.json","resources/scripts/testcases/15.4.4.15.json","resources/scripts/testcases/15.4.4.16.json","resources/scripts/testcases/15.4.4.17.json","resources/scripts/testcases/15.4.4.18.json","resources/scripts/testcases/15.4.4.19.json","resources/scripts/testcases/15.4.4.20.json","resources/scripts/testcases/15.4.4.21.json","resources/scripts/testcases/15.4.4.22.json","resources/scripts/testcases/15.4.4.4.json","resources/scripts/testcases/15.4.5.json","resources/scripts/testcases/15.5.json","resources/scripts/testcases/15.7.json","resources/scripts/testcases/15.9.json"],"version":"0.6.2"} \ No newline at end of file