60806040526001600c5534801561001557600080fd5b506040514690806052612cf38239604080519182900360520182208282018252600d83526c2d22a92796a62816aa37b5b2b760991b6020938401528151808301835260018152603160f81b908401528151808401919091527f21faa20970e07a99d91b9abf269f4f0baf58cfb8c131ddb1549c6e9b1954405a818301527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6606082015260808101949094523060a0808601919091528151808603909101815260c09094019052825192019190912060035550600580546001600160a01b03191633179055612beb806101086000396000f3fe608060405234801561001057600080fd5b50600436106101b95760003560e01c80636a627842116100f9578063ba9a7a5611610097578063d21220a711610071578063d21220a7146105da578063d505accf146105e2578063dd62ed3e14610640578063fff6cae91461067b576101b9565b8063ba9a7a5614610597578063bc25cf771461059f578063c45a0155146105d2576101b9565b80637ecebe00116100d35780637ecebe00146104d757806389afcb441461050a57806395d89b4114610556578063a9059cbb1461055e576101b9565b80636a6278421461046957806370a082311461049c5780637464fc3d146104cf576101b9565b806323b872dd116101665780633644e515116101405780633644e51514610416578063485cc9551461041e5780635909c0d5146104595780635a3d549314610461576101b9565b806323b872dd146103ad57806330adf81f146103f0578063313ce567146103f8576101b9565b8063095ea7b311610197578063095ea7b3146103155780630dfe16811461036257806318160ddd14610393576101b9565b8063022c0d9f146101be57806306fdde03146102595780630902f1ac146102d6575b600080fd5b610257600480360360808110156101d457600080fd5b81359160208101359173ffffffffffffffffffffffffffffffffffffffff604083013516919081019060808101606082013564010000000081111561021857600080fd5b82018360208201111561022a57600080fd5b8035906020019184600183028401116401000000008311171561024c57600080fd5b509092509050610683565b005b610261610d99565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561029b578181015183820152602001610283565b50505050905090810190601f1680156102c85780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102de610dd2565b604080516dffffffffffffffffffffffffffff948516815292909316602083015263ffffffff168183015290519081900360600190f35b61034e6004803603604081101561032b57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610e27565b604080519115158252519081900360200190f35b61036a610e3e565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b61039b610e5a565b60408051918252519081900360200190f35b61034e600480360360608110156103c357600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060400135610e60565b61039b610f3f565b610400610f63565b6040805160ff9092168252519081900360200190f35b61039b610f68565b6102576004803603604081101561043457600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020013516610f6e565b61039b611047565b61039b61104d565b61039b6004803603602081101561047f57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611053565b61039b600480360360208110156104b257600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661140d565b61039b61141f565b61039b600480360360208110156104ed57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611425565b61053d6004803603602081101561052057600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611437565b6040805192835260208301919091528051918290030190f35b6102616118d4565b61034e6004803603604081101561057457600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813516906020013561190d565b61039b61191a565b610257600480360360208110156105b557600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611920565b61036a611b16565b61036a611b32565b610257600480360360e08110156105f857600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060408101359060608101359060ff6080820135169060a08101359060c00135611b4e565b61039b6004803603604081101561065657600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020013516611e1a565b610257611e37565b600c546001146106f457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f5a45524f3a204c4f434b45440000000000000000000000000000000000000000604482015290519081900360640190fd5b6000600c55841515806107075750600084115b61077257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f5a45524f3a20494e53554646494349454e545f4f55545055545f414d4f554e54604482015290519081900360640190fd5b60008061077d610dd2565b5091509150816dffffffffffffffffffffffffffff16871080156107b05750806dffffffffffffffffffffffffffff1686105b61081b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f5a45524f3a20494e53554646494349454e545f4c495155494449545900000000604482015290519081900360640190fd5b600654600754600091829173ffffffffffffffffffffffffffffffffffffffff91821691908116908916821480159061088057508073ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff1614155b6108eb57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5a45524f3a20494e56414c49445f544f00000000000000000000000000000000604482015290519081900360640190fd5b8a156108fc576108fc828a8d61201d565b891561090d5761090d818a8c61201d565b86156109ef578873ffffffffffffffffffffffffffffffffffffffff166393b11be5338d8d8c8c6040518663ffffffff1660e01b8152600401808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001858152602001848152602001806020018281038252848482818152602001925080828437600081840152601f19601f8201169050808301925050509650505050505050600060405180830381600087803b1580156109d657600080fd5b505af11580156109ea573d6000803e3d6000fd5b505050505b604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905173ffffffffffffffffffffffffffffffffffffffff8416916370a08231916024808301926020929190829003018186803b158015610a5b57600080fd5b505afa158015610a6f573d6000803e3d6000fd5b505050506040513d6020811015610a8557600080fd5b5051604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905191955073ffffffffffffffffffffffffffffffffffffffff8316916370a0823191602480820192602092909190829003018186803b158015610af757600080fd5b505afa158015610b0b573d6000803e3d6000fd5b505050506040513d6020811015610b2157600080fd5b5051925060009150506dffffffffffffffffffffffffffff85168a90038311610b4b576000610b61565b89856dffffffffffffffffffffffffffff160383035b9050600089856dffffffffffffffffffffffffffff16038311610b85576000610b9b565b89856dffffffffffffffffffffffffffff160383035b90506000821180610bac5750600081115b610c1757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5a45524f3a20494e53554646494349454e545f494e5055545f414d4f554e5400604482015290519081900360640190fd5b6000610c4b610c2d84600363ffffffff61222a16565b610c3f876103e863ffffffff61222a16565b9063ffffffff6122b016565b90506000610c63610c2d84600363ffffffff61222a16565b9050610c9b620f4240610c8f6dffffffffffffffffffffffffffff8b8116908b1663ffffffff61222a16565b9063ffffffff61222a16565b610cab838363ffffffff61222a16565b1015610d1857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600760248201527f5a45524f3a204b00000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b5050610d2684848888612322565b60408051838152602081018390528082018d9052606081018c9052905173ffffffffffffffffffffffffffffffffffffffff8b169133917fd78ad95fa46c994b6551d0da85fc275fe613ce37657fb8d5e3d130840159d8229181900360800190a350506001600c55505050505050505050565b6040518060400160405280600d81526020017f5a45524f2d4c502d546f6b656e0000000000000000000000000000000000000081525081565b6008546dffffffffffffffffffffffffffff808216926e0100000000000000000000000000008304909116917c0100000000000000000000000000000000000000000000000000000000900463ffffffff1690565b6000610e343384846125de565b5060015b92915050565b60065473ffffffffffffffffffffffffffffffffffffffff1681565b60005481565b73ffffffffffffffffffffffffffffffffffffffff831660009081526002602090815260408083203384529091528120547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff14610f2a5773ffffffffffffffffffffffffffffffffffffffff84166000908152600260209081526040808320338452909152902054610ef8908363ffffffff6122b016565b73ffffffffffffffffffffffffffffffffffffffff851660009081526002602090815260408083203384529091529020555b610f3584848461264d565b5060019392505050565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b601281565b60035481565b60055473ffffffffffffffffffffffffffffffffffffffff163314610ff457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f5a45524f3a20464f5242494444454e0000000000000000000000000000000000604482015290519081900360640190fd5b6006805473ffffffffffffffffffffffffffffffffffffffff9384167fffffffffffffffffffffffff00000000000000000000000000000000000000009182161790915560078054929093169116179055565b60095481565b600a5481565b6000600c546001146110c657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f5a45524f3a204c4f434b45440000000000000000000000000000000000000000604482015290519081900360640190fd5b6000600c819055806110d6610dd2565b50600654604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905193955091935060009273ffffffffffffffffffffffffffffffffffffffff909116916370a08231916024808301926020929190829003018186803b15801561115057600080fd5b505afa158015611164573d6000803e3d6000fd5b505050506040513d602081101561117a57600080fd5b5051600754604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905192935060009273ffffffffffffffffffffffffffffffffffffffff909216916370a0823191602480820192602092909190829003018186803b1580156111f357600080fd5b505afa158015611207573d6000803e3d6000fd5b505050506040513d602081101561121d57600080fd5b505190506000611243836dffffffffffffffffffffffffffff871663ffffffff6122b016565b90506000611267836dffffffffffffffffffffffffffff871663ffffffff6122b016565b90506000611275878761272e565b600054909150806112b25761129e6103e8610c3f611299878763ffffffff61222a16565b6128ba565b98506112ad60006103e861290c565b61130f565b61130c6dffffffffffffffffffffffffffff89166112d6868463ffffffff61222a16565b816112dd57fe5b046dffffffffffffffffffffffffffff89166112ff868563ffffffff61222a16565b8161130657fe5b046129bc565b98505b60008911611368576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526023815260200180612b946023913960400191505060405180910390fd5b6113728a8a61290c565b61137e86868a8a612322565b81156113c0576008546113bc906dffffffffffffffffffffffffffff808216916e01000000000000000000000000000090041663ffffffff61222a16565b600b555b6040805185815260208101859052815133927f4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f928290030190a250506001600c5550949695505050505050565b60016020526000908152604090205481565b600b5481565b60046020526000908152604090205481565b600080600c546001146114ab57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f5a45524f3a204c4f434b45440000000000000000000000000000000000000000604482015290519081900360640190fd5b6000600c819055806114bb610dd2565b50600654600754604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905194965092945073ffffffffffffffffffffffffffffffffffffffff9182169391169160009184916370a08231916024808301926020929190829003018186803b15801561153d57600080fd5b505afa158015611551573d6000803e3d6000fd5b505050506040513d602081101561156757600080fd5b5051604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905191925060009173ffffffffffffffffffffffffffffffffffffffff8516916370a08231916024808301926020929190829003018186803b1580156115db57600080fd5b505afa1580156115ef573d6000803e3d6000fd5b505050506040513d602081101561160557600080fd5b505130600090815260016020526040812054919250611624888861272e565b6000549091508061163b848763ffffffff61222a16565b8161164257fe5b049a5080611656848663ffffffff61222a16565b8161165d57fe5b04995060008b118015611670575060008a115b6116c5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526023815260200180612b716023913960400191505060405180910390fd5b6116cf30846129d4565b6116da878d8d61201d565b6116e5868d8c61201d565b604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905173ffffffffffffffffffffffffffffffffffffffff8916916370a08231916024808301926020929190829003018186803b15801561175157600080fd5b505afa158015611765573d6000803e3d6000fd5b505050506040513d602081101561177b57600080fd5b5051604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905191965073ffffffffffffffffffffffffffffffffffffffff8816916370a0823191602480820192602092909190829003018186803b1580156117ed57600080fd5b505afa158015611801573d6000803e3d6000fd5b505050506040513d602081101561181757600080fd5b5051935061182785858b8b612322565b811561186957600854611865906dffffffffffffffffffffffffffff808216916e01000000000000000000000000000090041663ffffffff61222a16565b600b555b604080518c8152602081018c9052815173ffffffffffffffffffffffffffffffffffffffff8f169233927fdccd412f0b1252819cb1fd330b93224ca42612892bb3f4f789976e6d81936496929081900390910190a35050505050505050506001600c81905550915091565b6040518060400160405280600781526020017f5a45524f2d4c500000000000000000000000000000000000000000000000000081525081565b6000610e3433848461264d565b6103e881565b600c5460011461199157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f5a45524f3a204c4f434b45440000000000000000000000000000000000000000604482015290519081900360640190fd5b6000600c55600654600754600854604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905173ffffffffffffffffffffffffffffffffffffffff9485169490931692611a6d9285928792611a68926dffffffffffffffffffffffffffff169185916370a0823191602480820192602092909190829003018186803b158015611a3057600080fd5b505afa158015611a44573d6000803e3d6000fd5b505050506040513d6020811015611a5a57600080fd5b50519063ffffffff6122b016565b61201d565b600854604080517f70a082310000000000000000000000000000000000000000000000000000000081523060048201529051611b0c9284928792611a68926e01000000000000000000000000000090046dffffffffffffffffffffffffffff169173ffffffffffffffffffffffffffffffffffffffff8616916370a0823191602480820192602092909190829003018186803b158015611a3057600080fd5b50506001600c5550565b60055473ffffffffffffffffffffffffffffffffffffffff1681565b60075473ffffffffffffffffffffffffffffffffffffffff1681565b42841015611bbd57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600d60248201527f5a45524f3a204558504952454400000000000000000000000000000000000000604482015290519081900360640190fd5b60035473ffffffffffffffffffffffffffffffffffffffff80891660008181526004602090815260408083208054600180820190925582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98186015280840196909652958d166060860152608085018c905260a085019590955260c08085018b90528151808603909101815260e0850182528051908301207f19010000000000000000000000000000000000000000000000000000000000006101008601526101028501969096526101228085019690965280518085039096018652610142840180825286519683019690962095839052610162840180825286905260ff89166101828501526101a284018890526101c28401879052519193926101e2808201937fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081019281900390910190855afa158015611d1e573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff811615801590611d9957508873ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b611e0457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f5a45524f3a20494e56414c49445f5349474e4154555245000000000000000000604482015290519081900360640190fd5b611e0f8989896125de565b505050505050505050565b600260209081526000928352604080842090915290825290205481565b600c54600114611ea857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f5a45524f3a204c4f434b45440000000000000000000000000000000000000000604482015290519081900360640190fd5b6000600c55600654604080517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290516120169273ffffffffffffffffffffffffffffffffffffffff16916370a08231916024808301926020929190829003018186803b158015611f1f57600080fd5b505afa158015611f33573d6000803e3d6000fd5b505050506040513d6020811015611f4957600080fd5b5051600754604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905173ffffffffffffffffffffffffffffffffffffffff909216916370a0823191602480820192602092909190829003018186803b158015611fbc57600080fd5b505afa158015611fd0573d6000803e3d6000fd5b505050506040513d6020811015611fe657600080fd5b50516008546dffffffffffffffffffffffffffff808216916e010000000000000000000000000000900416612322565b6001600c55565b604080518082018252601981527f7472616e7366657228616464726573732c75696e743235362900000000000000602091820152815173ffffffffffffffffffffffffffffffffffffffff85811660248301526044808301869052845180840390910181526064909201845291810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb000000000000000000000000000000000000000000000000000000001781529251815160009460609489169392918291908083835b6020831061212357805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe090920191602091820191016120e6565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114612185576040519150601f19603f3d011682016040523d82523d6000602084013e61218a565b606091505b50915091508180156121b85750805115806121b857508080602001905160208110156121b557600080fd5b50515b61222357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f5a45524f3a205452414e534645525f4641494c45440000000000000000000000604482015290519081900360640190fd5b5050505050565b60008115806122455750508082028282828161224257fe5b04145b610e3857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f64732d6d6174682d6d756c2d6f766572666c6f77000000000000000000000000604482015290519081900360640190fd5b80820382811115610e3857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f64732d6d6174682d7375622d756e646572666c6f770000000000000000000000604482015290519081900360640190fd5b6dffffffffffffffffffffffffffff841180159061234e57506dffffffffffffffffffffffffffff8311155b6123b957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f5a45524f3a204f564552464c4f57000000000000000000000000000000000000604482015290519081900360640190fd5b60085463ffffffff428116917c01000000000000000000000000000000000000000000000000000000009004811682039081161580159061240957506dffffffffffffffffffffffffffff841615155b801561242457506dffffffffffffffffffffffffffff831615155b156124d4578063ffffffff166124678561243d86612a99565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff169063ffffffff612abd16565b600980547bffffffffffffffffffffffffffffffffffffffffffffffffffffffff929092169290920201905563ffffffff81166124a78461243d87612a99565b600a80547bffffffffffffffffffffffffffffffffffffffffffffffffffffffff92909216929092020190555b600880547fffffffffffffffffffffffffffffffffffff0000000000000000000000000000166dffffffffffffffffffffffffffff888116919091177fffffffff0000000000000000000000000000ffffffffffffffffffffffffffff166e0100000000000000000000000000008883168102919091177bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167c010000000000000000000000000000000000000000000000000000000063ffffffff871602179283905560408051848416815291909304909116602082015281517f1c411e9a96e071241c2f21f7726b17ae89e3cab4c78be50e062b03a9fffbbad1929181900390910190a1505050505050565b73ffffffffffffffffffffffffffffffffffffffff808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260016020526040902054612683908263ffffffff6122b016565b73ffffffffffffffffffffffffffffffffffffffff80851660009081526001602052604080822093909355908416815220546126c5908263ffffffff612afe16565b73ffffffffffffffffffffffffffffffffffffffff80841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600080600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663017e7e586040518163ffffffff1660e01b815260040160206040518083038186803b15801561279957600080fd5b505afa1580156127ad573d6000803e3d6000fd5b505050506040513d60208110156127c357600080fd5b5051600b5473ffffffffffffffffffffffffffffffffffffffff82161580159450919250906128a65780156128a157600061281a6112996dffffffffffffffffffffffffffff88811690881663ffffffff61222a16565b90506000612827836128ba565b90508082111561289e576000612855612846848463ffffffff6122b016565b6000549063ffffffff61222a16565b9050600061287a8361286e86600563ffffffff61222a16565b9063ffffffff612afe16565b9050600081838161288757fe5b049050801561289a5761289a878261290c565b5050505b50505b6128b2565b80156128b2576000600b555b505092915050565b600060038211156128fd575080600160028204015b818110156128f7578091506002818285816128e657fe5b0401816128ef57fe5b0490506128cf565b50612907565b8115612907575060015b919050565b60005461291f908263ffffffff612afe16565b600090815573ffffffffffffffffffffffffffffffffffffffff8316815260016020526040902054612957908263ffffffff612afe16565b73ffffffffffffffffffffffffffffffffffffffff831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b60008183106129cb57816129cd565b825b9392505050565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260016020526040902054612a0a908263ffffffff6122b016565b73ffffffffffffffffffffffffffffffffffffffff831660009081526001602052604081209190915554612a44908263ffffffff6122b016565b600090815560408051838152905173ffffffffffffffffffffffffffffffffffffffff8516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef919081900360200190a35050565b6dffffffffffffffffffffffffffff166e0100000000000000000000000000000290565b60006dffffffffffffffffffffffffffff82167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff841681612af657fe5b049392505050565b80820182811015610e3857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f64732d6d6174682d6164642d6f766572666c6f77000000000000000000000000604482015290519081900360640190fdfe5a45524f3a20494e53554646494349454e545f4c49515549444954595f4255524e45445a45524f3a20494e53554646494349454e545f4c49515549444954595f4d494e544544a265627a7a72315820aa27bbb4ef2adeb922b586d02ffd20de5f5d5c42b0f0bfaa97ac1c83d60cf5a364736f6c63430005100032454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c75696e7432353620636861696e49642c6164647265737320766572696679696e67436f6e747261637429