id
stringlengths 42
42
| src_hexsha
stringlengths 40
40
| example
stringlengths 80
1.37M
|
---|---|---|
3c8ed194ada27432b0483dc3daccf886bcae0bd5-1 | 3c8ed194ada27432b0483dc3daccf886bcae0bd5 | PHxmaW1fcHJlZml4fD4KZnJvbSAuIGltcG9ydCAqCgpjbGFzcyBBdXRoZW50aWNhdGVVc2VyQ29udHJvbGxlcihBcHBEZXZDb250cm9sbGVyKToKICBkZWYgZ2V0X3BhdGgoc2VsZik6CiAgICByZXR1cm4gJy9sb2dpbi8nCgogIGRlZiBnZXRfbWV0aG9kcyhzZWxmKToKICAgIHJldHVybiBbJ1BPU1QnXQo8fGZpbV9ob2xlfD4KICAgIHBhc3N3b3JkID0gZGF0YS5nZXQoJ3Bhc3N3b3JkJykKCiAgICBpZiBlbWFpbCBpcyBOb25lIG9yIHBhc3N3b3JkIGlzIE5vbmU6CiAgICAgIHJhaXNlIEV4Y2VwdGlvbignSW52YWxpZCBlbWFpbCBvciBwYXNzd29yZC4nKQoKICAgIHN1Y2Nlc3MsIHVzZXIgPSB1c2Vyc19kYW8udmVyaWZ5X2NyZWRlbnRpYWxzKGVtYWlsLCBwYXNzd29yZCkKCiAgICBpZiBub3Qgc3VjY2VzczoKICAgICAgcmFpc2UgRXhjZXB0aW9uKCdJbmNvcnJlY3QgZW1haWwgb3IgcGFzc3dvcmQuJykKCiAgICByZXR1cm4geydzZXNzaW9uX3Rva2VuJzogdXNlci5zZXNzaW9uX3Rva2VuLAogICAgICAgICAgICAnc2Vzc2lvbl9leHBpcmF0aW9uJzogc3RyKHVzZXIuc2Vzc2lvbl9leHBpcmF0aW9uKSwKICAgICAgICAgICAgJ3VwZGF0ZV90b2tlbic6IHVzZXIudXBkYXRlX3Rva2VufQo8fGZpbV9zdWZmaXh8PgoKICBkZWYgY29udGVudChzZWxmLCAqKmt3YXJncyk6CiAgICBkYXRhID0gcmVxdWVzdC5nZXRfanNvbigpCiAgICBlbWFpbCA9IGRhdGEuZ2V0KCdlbWFpbCcpCjx8ZmltX2VuZHw+ |
3c8ed194ada27432b0483dc3daccf886bcae0bd5-2 | 3c8ed194ada27432b0483dc3daccf886bcae0bd5 | PHxmaW1fcHJlZml4fD4KZnJvbSAuIGltcG9ydCAqCgo8fGZpbV9ob2xlfD4KICBkZWYgZ2V0X21ldGhvZHMoc2VsZik6CiAgICByZXR1cm4gWydQT1NUJ10KCiAgZGVmIGNvbnRlbnQoc2VsZiwgKiprd2FyZ3MpOgogICAgZGF0YSA9IHJlcXVlc3QuZ2V0X2pzb24oKQogICAgZW1haWwgPSBkYXRhLmdldCgnZW1haWwnKQogICAgcGFzc3dvcmQgPSBkYXRhLmdldCgncGFzc3dvcmQnKQoKICAgIGlmIGVtYWlsIGlzIE5vbmUgb3IgcGFzc3dvcmQgaXMgTm9uZToKICAgICAgcmFpc2UgRXhjZXB0aW9uKCdJbnZhbGlkIGVtYWlsIG9yIHBhc3N3b3JkLicpCgogICAgc3VjY2VzcywgdXNlciA9IHVzZXJzX2Rhby52ZXJpZnlfY3JlZGVudGlhbHMoZW1haWwsIHBhc3N3b3JkKQoKICAgIGlmIG5vdCBzdWNjZXNzOgogICAgICByYWlzZSBFeGNlcHRpb24oJ0luY29ycmVjdCBlbWFpbCBvciBwYXNzd29yZC4nKQoKICAgIHJldHVybiB7J3Nlc3Npb25fdG9rZW4nOiB1c2VyLnNlc3Npb25fdG9rZW4sCiAgICAgICAgICAgICdzZXNzaW9uX2V4cGlyYXRpb24nOiBzdHIodXNlci5zZXNzaW9uX2V4cGlyYXRpb24pLAogICAgICAgICAgICAndXBkYXRlX3Rva2VuJzogdXNlci51cGRhdGVfdG9rZW59Cjx8ZmltX3N1ZmZpeHw+CmNsYXNzIEF1dGhlbnRpY2F0ZVVzZXJDb250cm9sbGVyKEFwcERldkNvbnRyb2xsZXIpOgogIGRlZiBnZXRfcGF0aChzZWxmKToKICAgIHJldHVybiAnL2xvZ2luLycKCjx8ZmltX2VuZHw+ |
3c8ed194ada27432b0483dc3daccf886bcae0bd5-3 | 3c8ed194ada27432b0483dc3daccf886bcae0bd5 | PHxmaW1fcHJlZml4fD4KZnJvbSAuIGltcG9ydCAqCgpjbGFzcyBBdXRoZW50aWNhdGVVc2VyQ29udHJvbGxlcihBcHBEZXZDb250cm9sbGVyKToKICBkZWYgZ2V0X3BhdGgoc2VsZik6Cjx8ZmltX2hvbGV8PgogIGRlZiBnZXRfbWV0aG9kcyhzZWxmKToKICAgIHJldHVybiBbJ1BPU1QnXQoKICBkZWYgY29udGVudChzZWxmLCAqKmt3YXJncyk6CiAgICBkYXRhID0gcmVxdWVzdC5nZXRfanNvbigpCiAgICBlbWFpbCA9IGRhdGEuZ2V0KCdlbWFpbCcpCiAgICBwYXNzd29yZCA9IGRhdGEuZ2V0KCdwYXNzd29yZCcpCgogICAgaWYgZW1haWwgaXMgTm9uZSBvciBwYXNzd29yZCBpcyBOb25lOgogICAgICByYWlzZSBFeGNlcHRpb24oJ0ludmFsaWQgZW1haWwgb3IgcGFzc3dvcmQuJykKCiAgICBzdWNjZXNzLCB1c2VyID0gdXNlcnNfZGFvLnZlcmlmeV9jcmVkZW50aWFscyhlbWFpbCwgcGFzc3dvcmQpCgogICAgaWYgbm90IHN1Y2Nlc3M6CiAgICAgIHJhaXNlIEV4Y2VwdGlvbignSW5jb3JyZWN0IGVtYWlsIG9yIHBhc3N3b3JkLicpCgogICAgcmV0dXJuIHsnc2Vzc2lvbl90b2tlbic6IHVzZXIuc2Vzc2lvbl90b2tlbiwKICAgICAgICAgICAgJ3Nlc3Npb25fZXhwaXJhdGlvbic6IHN0cih1c2VyLnNlc3Npb25fZXhwaXJhdGlvbiksCiAgICAgICAgICAgICd1cGRhdGVfdG9rZW4nOiB1c2VyLnVwZGF0ZV90b2tlbn0KPHxmaW1fc3VmZml4fD4KICAgIHJldHVybiAnL2xvZ2luLycKCjx8ZmltX2VuZHw+ |
5993f8e98cef6ce2c35806e89d696c30379bd755-1 | 5993f8e98cef6ce2c35806e89d696c30379bd755 | PHxma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XArbGFuZ25hbWUrb3Muc2VwKydMQ19NRVNTQUdFUycKCQl0YXNrLmZpbGVuYW1lPWdldGF0dHIoc2VsZiwnYXBwbmFtZScsJ3NldF95b3VyX2FwcG5hbWUnKSsnLm1vJwoJCXRhc2suY2htb2Q9c2VsZi5jaG1vZAo8fGZpbV9ob2xlfD4KCjx8ZmltX3N1ZmZpeHw+CmRlZiBkZXRlY3QoY29uZik6CglrZGVjb25maWc9Y29uZi5maW5kX3Byb2dyYW0oJ2tkZTQtY29uZmlnJykKCWlmIG5vdCBrZGVjb25maWc6CgkJY29uZi5mYXRhbCgnd2UgbmVlZCBrZGU0LWNvbmZpZycpCjx8ZmltX2VuZHw+ |
3cd72839734a8f41b2e4ad220daee3f7755f2033-1 | 3cd72839734a8f41b2e4ad220daee3f7755f2033 | PHxmaW1fcHJlZml4fD4KZnJvbSBzcmMucmVwb3NpdG9yeS5yZXBvc2l0b3J5X3VuaXQgaW1wb3J0IFVuaXRSZXBvc2l0b3J5CmltcG9ydCBqc29uCgoKY2xhc3MgVW5pdFNlcnZpY2U6Cjx8ZmltX2hvbGV8PgogICAgICAgIHUgPSBzZWxmLnVyLmluc2VydChib2R5WydkZXNjcmlwdGlvbiddKQogICAgICAgIHJldHVybiBqc29uLmR1bXBzKHsiaWQiOiB1LmlkLAogICAgICAgICAgICAgICAgICAgICAgICAgICAiZGVzY3JpcHRpb24iOiB1LmRlc2NyaXB0aW9uCiAgICAgICAgICAgICAgICAgICAgICAgICAgIH0pCgogICAgZGVmIGdldF91bml0cyhzZWxmKToKICAgICAgICB1bml0cyA9IHNlbGYudXIuZ2V0X2FsbCgpCiAgICAgICAgdW5pdHNfdHVwbGVzID0gWyh1LmlkLCB1LmRlc2NyaXB0aW9uKSBmb3IgdSBpbiB1bml0c10KICAgICAgICByZXR1cm4ganNvbi5kdW1wcyhkaWN0KHVuaXRzX3R1cGxlcykpCgogICAgZGVmIGdldF91bml0KHNlbGYsIGRlc2NyaXB0aW9uKToKICAgICAgICB1ID0gc2VsZi51ci5nZXRfb25lKGRlc2NyaXB0aW9uKQogICAgICAgIHJldHVybiBqc29uLmR1bXBzKHsiaWQiOiB1LmlkLAogICAgICAgICAgICAgICAgICAgICAgICAgICAiZGVzY3JpcHRpb24iOiB1LmRlc2NyaXB0aW9uCiAgICAgICAgICAgICAgICAgICAgICAgICAgIH0pCgogICAgZGVmIHVwZGF0ZV91bml0KHNlbGYsIGRlc2NyaXB0aW9uKToKICAgICAgICBzZWxmLnVyLnVwZGF0ZShkZXNjcmlwdGlvbikKCiAgICBkZWYgZGVsZXRlX3VuaXQoc2VsZiwgZGVzY3JpcHRpb24pOgogICAgICAgIHNlbGYudXIuZGVsZXRlKGRlc2NyaXB0aW9uKQo8fGZpbV9zdWZmaXh8PgogICAgZGVmIF9faW5pdF9fKHNlbGYpOgogICAgICAgIHNlbGYudXIgPSBVbml0UmVwb3NpdG9yeSgpCgogICAgZGVmIGluc2VydF91bml0KHNlbGYsIGJvZHkpOgo8fGZpbV9lbmR8Pg== |
3cd72839734a8f41b2e4ad220daee3f7755f2033-2 | 3cd72839734a8f41b2e4ad220daee3f7755f2033 | PHxmaW1fcHJlZml4fD4KZnJvbSBzcmMucmVwb3NpdG9yeS5yZXBvc2l0b3J5X3VuaXQgaW1wb3J0IFVuaXRSZXBvc2l0b3J5CmltcG9ydCBqc29uCgoKY2xhc3MgVW5pdFNlcnZpY2U6CiAgICBkZWYgX19pbml0X18oc2VsZik6CiAgICAgICAgc2VsZi51ciA9IFVuaXRSZXBvc2l0b3J5KCkKCiAgICBkZWYgaW5zZXJ0X3VuaXQoc2VsZiwgYm9keSk6CiAgICAgICAgdSA9IHNlbGYudXIuaW5zZXJ0KGJvZHlbJ2Rlc2NyaXB0aW9uJ10pCiAgICAgICAgcmV0dXJuIGpzb24uZHVtcHMoeyJpZCI6IHUuaWQsCjx8ZmltX2hvbGV8PgoKPHxmaW1fc3VmZml4fD4KICAgICAgICAgICAgICAgICAgICAgICAgICAgImRlc2NyaXB0aW9uIjogdS5kZXNjcmlwdGlvbgogICAgICAgICAgICAgICAgICAgICAgICAgICB9KQoKPHxmaW1fZW5kfD4= |
3cd72839734a8f41b2e4ad220daee3f7755f2033-3 | 3cd72839734a8f41b2e4ad220daee3f7755f2033 | PHxmaW1fcHJlZml4fD4KZnJvbSBzcmMucmVwb3NpdG9yeS5yZXBvc2l0b3J5X3VuaXQgaW1wb3J0IFVuaXRSZXBvc2l0b3J5CmltcG9ydCBqc29uCgoKY2xhc3MgVW5pdFNlcnZpY2U6CiAgICBkZWYgX19pbml0X18oc2VsZik6CiAgICAgICAgc2VsZi51ciA9IFVuaXRSZXBvc2l0b3J5KCkKCiAgICBkZWYgaW5zZXJ0X3VuaXQoc2VsZiwgYm9keSk6CiAgICAgICAgdSA9IHNlbGYudXIuaW5zZXJ0KGJvZHlbJ2Rlc2NyaXB0aW9uJ10pCjx8ZmltX2hvbGV8PgoKPHxmaW1fc3VmZml4fD4KICAgICAgICByZXR1cm4ganNvbi5kdW1wcyh7ImlkIjogdS5pZCwKICAgICAgICAgICAgICAgICAgICAgICAgICAgImRlc2NyaXB0aW9uIjogdS5kZXNjcmlwdGlvbgogICAgICAgICAgICAgICAgICAgICAgICAgICB9KQoKPHxmaW1fZW5kfD4= |
3cd72839734a8f41b2e4ad220daee3f7755f2033-4 | 3cd72839734a8f41b2e4ad220daee3f7755f2033 | PHxmaW1fcHJlZml4fD4KZnJvbSBzcmMucmVwb3NpdG9yeS5yZXBvc2l0b3J5X3VuaXQgaW1wb3J0IFVuaXRSZXBvc2l0b3J5CmltcG9ydCBqc29uCjx8ZmltX2hvbGV8PgoKPHxmaW1fc3VmZml4fD4KCgpjbGFzcyBVbml0U2VydmljZToKICAgIGRlZiBfX2luaXRfXyhzZWxmKToKPHxmaW1fZW5kfD4= |
3cd72839734a8f41b2e4ad220daee3f7755f2033-5 | 3cd72839734a8f41b2e4ad220daee3f7755f2033 | PHxmaW1fcHJlZml4fD4KZnJvbSBzcmMucmVwb3NpdG9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QKICAgICAgICAgICAgcmV0dXJuIHRvcmNoLm5uLmZ1bmN0aW9uYWwucGFkKHgsIFsxLCAyXSkKCiAgICB4ID0gdG9yY2gucmFuZG4oMSwgMiwgMywgNCkKCiAgICBleGVjdXRlX2FuZF9jaGVja193cmFwcGVyKE1vZGVsKCksIHgpCgoKZGVmIHRlc3RfY29uc3RhbnRfcGFkX25fZGltcygpOgogICAgdG9yY2gubWFudWFsX3NlZWQoNDIpCgogICAgY2xhc3MgTW9kZWwodG9yY2gubm4uTW9kdWxlKToKICAgICAgICBkZWYgZm9yd2FyZChzZWxmLCB4KToKICAgICAgICAgICAgIyBQYWQgbGVmdC9yaWdodCBkaW1zIGJ5IDEgYW5kIDIgcmVzcGVjdGl2ZWx5LCBmb3IgZXZlcnkgZGltCiAgICAgICAgICAgIHJldHVybiB0b3JjaC5ubi5mdW5jdGlvbmFsLnBhZCh4LCBbKGkgJSAyKSArIDEgZm9yIGkgaW4gcmFuZ2UoOCldKQoKICAgIHggPSB0b3JjaC5yYW5kbigxLCAyLCAzLCA0KQoKICAgIGV4ZWN1dGVfYW5kX2NoZWNrX3dyYXBwZXIoTW9kZWwoKSwgeCkKPHxmaW1fc3VmZml4fD4KICAgICh0b3JjaC5ubi5BZGFwdGl2ZUF2Z1Bvb2wzZCwgMyksCjx8ZmltX2VuZHw+ |
59c0e7a3d89243ab38b886b762380aebd51412bf-1 | 59c0e7a3d89243ab38b886b762380aebd51412bf | PHxmaW1fcHJlZml4fD4KIyAgLSotIGNvZGluZzogdXRmLTggLSotCiMgKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioKIyBOSUNPUywgdGhlIE5ldHdvcmtlZCBJbnN0cnVtZW50IENvbnRyb2wgU3lzdGVtIG9mIHRoZSBNTFoKIyBDb3B5cmlnaHQgKGMpIDIwMDktMjAyMiBieSB0aGUgTklDT1MgY29udHJpYnV0b3JzIChzZWUgQVVUS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ClbMF0KICAgICAgICBhc3NlcnQgbm90IHJhMS5pc0FsbG93ZWQoLTQ1KVswXQogICAgICAgIGFzc2VydCByYTEuaXNBbGxvd2VkKC0yNSlbMF0KICAgICAgICBhc3NlcnQgcmExLmlzQWxsb3dlZCgwKVswXQoKICAgIGRlZiB0ZXN0X3NpbmdsZV9tb3ZlKHNlbGYsIHNlc3Npb24pOgogICAgICAgICIiIkNoZWNrIG5vdCBhbGxvd2VkIGlmIG9uZSBkZXZpY2UgaXMgbW92aW5nLiIiIgogICAgICAgIHJhMSA9IHNlc3Npb24uZ2V0RGV2aWNlKCdyYTEnKQogICAgICAgIHJhMiA9IHNlc3Npb24uZ2V0RGV2aWNlKCdyYTInKQoKICAgICAgICByYTEuc3BlZWQgPSAwCiAgICAgICAgcmExLm1vdmUoLTAuMykKICAgICAgICByYTEubW90b3IuY3Vyc3RhdHVzID0gc3RhdHVzLkJVU1ksICdtb3ZpbmcnCiAgICAgICAgYXNzZXJ0IHJhMi5pc0FsbG93ZWQoLTIpCiAgICAgICAgcmExLm1vdG9yLmN1cnN0YXR1cyA9IHN0YXR1cy5PSywgJycKICAgICAgICByYTEud2FpdCgpCgogICAgQHB5dGVzdC5tYXJrLnRpbWVvdXQodGltZW91dD0xMCwgbWV0aG9kPSd0aHJlYWQnLCBmdW5jX29ubHk9VHJ1ZSkKICAgIGRlZiB0ZXN0X25laWdoYm91cnNfdHJhbnMoc2VsZiwgc2Vzc2lvbik6CiAgICAgICAgIiIiQ2hlY2sgc29tZSBwb3NpdGlvbnMgb2YgdHJhbnNsYXRpb24gZGV2aWNlcy4iIiIKICAgICAgICBtYW4gPSBzZXNzaW9uLmdldERldmljZSgnbWFuJykKICAgICAgICB0YTEgPSBzZXNzaW9uLmdldERldmljZSgndGExJykKICAgICAgICB0YTIgPSBzZXNzaW9uLmdldERldmljZSgndGEyJykKICAgICAgICByYTEgPSBzZXNzaW9uLmdldERldmljZSgncmExJykKICAgICAgICByYTIgPSBzZXNzaW9uLmdldER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yZ2V0QWxsb3dlZCh0YTIsIC0xOClbMF0KCiAgICAgICAgIyByb3RhdGUgdG8gYSAicGFzc2luZyIgYW5nbGUKICAgICAgICByYTEubWF3KC0yMy4zKQogICAgICAgIGFzc2VydCBtYW4uaXNBZGV2VGFyZ2V0QWxsb3dlZCh0YTEsIC0yMClbMF0KCiAgICAgICAgIyByb3RhdGUgdG8gbm9uICJwYXNzaW5nIiBhbmdsZSBidXQgY29tZSBjbG9zZXIgdG8gMTMgbW0KICAgICAgICByYTIubWF3KC0yMy4zKQogICAgICAgIHRhMS5tYXcoMi45KQogICAgICAgIHJhMi5tYXcoLTYwKQogICAgICAgIHJhMS5tYXcoLTI4KQogICAgICAgIGFzc2VydCBtYW4uaXNBZGV2VGFyZ2V0QWxsb3dlZCh0YTIsIDIuOClbMF0KCiAgICBkZWYgdGVzdF90YXJnZXRzKHNlbGYsIHNlc3Npb24pOgogICAgICAgICIiIkNoZWNrIHRhcmdldHMgb2YgdGhlIHdob2xlIGRldmljZS4iIiIKICAgICAgICBtYW4gPSBzZXNzaW9uLmdldERldmljZSgnbWFuJykKICAgICAgICBhc3NlcnQgbm90IG1hbi5pc0FsbG93ZWQoWzMwMF0gKyBbMF0gKiAxMCArIFsxXSArIFswXSAqIDEwKVswXQogICAgICAgICMgVG8gbGVzcyBhcmd1bWVudHMKICAgICAgICB3aXRoIHB5dGVzdC5yYWlzZXMoSW52YWxpZFZhbHVlRXJyb3IpOgogICAgICAgICAgICBtYW4ubW92ZShbMF0gKiAyMSkKICAgICAgICAjIFRvIG1hbnkgYXJndW1lbnRzCiAgICAgICAgd2l0aCBweXRlc3QucmFpc2VzKEludmFsaWRWYWx1ZUVycm9yKToKICAgICAgICAgICAgbWFuLm1vdmUoWzBdICogMjMpCiAgICAgICAgIyBvbmUgb2YgdGhlIHRyYW5zbGF0aW9ucyBhbmQgb25lIG9mIHRoZSByb3RhdGlvbnMgb3V0IG9mIHJhbmdlCiAgICAgICAgd2l0aCBweXRlc3QucmFpc2VzKExpbWl0RXJyb3IpOgogICAgICAgICAgICBtYW4ubW92ZShbMzAwXSAqIDIyKQoKICAgICAgICBkaXJuYW1lID0gb3MucGF0aC5kaXJuYW1lKF9fZmlsZV9fKQogICAgICAgICMgcmVhZCBnb29kIHRhcmdldHMgZnJvbSBmaWxlCiAgICAgICAgd2l0aCBvcGVuKG9zLnBhdGguam9pbihkaXJuYW1lLCAnbWFuX3Rlc3QudHh0JyksCiAgICAgICAgICAgICAgICAgIGVuY29kaW5nPSd1dGYtOCcpIGFzIGY6CiAgICAgICAgICAgIGZvciBzIGluIGYucmVhZGxpbmVzKCk6CiAgICAgICAgICAgICAgICAjIGNvbnZlcnQgc3RyaW5naWZpZWQgbGlzdCB0byBsaXN0IGF2b2lkaW5nIHVzZSBvZiAnZXZhbCcKICAgICAgICAgICAgICAgIHYgPSBhc3QubGl0ZXJhbF9ldmFsKHMpCiAgICAgICAgICAgICAgICBhc3NlcnQgbWFuLmlzQWxsb3dlZCh2KVswXQoKICAgICAgICAjIHJlYWQgYmFkIHRhcmdldHMgZnJvbSBmaWxlCiAgICAgICAgd2l0aCBvcGVuKG9zLnBhdGguam9pbihkaXJuYW1lLCAnbWFuX3Rlc3RfZmFpbC50eHQnKSwKICAgICAgICAgICAgICAgICAgZW5jb2Rpbmc9J3V0Zi04JykgYXMgZjoKICAgICAgICAgICAgZm9yIHMgaW4gZi5yZWFkbGluZXMoKToKICAgICAgICAgICAgICAgICMgY29udmVydCBzdHJpbmdpZmllZCBsaXN0IHRvIGxpc3QgYXZvaWRpbmcgdXNlIG9mICdldmFsJwogICAgICAgICAgICAgICAgdiA9IGFzdC5saXRlcmFsX2V2YWwocykKICAgICAgICAgICAgICAgIGFzc2VydCBub3QgbWFuLmlzQWxsb3dlZCh2KVswXQoKICAgIGRlZiB0ZXN0X21vdmVtZW50KHNlbGYsIHNlc3Npb24pOgogICAgICAgICIiIkNoZWNrIHNvbWUgc3BlY2lhbCBtb3ZlbWVudHMuIiIiCiAgICAgICAgbWFuID0gc2Vzc2lvbi5nZXREZXZpY2UoJ21hbicpCgogICAgICAgIG1hbi5tYXcoWzBdICogMjIpCiAgICAgICAgYXNzZXJ0IG1hbi5yZWFkKDApID09IFswXSAqIDIyCiAgICAgICAgIyBhbHJlYWR5IGF0IHBvc2l0aW9uLCBzbyBkbyBub3RoaW5nCiAgICAgICAgbWFuLm1hdyhbMF0gKiAyMikKCiAgICAgICAgbWFuLm1hdyhbMF0gKiAxMSArIFstaSAqIDAuMSBmb3IgaSBpbiByYW5nZSgxMSldKQogICAgICAgIG1hbi5tYXcoWzBdICogMjIpCiAgICAgICAgbWFuLm1hdyhsaXN0KHJhbmdlKDExKSkgKyBbLWkgKiAwLjEgZm9yIGkgaW4gcmFuZ2UoMTEpXSkKCiAgICBkZWYgdGVzdF9yZXNldChzZWxmLCBzZXNzaW9uKToKICAgICAgICAiIiJDaGVjayByZXNldCBhbmQgcmVmZXJlbmNlIG9mIGRldmljZS4iIiIKICAgICAgICBtYW4gPSBzZXNzaW9uLmdldERldmljZSgnbWFuJykKCiAgICAgICAgbWFuLnJlc2V0KCkKICAgICAgICBtYW4ud2FpdCgpCgogICAgICAgIG1hbi5yZWZlcmVuY2UoKQogICAgICAgIG1hbi53YWl0KCkKPHxmaW1faG9sZXw+CiAgICAgICAgbWFuLm1hdyhbMV0gKiAxMSArIFswXSAqIDExKQogICAgICAgIGFzc2VydCBtYW4ucmVhZCgwKSA9PSBbMV0gKiAxMSArIFswXSAqIDExCjx8ZmltX3N1ZmZpeHw+CgogICAgICAgIGFzc2VydCBtYW4ucmVhZCgwKSA9PSBbMF0gKiAxMSArIFswLjFdICogMTEKCiAgICAgICAgIyB0ZXN0IG1vdmUgYXdheSBmcm9tIHJlZmVyZW5jZWQgc3lzdGVtCjx8ZmltX2VuZHw+ |
59c0e7a3d89243ab38b886b762380aebd51412bf-2 | 59c0e7a3d89243ab38b886b762380aebd51412bf | PHxmaW1fcHJlZml4fD4KIyAgLSotIGNvZGluZzogdXRm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AgICBtYW4uc3RvcCgpCgogICAgZGVmIHRlc3RfbmVpZ2hib3Vyc19yb3Qoc2VsZiwgc2Vzc2lvbik6Cjx8ZmltX2hvbGV8PgoKPHxmaW1fc3VmZml4fD4KICAgICAgICAiIiJDaGVjayBzb21lIHBvc2l0aW9ucyBvZiBhIHJvdGF0aW9uIGRldmljZS4iIiIKICAgICAgICByYTEgPSBzZXNzaW9uLmdldERldmljZSgncmExJykKCiAgICAgICAgYXNzZXJ0IG5vdCByYTEuaXNBbGxvd2VkKDEwKVswXQo8fGZpbV9lbmR8Pg== |
a59546f00a3ec5b5a4152287dc212d08a5f66dd0-1 | a59546f00a3ec5b5a4152287dc212d08a5f66dd0 | PHxmaW1fcHJlZml4fD4KIyEvdXNyL2Jpbi9lbnYgcHl0aG9uCiMgQFRpbWUgICAgOiAxNy84LzE4IDM6NTMgUE0KIyBAQXV0aG9yICA6IEh1YWl6aGVuZyBaaGFuZwo8fGZpbV9ob2xlfD4KCjx8ZmltX3N1ZmZpeHw+CiMgQFNpdGUgICAgOiB6aGFuZ2h1YWl6aGVuZy5pbmZvCiMgQEZpbGUgICAgOiBfaW5pdF9wYXRocy5weQoKCjx8ZmltX2VuZHw+ |
59da7a98deeb243ef2bac0cca33e162ea923c31c-1 | 59da7a98deeb243ef2bac0cca33e162ea923c31c | PHxmaW1fcHJlZml4fD4KX19hdXRob3JfXyA9ICdmbWNhJwoKZnJvbSAuY2FsZW5kYXIgaW1wb3J0IENhbGVuZGFyR2VuZXJhdG9yCjx8ZmltX2hvbGV8PgoKPHxmaW1fc3VmZml4fD4KZnJvbSAuZ3BzX2FkYiBpbXBvcnQgR1BTR2VuZXJhdG9yCmZyb20gLnRpbWUgaW1wb3J0IFRpbWVHZW5lcmF0b3IKPHxmaW1fZW5kfD4= |
bbdf36df8263541cdca4225b4ecd990f5f177606-1 | bbdf36df8263541cdca4225b4ecd990f5f177606 | PHxmaW1fcHJlZml4fD4KJycnCiAgICBEYXRhY2VudGVyIG1vZGVs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aW5nCiAgICBkYXRhLgogICAgJycnCgogICAgd2VpZ2h0c19uYW1lID0gd2VpZ2h0aW5nX2RhdGEubmFtZQoKICAgICMgbWVyZ2UKICAgIG1lcmdlZF9kYXRhID0gRmluYW5jaWFsRGF0YUZyYW1lKHJldHVybl9kYXRhKVwKICAgICAgICAgICAgICAgICAgICAgICAgLm1lcmdlKHdlaWdodGluZ19kYXRhLCBob3c9J291dGVyJywKICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxlZnRfaW5kZXg9VHJ1ZSwgcmlnaHRfb249d2VpZ2h0aW5nX2RhdGEuaW5kZXgubmFtZXMpXAogICAgICAgICAgICAgICAgICAgICAgICAuc29ydF9pbmRleCgpCgogICAgIyBsYWcgJiBmb3J3YXJkIGZpbGwgJiBzY2FsZQogICAgbWVyZ2VkX2RhdGFbd2VpZ2h0c19uYW1lXSA9IG1lcmdlZF9kYXRhW3dlaWdodHNfbmFtZV1cCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLmdyb3VwYnkobWVyZ2VkX2RhdGEuaW5kZXguZ2V0X2xldmVsX3ZhbHVlcygwKSlcCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLmFwcGx5KGxhbWJkYSB4OiB4LnNoaWZ0KGxhZylcCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLmZpbGxuYShtZXRob2Q9J2ZmaWxsJywgKiprd2FyZ3MpKVwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAuZ3JvdXBieShtZXJnZWRfZGF0YS5pbmRleC5nZXRfbGV2ZWxfdmFsdWVzKDEpKVwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAuYXBwbHkobGFtYmRhIHg6IHguZGl2aWRlKHguc3VtKCkpKQogICAgbWVyZ2VkX2RhdGEgPSBtZXJnZWRfZGF0YS5kcm9wbmEoKQoKICAgIHJldHVybiBtZXJnZWRfZGF0YQoKCmRlZiBjcmVhdGVfaW5kZXgocm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yZ3MpCgogICAgICAgICMgcmV0dXJucyA9IHN1bSh3ZWlnaHRzKnJldHVybnMpCiAgICAgICAgaW5kZXhfcmV0dXJucyA9IG1lcmdlZF9kYXRhXAogICAgICAgICAgICAgICAgICAgICAgICAgICAgLnByb2QoYXhpcz0xKVwKICAgICAgICAgICAgICAgICAgICAgICAgICAgIC5ncm91cGJ5KG1lcmdlZF9kYXRhLmluZGV4LmdldF9sZXZlbF92YWx1ZXMoMSkpXAogICAgICAgICAgICAgICAgICAgICAgICAgICAgLnN1bSgpCiAgICAgICAgaW5kZXhfcmV0dXJucyA9IEZpbmFuY2lhbERhdGFGcmFtZShpbmRleF9yZXR1cm5zKVwKICAgICAgICAgICAgICAgICAgICAgICAgICAgIC5zcXVlZXplKClcCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAucmVuYW1lKCd3ZWlnaHRlZF9pbmRleCcpCgogICAgaW5kZXhfcmV0dXJucyA9IGluZGV4X3JldHVybnMuc2V0X29ic3R5cGUoJ3JldHVybicpCgogICAgcmV0dXJuIGluZGV4X3JldHVybnMKPHxmaW1fc3VmZml4fD4KCiAgICAnJycKICAgIFJldHVybnMgYSBGaW5hbmNpYWxTZXJpZXMgdGhhdCBjb250YWlucyByZXR1cm5zIG9mIGFuIGVxdWFsIG9yIHdlaWdodGVkCiAgICBpbmRleC4KPHxmaW1fZW5kfD4= |
3c34256c134ae720c721e9ed2a1eeeeee34859c1-3 | 3c34256c134ae720c721e9ed2a1eeeeee34859c1 | PHxmaW1fcHJlZml4fD4KaW1wb3J0IG51bXB5IGFzIG5wCmltcG9ydCBzY2lweSBhcyBzcAppbXBvcnQgcGFuZGFzIGFzIHBkCmltcG9ydCBtYXRwbG90bGliLnB5cGxvdCBhcyBwbHQKCmZyb20ga3VuZ2Z1LmZyYW1lIGltcG9ydCBGaW5hbmNpYWxEYXRhRnJhbWUKZnJvbSBrdW5nZnUuc2VyaWVzIGltcG9ydCBGaW5hbmNpYWxTZXJpZXMKCicnJwpkZXByZ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gRmluYW5jaWFsU2VyaWVzKHdlaWdodGluZ19kYXRhKS5kcm9wbmEoKS5zb3J0X2luZGV4KCkKICAgIHJldHVybiB3ZWlnaHRpbmdfZGF0YQoKCmRlZiBfbWVyZ2VfZGF0YV9mb3JfaW5kZXgocmV0dXJuX2RhdGEsIHdlaWdodGluZ19kYXRhLCBsYWcsICoqa3dhcmdzKToKCiAgICAnJycKICAgIFJldHVybnMgYSBqb2luZWQgRGF0YUZyYW1lIHRoYXQgY29udGFpbnMgYWxpZ25lZCByZXR1cm4gZGF0YSBhbmQgd2VpZ2h0aW5nCiAgICBkYXRhLgogICAgJycnCgogICAgd2VpZ2h0c19uYW1lID0gd2VpZ2h0aW5nX2RhdGEubmFtZQoKICAgICMgbWVyZ2UKICAgIG1lcmdlZF9kYXRhID0gRmluYW5jaWFsRGF0YUZyYW1lKHJldHVybl9kYXRhKVwKICAgICAgICAgICAgICAgICAgICAgICAgLm1lcmdlKHdlaWdodGluZ19kYXRhLCBob3c9J291dGVyJywKICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxlZnRfaW5kZXg9VHJ1ZSwgcmlnaHRfb249d2VpZ2h0aW5nX2RhdGEuaW5kZXgubmFtZXMpXAogICAgICAgICAgICAgICAgICAgICAgICAuc29ydF9pbmRleCgpCgogICAgIyBsYWcgJiBmb3J3YXJkIGZpbGwgJiBzY2FsZQogICAgbWVyZ2VkX2RhdGFbd2VpZ2h0c19uYW1lXSA9IG1lcmdlZF9kYXRhW3dlaWdodHNfbmFtZV1cCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLmdyb3VwYnkobWVyZ2VkX2RhdGEuaW5kZXguZ2V0X2xldmVsX3ZhbHVlcygwKSlcCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLmFwcGx5KGxhbWJkYSB4OiB4LnNoaWZ0KGxhZylcCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLmZpbGxuYShtZXRob2Q9J2ZmaWxsJywgKiprd2FyZ3MpKVwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAuZ3JvdXBieShtZXJnZWRfZGF0YS5pbmRleC5nZXRfbGV2ZWxfdmFsdWVzKDEpKVwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAuYXBwbHkobGFtYmRhIHg6IHguZGl2aWRlKHguc3VtKCkpKQogICAgbWVyZ2VkX2RhdGEgPSBtZXJnZWRfZGF0YS5kcm9wbmEoKQoKICAgIHJldHVybiBtZXJnZWRfZGF0YQoKCmRlZiBjcmVhdGVfaW5kZXgocmV0dXJuX2RhdGEsIHdlaWdodGluZ19kYXRhPU5vbmUsIGxhZz0wLCAqKmt3YXJncyk6CgogICAgJycnCiAgICBSZXR1cm5zIGEgRmluYW5jaWFsU2VyaWVzIHRoYXQgY29udGFpbnMgcmV0dXJucyBvZiBhbiBlcXVhbCBvciB3ZWlnaHRlZAogICAgaW5kZXguCiAgICBXZWlnaHRzIHN1bSB1cCB0byBvbmUgaW4gZWFjaCBwZXJpb2QuCiAgICAnJycKCiAgICByZXR1cm5fZGF0YSA9IF9wcmVwYXJlX3JldHVybl9kYXRhKHJldHVybl9kYXRhKQoKICAgICMgY2FzZSB3aXRob3V0IHZhcmlhYmxlIHdlaWdodHMKICAgIGlmIHdlaWdodGluZ19kYXRhIGlzIE5vbmU6CiAgICAgICAgaW5kZXhfcmV0dXJucyA9IHJldHVybl9kYXRhXAogICAgICAgICAgICAgICAgICAgICAgICAgICAgLmdyb3VwYnkocmV0dXJuX2RhdGEuaW5kZXguZ2V0X2xldmVsX3ZhbHVlcygxKSlcCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAubWVhbigpCjx8ZmltX2hvbGV8PgoKPHxmaW1fc3VmZml4fD4KICAgICAgICBpbmRleF9yZXR1cm5zID0gRmluYW5jaWFsRGF0YUZyYW1lKGluZGV4X3JldHVybnMpXAogICAgICAgICAgICAgICAgICAgICAgICAgICAgLnNxdWVlemUoKVwKICAgICAgICAgICA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5nX2RhdGEuaW5kZXgubmFtZXMpXAogICAgICAgICAgICAgICAgICAgICAgICAuc29ydF9pbmRleCgpCgogICAgIyBsYWcgJiBmb3J3YXJkIGZpbGwgJiBzY2FsZQogICAgbWVyZ2VkX2RhdGFbd2VpZ2h0c19uYW1lXSA9IG1lcmdlZF9kYXRhW3dlaWdodHNfbmFtZV1cCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLmdyb3VwYnkobWVyZ2VkX2RhdGEuaW5kZXguZ2V0X2xldmVsX3ZhbHVlcygwKSlcCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLmFwcGx5KGxhbWJkYSB4OiB4LnNoaWZ0KGxhZylcCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLmZpbGxuYShtZXRob2Q9J2ZmaWxsJywgKiprd2FyZ3MpKVwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAuZ3JvdXBieShtZXJnZWRfZGF0YS5pbmRleC5nZXRfbGV2ZWxfdmFsdWVzKDEpKVwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAuYXBwbHkobGFtYmRhIHg6IHguZGl2aWRlKHguc3VtKCkpKQogICAgbWVyZ2VkX2RhdGEgPSBtZXJnZWRfZGF0YS5kcm9wbmEoKQoKICAgIHJldHVybiBtZXJnZWRfZGF0YQoKCmRlZiBjcmVhdGVfaW5kZXgocmV0dXJuX2RhdGEsIHdlaWdodGluZ19kYXRhPU5vbmUsIGxhZz0wLCAqKmt3YXJncyk6CgogICAgJycnCiAgICBSZXR1cm5zIGEgRmluYW5jaWFsU2VyaWVzIHRoYXQgY29udGFpbnMgcmV0dXJucyBvZiBhbiBlcXVhbCBvciB3ZWlnaHRlZAogICAgaW5kZXguCiAgICBXZWlnaHRzIHN1bSB1cCB0byBvbmUgaW4gZWFjaCBwZXJpb2QuCjx8ZmltX2hvbGV8PgoKPHxmaW1fc3VmZml4fD4KICAgICcnJwoKICAgIHJldHVybl9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BzZWxmLl9yZXNvdXJjZV9vYmpbJ2NhbGxiYWNrcyddICAgICAgICAgID0gW10KICAgICAgICBzZWxmLl9yZXNvdXJjZV9vYmpbJ3N0YXRlJ10gICAgICAgICAgICAgID0gY29uc3RhbnRzLk5FVwogICAgICAgIHNlbGYuX3Jlc291cmNlX29ialsnbmFtZSddICAgICAgICAgICAgICAgPSBuYW1lCiAgICAgICAgc2VsZi5fcmVzb3VyY2Vfb2JqWyd1c2VybmFtZSddICAgICAgICAgICA9IHVzZXJuYW1lIAogICAgICAgIHNlbGYuX3Jlc291cmNlX29ialsncmVzb3VyY2UnXSAgICAgICAgICAgPSByZXNvdXJjZQogICAgICAgIHNlbGYuX3Jlc291cmNlX29ialsnd29ya2RpciddICAgICAgICAgICAgPSB3b3JrZGlyCiAgICAgICAgc2VsZi5fcmVzb3VyY2Vfb2JqWydydW50aW1lJ10gICAgICAgICAgICA9IHJ1bnRpbWUKICAgICAgICBzZWxmLl9yZXNvdXJjZV9vYmpbJ2NvcmVzJ10gICAgICAgICAgICAgID0gY29yZXMKICAgICAgICBzZWxmLl9yZXNvdXJjZV9vYmpbJ3Byb2plY3RfaWQnXSAgICAgICAgID0gcHJvamVjdF9pZAogICAgICAgIHNlbGYuX3Jlc291cmNlX29ialsncXVldWUnXSAgICAgICAgICAgICAgPSBxdWV1ZQoKICAgICAgICAjIG1ha2Ugc3VyZSB0aGUgYmFja2VuZHMgd2UgbmVlZCBhcmUgYXZhaWFsYmUgCiAgICAgICAgZnJvbSBiaWdqb2Jhc3luYyBpbXBvcnQgVVNFX1NBR0FfUElMT1QKICAgICAgICBpZiBVU0VfU0FHQV9QSUxPVCBpcyBUcnVlOgogICAgICAgICAgICB0cnk6IAogICAgICAgICAgICAgICAgaW1wb3J0IHNpbm9uCiAgICAgICAgICAgIGV4Y2VwdCBJbXBvcnRFcnJvcjoKICAgICAgICAgICAgICAgIHJhaXNlIEV4Y2VwdGlvbigiQ291bGRuJ3QgZmluZCBTQUdBLVBpbG90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sb2NrICAgICAgID0gdGhyZWFkaW5nLkxvY2soKQogICAgICAgIHNlbGYuX3Rlcm1pbmF0ZSA9IHRocmVhZGluZy5FdmVudCgpCgogICAgICAgIGlmICJjb3JlX2luY3JlbWVudCIgaW4gcmVzb3VyY2U6CiAgICAgICAgICAgICMgcm91bmQgdXAgdG8gdGhlIG5lYXJlc3QgY29yZSBpbmNyZW1lbnQKICAgICAgICAgICAgY29yZXMgPSBtYXRoLmNlaWwoZmxvYXQoY29yZXMpL3Jlc291cmNlWyJjb3JlX2luY3JlbWVudCJdKSAqIHJlc291cmNlWyJjb3JlX2luY3JlbWVudCJdCiAgICAgICAgICAgIGxvZ2dlci5pbmZvKCJSb3VuZGluZyB1cCBhbGxvY2F0aW9uIHRvIG5lYXJlc3QgY29yZSBpbmNyZW1lbnQ6ICVzLiIgJSAoY29yZXMpKQoKICAgICAgICBzZWxmLl9yZXNvdXJjZV9vYmogICAgICAgICAgICAgICAgICAgICAgID0ge30KICAgICAgICBzZWxmLl9yZXNvdXJjZV9vYmpbJ2xvZyddICAgICAgICAgICAgICAgID0gW10KICAgICAgICBzZWxmLl9yZXNvdXJjZV9vYmpbJ2NhbGxiYWNrcyddICAgICAgICAgID0gW10KICAgICAgICBzZWxmLl9yZXNvdXJjZV9vYmpbJ3N0YXRlJ10gICAgICAgICAgICAgID0gY29uc3RhbnRzLk5FVwogICAgICAgIHNlbGYuX3Jlc291cmNlX29ialsnbmFtZSddICAgICAgICAgICAgICAgPSBuYW1lCiAgICAgICAgc2VsZi5fcmVzb3VyY2Vfb2JqWyd1c2VybmFtZSddICAgICAgICAgICA9IHVzZXJuYW1lIAogICAgICAgIHNlbGYuX3Jlc291cmNlX29ialsncmVzb3VyY2UnXSAgICAgICAgICAgPSByZXNvdXJjZQogICAgICAgIHNlbGYuX3Jlc291cmNlX29ialsnd29ya2RpciddICAgICAgICAgICAgPSB3b3JrZGlyCiAgICAgICAgc2VsZi5fcmVzb3VyY2Vfb2JqWydydW50aW1lJ10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uYW1lLCByZXNvdXJjZSwgcnVudGltZSwgY29yZXMsIHdvcmtkaXIsIAogICAgICAgIHVzZXJuYW1lPU5vbmUsIHByb2plY3RfaWQ9Tm9uZSwgcXVldWU9Y29uc3RhbnRzLkRFRkFVTFQpOgogICAgICAgICIiIkxlIENvbnN0cnVjdGV1ciBjcmVhdGVzIGEgcmVzb3VyY2UgbmV3IGluc3RhbmNlLgogICAgICAgICIiIgogICAgICAgIHRocmVhZGluZy5UaHJlYWQuX19pbml0X18oc2VsZikKICAgICAgICBzZWxmLmRhZW1vbiAgICAgPSBUcnVlCiAgICAgICAgc2VsZi5sb2NrICAgICAgID0gdGhyZWFkaW5nLkxvY2soKQogICAgICAgIHNlbGYuX3Rlcm1pbmF0ZSA9IHRocmVhZGluZy5FdmVudCgpCgogICAgICAgIGlmICJjb3JlX2luY3JlbWVudCIgaW4gcmVzb3VyY2U6CiAgICAgICAgICAgICMgcm91bmQgdXAgdG8gdGhlIG5lYXJlc3QgY29yZSBpbmNyZW1lbnQKICAgICAgICAgICAgY29yZXMgPSBtYXRoLmNlaWwoZmxvYXQoY29yZXMpL3Jlc291cmNlWyJjb3JlX2luY3JlbWVudCJdKSAqIHJlc291cmNlWyJjb3JlX2luY3JlbWVudCJdCiAgICAgICAgICAgIGxvZ2dlci5pbmZvKCJSb3VuZGluZyB1cCBhbGxvY2F0aW9uIHRvIG5lYXJlc3QgY29yZSBpbmNyZW1lbnQ6ICVzLiIgJSAoY29yZXMpKQoKICAgICAgICBzZWxmLl9yZXNvdXJjZV9vYmogICAgICAgICAgICAgICAgICAgICAgID0ge30KICAgICAgICBzZWxmLl9yZXNvdXJjZV9vYmpbJ2xvZyddICAgICAgICAgICAgICAgID0gW10KICAgICAgICBzZWxmLl9yZXNvdXJjZV9vYmpbJ2NhbGxiYWNrcyddICAgICAgICAgID0gW10KICAgICAgICBzZWxmLl9yZXNvdXJjZV9vYmpbJ3N0YXRlJ10gICAgICAgICAgICAgID0gY29uc3RhbnRzLk5FVwogICAgICAgIHNlbGYuX3Jlc291cmNlX29ialsnbmFtZSddICAgICAgICAgICAgICAgPSBuYW1lCiAgICAgICAgc2VsZi5fcmVzb3VyY2Vfb2JqWyd1c2VybmFtZSddICAgICAgICAgICA9IHVzZXJuYW1lIAogICAgICAgIHNlbGYuX3Jlc291cmNlX29ialsncmVzb3VyY2UnXSAgICAgICAgICAgPSByZXNvdXJjZQogICAgICAgIHNlbGYuX3Jlc291cmNlX29ialsnd29ya2RpciddICAgICAgICAgICAgPSB3b3JrZGlyCiAgICAgICAgc2VsZi5fcmVzb3VyY2Vfb2JqWydydW50aW1lJ10gICAgICAgICAgICA9IHJ1bnRpbWUKICAgICAgICBzZWxmLl9yZXNvdXJjZV9vYmpbJ2NvcmVzJ10gICAgICAgICAgICAgID0gY29yZXMKICAgICAgICBzZWxmLl9yZXNvdXJjZV9vYmpbJ3Byb2plY3RfaWQnXSAgICAgICAgID0gcHJvamVjdF9pZAogICAgICAgIHNlbGYuX3Jlc291cmNlX29ialsncXVldWUnXSAgICAgICAgICAgICAgPSBxdWV1ZQoKICAgICAgICAjIG1ha2Ugc3VyZSB0aGUgYmFja2VuZHMgd2UgbmVlZCBhcmUgYXZhaWFsYmUgCiAgICAgICAgZnJvbSBiaWdqb2Jhc3luYyBpbXBvcnQgVVNFX1NBR0FfUElMT1QKICAgICAgICBpZiBVU0VfU0FHQV9QSUxPVCBpcyBUcnVlOgogICAgICAgICAgICB0cnk6IAogICAgICAgICAgICAgICAgaW1wb3J0IHNpbm9uCiAgICAgICAgICAgIGV4Y2VwdCBJbXBvcnRFcnJvcjoKICAgICAgICAgICAgICAgIHJhaXNlIEV4Y2VwdGlvbigiQ291bGRuJ3QgZmluZCBTQUdBLVBpbG90LiBQbGVhc2UgaW5zdGFsbCBmaXJzdCB2aWEgJ3BpcCBpbnN0YWxsIC0tdXBncmFkZSAtZSBnaXQ6Ly9naXRodWIuY29tL3NhZ2EtcHJvamVjdC9zYWdhLXBpbG90LmdpdEBtYXN0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0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLQogICAgIwogICAgZGVmIF9zZXRfc3RhdGUoc2VsZiwgbmV3X3N0YXRlKToKICAgICAgICAjIGRvIG5vdGhpbmcgaWYgZXhpc3RpbmcgYW5kIG5ldyBzdGF0ZSBhcmUgaWRlbnRpY2FsCiAgICAgICAgaWYgc2VsZi5fcmVzb3VyY2Vfb2JqWydzdGF0ZSddID09IG5ld19zdGF0ZToKICAgICAgICAgICAgcmV0dXJuCjx8ZmltX2hvbGV8PgogICAgICAgIGZvciBjYWxsYmFjayBpbiBzZWxmLl9yZXNvdXJjZV9vYmpbJ2NhbGxiYWNrcyddOgogICAgICAgICAgICBjYWxsYmFjayhzZWxmLCBvbGRfc3RhdGUsIG5ld19zdGF0ZSkKCjx8ZmltX3N1ZmZpeHw+CgogICAgICAgIG9sZF9zdGF0ZSA9IHNlbGYuX3Jlc291cmNlX29ialsnc3RhdGUnXQogICAgICAgIHNlbGYuX3Jlc291cmNlX29ialsnc3RhdGUnXSA9IG5ld19zdGF0ZQoKPHxmaW1fZW5kfD4= |
af2f5d3ffb33a0476895a55262a20e5db4f9f50a-4 | af2f5d3ffb33a0476895a55262a20e5db4f9f50a | PHxmaW1fcHJlZml4fD4KIyEvdXNyL2Jpbi9lbnYgcHl0aG9uCjx8ZmltX2hvbGV8PgoKPHxmaW1fc3VmZml4fD4KCiIiIlRoZSByZXNvdXJjZSByZXByZXNlbnRhdGlvbiAvIGludGVyZmFjZSBpbiBCaWdKb2JBc3luYy4KIiIiCgo8fGZpbV9lbmR8Pg== |
bb64be1219512517b8082a143569b05042c0b26a-1 | bb64be1219512517b8082a143569b05042c0b26a | PHxmaW1fcHJlZml4fD4KZnJvbSBiaXRtb3Zpbi5zZXJ2aWNlcy5tYW5pZmVzdHMuZ2VuZXJpY19jdXN0b21fdGFnX3NlcnZpY2UgaW1wb3J0IEdlbmVyaWNDdXN0b21UYWdTZXJ2aWNlCgoKY2xhc3MgU3RyZWFtQ3V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mlldmUoaWRfPWN1c3RvbV90YWdfaWQpCgo8fGZpbV9lbmR8Pg== |
bb64be1219512517b8082a143569b05042c0b26a-2 | bb64be1219512517b8082a143569b05042c0b26a | PHxmaW1fcHJlZml4fD4KZnJvbSBiaXRtb3Zpbi5zZXJ2aWNlcy5tYW5pZmVzdHMuZ2VuZXJpY19jdXN0b21fdGFnX3NlcnZpY2UgaW1wb3J0IEdlbmVyaWNDdXN0b21UYWdTZXJ2aWNlCgoKY2xhc3MgU3RyZWFtQ3VzdG9tVGFnKEdlbmVyaWNDdXN0b21UYWdTZXJ2aWNlKToKPHxmaW1faG9sZXw+Cgo8fGZpbV9zdWZmaXh8PgogICAgY3VzdG9tX3RhZ190eXBlID0gJ3N0cmVhbXMnCgogICAgZGVmIF9faW5pdF9fKHNlbGYsIGh0dHBfY2xpZW50KToKICAgICAgICBzdXBlcigpLl9faW5pdF9fKGh0dHBfY2xpZW50PWh0dHBfY2xpZW50LCBjdXN0b21fdGFnX3R5cGU9c2VsZi5jdXN0b21fdGFnX3R5cGUpCjx8ZmltX2VuZHw+ |
bb64be1219512517b8082a143569b05042c0b26a-3 | bb64be1219512517b8082a143569b05042c0b26a | PHxmaW1fcHJlZml4fD4KZnJvbSBiaXRtb3Zpbi5zZXJ2aWNlcy5tYW5pZmVzdHMuZ2VuZXJpY19jdXN0b21fdGFnX3NlcnZpY2UgaW1wb3J0IEdlbmVyaWNDdXN0b21UYWdTZXJ2aWNlCgoKY2xhc3MgU3RyZWFtQ3VzdG9tVGFnKEdlbmVyaWNDdXN0b21UYWdTZXJ2aWNlKToKICAgIGN1c3RvbV90YWdfdHlwZSA9ICdzdHJlYW1zJwoKICAgIGRlZiBfX2luaXRfXyhzZWxmLCBodHRwX2NsaWVudCk6CiAgICAgICAgc3VwZXIoKS5fX2luaXRfXyhodHRwX2NsaWVudD1odHRwX2NsaWVudCwgY3VzdG9tX3RhZ190eXBlPXNlbGYuY3VzdG9tX3RhZ190eXBlKQoKICAgIGRlZiBjc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X3R5cGU9d3JhcHBlcl90eXBlLAogICAgICAgICAgICAgICAgICAgICAgICAgIHRhc2tfbmFtZT10YXNrX25hbWUsCiAgICAgICAgICAgICAgICAgICAgICAgICAgbWF4X3NlcV9sZW5ndGg9bWF4X3NlcV9sZW5ndGgsCiAgICAgICAgICAgICAgICAgICAgICAgICAgbGFiZWxfbGlzdD1sYWJlbF9saXN0LAogICAgICAgICAgICAgICAgICAgICAgICAgIG91dHB1dF9kaXI9b3V0cHV0X2RpciwKICAgICAgICAgICAgICAgICAgICAgICAgICBjYWNoZV9kaXI9Y2FjaGVfZGlyLAogICAgICAgICAgICAgICAgICAgICAgICAgIGVtYmVkX3NpemU9ZW1iZWRfc2l6ZSwKICAgICAgICAgICAgICAgICAgICAgICAgICBwcm9tcHRfZW5jb2Rlcl90eXBlPXByb21wdF9lbmNvZGVyX3R5cGUsCiAgICAgICAgICAgICAgICAgICAgICAgICAgZXZhbF9ldmVyeV9zdGVwPWV2YWxfZXZlcnlfc3RlcCkKCnRyYWluX2NmZyA9IFRyYWluQ29uZmlnKGRldmljZT1kZXZpY2UsCiAgICAgICAgICAgICAgICAgICAgICAgIHBlcl9ncHVfdHJhaW5fYmF0Y2hfc2l6ZT1wZXJfZ3B1X3RyYWluX2JhdGNoX3NpemUsCiAgICAgICAgICAgICAgICAgICAgICAgIHBlcl9ncHVfdW5sYWJlbGVkX2JhdGNoX3NpemU9cGVyX2dwdV91bmxhYmVsZWRfYmF0Y2hfc2l6ZSkKCmV2YWxfY2ZnID0gRXZhbENvbmZpZyhkZXZpY2U9ZGV2aWNlLAogICAgICAgICAgICAgICAgICAgICAgbl9ncHU9bl9ncHUsCiAgICAgICAgICAgICAgICAgICAgICBwZXJfZ3B1X2V2YWxfYmF0Y2hfc2l6ZT1wZXJfZ3B1X2V2YWxfYmF0Y2hfc2l6ZSwKICAgICAgICAgICAgICAgICAgICAgIG1ldHJpY3M9bWV0cmljcykKCgpzZXRfc2VlZCg0MikKCiMgTG9hZCBkYXR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